/* Axolotl — marketing site */

@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/inter.woff2") format("woff2"); }

:root {
  --bg: #fbfaf8;
  --bg-sunk: #f4f1ee;
  --surface: #ffffff;
  --ink: #16131a;
  --ink-2: #48424e;
  --muted: #7a7380;
  --line: rgba(22, 19, 26, 0.08);
  --line-strong: rgba(22, 19, 26, 0.14);
  --accent: #e14f78;
  --accent-ink: #b8355d;
  --accent-soft: rgba(225, 79, 120, 0.1);
  --plum: #1c1620;
  --plum-2: #251c2a;
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(22, 19, 26, 0.06), 0 2px 8px rgba(22, 19, 26, 0.04);
  --shadow-lg: 0 2px 6px rgba(22, 19, 26, 0.05), 0 24px 48px -12px rgba(40, 18, 34, 0.18), 0 60px 120px -40px rgba(40, 18, 34, 0.25);
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121014;
    --bg-sunk: #19161c;
    --surface: #1d1a21;
    --ink: #f3eef5;
    --ink-2: #c4bcc8;
    --muted: #8f8795;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --accent: #ff7a9c;
    --accent-ink: #ff9bb4;
    --accent-soft: rgba(255, 122, 156, 0.12);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.3), 0 30px 60px -12px rgba(0, 0, 0, 0.5), 0 60px 120px -40px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: rgba(225, 79, 120, 0.22); }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 48px); margin-inline: auto; }

