/* Girlies — girlies.gr
   The capsule from the Girlies "G" shapes buttons, list marks and the
   fields behind the phones. Screens are always shown whole, in a phone. */

@import url("https://fonts.googleapis.com/css2?family=Geologica:wght@300;400;500;700;800&display=swap");

:root {
  --ground: #fff7f9;
  --ground-2: #ffeef3;
  --pink: #feb9d1;          /* brand primary */
  --pink-deep: #f491b4;     /* brand accent */
  --rose: #ce6c77;
  --wine: #8e3e4b;          /* deep field, from the app's chat bubble family */
  --wine-ink: #fff2f5;
  --ink: #2a1720;
  --muted: #6b4c58;
  --on-pink: #2a1720;
  --radius: 999px;          /* the capsule */
  --margin: clamp(16px, 3.4vw, 40px);
  --max: 1320px;
  --step-1: clamp(52px, 6.4vw, 104px);  /* display */
  --step-2: clamp(32px, 3.6vw, 56px);   /* section heading */
  --step-3: clamp(22px, 2.2vw, 34px);   /* statement */
  --step-4: clamp(17px, 1.25vw, 19px);  /* text */
  --step-5: 15px;                        /* small */
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--ground);
  color: var(--ink);
  font-family: "Geologica", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--step-4);
  line-height: 1.55;
  font-weight: 400;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--pink); color: var(--ink); }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--margin); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
h1 { font-size: var(--step-1); }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-4); font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }

/* ---------- buttons: one shape, the capsule ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: var(--radius);
  background: var(--ink); color: var(--ground); text-decoration: none;
  font: 500 17px/1 "Geologica", sans-serif; border: 0; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease);
}
.btn:hover { background: var(--wine); }
.btn:active { transform: scale(.97); }
.btn.light { background: var(--ground); color: var(--ink); }
.btn.light:hover { background: var(--pink); }

/* ---------- nav ---------- */
.nav { position: relative; z-index: 3; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.mark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 500; letter-spacing: .18em; font-size: 17px; }
.mark svg { width: 26px; height: auto; }
.nav ul { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav ul a { text-decoration: none; font-size: var(--step-5); font-weight: 500; }
.nav ul a:not(.btn):hover { color: var(--rose); }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: 15px; }
@media (max-width: 860px) { .nav ul li:not(:last-child) { display: none; } }

/* ---------- phone: the app, always whole ---------- */
.phone {
  --w: 300px;
  position: relative; width: var(--w); max-width: 100%; aspect-ratio: 644 / 1400; margin: 0;
  padding: calc(var(--w) * .032); background: #1c1216;
  border-radius: calc(var(--w) * .17);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--w) * .14); background: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(24px, 5vh, 64px) 0 clamp(72px, 10vw, 140px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(48px, 5.4vw, 78px); max-width: 15ch; }
.hero .lead { margin-top: 28px; max-width: 38ch; font-size: clamp(18px, 1.45vw, 22px); }
.hero .stores { margin-top: 40px; }
.facts { margin-top: 28px; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: var(--step-5); font-weight: 500; color: var(--muted); }
.facts li { display: flex; align-items: center; gap: 9px; }
.facts li::before { content: ""; width: 8px; height: 13px; border-radius: var(--radius); background: var(--pink-deep); }

.hero-phones { position: relative; height: clamp(560px, 50vw, 720px); }
.hero-phones::before {
  content: ""; position: absolute; z-index: 0; left: 6%; right: -18%; top: 4%; bottom: -30%;
  background: var(--pink); border-radius: var(--radius);
}
.hero-phones .phone { position: absolute; z-index: 1; --w: clamp(230px, 20vw, 310px); }
.hero-phones .phone--front { left: 12%; bottom: 0; }
.hero-phones .phone--back { right: 2%; top: 0; transform: rotate(4deg); }

