/* wisteriaai.com
   One stylesheet for every page. No third-party requests: the font, the artwork and the scripts are all served from this site.
   Light and dark follow the visitor's system setting. Device mockups are drawn in HTML and scale with their container (cqw units). */

@font-face {
  font-family: 'Cal Sans UI';
  src: url('/assets/CalSansUI-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;

  /* the site */
  --bg: #FFFFFF;
  --bg-soft: #F7F5FA;
  --ink: #17151C;
  --ink-2: #494653;
  --muted: #6E6A7A;
  --faint: #BDB9C8;
  --line: rgba(23, 21, 28, .08);
  --accent: #7657D0;
  --accent-soft: rgba(118, 87, 208, .10);
  --grad: linear-gradient(96deg, #7657D0 0%, #A58FEA 55%, #8FAEEF 100%);
  --glow-1: rgba(176, 150, 240, .30);
  --glow-2: rgba(240, 184, 214, .20);
  --card: #FFFFFF;
  --card-shadow: 0 1px 1px rgba(20, 16, 40, .03), 0 14px 38px -10px rgba(46, 32, 102, .18);
  --store-bg: #17151C;
  --store-ink: #FFFFFF;

  /* the app, inside the device frames (the app's own tokens) */
  --app-bg: #FFFFFF;
  --app-ink: #17151C;
  --app-ink-2: #494653;
  --app-muted: #8C8898;
  --app-faint: #BDB9C8;
  --app-line: rgba(23, 21, 28, .065);
  --app-surface: #FFFFFF;
  --app-check: #333333;
  --app-chip: rgba(23, 21, 28, .045);
  --tagbtn: #E6DCEB;
  --warm: #C9784A;
  --t-inbox: #7657D0;  --tb-inbox: rgba(118, 87, 208, .12);
  --t-health: #5A9F80; --tb-health: rgba(90, 159, 128, .15);
  --t-work: #6A86D6;   --tb-work: rgba(106, 134, 214, .15);
  --t-personal: #C8739F; --tb-personal: rgba(200, 115, 159, .15);
  --t-home: #C79244;   --tb-home: rgba(199, 146, 68, .16);
  --tk-time: rgba(118, 87, 208, .14);  --tk-time-ink: #5B40B8;
  --tk-date: rgba(106, 134, 214, .15); --tk-date-ink: #3F5EB4;
  --tk-goal: rgba(200, 115, 159, .15); --tk-goal-ink: #9C3F6F;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-soft: #0B0A0F;
    --ink: #F2F0F7;
    --ink-2: #C3BFCC;
    --muted: #9A96A7;
    --faint: #55515E;
    --line: rgba(255, 255, 255, .09);
    --accent: #A68BF0;
    --accent-soft: rgba(166, 139, 240, .14);
    --grad: linear-gradient(96deg, #A68BF0 0%, #C7B6F5 55%, #9DB8F5 100%);
    --glow-1: rgba(120, 90, 220, .22);
    --glow-2: rgba(200, 110, 170, .12);
    --card: #121115;
    --card-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 20px 48px -12px rgba(0, 0, 0, .75);
    --store-bg: #F2F0F7;
    --store-ink: #0B0A0F;

    --app-bg: #000000;
    --app-ink: #F2F0F7;
    --app-ink-2: #C3BFCC;
    --app-muted: #8A8697;
    --app-faint: #55515E;
    --app-line: rgba(255, 255, 255, .06);
    --app-surface: #161618;
    --app-check: rgba(255, 255, 255, .78);
    --app-chip: rgba(255, 255, 255, .07);
    --tagbtn: #37323E;
    --warm: #E4966A;
    --t-inbox: #A68BF0;  --tb-inbox: rgba(166, 139, 240, .20);
    --t-health: #75C09E; --tb-health: rgba(117, 192, 158, .20);
    --t-work: #8FA6EA;   --tb-work: rgba(143, 166, 234, .20);
    --t-personal: #E194BC; --tb-personal: rgba(225, 148, 188, .20);
    --t-home: #DDB06E;   --tb-home: rgba(221, 176, 110, .20);
    --tk-time: rgba(166, 139, 240, .20); --tk-time-ink: #CDBDFA;
    --tk-date: rgba(143, 166, 234, .20); --tk-date-ink: #BCCBF5;
    --tk-goal: rgba(225, 148, 188, .20); --tk-goal-ink: #F2C0DA;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Cal Sans UI', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--accent-soft); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: min(1180px, 100% - 64px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 64px); margin-inline: auto; }
@media (max-width: 640px) {
  .wrap, .narrow { width: calc(100% - 32px); }
}
.center { text-align: center; }

/* ---------- type ---------- */
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.display {
  font-size: clamp(50px, 7.2vw, 100px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(34px, 5.2vw, 66px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.lead { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h2 .grad-text, .display .grad-text { display: inline-block; padding-bottom: .08em; }
.eyebrow + .h2, .eyebrow + .display { margin-top: 14px; }
.h2 + .lead { margin-top: 20px; }

/* ---------- reveal on scroll (only when JavaScript runs) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal][data-delay="1"] { transition-delay: .08s; }
.js [data-reveal][data-delay="2"] { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  transition: background-color .3s ease, -webkit-backdrop-filter .3s ease, backdrop-filter .3s ease;
}
/* on the home page the bar starts clear over the hero, and frosts once you scroll */
.js .home .nav:not(.scrolled) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav .wrap { height: 64px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; margin: -2px 0; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 26px; font-size: 15px; color: var(--ink-2); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.soon { height: 32px; padding: 0 14px; border-radius: 16px; display: inline-flex; align-items: center; background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 600; }
@media (max-width: 640px) {
  .nav-links { gap: 18px; font-size: 14.5px; }
  .nav-links .hide-sm { display: none; }
}

/* ---------- store pill (until the App Store badge goes live) ---------- */
.store {
  display: inline-flex; align-items: center; gap: 12px;
  height: 60px; padding: 0 24px 0 11px; border-radius: 30px;
  background: var(--store-bg); color: var(--store-ink);
  text-decoration: none;
  box-shadow: 0 12px 30px -10px rgba(46, 32, 102, .45);
}
.store img { width: 38px; height: 38px; border-radius: 10px; }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: 12px; opacity: .65; letter-spacing: .01em; }
.store b { font-size: 17px; font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.cta-note { font-size: 15px; color: var(--muted); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; margin-top: -64px; padding: 120px 0 104px; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(700px 520px at 78% 30%, var(--glow-1), transparent 70%),
    radial-gradient(600px 460px at 18% 0%, var(--glow-2), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: 40px; }
.hero-copy .lead { margin-top: 28px; max-width: 540px; }
.hero-copy .cta-row { margin-top: 40px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font-size: 15px; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 17px; height: 17px; color: var(--accent); flex: none; }
.hero-art { position: relative; display: flex; justify-content: center; min-height: 640px; }
.hero-art .sprig {
  position: absolute; z-index: 0; pointer-events: none;
  width: 900px; height: 900px; left: 40px; top: -372px;
}
.hero-art .phone-wrap { position: relative; z-index: 1; margin-top: 70px; }
@media (max-width: 960px) {
  .hero { padding-top: 92px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 8px; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-copy .cta-row, .trust { justify-content: center; }
  .hero-art { min-height: 0; margin-top: 12px; }
  .hero-art .sprig { width: 620px; height: 620px; left: 50%; top: -250px; margin-left: -210px; }
  .hero-art .phone-wrap { margin-top: 64px; }
}

/* ---------- sections ---------- */
section { position: relative; }
.band { padding: 128px 0; }
.band.soft { background: var(--bg-soft); }
@media (max-width: 640px) { .band { padding: 88px 0; } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 72px; }
.split.flip > :first-child { order: 2; }
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split.flip > :first-child { order: 0; }
  .split .copy { text-align: center; }
  .split .copy .lead { margin-inline: auto; }
}
.copy .lead { max-width: 520px; }
.ticks { list-style: none; margin-top: 28px; display: grid; gap: 12px; font-size: 17px; color: var(--ink-2); }
.ticks li { display: flex; align-items: flex-start; gap: 12px; }
.ticks li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 10px; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.4l2.6 2.6L14 7.4' fill='none' stroke='%237657D0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
@media (max-width: 960px) { .ticks { justify-content: center; text-align: left; width: fit-content; margin-inline: auto; } }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; text-decoration: none; }
.text-link::after { content: '→'; transition: transform .2s; }
.text-link:hover::after { transform: translateX(3px); }

/* ---------- the app's UI, drawn in HTML (1em = 1/34 of the phone's width) ---------- */
.phone-wrap { container-type: inline-size; width: min(340px, 80vw); }
.phone {
  position: relative; font-size: calc(100cqw / 34); width: 100%; aspect-ratio: 34 / 70;
  border-radius: 5.6em; padding: 1.05em;
  background: linear-gradient(145deg, #4a4a50 0%, #18181b 38%, #2c2c31 100%);
  box-shadow: inset 0 0 0 .12em rgba(255, 255, 255, .12), 0 4.4em 8em -2.6em rgba(46, 32, 102, .45), 0 1.6em 3em -1.6em rgba(0, 0, 0, .45);
}
.phone .scr { position: relative; width: 100%; height: 100%; border-radius: 4.6em; overflow: hidden; background: var(--app-bg); color: var(--app-ink); }
.island { position: absolute; left: 50%; top: 1.1em; width: 9.4em; height: 2.8em; margin-left: -4.7em; border-radius: 1.4em; background: #000; }
.sbar { position: absolute; left: 2.9em; right: 2.5em; top: 1.5em; display: flex; justify-content: space-between; align-items: center; line-height: 1; }
.sbar time { font-size: 1.45em; font-weight: 600; font-variant-numeric: tabular-nums; }
.sbar .icons { display: flex; gap: .45em; align-items: center; }
.sbar .icons svg { width: auto; height: 1.15em; }
.greet { position: absolute; left: 2.1em; top: 6.3em; display: flex; align-items: center; gap: 1.2em; line-height: 1; }
.greet b { font-size: 2.3em; font-weight: 600; letter-spacing: -.02em; }
.greet .bars { display: flex; align-items: center; gap: .28em; }
.greet .bars i { display: block; width: .24em; border-radius: .12em; opacity: .85; }
.tags { position: absolute; left: 2.1em; right: 1.6em; top: 10.2em; display: flex; gap: .55em; align-items: center; }
.tags .more { width: 2.4em; height: 2.4em; border-radius: .8em; background: var(--tagbtn); display: flex; align-items: center; justify-content: center; }
.tags .more i { width: .3em; height: .3em; border-radius: 50%; background: var(--app-ink-2); box-shadow: 0 -.55em 0 var(--app-ink-2), 0 .55em 0 var(--app-ink-2); }
.tag { height: 2.4em; padding: 0 .95em; border-radius: 1.2em; display: inline-flex; align-items: center; font-weight: 500; line-height: 1; white-space: nowrap; }
.tag span { font-size: 1.2em; }
.tag.inbox { color: var(--t-inbox); background: var(--tb-inbox); }
.tag.health { color: var(--t-health); background: var(--tb-health); }
.tag.work { color: var(--t-work); background: var(--tb-work); }
.tag.personal { color: var(--t-personal); background: var(--tb-personal); }
.strip { position: absolute; left: 2.1em; right: 1.9em; top: 13.6em; height: 3.8em; }
.strip .track { position: absolute; left: 0; right: 0; top: 0; height: 2.2em; border-radius: 1.1em; background: var(--app-chip); }
.strip .track i { position: absolute; top: .45em; height: 1.3em; border-radius: .4em; }
.strip .track i.up { opacity: .45; }
.strip .track b { position: absolute; top: -.4em; width: .2em; height: 3em; margin-left: -.1em; border-radius: .1em; background: var(--app-ink); }
.strip .axis span { position: absolute; top: 2.6em; width: 2em; margin-left: -1em; text-align: center; font-size: .95em; color: var(--app-muted); }
.today { position: absolute; left: 2.1em; right: 1.9em; top: 19.2em; }
.row { display: flex; align-items: center; gap: 1.1em; height: 3.6em; }
.row time { width: 4.3em; font-size: 1em; }
.row time span, .row .title span, .row .chip span { display: block; }
.row time span { font-size: 1.4em; font-weight: 500; font-variant-numeric: tabular-nums; }
.row time.late span { color: var(--warm); }
.box { flex: none; width: 1.6em; height: 1.6em; border-radius: .45em; box-shadow: inset 0 0 0 .15em var(--app-check); }
.lock { flex: none; width: 1.6em; height: 1.6em; color: var(--app-muted); }
.row .title { flex: 1; min-width: 0; }
.row .title span { font-size: 1.45em; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .title.fixed span { color: var(--app-ink-2); }
.chip { height: 1.9em; padding: 0 .6em; border-radius: .5em; background: var(--app-chip); display: inline-flex; align-items: center; color: var(--app-muted); }
.chip span { font-size: 1em; font-weight: 500; }
.conn { height: 1.8em; margin-left: 2.15em; border-left: .14em dotted var(--app-faint); }
.conn.short { height: .8em; }
.breeze { display: flex; align-items: center; gap: .6em; height: 2.8em; margin-left: 5.4em; color: var(--app-muted); }
.breeze svg { width: 1.3em; height: 1.3em; flex: none; }
.breeze { min-width: 0; }
.breeze span { font-size: 1.2em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.completed { margin-top: 2em; color: var(--app-faint); }
.completed span { font-size: 1.2em; font-weight: 500; }
.capture { position: absolute; left: 1.6em; right: 1.6em; bottom: 2.6em; height: 5em; border-radius: 2.5em; background: var(--app-surface); box-shadow: 0 .1em .1em rgba(20, 16, 40, .03), 0 1em 3em -.6em rgba(46, 32, 102, .2), inset 0 0 0 .1em rgba(118, 87, 208, .14); display: flex; align-items: center; gap: 1em; padding: 0 .6em 0 1.6em; }
.capture .ph { flex: 1; color: var(--app-faint); white-space: nowrap; overflow: hidden; }
.capture .ph span { font-size: 1.35em; }
.orb { position: relative; flex: none; width: 3.8em; height: 3.8em; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 35% 30%, #FFFFFF, #EEE8FB 55%, #DCCFF6); box-shadow: 0 .8em 1.8em -.4em rgba(118, 87, 208, .45), inset 0 0 0 .1em rgba(255, 255, 255, .9); }
.orb::before { content: ''; position: absolute; inset: 16%; border-radius: 50%; background: conic-gradient(#91C9FA, #8A9CF5, #B599E8, #DEABA8, #FACC94, #91C9FA); filter: blur(.45em); opacity: .8; }
.orb img { position: absolute; inset: 20%; width: 60%; height: 60%; }
.homebar { position: absolute; left: 50%; bottom: .8em; width: 12em; height: .45em; margin-left: -6em; border-radius: .3em; background: var(--app-ink); opacity: .9; }

/* ---------- "Just say it" ---------- */
.say-demo { margin: 64px auto 0; width: min(760px, 100%); container-type: inline-size; }
.say-demo .stage { font-size: calc(100cqw / 76); }
.say-chips { display: flex; justify-content: center; gap: .9em; height: 3.6em; align-items: center; }
.say-chips span { height: 2.2em; padding: 0 .9em; border-radius: 1.1em; display: inline-flex; align-items: center; font-size: 1.45em; font-weight: 500; background: var(--card); box-shadow: var(--card-shadow); white-space: nowrap; }
.say-chips .c-date { color: var(--tk-date-ink); background: var(--tk-date); box-shadow: none; }
.say-chips .c-time { color: var(--tk-time-ink); background: var(--tk-time); box-shadow: none; }
.say-chips .c-goal { color: var(--tk-goal-ink); background: var(--tk-goal); box-shadow: none; }
.say-bar { margin-top: 1.6em; height: 8.4em; border-radius: 4.2em; background: var(--card); box-shadow: var(--card-shadow), inset 0 0 0 .14em rgba(118, 87, 208, .16); display: flex; align-items: center; gap: 1.4em; padding: 0 1em 0 3em; }
.say-bar .typed { flex: 1; min-width: 0; text-align: left; font-size: 2.9em; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; }
.say-bar mark { background: none; border-radius: .25em; padding: 0 .06em; }
.say-bar mark.tk-date { color: var(--tk-date-ink); background: var(--tk-date); }
.say-bar mark.tk-time { color: var(--tk-time-ink); background: var(--tk-time); }
.say-bar mark.tk-goal { color: var(--tk-goal-ink); background: var(--tk-goal); }
.caret { display: inline-block; width: .08em; height: 1.05em; margin-left: .04em; vertical-align: -.16em; background: var(--accent); animation: blink 1.1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .caret { animation: none; } }
.say-bar .orb { width: 6.4em; height: 6.4em; }
.say-arrow { margin: 1.8em auto; width: 2.4em; height: 3.6em; color: var(--faint); }
.say-result { margin: 0 auto; width: min(54em, 100%); border-radius: 2.4em; background: var(--card); box-shadow: var(--card-shadow); padding: 1.6em 2.4em; display: flex; align-items: center; gap: 1.6em; text-align: left; }
.say-result .when { width: 7em; line-height: 1.15; }
.say-result .when b { display: block; font-size: 1.9em; font-weight: 600; font-variant-numeric: tabular-nums; }
.say-result .when small { display: block; font-size: 1.35em; color: var(--muted); }
.say-result .box { width: 2.4em; height: 2.4em; border-radius: .7em; box-shadow: inset 0 0 0 .2em var(--app-check); }
.say-result .what { flex: 1; font-size: 2.2em; font-weight: 500; }
.say-result .tag { font-size: 1.15em; }
.js .say-demo:not(.done) .say-chips span, .js .say-demo:not(.done) .say-result, .js .say-demo:not(.done) .say-arrow { opacity: 0; transform: translateY(.6em); }
.say-chips span, .say-result, .say-arrow { transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.say-chips span:nth-child(2) { transition-delay: .08s; }
.say-chips span:nth-child(3) { transition-delay: .16s; }
.say-chips span:nth-child(4) { transition-delay: .24s; }
.say-arrow { transition-delay: .3s; }
.say-result { transition-delay: .45s; }

/* ---------- planning ---------- */
.plan-art { container-type: inline-size; width: min(560px, 100%); margin-inline: auto; }
.plan-art .stage { position: relative; font-size: calc(100cqw / 56); padding-bottom: 23em; }
.tl { border-radius: 2.6em; background: var(--card); box-shadow: var(--card-shadow); padding: 2.4em 2.4em 2em; }
.tl-head { display: flex; justify-content: space-between; align-items: baseline; }
.tl-head b { font-size: 2.2em; font-weight: 600; letter-spacing: -.02em; }
.tl-head span { font-size: 1.35em; color: var(--muted); }
.tl-grid { position: relative; margin-top: 1.8em; height: 40em; }
.tl-hour { position: absolute; left: 0; right: 0; height: 0; border-top: .1em solid var(--line); }
.tl-hour span { position: absolute; left: 0; top: -.75em; width: 4.4em; font-size: 1.2em; color: var(--muted); font-variant-numeric: tabular-nums; background: var(--card); }
.blk { position: absolute; left: 6.2em; right: 0; border-radius: 1em; padding: 0 1.1em; display: flex; align-items: center; gap: .8em; overflow: hidden; }
.blk b { font-size: 1.4em; font-weight: 600; white-space: nowrap; }
.blk small { font-size: 1.2em; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.blk.cal { background: var(--tb-work); box-shadow: inset .3em 0 0 var(--t-work); }
.blk.cal svg { width: 1.3em; height: 1.3em; align-self: center; color: var(--t-work); flex: none; }
.blk.health { background: var(--tb-health); box-shadow: inset .3em 0 0 var(--t-health); }
.blk.personal { background: var(--tb-personal); box-shadow: inset .3em 0 0 var(--t-personal); }
.blk.ghost { background: var(--accent-soft); box-shadow: inset 0 0 0 .14em rgba(118, 87, 208, .45); color: var(--accent); }
.blk.ghost small { color: var(--accent); opacity: .8; }
.now { position: absolute; left: 4.6em; right: 0; height: .2em; background: var(--warm); }
.now::before { content: ''; position: absolute; left: -.5em; top: -.4em; width: 1em; height: 1em; border-radius: 50%; background: var(--warm); }
.ai-card {
  position: absolute; left: -3em; bottom: 0; width: 36em;
  border-radius: 2.6em; padding: 2.2em 2.4em;
  background: linear-gradient(160deg, #1D1A2A, #0F0D16); color: #F2F0F7;
  box-shadow: 0 0 0 .12em rgba(166, 139, 240, .35), 0 2.4em 5em -1.4em rgba(46, 32, 102, .55), 0 0 6em -1em rgba(118, 87, 208, .35);
}
.ai-card .ai-head { display: flex; align-items: center; gap: .8em; font-size: 1.3em; color: #C7B6F5; }
.ai-card .ai-head i { width: .7em; height: .7em; border-radius: 50%; background: #A68BF0; box-shadow: 0 0 .8em #A68BF0; }
.ai-card p { margin-top: .8em; font-size: 1.55em; line-height: 1.4; }
.ai-card ul { list-style: none; margin-top: 1em; }
.ai-card li { display: flex; align-items: center; gap: 1em; height: 2.6em; }
.ai-card li time { width: 4em; font-size: 1.4em; color: #C7B6F5; font-variant-numeric: tabular-nums; }
.ai-card li i { width: .5em; height: .5em; border-radius: 50%; background: rgba(242, 240, 247, .5); }
.ai-card li span { flex: 1; font-size: 1.45em; }
.ai-card li small { font-size: 1.25em; color: rgba(242, 240, 247, .55); }
.ai-card .ai-actions { display: flex; gap: .8em; margin-top: 1.4em; }
.ai-card .ai-actions span { height: 2.4em; padding: 0 1.1em; border-radius: 1.2em; display: inline-flex; align-items: center; font-size: 1.35em; font-weight: 600; }
.ai-card .ai-actions .apply { background: #F2F0F7; color: #17151C; }
.ai-card .ai-actions .later { background: rgba(255, 255, 255, .1); }

/* ---------- privacy (always dark) ---------- */
.private { background: #07060A; color: #F2F0F7; overflow: hidden; }
.private::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(640px 420px at 50% 12%, rgba(120, 90, 220, .30), transparent 70%), radial-gradient(520px 380px at 80% 90%, rgba(200, 110, 170, .12), transparent 70%); }
.private .wrap { position: relative; }
.private .eyebrow { color: #C7B6F5; }
.private .lead { color: #C3BFCC; margin-inline: auto; max-width: 640px; }
.private .grad-text { background: linear-gradient(96deg, #A68BF0 0%, #C7B6F5 55%, #9DB8F5 100%); -webkit-background-clip: text; background-clip: text; }
.ring { position: relative; width: min(340px, 72vw); aspect-ratio: 1; margin: 0 auto 44px; }
.ring .core { position: absolute; inset: 30%; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; background: radial-gradient(circle at 50% 35%, rgba(166, 139, 240, .22), rgba(10, 9, 14, .2) 70%); }
.ring .core svg { width: 34%; height: auto; color: #E9E3FF; }
.ring .core span { font-size: 14px; font-weight: 600; color: #C7B6F5; letter-spacing: .02em; }
.facts { margin: 72px auto 0; max-width: 1040px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; text-align: left; }
.fact svg { width: 30px; height: 30px; color: #C7B6F5; }
.fact h3 { margin-top: 18px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.fact p { margin-top: 8px; font-size: 16px; line-height: 1.5; color: #A9A5B6; }
.private .text-link { margin-top: 56px; color: #C7B6F5; }
@media (max-width: 960px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ai-card { left: 2em; } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Apple Watch (1em = 1/28 of a watch's width) ---------- */
.watches { display: flex; justify-content: center; gap: clamp(16px, 4vw, 48px); }
.watch-wrap { container-type: inline-size; width: min(240px, 42vw); }
.watch { position: relative; font-size: calc(100cqw / 28); width: 100%; aspect-ratio: 28 / 42; }
.watch .band { position: absolute; left: 6.2em; width: 15.6em; background: linear-gradient(90deg, #1c1b22, #2b2933 50%, #1c1b22); }
.watch .band.t { top: 0; height: 9.6em; border-radius: 2.4em 2.4em .6em .6em; }
.watch .band.b { bottom: 0; height: 9.6em; border-radius: .6em .6em 2.4em 2.4em; }
.watch .case { position: absolute; left: 2.2em; top: 7.2em; width: 23.6em; height: 27.6em; border-radius: 6.4em; background: linear-gradient(150deg, #5a5961, #1d1c22 45%, #2c2b32); box-shadow: 0 3em 5em -1.8em rgba(40, 30, 80, .5), inset 0 0 0 .1em rgba(255, 255, 255, .1); }
.watch .crown { position: absolute; right: .8em; top: 12.8em; width: 1.2em; height: 3.8em; border-radius: .5em; background: linear-gradient(90deg, #3a3940, #6b6a72 60%, #2a2930); }
.watch .side { position: absolute; right: 1.3em; top: 19em; width: .7em; height: 5.2em; border-radius: .3em; background: linear-gradient(90deg, #2a2930, #55545c); }
.watch .bezel { position: absolute; left: .8em; top: .8em; width: 22em; height: 26em; border-radius: 5.6em; background: #000; }
.watch .disp { position: absolute; left: .6em; top: .6em; width: 20.8em; height: 24.8em; border-radius: 5em; overflow: hidden; background: #000; color: #F2F0F7; }
.watch .disp > * { position: absolute; }
.w-title { left: 1.8em; top: 1em; color: #C7B6F5; }
.w-clock { right: 1.8em; top: 1em; font-variant-numeric: tabular-nums; }
.w-title span, .w-clock span { font-size: 1.5em; font-weight: 600; }
.w-strip { left: 1.2em; top: 3.8em; width: 18.4em; height: 2.2em; border-radius: 1.1em; background: rgba(255, 255, 255, .07); }
.w-strip i { position: absolute; top: .4em; height: 1.4em; border-radius: .44em; }
.w-strip .nowl { top: -.4em; width: .2em; height: 3em; border-radius: .1em; background: #fff; }
.w-axis { left: 1.2em; top: 6.3em; width: 18.4em; height: 1em; }
.w-axis span { position: absolute; top: 0; width: 2em; margin-left: -1em; text-align: center; font-size: .85em; color: rgba(242, 240, 247, .36); }
.w-now { left: 1.4em; right: 1.4em; top: 8.4em; }
.w-now .cap { display: flex; justify-content: space-between; align-items: baseline; }
.w-now .cap b { font-size: .9em; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #E4966A; }
.w-now .cap span { font-size: 1.1em; color: rgba(242, 240, 247, .55); }
.w-now .name { margin-top: .3em; font-size: 1.8em; font-weight: 600; line-height: 1.1; white-space: nowrap; }
.w-now .prog { position: relative; margin-top: .8em; height: .5em; border-radius: .25em; background: rgba(255, 255, 255, .1); }
.w-now .prog i { position: absolute; left: 0; top: 0; bottom: 0; width: 17%; border-radius: .25em; background: #E194BC; }
.w-next { left: 1.4em; right: 1.4em; top: 14.9em; display: flex; align-items: center; gap: .6em; white-space: nowrap; }
.w-next b { font-size: .9em; letter-spacing: .1em; text-transform: uppercase; color: rgba(242, 240, 247, .36); font-weight: 600; }
.w-next span { font-size: 1.2em; font-weight: 500; }
.w-next svg { width: .9em; height: .9em; color: rgba(242, 240, 247, .55); }
.w-btn { width: 4.4em; height: 4.4em; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: radial-gradient(120% 90% at 30% 15%, rgba(255, 255, 255, .26), rgba(255, 255, 255, .08) 45%, rgba(255, 255, 255, .05)); box-shadow: inset 0 .1em 0 rgba(255, 255, 255, .35), inset 0 0 0 .06em rgba(255, 255, 255, .18), 0 .6em 1.4em rgba(0, 0, 0, .45); }
.w-btn.tint { background: radial-gradient(120% 90% at 30% 15%, rgba(214, 198, 255, .5), rgba(150, 120, 230, .32) 45%, rgba(120, 90, 210, .26)); box-shadow: inset 0 .1em 0 rgba(255, 255, 255, .45), inset 0 0 0 .06em rgba(220, 205, 255, .35), 0 .8em 1.8em rgba(80, 50, 180, .35); }
.w-btn svg { width: 1.9em; height: 1.9em; }
.w-btn.l { left: 1.2em; top: 19.4em; } .w-btn.r { right: 1.2em; top: 19.4em; }
.w-count { left: 0; right: 0; top: 20.8em; text-align: center; color: rgba(242, 240, 247, .55); }
.w-count span { font-size: 1.1em; font-weight: 500; }
.w-x { left: 1.2em; top: .8em; width: 3em; height: 3em; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .14); }
.w-x svg { width: 1.2em; height: 1.2em; }
.w-label { left: 0; right: 0; top: 4.4em; text-align: center; color: rgba(242, 240, 247, .55); }
.w-label span { font-size: .9em; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.w-wave { left: 0; right: 0; top: 6.2em; height: 3.6em; display: flex; align-items: center; justify-content: center; gap: .3em; }
.w-wave i { width: .4em; border-radius: .2em; }
.w-said { left: 1.2em; right: 1.2em; top: 10.6em; text-align: center; }
.w-said span { font-size: 1.5em; font-weight: 500; line-height: 1.25; }
.w-said mark { background: rgba(117, 192, 158, .2); color: #75C09E; border-radius: .3em; padding: 0 .2em; white-space: nowrap; }
.w-chips { left: 0; right: 0; top: 15.6em; display: flex; justify-content: center; gap: .5em; }
.w-chips span { height: 1.9em; padding: 0 .7em; border-radius: 1em; display: inline-flex; align-items: center; }
.w-chips span b { font-size: 1.05em; font-weight: 600; }
.w-add { left: 1.4em; right: 1.4em; top: 20em; height: 3.8em; border-radius: 1.9em; display: flex; align-items: center; justify-content: center; gap: .5em; }
.w-add b { font-size: 1.4em; font-weight: 600; }
.watch-cap { margin-top: 18px; text-align: center; font-size: 15px; color: var(--muted); }

/* ---------- iPhone Duo ---------- */
.duo-art { margin: 40px auto 0; width: min(1080px, 100%); }
.duo-art img { width: 100%; height: auto; }

/* ---------- maker ---------- */
.maker { padding: 120px 0; }
.maker p.quote { margin-top: 18px; font-size: clamp(24px, 2.7vw, 34px); line-height: 1.3; letter-spacing: -.02em; font-weight: 500; text-wrap: balance; }
.maker p.quote em { font-style: normal; color: var(--accent); }
.maker p.by { margin-top: 20px; font-size: 16px; color: var(--muted); }

/* ---------- closing ---------- */
.final { position: relative; overflow: hidden; padding: 120px 0 132px; background: var(--bg-soft); }
.final .sprig-sm { width: 320px; height: 320px; margin: -56px auto -40px; }
.final .cta-row { justify-content: center; margin-top: 36px; }
.final .contact { margin-top: 26px; font-size: 16px; color: var(--muted); }
.final .contact a { color: var(--ink); text-decoration-color: var(--faint); text-underline-offset: 3px; }

/* ---------- footer ---------- */
.foot { padding: 56px 0 64px; font-size: 14.5px; color: var(--muted); }
.foot .top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.foot nav a { text-decoration: none; color: var(--ink-2); }
.foot nav a:hover { color: var(--ink); }
.foot .legal { margin-top: 26px; line-height: 1.6; }

/* ---------- phone width: the demos read at a comfortable size ---------- */
@media (max-width: 640px) {
  .say-demo .stage { font-size: calc(100cqw / 50); }
  .say-chips span { font-size: 1.8em; }
  .say-bar { height: auto; padding: 1.5em 1em 1.5em 2.4em; border-radius: 3.4em; }
  .say-bar .typed { white-space: normal; line-height: 1.32; font-size: 2.7em; }
  .say-bar .orb { width: 5.6em; height: 5.6em; }
  .say-result { padding: 1.4em 1.8em; }
  .plan-art .stage { font-size: calc(100cqw / 48); }
}

/* ---------- documents: privacy, terms, support ---------- */
.doc-head { padding: 72px 0 8px; }
.doc-head h1 { margin-top: 14px; font-size: clamp(42px, 5.4vw, 64px); font-weight: 600; letter-spacing: -.035em; line-height: 1.04; }
.doc-head .updated { margin-top: 16px; font-size: 15px; color: var(--muted); }
.prose { padding: 32px 0 112px; color: var(--ink-2); }
.prose .intro { font-size: 21px; line-height: 1.6; color: var(--ink); padding-bottom: 40px; margin-bottom: 8px; border-bottom: 1px solid var(--line); text-wrap: pretty; }
.prose h2 { margin-top: 52px; font-size: 22px; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
.prose p { margin-top: 14px; font-size: 17.5px; line-height: 1.72; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { list-style: none; margin-top: 14px; display: grid; gap: 12px; }
.prose li { position: relative; padding-left: 24px; font-size: 17.5px; line-height: 1.72; }
.prose li::before { content: ''; position: absolute; left: 3px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: .75; }
.prose a { color: var(--accent); text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); text-underline-offset: 3px; }
.prose .help { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 26px; background: var(--ink); color: var(--bg); font-weight: 600; text-decoration: none; font-size: 16.5px; }

/* ---------- 404 ---------- */
.lost { min-height: 72vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 48px 16px 96px; }
.lost .sprig-sm { width: 280px; height: 280px; margin-bottom: -10px; }
.lost h1 { font-size: clamp(40px, 5vw, 60px); font-weight: 600; letter-spacing: -.035em; }
.lost p { margin-top: 14px; font-size: 18px; color: var(--ink-2); }
.lost .text-link { margin-top: 28px; }

/* ---------- the 3D devices (round 2) ----------
   One canvas behind the page draws the iPhone and the Apple Watch (scene.js). It sits under the text (.wrap) and over
   the section backgrounds. Each .stage marks where a device sits; without WebGL, or with Reduce Motion on, the
   stage shows a still picture instead. */
canvas.scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.wrap, .narrow { position: relative; z-index: 2; }
.brand img { width: 40px; height: 40px; margin: -5px -6px -5px -6px; border-radius: 0; box-shadow: none; }

.stage[data-dev] { position: relative; margin-inline: auto; touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.has-3d .stage[data-dev] { cursor: grab; }
.has-3d .stage[data-dev].grabbing { cursor: grabbing; }
.stage.is-phone { width: min(290px, 60vw); aspect-ratio: 719 / 1500; }
.stage.is-watch { width: min(240px, 48vw); aspect-ratio: 39 / 46; margin-block: clamp(84px, 12vw, 140px); }
.still { position: absolute; inset: 0; }
.has-3d .stage .still { visibility: hidden; }
.phone-still { border-radius: 16.4% / 7.9%; padding: 3.8%; background: linear-gradient(145deg, #E4DBF6, #B9ACD8 50%, #D8CEEF); box-shadow: 0 40px 80px -30px rgba(46, 32, 102, .5), inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.phone-still picture, .phone-still img { display: block; width: 100%; height: 100%; }
.phone-still img { border-radius: 13.9% / 6.4%; object-fit: cover; background: #000; }
.watch-still { border-radius: 27% / 23%; padding: 5.5%; background: linear-gradient(150deg, #F2F2F5, #BDBDC5 50%, #E5E5EA); box-shadow: 0 30px 60px -24px rgba(46, 32, 102, .45); }
.watch-still img { width: 100%; height: 100%; border-radius: 24% / 20%; background: #000; }
.art { display: flex; flex-direction: column; align-items: center; }
.hint3d { display: none; }
.has-3d .hint3d {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; height: 34px; padding: 0 15px; border-radius: 17px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  background: color-mix(in srgb, var(--bg) 66%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--line);
}
.hint3d svg { width: 16px; height: 16px; flex: none; }

/* hero: the words on the left, the phone standing on the right */
.hero { min-height: min(100vh, 1000px); display: flex; align-items: center; padding: 104px 0 72px; }
.hero-art { min-height: 0; flex-direction: column; align-items: center; }
.hero .stage.is-phone { width: clamp(250px, 33vh, 372px); }

/* capture: the example sits under the words */
.split .say-demo { margin: 44px 0 0; width: 100%; }

/* privacy: the phone, in Airplane Mode, above the title */
.private .stage.is-phone { width: min(220px, 50vw); margin-bottom: 60px; }
.private::after { content: ''; position: absolute; left: 50%; top: 40px; width: 720px; height: 720px; margin-left: -360px; pointer-events: none; background: radial-gradient(closest-side, rgba(150, 120, 240, .26), transparent); }

/* closing: the two together */
.final .pair { display: flex; justify-content: center; align-items: center; gap: clamp(48px, 9vw, 140px); margin: 8px 0 44px; }
.final .pair .stage { margin: 0; }
.final .pair .stage.is-phone { width: min(240px, 42vw); }
.final .pair .stage.is-watch { width: min(165px, 30vw); }

@media (max-width: 960px) {
  .hero { min-height: 0; padding-top: 96px; }
  .hero .stage.is-phone { width: min(300px, 62vw); margin-top: 36px; }
  .split .say-demo { margin-inline: auto; }
}
.js .home .nav.on-dark { background: color-mix(in srgb, #07060A 72%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); color: #F2F0F7; }
.nav.on-dark .nav-links { color: #C3BFCC; }
.nav.on-dark .nav-links a:hover { color: #FFFFFF; }
.nav.on-dark .soon { background: rgba(166, 139, 240, .16); color: #C7B6F5; }