/* Type */
.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 0.98;
  margin: 0;
}
.display em { font-style: italic; color: var(--accent); }
h1.display { font-size: clamp(52px, 8.4vw, 112px); }
h2.display { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.02; }
h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin: 0; line-height: 1.3; }
.lead { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.55; color: var(--ink-2); margin: 0; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px;
}
.muted { color: var(--muted); }
kbd, code { font-family: var(--mono); font-size: 0.86em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-size: 15.5px; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--ink); color: var(--bg); box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 8px 20px -8px rgba(22, 19, 26, 0.45); }
.btn-primary:hover { background: color-mix(in srgb, var(--ink) 86%, var(--accent)); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: color-mix(in srgb, var(--ink) 30%, transparent); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background-color 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; height: 68px; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 17px; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 7px; box-shadow: 0 1px 2px rgba(0,0,0,0.15); }
.nav-links { display: flex; gap: 28px; font-size: 14.5px; color: var(--ink-2); }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.icon-link { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--ink-2); transition: background 0.2s, color 0.2s; }
.icon-link:hover { background: var(--line); color: var(--ink); }
.icon-link svg { width: 20px; height: 20px; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* Hero */
.hero { position: relative; padding: 72px 0 0; text-align: center; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 auto; height: 900px; z-index: -1;
  background:
    radial-gradient(42% 46% at 50% 18%, rgba(225, 79, 120, 0.13), transparent 70%),
    radial-gradient(30% 40% at 78% 38%, rgba(124, 77, 160, 0.08), transparent 70%),
    radial-gradient(30% 40% at 20% 42%, rgba(255, 170, 120, 0.08), transparent 70%);
  pointer-events: none;
}
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-sm);
  font-size: 13.5px; color: var(--ink-2); margin-bottom: 32px;
  transition: border-color 0.2s;
}
.badge:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.badge b { font-weight: 600; color: #fff; background: var(--accent); padding: 2px 9px; border-radius: 999px; font-size: 12px; letter-spacing: 0.02em; }
.hero .lead { max-width: 620px; margin: 28px auto 40px; }
.hero-ctas { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero-meta { margin-top: 18px; font-size: 13.5px; color: var(--muted); }

.stage { position: relative; margin: 80px auto 0; width: min(1200px, 100% - 32px); }
.stage-phone { position: absolute; right: -3.5%; bottom: -64px; width: 19%; min-width: 150px; z-index: 3; }
@media (max-width: 760px) { .stage-phone { display: none; } }

.theme-picker { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 92px; }
.theme-picker span.label { font-size: 13px; color: var(--muted); margin-right: 8px; }
.swatch {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 8px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface);
  font-size: 13px; font-weight: 500; color: var(--ink-2); cursor: pointer;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.swatch i { width: 18px; height: 18px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12); }
.swatch:hover { color: var(--ink); }
.swatch[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }

/* Mock Mac window */
.window {
  --m-bg: #ffffff; --m-sidebar: #f7f4f6; --m-text: #2f2b33; --m-secondary: #9a929d; --m-accent: #e14f78;
  --m-heading: #1e1a22; --m-code: #c2386a; --m-codebg: #f6f2f4; --m-highlight: #ffeaa6; --m-link: #d9466f;
  --m-quote: #7c7380; --m-callout: #3b82f6; --m-border: rgba(0,0,0,0.08); --m-select: rgba(0,0,0,0.06);
  position: relative; display: grid; grid-template-columns: 220px 300px 1fr; height: 680px;
  border-radius: 14px; overflow: hidden; text-align: left;
  background: var(--m-bg); color: var(--m-text);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.12), var(--shadow-lg);
  font: 13px/1.45 var(--sans);
  transition: background-color 0.45s ease, color 0.45s ease;
}
.window * { transition: background-color 0.45s ease, color 0.45s ease, border-color 0.45s ease, fill 0.45s ease, stroke 0.45s ease; }
.window[data-dark="true"] { --m-border: rgba(255,255,255,0.08); --m-select: rgba(255,255,255,0.07); box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 0 0 1.5px rgba(0,0,0,0.6), var(--shadow-lg); }
.w-sidebar { background: var(--m-sidebar); border-right: 1px solid var(--m-border); display: flex; flex-direction: column; padding: 14px 10px 0; }
.traffic { display: flex; gap: 8px; padding: 2px 6px 18px; }
.traffic i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.2); }
.traffic i:nth-child(2) { background: #febc2e; }
.traffic i:nth-child(3) { background: #28c840; }
.s-item { display: flex; align-items: center; gap: 9px; height: 30px; padding: 0 10px; border-radius: 7px; font-size: 13px; font-weight: 500; }
.s-item svg { width: 16px; height: 16px; color: var(--m-accent); flex: none; }
.s-item .count { margin-left: auto; color: var(--m-secondary); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.s-item.active { background: var(--m-select); }
.s-head { font-size: 11px; font-weight: 600; color: var(--m-secondary); padding: 16px 10px 6px; }
.s-item.child { padding-left: 30px; }
.s-foot { margin-top: auto; border-top: 1px solid var(--m-border); padding: 12px 10px 14px; display: flex; align-items: center; gap: 9px; font-size: 11.5px; }
.s-foot .dot { width: 7px; height: 7px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 3px rgba(52,199,89,0.18); }
.s-foot small { display: block; color: var(--m-secondary); font-size: 10.5px; }

.w-list { background: var(--m-bg); border-right: 1px solid var(--m-border); display: flex; flex-direction: column; min-width: 0; }
.l-head { display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 16px; font-weight: 650; font-size: 14px; }
.l-head .tools { display: flex; gap: 6px; color: var(--m-secondary); }
.l-head .tools svg { width: 17px; height: 17px; }
.l-search { margin: 0 12px 8px; height: 30px; border-radius: 8px; background: var(--m-select); display: flex; align-items: center; gap: 7px; padding: 0 10px; color: var(--m-secondary); font-size: 12.5px; }
.l-search svg { width: 13px; height: 13px; }
.row { padding: 11px 16px 12px; border-bottom: 1px solid var(--m-border); margin: 0 4px; }
.row.active { background: color-mix(in srgb, var(--m-accent) 13%, transparent); border-radius: 8px; border-bottom-color: transparent; }
.row b { display: block; font-size: 13px; font-weight: 650; color: var(--m-heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row p { margin: 2px 0 3px; color: var(--m-secondary); font-size: 12px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row small { color: var(--m-secondary); opacity: 0.75; font-size: 11px; }

.w-editor { position: relative; overflow: hidden; min-width: 0; }
.e-tools { position: absolute; top: 12px; right: 14px; display: flex; gap: 6px; color: var(--m-secondary); }
.e-tools span { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; }
.e-tools svg { width: 16px; height: 16px; }
.doc { padding: 58px 64px 0; max-width: 640px; font-size: 15px; line-height: 1.6; }
.doc h4 { font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 18px; color: var(--m-heading); font-weight: 700; }
.doc h5 { font-size: 20px; letter-spacing: -0.01em; margin: 22px 0 8px; color: var(--m-heading); font-weight: 700; }
.doc p { margin: 0 0 10px; }
.doc strong { color: var(--m-heading); }
.doc .todo { display: flex; align-items: center; gap: 11px; margin: 5px 0; }
.doc .box { width: 16px; height: 16px; border-radius: 4.5px; border: 1.4px solid var(--m-secondary); flex: none; display: grid; place-items: center; }
.doc .box.on { background: var(--m-accent); border-color: var(--m-accent); }
.doc .box.on::after { content: ""; width: 8px; height: 4px; border: 2px solid var(--m-bg); border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.doc .todo.done span { color: var(--m-secondary); text-decoration: line-through; }
.doc .callout { position: relative; margin: 16px 0; padding: 2px 0 2px 22px; color: var(--m-quote); }
.doc .callout::before { content: ""; position: absolute; left: 2px; top: 4px; bottom: 4px; width: 3px; border-radius: 2px; background: var(--m-callout); }
.doc .callout b { display: block; font-size: 13px; letter-spacing: 0.04em; color: var(--m-quote); }
.doc a { color: var(--m-link); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--m-link) 40%, transparent); text-underline-offset: 3px; }
.doc mark { background: var(--m-highlight); color: inherit; border-radius: 3px; padding: 0 2px; }
.doc .tag { color: var(--m-accent); background: color-mix(in srgb, var(--m-accent) 13%, transparent); border-radius: 4px; padding: 1px 3px; }
.doc ul { margin: 0; padding: 0; list-style: none; }
.doc li { position: relative; padding-left: 18px; margin: 3px 0; }
.doc li::before { content: ""; position: absolute; left: 3px; top: 0.68em; width: 5px; height: 5px; border-radius: 50%; background: var(--m-accent); }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--m-accent); vertical-align: -0.18em; margin-left: 1px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 1080px) { .window { grid-template-columns: 200px 260px 1fr; } .doc { padding: 54px 40px 0; } }
@media (max-width: 900px) { .window { grid-template-columns: 0 280px 1fr; height: 560px; } .w-sidebar { display: none; } }
@media (max-width: 640px) { .window { grid-template-columns: 1fr; height: 520px; } .w-list { display: none; } .doc { padding: 52px 24px 0; font-size: 14px; } .doc h4 { font-size: 24px; } }

/* Device frames */
.phone {
  position: relative; border-radius: 17% / 8%; padding: 3.4%;
  background: linear-gradient(145deg, #2a272d, #0d0c0e 60%);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset, 0 0 0 1.5px #3a373d, var(--shadow-lg);
}
.phone img { border-radius: 13.5% / 6.4%; width: 100%; }
.phone::after { content: ""; position: absolute; top: 4.6%; left: 50%; transform: translateX(-50%); width: 30%; height: 3.2%; border-radius: 999px; background: #000; }
.tablet {
  position: relative; border-radius: 4.2% / 3.2%; padding: 2.6%;
  background: linear-gradient(145deg, #2a272d, #0d0c0e 60%);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset, 0 0 0 1.5px #3a373d, var(--shadow-lg);
}
.tablet img { border-radius: 2.4% / 1.8%; width: 100%; }

/* Sections */
section { position: relative; }
.section { padding: 150px 0; }
@media (max-width: 760px) { .section { padding: 96px 0; } }
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 22px; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; padding-top: 170px; }
.trio h3 { font-size: 17px; margin-bottom: 8px; }
.trio p { margin: 0; color: var(--ink-2); font-size: 16px; }
.trio .n { font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--accent); line-height: 1; margin-bottom: 14px; }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; gap: 36px; padding-top: 120px; } }

.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 88px; align-items: center; }
.feature + .feature { margin-top: 170px; }
.feature.flip .copy { order: 2; }
.feature .copy .lead { margin: 22px 0 28px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; color: var(--ink-2); font-size: 16px; }
.checks li svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 2px; }
@media (max-width: 960px) { .feature { grid-template-columns: 1fr; gap: 48px; } .feature.flip .copy { order: 0; } }

