/* lawked.net. Two materials from Bolt himself: his paper face (the page) and his ink body (night,
   where the app lives). The only loud color is his marker red, and it is only ever handwriting. */
@font-face { font-family: 'Geist'; src: url('/assets/fonts/geist-wght.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('/assets/fonts/newsreader-italic.woff2') format('woff2'); font-weight: 400 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Caveat'; src: url('/assets/fonts/caveat.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --paper: #FCFBFA;
  --paper-2: #F3F2F0;
  --rule: #E2E0DC;
  --ink: #161616;
  --graphite: #4D4C4B;
  --mute: #6B6966;
  --night: #0B0B0B;
  --night-2: #131313;
  --night-3: #1A1A1A;
  --night-rule: #232323;
  --night-rule-2: #323232;
  --chalk: #EDEBE7;
  --ash: #A3A09A;
  --smoke: #86837E;
  --marker: #E2451A;
  --deadbolt: #F2592D;
  --deadbolt-ink: #170A05;
  --sage: #7CC4A0;
  /* Bolt's own fixed colors, the same tokens the app uses */
  --semantic-bolt-ink: #161616;
  --semantic-bolt-paper: #FCFBFA;
  --semantic-bolt-side: #4D4C4B;
  --semantic-bolt-locked: #E2451A;
  --semantic-bolt-locked-side: #A63110;
  --semantic-bolt-unlocked: #2E9E6B;
  --semantic-bolt-dust: #B9B9BE;
  --semantic-bolt-shadow: rgba(0, 0, 0, 0.12);
  --motion-fast: 120ms;
  --motion-slow: 360ms;
  --motion-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --sans: 'Geist', 'Segoe UI', system-ui, sans-serif;
  --serif: 'Newsreader', Georgia, serif;
  --hand: 'Caveat', 'Segoe Print', cursive;
  --tb-h: 60px;
  --gutter: 40px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
  padding-bottom: var(--tb-h);
  overflow-x: clip;
}
img { max-width: 100%; }
svg.bolt { max-width: none; flex: none; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: rgba(22, 22, 22, 0.14); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.night :focus-visible, .tb :focus-visible { outline-color: var(--chalk); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.num { font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type */
.display {
  font-weight: 640;
  font-size: clamp(46px, 7.4vw, 116px);
  line-height: 0.93;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.h2 { font-weight: 620; font-size: clamp(34px, 4.6vw, 66px); line-height: 0.98; letter-spacing: -0.038em; text-wrap: balance; }
.h3 { font-weight: 600; font-size: 23px; line-height: 1.2; letter-spacing: -0.018em; }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--graphite); max-width: 36em; text-wrap: pretty; }
.small { font-size: 15px; line-height: 1.5; color: var(--mute); }
.voice { font-weight: 500; letter-spacing: -0.005em; text-transform: lowercase; }
.hand { font-family: var(--hand); font-weight: 700; color: var(--marker); letter-spacing: 0; }
.link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.link:hover { text-decoration-thickness: 2px; }
body[data-holding='true'] .key { transform: translateY(1px); border-bottom-width: 1px; background: var(--paper-2); }
.key {
  display: inline-block; min-width: 26px; padding: 0 7px; text-align: center;
  font: 600 14px/24px var(--sans); color: var(--ink); background: #fff;
  border: 1px solid var(--rule); border-bottom-width: 2px; border-radius: 6px;
}

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 24px; border-radius: 12px; border: 0;
  background: var(--ink); color: var(--paper); font-weight: 600; font-size: 17px; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background var(--motion-fast) linear, transform var(--motion-fast) linear;
}
.btn:hover { background: #000; }
.btn:active { transform: translateY(1px); }
.btn svg { flex: none; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule); }
.btn-line:hover { background: var(--paper-2); }
.btn[disabled], .btn[aria-disabled='true'] { background: var(--paper-2); color: var(--mute); cursor: not-allowed; box-shadow: inset 0 0 0 1px var(--rule); }
.btn-danger { background: transparent; color: #B4300C; box-shadow: inset 0 0 0 1px #E9C7BB; }
.btn-danger:hover { background: #FBEDE7; }
.night .btn { background: var(--paper); color: var(--ink); }
.night .btn:hover { background: #fff; }

/* ---------- header + footer */
.top { position: relative; z-index: 20; }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.brand-mark { display: block; width: 30px; height: 30px; }
.brand-word { font-weight: 680; font-size: 23px; letter-spacing: -0.045em; line-height: 1; padding-bottom: 2px; }
.nav-list { display: flex; align-items: center; gap: 30px; }
.nav-list a:not(.btn) { text-decoration: none; font-size: 16px; font-weight: 500; color: var(--graphite); }
.nav-list a:not(.btn):hover, .nav-list a[aria-current='page']:not(.btn) { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.nav-toggle { display: none; }

.foot { background: var(--night); color: var(--ash); border-top: 1px solid var(--night-rule); }
.foot .brand { color: var(--chalk); }
.foot-in { display: grid; grid-template-columns: 1.2fr 2fr auto; gap: 40px; align-items: start; padding-top: 56px; padding-bottom: 64px; }
.foot-brand p { margin-top: 14px; font-size: 15px; max-width: 26ch; }
.foot-nav ul { display: grid; grid-template-columns: repeat(3, max-content); gap: 10px 48px; }
.foot-nav a { text-decoration: none; font-size: 15px; color: var(--chalk); }
.foot-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-legal { font-size: 14px; color: var(--smoke); }

/* ---------- home: hero */
.hero { position: relative; min-height: calc(100svh - 84px - var(--tb-h)); display: flex; flex-direction: column; justify-content: center; padding-block: 3vh clamp(150px, 22vh, 220px); }
.hero .display { max-width: 12.6ch; }
.hero .lede { margin-top: 30px; max-width: 30em; }
.hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; margin-top: 38px; }
.hero-cta .small { color: var(--mute); }
.hero-try { margin-top: 26px; font-size: 15px; color: var(--mute); }
.hero-note {
  position: absolute; bottom: clamp(64px, 11vh, 110px); left: calc(var(--bx, 0.78) * 100% - 400px); width: 230px;
  font-size: 34px; line-height: 1; transform: rotate(-5deg); pointer-events: none;
}
.hero-note svg { display: block; margin: 6px 0 0 120px; overflow: visible; }
.hero-note path { stroke: var(--marker); }

/* ---------- home: one evening (night) */
.night { background: var(--night); color: var(--chalk); }
.evening { padding-block: 140px 120px; }
.evening-head { display: grid; grid-template-columns: 1fr minmax(0, 30em); gap: 40px; align-items: end; }
.evening-head .lede { color: var(--ash); }
.beats { margin-top: 110px; position: relative; }
.beat { display: grid; grid-template-columns: 112px minmax(0, 360px) minmax(0, 1fr); gap: 0 48px; align-items: start; padding: 0 0 128px; position: relative; }
.beat:last-child { padding-bottom: 0; }
.beat-time { font-size: 15px; color: var(--ash); padding-top: 4px; position: relative; }
.beat-time::before { content: ''; position: absolute; left: -22px; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--chalk); }
.beat::before { content: ''; position: absolute; left: -19px; top: 26px; bottom: 0; width: 1px; background: var(--night-rule-2); }
.beat:last-child::before { display: none; }
.beat-text .h3 { color: var(--chalk); }
.beat-text p { margin-top: 12px; color: var(--ash); font-size: 17px; line-height: 1.55; }
.beat-text .plan-note { margin-top: 16px; font-size: 15.5px; color: #B9B6B0; padding-left: 12px; border-left: 2px solid var(--night-rule-2); }
.beat-ui { min-width: 0; }

/* the app, recreated (same tokens as the real windows) */
.ui { background: var(--night-2); border: 1px solid var(--night-rule); border-radius: 14px; color: var(--chalk); font-size: 14px; line-height: 1.45; }
.ui-pad { padding: 22px; }
.ui-title { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.ui-input { margin-top: 14px; background: var(--night-3); border: 1px solid var(--night-rule-2); border-radius: 8px; padding: 11px 13px; color: var(--chalk); }
.ui-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; color: var(--ash); font-size: 13px; }
.ui-chip { padding: 5px 11px; border-radius: 7px; background: var(--night-3); border: 1px solid var(--night-rule); color: var(--ash); }
.ui-chip[data-on] { background: #2A2A2A; color: var(--chalk); border-color: var(--night-rule-2); }
.ui-go { margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 9px; background: var(--deadbolt); color: var(--deadbolt-ink); font-weight: 600; font-size: 15px; }
.ui-faint { margin-top: 12px; font-size: 12.5px; color: var(--smoke); }
.ui-btn { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 8px; background: var(--night-3); border: 1px solid var(--night-rule-2); color: var(--chalk); font-size: 13px; font-weight: 500; }
.ui-btn-hot { background: var(--chalk); color: var(--night); border-color: var(--chalk); }

.ui-block { background: #070707; border-radius: 14px; border: 1px solid var(--night-rule); padding: 18px 22px 26px; }
.ui-block-top { display: flex; justify-content: space-between; font-size: 12px; color: var(--smoke); }
.ui-block-top b { color: var(--ash); font-weight: 600; }
.ui-block-body { display: grid; grid-template-columns: 76px 1fr; gap: 22px; align-items: center; margin-top: 30px; }
.ui-block-tag { font-size: 12.5px; color: var(--deadbolt); font-weight: 500; }
.ui-block-h { font-size: clamp(24px, 2.4vw, 34px); font-weight: 640; letter-spacing: -0.035em; line-height: 1.02; margin-top: 6px; }
.ui-block .ui-go { display: inline-flex; padding: 0 16px; height: 38px; margin-top: 16px; font-size: 14px; }

.sheet { position: relative; background: var(--paper); color: var(--ink); border-radius: 10px; padding: 26px 28px 30px; font-family: var(--serif); font-style: italic; box-shadow: 0 0 0 1px #000; }
.sheet-h { font-size: 22px; font-weight: 560; letter-spacing: -0.01em; }
.sheet-sub { font-size: 15px; color: var(--mute); margin-top: 2px; }
.sheet ol { margin-top: 18px; display: grid; gap: 14px; }
.sheet li { display: flex; align-items: center; gap: 14px; font-size: 21px; font-style: normal; font-family: var(--sans); font-weight: 450; letter-spacing: -0.01em; }
.sheet li b { flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 600; }
.sheet .q7 { position: relative; }
.mark-ring { position: absolute; left: 21px; top: -10px; width: 172px; height: 48px; overflow: visible; pointer-events: none; }
.mark-ring path { fill: none; stroke: var(--marker); stroke-width: 2.6; stroke-linecap: round; }
.mark-note { position: absolute; font-family: var(--hand); font-weight: 700; color: var(--marker); font-style: normal; line-height: 1.05; }
.mark-this { left: -2px; top: 116px; font-size: 21px; transform: rotate(-8deg); }
.mark-work { left: 222px; top: -14px; font-size: 29px; line-height: 1; }
.mark-work span { display: block; }
[data-draw] .mark-ring path { stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 900ms var(--motion-ease) 150ms; }
[data-draw] .mark-note { opacity: 0; transition: opacity 400ms linear 800ms; }
[data-draw='on'] .mark-ring path { stroke-dashoffset: 0; }
[data-draw='on'] .mark-note { opacity: 1; }
.tutor { position: relative; padding-bottom: 66px; }
.tutor .bubble { position: absolute; right: 22px; bottom: 0; width: min(330px, 86%); }

.bubble { background: var(--night); border: 1px solid var(--night-rule-2); border-radius: 13px; padding: 12px 14px 14px; color: var(--chalk); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
.bubble-head { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ash); font-weight: 600; }
.bubble-head span:last-child { font-weight: 400; color: var(--smoke); }
.bubble-you { margin: 10px 0 0 auto; width: fit-content; max-width: 90%; background: var(--night-3); border-radius: 9px; padding: 6px 10px; font-size: 13.5px; color: var(--ash); }
.bubble-bolt { margin-top: 10px; font-size: 15.5px; font-weight: 500; line-height: 1.4; }
.draft { margin-top: 12px; background: var(--night-2); border: 1px solid var(--night-rule); border-radius: 10px; padding: 12px; }
.draft-label { font-size: 12.5px; color: var(--ash); display: flex; align-items: center; gap: 7px; }
.draft-label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--deadbolt); }
.draft-msg { margin-top: 8px; background: var(--night-3); border-radius: 8px; padding: 9px 11px; font-size: 14.5px; }
.draft-actions { display: flex; gap: 8px; margin-top: 10px; }
.draft-actions + .ui-faint { margin-top: 10px; }

.toast-scene { position: relative; height: 260px; border-radius: 14px; border: 1px solid var(--night-rule); overflow: hidden; background: linear-gradient(var(--night-2), var(--night-2)) padding-box; }
.toast-tab { position: absolute; left: 18px; right: 18px; top: 18px; height: 34px; border-radius: 8px; background: var(--night-3); display: flex; align-items: center; gap: 10px; padding: 0 12px; font-size: 13px; color: var(--smoke); }
.toast-tab b { width: 10px; height: 10px; border-radius: 3px; background: var(--night-rule-2); }
.toast-lines { position: absolute; left: 18px; right: 40%; top: 72px; display: grid; gap: 10px; }
.toast-lines i { display: block; height: 9px; border-radius: 4px; background: var(--night-3); }
.toast { position: absolute; right: 18px; bottom: 18px; width: min(320px, calc(100% - 36px)); display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; background: var(--night); border: 1px solid var(--night-rule-2); border-radius: 12px; padding: 12px 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45); }
.toast p { font-size: 15px; font-weight: 500; line-height: 1.38; }
.toast .draft-actions { margin-top: 10px; }

.pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--night); border: 1px solid var(--night-rule-2); font-size: 13px; color: var(--chalk); }
.pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--deadbolt); }
.pop { margin-top: 10px; }
.pop-head { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; }
.pop-head small { display: block; color: var(--smoke); font-size: 12.5px; }
.pop-head strong { font-weight: 600; color: var(--deadbolt); font-size: 13.5px; }
.pop-goal { margin-top: 12px; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.pop-stat { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--night-rule); font-size: 14px; color: var(--ash); }
.pop-stat b { color: var(--chalk); font-weight: 600; }
.todo { margin-top: 12px; display: grid; gap: 9px; font-size: 14px; }
.todo li { display: flex; gap: 10px; align-items: center; }
.todo li::before { content: ''; flex: none; width: 15px; height: 15px; border-radius: 4px; border: 1.5px solid var(--night-rule-2); }
.todo li.done { color: var(--smoke); text-decoration: line-through; }
.todo li.done::before { background: var(--chalk); border-color: var(--chalk); box-shadow: inset 0 0 0 3px var(--night-2); }
.pop .draft-actions { margin-top: 16px; }

.board-sub { color: var(--smoke); font-size: 13px; margin-top: 3px; }
.board { margin-top: 16px; display: grid; }
.board li { display: grid; grid-template-columns: 28px 70px 1fr 74px; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--night-rule); font-size: 14px; }
.board li span:first-child { color: var(--smoke); }
.board li i { height: 3px; border-radius: 3px; background: var(--night-rule-2); position: relative; overflow: hidden; }
.board li i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--chalk); border-radius: 3px; }
.board li .num { text-align: right; color: var(--ash); }
.board li.you { color: var(--chalk); font-weight: 600; }

