/* arogaro website. Colors mirror src/constants/tokens.ts. */
:root {
  --pink: #ff1d83; /* primary 600: accents, large text, focus */
  --pink-ink: #cd005c; /* primary 800: small pink text (AA on white) */
  --pink-50: #ffd5e8;
  --tint: #fff3f8;
  --ink: #1f1f1f;
  --muted: #595959;
  --line: #eff0f1;
  --dark: #141414;
  --gold: linear-gradient(135deg, #f7e08a, #e6bf4c 55%, #c9982a);
  --gold-ink: #3a2a06;
  --gold-tint: #fff8e6;
  --r-lg: 20px;
  --r-xl: 24px;
  --r-2xl: 28px;
  --shadow: 0 1px 2px rgb(20 20 20 / 0.04), 0 16px 40px -20px rgb(20 20 20 / 0.18);
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 65px; /* 64px row + 1px border */
  /* Figtree, same family as the app. To swap: change --font and the fonts.googleapis.com <link> in all 7 pages */
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--font);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; }
button { font: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4rem); }
h2 { font-size: clamp(1.875rem, 1.3rem + 2.2vw, 2.875rem); }
h3 { font-size: 1.1875rem; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--pink-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.accent { color: var(--pink); }
.eyebrow { display: inline-block; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pink-ink); }
.lead { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); color: var(--muted); }
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--dark); color: #fff; font-weight: 700; }
.skip:focus { top: 12px; }