.panel {
  position: relative; border-radius: 24px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.panel-pad { padding: 36px; }
.panel-tint { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, var(--surface)), var(--surface) 60%); }

/* Markdown demo */
.md-demo { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.md-demo .mode { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg-sunk); margin-bottom: 26px; font-size: 13px; font-weight: 600; }
.md-demo .mode span { padding: 5px 14px; border-radius: 999px; color: var(--muted); transition: all 0.3s; }
.md-demo .mode span.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.md-demo .h { font-size: 28px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 12px; }
.mk { display: inline-block; max-width: 3ch; overflow: hidden; vertical-align: bottom; color: var(--muted); opacity: 0.7; transition: max-width 0.5s cubic-bezier(.4,0,.2,1), opacity 0.4s; white-space: pre; }
.md-demo.reading .mk { max-width: 0; opacity: 0; }
.md-demo strong { color: var(--ink); }
.md-demo mark { background: #ffeaa6; color: inherit; border-radius: 3px; padding: 0 2px; }
@media (prefers-color-scheme: dark) { .md-demo mark { background: #5e4320; } }
.md-demo .lnk { color: var(--accent); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); text-underline-offset: 3px; }
.md-demo .tag { color: var(--accent); background: var(--accent-soft); border-radius: 5px; padding: 1px 4px; }
.md-demo .line { padding: 2px 0; }

/* Tags demo */
.tags-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.tags-demo .side { padding: 28px 18px; background: var(--bg-sunk); border-right: 1px solid var(--line); }
.tags-demo .t { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; border-radius: 9px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.tags-demo .t svg { width: 17px; height: 17px; color: var(--accent); flex: none; }
.tags-demo .t .c { margin-left: auto; color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.tags-demo .t.l2 { padding-left: 34px; }
.tags-demo .t.l3 { padding-left: 56px; }
.tags-demo .t.on { background: var(--accent-soft); }
.tags-demo .t .chev { width: 12px; height: 12px; color: var(--muted); margin-left: -4px; margin-right: -4px; }
.tags-demo .note { padding: 32px 30px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.tags-demo .note .ttl { font-weight: 700; font-size: 19px; color: var(--ink); margin-bottom: 10px; letter-spacing: -0.01em; }
.tags-demo .note .tag { color: var(--accent); background: var(--accent-soft); border-radius: 5px; padding: 1px 5px; }
@media (max-width: 560px) { .tags-demo { grid-template-columns: 1fr; } .tags-demo .side { border-right: 0; border-bottom: 1px solid var(--line); } }

/* Search demo */
.search-demo .field { display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 18px; border-radius: 14px; background: var(--bg-sunk); border: 1px solid var(--line); font-size: 17px; }
.search-demo .field svg { width: 19px; height: 19px; color: var(--muted); flex: none; }
.search-demo .q { font-family: var(--mono); font-size: 15.5px; color: var(--ink); white-space: pre; }
.search-demo .q .op { color: var(--accent); }
.search-demo .results { margin-top: 18px; display: grid; gap: 4px; min-height: 216px; align-content: start; }
.search-demo .res { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; animation: rise 0.45s both; }
.search-demo .res:first-child { background: var(--accent-soft); }
.search-demo .res svg { width: 18px; height: 18px; color: var(--muted); margin-top: 2px; flex: none; }
.search-demo .res b { display: block; font-size: 15px; font-weight: 600; }
.search-demo .res span { font-size: 13.5px; color: var(--muted); }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ops { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.ops code { padding: 6px 11px; border-radius: 9px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 13px; color: var(--ink-2); }
.ops code b { color: var(--accent); font-weight: 600; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile { border-radius: 22px; background: var(--surface); border: 1px solid var(--line); padding: 30px; display: flex; flex-direction: column; min-height: 300px; overflow: hidden; position: relative; box-shadow: var(--shadow-sm); }
.tile h3 { margin-top: auto; padding-top: 24px; }
.tile p { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, 1fr); } .span-2, .span-3, .span-4 { grid-column: span 1; } .tile.wide-sm { grid-column: span 2; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .tile.wide-sm { grid-column: span 1; } }

.mini-todos { display: grid; gap: 10px; font-size: 15px; }
.mini-todos div { display: flex; align-items: center; gap: 12px; }
.mini-todos i { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--muted); flex: none; display: grid; place-items: center; }
.mini-todos i.on { background: var(--accent); border-color: var(--accent); }
.mini-todos i.on::after { content: ""; width: 9px; height: 4.5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.mini-todos .done span { color: var(--muted); text-decoration: line-through; }
.progress { margin-top: 18px; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.progress .bar { flex: 1; height: 6px; border-radius: 99px; background: var(--bg-sunk); overflow: hidden; }
.progress .bar i { display: block; height: 100%; width: 60%; border-radius: 99px; background: var(--accent); }

.lock-art { display: grid; place-items: center; height: 150px; }
.lock-art .lk { width: 92px; height: 92px; border-radius: 26px; display: grid; place-items: center; background: linear-gradient(180deg, #2b2030, #1a131d); box-shadow: 0 18px 36px -12px rgba(40, 18, 34, 0.5), inset 0 1px 0 rgba(255,255,255,0.08); }
.lock-art svg { width: 40px; height: 40px; color: #ff8fab; }
.cipher { margin-top: 14px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); word-break: break-all; line-height: 1.5; opacity: 0.8; text-align: center; }

.links-art { display: flex; flex-direction: column; gap: 10px; }
.chip-note { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; background: var(--bg-sunk); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.chip-note svg { width: 16px; height: 16px; color: var(--muted); }
.chip-note.main { background: var(--accent-soft); border-color: transparent; color: var(--accent-ink); }
.chip-note small { margin-left: auto; color: var(--muted); font-weight: 400; font-size: 12px; }

.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.swatches i { aspect-ratio: 1; border-radius: 12px; display: block; position: relative; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08); overflow: hidden; }
.swatches i::after { content: ""; position: absolute; right: 18%; bottom: 18%; width: 28%; height: 28%; border-radius: 50%; background: var(--d); }

.formats { display: flex; flex-wrap: wrap; gap: 8px; }
.formats span { padding: 8px 12px; border-radius: 10px; background: var(--bg-sunk); border: 1px solid var(--line); font-size: 13px; font-weight: 600; font-family: var(--mono); color: var(--ink-2); }

.timeline { display: grid; gap: 0; font-size: 14px; }
.timeline div { display: grid; grid-template-columns: 14px 1fr auto; gap: 12px; align-items: center; padding: 7px 0; position: relative; }
.timeline div::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); justify-self: center; }
.timeline div.cur::before { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.timeline small { color: var(--muted); font-size: 12.5px; }

.keys { display: grid; gap: 12px; font-size: 14px; color: var(--ink-2); }
.keys div { display: flex; align-items: center; gap: 12px; }
.keys kbd { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: 0 2px 0 var(--line-strong); font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--ink); }

.ocr-art { position: relative; border-radius: 14px; overflow: hidden; height: 150px; background: linear-gradient(135deg, #f3e7dc, #e8d5c9); }
@media (prefers-color-scheme: dark) { .ocr-art { background: linear-gradient(135deg, #2c2420, #241c1a); } }
.ocr-art .receipt { position: absolute; left: 50%; top: 18px; transform: translateX(-50%) rotate(-3deg); width: 58%; padding: 14px 16px; background: #fffdf9; border-radius: 4px; box-shadow: 0 10px 24px -10px rgba(0,0,0,0.35); font-family: var(--mono); font-size: 10.5px; color: #4a423d; line-height: 1.6; }
.ocr-art .hit { background: rgba(225, 79, 120, 0.22); outline: 1.5px solid #e14f78; border-radius: 2px; }

/* Platforms */
.platforms { display: grid; grid-template-columns: 1.55fr 0.62fr; gap: 56px; align-items: end; }
.platforms figure { margin: 0; }
.platforms figcaption { margin-top: 22px; font-size: 14px; color: var(--muted); text-align: center; }
@media (max-width: 860px) { .platforms { grid-template-columns: 1fr; } .platforms .phone { width: 62%; margin-inline: auto; } }

/* Sync */
.dark-band { background: var(--plum); color: #f3eef5; overflow: hidden; }
.dark-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 0%, rgba(242, 92, 136, 0.18), transparent 70%); pointer-events: none; }
.dark-band .lead { color: #c4bcc8; }
.dark-band .kicker { color: #ff8fab; }
.dark-band .display em { color: #ff8fab; }
.sync-diagram { margin: 0 auto; max-width: 900px; }
.sync-diagram svg { width: 100%; height: auto; overflow: visible; }
.sync-diagram .node rect { fill: #251c2a; stroke: rgba(255,255,255,0.12); }
.sync-diagram text { fill: #f3eef5; font-family: var(--sans); }
.sync-diagram .sub { fill: #8f8795; font-size: 12px; }
.sync-diagram .wire { stroke: rgba(255, 143, 171, 0.55); stroke-width: 1.6; fill: none; stroke-dasharray: 3 7; animation: flow 1.4s linear infinite; }
.sync-diagram .wire.relay { stroke: rgba(255,255,255,0.22); }
@keyframes flow { to { stroke-dashoffset: -20; } }
.sync-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 88px; }
.sync-points h3 { color: #fff; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.sync-points h3 svg { width: 20px; height: 20px; color: #ff8fab; }
.sync-points p { margin: 0; color: #b5adb9; font-size: 15.5px; }
@media (max-width: 860px) { .sync-points { grid-template-columns: 1fr; gap: 36px; } }

/* Agents */
.agent-demo { font-size: 14.5px; }
.agent-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--bg-sunk); }
.agent-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.agent-bar span { margin-left: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.agent-body { padding: 26px 26px 30px; display: grid; gap: 14px; }
.agent-body p { margin: 0; }
.agent-body .you { font-weight: 500; color: var(--ink); }
.agent-body .you span { color: var(--accent); margin-right: 6px; }
.agent-body .tool { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--mono); font-size: 13px; color: var(--ink-2);
  padding: 9px 12px; border-radius: 10px; background: var(--bg-sunk); border: 1px solid var(--line); }
.agent-body .tool b { color: var(--accent); font-weight: 600; }
.agent-body .tool code { color: var(--ink); background: none; }
.agent-body .tool em { margin-left: auto; font-style: normal; color: var(--muted); font-family: var(--sans); font-size: 12.5px; }
.agent-body .reply { color: var(--ink-2); line-height: 1.6; }
.agent-body .reply u { text-decoration-color: color-mix(in srgb, var(--accent) 50%, transparent); text-underline-offset: 3px; }

/* Download */
.downloads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dl, .tile, .feature > * { min-width: 0; }
.dl { border-radius: 24px; background: var(--surface); border: 1px solid var(--line); padding: 34px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.dl .plat { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.dl .plat svg { width: 26px; height: 26px; }
.dl .plat h3 { font-size: 21px; }
.dl .req { font-size: 14px; color: var(--muted); margin: 0 0 26px; min-height: 44px; }
.dl .actions { display: grid; gap: 10px; }
.dl .note { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.dl .note p { margin: 0 0 10px; }
.cmd { position: relative; display: block; padding: 12px 44px 12px 14px; border-radius: 12px; background: var(--bg-sunk); border: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; color: var(--ink); white-space: pre-wrap; word-break: break-all; line-height: 1.6; }
.copy-btn { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 8px; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.copy-btn:hover { background: var(--line); color: var(--ink); }
.copy-btn svg { width: 15px; height: 15px; }
@media (max-width: 960px) { .downloads { grid-template-columns: 1fr; } }

/* FAQ */
.faq { 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: 20px; padding: 26px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; color: var(--muted); transition: transform 0.3s; flex: none; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { margin: -8px 0 26px; color: var(--ink-2); max-width: 640px; }

/* CTA + footer */
.final { text-align: center; }
.final img { width: 112px; height: 112px; margin: 0 auto 36px; filter: drop-shadow(0 24px 40px rgba(40, 18, 34, 0.35)); }
.final .hero-ctas { margin-top: 40px; }
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 14px; color: var(--muted); }
footer .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer nav { display: flex; gap: 24px; }
footer a:hover { color: var(--ink); }

/* Motion */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s cubic-bezier(.2,.7,.2,1), transform 0.8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .sync-diagram .wire, .caret { animation: none; }
  html { scroll-behavior: auto; }
}
