/* Plink landing — shared stylesheet
 *
 * Brand palette mirrors src/constants/colors.ts (lavender 10-step) so the
 * landing visually flows into the app the moment a user taps "Try the
 * web app". Pure system font stack matches the app's own choice — no
 * web font request = no flash, no privacy hop, no cookie banner.
 *
 * Layout reference: Linear (typography hierarchy + measured spacing),
 * Notion Calendar (real product preview as the hero's centerpiece),
 * Toss / Linear Korea (clean lavender + dark text). Mobile-first. The
 * only JS is i18n.js — the page is fully readable with JS off because
 * default text in HTML is English.
 */

:root {
  --p50:  #EBE7F5;
  --p100: #E0DAEE;
  --p200: #C8BFDD;
  --p300: #BAB0D5;
  --p400: #ADA4CC;
  --p500: #9D93BF;
  --p600: #8176A6;
  --p700: #6F669A;
  --p800: #564C7E;
  --p900: #3E3556;

  --bg: #FFFFFF;
  --bg-soft: #FAFAFC;
  --bg-tinted: #F7F4FB;
  --text: #0F0E14;
  /* Bumped both secondary text values to clear WCAG AA at 4.5:1 on white.
     Previous --text-soft #5C5C66 measured 4.97:1 (marginal) and
     --text-mute #8A8A95 measured 3.8:1 (AA fail). New values land at
     7+:1 and 5.5:1 respectively without losing the soft hierarchy. */
  --text-soft: #45454F;
  --text-mute: #6B6B7A;
  --border: #ECECF0;
  --border-soft: #F4F4F7;
  --shadow-xs: 0 1px 2px rgba(60, 50, 100, 0.04);
  --shadow-sm: 0 6px 24px rgba(60, 50, 100, 0.06);
  --shadow-md: 0 14px 48px rgba(60, 50, 100, 0.10);
  --shadow-lg: 0 30px 80px rgba(60, 50, 100, 0.14);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --container: 1180px;
  --container-tight: 760px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
}

img { max-width: 100%; display: block; }

a { color: var(--p700); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--p900); }

/* Keyboard focus — was missing entirely. WCAG 2.4.7 requires a
   visible focus indicator on every interactive element. :focus-visible
   suppresses the ring for mouse clicks so it only appears for keyboard
   navigation, which is the standard UX pattern. */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--p600);
  outline-offset: 3px;
  border-radius: 4px;
}
/* The store badges and nav CTA have their own dark glass surface; a
   lavender ring on dark reads weakly, so we lift it to a brighter
   lavender + slightly larger offset to clear the glass edge. */
.store-badge:focus-visible,
.nav-cta:focus-visible,
.btn-primary:focus-visible {
  outline-color: var(--p300);
  outline-offset: 4px;
}

h1, h2, h3, h4 {
  color: var(--text);
  margin: 0 0 14px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 700;
}

h1 { font-size: 68px; font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: 40px; font-weight: 700; }
h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
h4 { font-size: 16px; font-weight: 600; }

p { margin: 0 0 14px; color: var(--text-soft); }

::selection { background: var(--p200); color: var(--p900); }

