/* Maestro's landing, in the app's own colours: warm paper, ink and terracotta, over still warm silk that flows where the pointer passes.
   Gradients stay in that silk only; panels are flat paper with a faint dot grid, buttons and marks are solid.
   One family for everything, Geist (SIL OFL, fonts/OFL-Geist.txt), served from here; nothing loads from elsewhere.
   The product is shown as it is: a living copy of its home, and each feature as a real moment, not a tile. */
@font-face { font-family: 'Geist'; src: url('fonts/Geist.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }
@property --x { syntax: '<length>'; inherits: false; initial-value: 50%; }
@property --y { syntax: '<length>'; inherits: false; initial-value: 50%; }

:root {
  --paper: #faf9f7;
  --paper-deep: #f3efe8;
  --card: #ffffff;
  --ink: #1f1e1c;
  --ink-soft: #55524d;
  --ink-faint: #8b8780;
  --edge: #e7e2da;
  --accent: #d97757;
  --accent-strong: #c6613f;
  --accent-wash: #f6dccf;
  --sun: #f2c48f;
  --ok: #3f8a5f;
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Ubuntu, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  /* the panels' only texture: a faint dot grid on flat paper; the warm mesh is kept for the hero and the plans */
  --dots: radial-gradient(rgba(31, 30, 28, .07) 1px, transparent 1.4px);
  --dots-size: 18px 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--font); overflow-x: clip;
  -webkit-font-smoothing: antialiased; }
img { display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 3px; }

.caps { font: 600 11.5px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.title { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.05; font-weight: 600; letter-spacing: -.035em; }
.lede { max-width: 640px; margin: 14px auto 0; color: var(--ink-soft); font-size: 18px; }
.center { text-align: center; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* --- pills: a warm fill rises from the pointer --- */
.pill { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; height: 50px;
  padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 15.5px; text-decoration: none;
  transition: --x .25s var(--ease), --y .25s var(--ease), transform .2s var(--ease); }
.pill::before { content: ''; position: absolute; z-index: -1; left: var(--x); top: var(--y); width: 260%; aspect-ratio: 1;
  border-radius: 50%; transform: translate(-50%, -50%) scale(0); transition: transform .55s var(--ease); }
.pill:hover::before, .pill:focus-visible::before { transform: translate(-50%, -50%) scale(1); }
.pill:active { transform: scale(.97); }
.pill.dark { background: var(--ink); color: var(--paper); box-shadow: 0 10px 26px -12px rgba(31, 30, 28, .6); }
.pill.dark::before { background: var(--accent-strong); }
.pill.ghost { background: rgba(255, 255, 255, .6); border: 1px solid rgba(231, 226, 218, .9); backdrop-filter: blur(10px); }
.pill.ghost::before { background: var(--accent-wash); }
.pill.small { height: 40px; padding: 0 18px; font-size: 14px; }

/* --- nav --- */
.nav { position: fixed; z-index: 10; top: 14px; left: 50%; transform: translateX(-50%); width: min(1040px, calc(100% - 32px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 7px 7px 7px 14px;
  background: rgba(250, 249, 247, .66); backdrop-filter: blur(16px) saturate(1.5); border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 999px; box-shadow: 0 8px 30px -16px rgba(80, 40, 20, .35); }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-size: 19px; font-weight: 650; letter-spacing: -.03em; }
.nav-links { display: flex; gap: 28px; font-size: 14.5px; color: var(--ink-soft); }
.nav-links a { text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }

/* --- the mesh: warm silk (page.js), fading into the paper at the bottom; a still gradient without WebGL 2 --- */
.mesh { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: -1;
  background: radial-gradient(40% 55% at 18% 25%, var(--sun), transparent 70%), radial-gradient(45% 60% at 82% 30%, var(--accent), transparent 70%),
    radial-gradient(50% 50% at 50% 85%, var(--accent-wash), transparent 70%), var(--paper); }
.mesh.live { background: none; }
.hero .mesh { -webkit-mask-image: linear-gradient(#000 50%, transparent 97%); mask-image: linear-gradient(#000 50%, transparent 97%); }

/* --- hero --- */
.hero { position: relative; isolation: isolate; min-height: max(620px, 92svh); display: grid; place-items: center;
  padding: 120px 16px 200px; text-align: center; }
.hero-words { display: flex; flex-direction: column; align-items: center; }
.eyebrow { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .62); backdrop-filter: blur(6px);
  font-size: 13px; font-weight: 600; color: var(--accent-strong); }
.wordmark { margin-top: 18px; font-size: clamp(76px, 15vw, 196px); line-height: .9; font-weight: 700; letter-spacing: -.065em; }
.tagline { margin-top: 18px; font-size: clamp(20px, 2.6vw, 30px); line-height: 1.2; font-weight: 500; letter-spacing: -.025em; color: #3a3835; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* --- the showcase: a living copy of Maestro's home --- */
.showcase { position: relative; z-index: 2; width: min(1120px, calc(100% - 32px)); margin: -190px auto 0; }
.window { margin: 0; border-radius: 18px; overflow: hidden; background: var(--paper);
  box-shadow: 0 50px 100px -40px rgba(80, 40, 20, .55), 0 0 0 1px rgba(31, 30, 28, .08); }
.window-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #222; color: #8f8f8b; font-size: 12px; }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3a3a; }
.window-bar span { margin: 0 auto; padding-right: 50px; }
.app-fit { --k: 1; height: calc(640px * var(--k)); overflow: hidden; }
.app { width: 1120px; height: 640px; transform: scale(var(--k)); transform-origin: 0 0; display: grid; grid-template-columns: 280px 1fr;
  font-size: 13.5px; color: #2b2a28; }
.app svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.app img { width: 15px; height: 15px; flex: none; }
.side { background: #f1eee9; border-right: 1px solid var(--edge); padding: 14px 12px; display: flex; flex-direction: column; gap: 2px; }
.side-top { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 10px; }
.side-brand { display: flex; align-items: center; gap: 8px; font-weight: 650; }
.side-brand img { width: 22px; height: 22px; padding: 3px; border-radius: 7px; background: var(--accent-wash); }
.side-icons { display: flex; gap: 10px; color: #7d7a74; }
.side-new { display: flex; align-items: center; gap: 9px; padding: 6px 8px; color: #4a4844; margin-bottom: 4px; }
.side-projects { flex: 1; overflow: hidden; }
.proj-block + .proj-block { margin-top: 12px; }
.proj { display: flex; align-items: center; gap: 8px; padding: 5px 8px; font-weight: 500; color: #5d5a55; }
.proj .mark { display: grid; place-items: center; width: 20px; height: 20px; flex: none; border-radius: 5px; overflow: hidden; border: 1px solid var(--edge); background: #fff; }
.proj .mark svg { width: 20px; height: 20px; }
.proj .mark b { font-size: 8px; font-weight: 600; color: #6d6a64; letter-spacing: .02em; }
.proj .chev { width: 12px; height: 12px; color: #a29e97; }
.convs { padding-left: 8px; margin-top: 2px; }
.conv { position: relative; display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px; border-radius: 8px; white-space: nowrap; }
.conv .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.conv .age { font-size: 11.5px; color: #a29e97; }
.conv .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.conv.waiting .dot { animation: pulse 1.6s ease-in-out infinite; }
.conv.unread .t { font-weight: 600; color: var(--ink); }
/* a thread sits under the conversation that opened it, on a line, as in the app */
.conv.thread { margin-left: 20px; }
.conv.thread::before { content: ''; position: absolute; left: -1px; top: -4px; bottom: 0; border-left: 1px solid #d3ccc1; }
.conv.thread.last::before { bottom: 50%; }
.conv.thread::after { content: ''; position: absolute; left: -1px; top: 50%; width: 8px; border-top: 1px solid #d3ccc1; }
.side-foot { margin-top: auto; display: flex; align-items: center; gap: 9px; padding: 8px; border-top: 1px solid var(--edge); color: #4a4844; }
.host { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px #dcefe3; }
.home { padding: 60px 100px 20px; display: flex; flex-direction: column; }
.composer { background: #fff; border: 1px solid var(--edge); border-radius: 16px; padding: 14px 14px 10px; box-shadow: 0 10px 30px -18px rgba(80, 40, 20, .4); }
.prompt { min-height: 22px; font-size: 15px; color: var(--ink); position: relative; }
.prompt .ph { color: #a29e97; }
.prompt.typing .ph { display: none; }
.cursor { display: none; width: 2px; height: 17px; margin-left: 1px; vertical-align: -3px; background: var(--accent-strong); animation: blink 1s steps(1) infinite; }
.prompt.typing .cursor { display: inline-block; }
.composer-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; color: #6d6a64; }
.pick { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.pick svg:last-child { width: 12px; height: 12px; }
.grow { flex: 1; }
.send { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #e9e5de; transition: background .2s; }
.send.go { background: var(--ink); color: #fff; }
.cap { margin: 22px 0 6px; font-size: 12px; color: #8b8780; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; padding: 7px 8px; border-radius: 8px;
  transition: background .3s; animation: rowIn .6s var(--ease); }
.rows li b { font-weight: 500; }
.rows li span { font-size: 12px; color: #8b8780; }
.rows li i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #8fcca8; vertical-align: 1px; }
.rows li.waiting { background: #fbe9e1; }
.rows li.waiting em { font-style: normal; color: var(--accent-strong); font-weight: 600; }
/* an agent at work: the title shimmers, as in the app */
.rows li.working b, .conv.working .t { background: linear-gradient(90deg, #6b6a65 0%, #6b6a65 40%, #d8d5ce 50%, #6b6a65 60%, #6b6a65 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 2.4s linear infinite; }
.float-ask { position: absolute; right: -28px; bottom: 70px; width: 270px; padding: 14px; border-radius: 18px; background: #fff;
  border: 1px solid var(--accent); box-shadow: 0 24px 50px -22px rgba(120, 50, 20, .55); font-size: 13.5px; animation: bob 6s ease-in-out infinite; }
.fa-head { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.fa-head img { width: 18px; height: 18px; }
.fa-head span { color: var(--ink-faint); font-weight: 400; }
.fa-q { margin-top: 8px; }
.fa-b, .ask-b, .kc-b { display: flex; gap: 6px; margin-top: 10px; }
.fa-b span, .ask-b span, .kc-b span { position: relative; overflow: hidden; flex: 1; text-align: center; padding: 7px 0; border-radius: 999px;
  border: 1px solid var(--edge); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.fa-b .yes, .ask-b .yes, .kc-b .yes { background: var(--ink); border-color: var(--ink); color: var(--paper); }
code { font: 12.5px var(--mono); padding: 1px 5px; border-radius: 5px; background: var(--paper-deep); white-space: nowrap; }

@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }
@keyframes pulse { 50% { transform: scale(1.5); opacity: .5; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes rowIn { from { opacity: 0; transform: translateY(-6px); } }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* --- agents --- */
.agents { padding: 80px 16px 30px; text-align: center; }
.agents ul { list-style: none; margin: 26px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; }
.agents li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-soft); }
.agents li img { width: 28px; height: 28px; }

/* --- the idea: the seven agents turn slowly around the baton, each logo kept upright; four pillars beside --- */
.concept { max-width: 1120px; margin: 0 auto; padding: 70px 24px 20px; }
.stage { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 48px; padding: 36px 44px; border-radius: 32px;
  background: var(--dots), var(--paper-deep); background-size: var(--dots-size); }
.orbit { position: relative; width: 300px; height: 300px; margin: 0 auto; }
.baton { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px; padding: 16px; border-radius: 26px; background: #fff;
  box-shadow: 0 0 0 5px rgba(217, 119, 87, .22), 0 18px 40px -16px rgba(120, 50, 20, .6); }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed #d9cfc2; animation: turn 60s linear infinite; }
.ring img { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px; padding: 11px; border-radius: 15px; background: #fff;
  box-shadow: 0 10px 22px -12px rgba(80, 40, 20, .5); animation: upright 60s linear infinite;
  transform: rotate(calc(var(--i) * 360deg / 7)) translateY(-150px) rotate(calc(var(--i) * -360deg / 7)); }
@keyframes turn { to { transform: rotate(360deg); } }
@keyframes upright { from { rotate: 0deg; } to { rotate: -360deg; } }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.pillars li { display: grid; grid-template-columns: 26px 1fr; column-gap: 14px; }
.pillars .ic { grid-row: span 2; width: 24px; height: 24px; margin-top: 2px; color: var(--accent-strong); }
.pillars b { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.pillars span { color: var(--ink-soft); font-size: 15px; }

/* --- scenes: each feature as a real moment, words on one side, the moment on the other --- */
.scenes { max-width: 1120px; margin: 0 auto; padding: 80px 24px 40px; }
.scene { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; padding: 70px 0; border-bottom: 1px solid var(--edge); }
.scene:last-child { border-bottom: 0; }
.scene.flip .scene-words { order: 2; }
.kicker { font: 600 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-strong); }
.scene h3 { margin-top: 12px; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.12; font-weight: 600; letter-spacing: -.03em; }
.scene-words p:last-child { margin-top: 14px; color: var(--ink-soft); max-width: 460px; }
.scene-art { position: relative; min-height: 380px; border-radius: 28px; display: grid; place-items: center; padding: 30px; overflow: hidden;
  background: var(--dots), var(--paper-deep); background-size: var(--dots-size); }

/* the phone */
.phone { width: 250px; height: 420px; padding: 40px 14px 14px; border-radius: 38px; background: var(--paper); border: 8px solid var(--ink);
  box-shadow: 0 30px 60px -26px rgba(31, 30, 28, .6); display: flex; flex-direction: column; gap: 10px; position: relative; font-size: 13px; }
.phone-notch { position: absolute; top: 8px; left: 50%; width: 76px; height: 20px; transform: translateX(-50%); border-radius: 999px; background: var(--ink); }
.phone-head { display: flex; align-items: center; gap: 8px; font-weight: 600; padding-bottom: 9px; border-bottom: 1px solid var(--edge); }
.phone-head img, .chat-head img, .kc-head img, .thread-card img { width: 18px; height: 18px; }
.bubble { padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--edge); color: var(--ink-soft); }
.ask { padding: 12px; border-radius: 16px; background: #fff; border: 1px solid var(--accent); margin-top: auto; }
.ask-q { font-weight: 600; }
.bubble.done { opacity: 0; animation: doneIn 7s infinite; }
.tap { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: rgba(255, 255, 255, .7);
  transform: scale(0); animation: tap 7s infinite; }
@keyframes tap { 0%, 38% { transform: scale(0); opacity: 1; } 46% { transform: scale(9); opacity: 0; } 100% { opacity: 0; } }
@keyframes doneIn { 0%, 50% { opacity: 0; transform: translateY(6px); } 56%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* the chat with a thread */
.chat { width: min(420px, 100%); padding: 16px; border-radius: 20px; background: #fff; box-shadow: 0 24px 50px -26px rgba(80, 40, 20, .45);
  display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.chat-head { display: flex; align-items: center; gap: 8px; font-weight: 600; padding-bottom: 10px; border-bottom: 1px solid var(--edge); }
.chat-head span { margin-left: auto; font-weight: 400; font-size: 12px; color: var(--ink-faint); }
.msg { color: var(--ink-soft); }
.thread-card { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 14px; border: 1px solid var(--edge); background: var(--paper);
  flex-wrap: wrap; }
.thread-card div { display: flex; flex-direction: column; }
.thread-card b { font-weight: 600; }
.thread-card span { font-size: 12px; color: var(--ink-faint); }
.thread-card em { margin-left: auto; font-style: normal; font-weight: 600; font-size: 12.5px; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); }
.thread-card.t1 { animation: cardIn 8s infinite; }
.thread-card.t2 { border-color: var(--accent); background: #fdf3ee; animation: cardIn2 8s infinite; }
.thumbs { display: flex; gap: 6px; width: 100%; margin: 4px 0 0; }
.thumbs i { flex: 1; aspect-ratio: 1; border-radius: 8px; background: #e8a07f; }
.thumbs i:nth-child(2n) { background: #f2c48f; }
.thumbs i:nth-child(3n) { background: #d9b48f; }
@keyframes cardIn { 0%, 8% { opacity: 0; transform: translateY(8px); } 14%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes cardIn2 { 0%, 45% { opacity: 0; transform: translateY(8px); } 52%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* the plans */
.plancard, .updcard { width: min(380px, 100%); padding: 16px; border-radius: 20px; background: #fff; box-shadow: 0 24px 50px -26px rgba(80, 40, 20, .45);
  display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.pc-head { font-size: 12px; color: var(--ink-faint); }
.pc-row, .uc-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; }
.pc-row img, .uc-row img { width: 20px; height: 20px; flex: none; }
.pc-row div, .uc-row div { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.pc-row b, .uc-row b { font-weight: 600; }
.pc-row span, .uc-row span { font-size: 12px; color: var(--ink-faint); }
.pc-row.on { background: var(--paper-deep); }
.pc-row em { font-style: normal; color: var(--accent-strong); font-weight: 700; }
.pc-bar { display: grid; grid-template-columns: 56px 1fr 38px; align-items: center; gap: 10px; padding: 0 10px; font-size: 12px; color: var(--ink-soft); }
.pc-bar i { position: relative; height: 7px; border-radius: 4px; background: var(--paper-deep); overflow: hidden; }
.pc-bar i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: 4px; background: var(--accent);
  animation: fill 7s var(--ease) infinite; }
.pc-bar b { text-align: right; font-weight: 600; color: var(--ink); }
@keyframes fill { 0% { width: 0; } 25%, 92% { width: var(--p); } 100% { width: 0; } }

/* the update */
.uc-row { border: 1px solid var(--edge); }
.uc-state { display: grid; }
.uc-state > span { grid-area: 1 / 1; }
.uc-from { animation: ucFrom 7s infinite; }
.uc-to { color: var(--ok) !important; font-weight: 600; opacity: 0; animation: ucTo 7s infinite; }
@keyframes ucFrom { 0%, 44% { opacity: 1; } 48%, 96% { opacity: 0; } 100% { opacity: 1; } }
@keyframes ucTo { 0%, 44% { opacity: 0; } 48%, 94% { opacity: 1; } 100% { opacity: 0; } }
.uc-btn { position: relative; overflow: hidden; padding: 6px 14px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: 12.5px; }
.uc-new { list-style: none; margin: 0; padding: 4px 10px 0; display: flex; flex-direction: column; gap: 6px; color: var(--ink-soft); }
.uc-new li { opacity: 0; animation: doneIn 7s infinite; }
.uc-new li:nth-child(2) { animation-delay: .25s; } .uc-new li:nth-child(3) { animation-delay: .5s; }

/* the browser and the terminal */
.browser { position: relative; width: min(380px, 92%); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 24px 50px -26px rgba(80, 40, 20, .45);
  transform: translate(-30px, -30px); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #efebe5; font-size: 12px; color: var(--ink-faint); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d9d3c9; }
.browser-bar span { margin-left: 10px; padding: 3px 10px; border-radius: 6px; background: #fff; }
.shop { padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.shop-row { display: flex; align-items: center; gap: 10px; }
.shop-row i { width: 30px; height: 30px; border-radius: 8px; background: #e8a07f; }
.shop-row span { margin-left: auto; }
.shop-total { display: flex; justify-content: space-between; padding-top: 8px; border-top: 1px solid var(--edge); color: var(--ink-soft); }
.shop-btn { text-align: center; padding: 9px; border-radius: 10px; background: var(--ink); color: var(--paper); font-weight: 600; animation: press 6s infinite; }
.pointer { position: absolute; width: 22px; height: 22px; fill: var(--ink); stroke: #fff; stroke-width: 1.5; left: 70%; top: 30%; animation: point 6s var(--ease) infinite; }
@keyframes point { 0%, 10% { left: 75%; top: 25%; } 40%, 70% { left: 50%; top: 84%; } 100% { left: 75%; top: 25%; } }
@keyframes press { 0%, 42% { transform: none; } 46% { transform: scale(.96); background: var(--accent-strong); } 52%, 100% { transform: none; } }
.term { position: absolute; right: 24px; bottom: 24px; width: min(300px, 70%); padding: 14px 16px; border-radius: 14px; background: var(--ink); color: #ece8e1;
  font: 12.5px/1.7 var(--mono); box-shadow: 0 24px 50px -24px rgba(31, 30, 28, .6); }
.term span { color: var(--accent); }
.term .l2, .term .l3, .term .l4 { opacity: 0; animation: line 6s infinite; }
.term .l3 { animation-delay: .4s; }
.term .l4 { animation-name: lineLate; }
.term .ok { color: #8fcca8; }
@keyframes line { 0%, 12% { opacity: 0; } 18%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes lineLate { 0%, 50% { opacity: 0; } 56%, 94% { opacity: 1; } 100% { opacity: 0; } }

/* the key request */
.keycard { position: relative; width: min(360px, 100%); padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--accent);
  box-shadow: 0 24px 50px -26px rgba(120, 50, 20, .5); display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.kc-head { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.kc-name code { font-size: 15px; padding: 4px 9px; }
.kc-from { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); }
.kc-from img { width: 18px; height: 18px; }
.kc-b .yes { flex: 1.8; }
.kc-done { color: var(--ok); font-weight: 600; opacity: 0; animation: doneIn 7s infinite; }

/* dictation */
.dictate { width: min(420px, 100%); padding: 22px; border-radius: 20px; background: #fff; box-shadow: 0 24px 50px -26px rgba(80, 40, 20, .45); }
.bars { display: flex; align-items: center; gap: 4px; height: 44px; }
.bars i { width: 5px; border-radius: 4px; background: var(--accent); animation: bar 1.2s ease-in-out infinite; }
.bars i:nth-child(3n) { animation-delay: -.4s; } .bars i:nth-child(3n+1) { animation-delay: -.8s; } .bars i:nth-child(4n) { animation-duration: .9s; }
@keyframes bar { 0%, 100% { height: 8px; } 50% { height: 40px; } }
.said { margin-top: 16px; font-size: 17px; line-height: 1.5; font-weight: 500; letter-spacing: -.01em; }
.said span { opacity: .15; animation: word 9s infinite; }
@keyframes word { 0% { opacity: .15; } 6%, 90% { opacity: 1; } 100% { opacity: .15; } }

/* --- safety --- */
.safe { max-width: 1120px; margin: 0 auto; padding: 90px 24px; }
.marquee { margin-top: 40px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; gap: 12px; width: max-content; animation: roll 40s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes roll { to { transform: translateX(calc(-50% - 6px)); } }
.sw { display: inline-flex; align-items: center; gap: 12px; padding: 9px 9px 9px 18px; border-radius: 999px; background: #fff;
  border: 1px solid var(--edge); font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.sw b { position: relative; padding: 4px 12px 4px 30px; border-radius: 999px; background: #e3f1e8; color: var(--ok); font-size: 12.5px; }
.sw b::before { content: ''; position: absolute; left: 8px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: currentColor; }
.sw b.off { background: #f1ece5; color: var(--ink-faint); }
.kinds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 48px 0 40px; border-top: 1px solid var(--edge); }
.kind { padding: 22px 20px 0 0; }
.kind + .kind { padding-left: 20px; border-left: 1px solid var(--edge); }
.kind-items { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; font-weight: 600; }
.kind-items span { display: flex; align-items: center; gap: 8px; }
.kind-items img, .kind-items .ic { width: 22px; height: 22px; }
.kind-items .soft { color: var(--ink-faint); font-weight: 400; font-size: 14px; }

/* --- pricing --- */
.pricing { padding: 20px 24px 90px; }
.pricing-box { position: relative; isolation: isolate; overflow: hidden; max-width: 1120px; margin: 0 auto; padding: 60px 28px 28px; border-radius: 36px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.plan, .addon { display: flex; flex-direction: column; padding: 26px; border-radius: 24px; background: rgba(250, 249, 247, .78);
  border: 1px solid rgba(255, 255, 255, .8); backdrop-filter: blur(18px) saturate(1.3); }
.plan.main { background: rgba(255, 255, 255, .92); border-color: var(--accent); box-shadow: 0 0 0 3px rgba(217, 119, 87, .18); }
.plan-name { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.plan-name .ic { color: var(--accent-strong); }
.price { margin-top: 16px; font-size: 46px; line-height: 1; font-weight: 650; letter-spacing: -.045em; }
.price small { margin-left: 6px; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--ink-faint); }
.plan-what { margin-top: 12px; color: var(--ink-soft); font-size: 14.5px; }
.plan dl, .addon-dl { display: grid; grid-template-columns: auto 1fr; gap: 9px 14px; margin: 20px 0 24px; padding-top: 18px; border-top: 1px solid var(--edge); font-size: 14px; }
.plan dt, .addon-dl dt { color: var(--ink-faint); }
.plan dd, .addon-dl dd { margin: 0; }
.plan .pill { margin-top: auto; align-self: flex-start; }
.soon-pill { pointer-events: none; color: var(--ink-faint); }
.addon { margin-top: 14px; display: grid; grid-template-columns: 1fr 1.4fr auto; align-items: center; gap: 8px 28px; }
.addon .plan-what { margin: 0; }
.addon-dl { margin: 0; padding: 0; border: 0; }
.fine-print { margin-top: 18px; font-size: 12.5px; color: var(--ink-soft); }

/* --- get it --- */
.get { max-width: 880px; margin: 0 auto; padding: 60px 16px 40px; }
.install-box { margin-top: 32px; border-radius: 22px; background: var(--ink); color: #ece8e1; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(31, 30, 28, .6); }
.os { display: flex; gap: 4px; padding: 10px; background: #2a2926; }
.os button { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border: 0; border-radius: 10px; background: none; color: #b9b4ab; font-size: 14px; font-weight: 600; cursor: pointer; }
.os button img, .os button .ic { width: 18px; height: 18px; filter: invert(1) brightness(1.4); }
.os button .ic { filter: none; }
.os button[aria-selected="true"] { background: #3a3835; color: #fff; }
.cmd { position: relative; }
.cmd pre { margin: 0; padding: 20px 22px; overflow-x: auto; font: 14px/1.8 var(--mono); }
.cmd code { display: block; padding: 0; background: none; color: inherit; font: inherit; white-space: pre; }
.cmd code[hidden] { display: none; }
.cmd .dim { color: var(--accent); }
.copy { position: absolute; top: 14px; right: 14px; padding: 6px 12px; border: 1px solid #4a4844; border-radius: 8px; background: #2a2926; color: #ece8e1; font-size: 12.5px; cursor: pointer; }
.needs { display: flex; align-items: center; gap: 10px; padding: 14px 22px; border-top: 1px solid #34322f; color: #b9b4ab; font-size: 13.5px; }
.needs img { width: 18px; height: 18px; flex: none; }
.gh { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 22px; margin-top: 26px; }
.gh-star { display: inline-flex; align-items: center; gap: 10px; padding: 9px 8px 9px 16px; border-radius: 999px; border: 1px solid var(--edge); background: #fff;
  font-weight: 600; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s; }
.gh-star:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(31, 30, 28, .5); }
.gh-star img { width: 20px; height: 20px; }
.gh-star .stars { padding: 3px 10px; border-radius: 999px; background: var(--paper-deep); font-size: 13px; }
.gh-star .stars::before { content: '★ '; color: var(--accent-strong); }
.gh-star:not(:has(.stars:not([hidden]))) { padding-right: 16px; }
.gh-link { color: var(--ink-soft); font-size: 14.5px; }

/* --- voices --- */
.voices { max-width: 1120px; margin: 0 auto; padding: 60px 24px 90px; }
.quotes { margin-top: 30px; }
.quote-empty { max-width: 560px; margin: 0 auto; padding: 30px; border: 1.5px dashed #d9cfc2; border-radius: 24px; text-align: center; color: var(--ink-soft);
  display: flex; flex-direction: column; align-items: center; gap: 18px; }

/* --- footer --- */
.foot { max-width: 1120px; margin: 0 auto; padding: 36px 24px 40px; border-top: 1px solid var(--edge);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.foot nav { display: flex; gap: 24px; font-size: 14.5px; color: var(--ink-soft); }
.foot nav a { text-decoration: none; }
.fine { flex-basis: 100%; font-size: 10.5px; }

/* --- narrow screens --- */
@media (max-width: 900px) {
  .scene { grid-template-columns: 1fr; gap: 28px; padding: 50px 0; }
  .scene.flip .scene-words { order: 0; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .addon { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .kinds { grid-template-columns: 1fr 1fr; }
  .stage { grid-template-columns: 1fr; gap: 36px; }
  .kind:nth-child(3) { padding-left: 0; border-left: 0; }
  .float-ask { right: 8px; bottom: -40px; width: 240px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding-bottom: 150px; }
  .showcase { margin-top: -120px; }
  .window { border-radius: 12px; }
  .window-bar { height: 24px; }
  .window-bar i { width: 8px; height: 8px; }
  .float-ask { position: relative; right: auto; bottom: auto; margin: -30px 12px 0 auto; }
  .scenes, .safe { padding-left: 16px; padding-right: 16px; }
  .scene-art { min-height: 340px; padding: 20px; }
  .browser { transform: translate(-6px, -40px); }
  .kinds { grid-template-columns: 1fr; }
  .concept { padding-left: 16px; padding-right: 16px; }
  .stage { padding: 28px 20px; }
  .orbit { scale: .8; margin: -30px auto; }
  .kind, .kind + .kind { padding: 18px 0 0; border-left: 0; }
  .pricing { padding: 10px 12px 70px; }
  .pricing-box { padding: 44px 12px 12px; border-radius: 26px; }
  .os button { padding: 8px 10px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .bubble.done, .kc-done, .uc-new li, .uc-to, .term .l2, .term .l3, .term .l4, .said span { opacity: 1; }
  .uc-from { opacity: 0; }
  html { scroll-behavior: auto; }
}