/* ---------- home: plans list (paper) */
.plans-home { padding-block: 140px 150px; }
.plans-home-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.price-list { margin-top: 64px; border-top: 1px solid var(--ink); }
.price-row { display: grid; grid-template-columns: 220px 1fr 220px; gap: 32px; align-items: baseline; padding: 30px 0 32px; border-bottom: 1px solid var(--rule); }
.price-row h3 { font-size: clamp(30px, 3vw, 42px); font-weight: 620; letter-spacing: -0.035em; line-height: 1; }
.price-row p { color: var(--graphite); font-size: 17px; max-width: 46ch; }
.price-row p .voice { display: block; color: var(--ink); margin-bottom: 4px; }
.price-row .amt { color: var(--ink); white-space: nowrap; text-align: right; font-size: clamp(30px, 3vw, 42px); font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.price-row .amt small { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--mute); margin-left: 4px; }
.plans-home-foot { margin-top: 34px; display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }

/* ---------- home: the last word (night) */
.last { padding-block: 150px 190px; }
.last .h2 { max-width: 12ch; }
.last .lede { color: var(--ash); margin-top: 24px; }
.last .hero-cta .small { color: var(--smoke); }

/* ---------- inner pages */
.page-head { padding: 72px 0 56px; }
.page-head .display { font-size: clamp(44px, 6.4vw, 96px); max-width: 13ch; }
.page-head .lede { margin-top: 24px; }
.section { padding: 0 0 120px; }