/* ── Top nav ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  /* Liquid-glass nav: stronger blur + saturation so the lavender
     content beneath shows through tinted. Inset highlight on the
     bottom edge mimics the way Apple's glass meets its container. */
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: saturate(200%) blur(28px);
  -webkit-backdrop-filter: saturate(200%) blur(28px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 1px 0 rgba(173, 164, 204, 0.08),
    inset 0 -1px 0 rgba(255, 255, 255, 0.5);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--text);
  font-size: 17px;
  letter-spacing: -0.015em;
}
.nav-brand img { width: 30px; height: 30px; border-radius: 7px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  color: var(--text-soft);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { background: var(--p50); color: var(--p900); }
.nav-links a.active { color: var(--p900); font-weight: 600; }

.lang-toggle {
  display: inline-flex;
  background: rgba(235, 231, 245, 0.7);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-pill);
  padding: 3px;
  margin-left: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.lang-toggle button {
  border: 0;
  background: transparent;
  color: var(--p700);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.02em;
  transition: background 0.15s, color 0.15s;
}
.lang-toggle button:hover { color: var(--p900); }
.lang-toggle button.on { background: var(--p600); color: #fff; }

/* ── Container + sections ────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 96px 28px;
}
.container-tight {
  max-width: var(--container-tight);
  margin: 0 auto;
  padding: 64px 28px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--p600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
  background:
    radial-gradient(900px 600px at 80% -10%, rgba(173, 164, 204, 0.28), transparent 65%),
    radial-gradient(800px 500px at 5% 20%, rgba(200, 191, 221, 0.22), transparent 60%),
    var(--bg);
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--p800);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
  letter-spacing: 0.02em;
  box-shadow:
    0 6px 20px rgba(60, 50, 100, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--p600);
  box-shadow: 0 0 0 4px rgba(129, 118, 166, 0.18);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(129, 118, 166, 0.18); }
  50%      { box-shadow: 0 0 0 6px rgba(129, 118, 166, 0.05); }
}
.hero-title {
  font-size: 72px;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
  /* Solid colour instead of a gradient. The gradient looked soft on
     macOS / iOS Safari (which renders text-fill-color slightly
     translucent) and the headline lost weight. A solid dark text
     reads sharper and matches the rest of the type hierarchy. */
  color: var(--text);
}
.hero-sub {
  font-size: 19px;
  color: var(--text-soft);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.55;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s var(--ease-out), box-shadow 0.18s, background 0.15s, color 0.15s;
  font-family: inherit;
  letter-spacing: -0.005em;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--p900);
  color: #fff;
  box-shadow: 0 8px 24px rgba(62, 53, 86, 0.22);
}
.btn-primary:hover {
  background: #2D2540;
  color: #fff;
  box-shadow: 0 14px 32px rgba(62, 53, 86, 0.28);
}
.btn-primary .badge {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
  margin-left: 4px;
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.55);
  color: var(--p900);
  border-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow:
    0 6px 18px rgba(60, 50, 100, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(173, 164, 204, 0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--text-soft);
  padding: 13px 18px;
}
.btn-ghost:hover { color: var(--p900); background: var(--p50); }

/* ── Store badges (App Store / Google Play / OneStore) ──── */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 11px 18px;
  /* Dark glass: the lavender section bleeds through subtly, the
     badge feels like it floats above the hero rather than sitting
     glued to it. */
  background: rgba(15, 14, 20, 0.82);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  color: #fff;
  border-radius: 12px;
  font-family: inherit;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 168px;
  transition: transform 0.12s var(--ease-out), border-color 0.15s, opacity 0.15s, background 0.15s;
  position: relative;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.store-badge:hover {
  transform: translateY(-1px);
  color: #fff;
  background: rgba(15, 14, 20, 0.92);
  border-color: rgba(173, 164, 204, 0.4);
}
.store-badge.disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
.store-badge svg { width: 22px; height: 22px; flex-shrink: 0; }
.store-badge .label {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.store-badge .label .sm {
  font-size: 10px;
  opacity: 0.75;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.store-badge .label .lg {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.store-badge .soon {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--p600);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Hero product preview ───────────────────────────────── */
.hero-product {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-product::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(173, 164, 204, 0.45) 0%, transparent 70%);
  z-index: 0;
  filter: blur(40px);
}

/* iPhone-shaped frame holding the screenshot. The image is loaded with
   onerror="this.style.opacity=0" so if the screenshot file is missing
   the frame still renders cleanly (lavender background visible) instead
   of showing a broken-image icon. */
.phone {
  position: relative;
  width: 320px;
  height: 660px;
  background: linear-gradient(160deg, #1F1A2A, #0F0E14);
  border-radius: 44px;
  padding: 9px;
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 -2px 0 1px rgba(255, 255, 255, 0.08) inset;
  z-index: 1;
}
.phone::before {
  /* Dynamic island */
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 28px;
  background: #0F0E14;
  border-radius: var(--radius-pill);
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--p50);
  border-radius: 36px;
  overflow: hidden;
  position: relative;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.phone-screen .placeholder-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--p700);
  font-size: 13px;
  font-weight: 500;
  z-index: -1;
}
.phone.phone-light {
  background: linear-gradient(160deg, #F1EDFA, #E0DAEE);
}
.phone.phone-light::before { background: #0F0E14; }

/* Floating second device — adds depth, stacked behind the main phone */
.phone-stack {
  position: relative;
  width: 100%;
  height: 660px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-stack .phone.back {
  position: absolute;
  width: 270px;
  height: 560px;
  left: 50%;
  top: 50%;
  transform: translate(-130%, -50%) rotate(-6deg);
  opacity: 0.92;
  z-index: 0;
}
.phone-stack .phone.front {
  position: relative;
  z-index: 2;
}

/* ── Marquee / Highlights ──────────────────────────────── */
.highlight-strip {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 32px 0;
}
.highlight-strip-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}
.highlight-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.highlight-pill .ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--p100), var(--p200));
  color: var(--p900);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(129, 118, 166, 0.12);
}

