/* Factory Log — factorylog.work
   Light, local-first macOS product page. Accent orange + action blue,
   soft lavender/pink field with faint contour waves at the bottom. */

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #17191F;
  --ink-2: #2B2F37;
  --muted: #6E7480;
  --muted-2: #949AA5;
  --line: #E8E5EF;
  --line-2: #DFDCE7;
  --card: #FFFFFF;
  --surface: #F7F7F9;
  --accent: #E4572E;
  --accent-ink: #C4461F;
  --accent-soft: #FDF1EC;
  --blue: #2F7BF6;
  --blue-soft: #EAF1FE;
  --green: #2FA653;
  --green-soft: #E5F6EA;
  --purple: #7A5AF8;
  --purple-soft: #F0ECFE;
  --amber: #E8B23A;
  --teal: #12A594;
  --pink: #E8557A;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-win: 0 34px 70px -26px rgba(38, 26, 68, .34), 0 8px 22px -12px rgba(38, 26, 68, .18);
  --shadow-card: 0 12px 30px -18px rgba(38, 26, 68, .28);
  --wrap: 1200px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
section[id], [id] { scroll-margin-top: 88px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: #FBF9FC;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.hero-inner > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .band-split > *,
.token-grid > *, .plans > *, .skills-grid > *, .steps3 > *, .split > *, .win-cols > * { min-width: 0; }
.win { min-width: 0; }
.code, pre.code { max-width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.03em; line-height: 1.06; }
p { margin: 0; }

/* ---------------------------------------------------------------- nav --- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(252, 250, 253, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(232, 229, 239, .9);
}
.nav-inner {
  height: 68px; display: flex; align-items: center; gap: 22px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; font-size: 17px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 2px 6px rgba(38, 26, 68, .18); }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: 10px; }
.nav-links a { font-size: 14.5px; color: var(--ink-2); font-weight: 500; }
.nav-links a:hover { color: var(--accent); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; border: 1px solid transparent;
  cursor: pointer; transition: transform .12s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 20px -12px rgba(47, 123, 246, .9); }
.btn-primary:hover { background: #1E6AE0; }
.btn-outline { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--muted-2); }
.btn-x { background: var(--ink); color: #fff; }
.btn-x:hover { background: #000; }
.btn-ghost { background: rgba(255, 255, 255, .7); border-color: var(--line-2); }
.btn-ghost:hover { background: #fff; }
.btn-wide { width: 100%; }
.nav-toggle {
  display: none; width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--line-2); background: #fff; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; display: block; width: 17px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.mobile-panel {
  display: none; border-bottom: 1px solid var(--line); background: #FCFAFD;
}
.mobile-panel.open { display: block; }
.mobile-panel .wrap { padding-top: 12px; padding-bottom: 18px; display: grid; gap: 4px; }
.mobile-panel a { padding: 10px 2px; font-weight: 600; border-bottom: 1px solid rgba(232,229,239,.7); }
.mobile-panel .btn { margin-top: 12px; }

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn-outline { display: none; }
}

/* -------------------------------------------------------------- hero --- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 8% -6%, rgba(230, 214, 236, .80), transparent 62%),
    radial-gradient(900px 520px at 72% 4%, rgba(250, 226, 224, .70), transparent 60%),
    linear-gradient(168deg, #F6F1F8 0%, #F4F1FA 42%, #FBF7F5 100%);
  border-bottom: 1px solid rgba(232, 229, 239, .7);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(620px 320px at 46% 26%, rgba(255, 255, 255, .85), transparent 70%);
  pointer-events: none;
}
.waves { position: absolute; left: 0; right: 0; bottom: -2px; height: 240px; width: 100%; pointer-events: none; opacity: .85; }
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 54px; align-items: center;
  padding: 56px 0 84px;
  min-height: 660px;
}
.hero-copy { position: relative; }
.lockup { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -.02em; font-size: 18px; }
.lockup img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 6px 16px -8px rgba(38, 26, 68, .5); }
.hero-slides { margin-top: 30px; }
.slide { display: none; }
.slide.on { display: block; animation: rise .5s cubic-bezier(.22, .7, .24, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .slide.on { animation: none; } }

.h1 { font-size: clamp(38px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.035em; }
.h1 .accent { color: var(--accent); }
.h1 .wordmark { display: block; font-size: clamp(46px, 5.6vw, 76px); letter-spacing: -.045em; }
.h-sub { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 40ch; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 24px;
  padding: 8px 15px; border-radius: 999px; border: 1.5px solid rgba(228, 87, 46, .55);
  color: var(--accent-ink); font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .6);
}
.dots { display: flex; align-items: center; gap: 8px; margin-top: 44px; }
.dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #C9C4D4; cursor: pointer;
  transition: width .25s ease, background .25s ease;
}
.dot:hover { background: #A9A2B8; }
.dot.on { width: 28px; background: var(--accent); }
.dot:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.hero-stage { position: relative; display: flex; justify-content: flex-end; }
.stage { display: none; width: 100%; }
.stage.on { display: block; animation: fadein .5s ease both; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px) scale(.995); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .stage.on { animation: none; } }

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 38px; padding: 40px 0 64px; min-height: 0; }
  .hero-stage { justify-content: center; }
  .h-sub { max-width: 56ch; }
}

/* -------------------------------------------------------- mac window --- */
.win {
  background: var(--surface);
  border: 1px solid #E3E0EA;
  border-radius: 16px;
  box-shadow: var(--shadow-win);
  overflow: hidden;
}
.win-bar {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 12px; background: #F2F1F5; border-bottom: 1px solid #E4E1EA;
}
.tl { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.tl.r { background: #FF5F57; } .tl.y { background: #FEBC2E; } .tl.g { background: #28C840; }
.win-bar img.wi { width: 17px; height: 17px; border-radius: 5px; margin-left: 7px; }
.win-title { font-size: 12px; font-weight: 600; color: #3A3F48; }
.win-tabs {
  margin: 0 auto; display: flex; align-items: center; gap: 2px;
  background: #E7E5EC; border-radius: 9px; padding: 2px;
}
.win-tabs .tab { font-size: 11.5px; font-weight: 600; color: #6E7480; padding: 4px 13px; border-radius: 7px; }
.win-tabs .tab.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(38, 26, 68, .16); }
.gear { width: 15px; height: 15px; color: #8B909B; }
.win-body { padding: 20px 22px 22px; background: #FBFBFC; }
.win-body.tint { background: #F8F7FA; }
.eyebrow-sm { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #4A7FD6; }
.win-h { font-size: 24px; font-weight: 800; letter-spacing: -.03em; margin-top: 5px; }
.win-sub { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.win-head { display: flex; align-items: flex-start; gap: 16px; }
.seg { margin-left: auto; display: flex; gap: 2px; background: #EDEBF1; border-radius: 8px; padding: 2px; }
.seg span { font-size: 11px; font-weight: 600; color: #6E7480; padding: 3px 11px; border-radius: 6px; }
.seg span.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(38, 26, 68, .16); }
.pills { display: flex; gap: 5px; margin-bottom: 2px; }
.pills span { font-size: 10.5px; font-weight: 600; color: #6E7480; padding: 4px 9px; border-radius: 7px; background: #F0EEF4; }
.pills span.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(38, 26, 68, .14); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.stat { background: #fff; border: 1px solid #E9E7EE; border-radius: 12px; padding: 11px 12px; }
.stat-ic { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 11px; }
.stat-val { font-size: 15px; font-weight: 700; margin-top: 8px; letter-spacing: -.02em; }
.stat-lab { font-size: 10.5px; color: var(--muted); }
.ic-blue { background: var(--blue-soft); color: var(--blue); }
.ic-purple { background: var(--purple-soft); color: var(--purple); }
.ic-green { background: var(--green-soft); color: var(--green); }
.ic-orange { background: var(--accent-soft); color: var(--accent); }

.card { background: #fff; border: 1px solid #E9E7EE; border-radius: 13px; padding: 14px 15px 16px; }
.card + .card { margin-top: 12px; }
.card-h { display: flex; align-items: baseline; gap: 10px; }
.card-h h4 { font-size: 13px; font-weight: 700; letter-spacing: -.01em; }
.card-h .right { margin-left: auto; font-size: 10.5px; color: var(--muted); }
.card-note { font-size: 11px; color: var(--muted); margin-top: 4px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.split > .card + .card { margin-top: 0; }

.lanes { margin-top: 12px; display: grid; gap: 7px; }
.lane { display: grid; grid-template-columns: 134px 1fr; align-items: center; gap: 10px; font-size: 11px; }
.lane-name { display: flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lane-name i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.lane-time { color: var(--muted); font-weight: 500; margin-left: auto; font-size: 10.5px; flex: none; padding-left: 8px; }
.tl-chart { position: relative; height: 9px; background: #F1EFF5; border-radius: 4px; overflow: hidden; }
.tl-chart i { position: absolute; top: 1px; bottom: 1px; border-radius: 3px; }
.ticks { display: flex; justify-content: space-between; font-size: 9.5px; color: var(--muted-2); margin-top: 8px; }
.nowline { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1.5px dashed #E4572E; opacity: .8; }

.tasks { display: grid; gap: 9px; margin-top: 12px; }
.task { border-left: 3px solid var(--blue); background: #fff; border-radius: 9px; padding: 9px 11px;
  border-top: 1px solid #EDEBF1; border-right: 1px solid #EDEBF1; border-bottom: 1px solid #EDEBF1; }
.task.amber { border-left-color: var(--amber); }
.task .t-h { display: flex; gap: 8px; font-size: 11.5px; font-weight: 700; }
.task .t-h .ago { margin-left: auto; font-weight: 500; color: var(--muted-2); font-size: 10px; white-space: nowrap; }
.task .t-d { font-size: 10.5px; color: var(--muted); margin-top: 3px; }
.task .t-m { font-size: 10px; color: var(--muted-2); margin-top: 5px; display: flex; gap: 6px; align-items: center; }
.chip { font-size: 9.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); }

.rows { display: grid; gap: 6px; margin-top: 11px; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 10px; font-size: 11px; align-items: center; }
.row .nm { display: flex; align-items: center; gap: 7px; color: var(--ink-2); font-weight: 600; }
.row .nm i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.row .tm { color: var(--muted); font-size: 10.5px; }
.bar-line { height: 5px; border-radius: 3px; background: #F1EFF5; margin-top: 4px; overflow: hidden; grid-column: 1 / -1; }
.bar-line i { display: block; height: 100%; border-radius: 3px; }

.donut-row { display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: center; margin-top: 12px; }
.donut {
  width: 104px; height: 104px; border-radius: 50%; position: relative; flex: none;
  background: conic-gradient(#3B7BF7 0 58%, #2FA653 0 74%, #A8743A 0 79%, #E8B23A 0 83%, #12A594 0 100%);
}
.donut::after {
  content: ''; position: absolute; inset: 26px; background: #fff; border-radius: 50%;
}
.donut-mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; z-index: 1; }
.donut-mid b { font-size: 15px; letter-spacing: -.02em; }
.donut-mid small { font-size: 9.5px; color: var(--muted); }

.heat { display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, 1fr); gap: 3px; margin-top: 12px; }
.heat i { width: 100%; aspect-ratio: 1; border-radius: 2.5px; background: #EDEBF1; }
.heat i.l1 { background: #CFE0FB; } .heat i.l2 { background: #9BC0F6; }
.heat i.l3 { background: #5E99F1; } .heat i.l4 { background: #2F6FDB; }

.bars30 { display: flex; align-items: flex-end; gap: 3px; height: 62px; margin-top: 12px; }
.bars30 span { flex: 1; display: flex; flex-direction: column-reverse; border-radius: 2px; overflow: hidden; }

.win-cols { display: grid; grid-template-columns: minmax(0, 1fr) 244px; }
.win-main { padding: 20px 22px 22px; }
.pane { border-left: 1px solid #E9E7EE; background: #fff; padding: 16px 16px 24px; }
.win-hold { position: relative; }
.panel-h { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; }
.panel-h .x { margin-left: auto; color: var(--muted-2); font-size: 12px; }
.panel-path { font-family: var(--mono); font-size: 10px; color: var(--muted-2); margin-top: 3px; }
.panel-lab { font-size: 9.5px; font-weight: 700; letter-spacing: .09em; color: var(--muted-2); margin-top: 12px; }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.pgrid div { background: #F7F6F9; border-radius: 9px; padding: 8px 9px; }
.pgrid b { font-size: 14px; letter-spacing: -.02em; }
.pgrid small { display: block; font-size: 9.5px; color: var(--muted); }
.did { display: grid; gap: 6px; margin-top: 8px; }
.did div { border-left: 2px solid #DCEEFB; padding-left: 8px; }
.did b { display: block; font-size: 10.5px; font-weight: 700; }
.did small { font-size: 9.5px; color: var(--muted); }
.mini-bars { display: flex; align-items: flex-end; gap: 2px; height: 34px; margin-top: 8px; }
.mini-bars i { flex: 1; background: #CFE0FB; border-radius: 1.5px; }

/* welcome + preview states */
.wel-h { font-size: 20px; font-weight: 800; letter-spacing: -.03em; margin-top: 5px; }
.wel-p { font-size: 12px; color: var(--muted); margin-top: 7px; max-width: 62ch; }
.steps { margin-top: 14px; background: #fff; border: 1px solid #E9E7EE; border-radius: 13px; overflow: hidden; }
.step { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.step + .step { border-top: 1px solid #F0EEF4; }
.step-n {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-size: 11px; font-weight: 700; flex: none; background: var(--blue-soft); color: var(--blue);
}
.step-n.done { background: var(--green-soft); color: var(--green); }
.step-t { font-size: 12px; font-weight: 700; }
.step-d { font-size: 10.5px; color: var(--muted); }
.step-a { margin-left: auto; display: flex; align-items: center; gap: 7px; }
.mini-btn { font-size: 10.5px; font-weight: 600; padding: 5px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; }
.mini-btn.blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.mini-chip { font-size: 10px; border: 1px solid var(--line-2); border-radius: 8px; padding: 4px 10px; color: var(--muted); }
.mini-chip s { color: #B6B2C0; }
.mini-link { font-size: 10.5px; color: var(--blue); font-weight: 600; }
.waitline { font-size: 10.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.priv-line { display: flex; align-items: center; gap: 7px; font-size: 10.5px; color: var(--muted-2); margin-top: 12px; }

.win-hold { position: relative; }
.veil { position: absolute; inset: 0; background: rgba(246, 244, 249, .72); backdrop-filter: blur(1.5px); border-radius: 16px; }
.preview { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(360px, 84%);
  background: #fff; border: 1px solid #E4E1EA; border-radius: 14px; box-shadow: 0 30px 60px -24px rgba(38,26,68,.45);
  padding: 20px; text-align: center; }
.preview .pill { font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--blue); background: var(--blue-soft);
  padding: 4px 10px; border-radius: 999px; display: inline-block; }
.preview h4 { font-size: 17px; margin-top: 10px; }
.preview p { font-size: 11.5px; color: var(--muted); margin-top: 8px; }
.preview .mini-btn { margin-top: 14px; padding: 8px 20px; border-radius: 999px; }

/* ---------------------------------------------------------- sections --- */
.section { padding: 92px 0; }
.section.tight { padding: 68px 0; }
.section.alt { background: #F7F5FA; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.white { background: #fff; border-top: 1px solid var(--line); }
.kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.h2 { font-size: clamp(28px, 3.4vw, 44px); margin-top: 14px; }
.lead { font-size: 17px; color: var(--muted); margin-top: 16px; max-width: 66ch; }
.section-head { max-width: 760px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.fcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: 0 1px 2px rgba(38, 26, 68, .04);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.fcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); border-color: var(--line-2); }
.fcard h3 { font-size: 18px; letter-spacing: -.02em; }
.fcard p { font-size: 14.5px; color: var(--muted); margin-top: 9px; }
.ic {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  font-size: 18px; background: var(--accent-soft); color: var(--accent);
}
.ic.b { background: var(--blue-soft); color: var(--blue); }
.ic.g { background: var(--green-soft); color: var(--green); }
.ic.p { background: var(--purple-soft); color: var(--purple); }
.stepnum {
  width: 34px; height: 34px; border-radius: 50%; background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-weight: 700; font-size: 15px; margin-bottom: 16px;
}
.list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.list li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink-2); }
.list li::before {
  content: ''; position: absolute; left: 3px; top: 9px; width: 11px; height: 6px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg);
}
.list.dots li::before { width: 7px; height: 7px; border: 0; border-radius: 50%; background: var(--accent); top: 8px; left: 2px; transform: none; }

.code {
  font-family: var(--mono); font-size: 12.2px; line-height: 1.7; color: #E8E6F2;
  background: #1B1D24; border-radius: 14px; padding: 18px 20px; margin-top: 26px;
  white-space: pre-wrap; overflow-wrap: break-word;
}
.code .c { color: #8F93A3; }
.code .k { color: #FFB59B; }
.code .s { color: #B7E2A8; }
.code-wrap { display: grid; gap: 10px; }
.code-caption { font-size: 12.5px; color: var(--muted); }

.band {
  border-radius: 26px; padding: 54px 48px;
  background: linear-gradient(140deg, #FFFFFF 0%, #F7F2FB 50%, #FDF3F0 100%);
  border: 1px solid var(--line); box-shadow: var(--shadow-card);
}
.band.dark { background: #17191F; color: #fff; border-color: #17191F; }
.band.dark .lead { color: #A9AEBB; }
.band.dark .list li { color: #E4E6EC; }
.band.dark .list li::before { border-color: #6FE39B; }
.band-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pill-c {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 600;
}
.pill-c i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ------------------------------------------------------------- token --- */
.token-card {
  margin-top: 44px; border-radius: 26px; overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, #FFFFFF 0%, #FBF4F1 46%, #F4F1FA 100%);
  box-shadow: var(--shadow-card);
}
.token-grid { display: grid; grid-template-columns: 1.05fr 1fr; }
.token-left { padding: 46px 44px; }
.token-right { padding: 46px 44px; border-left: 1px solid var(--line); background: rgba(255, 255, 255, .55); }
.sym {
  display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700;
  padding: 7px 14px; border-radius: 999px; background: var(--accent); color: #fff;
}
.ca-box { margin-top: 22px; }
.ca-lab { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.ca-row {
  display: flex; align-items: center; gap: 10px; margin-top: 9px;
  background: #fff; border: 1px solid var(--line-2); border-radius: 14px; padding: 12px 14px;
}
.ca-val {
  font-family: var(--mono); font-size: 13px; color: var(--ink); flex: 1;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ca-val.pending { font-family: var(--font); font-size: 13.5px; color: var(--muted); font-style: italic; }
.ca-val[data-pending="true"] ~ .btn { color: var(--muted-2); border-style: dashed; }
.ca-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tag { font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #F1EFF5; color: var(--muted); }
.tiers { margin-top: 26px; display: grid; gap: 10px; }
.tier {
  display: grid; grid-template-columns: 118px 1fr; gap: 14px; align-items: center;
  padding: 13px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
}
.tier b { font-size: 13px; letter-spacing: -.01em; }
.tier span { font-size: 13px; color: var(--muted); }
.tier .amt { font-family: var(--mono); font-size: 11.5px; color: var(--accent-ink); display: block; }

/* ----------------------------------------------------------- pricing --- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px; box-shadow: 0 1px 2px rgba(38,26,68,.04); display: flex; flex-direction: column; }
.plan.hot { border-color: rgba(228, 87, 46, .5); box-shadow: 0 22px 50px -30px rgba(228, 87, 46, .55); position: relative; }
.plan.hot::after {
  content: 'Best for holders'; position: absolute; top: -12px; left: 28px; font-size: 11px; font-weight: 700;
  background: var(--accent); color: #fff; padding: 4px 11px; border-radius: 999px;
}
.plan h3 { font-size: 20px; }
.plan .price { font-size: 40px; font-weight: 800; letter-spacing: -.04em; margin-top: 12px; }
.plan .price small { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .flog { font-size: 13px; color: var(--accent-ink); font-weight: 600; margin-top: 6px; }
.plan p { font-size: 14px; color: var(--muted); margin-top: 12px; }
.plan .list { flex: 1; }
.plan .btn { margin-top: 26px; }

.skills-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.skill { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px; }
.skill h4 { font-size: 16px; letter-spacing: -.01em; }
.skill p { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.skill .pr { margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.skill .pr em { font-style: normal; font-weight: 600; color: var(--accent-ink); background: var(--accent-soft); padding: 3px 9px; border-radius: 999px; font-size: 11.5px; }

.tbl { width: 100%; border-collapse: collapse; margin-top: 34px; background: #fff;
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden; font-size: 14.5px; }
.tbl th, .tbl td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; background: #FBFAFD; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td b { letter-spacing: -.01em; }
.tbl td .amt { font-family: var(--mono); font-size: 12.5px; color: var(--accent-ink); }

.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.note {
  margin-top: 26px; font-size: 13.5px; color: var(--muted); background: #FBFAFD;
  border: 1px dashed var(--line-2); border-radius: 14px; padding: 16px 18px;
}

/* --------------------------------------------------------------- faq --- */
.steps-flow { display: grid; gap: 18px; margin-top: 40px; max-width: 900px; }
.steps-flow .fcard + .fcard { margin-top: 0; }
.faq { margin-top: 36px; display: grid; gap: 12px; max-width: 900px; }
details.q { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; }
details.q summary {
  cursor: pointer; list-style: none; font-weight: 700; font-size: 16px; padding: 16px 0;
  display: flex; align-items: center; gap: 14px;
}
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after {
  content: '+'; margin-left: auto; font-weight: 600; color: var(--muted-2); font-size: 20px; line-height: 1;
}
details.q[open] summary::after { content: '–'; }
details.q p { font-size: 14.5px; color: var(--muted); padding: 0 0 18px; max-width: 78ch; }

/* ------------------------------------------------------------ footer --- */
.footer { background: #17191F; color: #E9EAF0; padding: 68px 0 34px; }
.f-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.f-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; color: #fff; }
.f-brand img { width: 36px; height: 36px; border-radius: 10px; }
.f-blurb { font-size: 14px; color: #A9AEBB; margin-top: 16px; max-width: 38ch; }
.f-col h5 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #858B99; margin: 0 0 14px; font-weight: 700; }
.f-col a { display: block; font-size: 14.5px; color: #D6D9E2; padding: 5px 0; }
.f-col a:hover { color: #fff; }
.f-bottom {
  margin-top: 52px; padding-top: 24px; border-top: 1px solid #2A2D36;
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: 13px; color: #858B99;
}
.f-bottom .x-link { margin-left: auto; }
@media (max-width: 900px) { .f-top { grid-template-columns: 1fr 1fr; } .f-bottom .x-link { margin-left: 0; } }
@media (max-width: 560px) { .f-top { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- misc --- */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  background: #17191F; color: #fff; font-size: 14px; font-weight: 600;
  padding: 12px 20px; border-radius: 999px; opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease; z-index: 90;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 940px) {
  .section { padding: 68px 0; }
  .grid-4, .grid-3, .skills-grid, .plans, .steps3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .band-split, .token-grid { grid-template-columns: minmax(0, 1fr); }
  .token-right { border-left: 0; border-top: 1px solid var(--line); }
  .band { padding: 38px 26px; }
  .token-left, .token-right { padding: 34px 26px; }
  .win-cols { grid-template-columns: minmax(0, 1fr); }
  .pane { border-left: 0; border-top: 1px solid #E9E7EE; }
}
@media (max-width: 620px) {
  .nav-actions .btn-x { display: none; }
  .win-title { display: none; }
  /* the nav already carries the brand; drop the hero lockup and trim the display type */
  .lockup { display: none; }
  .hero-slides { margin-top: 6px; }
  .h1 { font-size: 36px; }
  .h1 .wordmark { font-size: 44px; }
  .h-sub { font-size: 16.5px; }
  /* a desktop window pane inside a 350px mockup is unreadable — keep the main view only */
  .win-cols > .pane { display: none; }
  .heat i:nth-child(n+134) { display: none; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .grid-2, .grid-4, .grid-3, .skills-grid, .plans, .steps3 { grid-template-columns: minmax(0, 1fr); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero-inner { padding: 30px 0 52px; }
  .win-body { padding: 15px 14px 16px; }
  .code { font-size: 10.8px; padding: 15px 16px; }
  .win-h { font-size: 19px; }
  .win-tabs .tab { padding: 4px 8px; font-size: 10.5px; }
  .donut-row { grid-template-columns: minmax(0, 1fr); }
  .lane, .lane[style] { grid-template-columns: 104px 1fr !important; }
  .tbl { font-size: 13px; }
  .tbl th, .tbl td { padding: 12px 12px; }
}
