:root {
  --bg: #0a0f14;
  --tone: #121a22;
  --tone-2: #1b2631;
  --text: #e7eef5;
  --muted: #9aa8b6;
  --accent: #4dd0e1;
  --on-accent: #06222a;
  --sans: ui-sans-serif, system-ui, -apple-system, "Inter", "Segoe UI", Roboto, sans-serif;
  --code: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; /* taste-skill-ignore: literal OAuth scope strings */
  --m: clamp(16px, 2.8vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 18px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, p, ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.bar {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 28px var(--m);
  font-size: 16px;
}
.wordmark { font-weight: 600; text-decoration: none; }
.bar nav { display: flex; gap: clamp(14px, 2vw, 28px); }
.bar nav a { color: var(--muted); text-decoration: none; transition: color .15s; }
.bar nav a:hover, .bar nav a[aria-current] { color: var(--text); }

.hero {
  position: relative;
  padding: 66px var(--m) 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 16px;
  overflow: hidden;
}
.hero-text { grid-column: 1 / 7; grid-row: 1; z-index: 1; padding-bottom: 40px; }
.hero h1 {
  font-size: clamp(44px, 5.2vw, 80px);
  line-height: 1.02;
  letter-spacing: -.03em;
  font-weight: 600;
  margin-bottom: 24px;
}
.lede { max-width: 46ch; }
.button {
  display: inline-block;
  margin-top: 28px;
  padding: 13px 22px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: transform .15s var(--ease), background .15s;
}
.button:hover { background: #7fe0ec; }
.button:active { transform: translateY(1px); }

.stage {
  grid-column: 7 / 13;
  grid-row: 1;
  margin: -66px calc(var(--m) * -1) 0 0;
  padding: clamp(32px, 7vh, 72px) var(--m) clamp(32px, 7vh, 72px) 56px;
  background: var(--accent);
  clip-path: polygon(96px 0, 100% 0, 100% 100%, 0 100%, 0 96px);
  scroll-margin-top: 0;
}
.js .stage { animation: shutter 1.1s var(--ease) both; }
@keyframes shutter { from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%, 100% 96px); } }

[data-ui].ledger {
  max-width: 620px;
  background: var(--bg);
  padding: 22px 24px 28px;
  min-height: 340px;
  font-size: 15px;
  border-radius: 6px;
}
.ledger-title { font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.ledger-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 20px; }
.ledger-tabs button {
  padding: 8px 14px; background: var(--tone); border: 0; border-radius: 4px; cursor: pointer;
  color: var(--muted); transition: background .15s, color .15s;
}
.ledger-tabs button:hover { color: var(--text); background: var(--tone-2); }
.ledger-tabs button[aria-selected="true"] { background: var(--accent); color: var(--on-accent); font-weight: 600; }
.scope { background: var(--tone); padding: 12px 14px; border-radius: 4px; margin-bottom: 18px; overflow-wrap: anywhere; }
code { font-family: var(--code); font-size: .9em; }
.ledger dl { display: grid; grid-template-columns: 100px 1fr; gap: 12px 16px; }
.ledger dt { color: var(--muted); }

.statement {
  padding: clamp(96px, 16vh, 180px) var(--m);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 16px; align-items: center;
}
.statement p {
  grid-column: 1 / 8;
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.2;
  letter-spacing: -.015em;
  font-weight: 500;
}
.statement dl { grid-column: 8 / 13; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.statement dl div { background: var(--tone); padding: 16px; }
.statement dd { font-size: clamp(36px, 4.2vw, 64px); line-height: 1; font-weight: 600; letter-spacing: -.03em; }
.statement dt { font-size: 15px; color: var(--muted); margin-top: 8px; }

.tasks { padding: 0 var(--m); }
.tasks input {
  width: 100%;
  height: 1.9em;
  padding: 0 .5em;
  font-size: clamp(22px, 3vw, 44px);
  background: var(--tone);
  border: 0;
  margin-bottom: 20px;
}
.tasks input::placeholder { color: var(--muted); }
.tasks li button {
  display: block; width: 100%; text-align: left;
  padding: 10px 16px;
  background: none; border: 0; cursor: pointer;
  transition: background .15s, color .15s;
}
.task-name {
  display: block;
  font-size: clamp(32px, 4.6vw, 72px);
  line-height: 1.1;
  letter-spacing: -.025em;
  font-weight: 500;
}
.task-note { display: none; margin-top: 6px; font-size: 18px; }
.tasks li button:hover { background: var(--tone); }
.tasks li button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.tasks li button[aria-pressed="true"] .task-note { display: block; }
#task-empty { padding: 16px; }

.faq {
  padding: clamp(120px, 20vh, 220px) var(--m);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 16px;
}
.faq-list { grid-column: 1 / 6; }
.faq-list h2 { font-size: 18px; font-weight: 400; color: var(--muted); margin-bottom: 18px; }
.faq-list li { margin-bottom: 18px; }
.faq-list button {
  display: flex; align-items: baseline; gap: 12px;
  background: none; border: 0; padding: 0; cursor: pointer; text-align: left;
  color: var(--muted); transition: color .15s;
}
.faq-list button::before {
  content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: var(--muted); transform: translateY(-2px);
}
.faq-list li.on button { color: var(--text); }
.faq-list li.on button::before { background: var(--accent); }
.faq-list li p { display: none; }
.faq-pane {
  grid-column: 7 / 13; position: sticky; top: 120px; align-self: start;
  font-size: clamp(22px, 2vw, 28px); line-height: 1.3; max-width: 30ch; min-height: 8em;
}

.tiles {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px;
  padding: 0 var(--m) var(--m);
}
.tile { background: var(--tone); padding: 24px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; }
.t-state { grid-column: span 5; }
.t-state p { font-size: 24px; line-height: 1.25; }
.t-state small { font-size: 14px; color: var(--muted); }
.t-nav { grid-column: span 3; justify-content: flex-start; gap: 8px; }
.t-nav a { text-decoration: none; }
.t-nav a:hover { color: var(--accent); }
.t-contact { grid-column: span 4; }
.t-contact span { color: var(--muted); }
.t-word { grid-column: span 8; background: var(--text); color: var(--bg); min-height: 320px; justify-content: center; }
.t-word span { font-size: clamp(36px, 5.6vw, 88px); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.t-go { grid-column: span 4; background: var(--accent); color: var(--on-accent); text-decoration: none; min-height: 320px; font-size: 28px; line-height: 1.15; font-weight: 500; transition: transform .15s var(--ease); }
.t-go svg { align-self: flex-end; transition: transform .2s var(--ease); }
.t-go:hover svg { transform: translate(4px, -4px); }

.legal { max-width: 760px; margin: 0 auto; padding: 72px var(--m) 96px; }
.legal code { overflow-wrap: anywhere; }
.legal h1 { font-size: clamp(40px, 5.2vw, 72px); line-height: 1.05; letter-spacing: -.03em; font-weight: 600; margin-bottom: 20px; }
.legal h2 { font-size: 24px; line-height: 1.2; font-weight: 600; margin: 48px 0 12px; }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 14px; }
.legal li { margin: 8px 0; padding-left: 18px; position: relative; }
.legal li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; background: var(--accent); }
.legal a { color: var(--accent); }
.foot { display: flex; gap: 24px; flex-wrap: wrap; padding: 32px var(--m); background: var(--tone); font-size: 16px; }

.js .rise { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .rise.in { opacity: 1; transform: none; }
.js .tasks li { opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .tasks li.in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .statement { display: block; }
  .statement dl { margin-top: 32px; }
}
@media (max-width: 760px) {
  .bar nav a:first-child { display: none; }
  .hero { display: block; padding-top: 24px; overflow: visible; }
  .statement { display: block; }
  .statement dl { margin-top: 32px; grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 10vw; }
  .stage { margin: 8px calc(var(--m) * -1) 0; padding: 40px 16px 0; clip-path: polygon(72px 0, 100% 0, 100% 100%, 0 100%, 0 72px); }
  .ledger dl { grid-template-columns: 1fr; gap: 2px 0; }
  .ledger dd { margin-bottom: 10px; }
  .task-name { font-size: 8.5vw; }
  .faq { display: block; }
  .faq-pane { display: none; }
  .faq-list li.on p { display: block; margin: 8px 0 0 20px; font-size: 18px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 6px; }
  .tile { min-height: 160px; padding: 20px; }
  .t-word, .t-go { grid-column: 1 / -1; order: -1; min-height: 160px; }
  .t-word span { font-size: 9vw; }
  .t-nav, .t-contact { grid-column: span 1; }
  .t-state { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .stage { animation: none; }
  .js .rise, .js .tasks li { opacity: 1; transform: none; transition: none; }
}