/* ── Features grid ──────────────────────────────────────── */
.features {
  background: var(--bg);
}
.features-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.feature-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s, border-color 0.22s, background 0.22s;
  box-shadow:
    0 10px 30px rgba(60, 50, 100, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.feature-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(173, 164, 204, 0.5);
  box-shadow:
    0 20px 50px rgba(60, 50, 100, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--p400), var(--p600));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  box-shadow: 0 6px 18px rgba(129, 118, 166, 0.28);
}
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { font-size: 14px; line-height: 1.6; margin: 0; }

/* ── Showcase (alternating screenshot + copy) ──────────── */
.showcase {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
}
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  margin-bottom: 120px;
}
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row.reverse { direction: rtl; }
.showcase-row.reverse > * { direction: ltr; }

.showcase-copy h2 { margin-bottom: 16px; font-size: 36px; letter-spacing: -0.03em; }
.showcase-copy p { font-size: 17px; line-height: 1.65; margin-bottom: 24px; }

.showcase-list { list-style: none; padding: 0; margin: 0; }
.showcase-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}
.showcase-list li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--p100);
  color: var(--p800);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.showcase-art {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Privacy callout ────────────────────────────────────── */
.privacy-band {
  background: linear-gradient(135deg, #1A1525 0%, var(--p900) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 56px 56px 48px;
  position: relative;
  overflow: hidden;
}
.privacy-band::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(173, 164, 204, 0.18), transparent 60%);
  pointer-events: none;
}
.privacy-band-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.privacy-band .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--p300);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.privacy-band h2 { color: #fff; font-size: 34px; margin-bottom: 14px; }
.privacy-band p { color: rgba(255, 255, 255, 0.88); font-size: 16px; max-width: 480px; }
.privacy-band .btn { margin-top: 18px; }
.privacy-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.privacy-stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.privacy-stat .n {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
  line-height: 1;
}
.privacy-stat .l {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}

/* ── Beta CTA ───────────────────────────────────────────── */
.beta-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(to bottom, var(--bg) 0%, var(--bg-soft) 100%);
  padding: 100px 28px;
  border-top: 1px solid var(--border-soft);
}
/* Soft lavender bloom behind the CTA copy. Same gradient idiom as the
   hero and the privacy band, so the page closes with a tone it
   already established. */
.beta-cta::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(173, 164, 204, 0.22) 0%, transparent 60%);
  top: -240px;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.beta-cta > * { position: relative; z-index: 1; }
