/* Drawer website. Plain CSS, no build step. Colours follow the app icon. */
:root {
  --paper: #F5F5FA;
  --card: #FFFFFF;
  --ink: #1D1D1F;
  --ink-soft: #5B5B66;
  --ink-faint: #8A8A94;
  --hairline: #E4E4EE;
  --accent: #5048D8;          /* text-safe indigo */
  --glow-1: #6F76F5;          /* icon gradient */
  --glow-2: #C177F5;
  --accent-soft: #ECEBFF;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --max: 1120px;
  --radius: 22px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0B0B10;
    --card: #17171F;
    --ink: #F5F5F7;
    --ink-soft: #ABABB8;
    --ink-faint: #7A7A86;
    --hairline: #26262F;
    --accent: #A9A4FF;
    --accent-soft: #1E1C35;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--glow-1); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 12px; background: var(--card); padding: 8px 14px; border-radius: 10px; z-index: 10; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  -webkit-backdrop-filter: saturate(1.8) blur(20px);
  backdrop-filter: saturate(1.8) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--hairline) 70%, transparent);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 650 19px/1 var(--sans); letter-spacing: -0.02em; }
.brand img { width: 28px; height: 28px; }
.site-header nav { display: flex; gap: 22px; }
.site-header nav a { color: var(--ink-soft); text-decoration: none; font-size: 14px; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--ink); }
@media (max-width: 560px) { .site-header nav .opt { display: none; } .site-header nav { gap: 16px; } }

/* Type */
h1, h2, h3 { text-wrap: balance; font-family: var(--sans); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; margin: 0; }
.eyebrow { font: 600 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.lede { font-size: 21px; line-height: 1.45; color: var(--ink-soft); margin: 18px 0 0; max-width: 34ch; letter-spacing: -0.01em; }

/* Hero, on a soft glassy wash like the app's own background */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% 0; z-index: -1;
  background:
    radial-gradient(40% 50% at 78% 30%, rgba(111, 118, 245, .30), transparent 70%),
    radial-gradient(35% 45% at 92% 75%, rgba(193, 119, 245, .26), transparent 70%),
    radial-gradient(30% 40% at 12% 85%, rgba(120, 200, 255, .20), transparent 70%);
  filter: blur(10px);
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
          mask-image: linear-gradient(180deg, #000 60%, transparent);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-icon { width: 112px; height: 112px; margin-bottom: 26px; filter: drop-shadow(0 18px 24px rgba(98, 88, 230, .38)) drop-shadow(0 2px 4px rgba(0,0,0,.08)); }
.hero h1 { font-size: clamp(48px, 7vw, 80px); letter-spacing: -0.045em; }
.hero h1 .accent { display: block; background: linear-gradient(100deg, var(--glow-1), var(--glow-2)); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: .56em; margin-top: 12px; line-height: 1.15; letter-spacing: -0.035em; padding-bottom: .06em; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 34px; }
.badge img { height: 54px; width: auto; }
.badge { display: inline-block; border-radius: 10px; }
@media (prefers-color-scheme: dark) { .badge img { box-shadow: 0 0 0 1px rgba(255,255,255,.24); border-radius: 9px; } }
.soon {
  display: inline-flex; align-items: center; gap: 9px;
  height: 36px; padding: 0 14px 0 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
}
.soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 22%, transparent); }
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px;
  border-radius: 999px; text-decoration: none; font: 600 16px/1 var(--sans);
  color: #fff; background: linear-gradient(100deg, var(--glow-1), var(--glow-2));
  box-shadow: 0 8px 20px -8px rgba(98, 88, 230, .7);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -8px rgba(98, 88, 230, .75); }
.fine { font-size: 13px; color: var(--ink-faint); margin: 14px 0 0; }

/* Phones */
.phone {
  position: relative; border-radius: 46px; padding: 10px; background: #0c0c0e;
  box-shadow: inset 0 0 0 1.5px #3c3c41, 0 40px 80px -30px rgba(50, 40, 140, .45), 0 18px 30px -18px rgba(0,0,0,.3);
  max-width: 300px;
}
@media (prefers-color-scheme: dark) {
  .phone { box-shadow: inset 0 0 0 1.5px #4a4a50, 0 0 0 1px rgba(255,255,255,.12), 0 40px 70px -24px rgba(0,0,0,.8); }
}
.phone img { border-radius: 37px; width: 100%; aspect-ratio: 640 / 1391; object-fit: cover; }
.hero-phones { position: relative; display: flex; justify-content: center; min-height: 560px; }
.hero-phones .phone { width: 62%; }
.hero-phones .back { position: absolute; right: 2%; top: 40px; transform: rotate(6deg); width: 52%; }
.hero-phones .front { position: relative; z-index: 1; margin-right: 22%; transform: rotate(-3deg); }

/* Features */
.feature { padding: 88px 0; }
.feature + .feature { border-top: 1px solid var(--hairline); }
.feature .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature.flip .text { order: 2; }
.feature h2 { font-size: clamp(34px, 4.6vw, 52px); }
.feature .phone { margin: 0 auto; width: 290px; }
.feature ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.feature li { padding-left: 28px; position: relative; color: var(--ink-soft); }
.feature li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 9px; height: 9px; border-radius: 3px; background: linear-gradient(135deg, var(--glow-1), var(--glow-2)); }
.feature li strong { color: var(--ink); font-weight: 600; }
.path { display: inline-block; font-weight: 600; color: var(--ink); }

