/* Go Girl website. Colours, type and tone follow the app's Classic palette and its App Store screenshots. */

@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter_500Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("/assets/fonts/PlayfairDisplay_500Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }

:root {
  --bg: #FFF9F5;
  --surface: #F6E2E7;
  --surface-hi: #F0D6DD;
  --blush: #ECCDD6;
  --line: #E9DFDF;
  --line-strong: #857379;
  --text: #292329;
  --muted: #5B5056;
  --primary: #71324B;
  --primary-deep: #5C2639;
  --plum-dark: #3D1727;
  --magenta: #921C43;
  --green: #175B3C;
  --on-primary: #FFFFFF;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 20px;
  --shadow: 0 24px 60px -24px rgba(92, 38, 57, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--magenta); text-underline-offset: 3px; }
a:hover { color: var(--primary-deep); }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow-wrap { width: min(760px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.narrow { max-width: 620px; margin-inline: auto; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 12px; }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--text); margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 7vw, 4.6rem); line-height: 1.04; }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.12; }
h3 { font-size: 1.5rem; line-height: 1.25; }
h1 em, h2 em { font-style: normal; color: var(--primary); }
p { margin: 0; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 34em; text-wrap: pretty; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--magenta); margin-bottom: 14px; }
.note { font-size: .95rem; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  background: linear-gradient(180deg, #7B3953, var(--primary-deep));
  color: var(--on-primary); text-decoration: none; font-weight: 600; font-size: 1rem;
  border-radius: 14px; border: 1px solid var(--primary-deep);
  box-shadow: 0 10px 24px -12px rgba(92, 38, 57, .7);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgba(92, 38, 57, .8); }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--line-strong); box-shadow: none; }
.btn-ghost:hover { color: var(--primary-deep); background: var(--surface); box-shadow: none; }
.btn-tall { min-height: 60px; }
.btn-small { min-height: 42px; padding: 0 18px; font-size: .92rem; border-radius: 12px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.center-row { justify-content: center; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 249, 245, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { border-radius: 9px; }
.brand span { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; letter-spacing: .14em; text-transform: uppercase; }
.top-actions { display: flex; align-items: center; gap: 16px; }
.brand span, .top-login, .btn-small { white-space: nowrap; }
@media (max-width: 430px) {
  .top-row { gap: 10px; }
  .top-actions { gap: 12px; }
  .brand { gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .brand span { font-size: 1rem; letter-spacing: .1em; }
  .btn-small { padding: 0 14px; font-size: .88rem; }
  .top-login { font-size: .9rem; }
}
.top-login { color: var(--primary); font-weight: 600; font-size: .95rem; text-decoration: none; padding: 8px 2px; }
.top-login:hover { text-decoration: underline; }
.top-nav { display: none; gap: 28px; }
.top-nav a { color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500; }
.top-nav a:hover { color: var(--primary); }
@media (min-width: 900px) { .top-nav { display: flex; } }

/* Hero */
.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 120%; z-index: -1;
  background:
    radial-gradient(52% 46% at 78% 30%, rgba(236, 205, 214, .95), rgba(236, 205, 214, 0) 70%),
    radial-gradient(40% 40% at 8% 4%, rgba(246, 226, 231, .9), rgba(246, 226, 231, 0) 70%);
}
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .95rem; font-weight: 500; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hero h1 { margin-bottom: 22px; }
.hero-phones { position: relative; height: clamp(440px, 118vw, 600px); max-width: 460px; width: 100%; margin-inline: auto; }
.hero-phones .phone { position: absolute; width: 58%; }
.phone-back { right: 0; top: 0; transform: rotate(5deg); opacity: .96; }
.phone-front { left: 2%; bottom: 0; transform: rotate(-4deg); }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 40px; }
  .hero-phones { height: 640px; max-width: 520px; }
}

.hero-sub { margin-top: 18px; font-size: .95rem; color: var(--muted); max-width: 34em; }