.beta-cta h2 { font-size: 44px; margin-bottom: 12px; letter-spacing: -0.035em; }
.beta-cta p { font-size: 17px; max-width: 540px; margin: 0 auto 28px; }
.beta-cta .cta-row { justify-content: center; }

/* ── Doc pages (Privacy / Terms / Support) ──────────────── */
.doc {
  max-width: var(--container-tight);
  margin: 0 auto;
  padding: 72px 28px 96px;
}
.doc h1 { font-size: 40px; margin-bottom: 12px; letter-spacing: -0.03em; background: none; -webkit-text-fill-color: var(--text); color: var(--text); }
.doc-meta {
  color: var(--text-mute);
  font-size: 13px;
  margin-bottom: 36px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.doc h2 {
  font-size: 24px;
  margin-top: 44px;
  margin-bottom: 14px;
  color: var(--p900);
  letter-spacing: -0.02em;
  scroll-margin-top: 80px;
}
.doc h3 {
  font-size: 17px;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--p800);
  font-weight: 600;
}
.doc p, .doc li { color: var(--text); font-size: 15px; line-height: 1.75; }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 16px; }
.doc li { margin-bottom: 6px; }
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  font-size: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.doc th, .doc td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.doc tr:last-child td { border-bottom: 0; }
.doc th { background: var(--p50); font-weight: 600; color: var(--p900); font-size: 13px; letter-spacing: 0.01em; }
.doc code {
  background: var(--p50);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  color: var(--p900);
}
.doc hr { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }
.doc strong { color: var(--text); font-weight: 600; }

.callout {
  background: var(--p50);
  border: 1px solid var(--p100);
  border-left: 3px solid var(--p400);
  padding: 16px 20px;
  border-radius: 8px;
  margin: 20px 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.faq-item summary {
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--p600);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.15s var(--ease-out);
}
.faq-item[open] {
  background: rgba(235, 231, 245, 0.65);
  border-color: rgba(173, 164, 204, 0.45);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: 14px; color: var(--text-soft); font-size: 14px; line-height: 1.65; }
