/* Nara website. Colours are the app's own (Nara/Core/Theme.swift), and the
   type is the system face, so the site reads like the app on an iPhone. */
:root {
  --pink: #FF5C8A;
  --pink-deep: #E8447A;
  --pink-soft: #FFE8EF;
  --lilac: #E9E1FB; --lilac-deep: #7C5CD6;
  --mint: #D9F0E5;  --mint-deep: #2E9E77;
  --peach: #FFE5D6; --peach-deep: #E0733A;
  --sky: #DCEBFB;   --sky-deep: #3B7DD8;
  --butter: #FFF0CC; --butter-deep: #C08A1E;
  --ink: #1A1523;
  --body: #5F5A6B;
  --faint: #9A93A6;
  --surface: #FBF8FB;
  --soft: #F4F0FA;
  --line: #EDE8F5;
  --danger: #D6455C; --danger-soft: #FFE4E8;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 22px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--surface); color: var(--ink); font: 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--pink-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; text-wrap: balance; margin: 0; color: var(--ink); }
p { margin: 0; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pink-deep); }
.body { color: var(--body); font-size: 18px; max-width: 58ch; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(251, 248, 251, .82); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; }
.top-row { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.logo:hover { text-decoration: none; }
.logo img { border-radius: 8px; }
.nav { display: flex; gap: 26px; margin-right: auto; }
.nav a { color: var(--body); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.top-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.btn-pill { background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; padding: 9px 18px; border-radius: 999px; }
.btn-pill:hover { text-decoration: none; background: #2c2537; }
.langs { position: relative; }
.langs summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--body); padding: 8px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary svg { width: 12px; height: 12px; }
.langs-menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 6px; min-width: 150px; box-shadow: 0 14px 40px rgba(26, 21, 35, .12); display: grid; }
.langs-menu a { color: var(--ink); padding: 9px 12px; border-radius: 10px; font-size: 15px; }
.langs-menu a:hover { background: var(--soft); text-decoration: none; }
.langs-menu a[aria-current] { color: var(--pink-deep); font-weight: 600; }

/* App Store badge */
.badge { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; border-radius: 14px; padding: 9px 18px 9px 14px; line-height: 1.1; }
.badge:hover { text-decoration: none; background: #1c1c1e; }
.badge .apple { width: 22px; height: 26px; }
.badge span { display: grid; text-align: left; }
.badge small { font-size: 11px; opacity: .9; }
.badge b { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.badge-big { padding: 11px 22px 11px 16px; border-radius: 16px; }
.badge-big .apple { width: 26px; height: 30px; }
.badge-big b { font-size: 24px; }

/* Hero: words on the left and the app on the right, both in the first screen. */
.hero { position: relative; overflow: hidden; padding: 40px 0 56px; }
.glow { position: absolute; inset: -20% -10% 0; background:
  radial-gradient(36% 50% at 18% 40%, rgba(255, 92, 138, .18), transparent 70%),
  radial-gradient(34% 50% at 75% 35%, rgba(124, 92, 214, .16), transparent 70%),
  radial-gradient(30% 40% at 70% 90%, rgba(224, 115, 58, .12), transparent 70%); pointer-events: none;
  /* Fades out before the hero ends, so the colour never stops at a hard line. */
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px; align-items: center; }
.hero-text { display: grid; justify-items: start; gap: 20px; }
.hero h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1; font-weight: 800; max-width: 10ch; letter-spacing: -0.035em; }
.lead { font-size: clamp(18px, 1.8vw, 21px); color: var(--body); max-width: 32ch; }
.facts { list-style: none; margin: 2px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px 7px 9px; font-size: 14px; font-weight: 600; color: var(--ink); }
.facts svg { width: 18px; height: 18px; padding: 2px; border-radius: 50%; background: var(--mint); color: var(--mint-deep); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.note { font-size: 14px; color: var(--faint); max-width: 18ch; line-height: 1.35; }
.hero-art { position: relative; height: 640px; }
.hero-front { position: absolute; width: 284px; left: 50%; top: 0; transform: translateX(-72%); z-index: 2; }
.hero-back { position: absolute; width: 250px; left: 50%; top: 68px; transform: translateX(8%) rotate(5deg); z-index: 1; }

/* Phone frame */
.phone { margin: 0; flex: none; padding: 9px; background: #121016; border-radius: 46px; box-shadow: 0 30px 60px -20px rgba(26, 21, 35, .35), 0 0 0 1px rgba(255, 255, 255, .06) inset; }
.phone .screen { position: relative; border-radius: 38px; overflow: hidden; background: var(--surface); aspect-ratio: 600 / 1305; }
.phone img { width: 100%; height: 100%; object-fit: cover; }
/* Over the video card in the player screenshot: measured from it. */
.phone .clip { position: absolute; left: 4.98%; top: 17.54%; width: 89.97%; height: 32.65%; object-fit: cover; border-radius: 6.5% / 8.5%; }
.chip { position: absolute; z-index: 4; background: #fff; border-radius: 999px; padding: 10px 16px; font-weight: 600; font-size: 15px; box-shadow: 0 10px 30px rgba(26, 21, 35, .12); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--peach-deep); }
.hero-art .chip-a { left: 2%; top: 60px; color: var(--pink-deep); }
/* Sits above the back phone, never over its screen. */
.hero-art .chip-b { right: 0; top: 8px; }
.hero-art .chip-c { left: 0; bottom: 120px; background: var(--ink); color: #fff; }

/* Sections */
.section { padding: 110px 0; }
.section-soft { background: linear-gradient(180deg, var(--soft), var(--surface)); }
.section-head { display: grid; gap: 14px; margin-bottom: 56px; }
.section-head.center { text-align: center; justify-items: center; }
.section h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; font-weight: 800; max-width: 22ch; }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.step { display: grid; gap: 22px; justify-items: center; text-align: center; }
.phone-sm { width: 230px; }
.step-text { display: grid; gap: 8px; justify-items: center; }
.step-n { width: 30px; height: 30px; border-radius: 50%; background: var(--pink-soft); color: var(--pink-deep); font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.step h3 { font-size: 22px; }
.step p { color: var(--body); max-width: 30ch; }

/* Safety */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.split-text { display: grid; gap: 18px; }
.checks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks svg { flex: none; width: 24px; height: 24px; padding: 3px; border-radius: 50%; background: var(--mint); color: var(--mint-deep); margin-top: 1px; }
.split-art { position: relative; height: 600px; }
.phone-back { position: absolute; width: 250px; right: 34%; top: 10px; transform: rotate(-5deg); }
.phone-front { position: absolute; width: 270px; right: 6%; top: 60px; transform: rotate(4deg); }
.chip-d { left: 4%; bottom: 70px; background: var(--danger-soft); color: var(--danger); }

/* What's inside */
.stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 64px; }
.stat { border-radius: 18px; padding: 18px 16px; display: grid; gap: 4px; }
.stat b { font-family: var(--display); font-size: 30px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; color: var(--ink); line-height: 1.3; }
.tint-mint { background: var(--mint); } .tint-mint b, .ficon.tint-mint { color: var(--mint-deep); }
.tint-sky { background: var(--sky); } .tint-sky b, .ficon.tint-sky { color: var(--sky-deep); }
.tint-peach { background: var(--peach); } .tint-peach b, .ficon.tint-peach { color: var(--peach-deep); }
.tint-lilac { background: var(--lilac); } .tint-lilac b, .ficon.tint-lilac { color: var(--lilac-deep); }
.tint-pink { background: var(--pink-soft); } .tint-pink b, .ficon.tint-pink { color: var(--pink-deep); }
.tint-butter { background: var(--butter); } .tint-butter b, .ficon.tint-butter { color: var(--butter-deep); }
.inside-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: center; }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.feature { display: grid; gap: 8px; align-content: start; }
.ficon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; }
.ficon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 19px; margin-top: 4px; }
.feature p { color: var(--body); font-size: 16px; }
.phone-md { width: 280px; justify-self: center; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
.faq-head { display: grid; gap: 16px; align-content: start; }
.link-arrow { font-weight: 600; }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 18px; }
.qa summary::-webkit-details-marker { display: none; }
.plus { flex: none; width: 22px; height: 22px; position: relative; margin-top: 3px; }
.plus::before, .plus::after { content: ""; position: absolute; left: 4px; right: 4px; top: 10px; height: 2px; border-radius: 2px; background: var(--pink-deep); transition: transform .2s; }
.plus::after { transform: rotate(90deg); }
.qa[open] .plus::after { transform: rotate(0); }
.qa p { color: var(--body); padding: 0 0 22px; max-width: 62ch; }

/* Call to action */
.section-cta { padding-top: 24px; }
.cta-card { border-radius: 36px; padding: 64px 24px; text-align: center; display: grid; justify-items: center; gap: 16px; background:
  radial-gradient(60% 80% at 20% 0%, rgba(255, 255, 255, .35), transparent 60%),
  linear-gradient(135deg, #FF7BA0, var(--pink-deep)); color: #fff; }
.cta-card img { border-radius: 20px; box-shadow: 0 12px 30px rgba(120, 20, 60, .3); }
.cta-card h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); max-width: 20ch; }
.cta-card p { font-size: 19px; opacity: .95; margin-bottom: 8px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 40px; background: #fff; }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.foot-brand { display: grid; gap: 10px; max-width: 34ch; }
.foot-brand p, .foot-base p { color: var(--body); font-size: 15px; }
.foot-links { display: grid; gap: 10px; align-content: start; }
.foot-links a { color: var(--ink); font-size: 15px; }
.foot-base { display: grid; gap: 8px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.foot-base .disclaimer { color: var(--faint); font-size: 14px; max-width: 80ch; }
.foot-base a { color: var(--body); }

/* Legal and support pages */
.doc { padding: 56px 0 96px; }
.doc-wrap { max-width: 760px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; margin-bottom: 10px; }
.doc .updated { color: var(--faint); font-size: 15px; margin-bottom: 22px; }
.doc .intro { font-size: 19px; color: var(--body); margin-bottom: 26px; }
.doc section { margin-top: 36px; }
.doc h2 { font-size: 23px; margin-bottom: 12px; }
.doc p { margin-bottom: 14px; color: #36303f; }
.doc ul { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 8px; color: #36303f; }
.callout { background: var(--pink-soft); border-radius: var(--radius); padding: 20px 22px; color: var(--ink); font-weight: 500; }
.callout-warn { background: var(--danger-soft); }
.callout-warn h2 { color: var(--danger); font-size: 20px; margin-bottom: 10px; }
.callout-warn p:last-child { margin-bottom: 0; }
.table-scroll { overflow-x: auto; margin: 6px 0 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
th, td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--body); background: var(--soft); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; white-space: nowrap; }
.contact { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px; margin: 8px 0 44px; }
.contact h2 { font-size: 21px; margin-bottom: 6px; }
.contact p { color: var(--body); margin-bottom: 10px; }
.mail { display: inline-block; font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.contact .tip { font-size: 15px; color: var(--faint); margin: 0; }
.faq-title { font-size: 28px !important; margin-bottom: 4px !important; }
.support .group { margin-top: 30px; }
.support .group h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--pink-deep); margin-bottom: 4px; }
.support .qa summary { font-size: 17px; }

/* Smaller screens */
@media (max-width: 980px) {
  .nav { display: none; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .inside-grid { grid-template-columns: 1fr; }
  .inside-art { display: none; }
  .split { grid-template-columns: 1fr; }
  .split-art { height: 560px; max-width: 520px; width: 100%; margin: 0 auto; }
  .faq { grid-template-columns: 1fr; gap: 28px; }
  /* One column: the words first, centred, with the phones right below them. */
  .hero { padding: 28px 0 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-text { justify-items: center; text-align: center; gap: 16px; }
  .hero h1 { max-width: 12ch; }
  .facts, .hero-cta { justify-content: center; }
  .note { max-width: none; width: 100%; }
  .hero-art { height: 560px; max-width: 560px; width: 100%; margin: 0 auto; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 42px; }
  .lead { font-size: 17px; }
  .facts li { font-size: 13px; padding: 6px 11px 6px 8px; }
  .hero-art { height: 450px; }
  .hero-front { width: 205px; transform: translateX(-74%); }
  .hero-back { width: 180px; top: 48px; }
  .phone { border-radius: 36px; padding: 7px; }
  .phone .screen { border-radius: 30px; }
  .chip { font-size: 13px; padding: 8px 12px; }
  .hero-art .chip-a { top: 36px; left: 0; } .hero-art .chip-b { top: 2px; right: 0; } .hero-art .chip-c { bottom: 70px; left: 0; }
  .section { padding: 76px 0; }
  .steps { grid-template-columns: 1fr; gap: 56px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: 1fr; }
  .split-art { height: 470px; }
  .phone-back { width: 190px; right: 40%; }
  .phone-front { width: 210px; right: 4%; }
  .cta-card { padding: 48px 20px; border-radius: 28px; }
  .top-row { gap: 12px; }
  .btn-pill { padding: 8px 14px; }
}