/* pricing */
.status { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 15px; color: var(--graphite); }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--mute); }
.status[data-live='true']::before { background: #2E9E6B; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.plan { padding: 30px 28px 36px; border-left: 1px solid var(--rule); display: flex; flex-direction: column; }
.plan:first-child { border-left: 0; padding-left: 0; }
.plan:last-child { padding-right: 0; }
.plan-bolt { height: 76px; display: flex; align-items: flex-end; }
.plan h2 { margin-top: 18px; font-size: 30px; font-weight: 620; letter-spacing: -0.03em; line-height: 1; }
.plan-price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; }
.plan-price b { font-size: 60px; font-weight: 620; letter-spacing: -0.05em; line-height: 0.9; }
.plan-price span { font-size: 15px; color: var(--mute); }
.plan-says { margin-top: 18px; font-size: 17px; min-height: 3em; }
.plan-feats { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--rule); display: grid; gap: 10px; font-size: 16px; color: var(--graphite); flex: 1; align-content: start; }
.plan-feats li { padding-left: 18px; position: relative; }
.plan-feats li::before { content: ''; position: absolute; left: 0; top: 11px; width: 8px; height: 1.5px; background: var(--ink); }
.plan-feats li.plus { color: var(--ink); font-weight: 500; padding-left: 0; }
.plan-feats li.plus::before { display: none; }
.plan .btn { margin-top: 28px; width: 100%; }
.plan-foot { margin-top: 10px; font-size: 14px; color: var(--mute); min-height: 1.5em; text-align: center; }

