/* Wireframe marketing site. Same palette as the kit: greyscale, blue = agent, orange = comments. */
:root {
  --ink: #1C1C1A; --ink2: #3A3A36; --muted: #55554F; --line: #8A887F; --soft: #C9C7BF; --div: #D6D4CC;
  --fill: #EFEDE6; --paper: #F7F6F2; --white: #FFFFFF;
  --agent: #2B59C3; --agent-soft: #EAF0FB; --agent-ink: #1E3F8A; --agent-light: #8FB0F5;
  --cmt: #C2410C; --cmt-light: #F0A47A; --ok: #9BD3A4;
  --display: 'Space Grotesk', Inter, system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--ink); }
a:hover { color: var(--ink2); }
:focus-visible { outline: 2px solid var(--agent); outline-offset: 2px; }
img, svg { display: block; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.eyebrow { font: 500 13px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
h1, h2, h3 { margin: 0; font-family: var(--display); letter-spacing: -.015em; }
h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: 1; font-weight: 700; letter-spacing: -.025em; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; font-weight: 700; }
h3 { font-size: 20px; line-height: 1.25; }
p { margin: 0; }
.lead { font-size: 18px; line-height: 1.6; color: var(--ink2); max-width: 640px; }
.kbd { font: 500 15px var(--mono); background: #E9E7E0; padding: 2px 7px; border-radius: 4px; white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 8px; font-size: 16px; font-weight: 600; text-decoration: none; border: 1.5px solid var(--ink); white-space: nowrap; }
.btn.pri { background: var(--ink); color: var(--white); }
.btn.pri:hover { background: var(--ink2); color: var(--white); }
.btn.sec { background: var(--white); color: var(--ink); }
.btn.sec:hover { background: var(--fill); }
.btn.inv { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn.inv:hover { background: var(--white); }
.btn.ghost-inv { color: var(--paper); border-color: var(--paper); background: transparent; }
.btn.ghost-inv:hover { background: var(--ink2); color: var(--paper); }

.card { background: var(--white); border: 1.5px solid var(--ink); border-radius: 12px; }
.soft { background: var(--white); border: 1px solid var(--div); border-radius: 12px; }
.code { position: relative; background: var(--ink); color: #E9E7E0; border-radius: 10px; font: 14px/1.7 var(--mono); padding: 16px 18px; margin: 0; white-space: pre-wrap; overflow-x: auto; }
.code .p { color: var(--agent-light); } .code .d { color: #A8A69E; } .code .ok { color: var(--ok); } .code .c { color: var(--cmt-light); }
.code:has(.copy) { padding-right: 84px; }
.copy { position: absolute; top: 10px; right: 10px; font: 500 12px var(--mono); color: #E9E7E0; background: transparent; border: 1px solid #55554F; border-radius: 6px; padding: 4px 9px; cursor: pointer; min-height: 30px; }
.copy:hover { border-color: #A8A69E; }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 12px var(--mono); border-radius: 4px; padding: 2px 7px; }
.tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.checks { display: flex; flex-direction: column; gap: 12px; }

/* header */
.top { border-bottom: 1.5px solid var(--ink); background: var(--white); position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo { width: 34px; height: 34px; flex: none; color: var(--ink); }
.brand b { font: 700 19px var(--display); }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { text-decoration: none; font-size: 15px; color: var(--ink2); }
.nav a:hover { color: var(--ink); text-decoration: underline; }
.top .actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.top .btn { min-height: 44px; font-size: 15px; padding: 0 18px; }
@media (max-width: 900px) { .nav { display: none; } }
@media (max-width: 520px) { .top .gh { display: none; } }

/* hero */
.hero { padding-top: 72px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 40px; }
.hero-head { display: flex; flex-direction: column; gap: 22px; }
.hero-row { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-copy { flex: 1 1 520px; display: flex; flex-direction: column; gap: 22px; }
.hero-term { flex: 1 1 380px; min-width: 0; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* browser mock */
.mock { overflow: hidden; box-shadow: 8px 8px 0 var(--div); }
.chrome { height: 40px; border-bottom: 1.5px solid var(--ink); display: flex; align-items: center; gap: 8px; padding: 0 14px; background: var(--white); }
.chrome i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--line); }
.chrome .url { margin-left: 12px; font: 12px var(--mono); color: var(--muted); background: var(--paper); border-radius: 6px; padding: 3px 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.screen { display: flex; position: relative; background: var(--paper); min-height: 560px; }
.side { flex: none; width: 200px; background: var(--white); border-right: 1.5px solid var(--ink); padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; }
.side .b { display: flex; align-items: center; gap: 8px; padding: 0 6px 14px; font-weight: 700; font-size: 14px; }
.blk { background: var(--fill); border: 1px solid var(--div); border-radius: 6px; width: 22px; height: 22px; }
.side .i { font-size: 13px; padding: 8px 10px; border-radius: 6px; display: flex; justify-content: space-between; }
.side .i.on { background: var(--ink); color: var(--white); font-weight: 600; }
.side .i.on span { border: 1px solid var(--white); border-radius: 9px; padding: 0 7px; font-size: 11px; }
.main { flex: 1; min-width: 0; padding: 26px 28px 96px; display: flex; flex-direction: column; gap: 16px; }
.main .head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.main .head b { font: 700 26px var(--display); }
.pill-btn { border: 1.5px solid var(--ink); border-radius: 6px; padding: 7px 12px; font-size: 13px; background: var(--white); }
.pill-btn.dark { background: var(--ink); color: var(--white); }
.tbl { overflow: hidden; font-size: 13px; }
.tr { display: grid; grid-template-columns: 22px 1.4fr 1.2fr 1fr .8fr; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #E3E1DA; align-items: center; }
.tr.th { border-bottom: 1.5px solid var(--ink); font-size: 12px; font-weight: 600; color: var(--muted); padding: 10px 14px; }
.tr:last-child { border-bottom: 0; }
.tr.sel { background: var(--fill); }
.tr.cmt { outline: 2px dashed var(--cmt); outline-offset: -2px; }
.tr .r { text-align: right; }
.box { width: 16px; height: 16px; border: 1.5px solid var(--ink); border-radius: 3px; }
.box.on { background: var(--ink); }
.badge { border: 1.5px solid var(--ink); border-radius: 10px; padding: 0 8px; font-size: 12px; white-space: nowrap; }
.badge.dash { border-style: dashed; }
.pin { position: absolute; width: 28px; height: 28px; border-radius: 50% 50% 50% 0; background: var(--agent); color: var(--white); border: 2px solid var(--white); display: flex; align-items: center; justify-content: center; animation: ring 1.6s ease-out infinite; }
.pin svg { animation: spin 1.4s linear infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(43,89,195,.55); } 100% { box-shadow: 0 0 0 12px rgba(43,89,195,0); } }
@keyframes spin { to { transform: rotate(360deg); } }
.thread { position: absolute; right: 24px; top: 128px; width: min(360px, calc(100% - 48px)); background: var(--white); border: 1.5px solid var(--ink); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 10px; box-shadow: 6px 6px 0 var(--cmt); font-size: 14px; }
.thread .row { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.st { font: 11px var(--mono); border-radius: 4px; padding: 1px 6px; background: var(--agent-soft); color: var(--agent-ink); }
.act { border: 1.5px solid var(--agent); background: var(--agent-soft); border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; color: var(--agent-ink); font-size: 13px; }
.act .ah { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.act .ah .t { margin-left: auto; font: 500 11px var(--mono); }
.spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .9s linear infinite; flex: none; }
.act .where { font-size: 12px; color: var(--ink2); }
.act ol { margin: 0; padding: 0; list-style: none; font: 11.5px/1.5 var(--mono); color: var(--ink2); display: flex; flex-direction: column; gap: 2px; }
.act ol li span { color: var(--muted); margin-right: 8px; }
.act ol li:last-child { color: var(--agent-ink); font-weight: 600; }
.toolbar { position: absolute; left: 228px; bottom: 18px; display: flex; align-items: center; gap: 4px; background: var(--ink); color: var(--white); border-radius: 24px; padding: 5px; font-size: 13px; white-space: nowrap; max-width: calc(100% - 24px); overflow: hidden; }
.toolbar > span { padding: 6px 12px; display: flex; align-items: center; gap: 7px; }
.toolbar .u { border: 1.5px solid rgba(255,255,255,.35); border-radius: 20px; padding: 4px 12px 4px 4px; }
.toolbar .av { width: 24px; height: 24px; border-radius: 50%; background: var(--agent); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; }
.toolbar .cnt { background: var(--cmt); border-radius: 9px; font-size: 11px; font-weight: 700; padding: 0 6px; }
.toolbar .busy { background: var(--agent); border-radius: 18px; }
@media (max-width: 760px) {
  .side { display: none; }
  .tr { grid-template-columns: 22px 1.3fr 1fr .9fr; } .tr > :nth-child(4) { display: none; }
  .thread { position: relative; right: auto; top: auto; width: auto; margin: 0 16px 90px; }
  .screen { flex-direction: column; }
  .main { padding-bottom: 20px; }
  .pin { display: none; }
  .toolbar .opt, .toolbar .u { display: none; }
  .toolbar { left: 50%; transform: translateX(-50%); }
  .screen { min-height: 0; }
}

/* sections */
section { scroll-margin-top: 80px; }
.band { border-top: 1.5px solid var(--ink); background: var(--white); }
.band.dark { background: var(--ink); color: var(--paper); border-top: 0; }
.pad { padding-top: 88px; padding-bottom: 88px; }
.stack { display: flex; flex-direction: column; gap: 36px; }
.intro { display: flex; flex-direction: column; gap: 14px; }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.step .num { font: 13px var(--mono); color: var(--muted); }
.step p { color: var(--ink2); line-height: 1.55; }
.step.agent { border-color: var(--agent); box-shadow: 5px 5px 0 var(--agent); }
.step.agent .num { color: var(--agent); }

.users { padding: 22px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.users .hd { display: flex; justify-content: space-between; align-items: center; padding-bottom: 6px; }
.users .hd b { font: 700 20px var(--display); }
.uc { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 10px; background: var(--white); border: 1.5px solid var(--div); }
.uc .av { width: 36px; height: 36px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; background: var(--fill); border: 1.5px solid var(--line); }
.uc .who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.uc .who b { font-size: 15px; } .uc .who span { font-size: 13px; color: var(--muted); }
.uc .chip { border: 1px solid var(--soft); color: var(--muted); }
.uc.sel { border: 2px solid var(--agent); box-shadow: 4px 4px 0 var(--agent); }
.uc.sel .av { background: var(--agent); border-color: var(--agent); color: var(--white); }
.uc.sel .chip { border-color: var(--agent); color: var(--agent-ink); }

.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.flow > div { border: 1.5px solid var(--muted); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.flow .k { font: 12px var(--mono); color: var(--soft); }
.flow b { font-size: 18px; }
.flow span:last-child { color: var(--soft); line-height: 1.55; font-size: 15px; }
.dark .lead { color: var(--div); }
.dark .eyebrow { color: var(--soft); }

.feat { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.feat h3 { font-size: 21px; }
.feat p { color: var(--ink2); font-size: 15px; line-height: 1.55; }
.feat .k { font: 12px var(--mono); color: var(--muted); }

.lib { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.lib .k { font: 12px var(--mono); color: var(--muted); }
.chart { display: flex; align-items: flex-end; gap: 6px; height: 64px; border-bottom: 1.5px solid var(--ink); }
.chart i { flex: 1; background: var(--line); } .chart i.hi { background: var(--ink); }
.stepper { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.stepper .d { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; }
.stepper .d.done { background: var(--ink); color: var(--white); } .stepper .d.cur { border: 2px solid var(--ink); font-weight: 700; } .stepper .d.next { border: 1.5px solid var(--line); color: var(--muted); }
.stepper .l { flex: 1; height: 2px; background: var(--ink); } .stepper .l.off { background: var(--div); }
.tabs { display: flex; gap: 18px; font-size: 14px; border-bottom: 1.5px solid var(--div); }
.tabs span { padding-bottom: 8px; color: var(--muted); } .tabs span.on { border-bottom: 2.5px solid var(--ink); font-weight: 600; color: var(--ink); margin-bottom: -1.5px; }
.field { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 500; }
.field i { height: 36px; border: 1.5px solid var(--line); border-radius: 6px; background: var(--white); }
.dlg { border: 1.5px solid var(--ink); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 8px; box-shadow: 4px 4px 0 var(--line); background: var(--white); }
.bar { height: 8px; border-radius: 4px; background: var(--div); }

.setup { display: flex; flex-direction: column; gap: 10px; }
.setup .soft { padding: 16px 18px; display: flex; gap: 14px; align-items: center; }
.setup .soft div { flex: 1; } .setup .soft div span { display: block; font-size: 14px; color: var(--muted); }
.n { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); flex: none; }
.setup .now { border: 2px solid var(--agent); }
.setup .now .n { border: 2px solid var(--agent); color: var(--agent-ink); font-weight: 700; }

.install { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.install > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.install .num { font: 13px var(--mono); color: var(--muted); }
.cmds { padding: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px 32px; }
.cmds div { display: flex; flex-direction: column; gap: 6px; }
.cmds .mono { font-size: 13px; } .cmds span:last-child { font-size: 14px; color: var(--muted); }

.faq { border-top: 1px solid var(--div); padding: 20px 0; display: flex; flex-direction: column; gap: 8px; }
.faq:last-child { border-bottom: 1px solid var(--div); }
.faq b { font-size: 17px; } .faq p { color: var(--ink2); font-size: 15.5px; line-height: 1.6; }

.cta { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.cta h2 { flex: 1 1 520px; }
.foot { padding-bottom: 32px; padding-top: 24px; display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--soft); border-top: 1px solid var(--ink2); }
.foot a { color: var(--soft); } .foot a:hover { color: var(--paper); }
.foot .r { margin-left: auto; }

@media (max-width: 600px) {
  .pad { padding-top: 64px; padding-bottom: 64px; }
  .hero { padding-top: 48px; gap: 28px; }
  .btn { white-space: normal; text-align: center; }
  .code { font-size: 12.5px; }
  .foot .r { margin-left: 0; }
}
