/* Spunto — site styles
   One sheet for every page. Tokens first, then layout, then components.
   Colors come from the app icon's violet; type pairs Bricolage Grotesque
   (display) with the platform's own system face (text). */

:root {
  --violet: #6a3fc4;
  --violet-deep: #4a2799;
  --violet-ink: #3b1f80;
  --violet-soft: #efe9fb;
  --violet-wash: #f6f2fd;

  --ink: #17112a;
  --ink-2: #4b4560;
  --ink-3: #736d86;
  --paper: #fbfafd;
  --surface: #ffffff;
  --surface-2: #f4f2f8;
  --line: rgba(23, 17, 42, 0.09);
  --line-strong: rgba(23, 17, 42, 0.16);

  --amber: #b86e08;
  --green: #2a8a4c;
  --red: #c7443c;
  --blue: #2f6fd6;

  --shadow-sm: 0 1px 2px rgba(23, 17, 42, 0.06), 0 2px 8px rgba(23, 17, 42, 0.04);
  --shadow-md: 0 2px 6px rgba(23, 17, 42, 0.05), 0 18px 40px -12px rgba(39, 18, 92, 0.18);
  --shadow-lg: 0 4px 10px rgba(23, 17, 42, 0.05), 0 40px 80px -24px rgba(39, 18, 92, 0.32);

  --display: "Bricolage Grotesque", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, "Helvetica Neue", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --violet: #a98cff;
    --violet-deep: #c4b1ff;
    --violet-ink: #d9ccff;
    --violet-soft: rgba(169, 140, 255, 0.16);
    --violet-wash: rgba(169, 140, 255, 0.07);

    --ink: #f3f0fa;
    --ink-2: #c5bfd6;
    --ink-3: #958fa8;
    --paper: #0d0a17;
    --surface: #17131f;
    --surface-2: #1d1828;
    --line: rgba(243, 240, 250, 0.09);
    --line-strong: rgba(243, 240, 250, 0.16);

    --amber: #f0a945;
    --green: #5cc97f;
    --red: #ff7a70;
    --blue: #7aa7ff;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 18px 40px -12px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 40px 80px -24px rgba(0, 0, 0, 0.75);
  color-scheme: dark;
  }
}
:root[data-theme="dark"] {
    --violet: #a98cff;
    --violet-deep: #c4b1ff;
    --violet-ink: #d9ccff;
    --violet-soft: rgba(169, 140, 255, 0.16);
    --violet-wash: rgba(169, 140, 255, 0.07);

    --ink: #f3f0fa;
    --ink-2: #c5bfd6;
    --ink-3: #958fa8;
    --paper: #0d0a17;
    --surface: #17131f;
    --surface-2: #1d1828;
    --line: rgba(243, 240, 250, 0.09);
    --line-strong: rgba(243, 240, 250, 0.16);

    --amber: #f0a945;
    --green: #5cc97f;
    --red: #ff7a70;
    --blue: #7aa7ff;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 18px 40px -12px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 40px 80px -24px rgba(0, 0, 0, 0.75);
  color-scheme: dark;
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--violet); text-decoration: none; }
a:hover { color: var(--violet-deep); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--violet-soft); color: var(--ink); }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; color: var(--paper); }

/* ---------- type ---------- */

.display {
  font-family: var(--display);
  font-variation-settings: "opsz" 96;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.h-hero { font-size: clamp(46px, 7.4vw, 96px); }
.h-page { font-size: clamp(42px, 6vw, 76px); }
.h-section { font-size: clamp(34px, 4.8vw, 60px); line-height: 1.02; }
.h-block { font-family: var(--display); font-variation-settings: "opsz" 32; font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.022em; line-height: 1.12; font-weight: 600; }
.h-card { font-family: var(--display); font-variation-settings: "opsz" 24; font-size: 20px; letter-spacing: -0.015em; line-height: 1.2; font-weight: 600; }
.lead { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; color: var(--ink-2); letter-spacing: -0.008em; }
.body { color: var(--ink-2); }
.small { font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--violet);
}
.eyebrow svg { width: 16px; height: 16px; }
.accent { color: var(--violet); }
.balance { text-wrap: balance; }
.pretty { text-wrap: pretty; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--display); font-weight: 650; font-size: 20px; letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 1px 2px rgba(23, 17, 42, .18); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); border-radius: 12px; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }

@media (max-width: 820px) {
  .menu-btn { display: inline-flex; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 64px;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 4px; font-size: 18px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-links a:hover { background: transparent; }
  .nav-cta .btn-sm { padding-inline: 14px; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 0;
  font: 600 17px/1 var(--text); letter-spacing: -0.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); color: var(--paper); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 8px 20px -8px rgba(23,17,42,.45); }
.btn-primary:hover { color: var(--paper); background: color-mix(in srgb, var(--ink) 86%, var(--violet)); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-ghost:hover { color: var(--ink); background: var(--surface-2); }
.btn-sm { min-height: 38px; padding: 0 18px; font-size: 15px; }
.btn .price { font-weight: 500; opacity: .72; padding-left: 10px; border-left: 1px solid currentColor; border-left-color: color-mix(in srgb, currentColor 30%, transparent); }
.btn svg { width: 18px; height: 18px; flex: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.cta-note { font-size: 14px; color: var(--ink-3); }

/* ---------- sections ---------- */

.section { padding-block: clamp(80px, 11vw, 148px); position: relative; }
.section-tight { padding-block: clamp(56px, 7vw, 96px); }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-inline: auto; justify-items: center; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.tint { background: var(--violet-wash); }
.on-ink { background: #120c22; color: #f3f0fa; }
.on-ink .lead, .on-ink .body { color: #c5bfd6; }
.on-ink .small { color: #958fa8; }
.on-ink .eyebrow, .on-ink .accent { color: #b9a3ff; }

/* ---------- hero ---------- */

.hero { padding-top: clamp(48px, 8vw, 112px); overflow: hidden; }
.hero-copy { display: grid; gap: 26px; justify-items: center; text-align: center; }
.hero-copy .lead { max-width: 40ch; }
.hero-copy .cta-row { justify-content: center; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: var(--ink-3); font-size: 14px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 15px; height: 15px; color: var(--violet); }
.hero-stage { position: relative; max-width: 1080px; margin: clamp(48px, 7vw, 88px) auto 0; aspect-ratio: 1080 / 640; }
.hero-stage .device-ipad { position: absolute; left: 22%; top: 0; width: 62%; }
.hero-stage .device-ipad { aspect-ratio: 1150 / 1030; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.hero-stage .device-phone { position: absolute; left: 6%; top: 14%; width: 25%; z-index: 2; }
.hero-stage .device-watch { position: absolute; right: 2%; top: 26%; width: 17%; z-index: 2; }
.hero-stage::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: 0; height: 26%; background: linear-gradient(transparent, var(--paper)); z-index: 3; pointer-events: none; }
@media (max-width: 700px) {
  .hero-stage { aspect-ratio: 1 / .9; }
  .hero-stage .device-ipad { left: 26%; width: 84%; }
  .hero-stage .device-phone { left: 0; top: 10%; width: 40%; }
  .hero-stage .device-watch { display: none; }
}

/* ---------- device frames ----------
   Every frame is one pattern: <div class="device-phone|device-ipad|device-watch">
   holding the screenshot (an <img>, or a <picture> for the dark-mode swap).
   The hardware is Apple's Product Bezel PNG, laid over the screenshot by ::after;
   the screen sits under the bezel's transparent cut-out, so the bezel masks
   its corners. Each device is a handful of numbers taken from its PNG:
     --bezel     the PNG
     --bezel-w/h its pixel size (the frame's aspect ratio)
     --screen-x  cut-out left, as % of the PNG's width
     --screen-y  cut-out top, ALSO as % of the PNG's width (a margin, so it holds
                 when a crop variant changes the frame's height)
     --screen-w  cut-out width, as % of the PNG's width
     --screen-ratio, --screen-r  the screenshot's aspect ratio and corner radius
   To change hardware, replace the PNG and update these. */

.device-phone, .device-ipad, .device-watch {
  position: relative; display: flow-root;
  aspect-ratio: var(--bezel-w) / var(--bezel-h);
  filter: drop-shadow(0 2px 3px rgba(23, 17, 42, .14)) drop-shadow(0 24px 34px rgba(39, 18, 92, .22));
}
.device-phone::after, .device-ipad::after, .device-watch::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: var(--bezel) top center / 100% auto no-repeat;
}
.device-phone > img, .device-phone > picture,
.device-ipad > img, .device-ipad > picture,
.device-watch > img, .device-watch > picture {
  display: block; width: var(--screen-w); margin: var(--screen-y) 0 0 var(--screen-x);
  aspect-ratio: var(--screen-ratio); border-radius: var(--screen-r);
  overflow: hidden; background: #000;
}
.device-phone img, .device-ipad img, .device-watch img { object-fit: cover; object-position: top; }
.device-phone > picture img, .device-ipad > picture img, .device-watch > picture img { display: block; width: 100%; height: 100%; }

.device-phone {   /* iPhone 18 Pro, 675 × 1380 */
  --bezel: url("../img/bezels/iphone-18-pro.png"); --bezel-w: 675; --bezel-h: 1380;
  --screen-x: 5.3333%; --screen-y: 5.1111%; --screen-w: 89.3333%;
  --screen-ratio: 1206 / 2622; --screen-r: 12.6% / 5.8%;
}
.device-ipad {    /* iPad Pro 13-inch (M5), 1150 × 1500 */
  --bezel: url("../img/bezels/ipad-pro-13.png"); --bezel-w: 1150; --bezel-h: 1500;
  --screen-x: 5.1304%; --screen-y: 5.3913%; --screen-w: 89.7391%;
  --screen-ratio: 2064 / 2752; --screen-r: 1.6% / 1.2%;
}
.device-watch {   /* Apple Watch 46mm with Sport Band, 560 × 880 */
  --bezel: url("../img/bezels/apple-watch-46mm.png"); --bezel-w: 560; --bezel-h: 880;
  --screen-x: 12.8571%; --screen-y: 34.2857%; --screen-w: 74.2857%;
  --screen-ratio: 416 / 496; --screen-r: 20% / 17%;
}

/* Showing only the top of an iPad: the frame keeps its full width and top,
   and the bottom is clipped and faded rather than given a fake bottom bezel. */
.device-ipad.crop { aspect-ratio: 1150 / 960; overflow: hidden; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }

.device-mac {
  border-radius: 1.6% / 2.3%;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--line);
  background: var(--surface);
}
.device-mac img { width: 100%; }

/* ---------- the read: interactive demo ---------- */

.read { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.read-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.read-tab {
  font: 500 15px/1 var(--text); color: var(--ink-2);
  padding: 11px 16px; min-height: 40px; border-radius: 999px;
  border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong);
  cursor: pointer; transition: all .2s var(--ease);
}
.read-tab:hover { color: var(--ink); }
.read-tab[aria-selected="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.thought {
  position: relative;
  background: var(--surface);
  border-radius: 28px;
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-md);
  min-height: 260px;
}
.thought-label { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--ink-3); margin-bottom: 16px; }
.thought-label .dot { display: inline-flex; align-items: center; gap: 8px; }
.thought-label .dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); }
.thought-text { font-family: var(--display); font-variation-settings: "opsz" 32; font-size: clamp(23px, 2.3vw, 30px); line-height: 1.32; letter-spacing: -0.018em; font-weight: 500; min-height: 4.2em; }
.thought-text mark {
  background: linear-gradient(transparent 62%, var(--hl, var(--violet-soft)) 62%);
  background-size: 0% 100%; background-repeat: no-repeat;
  color: inherit; border-radius: 2px;
  transition: background-size .7s var(--ease);
}
.thought-text.read-done mark { background-size: 100% 100%; }
.thought-text .caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -0.12em; background: var(--violet); animation: blink 1s steps(1) infinite; }
.thought-text.read-done .caret { display: none; }
@keyframes blink { 50% { opacity: 0; } }
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }
.status-pill .spark { width: 14px; height: 14px; color: var(--violet); }
.status-pill.reading .spark { animation: spin 1.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.fact {
  display: inline-flex; align-items: center; gap: 7px;
  height: 30px; padding: 0 12px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  background: var(--surface-2);
  opacity: 0; transform: translateY(6px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.fact svg { width: 14px; height: 14px; color: var(--ink-3); }
.read-done ~ .facts .fact, .facts.show .fact { opacity: 1; transform: none; }

.suggestions { display: grid; gap: 12px; }
.suggestions-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; }
.suggestions-head .h-card { font-size: 17px; }
.sugg {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center;
  background: var(--surface); border-radius: 18px; padding: 16px 18px;
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
  opacity: 0; transform: translateY(14px) scale(.985);
  transition: opacity .55s var(--ease), transform .55s var(--ease), box-shadow .3s var(--ease);
}
.sugg.show { opacity: 1; transform: none; }
.sugg-icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--k) 14%, transparent); color: var(--k); }
.sugg-icon svg { width: 21px; height: 21px; }
.sugg-kind { font-size: 12.5px; font-weight: 600; color: var(--k); letter-spacing: .01em; }
.sugg-title { font-weight: 600; font-size: 16.5px; letter-spacing: -0.01em; line-height: 1.3; }
.sugg-detail { font-size: 14px; color: var(--ink-3); margin-top: 2px; }
.keep {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); background: transparent;
  display: grid; place-items: center; cursor: pointer; color: transparent;
  transition: all .25s var(--ease);
}
.keep svg { width: 15px; height: 15px; }
.keep[aria-pressed="true"] { background: var(--k); border-color: var(--k); color: #fff; }
.sugg.kept { box-shadow: var(--shadow-sm), inset 0 0 0 1.5px color-mix(in srgb, var(--k) 45%, transparent); }
.read-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; min-height: 44px; }
.read-foot .small { max-width: 34ch; }
.keep-bar {
  font: 600 15px/1 var(--text); padding: 12px 18px; border-radius: 999px; border: 0;
  background: var(--surface); color: var(--red); box-shadow: inset 0 0 0 1px var(--line-strong); cursor: pointer;
}
.keep-bar.has { background: var(--ink); color: var(--paper); box-shadow: none; }