/* Phone frame */
.phone {
  position: relative; width: min(290px, 74vw); aspect-ratio: 660 / 1434;
  border: 9px solid #1D1318; border-radius: 13.5% / 6.3%;
  background: #1D1318; overflow: hidden; box-shadow: var(--shadow), 0 2px 0 1px rgba(255, 255, 255, .25) inset;
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone::after { content: ""; position: absolute; top: 2.1%; left: 50%; width: 30%; height: 3.4%; transform: translateX(-50%); background: #0B0709; border-radius: 999px; }

/* Services */
.services { padding: 8px 0 clamp(48px, 7vw, 88px); }
.services-title { font-size: clamp(1.5rem, 3vw, 2rem); text-align: center; margin-bottom: 26px; }
.chips { list-style: none; padding: 0; margin: 0 auto; max-width: 880px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li { padding: 10px 18px; background: var(--surface); border: 1px solid var(--blush); border-radius: 999px; font-weight: 500; font-size: .98rem; color: var(--primary-deep); }

/* Watch */
.watch { padding: clamp(48px, 7vw, 96px) 0; background: radial-gradient(80% 120% at 50% 0%, #7B3953 0%, var(--primary-deep) 50%, var(--plum-dark) 100%); color: #F1D9E0; }
.watch h2 { color: #fff; }
.watch h2 em { color: #F3BFD0; }
.watch .eyebrow { color: #F3BFD0; }
.watch .lead { color: #F1D9E0; }
.watch .note { color: #E3C3CE; margin-top: 26px; }
.center-lead { margin: 16px auto 0; text-align: center; }
.videos { display: grid; grid-auto-flow: column; grid-auto-columns: min(68vw, 260px); gap: 18px; margin-top: 40px; overflow-x: auto; padding: 4px 20px 16px; margin-inline: -20px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.video-card { margin: 0; scroll-snap-align: center; }
.video-card video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 22px; background: #2A0F1B; box-shadow: 0 26px 60px -24px rgba(0, 0, 0, .65); object-fit: cover; }
.video-card figcaption { margin-top: 14px; display: grid; gap: 2px; text-align: center; }
.video-card figcaption strong { color: #fff; font-weight: 600; }
.video-card figcaption span { font-size: .9rem; color: #E3C3CE; }
@media (min-width: 760px) {
  .videos { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, 300px); justify-content: center; gap: 48px; overflow: visible; padding: 0; margin-inline: 0; }
}

/* Steps */
.steps { padding: clamp(56px, 8vw, 104px) 0; background: linear-gradient(180deg, #FBEEF1 0%, var(--bg) 100%); border-top: 1px solid var(--line); }
.steps > .wrap > h2 { max-width: 16em; margin-inline: auto; }
.step { display: grid; gap: 32px; align-items: center; margin-top: clamp(48px, 7vw, 88px); }
.step-phone { display: flex; justify-content: center; }
.step-copy { max-width: 30em; margin-inline: auto; }
.step-copy p { color: var(--muted); margin-top: 12px; }
.num { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: var(--surface); border: 1px solid var(--blush); color: var(--primary); font-family: var(--serif); font-size: 1.1rem; margin-bottom: 14px; }
@media (min-width: 820px) {
  .step { grid-template-columns: 1fr 1fr; gap: 56px; }
  .step-flip .step-phone { order: 2; }
  .step-copy { margin-inline: 0; }
  .step:not(.step-flip) .step-copy { justify-self: start; }
  .step-flip .step-copy { justify-self: end; }
}

.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: var(--text); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.500 10.400l3 3 6-6.500' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

/* Beauty SOS */
.sos { background: radial-gradient(90% 120% at 85% 10%, #7B3953 0%, var(--primary-deep) 45%, var(--plum-dark) 100%); color: #FBEEF1; padding: clamp(56px, 8vw, 104px) 0; }
.sos h2 { color: #fff; }
.sos h2 em { color: #F3BFD0; }
.sos .eyebrow { color: #F3BFD0; }
.sos .lead { color: #F1D9E0; margin-top: 18px; }
.sos-grid { display: grid; gap: 44px; align-items: center; }
.sos-phone { display: flex; justify-content: center; }
.sos .phone { box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .55); }
.sos-steps { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 16px; max-width: 30em; }
.sos-steps li { counter-increment: s; position: relative; padding: 4px 0 0 50px; min-height: 36px; color: #F1D9E0; }
.sos-steps li strong { color: #fff; font-weight: 600; }
.sos-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(243, 191, 208, .55); display: flex; align-items: center; justify-content: center; font-family: var(--serif); color: #F3BFD0; }
@media (min-width: 820px) { .sos-grid { grid-template-columns: 1.1fr .9fr; } }

/* Trust */
.trust { padding: clamp(56px, 8vw, 104px) 0; }
.cards { display: grid; gap: 18px; margin-top: 44px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 16px 40px -30px rgba(92, 38, 57, .45); }
.card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.card p { color: var(--muted); }
.card-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--surface); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--primary); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 820px) { .cards { grid-template-columns: repeat(3, 1fr); } }

/* For pros */
.pros { padding: clamp(56px, 8vw, 104px) 0; background: var(--surface); border-block: 1px solid var(--blush); }
.pros-grid { display: grid; gap: 40px; align-items: center; }
.pros .lead { margin-top: 18px; }
.pros .note { margin-top: 24px; }
.pros-card { background: var(--bg); border: 1px solid var(--blush); border-radius: 28px; padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow); }
.pros-quote { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.3; color: var(--primary-deep); }
.pros-facts { margin: 28px 0 0; display: grid; gap: 0; }
.pros-facts div { display: grid; grid-template-columns: minmax(0, 9.5em) 1fr; gap: 14px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); }
.pros-facts dt { font-family: var(--serif); font-size: 1.25rem; color: var(--primary); }
.pros-facts dd { margin: 0; color: var(--muted); }
@media (max-width: 520px) { .pros-facts div { grid-template-columns: 1fr; gap: 2px; } }
@media (min-width: 900px) { .pros-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; } }

/* Cities */
.cities { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); }
.city-list { list-style: none; padding: 0; margin: 36px auto 30px; max-width: 900px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 30px; }
.city-list li { font-family: var(--serif); font-size: clamp(1.15rem, 2.4vw, 1.6rem); color: var(--primary-deep); padding: 4px 6px; }

/* Questions */
.faq { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 104px); }
.faq h2 { margin-bottom: 30px; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font-weight: 600; font-size: 1.06rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { padding: 0 0 22px; color: var(--muted); max-width: 40em; }

/* Get the app */
.get { padding: 0 0 clamp(56px, 8vw, 104px); }
.get-box { text-align: center; background: linear-gradient(180deg, #FBEEF1, var(--surface)); border: 1px solid var(--blush); border-radius: 32px; padding: clamp(40px, 6vw, 72px) 24px; }
.get-icon { margin: 0 auto 22px; border-radius: 18px; box-shadow: 0 14px 30px -14px rgba(92, 38, 57, .7); }
.get .lead { margin: 16px auto 0; }
.get .note { margin-top: 26px; }
.store-pill { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 60px; padding: 8px 26px; background: #1D1318; color: #fff; border-radius: 14px; line-height: 1.15; }
.store-small { font-size: .72rem; letter-spacing: .04em; opacity: .85; }
.store-big { font-size: 1.35rem; font-weight: 600; letter-spacing: -.01em; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; background: #FBF2EE; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.foot-nav a { color: var(--muted); text-decoration: none; font-size: .95rem; padding: 6px 0; }
.foot-nav a:hover { color: var(--primary); text-decoration: underline; }
.foot-small { margin-top: 22px; color: var(--muted); font-size: .85rem; }

/* A gentle entrance for the hero, only when motion is welcome */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .06s; }
  .hero-copy > *:nth-child(3) { animation-delay: .12s; }
  .hero-copy > *:nth-child(4) { animation-delay: .18s; }
  .hero-copy > *:nth-child(5) { animation-delay: .24s; }
  .phone-back { animation: float-a .9s cubic-bezier(.2, .7, .2, 1) both .1s; }
  .phone-front { animation: float-b .9s cubic-bezier(.2, .7, .2, 1) both .2s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes float-a { from { opacity: 0; transform: translateY(28px) rotate(5deg); } to { opacity: .96; transform: rotate(5deg); } }
  @keyframes float-b { from { opacity: 0; transform: translateY(28px) rotate(-4deg); } to { opacity: 1; transform: rotate(-4deg); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