.faq-item ul { margin-top: 8px; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: #0F0E14;
  color: rgba(255, 255, 255, 0.65);
  padding: 64px 28px 36px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 56px;
}
.footer h4 { color: #fff; font-size: 13px; margin-bottom: 16px; letter-spacing: 0.02em; text-transform: uppercase; opacity: 0.85; }
.footer a { color: rgba(255, 255, 255, 0.65); display: block; padding: 5px 0; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 12px;
}
.footer-brand img { width: 28px; height: 28px; border-radius: 7px; }
.footer-tagline { font-size: 14px; color: rgba(255, 255, 255, 0.5); max-width: 320px; line-height: 1.55; }
.footer-bottom {
  max-width: var(--container);
  margin: 40px auto 0;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .cta-row, .stores { justify-content: center; }
  .hero-product::before { width: 360px; height: 360px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-row { grid-template-columns: 1fr; gap: 40px; margin-bottom: 80px; text-align: center; }
  .showcase-row.reverse { direction: ltr; }
  .showcase-list li { text-align: left; }
  .privacy-band-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  /* On ≤980px the inline nav links collapse and the hamburger takes
     over. Lang toggle stays inline so the language pill is always
     within reach without opening the drawer. */
  .nav-links > a,
  .nav-links > .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

@media (max-width: 720px) {
  h1 { font-size: 44px; }
  h2 { font-size: 30px; }
  .hero-title { font-size: 48px; }
  .highlight-strip-inner { grid-template-columns: 1fr 1fr; gap: 18px; }
  .container { padding: 64px 22px; }
  .doc { padding: 48px 22px 80px; }
  .features-grid { grid-template-columns: 1fr; }
  .privacy-band { padding: 36px 28px; }
  .privacy-band h2 { font-size: 26px; }
  .beta-cta { padding: 72px 22px; }
  .beta-cta h2 { font-size: 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .phone { width: 280px; height: 580px; }
}

@media (max-width: 480px) {
  .hero { padding: 56px 0 40px; }
  .hero-title { font-size: 40px; letter-spacing: -0.035em; }
  .hero-sub { font-size: 16px; }
  .nav-inner { padding: 13px 18px; }
  .store-badge { min-width: 0; flex: 1 1 100%; padding: 10px 16px; }
  .phone { width: 240px; height: 500px; }
}

/* ── Print (clean policy printing) ──────────────────────── */
@media print {
  .nav, .footer, .lang-toggle, .cta-row, .hero-product, .stores, .privacy-band, .beta-cta { display: none; }
  .doc { padding: 0; max-width: 100%; }
  body { font-size: 11pt; }
  .doc h2 { page-break-after: avoid; }
}

/* ── Mobile nav (hamburger + drawer) ────────────────────── */

/* Hamburger button — hidden on desktop, shown on ≤980px. Three
   lines that morph into an X when .nav-toggle has aria-expanded
   true. Lives next to the lang-toggle so the language pill is
   always reachable even when the drawer is closed. */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  position: relative;
  margin-left: 6px;
  transition: background 0.15s;
}
.nav-toggle:hover { background: var(--p50); }
.nav-toggle span {
  display: block;
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.22s var(--ease-out), opacity 0.18s, top 0.22s var(--ease-out);
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

/* Drawer overlay — full-width glass sheet that drops down below the
   nav when the hamburger opens. Anchored to the nav (sticky), so
   tapping a link still leaves the bar visible. */
.nav-drawer {
  display: none;
  position: fixed;
  top: 64px; /* under the nav bar */
  left: 0;
  right: 0;
  padding: 14px 22px 22px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 16px 32px rgba(60, 50, 100, 0.08),
    inset 0 -1px 0 rgba(255, 255, 255, 0.5);
  z-index: 49;
  flex-direction: column;
  gap: 4px;
  animation: drawer-in 0.22s var(--ease-out);
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  padding: 12px 14px;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  border-radius: 10px;
  transition: background 0.15s;
}
.nav-drawer a:hover,
.nav-drawer a:focus-visible { background: var(--p50); color: var(--p900); }
.nav-drawer .nav-cta {
  margin-top: 8px;
  text-align: center;
  font-size: 14px;
}
@keyframes drawer-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Nav CTA button ─────────────────────────────────────── */
.nav-cta {
  background: rgba(62, 53, 86, 0.92);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff !important;
  padding: 8px 16px !important;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 13px;
  margin-left: 6px;
  transition: background 0.18s, transform 0.12s var(--ease-out), box-shadow 0.18s;
  box-shadow:
    0 6px 16px rgba(62, 53, 86, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.nav-cta:hover {
  background: rgba(45, 37, 64, 0.95);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow:
    0 10px 22px rgba(62, 53, 86, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* ── AI Reminder Timeline (4 stages) ────────────────────── */
.ai-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.ai-timeline::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--p200), var(--p400), var(--p600), var(--p800));
  z-index: 0;
}
/* On mobile the horizontal connector disappears (grid becomes 2×2 then
   1 column). A subtle vertical dashed line on the left of each stage
   keeps the "this is a sequence" cue alive without trying to chase
   the four nodes around. */
@media (max-width: 980px) {
  .ai-timeline::before { display: none; }
  .timeline-stage {
    text-align: left;
    padding-left: 24px;
    border-left: 2px dashed var(--p200);
  }
  .timeline-stage .timeline-node {
    margin-bottom: 12px;
  }
}
.timeline-stage {
  position: relative;
  text-align: center;
  z-index: 1;
}
.timeline-node {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  /* Glass node: subtle white film over whatever colour the stage's
     accent variant paints on top, plus a soft inner highlight to
     read as a polished bead rather than a flat circle. */
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 2px solid var(--p300);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--p800);
  font-size: 15px;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  position: relative;
  box-shadow:
    0 10px 24px rgba(129, 118, 166, 0.18),
    inset 0 2px 4px rgba(255, 255, 255, 0.9),
    inset 0 -3px 6px rgba(173, 164, 204, 0.18);
}
/* Tonal crescendo — D-14 (light) → D-7 → D-1 → D-Day (dark). The old
   step from p100 (very light) directly to p900 (near-black) felt
   jarring; intermediate stage 3 (D-1) now lands on p500 with a white
   numeral so the visual builds rather than jumps. */
.timeline-stage:nth-child(1) .timeline-node { border-color: var(--p200); }
.timeline-stage:nth-child(2) .timeline-node { border-color: var(--p400); background: var(--p50); }
.timeline-stage:nth-child(3) .timeline-node {
  border-color: var(--p600);
  background: var(--p500);
  color: #fff;
  box-shadow:
    0 10px 24px rgba(129, 118, 166, 0.28),
    inset 0 2px 4px rgba(255, 255, 255, 0.25),
    inset 0 -2px 4px rgba(0, 0, 0, 0.08);
}
.timeline-stage:nth-child(4) .timeline-node {
  background: rgba(62, 53, 86, 0.94);
  border-color: rgba(62, 53, 86, 0.94);
  color: #fff;
  box-shadow:
    0 12px 30px rgba(62, 53, 86, 0.32),
    inset 0 2px 4px rgba(255, 255, 255, 0.18),
    inset 0 -3px 6px rgba(0, 0, 0, 0.18);
}
.timeline-stage h4 {
  font-size: 15px;
  margin-bottom: 6px;
  font-weight: 700;
  color: var(--p900);
  letter-spacing: -0.015em;
}
.timeline-stage p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-soft);
  margin: 0;
  padding: 0 6px;
}

/* ── Sync flow diagram ──────────────────────────────────── */
.sync-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: center;
  margin-top: 48px;
}
.sync-diagram {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow:
    0 14px 40px rgba(60, 50, 100, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 260px;
}
.sync-node {
  flex: 1;
  text-align: center;
  padding: 20px 16px;
  background: rgba(235, 231, 245, 0.5);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.sync-node.dark {
  background: rgba(62, 53, 86, 0.92);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.sync-node.dark .name { color: #fff; }
.sync-node.dark .role { color: rgba(255, 255, 255, 0.65); }
.sync-node .ic {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 12px;
  background: var(--p100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--p800);
  font-size: 16px;
}
.sync-node.dark .ic { background: rgba(255, 255, 255, 0.12); color: #fff; }
.sync-node .name { font-weight: 700; font-size: 15px; color: var(--p900); margin-bottom: 2px; }
.sync-node .role { font-size: 12px; color: var(--text-soft); }
.sync-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--p600);
  flex-shrink: 0;
}
.sync-arrows .arrow {
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
}
.sync-arrows .arrow.up { transform: rotate(180deg); }
.sync-arrows .lbl {
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--p700);
  font-weight: 600;
}

/* ── Audience cards (Together / Mine / Partner) ─────────── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}
/* Audience cards drop the glass treatment — they're supporting
   detail under a heading and should read as solid pills, not as
   first-class showcase cards. Keeps glass reserved for the primary
   feature grid + nav + buttons, where it does real work. */
.audience-card {
  background: var(--p50);
  border: 1px solid var(--p100);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s, border-color 0.22s, background 0.22s;
  position: relative;
}
.audience-card:hover {
  transform: translateY(-3px);
  background: var(--bg);
  border-color: var(--p200);
  box-shadow: 0 12px 28px rgba(60, 50, 100, 0.08);
}
.audience-card .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-bottom: 14px;
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(173, 164, 204, 0.12);
}
.audience-card.together .dot { background: var(--p600); }
.audience-card.mine .dot     { background: var(--p400); }
.audience-card.partner .dot  { background: var(--p100); border: 1px solid var(--p200); }
.audience-card h4 { margin-bottom: 6px; font-size: 17px; }
.audience-card p { font-size: 14px; margin: 0; line-height: 1.6; }

/* ── How it works (3 steps) ─────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.step {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  box-shadow:
    0 8px 24px rgba(60, 50, 100, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.step .n {
  font-size: 14px;
  font-weight: 800;
  color: var(--p600);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  display: block;
}
.step h4 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; margin: 0; line-height: 1.6; }

/* ── Privacy disclosure (we send vs we keep) ────────────── */
.disclosure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
}
/* Disclosure columns sit inside the dark privacy band, so a glass
   treatment would compound translucency on translucency (the band
   already has a radial bloom + gradient). Solid white surface keeps
   the contrast strong for the "what we send / what we keep" list. */
.disclosure-col {
  background: var(--bg);
  border: 1px solid var(--p100);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: 0 8px 24px rgba(60, 50, 100, 0.06);
}
.disclosure-col.send  { border-left: 4px solid var(--p400); }
.disclosure-col.keep  { border-left: 4px solid var(--p900); }
.disclosure-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--p700);
  margin-bottom: 14px;
  font-weight: 700;
}
.disclosure-col ul { list-style: none; padding: 0; margin: 0; }
.disclosure-col li {
  padding: 7px 0;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}
