/* OwnMemory site — Aurora: light ground, drifting pastel aurora, frosted glass, ink type, pearl orb. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --ground: #F6F7FB;
  --ink: #0B1020;
  --ink-2: #4A5168;
  --ink-3: #6B7290;
  --accent: #2F6BFF;
  --accent-text: #2049AD;
  --coral: #FF5B3A;
  --coral-text: #C23A1E;
  --sky: #9CC3FF;
  --lilac: #C9B8FF;
  --peach: #FFD3C2;
  --space-work: #4C7DFF;
  --space-personal: #FF8A6B;
  --space-ideas: #9B7BFF;
  --glass: rgba(255, 255, 255, 0.64);
  --glass-strong: rgba(255, 255, 255, 0.86);
  --glass-line: rgba(255, 255, 255, 0.85);
  --hairline: rgba(11, 16, 32, 0.08);
  --shadow: 0 1px 0 rgba(11, 16, 32, 0.03), 0 24px 60px -28px rgba(37, 44, 110, 0.32);
  --shadow-lg: 0 2px 0 rgba(11, 16, 32, 0.03), 0 40px 90px -36px rgba(37, 44, 110, 0.45);
  --blob-opacity: 0.85;
  --button-bg: #0B1020;
  --button-fg: #FFFFFF;
  --band-bg: #0B1020;
  --band-fg: #F6F7FB;
  --band-fg-2: #B7BDD4;
  --radius-xl: 32px;
  --radius-l: 24px;
  --radius-m: 16px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ground: #0B1020;
    --ink: #F3F5FC;
    --ink-2: #B7BDD4;
    --ink-3: #8F96B2;
    --accent-text: #8FB0FF;
    --coral-text: #FF8F75;
    --glass: rgba(28, 35, 56, 0.62);
    --glass-strong: rgba(28, 35, 56, 0.9);
    --glass-line: rgba(255, 255, 255, 0.1);
    --hairline: rgba(255, 255, 255, 0.1);
    --shadow: 0 1px 0 rgba(255, 255, 255, 0.03), 0 24px 60px -28px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 40px 90px -36px rgba(0, 0, 0, 0.8);
    --blob-opacity: 0.32;
    --button-bg: #F3F5FC;
    --button-fg: #0B1020;
    --band-bg: #151B30;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; letter-spacing: -0.035em; line-height: 1.05; font-weight: 800; }
/* Plus Jakarta Sans sets wide space before . and , — pull them in at display sizes. */
.pt { margin-left: -0.11em; }
p { margin: 0; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--button-bg); color: var(--button-fg); padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 16px; }

/* Aurora ground */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: var(--blob-opacity); will-change: transform; }
.aurora .b1 { width: 62vmax; height: 62vmax; left: -18vmax; top: -24vmax; background: var(--sky); animation: drift1 26s ease-in-out infinite alternate; }
.aurora .b2 { width: 54vmax; height: 54vmax; right: -20vmax; top: 6vmax; background: var(--lilac); animation: drift2 32s ease-in-out infinite alternate; }
.aurora .b3 { width: 58vmax; height: 58vmax; left: 10vmax; bottom: -34vmax; background: var(--peach); animation: drift3 38s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(8vmax, 6vmax) scale(1.08); } }
@keyframes drift2 { to { transform: translate(-10vmax, 8vmax) scale(0.94); } }
@keyframes drift3 { to { transform: translate(6vmax, -8vmax) scale(1.06); } }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow);
}

/* Navigation */
.nav { position: sticky; top: 12px; z-index: 50; margin-top: 12px; }
.nav__bar { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; border-radius: 999px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.03em; }
.brand img { width: 30px; height: 30px; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav__links a:hover { color: var(--ink); background: var(--hairline); }
.lang { color: var(--ink-2); font-weight: 700; font-size: 14px; text-decoration: none; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--hairline); }
.lang:hover { color: var(--ink); }
@media (max-width: 760px) {
  .nav__links { display: none; }
  .lang { margin-left: auto; }
}
@media (max-width: 420px) {
  .nav .btn { display: none; }
}

/* Buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; border: 0; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.btn--ink { background: var(--button-bg); color: var(--button-fg); box-shadow: 0 10px 30px -12px rgba(11, 16, 32, 0.6); }
.btn--ink:hover { color: var(--button-fg); transform: translateY(-1px); box-shadow: 0 16px 36px -14px rgba(11, 16, 32, 0.7); }
.btn--ghost { color: var(--ink); background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.btn--ghost:hover { color: var(--ink); background: var(--glass-strong); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero { padding-block: clamp(48px, 9vw, 110px) clamp(56px, 8vw, 96px); }
.hero__grid { display: grid; gap: clamp(48px, 6vw, 72px); align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.08fr 0.92fr; } }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(255, 91, 58, 0.6); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 91, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 91, 58, 0); } }
.hero h1 { font-size: clamp(42px, 5.8vw, 76px); margin: 22px 0 22px; }
.shine { background: linear-gradient(100deg, #2F6BFF 0%, #7B5CFF 48%, #E5482B 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-color-scheme: dark) { .shine { background-image: linear-gradient(100deg, #8FB0FF 0%, #C9B8FF 48%, #FF9A80 100%); } }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 15px; font-weight: 600; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks svg { width: 18px; height: 18px; color: var(--accent); }

/* Stage: orb + phone + floating cards */
.stage { position: relative; display: grid; place-items: center; min-height: 680px; }
.stage .orb-wrap { position: absolute; width: min(560px, 118%); top: 50%; left: 50%; transform: translate(-50%, -54%); }
.stage__caption { position: absolute; bottom: -6px; left: 0; right: 0; text-align: center; font-size: 12px; font-weight: 600; color: var(--ink-3); }

.orb-wrap { position: relative; aspect-ratio: 1; }
.orb-wrap::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: -5%; height: 9%; border-radius: 50%; background: #7A6BE0; opacity: 0.32; filter: blur(26px); }
.orb { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; isolation: isolate; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.75); }
.orb__swirl { position: absolute; inset: -18%; background: conic-gradient(from 200deg, #9CC3FF, #BFD6FF, #C9B8FF, #E6DDFF, #FFD3C2, #FFE6DC, #FFFFFF, #B5CCFF, #C9B8FF, #FFC9B8, #FFF1EA, #A9C8FF, #9CC3FF); filter: blur(34px); animation: spin 28s linear infinite; }
.orb__shade { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.85) 0, rgba(255, 255, 255, 0) 32%), radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0) 55%, rgba(91, 79, 201, 0.36) 100%); }
@keyframes spin { to { transform: rotate(360deg); } }