@media (max-width: 900px) { .read { grid-template-columns: 1fr; } }

/* kind colors (mirrors the app's action tints) */
.k-reminder { --k: #d98a0b; }
.k-calendar { --k: #e0453b; }
.k-message { --k: #2f9e4f; }
.k-mail { --k: #2f6fd6; }
.k-call { --k: #8e57d6; }
.k-place { --k: #2f9e74; }
.k-contact { --k: #6b6c75; }
.k-alarm { --k: #e68a00; }
.k-music { --k: #e0457a; }
.k-workout { --k: #4fb33b; }
.k-web { --k: #2b8fc9; }
.k-shortcut { --k: #5c55d6; }
.k-note { --k: #7a5ad9; }
@media (prefers-color-scheme: dark) {
  .k-contact { --k: #a3a4ad; }
}

/* ---------- steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); counter-reset: step; }
.step { display: grid; grid-template-rows: auto 1fr; gap: 26px; background: var(--surface); border-radius: var(--radius); padding: 28px 28px 0; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); overflow: hidden; }
.step-copy { display: grid; gap: 10px; align-content: start; }
.step-num { counter-increment: step; font: 600 13px/1 var(--text); color: var(--violet); }
.step-num::before { content: "0" counter(step); margin-right: 8px; font-variant-numeric: tabular-nums; }
.step-shot { align-self: end; margin-inline: 8%; }
.step-shot .device-phone { aspect-ratio: 675 / 780; overflow: hidden; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr 1fr; grid-template-rows: none; align-items: end; padding-bottom: 0; }
  .step-copy { align-self: center; padding-bottom: 28px; }
}
@media (max-width: 560px) {
  .step { grid-template-columns: 1fr; }
  .step-copy { padding-bottom: 0; }
  .step-shot { margin-inline: 14%; }
}

/* ---------- feature rows ---------- */

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.feature.flip .feature-copy { order: 2; }
.feature-copy { display: grid; gap: 22px; align-content: center; }
.feature-copy .lead { max-width: 36ch; }
.points { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 18px; }
.points li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.points li svg { width: 22px; height: 22px; color: var(--violet); margin-top: 2px; }
.points strong { display: block; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.points span { color: var(--ink-2); }
.feature-visual { position: relative; }
.feature-visual .device-phone { width: min(360px, 78%); margin-inline: auto; }
.feature-visual.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; align-items: end; max-width: 560px; margin-inline: auto; }
.feature-visual.duo .device-phone { width: 100%; }
.feature-visual.duo .device-phone:nth-child(2) { transform: translateY(-12%); }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip .feature-copy { order: 0; }
}

.wide-visual { margin-top: clamp(40px, 6vw, 72px); }
.wide-visual .device-ipad, .wide-visual .device-mac { max-width: 1000px; margin-inline: auto; }

/* ---------- cards & grids ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); display: grid; gap: 12px; align-content: start; }
.card-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet); margin-bottom: 6px; }
.card-icon svg { width: 22px; height: 22px; }
.on-ink .card { background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); }
.on-ink .card-icon { background: rgba(185,163,255,.14); color: #b9a3ff; }
.on-ink .h-card { color: #f3f0fa; }

.kind { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.kind .sugg-icon { width: 36px; height: 36px; border-radius: 10px; }
.kind .sugg-icon svg { width: 19px; height: 19px; }
.kind b { display: block; font-weight: 600; font-size: 15.5px; letter-spacing: -0.01em; }
.kind span { display: block; font-size: 13.5px; color: var(--ink-3); line-height: 1.35; }

/* ---------- devices ---------- */

.devices-tabs { display: flex; justify-content: flex-start; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); width: max-content; max-width: 100%; margin: 0 auto clamp(36px, 5vw, 56px); overflow-x: auto; scrollbar-width: none; }
.devices-tabs::-webkit-scrollbar { display: none; }
.devices-tabs button { font: 500 15px/1 var(--text); border: 0; background: transparent; color: var(--ink-2); padding: 11px 18px; border-radius: 999px; cursor: pointer; white-space: nowrap; min-height: 40px; }
.devices-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.device-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.device-panel[hidden] { display: none; }
.device-panel .feature-copy .lead { max-width: 32ch; }
.device-panel .visual { display: flex; justify-content: center; }
.device-panel .visual .device-phone { width: min(330px, 70%); }
.device-panel .visual .device-watch { width: min(250px, 56%); }
.device-panel .visual .device-ipad { width: 100%; }
.device-panel .visual .device-mac { width: 100%; }
@media (max-width: 900px) { .device-panel { grid-template-columns: 1fr; } }

.vision-plate {
  aspect-ratio: 16 / 10; width: 100%; border-radius: 28px; position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 20% 10%, #d9cdf7 0%, transparent 55%),
    radial-gradient(90% 80% at 90% 90%, #c7b6f2 0%, transparent 60%),
    linear-gradient(160deg, #ece6f8, #d8cfee);
  display: grid; place-items: center;
}
@media (prefers-color-scheme: dark) {
  .vision-plate { background: radial-gradient(120% 90% at 20% 10%, #2b2146 0%, transparent 55%), radial-gradient(90% 80% at 90% 90%, #241a3f 0%, transparent 60%), linear-gradient(160deg, #18122a, #110c1e); }
}
.vision-window {
  width: 62%; border-radius: 26px; padding: 22px 24px;
  background: rgba(255,255,255,.55); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -20px rgba(39,18,92,.35), inset 0 0 0 1px rgba(255,255,255,.7);
  color: #17112a;
}
@media (prefers-color-scheme: dark) { .vision-window { background: rgba(40,32,60,.6); color: #f3f0fa; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.12); } }
.vision-window .t { font-weight: 650; font-size: clamp(14px, 1.6vw, 19px); letter-spacing: -0.01em; }
.vision-window .s { font-size: clamp(11px, 1.1vw, 13px); opacity: .7; margin-top: 4px; }
.vision-window .row { margin-top: 14px; display: grid; gap: 8px; }
.vision-window .row div { height: clamp(28px, 3.4vw, 40px); border-radius: 12px; background: rgba(255,255,255,.55); display: flex; align-items: center; gap: 10px; padding-inline: 12px; font-size: clamp(11px, 1.15vw, 14px); font-weight: 500; }
@media (prefers-color-scheme: dark) { .vision-window .row div { background: rgba(255,255,255,.07); } }
.vision-window .row i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .5; flex: none; }
.vision-ornament { position: absolute; bottom: 9%; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.5); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }
@media (prefers-color-scheme: dark) { .vision-ornament { background: rgba(40,32,60,.6); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); } }
.vision-ornament span { font-size: clamp(10px, 1vw, 12px); font-weight: 600; padding: 6px 12px; border-radius: 999px; color: inherit; }
.vision-ornament span:first-child { background: rgba(255,255,255,.75); }
@media (prefers-color-scheme: dark) { .vision-ornament span:first-child { background: rgba(255,255,255,.14); color: #f3f0fa; } .vision-ornament span { color: #d9d3ea; } }

/* ---------- everywhere strip ---------- */

.surfaces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.surface { background: var(--surface); padding: 26px 26px 28px; display: grid; gap: 8px; align-content: start; }
.surface svg { width: 24px; height: 24px; color: var(--violet); margin-bottom: 6px; }
.surface b { font-weight: 600; letter-spacing: -0.01em; }
.surface span { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 900px) { .surfaces { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .surfaces { grid-template-columns: 1fr; } }

/* ---------- privacy ---------- */

.privacy-band { border-radius: 36px; padding: clamp(36px, 6vw, 80px); position: relative; overflow: hidden; }
.privacy-band .section-head { margin-bottom: clamp(32px, 4vw, 48px); }
.privacy-band::before {
  content: ""; position: absolute; inset: auto -10% -60% auto; width: 70%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(106,63,196,.45), transparent 70%);
  pointer-events: none;
}

/* ---------- pricing ---------- */

.price-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0;
  background: var(--surface); border-radius: 32px; overflow: hidden;
  box-shadow: var(--shadow-md), inset 0 0 0 1px var(--line);
}
.price-main { padding: clamp(32px, 4.4vw, 56px); display: grid; gap: 22px; align-content: start; }
.price-side { padding: clamp(32px, 4.4vw, 56px); background: var(--violet-wash); border-left: 1px solid var(--line); }
.price-figure { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-figure .amount { font-family: var(--display); font-variation-settings: "opsz" 96; font-size: clamp(56px, 7vw, 84px); font-weight: 650; letter-spacing: -0.04em; line-height: 1; }
.price-figure .unit { color: var(--ink-3); font-size: 16px; }
/* Trial, then the one-time price: two steps, one under the other. */
.price-steps { display: grid; gap: 18px; }
.price-step { display: grid; gap: 8px; align-content: start; }
.price-step + .price-step { padding-top: 18px; border-top: 1px solid var(--line); }
.price-step:first-child .amount { font-size: clamp(36px, 4vw, 48px); }
.price-figure .was { font-family: var(--display); font-size: clamp(24px, 2.6vw, 32px); font-weight: 500; letter-spacing: -0.02em; color: var(--ink-3); text-decoration-thickness: 2px; }
.launch-note { margin: 0; font-size: 14px; font-weight: 500; color: var(--violet); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: var(--ink-2); }
.checks svg { width: 20px; height: 20px; color: var(--violet); margin-top: 2px; }
.checks b { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .price-card { grid-template-columns: 1fr; } .price-side { border-left: 0; border-top: 1px solid var(--line); } }

.platform-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.platform { background: var(--surface); border-radius: 18px; padding: 20px 18px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 4px; }
.platform svg { width: 26px; height: 26px; color: var(--ink-2); margin-bottom: 10px; }
.platform b { font-weight: 600; letter-spacing: -0.01em; }
.platform span { font-size: 14px; color: var(--ink-3); }
@media (max-width: 900px) { .platform-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- FAQ ---------- */

.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; font-weight: 600; font-size: 18px; letter-spacing: -0.012em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq .answer { padding: 0 0 24px; color: var(--ink-2); max-width: 68ch; display: grid; gap: 12px; }
.faq-group { margin-top: 56px; }
.faq-group:first-child { margin-top: 0; }
.faq-group h2 { margin-bottom: 16px; }

/* ---------- page header (inner pages) ---------- */

.page-head { padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(40px, 6vw, 72px); }
.page-head .wrap { display: grid; gap: 22px; }
.page-head .lead { max-width: 46ch; }

/* ---------- subnav (features) ---------- */

.subnav { position: sticky; top: 64px; z-index: 40; background: color-mix(in srgb, var(--paper) 82%, transparent); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; padding: 14px 14px; font-size: 14.5px; font-weight: 500; color: var(--ink-3); border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--ink); }
.subnav a.active { color: var(--ink); border-bottom-color: var(--violet); }

/* ---------- prose (legal, support) ---------- */

.prose { max-width: 720px; }
.prose h2 { font-family: var(--display); font-variation-settings: "opsz" 32; font-size: 26px; letter-spacing: -0.02em; margin: 48px 0 14px; line-height: 1.2; }
.prose h3 { font-size: 18px; margin: 28px 0 8px; letter-spacing: -0.01em; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 22px; margin: 12px 0; display: grid; gap: 8px; }
.prose strong { color: var(--ink); }
.prose .updated { font-size: 14px; color: var(--ink-3); }
.summary-box { background: var(--violet-wash); border-radius: var(--radius); padding: 28px 30px; display: grid; gap: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.summary-box ul { margin: 0; }
.table { width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 16px 0; }
.table th, .table td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-weight: 600; color: var(--ink); }
.table td { color: var(--ink-2); }
.table-scroll { overflow-x: auto; }

.contact-card { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; background: var(--surface); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.contact-card .card-icon { margin: 0; }
@media (max-width: 600px) { .contact-card { grid-template-columns: 1fr; } }

/* ---------- press ---------- */

.facts-table { display: grid; grid-template-columns: 200px 1fr; border-top: 1px solid var(--line); }
.facts-table dt, .facts-table dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts-table dt { color: var(--ink-3); font-size: 15px; }
.facts-table dd { color: var(--ink); }
@media (max-width: 600px) { .facts-table { grid-template-columns: 1fr; } .facts-table dt { border-bottom: 0; padding-bottom: 0; } }
.asset { display: grid; gap: 12px; }
.asset-frame { background: var(--surface-2); border-radius: var(--radius-sm); aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); padding: 18px; }
.asset-frame { position: relative; }
.asset-frame img { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); object-fit: contain; border-radius: 0; filter: drop-shadow(0 6px 14px rgba(23,17,42,.14)); }
.asset-frame img.icon { position: static; width: 46%; height: auto; border-radius: 22%; box-shadow: var(--shadow-md); filter: none; }

/* ---------- closing CTA ---------- */

.closing { text-align: center; }
.closing .wrap { display: grid; gap: 26px; justify-items: center; }
.closing-icon { width: 104px; height: 104px; border-radius: 24px; box-shadow: var(--shadow-lg); }
.closing .cta-row { justify-content: center; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding-block: 56px 40px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-grid h2 { font: 600 13px/1 var(--text); color: var(--ink); margin-bottom: 16px; letter-spacing: 0.01em; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--ink-3); }
.footer-grid a:hover { color: var(--ink); }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand p { color: var(--ink-3); max-width: 30ch; }
.footer-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--ink-3); font-size: 13px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }

.hero .rise { animation: rise 1.1s var(--ease) both; }
.hero .rise.d1 { animation-delay: .08s; } .hero .rise.d2 { animation-delay: .16s; } .hero .rise.d3 { animation-delay: .24s; }
.hero-stage .device-phone { animation: rise-phone 1.4s var(--ease) .3s both; }
.hero-stage .device-watch { animation: rise-phone 1.4s var(--ease) .45s both; }
.hero-stage .device-ipad { animation: rise-pad 1.5s var(--ease) .15s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes rise-phone { from { opacity: 0; transform: translateY(60px); } }
@keyframes rise-pad { from { opacity: 0; transform: translateY(40px) scale(.98); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */

.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.lost .wrap { display: grid; gap: 22px; justify-items: center; }
.lost-cloud { width: 140px; color: var(--violet-soft); }
