/* ==========================================================================
   pawkit.cyberfurry.ai
   Palette is lifted from the Pawkit emblem: slate tile, wolf ink, collar green.
   Light / dark follow the OS via light-dark(); [data-theme] pins a choice.
   ========================================================================== */

:root {
  color-scheme: light dark;

  --bg:        light-dark(#f6f8f9, #0b0f13);
  --bg-elev:   light-dark(#ffffff, #11171d);
  --bg-sunk:   light-dark(#eef2f4, #080b0e);
  --bg-hover:  light-dark(rgba(16, 32, 44, .045), rgba(220, 236, 246, .06));
  --ink:       light-dark(#0a1015, #edf3f5);
  --ink-2:     light-dark(#46525c, #a5b1ba);
  --ink-3:     light-dark(#7a8690, #6c7983);
  --line:      light-dark(rgba(16, 32, 44, .10), rgba(220, 236, 246, .085));
  --line-2:    light-dark(rgba(16, 32, 44, .17), rgba(220, 236, 246, .15));
  --accent:    light-dark(#087b5c, #6ff2c1);
  --accent-2:  light-dark(#06684d, #9af7d4);
  --accent-ink:light-dark(#ffffff, #032419);
  --accent-wash:light-dark(rgba(8, 123, 92, .075), rgba(111, 242, 193, .075));
  --solid:     light-dark(#0a1015, #edf3f5);
  --solid-ink: light-dark(#ffffff, #0a1015);
  --add:       light-dark(#15803d, #4ade80);
  --del:       light-dark(#b91c1c, #f87171);

  /* emblem */
  --pk-tile-0: light-dark(#f7fbfc, #21303b);
  --pk-tile-1: light-dark(#dde9ed, #0d151d);
  --pk-edge-0: light-dark(#cedcdf, #4a5b64);
  --pk-edge-1: light-dark(#a0b4bb, #26333c);
  --pk-wolf:   light-dark(#25323c, #edf5f6);
  --pk-collar: light-dark(#087b5c, #6ff2c1);

  --sans: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "PingFang SC",
    "HarmonyOS Sans SC", "MiSans", "Hiragino Sans GB", "Segoe UI Variable Display", "Segoe UI",
    "Microsoft YaHei UI", "Noto Sans SC", system-ui, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", "Cascadia Mono", ui-monospace, Menlo, Consolas, monospace;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --ch: 12px;           /* emblem chamfer */
  --ease: cubic-bezier(.2, .7, .2, 1);
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"]  { color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  font-feature-settings: "kern", "palt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ol, ul, blockquote, figure, pre { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { display: block; }
code, kbd, .mono { font-family: var(--mono); font-feature-settings: "liga" 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--solid); color: var(--solid-ink); padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }

/* emblem symbol colouring */
.pk-tile-0 { stop-color: var(--pk-tile-0); }
.pk-tile-1 { stop-color: var(--pk-tile-1); }
.pk-edge-0 { stop-color: var(--pk-edge-0); }
.pk-edge-1 { stop-color: var(--pk-edge-1); }
.pk-wolf { fill: var(--pk-wolf); }
.pk-collar { fill: var(--pk-collar); }

/* ---------- buttons ---------- */
.btn {
  --h: 40px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 18px;
  font-size: 15px; font-weight: 560; letter-spacing: -.005em; white-space: nowrap;
  clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0 calc(100% - 7px), 0 7px);
  transition: background-color .16s var(--ease), color .16s var(--ease), box-shadow .16s var(--ease);
}
.btn .i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.btn-sm { --h: 32px; padding: 0 14px; font-size: 14px; }
.btn-lg { --h: 50px; padding: 0 24px; font-size: 16px; }
.btn-solid { background: var(--solid); color: var(--solid-ink); }
.btn-solid:hover { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink); }
.btn-ghost:hover { background: color-mix(in srgb, var(--ink) 11%, transparent); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; height: 60px; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 28px; height: 28px; }
.brand-name { font-size: 15px; letter-spacing: -.01em; color: var(--ink-2); white-space: nowrap; }
.brand-name b { color: var(--ink); font-weight: 640; }
.nav-links { display: flex; gap: 26px; margin-left: 8px; }
.nav-links a { font-size: 14px; color: var(--ink-2); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 14px; }

.theme { display: flex; padding: 2px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); }
.theme button { width: 28px; height: 26px; display: grid; place-items: center; border-radius: 6px; color: var(--ink-3); transition: color .15s, background-color .15s; }
.theme button:hover { color: var(--ink); }
.theme button[aria-checked="true"] { background: var(--bg-hover); color: var(--ink); }
.theme svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- shared section scaffolding ---------- */
.sec { padding: clamp(88px, 12vw, 152px) 0; }
.sec-alt { background: var(--bg-sunk); border-block: 1px solid var(--line); }
.sec-line { border-top: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 72px); }
.sec-head-row { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 64px; align-items: end; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-2); letter-spacing: .02em; margin-bottom: 22px; }
.eyebrow .mono { color: var(--accent); font-size: 12px; }
.eyebrow .mono::after { content: ""; display: inline-block; width: 24px; height: 1px; background: var(--line-2); vertical-align: middle; margin-left: 12px; }
.sec-title { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.12; font-weight: 660; letter-spacing: -.03em; }
.sec-lede { margin-top: 22px; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.8; color: var(--ink-2); max-width: 640px; }
.sec-head-row .sec-lede { margin-top: 0; }
.fine { margin-top: 40px; font-size: 13px; color: var(--ink-3); }
.fine a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.fine a:hover { color: var(--accent); text-decoration-color: currentColor; }
.add { color: var(--add); font-weight: 560; }
.del { color: var(--del); font-weight: 560; }

/* ---------- chamfered frame (emblem silhouette) ---------- */
.frame {
  --c: var(--ch);
  position: relative;
  padding: 1px;
  background: var(--line-2);
  clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c));
}
.frame-in {
  --c: calc(var(--ch) - .5px);
  clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c));
}
.hero-shot, .gallery .frame { filter: drop-shadow(0 30px 60px light-dark(rgba(20, 40, 55, .14), rgba(0, 0, 0, .5))) drop-shadow(0 4px 12px light-dark(rgba(20, 40, 55, .06), rgba(0, 0, 0, .3))); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { padding: clamp(56px, 9vw, 112px) 0 clamp(72px, 9vw, 120px); }
.hero-copy { max-width: 820px; }
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  height: 30px; padding: 0 12px 0 10px; margin-bottom: 32px;
  font-size: 13px; color: var(--ink-2);
  border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2);
  transition: color .15s, box-shadow .15s;
}
.tag:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--accent); }
.tag-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }
.tag-sep { width: 1px; height: 12px; background: var(--line-2); }
.tag .mono { font-size: 12px; }
.hero-title {
  font-size: clamp(46px, 8.2vw, 104px);
  line-height: 1.04; font-weight: 680; letter-spacing: -.045em;
}
.hero-lede { margin-top: 30px; max-width: 600px; font-size: clamp(17px, 1.55vw, 19px); line-height: 1.8; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 26px; font-size: 13px; color: var(--ink-3); }
.hero-meta span:not(.hero-meta-note)::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 8px; vertical-align: middle; background: var(--ink-3); transform: rotate(45deg); }
.hero-meta-note { padding-left: 18px; border-left: 1px solid var(--line-2); }
.hero-shot { margin-top: clamp(56px, 8vw, 96px); }

/* ==========================================================================
   APP RECREATION — tokens mirror Pawkit's own design system
   ========================================================================== */
.app {
  --a-bg:       light-dark(#ffffff, #212121);
  --a-side:     light-dark(#f7f7f8, #171717);
  --a-panel:    light-dark(#fbfbfb, #1b1b1b);
  --a-comp:     light-dark(#ffffff, #2c2c2e);
  --a-subtle:   light-dark(#f3f4f6, #2a2a2c);
  --a-hover:    light-dark(rgba(0,0,0,.048), rgba(255,255,255,.055));
  --a-active:   light-dark(rgba(0,0,0,.075), rgba(255,255,255,.092));
  --a-bubble:   light-dark(#dbeafe, #1b3a6b);
  --a-bubble-t: light-dark(#0f172a, #eff6ff);
  --a-code:     light-dark(#f6f6f7, #171717);
  --a-t1:       light-dark(#0d0d0d, #ececec);
  --a-t2:       light-dark(#5d5d5d, #a4a4aa);
  --a-t3:       light-dark(#787880, #84848c);
  --a-b1:       light-dark(rgba(0,0,0,.065), rgba(255,255,255,.072));
  --a-b2:       light-dark(rgba(0,0,0,.11), rgba(255,255,255,.115));
  --a-blue:     light-dark(#2563eb, #3b82f6);
  --a-btn:      light-dark(#0d0d0d, #f5f5f5);
  --a-btn-t:    light-dark(#ffffff, #0d0d0d);
  --a-ok:       light-dark(#16a34a, #22c55e);
  --a-bad:      light-dark(#dc2626, #ef4444);
  --a-addbg:    light-dark(rgba(22,163,74,.1), rgba(34,197,94,.13));
  --a-delbg:    light-dark(rgba(220,38,38,.1), rgba(239,68,68,.14));

  background: var(--a-bg);
  color: var(--a-t1);
  font: 13px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", "PingFang SC", "Microsoft YaHei UI", system-ui, sans-serif;
  letter-spacing: 0;
  user-select: none;
  -webkit-user-select: none;
}
.app[data-shot-theme="light"] { color-scheme: light; }
.app[data-shot-theme="dark"]  { color-scheme: dark; }
.app svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.app .add { color: var(--a-ok); }
.app .del { color: var(--a-bad); }
.app code { font-size: 12px; padding: 1px 5px; border-radius: 4px; background: var(--a-subtle); }

.app-bar { height: 40px; display: flex; align-items: center; gap: 14px; padding: 0 14px; border-bottom: 1px solid var(--a-b1); background: var(--a-bg); }
.lights { display: flex; gap: 8px; width: 234px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: var(--a-active); }
.app-bar-title { font-weight: 560; font-size: 13px; }
.app-bar-tools { margin-left: auto; display: flex; align-items: center; gap: 14px; color: var(--a-t3); }
.chip-diff { font: 600 11.5px/1 var(--mono); display: flex; gap: 6px; padding: 5px 8px; border-radius: 6px; background: var(--a-subtle); }

.app-body { display: flex; height: 600px; }
.app-side { width: 248px; flex: none; background: var(--a-side); border-right: 1px solid var(--a-b1); padding: 12px 10px; display: flex; flex-direction: column; gap: 4px; }
.side-search { height: 30px; padding: 0 10px; display: flex; align-items: center; border-radius: 7px; background: var(--a-hover); color: var(--a-t3); font-size: 12.5px; margin-bottom: 6px; }
.side-new, .side-item, .side-proj { height: 30px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border-radius: 7px; color: var(--a-t2); white-space: nowrap; overflow: hidden; }
.side-new { color: var(--a-t1); }
.side-proj { margin-top: 10px; font-size: 12px; color: var(--a-t3); font-weight: 560; }
.side-item { padding-left: 33px; }
.side-item.is-active, .side-new.is-active { background: var(--a-active); color: var(--a-t1); }
.side-item.is-active { padding-left: 13px; }
.dot-unread { width: 6px; height: 6px; border-radius: 50%; background: var(--a-blue); margin-left: auto; }
.spin { width: 12px; height: 12px; margin: 0 2px 0 0; border-radius: 50%; border: 1.6px solid var(--a-b2); border-top-color: var(--a-t1); animation: spin 1s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.side-foot { margin-top: auto; padding: 10px; border-top: 1px solid var(--a-b1); }
.side-usage { display: flex; justify-content: space-between; color: var(--a-t3); font-size: 12px; }
.side-bar { height: 4px; margin-top: 8px; border-radius: 4px; background: var(--a-active); overflow: hidden; }
.side-bar i { display: block; height: 100%; background: var(--a-t1); border-radius: 4px; }

.app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.thread { flex: 1; overflow: hidden; padding: 28px clamp(16px, 4vw, 56px) 8px; display: flex; flex-direction: column; gap: 16px; max-width: 760px; width: 100%; margin: 0 auto; }
.msg-user { align-self: flex-end; max-width: 72%; padding: 9px 14px; border-radius: 16px; background: var(--a-bubble); color: var(--a-bubble-t); }
.msg-bot p + p { margin-top: 8px; }
.msg-bot .soft { color: var(--a-t2); }
.msg-bot .note { padding: 9px 12px; border-radius: 8px; background: var(--a-subtle); color: var(--a-t2); }
.msg-bot .note b { color: var(--a-t1); font-weight: 560; }
.steps { border-left: 1px solid var(--a-b2); padding-left: 14px; color: var(--a-t2); }
.steps-head { display: flex; align-items: center; gap: 4px; color: var(--a-t3); font-size: 12.5px; margin-bottom: 6px; }
.steps-head svg { width: 13px; height: 13px; transform: rotate(90deg); }
.steps li { display: flex; align-items: baseline; gap: 8px; padding: 2px 0; font-size: 12.5px; white-space: nowrap; overflow: hidden; }
.steps .k { color: var(--a-t3); flex: none; }
.steps .mono { color: var(--a-t1); font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.steps em { font-style: normal; color: var(--a-t3); flex: none; }
.steps em.ok { color: var(--a-ok); }
.steps em.bad { color: var(--a-bad); }

.composer { margin: 8px auto 18px; width: calc(100% - 2 * clamp(16px, 4vw, 56px)); max-width: 728px; border-radius: 18px; background: var(--a-comp); box-shadow: 0 4px 18px light-dark(rgba(0,0,0,.05), rgba(0,0,0,.26)), 0 0 0 1px light-dark(rgba(0,0,0,.09), rgba(255,255,255,.095)); padding: 12px 12px 10px 16px; }
.composer-ph { color: var(--a-t3); min-height: 22px; }
.composer-row { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.cp-btn { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--a-t2); box-shadow: inset 0 0 0 1px var(--a-b2); }
.cp-pill { height: 28px; display: inline-flex; align-items: center; gap: 5px; padding: 0 10px; border-radius: 999px; color: var(--a-t2); font-size: 12.5px; white-space: nowrap; }
.cp-pill svg { width: 13px; height: 13px; }
.cp-pill.plain { padding: 0 8px; }
.cp-pill.accent { color: var(--a-blue); background: light-dark(rgba(37,99,235,.08), rgba(59,130,246,.14)); }
.cp-spacer { flex: 1; }
.cp-send { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--a-btn); color: var(--a-btn-t); }
.cp-send.off { opacity: .35; }

/* home stage */
.home-stage { justify-content: center; align-items: center; padding: 24px; }
.home-box { width: 100%; max-width: 680px; display: flex; flex-direction: column; align-items: center; }
.home-mark { width: 46px !important; height: 46px !important; stroke: none !important; }
.home-mark .pk-wolf { stroke: none; }
.home-title { margin: 18px 0 26px; font-size: 24px; font-weight: 600; letter-spacing: -.01em; text-align: center; }
.home-title u { text-decoration-thickness: 1.5px; text-underline-offset: 5px; text-decoration-color: var(--a-b2); }
.composer-home { width: 100%; margin: 0; }
.home-sugs { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.sug { padding: 12px 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--a-b1); display: flex; flex-direction: column; gap: 3px; }
.sug b { font-weight: 560; font-size: 12.5px; }
.sug span { color: var(--a-t3); font-size: 12px; }

/* split panes */
.split-chat { flex: 1 1 52%; border-right: 1px solid var(--a-b1); }
.pane { flex: 1 1 48%; min-width: 0; background: var(--a-panel); display: flex; flex-direction: column; }
.pb-bar { height: 40px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-bottom: 1px solid var(--a-b1); color: var(--a-t3); }
.pb-url { flex: 1; height: 26px; display: flex; align-items: center; padding: 0 10px; border-radius: 7px; background: var(--a-hover); font-size: 11.5px; color: var(--a-t2); }
.pb-view { flex: 1; display: grid; place-items: center; padding: 20px; background: light-dark(#eef0f2, #141414); }
.pb-phone { position: relative; width: 210px; height: 420px; border-radius: 26px; background: var(--a-bg); box-shadow: 0 0 0 6px light-dark(#d9dde1, #2b2b2d), 0 18px 40px rgba(0,0,0,.18); padding: 26px 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.pp-h { height: 14px; width: 40%; border-radius: 4px; background: var(--a-t1); opacity: .85; }
.pp-t { height: 8px; width: 90%; border-radius: 4px; background: var(--a-active); }
.pp-t.short { width: 62%; }
.pp-tabs { display: flex; gap: 6px; margin: 10px 0 4px; width: 112%; }
.pp-tabs i { flex: 1; height: 24px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--a-b2); }
.pp-tabs i.on { background: var(--a-btn); box-shadow: none; }
.pp-tabs i.over { outline: 1.5px dashed var(--a-bad); outline-offset: 2px; }
.pp-card { height: 58px; border-radius: 10px; background: var(--a-subtle); }
.pb-phone .mb-cursor { left: 128px; top: 132px; }

.pane-diff { overflow: hidden; }
.pd-head { height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-bottom: 1px solid var(--a-b1); font-size: 12.5px; }
.pd-head > b { font-weight: 600; }
.pd-head > span:nth-child(2) { font: 600 11.5px var(--mono); }
.pd-commit { margin-left: auto; height: 26px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 7px; background: var(--a-btn); color: var(--a-btn-t); font-weight: 560; }
.pd-file { display: flex; justify-content: space-between; align-items: center; padding: 9px 14px; border-bottom: 1px solid var(--a-b1); font-size: 12px; color: var(--a-t2); }
.pd-file > span:last-child { font: 600 11px var(--mono); }
.pd-code { padding: 6px 0; background: var(--a-code); font-size: 11.5px; line-height: 1.75; border-bottom: 1px solid var(--a-b1); white-space: pre; overflow: hidden; }
.pd-code .c { display: block; padding: 0 14px; color: var(--a-t2); }
.pd-code .c i { display: inline-block; width: 26px; font-style: normal; color: var(--a-t3); opacity: .7; }
.pd-code .c.a { background: var(--a-addbg); color: var(--a-t1); }
.pd-code .c.d { background: var(--a-delbg); color: var(--a-t1); }

/* login */
.shot-login { justify-content: center; align-items: center; background: var(--a-bg); }
.login-card { width: 340px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.login-mark { width: 54px !important; height: 54px !important; stroke: none !important; }
.login-title { margin-top: 18px; font-size: 20px; font-weight: 600; }
.login-sub { margin-top: 4px; color: var(--a-t2); }
.login-code { width: 100%; margin-top: 26px; padding: 14px 16px 18px; border-radius: 12px; background: var(--a-subtle); }
.lc-meta { display: flex; justify-content: space-between; color: var(--a-t3); font-size: 12px; }
.lc-code { margin-top: 6px; font-size: 28px; font-weight: 600; letter-spacing: .14em; }
.login-btn { width: 100%; margin-top: 14px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--a-btn); color: var(--a-btn-t); font-weight: 560; }
.login-foot { margin-top: 18px; color: var(--a-t3); font-size: 12px; }

/* ==========================================================================
   FACTS
   ========================================================================== */
.facts { border-block: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 34px 24px 34px 0; display: flex; flex-direction: column; gap: 6px; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line); }
.fact b { font-size: clamp(30px, 3.4vw, 42px); font-weight: 640; letter-spacing: -.035em; line-height: 1.1; }
.fact span { font-size: 14px; color: var(--ink-2); }

/* ==========================================================================
   CHARACTER
   ========================================================================== */
.duo { display: grid; grid-template-columns: 1fr 1.45fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.duo-card { background: var(--bg); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 28px; }
.duo-label { display: flex; align-items: baseline; gap: 12px; font-size: 20px; font-weight: 620; letter-spacing: -.015em; }
.duo-label .mono { font-size: 12px; font-weight: 400; color: var(--accent); letter-spacing: .04em; }

.chat-sample { display: flex; flex-direction: column; gap: 14px; min-height: 186px; justify-content: center; }
.cs-row { display: flex; gap: 12px; align-items: flex-start; }
.cs-row p { padding: 12px 16px; font-size: 15px; line-height: 1.7; border-radius: 16px; max-width: 86%; }
.cs-row.me { justify-content: flex-end; }
.cs-row.me p { background: var(--solid); color: var(--solid-ink); border-bottom-right-radius: 4px; }
.cs-row.pk p { background: var(--bg-elev); box-shadow: inset 0 0 0 1px var(--line); border-top-left-radius: 4px; }
.cs-av { width: 32px; height: 32px; flex: none; margin-top: 2px; }

.diff-sample { background: var(--bg-elev); box-shadow: inset 0 0 0 1px var(--line); border-radius: 12px; overflow: hidden; min-height: 186px; display: flex; flex-direction: column; }
.ds-head, .ds-foot { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; font-size: 12.5px; color: var(--ink-2); }
.ds-head { border-bottom: 1px solid var(--line); }
.ds-head span:last-child { font: 12px var(--mono); }
.ds-foot { border-top: 1px solid var(--line); justify-content: flex-start; gap: 8px; margin-top: auto; }
.ok-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--add); }
.diff-sample pre { padding: 12px 0; font-size: 12.5px; line-height: 1.85; overflow-x: auto; color: var(--ink-2); }
.diff-sample pre .ln { display: inline-block; width: 44px; padding-left: 16px; color: var(--ink-3); }
.diff-sample pre span.add, .diff-sample pre span.del { font-weight: 400; }

.ticks { display: flex; flex-direction: column; gap: 12px; }
.ticks li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); }

.models { margin-top: clamp(72px, 9vw, 112px); }
.models-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.models-head h3 { font-size: 24px; font-weight: 640; letter-spacing: -.02em; }
.models-head p { color: var(--ink-2); font-size: 15px; }
.models-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.model { --bd: var(--line); position: relative; padding: 22px; background: var(--bg-elev); box-shadow: inset 0 0 0 var(--bw, 1px) var(--bd); clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); transition: box-shadow .2s var(--ease); }
.model:hover { --bd: var(--line-2); }
.model.is-default { --bd: var(--accent); --bw: 1.5px; }
.model-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 22px; }
.model-top .mono { font-size: 11px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { flex: none; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--accent-wash); color: var(--accent); font-weight: 560; }
.model h4 { margin-top: 22px; font-size: 21px; font-weight: 640; letter-spacing: -.02em; }
.model p { margin-top: 8px; color: var(--ink-2); font-size: 14px; line-height: 1.7; }

.levels { margin-top: 28px; display: flex; gap: 28px; align-items: flex-start; padding-top: 28px; border-top: 1px solid var(--line); }
.levels-label { flex: none; font-size: 14px; color: var(--ink-2); padding-top: 14px; width: 84px; }
.levels-track { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: lv; }
.levels-track li { position: relative; padding: 30px 12px 0 0; }
.levels-track li::before { content: ""; position: absolute; left: 0; right: 0; top: 18px; height: 2px; background: var(--line-2); }
.levels-track li::after { content: ""; position: absolute; left: 0; top: 14px; width: 10px; height: 10px; background: var(--bg); box-shadow: inset 0 0 0 2px var(--line-2); transform: rotate(45deg); }
.levels-track li.on::after { background: var(--accent); box-shadow: none; }
.levels-track li:nth-child(-n+2)::before { background: var(--accent); }
.levels-track li:last-child::before { display: none; }
.levels-track b { display: block; font-size: 15px; font-weight: 600; }
.levels-track span { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-3); line-height: 1.55; }

/* ==========================================================================
   FEATURES (bento)
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cell { --bd: var(--line); position: relative; background: var(--bg-elev); box-shadow: inset 0 0 0 1px var(--bd); padding: 28px; display: flex; flex-direction: column; gap: 24px; overflow: hidden; clip-path: polygon(var(--ch) 0, 100% 0, 100% calc(100% - var(--ch)), calc(100% - var(--ch)) 100%, 0 100%, 0 var(--ch)); }
.cell-wide { grid-column: span 2; }
.cell-full { grid-column: 1 / -1; }
.cell-split { flex-direction: row; align-items: stretch; gap: 40px; }
.cell-split .cell-copy { flex: 1 1 0; }
.cell-split .mini { flex: 1.15 1 0; margin-top: 0; }
.cell-row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; }
.cell-row .cell-copy { max-width: 520px; }
.cell h3 { font-size: 19px; font-weight: 640; letter-spacing: -.015em; line-height: 1.35; }
.cell p { margin-top: 10px; font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; font-size: 12px; border-radius: 5px; box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 0 var(--line-2); background: var(--bg); color: var(--ink); }

.modes { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); margin-top: auto; }
.modes li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.modes li:last-child { border-bottom: 0; padding-bottom: 0; }
.modes b { font-weight: 600; }
.modes span { color: var(--ink-2); }

.mini { margin-top: auto; border-radius: 10px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: var(--bg); }
.mini-browser .mb-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-bottom: 1px solid var(--line); }
.mini-browser .mb-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.mini-browser .mb-bar span { margin-left: 8px; font-size: 11px; color: var(--ink-3); }
.mb-page { position: relative; height: 120px; display: grid; place-items: center; }
.mb-form { width: 54%; display: flex; flex-direction: column; gap: 7px; }
.mb-form span { height: 18px; border-radius: 5px; box-shadow: inset 0 0 0 1px var(--line-2); }
.mb-form .mb-btn { display: grid; place-items: center; height: 22px; background: var(--solid); color: var(--solid-ink); font-size: 11px; box-shadow: none; }
.mb-cursor { position: absolute; left: 62%; top: 66%; width: 20px; height: 20px; fill: var(--accent); stroke: var(--bg); stroke-width: 1.2; stroke-linejoin: round; filter: drop-shadow(0 2px 3px rgba(0,0,0,.2)); animation: cursor 4.5s var(--ease) infinite; }
@keyframes cursor { 0%, 100% { transform: translate(0, 0); } 40% { transform: translate(-30px, -26px); } 60% { transform: translate(-30px, -26px) scale(.9); } 70% { transform: translate(-30px, -26px); } }

.mini-computer { height: 152px; display: grid; place-items: center; background:
  linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 30px, var(--bg); position: relative; }
.mini-computer::after { content: ""; position: absolute; inset: 0; border-radius: 10px; box-shadow: inset 0 0 0 2px var(--accent); opacity: .55; }
.mc-pill { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; padding: 7px 8px 7px 12px; border-radius: 999px; background: var(--solid); color: var(--solid-ink); font-size: 12.5px; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.mc-pill .spin { border-color: color-mix(in srgb, var(--solid-ink) 30%, transparent); border-top-color: var(--solid-ink); }
.mc-stop { margin-left: 4px; padding: 2px 10px; border-radius: 999px; background: color-mix(in srgb, var(--solid-ink) 16%, transparent); font-weight: 560; }

.mini-files { padding: 4px 0; }
.mf-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; font-size: 12px; color: var(--ink-2); }
.mf-row + .mf-row { border-top: 1px solid var(--line); }
.mf-row > span:last-child { font: 12px var(--mono); flex: none; }
.mf-row .mono { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; max-width: 460px; }
.chips li { padding: 6px 12px; font-size: 13px; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); border-radius: 999px; }

/* ==========================================================================
   INTERFACE GALLERY
   ========================================================================== */
.gallery-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.tabs, .shot-theme, .seg { display: inline-flex; padding: 3px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); background: var(--bg-elev); }
.tabs button, .shot-theme button, .seg button { height: 32px; padding: 0 14px; border-radius: 7px; font-size: 14px; color: var(--ink-2); transition: color .15s, background-color .15s; white-space: nowrap; }
.tabs button:hover, .shot-theme button:hover, .seg button:hover { color: var(--ink); }
.tabs button[aria-selected="true"], .seg button[aria-selected="true"], .shot-theme button[aria-pressed="true"] { background: var(--solid); color: var(--solid-ink); }
.shot-theme button { font-size: 13px; padding: 0 12px; height: 28px; }
.frame-lg .app-body { height: 620px; }
.shot[hidden] { display: none; }
.shot { animation: shot-in .32s var(--ease); }
@keyframes shot-in { from { opacity: 0; } to { opacity: 1; } }
.gallery-note { margin-top: 18px; font-size: 13px; color: var(--ink-3); text-align: center; }

/* ==========================================================================
   PROMISE — the one section that inverts
   ========================================================================== */
.sec-ink {
  --bg: light-dark(#0b1116, #edf3f5);
  --bg-elev: light-dark(#121a21, #ffffff);
  --ink: light-dark(#edf3f5, #0a1015);
  --ink-2: light-dark(#9fadb7, #46525c);
  --ink-3: light-dark(#6b7882, #7a8690);
  --line: light-dark(rgba(220,236,246,.10), rgba(16,32,44,.11));
  --line-2: light-dark(rgba(220,236,246,.18), rgba(16,32,44,.18));
  --accent: light-dark(#6ff2c1, #087b5c);
  background: var(--bg);
  color: var(--ink);
}
.sec-ink .sec-head { max-width: 1040px; }
.nw { white-space: nowrap; }
.promise-title { font-size: clamp(38px, 6vw, 76px); line-height: 1.08; font-weight: 680; letter-spacing: -.04em; }
.pledge { margin: 0 0 clamp(56px, 7vw, 88px); padding: 28px 0 28px 28px; border-left: 2px solid var(--accent); max-width: 820px; }
.pledge p { font-size: clamp(19px, 2vw, 24px); line-height: 1.6; font-weight: 520; letter-spacing: -.01em; }
.pledge footer { margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.pacts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.pact { padding: 32px 32px 36px 0; border-bottom: 1px solid var(--line); }
.pact:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.pact-n { font-size: 12px; color: var(--accent); }
.pact h3 { margin-top: 18px; font-size: 19px; font-weight: 620; letter-spacing: -.015em; }
.pact p { margin-top: 10px; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }
.sec-ink .fine a { color: var(--ink); }

/* ==========================================================================
   PRINCIPLES
   ========================================================================== */
.principles { border-top: 1px solid var(--line); }
.principles li { display: grid; grid-template-columns: 64px minmax(220px, 1fr) 1.5fr; gap: 24px 40px; padding: 34px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.pr-n { font-size: 13px; color: var(--accent); }
.pr-t h3 { font-size: 22px; font-weight: 640; letter-spacing: -.02em; line-height: 1.3; }
.pr-en { margin-top: 6px; font-size: 12px; color: var(--ink-3); letter-spacing: .02em; }
.pr-d { font-size: 15.5px; line-height: 1.85; color: var(--ink-2); }

/* ==========================================================================
   VISION
   ========================================================================== */
.vision { position: relative; overflow: hidden; padding: clamp(104px, 14vw, 184px) 0; background: var(--bg-sunk); border-top: 1px solid var(--line); }
.vision-wolf { position: absolute; right: -6%; top: 50%; width: min(720px, 70vw); height: auto; aspect-ratio: 1; transform: translateY(-50%); fill: var(--ink); opacity: .035; pointer-events: none; }
.vision-wolf .pk-collar { fill: var(--accent); opacity: 1; }
.vision-in { position: relative; }
.vision-title { font-size: clamp(38px, 6.4vw, 84px); line-height: 1.12; font-weight: 680; letter-spacing: -.045em; max-width: 980px; }
.vision-title em { font-style: normal; color: var(--accent); }
.vision-body { margin-top: 40px; max-width: 980px; }
.vision-lead { max-width: 640px; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.85; color: var(--ink-2); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line-2); }
.value h3 { font-size: 22px; font-weight: 640; letter-spacing: -.01em; }
.value p { margin-top: 10px; font-size: 15px; line-height: 1.8; color: var(--ink-2); }
.vision-quote { margin-top: 64px; font-size: 16px; color: var(--ink-2); max-width: 640px; }
.motto { margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; font: 500 14px var(--mono); letter-spacing: .02em; color: var(--ink); }
.motto svg { width: 16px; height: 16px; fill: var(--accent); }

/* ==========================================================================
   BETA
   ========================================================================== */
.beta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.beta-card { --bd: var(--line); position: relative; padding: 30px; background: var(--bg-elev); box-shadow: inset 0 0 0 1px var(--bd); clip-path: polygon(var(--ch) 0, 100% 0, 100% calc(100% - var(--ch)), calc(100% - var(--ch)) 100%, 0 100%, 0 var(--ch)); }
.beta-k { font-size: 11px; letter-spacing: .12em; color: var(--accent); }
.beta-card h3 { margin-top: 18px; font-size: 20px; font-weight: 640; letter-spacing: -.015em; }
.beta-card p { margin-top: 10px; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }
.beta-card a, .steps-flow a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.beta-card a:hover, .steps-flow a:hover { color: var(--accent); text-decoration-color: currentColor; }
.steps-flow { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps-flow li { display: flex; gap: 16px; }
.steps-flow li > span { flex: none; width: 30px; height: 30px; display: grid; place-items: center; font-size: 13px; color: var(--accent); background: var(--accent-wash); font-weight: 600; clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px); }
.steps-flow b { display: block; font-size: 16px; font-weight: 620; padding-top: 3px; }
.steps-flow p { margin-top: 6px; font-size: 14px; line-height: 1.75; color: var(--ink-2); }

/* ==========================================================================
   DOWNLOAD
   ========================================================================== */
.dl { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.dl-head { display: flex; flex-direction: column; gap: 32px; position: sticky; top: 100px; }
.dl-mark { width: 88px; height: 88px; }
.dl-ver { margin-top: 18px; font-size: 15px; color: var(--ink-2); min-height: 1.6em; }
.dl-ver b { color: var(--ink); font-weight: 600; font-family: var(--mono); font-size: 14px; }
.dl-req { margin: 18px 0 14px; font-size: 13px; color: var(--ink-3); min-height: 1.4em; }
.dl-list { border-top: 1px solid var(--line); }
.dl-item { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.dl-item-main { min-width: 0; }
.dl-item-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 16px; font-weight: 600; }
.dl-item-title .badge { font-weight: 560; }
.dl-item-meta { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--ink-3); }
.dl-item-meta .mono { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.dl-sha { color: var(--ink-3); font: 12px var(--mono); text-decoration: underline dotted; text-underline-offset: 3px; }
.dl-sha:hover { color: var(--ink); }
.dl-item.is-match { position: relative; }
.dl-item.is-match::before { content: ""; position: absolute; left: -16px; top: 22px; bottom: 22px; width: 2px; background: var(--accent); }
.dl-skel { height: 76px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, transparent 0, var(--bg-hover) 40%, transparent 80%) 0 0 / 200% 100%; animation: skel 1.4s linear infinite; }
@keyframes skel { to { background-position: -200% 0; } }
.dl-error { padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--ink-2); font-size: 14px; border-bottom: 1px solid var(--line); }
.dl-error[hidden] { display: none; }
.dl-notes { margin-top: 26px; font-size: 14px; color: var(--ink-2); }
.dl-notes summary { cursor: pointer; color: var(--ink); font-weight: 560; list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.dl-notes summary::-webkit-details-marker { display: none; }
.dl-notes summary::before { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform .18s var(--ease); }
.dl-notes[open] summary::before { transform: rotate(45deg); }
.dl-notes ul { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.dl-notes li { position: relative; padding-left: 18px; }
.dl-notes li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 5px; height: 5px; background: var(--ink-3); transform: rotate(45deg); }
.dl-fine { margin-top: 56px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.foot { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot-brand p { margin-top: 16px; color: var(--ink-3); font-size: 13px; line-height: 1.8; }
.foot-cols { display: flex; gap: clamp(40px, 7vw, 96px); flex-wrap: wrap; }
.foot-cols h4 { font-size: 13px; font-weight: 560; color: var(--ink); margin-bottom: 14px; }
.foot-cols a { display: block; color: var(--ink-2); padding: 3px 0; transition: color .15s; }
.foot-cols a:hover { color: var(--accent); }
.foot-base { position: relative; margin-top: 56px; padding-top: 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-3); }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .models-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; }
  .cell-wide { grid-column: span 2; }
.cell-full { grid-column: 1 / -1; }
.cell-split { flex-direction: row; align-items: stretch; gap: 40px; }
.cell-split .cell-copy { flex: 1 1 0; }
.cell-split .mini { flex: 1.15 1 0; margin-top: 0; }
  .principles li { grid-template-columns: 48px 1fr; }
  .pr-d { grid-column: 2; }
}
@media (max-width: 900px) {
  .app-side { display: none; }
  .lights { width: auto; }
  .sec-head-row { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pacts { grid-template-columns: 1fr 1fr; }
  .pact, .pact:not(:nth-child(3n+1)) { padding: 28px 24px 30px 0; border-left: 0; }
  .pact:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
  .beta-grid, .steps-flow { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; gap: 28px; }
  .dl { grid-template-columns: 1fr; }
  .dl-head { position: static; flex-direction: row; align-items: center; }
  .dl-mark { width: 64px; height: 64px; }
  .pane { display: none; }
  .split-chat { border-right: 0; }
  .levels { flex-direction: column; gap: 4px; }
  .levels-label { padding-top: 0; }
}
@media (max-width: 640px) {
  .brand-name { display: none; }
  .theme button { width: 26px; }
  .app-body, .frame-lg .app-body { height: 520px; }
  .app-bar-tools svg { display: none; }
  .thread { padding-top: 20px; }
  .msg-user { max-width: 88%; }
  .home-title { font-size: 19px; }
  .home-sugs { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .cell-wide { grid-column: auto; }
  .cell-row { flex-direction: column; align-items: flex-start; }
  .chips { justify-content: flex-start; }
  .modes li { grid-template-columns: 1fr; gap: 2px; }
  .models-grid { grid-template-columns: 1fr; }
  .levels-track { grid-template-columns: 1fr; }
  .levels-track li { padding: 0 0 14px 26px; }
  .levels-track li::before { left: 4px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
    .levels-track li::after { top: 6px; }
  .pacts { grid-template-columns: 1fr; }
  .pact, .pact:nth-child(2n), .pact:not(:nth-child(3n+1)) { padding: 26px 0 28px; border-left: 0; }
  .dl-item { grid-template-columns: 1fr; }
  .dl-item .btn { justify-self: start; }
  .dl-item.is-match::before { left: -12px; }
  .gallery-bar { flex-direction: column; align-items: stretch; }
  .tabs { overflow-x: auto; scrollbar-width: none; }
  .shot-theme { align-self: flex-start; }
  .fact { padding-right: 12px; }
  .fact + .fact { padding-left: 16px; }
  .fact:nth-child(3) { padding-left: 0; }
}

/* chamfer diagonals: draw the missing 1px edge on clipped corners */
.model::before, .model::after, .cell::before, .cell::after, .beta-card::before, .beta-card::after {
  content: ""; position: absolute; width: var(--chd, var(--ch)); height: var(--chd, var(--ch)); pointer-events: none;
  background: linear-gradient(to bottom right, transparent calc(50% - var(--bw, 1px) * .75), var(--bd) calc(50% - var(--bw, 1px) * .5), var(--bd) calc(50% + var(--bw, 1px) * .5), transparent calc(50% + var(--bw, 1px) * .75));
}
.model { --chd: 10px; }
.model::before, .cell::before, .beta-card::before { top: 0; left: 0; }
.model::after, .cell::after, .beta-card::after { right: 0; bottom: 0; }

/* extra feature minis */
.mini-steer { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.st-run { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-3); }
.st-run .mono { color: var(--ink-2); font-size: 12px; }
.mini .spin { --a-b2: var(--line-2); --a-t1: var(--ink); }
.st-note { align-self: flex-end; max-width: 88%; padding: 8px 12px; border-radius: 12px 12px 4px 12px; background: var(--solid); color: var(--solid-ink); font-size: 13px; }
.st-meta { align-self: flex-end; font-size: 11.5px; color: var(--accent); }

.mini-trees li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 13px; }
.mini-trees li + li { border-top: 1px solid var(--line); }
.mini-trees b { font-weight: 500; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-trees .mono { font-size: 11.5px; color: var(--ink-3); padding: 2px 7px; border-radius: 5px; background: var(--bg-hover); }
.tr-dot { width: 7px; height: 7px; margin: 0 2.5px; border-radius: 50%; background: var(--accent); flex: none; }
.tr-dot.idle { background: var(--line-2); }

.mini-devices { display: flex; flex-direction: column; justify-content: center; }
.mini-devices li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.mini-devices li + li { border-top: 1px solid var(--line); }
.dv-ic { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: var(--bg-hover); color: var(--ink-2); flex: none; }
.dv-ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.mini-devices div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mini-devices b { font-size: 13.5px; font-weight: 560; }
.mini-devices div span { font-size: 12px; color: var(--ink-3); }
.mini-devices em { font-style: normal; font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.mini-devices em.dv-on { color: var(--accent); }
.mini-devices em.dv-on::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: currentColor; vertical-align: 1px; }

.hero-title, .sec-title, .promise-title, .vision-title { text-wrap: balance; }

@media (max-width: 1080px) {
  .cell-full { grid-column: auto; }
  .cell-row { flex-direction: column; align-items: flex-start; }
  .chips { justify-content: flex-start; }
}
@media (max-width: 900px) {
  .cell-split { flex-direction: column; }
}
@media (max-width: 640px) {
  .cell-full { grid-column: auto; }
}

.foot-base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); }

/* ---- copy v2 ---- */
.hero-name { font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; letter-spacing: -.01em; color: var(--ink-2); margin-bottom: 14px; }
.hero-lede { max-width: 560px; }
.duo-card { gap: 0; }
.duo-k { font-size: 12px; color: var(--accent); letter-spacing: .04em; }
.duo-card h3 { margin-top: 14px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 660; letter-spacing: -.03em; line-height: 1.2; }
.duo-p { margin-top: 12px; font-size: 16px; color: var(--ink-2); }
.duo-card .chat-sample { margin-top: auto; padding-top: 36px; min-height: 0; }
.duo-card .diff-sample { margin-top: 28px; min-height: 0; }
.ticks-row { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ticks-row li { padding-left: 0; font-size: 15px; line-height: 1.6; }
.ticks-row li::before { display: none; }
.ticks-row b { display: block; color: var(--ink); font-weight: 600; }
.cell h3 br, .sec-title br { }
.cell-full h3 br { display: none; }
@media (max-width: 900px) { .ticks-row { grid-template-columns: 1fr; gap: 10px; } .ticks-row b { display: inline; } }
p, li, dd { text-wrap: pretty; }
.cell h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.3; }
.cell-row .cell-copy { max-width: 680px; }
.vision-lead { max-width: 780px; }