.compare-wrap { margin-top: 110px; }
.compare-wrap .h2 { font-size: clamp(30px, 3.4vw, 46px); }
.table-scroll { margin-top: 36px; overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 640px; }
.compare th, .compare td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.compare thead th { font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--ink); }
.compare td:not(:first-child), .compare thead th:not(:first-child) { text-align: center; width: 13%; }
.compare tbody th { font-weight: 400; color: var(--graphite); }
.compare tbody th small { display: block; font-size: 14px; color: var(--mute); margin-top: 2px; }
.compare .yes { display: inline-block; width: 18px; height: 10px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg) translate(1px, -2px); }
.compare .no { display: inline-block; width: 10px; height: 1.5px; background: var(--rule); vertical-align: middle; }
.compare tr.group th { padding-top: 34px; font-weight: 600; color: var(--ink); border-bottom-color: var(--ink); }
.levels { margin-top: 90px; display: grid; grid-template-columns: 280px 1fr; gap: 40px; }
.levels dl { margin: 0; display: grid; grid-template-columns: 130px 1fr; border-top: 1px solid var(--rule); }
.levels dt, .levels dd { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.levels dt { font-weight: 600; }
.levels dd { color: var(--graphite); }
.levels dd small { color: var(--mute); font-size: 14px; margin-left: 6px; }

/* download */
.dl { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 60px; align-items: start; }
.dl-card { border-top: 1px solid var(--ink); padding-top: 30px; }
.dl-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tag { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 8px; background: var(--paper-2); border: 1px solid var(--rule); font-size: 14px; font-weight: 500; }
.notice { margin-top: 30px; display: grid; grid-template-columns: 18px 1fr; gap: 12px; font-size: 16px; color: var(--graphite); max-width: 36em; }
.notice::before { content: ''; width: 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: var(--graphite); }
.steps { counter-reset: step; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 6px 16px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.steps li::before { counter-increment: step; content: counter(step); grid-row: span 2; font-size: 40px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.steps h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.steps p { color: var(--graphite); font-size: 16px; }
.dl-bolt { margin-top: 36px; display: flex; align-items: flex-end; gap: 16px; }
.dl-bolt .bubble { max-width: 270px; margin-bottom: 40px; }

/* account */
.acct { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; padding-bottom: 120px; }
.acct-aside .display { font-size: clamp(42px, 5.4vw, 80px); max-width: 9ch; }
.acct-aside .lede { margin-top: 22px; }
.acct .panel { padding-top: 0; margin-top: 78px; }
.acct-can { margin-top: 34px; display: grid; gap: 10px; font-size: 17px; color: var(--graphite); }
.acct-can li { padding-left: 20px; position: relative; }
.acct-can li::before { content: ''; position: absolute; left: 0; top: 13px; width: 9px; height: 1.5px; background: var(--ink); }
.panel { border-top: 1px solid var(--ink); }
.form { display: grid; gap: 18px; padding-top: 30px; max-width: 460px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field textarea {
  width: 100%; height: 50px; padding: 0 14px; border-radius: 10px; border: 1px solid #D2D0CB; background: #fff; font-size: 17px;
  transition: border-color var(--motion-fast) linear, box-shadow var(--motion-fast) linear;
}
.field textarea { height: auto; min-height: 140px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(22, 22, 22, 0.1); }
.field .hint { font-size: 14px; color: var(--mute); }
.form-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.msg { font-size: 15px; min-height: 1.4em; }
.msg[data-kind='error'] { color: #B4300C; }
.msg[data-kind='ok'] { color: #1F7A52; }
.rows { display: grid; }
.row { display: grid; grid-template-columns: 170px 1fr auto; gap: 8px 24px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.row-label { padding-top: 2px; }
.row-label { font-weight: 600; font-size: 16px; }
.row-value { color: var(--graphite); font-size: 16px; min-width: 0; overflow-wrap: anywhere; }
.row-value strong { color: var(--ink); font-weight: 600; }
.row-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.row-more { grid-column: 2 / -1; }
.devices { display: grid; gap: 8px; }
.devices li { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.devices li small { display: block; color: var(--mute); font-size: 14px; }
.upgrade-list { display: flex; gap: 8px; flex-wrap: wrap; }
.danger-zone { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--rule); }
.danger-zone .h3 { font-size: 19px; }
.danger-zone p { margin-top: 6px; color: var(--graphite); font-size: 16px; max-width: 40em; }
.confirm { margin-top: 16px; display: grid; gap: 12px; max-width: 420px; }
[hidden] { display: none !important; }

/* prose pages: privacy, terms, help */
.doc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 72px; padding-bottom: 120px; }
.doc-aside { position: sticky; top: 28px; align-self: start; }
.doc-aside p { font-size: 15px; color: var(--mute); }
.doc-aside ol { margin-top: 18px; display: grid; gap: 8px; font-size: 15px; }
.doc-aside a { text-decoration: none; color: var(--graphite); }
.doc-aside a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.prose { max-width: 40em; }
.prose h2 { font-size: 27px; font-weight: 620; letter-spacing: -0.025em; line-height: 1.15; margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--rule); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; font-weight: 600; margin-top: 30px; letter-spacing: -0.012em; }
.prose p, .prose li { color: var(--graphite); font-size: 18px; line-height: 1.62; }
.prose p { margin-top: 14px; }
.prose ul { margin-top: 14px; display: grid; gap: 10px; }
.prose ul li { padding-left: 20px; position: relative; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: 14px; width: 9px; height: 1.5px; background: var(--ink); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { text-underline-offset: 3px; }
.summary { background: var(--paper-2); border-radius: 14px; padding: 26px 28px; margin-bottom: 8px; }
.summary h2 { margin: 0; padding: 0; border: 0; font-size: 20px; }
.summary ul { margin-top: 12px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq h2 { border-top: 0; padding-top: 0; margin-bottom: 14px; }
.faq h2 + details { border-top: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 19px; letter-spacing: -0.012em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 27px; width: 10px; height: 10px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); transition: transform var(--motion-fast) linear; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 31px; }
.faq details > div { padding: 0 0 22px; }
.faq details > div p:first-child { margin-top: 0; }
.contact { margin-top: 80px; }

/* 404 */
.lost { padding: 60px 0 140px; display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; }

/* ---------- the taskbar: Bolt lives here on every page */
.tb { position: fixed; left: 0; right: 0; bottom: 0; height: var(--tb-h); z-index: 60; pointer-events: none; font-family: var(--sans); }
.tb-bar {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: #1D1D1D; border-top: 1px solid #2E2E2E; color: #DCDAD6; pointer-events: auto;
}
.tb-search { display: inline-flex; align-items: center; gap: 9px; height: 38px; width: 236px; padding: 0 14px; border-radius: 19px; background: #2A2A2A; color: #9C9A96; font-size: 13px; }
.tb-apps { display: flex; gap: 6px; margin-left: 10px; }
.tb-apps i { width: 44px; height: 44px; border-radius: 7px; display: grid; place-items: center; position: relative; }
.tb-apps i::before { content: ''; width: 23px; height: 23px; border-radius: 5px; background: #3A3A3A; }
.tb-apps i:nth-child(2)::before { border-radius: 50%; background: #444; }
.tb-apps i:nth-child(4)::before { width: 18px; height: 15px; border-radius: 3px; background: #4A4A4A; }
.tb-apps .tb-app-lawked { background: #2C2C2C; }
.tb-apps .tb-app-lawked::before { display: none; }
.tb-apps .tb-app-lawked::after { content: ''; position: absolute; bottom: 2px; left: 50%; width: 14px; height: 3px; margin-left: -7px; border-radius: 2px; background: #C9C7C3; }
.tb-apps img { width: 24px; height: 24px; display: block; }
.tb-clock { position: absolute; right: 16px; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; font-size: 12px; line-height: 1.35; font-variant-numeric: tabular-nums; }
.tb-walker { position: absolute; left: 0; bottom: 8px; width: 0; z-index: 2; will-change: transform; }
.tb-bolt {
  position: absolute; left: 0; bottom: 0; width: max-content; padding: 0; margin: 0; border: 0; background: none; cursor: pointer;
  pointer-events: auto; touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
  transform-origin: 50% 100%; transform: translateX(-50%) scale(var(--s, 0.55)); transition: transform 560ms var(--motion-ease);
}
.tb-bolt:focus-visible { outline-offset: -6px; border-radius: 16px; }
.tb-flip { display: block; transform-origin: 50% 100%; transition: transform 160ms linear; }
.tb-bolt[data-facing='left'] .tb-flip { transform: scaleX(-1); }
.tb-bubble {
  position: absolute; left: 0; bottom: var(--bb, 120px); transform: translateX(var(--bl, 0px)) translateY(8px);
  width: max-content; max-width: min(330px, calc(100vw - 24px));
  background: var(--night); color: var(--chalk); border: 1px solid #2E2E2E; border-radius: 14px;
  padding: 11px 15px 12px; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  opacity: 0; transition: opacity 180ms linear, transform 260ms var(--motion-ease); pointer-events: none;
}
.tb-bubble[data-show='true'] { opacity: 1; transform: translateX(var(--bl, 0px)) translateY(0); }
.tb-bubble::after { content: ''; position: absolute; bottom: -6px; left: var(--tail, 50%); width: 11px; height: 11px; margin-left: -6px; background: var(--night); border-right: 1px solid #2E2E2E; border-bottom: 1px solid #2E2E2E; transform: rotate(45deg); }
.tb-q { margin: 0 0 7px auto; width: fit-content; max-width: 100%; background: #1E1E1E; border-radius: 8px; padding: 4px 9px; font-size: 13.5px; color: var(--ash); }
.tb-a { font-size: 16px; font-weight: 500; line-height: 1.38; letter-spacing: -0.005em; min-height: 1.38em; }
.tb-wave { display: none; gap: 3px; align-items: center; height: 18px; margin-top: 2px; }
.tb-bubble[data-mode='listen'] .tb-wave { display: flex; }
.tb-bubble[data-mode='listen'] .tb-a { display: none; }
.tb-wave i { width: 3px; height: 100%; border-radius: 2px; background: var(--chalk); animation: tb-wave 700ms ease-in-out infinite alternate; }
.tb-wave i:nth-child(2) { animation-delay: -200ms; }
.tb-wave i:nth-child(3) { animation-delay: -450ms; }
.tb-wave i:nth-child(4) { animation-delay: -100ms; }
.tb-wave i:nth-child(5) { animation-delay: -550ms; }
@keyframes tb-wave { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }

/* ---------- responsive */
@media (max-width: 1100px) {
  .beat { grid-template-columns: 96px minmax(0, 1fr); gap: 0 32px; }
  .beat-ui { grid-column: 2; margin-top: 30px; max-width: 560px; }
  .evening-head { grid-template-columns: 1fr; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plan:nth-child(3) { border-left: 0; padding-left: 0; }
  .plan:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .plan:nth-child(2) { padding-right: 0; }
  .plan:nth-child(3) { padding-right: 28px; }
  .dl, .acct { grid-template-columns: 1fr; gap: 48px; }
  .doc { grid-template-columns: 1fr; gap: 32px; }
  .doc-aside { position: static; }
  .levels { grid-template-columns: 1fr; gap: 20px; }
  .foot-in { grid-template-columns: 1fr; gap: 30px; }
  .hero-note { display: none; }
}
@media (max-width: 720px) {
  :root { --gutter: 20px; --tb-h: 56px; }
  body { font-size: 17px; }
  .top-in { height: 68px; }
  .nav-toggle { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--rule); background: transparent; font-weight: 600; font-size: 15px; cursor: pointer; }
  .nav-list { display: none; position: absolute; right: var(--gutter); top: 62px; z-index: 30; flex-direction: column; align-items: stretch; gap: 0; min-width: 210px; padding: 8px; background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12); }
  .nav[data-open='true'] .nav-list { display: flex; }
  .nav-list a:not(.btn) { display: block; padding: 12px 12px; font-size: 17px; }
  .nav-list .btn { margin-top: 6px; width: 100%; height: 46px; }
  .hero { min-height: calc(100svh - 68px - var(--tb-h)); justify-content: flex-start; padding-block: 20px 170px; }
  .hero .lede { margin-top: 22px; }
  .hero-cta { margin-top: 30px; }
  .hero-cta .btn { width: 100%; }
  .hero-try { margin-top: 20px; }
  .evening { padding-block: 96px 90px; }
  .beats { margin-top: 70px; padding-left: 22px; }
  .beat { grid-template-columns: 1fr; padding-bottom: 88px; }
  .beat-time { padding-top: 0; margin-bottom: 10px; }
  .beat-time::before { top: 8px; }
  .beat::before { top: 20px; }
  .beat-ui { grid-column: 1; margin-top: 26px; }
  .ui-block-body { grid-template-columns: 1fr; gap: 14px; margin-top: 18px; }
  .sheet { padding: 22px 18px 26px; }
  .sheet li { font-size: 18px; }
  .mark-ring { width: 150px; left: 22px; }
  .mark-work { left: 180px; font-size: 21px; white-space: nowrap; }
  .tutor { padding-bottom: 0; }
  .tutor .bubble { position: relative; right: auto; bottom: auto; width: auto; margin: -20px 0 0 24px; }
  .plans-home { padding-block: 96px 100px; }
  .price-row { grid-template-columns: 1fr auto; gap: 10px 16px; padding: 24px 0; }
  .price-row h3 { grid-column: 1; grid-row: 1; }
  .price-row .amt { grid-column: 2; grid-row: 1; }
  .price-row p:not(.amt) { grid-column: 1 / -1; grid-row: 2; }
  .last { padding-block: 100px 150px; }
  .page-head { padding: 36px 0 40px; }
  .plans { grid-template-columns: 1fr; }
  .plan, .plan:nth-child(n) { border-left: 0; padding: 28px 0 32px; border-top: 1px solid var(--rule); }
  .plan:first-child { border-top: 0; }
  .acct .panel { margin-top: 0; }
  .row { grid-template-columns: 1fr; gap: 8px; }
  .row-actions { justify-content: flex-start; }
  .row-more { grid-column: 1; }
  .foot-nav ul { grid-template-columns: repeat(2, max-content); }
  .lost { grid-template-columns: 1fr; gap: 20px; }
  .tb-bar { justify-content: flex-start; padding-left: 10px; }
  .tb-search { width: 44px; padding: 0; justify-content: center; font-size: 0; gap: 0; }
  .tb-apps { margin-left: 6px; gap: 2px; }
  .tb-apps i { width: 34px; }
  .tb-clock #tb-date { display: none; }
  .tb-clock { right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; animation-iteration-count: 1 !important; }
  [data-draw] .mark-ring path { stroke-dashoffset: 0; }
  [data-draw] .mark-note { opacity: 1; }
}