.phone { position: relative; z-index: 2; width: min(300px, 78vw); border-radius: 50px; padding: 10px; background: #0B1020; box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, 0.12); }
.phone__screen { border-radius: 40px; overflow: hidden; background: #F6F7FB; color: #0B1020; padding: 46px 16px 18px; position: relative; height: 580px; display: flex; flex-direction: column; gap: 12px; }
.phone__screen::before { content: ""; position: absolute; z-index: 2; top: 12px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 999px; background: #0B1020; }
.phone__screen::after { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(circle at 10% 0%, rgba(156, 195, 255, 0.7), rgba(156, 195, 255, 0) 55%), radial-gradient(circle at 100% 30%, rgba(201, 184, 255, 0.55), rgba(201, 184, 255, 0) 55%), radial-gradient(circle at 40% 110%, rgba(255, 211, 194, 0.8), rgba(255, 211, 194, 0) 60%); }
.phone__screen > * { position: relative; z-index: 1; }
.app-title { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.app-title .mini-orb { width: 22px; height: 22px; }
.bubble-q { align-self: flex-end; max-width: 86%; background: #0B1020; color: #FFFFFF; padding: 10px 14px; border-radius: 20px 20px 6px 20px; font-size: 13.5px; line-height: 1.45; font-weight: 600; }
.answer { background: rgba(255, 255, 255, 0.82); border: 1px solid rgba(255, 255, 255, 0.95); border-radius: 22px; padding: 14px; font-size: 13.5px; line-height: 1.5; box-shadow: 0 12px 30px -18px rgba(37, 44, 110, 0.4); }
.answer p + p { margin-top: 8px; }
.cite { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 2px; border-radius: 6px; background: rgba(47, 107, 255, 0.14); color: #2049AD; font-size: 11px; font-weight: 800; vertical-align: 1px; }
.source { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px; border-radius: 14px; background: rgba(47, 107, 255, 0.07); }
.source__play { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #2F6BFF; color: #FFFFFF; }
.source__play svg { width: 13px; height: 13px; }
.source__meta { font-size: 11.5px; line-height: 1.35; color: #4A5168; font-weight: 600; }
.source__meta b { display: block; color: #0B1020; font-size: 12.5px; }
.wave { display: flex; align-items: center; gap: 2px; height: 22px; margin-left: auto; }
.wave i { display: block; width: 3px; border-radius: 2px; background: rgba(47, 107, 255, 0.45); }
.wave i.on { background: #2F6BFF; }
.ask-field { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); border: 1px solid rgba(255, 255, 255, 1); font-size: 13px; color: #6B7290; font-weight: 600; box-shadow: 0 0 0 2px rgba(124, 108, 255, 0.25); }
.ask-field > span:first-child { flex: 1; }
.ask-field .send { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #0B1020; color: #FFFFFF; display: grid; place-items: center; }
.ask-field .send svg { width: 14px; height: 14px; }

.float { position: absolute; z-index: 3; border-radius: 18px; padding: 10px 14px; font-size: 13px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 10px; animation: bob 7s ease-in-out infinite; }
.float small { display: block; font-size: 11px; color: var(--ink-3); font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; }
.float .ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float .ico svg { width: 17px; height: 17px; }
.float--task { top: 0; left: -4%; }
.float--task .ico { background: rgba(255, 91, 58, 0.14); color: var(--coral-text); }
.float--decision { bottom: 25%; right: -6%; animation-delay: -3.5s; }
.float--decision .ico { background: rgba(47, 107, 255, 0.14); color: var(--accent-text); }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (max-width: 520px) {
  .float--task { left: 0; top: 0; }
  .float--decision { right: 0; bottom: 24%; }
  .stage { min-height: 660px; }
}

/* Sections */
.section { padding-block: clamp(64px, 10vw, 128px); }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; }
.section h2 { font-size: clamp(34px, 5vw, 60px); }
.section__head p { margin-top: 18px; font-size: clamp(17px, 1.8vw, 20px); color: var(--ink-2); }

/* Steps */
.steps { display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 880px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { border-radius: var(--radius-xl); padding: 28px; position: relative; }
.step__ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; color: #FFFFFF; margin-bottom: 22px; }
.step__ico svg { width: 26px; height: 26px; }
.step:nth-child(1) .step__ico { background: linear-gradient(140deg, #FF7A5C, #FF5B3A); }
.step:nth-child(2) .step__ico { background: linear-gradient(140deg, #A88BFF, #7B5CFF); }
.step:nth-child(3) .step__ico { background: linear-gradient(140deg, #5B8BFF, #2F6BFF); }
.step__num { position: absolute; top: 24px; right: 28px; font-size: 15px; font-weight: 800; color: var(--ink-3); }
.step h3 { font-size: 26px; margin-bottom: 10px; }
.step p { color: var(--ink-2); }
.formats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; padding: 0; list-style: none; }
.formats li { font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--hairline); color: var(--ink-2); }

/* Bento */
.bento { display: grid; gap: 20px; }
@media (min-width: 880px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tile--wide { grid-column: span 4; }
  .tile--half { grid-column: span 3; }
  .tile--third { grid-column: span 2; }
}
.tile { border-radius: var(--radius-xl); padding: 28px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; position: relative; }
.tile h3 { font-size: clamp(24px, 2.4vw, 30px); }
.tile p { color: var(--ink-2); }
.tile__visual { margin-top: auto; padding-top: 18px; }

.claims { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.claims li { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--glass-strong); font-size: 15px; font-weight: 600; }
.claims svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.claims .ok svg { color: #1E9E63; }
.claims .no { color: var(--ink-3); }
.claims .no span { text-decoration: line-through; text-decoration-thickness: 2px; }
.claims .no svg { color: var(--coral-text); }
.claims em { font-style: normal; font-size: 13px; font-weight: 600; margin-left: auto; white-space: nowrap; }
@media (max-width: 560px) { .claims li { flex-wrap: wrap; } .claims em { flex-basis: 100%; margin-left: 30px; } }

.player { border-radius: 18px; background: var(--glass-strong); padding: 14px; display: flex; align-items: center; gap: 12px; }
.player .source__play { width: 40px; height: 40px; }
.player .wave { height: 36px; flex: 1; gap: 3px; }
.player .wave i { width: 4px; }
.player time { font-size: 13px; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }

.todo { display: grid; gap: 8px; }
.todo div { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--glass-strong); font-size: 14.5px; font-weight: 600; }
.todo .box { width: 20px; height: 20px; border-radius: 7px; border: 2px solid var(--ink-3); flex: none; }
.todo .due { margin-left: auto; font-size: 12px; font-weight: 800; color: var(--coral-text); white-space: nowrap; }
.todo .due--soft { color: var(--ink-3); }

.langs { display: flex; gap: 10px; flex-wrap: wrap; }
.langs span { font-size: 15px; font-weight: 700; padding: 10px 16px; border-radius: 14px; background: var(--glass-strong); }
.spaces { display: flex; gap: 8px; flex-wrap: wrap; }
.spaces span { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; padding: 9px 14px; border-radius: 999px; background: var(--glass-strong); }
.spaces i { width: 10px; height: 10px; border-radius: 50%; }
.docs { display: flex; gap: 10px; }
.docs span { width: 56px; height: 68px; border-radius: 10px 18px 10px 10px; background: var(--glass-strong); display: grid; place-items: end center; padding-bottom: 8px; font-size: 11px; font-weight: 800; color: var(--ink-2); border: 1px solid var(--hairline); }

/* Dark band (who it's for) */
.band { background: var(--band-bg); color: var(--band-fg); border-radius: clamp(28px, 4vw, 48px); padding: clamp(40px, 6vw, 80px) clamp(22px, 5vw, 72px); position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -20%; top: -40%; border-radius: 50%; background: radial-gradient(circle, rgba(124, 108, 255, 0.45), rgba(124, 108, 255, 0) 65%); pointer-events: none; }
.band > * { position: relative; }
.band .eyebrow { color: #A9C4FF; }
.band h2 { color: #FFFFFF; }
.band .section__head p { color: var(--band-fg-2); }
.band .section__head { margin-bottom: 36px; }

/* Life areas: a tabbed scenario switcher on the dark band */
.life { display: grid; gap: 22px; }
.life__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.life__tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.06); color: var(--band-fg-2); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; position: relative; overflow: hidden; transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease; }
.life__tab svg { width: 18px; height: 18px; }
.life__tab:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.1); }
.life__tab[aria-selected="true"] { background: #FFFFFF; color: #0B1020; border-color: #FFFFFF; }
.life__tab[aria-selected="true"] svg { color: var(--tab-c, #2F6BFF); }
.life__tab::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--tab-c, #2F6BFF); transform: scaleX(0); transform-origin: 0 50%; }
.life.is-auto .life__tab[aria-selected="true"]::after { animation: tab-timer var(--life-ms, 6000ms) linear forwards; }
@keyframes tab-timer { to { transform: scaleX(1); } }
.life__panel { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .life__panel { grid-template-columns: 0.9fr 1.1fr; gap: 48px; } }
.life__panel[hidden] { display: none; }
.life__copy h3 { color: #FFFFFF; font-size: clamp(28px, 3.4vw, 42px); }
.life__copy p { margin-top: 12px; color: var(--band-fg-2); font-size: 18px; max-width: 30em; }
.life__chat { display: grid; gap: 10px; padding: 22px; border-radius: 28px; color: #0B1020; background: radial-gradient(circle at 10% 0%, rgba(156, 195, 255, 0.75), rgba(156, 195, 255, 0) 55%), radial-gradient(circle at 100% 30%, rgba(201, 184, 255, 0.6), rgba(201, 184, 255, 0) 55%), radial-gradient(circle at 40% 110%, rgba(255, 211, 194, 0.85), rgba(255, 211, 194, 0) 60%), #F6F7FB; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.6); }
.life__chat .bubble-q { justify-self: end; }
.life__chat .bubble-q { font-size: 15px; }
.life__chat .answer { font-size: 15px; color: #0B1020; }
.life__chat .source__meta { font-size: 12.5px; }
.life__task { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: #FFFFFF; color: #137A4B; font-size: 13.5px; font-weight: 800; box-shadow: 0 8px 20px -12px rgba(11, 16, 32, 0.4); }
.life__task svg { width: 16px; height: 16px; }
.js .life__panel .life__copy, .js .life__panel .bubble-q, .js .life__panel .answer, .js .life__panel .life__task { opacity: 0; transform: translateY(12px); }
.js .life__panel.is-shown .life__copy { animation: claim 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.js .life__panel.is-shown .bubble-q { animation: claim 0.5s 0.15s cubic-bezier(0.2, 0.9, 0.3, 1.15) forwards; }
.js .life__panel.is-shown .answer { animation: claim 0.55s 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.15) forwards; }
.js .life__panel.is-shown .life__task { animation: claim 0.5s 0.95s cubic-bezier(0.2, 0.9, 0.3, 1.4) forwards; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border-radius: 20px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); }

/* Closing CTA */
.closing { text-align: center; display: grid; justify-items: center; gap: 22px; }
.closing .orb-wrap { width: 140px; }
.closing h2 { font-size: clamp(38px, 6vw, 72px); }
.closing p { color: var(--ink-2); font-size: 19px; max-width: 30em; }
.closing .note { font-size: 14px; color: var(--ink-3); }

/* Footer */
.footer { padding-block: 40px 56px; }
.footer__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-top: 28px; border-top: 1px solid var(--hairline); font-size: 15px; color: var(--ink-2); }
.footer__bar nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
.footer__bar nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.footer__bar nav a:hover { color: var(--ink); }

/* Document pages (privacy, terms, support) */
.doc { padding-block: clamp(40px, 7vw, 88px) 40px; }
.doc__card { max-width: 820px; margin: 0 auto; border-radius: var(--radius-xl); padding: clamp(24px, 5vw, 56px); }
.doc h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 18px; }
.doc h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 40px 0 12px; letter-spacing: -0.025em; }
.doc h3 { font-size: 19px; margin: 28px 0 8px; letter-spacing: -0.02em; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 1.2em; display: grid; gap: 8px; }
.doc strong { color: var(--ink); }
.doc code { font-size: 0.9em; padding: 1px 6px; border-radius: 6px; background: var(--hairline); }
.doc blockquote { margin: 0 0 24px; padding: 14px 18px; border-radius: 16px; background: rgba(255, 91, 58, 0.1); color: var(--ink); }
.doc blockquote p { color: var(--ink); }
.doc .table { overflow-x: auto; margin: 16px 0; border-radius: 16px; border: 1px solid var(--hairline); }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--hairline); }
.doc th { color: var(--ink); font-weight: 700; background: var(--hairline); }
.doc tr:last-child td { border-bottom: 0; }
.doc hr { border: 0; border-top: 1px solid var(--hairline); margin: 48px 0 8px; }
.doc .meta { font-size: 14px; color: var(--ink-3); }
.steps-list { counter-reset: s; list-style: none; padding: 0 !important; }
.steps-list li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; }
.steps-list li::before { content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--button-bg); color: var(--button-fg); font-size: 14px; font-weight: 800; }

/* Reveal on scroll (only when JS marks the page ready and motion is allowed) */
.js .reveal { opacity: 0; transform: translateY(32px) scale(0.98); transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }


/* ===================================================================== Motion
   Loops run only while their element is on screen (.loop.is-live, set by site.js). Everything has a static
   final state for no-JS and reduced motion (bottom of the file). */

@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* Scroll progress (scroll-driven where supported, otherwise invisible) */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, #2F6BFF, #7B5CFF, #FF5B3A); pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .progress { animation: progress linear both; animation-timeline: scroll(root); }
}
@keyframes progress { to { transform: scaleX(1); } }

/* Hero entrance */
.hero .chip, .hero .lede, .hero__cta, .hero .ticks { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero .chip { animation-delay: 0.05s; }
.hero .lede { animation-delay: 0.55s; }
.hero__cta { animation-delay: 0.7s; }
.hero .ticks { animation-delay: 0.85s; }
.stage { animation: stage-in 1.3s 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(8px); } }
@keyframes stage-in { from { opacity: 0; transform: translateY(40px) scale(0.94); filter: blur(10px); } }
.w { display: inline-block; animation: word 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(0.12s + var(--i) * 75ms); }
@keyframes word { from { opacity: 0; transform: translateY(0.45em) rotate(3deg); filter: blur(12px); } }
.shine { background-size: 220% 100%; animation: shine 7s ease-in-out infinite alternate; }
@keyframes shine { to { background-position: 100% 0; } }

/* Hero stage parallax (vars from site.js) */
.stage .orb-wrap { translate: calc(var(--px, 0) * 22px) calc(var(--py, 0) * 22px); transition: translate 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.stage .orb { animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.04); } }
.phone { transform: perspective(1200px) rotateY(calc(var(--px, 0) * -7deg)) rotateX(calc(var(--py, 0) * 6deg)); transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.float { translate: calc(var(--px, 0) * -16px) calc(var(--py, 0) * -12px); transition: translate 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.float--task { animation: float-in 0.8s 1.2s cubic-bezier(0.2, 0.9, 0.3, 1.2) both, bob 7s 2s ease-in-out infinite; }
.float--decision { animation: float-in 0.8s 1.5s cubic-bezier(0.2, 0.9, 0.3, 1.2) both, bob 7s 2.5s ease-in-out infinite; }
@keyframes float-in { from { opacity: 0; transform: translateY(16px) scale(0.85); } }

/* Phone chat demo */
.chat { display: flex; flex-direction: column; gap: 12px; flex: 1; min-height: 0; transition: opacity 0.45s ease, transform 0.45s ease; }
.chat.is-out { opacity: 0; transform: translateY(-10px); }
.msg-in { animation: pop 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.15) both; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(0.96); } }
.answer p.msg-in .cite { animation: cite-pop 0.45s 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.6) both; }
@keyframes cite-pop { from { opacity: 0; transform: scale(0.2); } }
.thinking { align-self: flex-start; display: inline-flex; gap: 5px; padding: 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, 0.85); }
.thinking i { width: 7px; height: 7px; border-radius: 50%; background: #7B5CFF; animation: dot 1s ease-in-out infinite; }
.thinking i:nth-child(2) { animation-delay: 0.15s; }
.thinking i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 50% { transform: translateY(-5px); opacity: 0.35; } }
.mini-orb { transition: filter 0.3s ease; }
.mini-orb.is-thinking { animation: spin 1.1s linear infinite; filter: drop-shadow(0 0 8px rgba(124, 108, 255, 0.9)); }
.ask-field { transition: box-shadow 0.3s ease; }
.ask-field.is-typing { box-shadow: 0 0 0 2px rgba(124, 108, 255, 0.6), 0 0 26px rgba(124, 108, 255, 0.35); }
.ask-text.is-typed { color: #0B1020; }
.ask-text.is-typed::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: #2F6BFF; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.send { transition: transform 0.15s ease; }
.send.is-press { transform: scale(0.8); }
.source__play--doc { background: #7B5CFF; }
.source__play--doc svg { width: 16px; height: 16px; }
.wave i { transform-origin: 50% 50%; }
.wave.is-playing i, .loop.is-live .wave.is-playing i { animation: eq 0.9s ease-in-out infinite alternate; }
.wave i:nth-child(2n) { animation-duration: 0.7s; }
.wave i:nth-child(3n) { animation-duration: 1.15s; animation-delay: -0.4s; }
.wave i:nth-child(5n) { animation-delay: -0.2s; }
@keyframes eq { from { transform: scaleY(0.3); } }

/* Marquee of capture types */
.marquee { overflow: hidden; padding: 6px 0 10px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 12px; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; white-space: nowrap; color: var(--ink); }
.pill svg { width: 18px; height: 18px; color: var(--accent-text); }

/* Loops pause off screen */
.loop:not(.is-live), .loop:not(.is-live) * { animation-play-state: paused !important; }

/* Step demos */
.step__demo { margin-top: 22px; min-height: 96px; border-radius: 18px; background: var(--glass-strong); padding: 14px 16px; display: flex; align-items: center; gap: 12px; overflow: hidden; position: relative; }
.rec-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); animation: pulse 1.6s ease-out infinite; }
.rec-time { flex: none; font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; }
.bars { flex: 1; display: flex; align-items: center; justify-content: space-between; height: 54px; }
.bars i { width: 4px; height: 100%; border-radius: 3px; background: linear-gradient(#FF9A80, #FF5B3A); transform: scaleY(0.4); animation: eq 0.8s ease-in-out infinite alternate; }
.bars i:nth-child(2n) { animation-duration: 0.55s; }
.bars i:nth-child(3n) { animation-duration: 1.1s; animation-delay: -0.3s; }
.bars i:nth-child(5n) { animation-duration: 0.7s; animation-delay: -0.6s; }
.bars i:nth-child(7n) { animation-duration: 1.4s; animation-delay: -0.2s; }
.demo-extract { flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; }
.demo-line { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.demo-line mark { color: inherit; background: linear-gradient(transparent 55%, rgba(123, 92, 255, 0.38) 55%) no-repeat 0 0 / 0% 100%; animation: highlight 6s ease-in-out infinite; }
.demo-line mark + mark { animation-delay: 0.5s; }
@keyframes highlight { 0%, 10% { background-size: 0% 100%; } 28%, 88% { background-size: 100% 100%; } 100% { background-size: 0% 100%; } }
.demo-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; animation: chip 6s cubic-bezier(0.2, 0.9, 0.3, 1.2) infinite both; }
.tag--decision { background: rgba(47, 107, 255, 0.14); color: var(--accent-text); animation-delay: 0.2s; }
.tag--task { background: rgba(255, 91, 58, 0.14); color: var(--coral-text); animation-delay: 0.6s; }
@keyframes chip { 0%, 30% { opacity: 0; transform: translateY(10px) scale(0.85); } 40%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
.demo-ask { flex-direction: column; align-items: stretch; justify-content: center; gap: 8px; }
.demo-q { align-self: flex-end; background: #0B1020; color: #FFFFFF; font-size: 13.5px; font-weight: 700; padding: 8px 12px; border-radius: 16px 16px 4px 16px; white-space: nowrap; animation: type-in 6s steps(14) infinite; }
@media (prefers-color-scheme: dark) { .demo-q { background: #2F6BFF; } }
@keyframes type-in { 0% { clip-path: inset(0 100% 0 0); } 30%, 92% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
.demo-a { align-self: flex-start; font-size: 14px; font-weight: 800; padding: 8px 12px; border-radius: 16px 16px 16px 4px; background: rgba(255, 255, 255, 0.9); color: #0B1020; animation: chip 6s cubic-bezier(0.2, 0.9, 0.3, 1.2) infinite both; animation-delay: 0.6s; }

/* Bento: claims verify one by one, the unsupported one is struck out */
.js .tile .claims li { opacity: 0; transform: translateY(10px); }
.js .tile.is-in .claims li { animation: claim 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.js .tile.is-in .claims li:nth-child(1) { animation-delay: 0.3s; }
.js .tile.is-in .claims li:nth-child(2) { animation-delay: 0.8s; }
.js .tile.is-in .claims li:nth-child(3) { animation-delay: 1.3s; }
@keyframes claim { to { opacity: 1; transform: none; } }
.js .claims .no { color: var(--ink); }
.js .claims .no > span { text-decoration: none; position: relative; }
.js .claims .no > span::after { content: ""; position: absolute; left: -2px; right: -2px; top: 52%; height: 2px; border-radius: 2px; background: var(--coral-text); transform: scaleX(0); transform-origin: 0 50%; }
.js .claims .no em { opacity: 0; }
.js .tile.is-in .claims .no > span::after { animation: strike 0.5s 2.2s cubic-bezier(0.6, 0, 0.2, 1) forwards; }
.js .tile.is-in .claims .no { animation: claim 0.6s 1.3s forwards, mute 0.5s 2.6s forwards; }
.js .tile.is-in .claims .no em { animation: claim 0.5s 2.7s forwards; }
@keyframes strike { to { transform: scaleX(1); } }
@keyframes mute { to { color: var(--ink-3); } }

/* Bento: todo ticks itself off */
.todo .box { display: grid; place-items: center; transition: none; }
.todo .box::after { content: ""; width: 9px; height: 5px; margin-top: -2px; border-left: 2.5px solid #FFFFFF; border-bottom: 2.5px solid #FFFFFF; transform: rotate(-45deg) scale(0); }
.loop.is-live .todo div:first-child .box { animation: box-fill 7s infinite; }
.loop.is-live .todo div:first-child .box::after { animation: tick 7s infinite; }
.loop.is-live .todo div:first-child .label { animation: done 7s infinite; }
@keyframes box-fill { 0%, 30% { background: transparent; border-color: var(--ink-3); } 36%, 86% { background: #1E9E63; border-color: #1E9E63; } 94%, 100% { background: transparent; border-color: var(--ink-3); } }
@keyframes tick { 0%, 33% { transform: rotate(-45deg) scale(0); } 40%, 86% { transform: rotate(-45deg) scale(1); } 94%, 100% { transform: rotate(-45deg) scale(0); } }
@keyframes done { 0%, 36% { opacity: 1; text-decoration-color: transparent; } 42%, 86% { opacity: 0.45; text-decoration: line-through 2px; } 94%, 100% { opacity: 1; } }

/* Bento: a new note flies into its space */
.spaces { position: relative; padding-top: 44px; }
.spaces i { background: var(--c); position: relative; }
.loop.is-live .spaces i::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--c); animation: ping 6s ease-out infinite; opacity: 0; }
.spaces span:nth-child(3) i::after { animation-delay: 2s; }
.spaces span:nth-child(4) i::after { animation-delay: 4s; }
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.9; } 20%, 100% { transform: scale(2.2); opacity: 0; } }
.incoming { position: absolute; top: 0; left: 0; padding: 6px 12px !important; font-size: 13px !important; background: var(--button-bg) !important; color: var(--button-fg); border-radius: 999px; opacity: 0; }
.loop.is-live .incoming { animation: fly-in 6s cubic-bezier(0.5, 0, 0.2, 1) infinite; }
.loop.is-live .spaces span:nth-child(2) { animation: bump 6s infinite; }
@keyframes fly-in { 0% { opacity: 0; transform: translate(-10px, 0) scale(0.9); } 12% { opacity: 1; transform: none; } 38% { opacity: 1; transform: translate(10px, 40px) scale(0.5); } 44%, 100% { opacity: 0; transform: translate(10px, 44px) scale(0.3); } }
@keyframes bump { 0%, 38% { transform: none; } 44% { transform: scale(1.12); } 52%, 100% { transform: none; } }

/* Bento: one question, two languages */
.swap { display: grid; }
.swap b { grid-area: 1 / 1; justify-self: start; font-size: 15px; font-weight: 700; padding: 10px 16px; border-radius: 16px 16px 16px 4px; background: var(--glass-strong); }
.loop.is-live .swap b { animation: swap 7s ease-in-out infinite; }
.swap b + b { opacity: 0; }
.loop.is-live .swap b + b { animation-delay: -3.5s; }
@keyframes swap { 0%, 42% { opacity: 1; transform: none; } 50%, 92% { opacity: 0; transform: translateY(-8px); } 100% { opacity: 1; transform: none; } }

/* Bento: documents get scanned */
.docs span { position: relative; overflow: hidden; }
.loop.is-live .docs span::after { content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: linear-gradient(transparent, rgba(47, 107, 255, 0.35), transparent); animation: scan 2.6s ease-in-out infinite; }
.docs span:nth-child(2)::after { animation-delay: 0.4s !important; }
.docs span:nth-child(3)::after { animation-delay: 0.8s !important; }
@keyframes scan { to { top: 100%; } }

/* Bento: share lifts */
.loop.is-live .share-ico svg { animation: lift 2.4s cubic-bezier(0.3, 0, 0.2, 1) infinite; }
@keyframes lift { 0%, 100% { transform: none; } 40% { transform: translateY(-5px); } 60% { transform: translateY(-5px); } }

/* Cards: cursor spotlight + lift (pointer devices) */
.step, .tile { transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s ease; }
@media (hover: hover) {
  .step:hover, .tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); background-image: radial-gradient(480px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 45%); }
}
@media (hover: hover) and (prefers-color-scheme: dark) {
  .step:hover, .tile:hover { background-image: radial-gradient(480px circle at var(--mx, 50%) var(--my, 50%), rgba(124, 108, 255, 0.22), rgba(124, 108, 255, 0) 45%); }
}

/* Closing: bigger orb with a halo, glowing CTA ring */
.closing .orb-wrap--big { width: clamp(160px, 22vw, 240px); }
.orb-wrap--big::before { content: ""; position: absolute; inset: -30%; border-radius: 50%; background: radial-gradient(circle, rgba(124, 108, 255, 0.35), rgba(124, 108, 255, 0) 65%); animation: breathe 5s ease-in-out infinite; }
.orb-wrap--big .orb { animation: breathe 5s ease-in-out infinite; }
.btn--glow { position: relative; isolation: isolate; }
.btn--glow::before, .btn--glow::after { content: ""; position: absolute; inset: -3px; z-index: -1; border-radius: inherit; background: conic-gradient(from var(--angle), #2F6BFF, #7B5CFF, #FF5B3A, #FFD3C2, #9CC3FF, #2F6BFF); animation: ring 4s linear infinite; }
.btn--glow::after { inset: -6px; filter: blur(16px); opacity: 0.7; }
@keyframes ring { to { --angle: 360deg; } }

/* ============================================================ Reduced motion
   Everything lands in its final, readable state; nothing moves. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .tile .claims li, .js .claims .no em, .js .life__panel * { opacity: 1; transform: none; }
  .js .claims .no { color: var(--ink-3); }
  .js .claims .no > span::after { transform: scaleX(1); }
  .stage .orb-wrap, .float { translate: none; }
  .phone { transform: none; }
  .marquee__track { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__track > .pill:nth-child(n + 10) { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .demo-q { clip-path: none; }
  .tag, .demo-a { opacity: 1; }
  .incoming { display: none; }
  .swap b + b { display: none; }
  .progress { display: none; }
}