.disclosure-col li:last-child { border-bottom: 0; }
.disclosure-col.send li::before  { content: "→"; color: var(--p600); font-weight: 700; }
.disclosure-col.keep li::before  { content: "✕"; color: var(--text-mute); font-weight: 700; }

/* ── Screenshot row (alternating image + copy) ──────────── */
.shot-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  margin-bottom: 96px;
}
.shot-row:last-child { margin-bottom: 0; }
/* Reverse: the art moves to the LEFT, the copy to the RIGHT. The old
   values (art:2 + copy:1) had no effect because default order is 0
   for both and the HTML already places copy before art, so the
   columns weren't actually swapped. */
.shot-row.reverse > .shot-art  { order: 1; }
.shot-row.reverse > .shot-copy { order: 2; }
.shot-art {
  display: flex;
  align-items: center;
  justify-content: center;
}
.shot-art .phone { width: 280px; height: 580px; }
.shot-copy h3 {
  font-size: 28px;
  margin-bottom: 14px;
  letter-spacing: -0.025em;
}
.shot-copy p { font-size: 16px; line-height: 1.65; }
.shot-copy .feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.shot-copy .feature-pills span {
  background: var(--p50);
  color: var(--p800);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--p100);
}

/* ── Section header ─────────────────────────────────────── */
.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 8px;
}
.section-head.left { text-align: left; margin: 0 0 24px; }

/* ── Responsive overrides for new components ────────────── */
@media (max-width: 980px) {
  .ai-timeline { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .ai-timeline::before { display: none; }
  .sync-grid { grid-template-columns: 1fr; gap: 32px; }
  .audience-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .disclosure-grid { grid-template-columns: 1fr; }
  .shot-row { grid-template-columns: 1fr; gap: 36px; margin-bottom: 64px; text-align: center; }
  /* On mobile, ignore reverse so every row reads copy → art (text
     first, screenshot after). Reading copy after the screenshot on a
     phone forces the user to scroll back up, which kills the rhythm. */
  .shot-row.reverse > .shot-art,
  .shot-row.reverse > .shot-copy { order: initial; }
  .shot-copy .feature-pills { justify-content: center; }
}

@media (max-width: 720px) {
  .ai-timeline { grid-template-columns: 1fr 1fr; }
  .nav-cta { display: none; }
  .sync-diagram { flex-direction: column; padding: 28px 20px; min-height: auto; }
  .sync-arrows { flex-direction: row; transform: rotate(90deg); margin: 4px 0; }
}

/* ── Motion preferences ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