/* ---------- features: one claim, one whole screen ---------- */
.feature { padding: clamp(88px, 10vw, 150px) 0; }
.feature--cycle, .feature--care { background: var(--ground-2); }
.feature--gigi { background: var(--wine); color: var(--wine-ink); }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.feature-grid.flip .feature-media { order: 2; }
.feature-media { position: relative; display: flex; justify-content: center; padding: 40px 0; }
.feature-media::before {
  content: ""; position: absolute; z-index: 0; top: 0; bottom: 0; left: 50%; width: min(100%, 420px);
  transform: translateX(-50%); border-radius: var(--radius); background: var(--pink);
}
.feature--cycle .feature-media::before, .feature--care .feature-media::before { background: var(--pink); }
.feature--food .feature-media::before, .feature--community .feature-media::before { background: var(--ground-2); }
.feature--gigi .feature-media::before { background: #a24b5a; }
.feature-media .phone { z-index: 1; --w: clamp(240px, 22vw, 320px); }
.feature-media.duo { gap: 0; }
.feature-media.duo::before { width: min(100%, 560px); }
.feature-media.duo .phone { --w: clamp(200px, 18vw, 280px); }
.feature-media.duo .phone:first-child { transform: translate(16%, 28px) rotate(-4deg); z-index: 0; }
.feature-media.duo .phone:last-child { transform: translate(-16%, -10px); }
.feature-copy h2 { max-width: 14ch; }
.feature-copy > p:not(.kicker) { margin-top: 22px; max-width: 44ch; }
.feature--gigi .feature-copy > p:not(.kicker) { color: #ffe3ea; }
.ticks { margin-top: 26px; list-style: none; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: baseline; }
.ticks li::before, .list li::before {
  content: ""; flex: none; width: 10px; height: 16px; border-radius: var(--radius);
  background: var(--pink-deep); transform: translateY(2px);
}
.feature--gigi .ticks li::before { background: var(--pink); }

.stores { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 460px; }
.stores a {
  display: flex; flex-direction: column; justify-content: center; min-height: 64px; padding: 0 24px;
  border-radius: var(--radius); text-decoration: none; background: var(--ink); color: var(--ground);
  transition: background-color .18s, transform .18s;
}
.stores a + a { background: var(--pink); color: var(--ink); }
.stores a:hover, .stores a + a:hover, .cta .stores a + a:hover { background: var(--wine); color: var(--wine-ink); }
.stores a:active { transform: scale(.98); }
.stores small { font-size: 13px; opacity: .85; }
.stores strong { font-size: 19px; font-weight: 500; line-height: 1.2; }

/* the live thing: the cycle calculator */
.calc { margin-top: 36px; background: var(--ground); border-radius: 32px; padding: 26px 26px 22px; max-width: 540px; }
.calc h3 { font-size: 19px; }
.calc-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; margin-top: 4px; }
.calc label { display: block; font-size: 14px; font-weight: 500; margin-top: 14px; margin-bottom: 8px; color: var(--muted); }
.calc input[type="date"] {
  width: 100%; height: 48px; border-radius: 14px; border: 0; background: var(--ground-2);
  padding: 0 14px; font: 500 17px "Geologica", sans-serif; color: var(--ink);
}
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper button {
  width: 44px; height: 44px; border-radius: var(--radius); border: 0; background: var(--ground-2);
  font: 500 22px/1 "Geologica", sans-serif; color: var(--ink); cursor: pointer;
  transition: background-color .15s, transform .15s;
}
.stepper button:hover { background: var(--pink); }
.stepper button:active { transform: scale(.92); }
.stepper output { min-width: 84px; text-align: center; font-size: 17px; font-weight: 500; }
.ring { display: grid; grid-template-columns: 84px auto 1fr; gap: 16px; align-items: center; margin-top: 22px; }
.ring svg { width: 84px; height: 84px; transform: rotate(-90deg); }
.ring .track { stroke: var(--ground-2); }
.ring .fill { stroke: var(--pink-deep); stroke-linecap: round; transition: stroke-dasharray .6s var(--ease); }
.ring strong { display: block; font-size: 30px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.ring span { font-size: 14px; color: var(--muted); }
.calc dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 14px; }
.calc dt { color: var(--muted); }
.calc dd { font-weight: 500; text-align: right; }
.calc small { display: block; margin-top: 16px; font-size: 13px; color: var(--muted); line-height: 1.45; }

@media (max-width: 960px) {
  .hero-grid, .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-grid.flip .feature-media { order: 0; }
  .hero h1 { font-size: clamp(42px, 11vw, 72px); }
  .hero-phones { height: auto; display: flex; justify-content: center; align-items: flex-start; padding: 32px 0 8px; margin-top: 8px; }
  .hero-phones::before { left: 4%; right: 4%; top: 0; bottom: 24%; }
  .hero-phones .phone { position: relative; --w: min(44vw, 280px); }
  .hero-phones .phone--back { right: auto; top: auto; margin-top: 56px; transform: rotate(-4deg); }
  .hero-phones .phone--front { left: auto; bottom: auto; margin-left: -8vw; z-index: 2; }
  .feature-media .phone { --w: min(62vw, 300px); }
  .feature-media.duo .phone { --w: min(42vw, 250px); }
  .ring { grid-template-columns: 72px 1fr; }
  .ring svg { width: 72px; height: 72px; }
  .ring dl { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .stores { grid-template-columns: 1fr; }
  .stores a { min-height: 58px; }
  .calc { padding: 22px 18px 18px; border-radius: 26px; }
  .calc-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- full list ---------- */
.list { padding: clamp(96px, 12vw, 170px) 0; }
.list header { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 44px; }
.list header span { color: var(--muted); font-size: var(--step-5); }
.list ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 64px; }
.list li { display: grid; grid-template-columns: 18px 1fr; column-gap: 18px; align-items: start; }
.list li::before { grid-row: 1 / span 2; width: 18px; height: 30px; transform: translateY(2px); }
.list li > * { grid-column: 2; }
.list li:nth-child(3n+2)::before { background: var(--pink); }
.list li:nth-child(3n)::before { background: var(--rose); }
.list p { color: var(--muted); font-size: 16px; margin-top: 4px; max-width: 46ch; }
@media (max-width: 760px) { .list ul { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- privacy panel ---------- */
.privacy-panel { padding: clamp(24px, 4vw, 48px) 0 0; }
.privacy-panel .inner {
  background: var(--ink); color: #f6e6ec; border-radius: 48px;
  padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 80px);
}
.privacy-panel h2 { color: #fff; max-width: 22ch; }
.privacy-panel .blocks { margin-top: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.privacy-panel .blocks > div { border-top: 3px solid var(--pink-deep); padding-top: 20px; }
.privacy-panel h3 { font-size: 21px; color: #fff; }
.privacy-panel .blocks p { margin-top: 10px; font-size: 16px; color: #e9d3dc; }
.privacy-panel .btn { margin-top: 44px; background: var(--pink); color: var(--ink); }
.privacy-panel .btn:hover { background: #fff; }
@media (max-width: 860px) {
  .privacy-panel .inner { border-radius: 32px; }
  .privacy-panel .blocks { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq { padding: clamp(110px, 14vw, 200px) 0; }
.faq .grid { display: grid; grid-template-columns: 4fr 8fr; gap: 40px; }
.faq h2 { position: sticky; top: 96px; align-self: start; }
.faq details { background: var(--ground-2); border-radius: 28px; transition: background-color .2s; }
.faq details + details { margin-top: 8px; }
.faq summary {
  list-style: none; cursor: pointer; min-height: 72px; padding: 20px 64px 20px 26px; position: relative;
  font-size: 20px; font-weight: 500; line-height: 1.35; display: flex; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 28px; top: 50%; width: 16px; height: 3px; margin-top: -1.5px;
  background: currentColor; border-radius: 3px; transition: transform .25s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] { background: var(--pink); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { padding: 0 26px 26px; max-width: 58ch; font-size: 17px; }
.faq summary:hover { color: var(--wine); }
@media (max-width: 860px) {
  .faq .grid { grid-template-columns: 1fr; }
  .faq h2 { position: static; }
  .faq summary { font-size: 18px; min-height: 64px; }
}

/* ---------- CTA: a pink field with the app standing in it ---------- */
.cta { padding: 0 0 clamp(48px, 6vw, 80px); }
.cta-inner {
  position: relative; overflow: hidden; background: var(--pink); border-radius: 48px;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 80px);
}
.cta-inner::after {
  content: ""; position: absolute; z-index: 0; right: clamp(-120px, -6vw, -40px); top: 12%; bottom: -40%;
  width: min(46%, 520px); border-radius: var(--radius); background: var(--pink-deep); opacity: .45;
}
.cta-copy, .cta .phone { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(48px, 6.4vw, 104px); font-weight: 700; letter-spacing: -0.045em; max-width: 9ch; }
.cta p { margin-top: 20px; font-size: clamp(18px, 1.4vw, 21px); max-width: 30ch; }
.cta .stores { margin-top: 32px; }
.cta .stores a + a { background: var(--ground); }
.cta .phone { --w: clamp(230px, 20vw, 290px); justify-self: center; }
@media (max-width: 860px) {
  .cta-inner { grid-template-columns: 1fr; border-radius: 32px; }
  .cta-inner::after { width: 80%; right: -20%; top: 45%; }
  .cta .phone { --w: min(62vw, 270px); }
}

/* ---------- footer: the mark built large ---------- */
.foot { background: var(--ink); color: #f6e6ec; padding: 72px 0 32px; }
.foot .big { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 56px); align-items: end; }
.foot .big svg.g { height: clamp(150px, 26svh, 300px); width: auto; }
.foot .big .word { font-weight: 300; letter-spacing: .2em; font-size: clamp(48px, 10.5vw, 168px); line-height: .8; color: var(--pink); }
.foot .cols { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr) 1.4fr; gap: 28px; font-size: 15px; }
.foot h3 { font-size: 15px; color: #fff; margin-bottom: 10px; }
.foot ul { list-style: none; display: grid; gap: 6px; }
.foot a { text-decoration: none; color: #f6e6ec; }
.foot a:hover { color: var(--pink); }
.foot .legal { margin-top: 56px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 15px; color: #d9c2cb; }
.foot .legal a { color: #fff; font-weight: 500; }
@media (max-width: 760px) {
  .foot .big { grid-template-columns: 1fr; }
  .foot .big svg.g { height: 140px; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
}

/* ---------- cookie notice ---------- */
.consent {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; max-width: 560px;
  background: var(--ink); color: #fff; border-radius: 28px; padding: 18px 20px;
  display: none; gap: 14px; align-items: center; flex-wrap: wrap;
  box-shadow: 0 18px 40px rgba(42, 23, 32, .28); /* taste-skill-ignore: floating cookie bar */
}
.consent.show { display: flex; }
.consent p { font-size: 15px; flex: 1 1 260px; line-height: 1.45; }
.consent a { color: var(--pink); }
.consent .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }
.consent .btn.light { background: transparent; color: #fff; }
.consent .btn.light:hover { background: rgba(255,255,255,.12); }

/* ---------- legal pages ---------- */
.doc { padding: 40px 0 120px; }
.doc .head { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; padding-bottom: 56px; }
.doc .head h1 { font-size: clamp(44px, 6vw, 88px); max-width: 12ch; }
.doc .head .meta { color: var(--muted); font-size: var(--step-5); text-align: right; }
.doc .body { display: grid; grid-template-columns: 260px 1fr; gap: 64px; }
.doc nav ol { list-style: none; position: sticky; top: 24px; display: grid; gap: 6px; font-size: 15px; }
.doc nav a { text-decoration: none; color: var(--muted); }
.doc nav a:hover { color: var(--ink); }
.doc article { max-width: 72ch; }
.doc article h2 { font-size: clamp(26px, 2.4vw, 34px); margin: 64px 0 18px; scroll-margin-top: 24px; }
.doc article h2:first-child { margin-top: 0; }
.doc article h3 { margin: 28px 0 8px; }
.doc article p, .doc article li { font-size: 17px; }
.doc article p + p { margin-top: 14px; }
.doc article ul { margin: 12px 0 0; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.doc article li { display: flex; gap: 12px; }
.doc article li::before { content: ""; flex: none; width: 8px; height: 13px; border-radius: 999px; background: var(--pink-deep); transform: translateY(6px); }
.doc table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 12px 14px; vertical-align: top; border-bottom: 1px solid #f2d3dd; }
.doc th { background: var(--ground-2); font-weight: 500; }
.doc .callout { background: var(--ground-2); border-radius: 28px; padding: 24px 26px; margin-top: 20px; }
.doc .steps { counter-reset: s; }
@media (max-width: 860px) {
  .doc .head { grid-template-columns: 1fr; }
  .doc .head .meta { text-align: left; }
  .doc .body { grid-template-columns: 1fr; gap: 32px; }
  .doc nav ol { position: static; }
  .doc table { display: block; overflow-x: auto; }
}

/* ---------- motion ---------- */
.rise { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rise.in { opacity: 1; transform: none; }
.no-js .rise { opacity: 1; transform: none; }
html:not(.no-js) .phone:not(.in) { opacity: 0; translate: 0 48px; }
.phone { transition: opacity .9s var(--ease), translate .9s var(--ease); }
.duo .phone + .phone, .hero-phones .phone--front { transition-delay: .12s; }
.phone img { transition: transform .5s var(--ease); }
.feature-media:hover .phone:last-child img, .hero-phones:hover .phone--front img { transform: scale(1.015); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .phone, .phone img { transition: none !important; animation: none !important; opacity: 1 !important; translate: none !important; }
  .rise { transform: none !important; }
}