/* Setup steps */
.steps { padding: 96px 0; background: var(--card); border-block: 1px solid var(--hairline); text-align: center; }
.steps h2 { font-size: clamp(34px, 4.6vw, 52px); }
.steps .lede { margin-inline: auto; max-width: 40ch; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; text-align: left; list-style: none; padding: 0; counter-reset: step; }
.trio li { background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 24px; counter-increment: step; }
.trio li::before {
  content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 16px;
  border-radius: 11px; color: #fff; font-weight: 700; font-size: 16px;
  background: linear-gradient(135deg, var(--glow-1), var(--glow-2));
}
.trio h3 { font-size: 21px; margin-bottom: 8px; letter-spacing: -0.02em; }
.trio p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* Privacy band */
.privacy-band { padding: 96px 0; }
.privacy-card {
  background: #15142A; color: #F2F1FF; border-radius: 32px; padding: 64px 56px;
  display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center;
  background-image: radial-gradient(60% 90% at 100% 0%, rgba(193, 119, 245, .22), transparent 70%), radial-gradient(50% 80% at 0% 100%, rgba(111, 118, 245, .22), transparent 70%);
}
@media (prefers-color-scheme: dark) { .privacy-card { box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); } }
.privacy-card h2 { font-size: clamp(30px, 4vw, 44px); }
.privacy-card p { color: #B9B7D6; margin: 14px 0 0; max-width: 56ch; }
.privacy-card a { color: #C9C4FF; }
.lock { width: 88px; height: 88px; border-radius: 24px; display: grid; place-items: center; background: linear-gradient(135deg, var(--glow-1), var(--glow-2)); }
.lock svg { width: 40px; height: 40px; fill: #fff; }

/* Final CTA */
.final { text-align: center; padding: 24px 0 96px; }
.final img.icon { width: 88px; height: 88px; margin: 0 auto 22px; filter: drop-shadow(0 14px 18px rgba(98, 88, 230, .4)); }
.final h2 { font-size: clamp(32px, 4.4vw, 48px); }
.final .ctas { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--hairline); padding: 32px 0 48px; font-size: 14px; color: var(--ink-faint); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }

/* Document pages (privacy, support) */
.doc { padding: 64px 0 96px; }
.doc .wrap { max-width: 740px; }
.doc h1 { font-size: clamp(38px, 6vw, 56px); letter-spacing: -0.04em; }
.doc .updated { color: var(--ink-faint); margin: 12px 0 36px; font-size: 15px; }
.doc h2 { font-size: 28px; margin: 52px 0 14px; letter-spacing: -0.025em; }
.doc h3 { font: 600 18px/1.35 var(--sans); margin: 30px 0 6px; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--ink-soft); }
.doc strong { color: var(--ink); }
.doc li + li { margin-top: 6px; }
.summary { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 22px 26px; margin: 0 0 8px; }
.summary p { margin: 0; color: var(--ink); font-size: 18px; }
.callout { background: var(--accent-soft); border-radius: var(--radius); padding: 20px 24px; margin: 28px 0; }
.callout p { margin: 0; color: var(--ink); }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px 24px; }
.notfound img { width: 96px; height: 96px; margin: 0 auto 24px; }
.notfound h1 { font-size: 44px; }
.notfound p { color: var(--ink-soft); }

/* Responsive */
@media (max-width: 900px) {
  .hero { padding-top: 48px; }
  .hero .wrap, .feature .wrap { grid-template-columns: 1fr; gap: 44px; }
  .hero .text { text-align: center; }
  .hero-icon { margin-inline: auto; }
  .hero .lede { margin-inline: auto; }
  .hero .ctas { justify-content: center; }
  .hero-phones { min-height: 0; max-width: 420px; margin: 0 auto; width: 100%; }
  .feature { padding: 64px 0; }
  .feature.flip .text { order: 0; }
  .feature .text { text-align: center; }
  .feature .lede { margin-inline: auto; }
  .feature ul { text-align: left; max-width: 420px; margin-inline: auto; }
  .feature .phone { width: 260px; }
  .trio { grid-template-columns: 1fr; }
  .privacy-card { grid-template-columns: 1fr; padding: 44px 28px; text-align: center; }
  .privacy-card p { margin-inline: auto; }
  .lock { margin: 0 auto; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .lede { font-size: 19px; }
  .hero-icon { width: 92px; height: 92px; }
  .badge img { height: 50px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}