/* ─── Header ─────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background-color: rgb(255 255 255 / 0.86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgb(0 0 0 / 0.06); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: calc(var(--header-h) - 1px); }
/* index.html: transparent over the hero; site.js adds .is-scrolled (solid) and .is-ready (enables the fade). Without JS it stays solid. */
@media (scripting: enabled) {
  .site-header--overlay:not(.is-scrolled) { background-color: transparent; border-bottom-color: transparent; backdrop-filter: saturate(1) blur(0); -webkit-backdrop-filter: saturate(1) blur(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .site-header--overlay.is-ready { transition: background-color 0.2s ease, border-color 0.2s ease, backdrop-filter 0.2s ease, -webkit-backdrop-filter 0.2s ease; }
}
.brand { display: inline-flex; flex: none; }
.brand img { width: 120px; height: auto; }
.nav { display: flex; gap: 4px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav a { display: block; padding: 10px 12px; border-radius: 999px; color: var(--ink); font-size: 0.9375rem; font-weight: 500; text-decoration: none; }
.nav a:hover { background: rgb(255 29 131 / 0.08); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--dark); color: #fff; font-size: 0.9375rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.btn:hover { background: #000; }
@media (max-width: 859px) {
  .nav { display: none; }
  .site-header .btn { margin-left: auto; }
}

/* ─── Sections ───────────────────────────────────────────── */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tint { background: var(--tint); }
.section-head { max-width: 680px; display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin-top: 8px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.tile { display: grid; flex: none; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--tint); color: var(--pink); margin-bottom: 18px; }

/* Hero */
/* Pulled up under the sticky header so the gradient shows through it */
.hero { margin-top: calc(-1 * var(--header-h)); padding-block: calc(var(--header-h) + clamp(32px, 6vw, 80px)) clamp(56px, 8vw, 110px); background: radial-gradient(60% 55% at 78% 30%, #ffe0ee 0, transparent 70%), radial-gradient(45% 40% at 8% 0%, #ffe9dc 0, transparent 70%), linear-gradient(#fff4f8, #fff); overflow: hidden; overflow: clip visible; } /* clip sideways only, so the phone shadow can fade below */
.hero .wrap { display: grid; gap: 56px; align-items: center; }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero-copy .lead { max-width: 34rem; }
.hero-note { font-size: 0.9375rem; color: var(--muted); }

/* How it works */
.steps { counter-reset: step; margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 999px; background: var(--pink); color: #fff; font-size: 1.3125rem; font-weight: 700; }

/* Features */
#features { overflow-x: clip; } /* the pink disc can poke past the viewport edge at 860–960px; its edge is transparent there */
.feature-rows { display: grid; gap: clamp(96px, 12vw, 112px); }
.feature-row { display: grid; gap: 28px; align-items: center; }
.feature-copy { display: grid; gap: 16px; justify-items: start; justify-self: center; width: 100%; max-width: 30rem; }
.feature-copy h3 { font-size: clamp(1.625rem, 1.2rem + 1.5vw, 2.25rem); letter-spacing: -0.02em; }
.feature-copy .eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.feature-copy .eyebrow .icon { width: 18px; height: 18px; color: var(--pink); }
.checks { display: grid; gap: 12px; margin: 8px 0 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 34px; font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 999px; background: var(--pink-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cd005c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.feature-visual { position: relative; display: grid; place-items: center; padding-block: 12px; }
.feature-visual::before { content: ""; position: absolute; width: min(92vw, 480px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, #ffd3e6 0%, #ffe3ef 70%, rgb(255 227 239 / 0) 100%); }
.feature-visual .device { --dw: min(60vw, 240px); }
@media (min-width: 860px) {
  .feature-row { grid-template-columns: 1fr 1fr; gap: 64px; }
  .feature-row:nth-child(even) .feature-copy { order: 2; justify-self: end; }
  .feature-copy { justify-self: start; }
  .feature-visual .device { --dw: 280px; }
}
.more-features { display: grid; gap: 20px; margin: clamp(72px, 10vw, 120px) 0 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.more-features .card { display: flex; gap: 16px; padding: 24px; }
.more-features .tile { margin: 0; }
.more-features p { margin-top: 6px; }

/* Gold */
.gold { padding: clamp(32px, 6vw, 64px) clamp(20px, 5vw, 64px); border-radius: var(--r-2xl); background: linear-gradient(180deg, var(--gold-tint), #fff 85%); border: 1px solid #f3e6c3; color: var(--gold-ink); }
.gold .eyebrow { color: var(--gold-ink); text-transform: none; letter-spacing: 0; font-size: 1rem; }
.gold .lead, .gold p { color: #5c4a1e; }
.crown { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); box-shadow: 0 12px 28px -12px #c9982a; }
.crown .icon { width: 34px; height: 34px; }
.benefits { display: grid; gap: 24px; margin: 0 0 48px; padding: 0; list-style: none; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.benefits li { display: flex; gap: 14px; }
.benefits .tile { width: 44px; height: 44px; margin: 0; background: #fff; color: var(--gold-ink); box-shadow: 0 0 0 1px #f3e6c3; }
.benefits h3 { font-size: 1.0625rem; }
.benefits p { font-size: 0.9375rem; margin-top: 2px; }
.plans { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.plan { position: relative; display: grid; gap: 4px; padding: 26px 24px; border: 1.5px solid #eadcb4; border-radius: var(--r-lg); background: #fff; }
.plan--popular { border-color: #c9982a; box-shadow: 0 16px 36px -20px #c9982a; }
.plan-label { font-weight: 700; }
.plan-price { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; color: var(--gold-ink); }
.plan-badge { position: absolute; top: -12px; right: 18px; padding: 3px 12px; border-radius: 999px; background: var(--gold); font-size: 0.8125rem; font-weight: 700; color: var(--gold-ink); }
.fine { max-width: 720px; margin: 28px auto 0; font-size: 0.875rem; text-align: center; }

/* Safety */
.callout { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; padding: 20px 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--pink-50); }
.callout p { flex: 1 1 320px; }

/* FAQ */
.faq { display: grid; gap: 40px; }
.faq .section-head { margin: 0; align-content: start; }
@media (min-width: 960px) { .faq { grid-template-columns: 0.8fr 1.2fr; } }
.qa { border-bottom: 1px solid #e6e6e6; }
.qa:first-of-type { border-top: 1px solid #e6e6e6; }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; font-size: 1.0625rem; font-weight: 700; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.qa[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.qa p { padding: 0 4px 22px; color: var(--muted); }

/* Final CTA */
.cta { position: relative; overflow: hidden; display: grid; gap: 20px; justify-items: center; text-align: center; padding: clamp(48px, 8vw, 88px) var(--gutter); border-radius: var(--r-2xl); background: radial-gradient(70% 90% at 50% 0%, rgb(255 29 131 / 0.28), transparent 70%), var(--dark); color: #fff; }
.cta .lead { color: rgb(255 255 255 / 0.75); max-width: 36rem; }

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer { margin-top: clamp(64px, 9vw, 120px); padding-block: 48px 32px; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-top p { color: var(--muted); margin-top: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: var(--ink); text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--pink-ink); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }

/* ─── Documents (legal, support, delete account) ─────────── */
.doc { max-width: 760px; padding-block: clamp(40px, 7vw, 80px) 0; }
.doc h1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 3rem); }
.doc .updated { margin-top: 12px; font-size: 0.9375rem; color: var(--muted); }
.doc .lead { margin-top: 20px; color: var(--ink); }
.doc section { margin-top: 44px; }
.doc h2 { font-size: 1.5rem; letter-spacing: -0.015em; margin-bottom: 14px; }
.doc p + p { margin-top: 12px; }
.doc p, .doc li { color: #454545; }
.doc ul, .doc ol { margin: 12px 0 0; padding-left: 1.4em; display: grid; gap: 8px; }
.doc li::marker { color: var(--pink-ink); font-weight: 700; }
.doc hr { margin: 32px 0 0; border: 0; border-top: 1px solid #e6e6e6; }
.doc .card { margin-top: 16px; }
.doc .callout { margin-top: 16px; }
.contact-grid { display: grid; gap: 12px; margin-block: 16px; }
.contact-grid .card { margin: 0; padding: 22px; }
.contact-grid a { font-weight: 700; overflow-wrap: anywhere; }

/* ─── Store buttons & hero phones ────────────────────────── */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.stores--center { justify-content: center; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 20px 8px 16px; border-radius: 14px; background: var(--dark); color: #fff; text-decoration: none; border: 1px solid rgb(255 255 255 / 0.18); transition: transform 0.15s ease, background 0.15s ease; }
.store:hover { background: #000; transform: translateY(-1px); }
.store svg { width: 24px; height: 24px; }
.store span { display: grid; font-size: 1.1875rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
.store small { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.02em; }
@media (prefers-reduced-motion: reduce) { .store { transition: none; } }
.store--soon { cursor: default; }
.store--soon:hover { background: var(--dark); transform: none; }
.store--soon small { color: rgb(255 255 255 / 0.72); }

/* Device mockup (iPhone 17 Pro style: thin bezel, Camera Control). Size it with --dw; everything scales from that. */
.device { --dw: min(64vw, 300px); position: relative; flex: none; width: var(--dw); margin: 0; padding: calc(var(--dw) * 0.014); border-radius: calc(var(--dw) * 0.175); background: linear-gradient(135deg, #e3e0da 0%, #9a968f 18%, #d8d5cf 40%, #f2f0ec 52%, #8c8882 78%, #cfccc5 100%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.5), 0 0 0 1px rgb(60 55 50 / 0.18), 0 2px 4px rgb(20 20 20 / 0.12), 0 24px 40px -18px rgb(40 12 26 / 0.35), 0 60px 90px -40px rgb(40 12 26 / 0.45); }
.device::before, .device::after { content: ""; position: absolute; width: calc(var(--dw) * 0.011 + 1px); }
/* Left: action button, volume up, volume down (one bar with gaps) */
.device::before { right: 100%; top: 17%; height: 25%; border-radius: 2px 0 0 2px; background: linear-gradient(#b6b2ab 0 16%, transparent 16% 31%, #b6b2ab 31% 62%, transparent 62% 69%, #b6b2ab 69% 100%); }
/* Right: side button (26–38%), Camera Control (55–63%) */
.device::after { left: 100%; top: 26%; height: 37%; border-radius: 0 2px 2px 0; background: linear-gradient(#b6b2ab 0 32.4%, transparent 32.4% 78.4%, #8f8b84 78.4% 100%); }
.device-screen { position: relative; overflow: hidden; border: calc(var(--dw) * 0.024) solid #050506; border-radius: calc(var(--dw) * 0.161); background: #050506; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.55); }
.device-screen > img, .device-screen > video { width: 100%; height: auto; aspect-ratio: 603 / 1311; object-fit: cover; border-radius: calc(var(--dw) * 0.137); background: var(--tint); }
/* Dynamic Island, over the screenshot's status bar */
.device-screen::after { content: ""; position: absolute; z-index: 1; left: 50%; top: 2%; width: 30%; height: 3.5%; transform: translateX(-50%); border-radius: 999px; background: #050506; }

.hero-phones { position: relative; display: flex; justify-content: center; padding-block: 8px; }
.device--back { display: none; }
.video-toggle { position: absolute; z-index: 2; right: calc(var(--dw) * -0.14); bottom: calc(var(--dw) * 0.06); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgb(255 255 255 / 0.25); border-radius: 999px; background: rgb(20 20 20 / 0.8); color: #fff; box-shadow: 0 8px 20px -8px rgb(20 20 20 / 0.4); cursor: pointer; }
.video-toggle:hover { color: var(--pink-50); }
.video-toggle .icon { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.video-toggle[aria-pressed="true"] .i-pause, .video-toggle[aria-pressed="false"] .i-play { display: none; }
@media (max-width: 959px) {
  .hero-copy { justify-items: center; text-align: center; margin-inline: auto; }
  .hero .stores { justify-content: center; }
}
@media (min-width: 960px) {
  .hero h1 .accent { white-space: nowrap; }
  .hero .wrap { grid-template-columns: 1.05fr 0.95fr; }
  .hero-phones { padding-block: 24px; }
  .hero-phones .device { --dw: clamp(236px, 21vw, 290px); z-index: 1; transform: translateX(calc(var(--dw) * 0.19)); }
  .hero-phones .device--back { display: block; position: absolute; z-index: 0; top: 50%; left: 50%; transform: translate(-100%, -50%) translateX(8px) rotate(-8deg) scale(0.86); }
}
