:root {
  --paper: #f4efe6;
  --sheet: #fbf8f1;
  --ink: #1b1a17;
  --muted: #5f594e;
  --rule: #d9d0bf;
  --pencil: #b3311d;
  --keep: #2f5d3a;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #16140f;
    --sheet: #1f1c16;
    --ink: #ece5d6;
    --muted: #a69e8e;
    --rule: #3a352b;
    --pencil: #e2604a;
    --keep: #7fb38a;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--sans); }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; margin: 0; }
main { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.bar { display: flex; align-items: baseline; justify-content: space-between; max-width: 1080px; margin: 0 auto; padding: 22px 24px; }
.mark { font: 600 26px/1 var(--serif); text-decoration: none; }
.bar nav { display: flex; gap: 22px; font-size: 15px; }
.bar nav a { text-decoration: none; color: var(--muted); }
.bar nav a:hover { color: var(--ink); }

.hero { padding: 72px 0 28px; max-width: 900px; }
.hero h1 { font-size: clamp(44px, 7.4vw, 92px); line-height: 0.98; letter-spacing: -0.025em; }
.lede { font-size: clamp(18px, 2vw, 21px); max-width: 640px; margin: 28px 0 0; color: var(--ink); }

/* the interview */
.talk { margin: 28px 0 0; max-width: 760px; }
.memo { background: var(--sheet); border: 1px solid var(--ink); border-radius: 3px; box-shadow: 6px 6px 0 var(--rule); }
.transcript { padding: 26px 26px 6px; max-height: min(62vh, 560px); overflow-y: auto; }
.msg { margin: 0 0 18px; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.ruth { font: 20px/1.45 var(--serif); }
.msg.you { margin-left: auto; max-width: 82%; width: fit-content; background: var(--paper); border: 1px solid var(--rule); border-radius: 3px; padding: 9px 13px; font-size: 16px; }
.msg.wait { color: var(--muted); font: italic 17px/1.4 var(--serif); }
.msg.err { color: var(--pencil); font-size: 15px; }
.cursor::after { content: ""; display: inline-block; width: 0.5em; height: 1em; background: var(--ink); vertical-align: -0.12em; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cursor::after { animation: none; opacity: 0.5; } }
.actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 4px 26px 18px; }
.aside { color: var(--muted); font-size: 14px; }
.composer { display: flex; gap: 10px; border-top: 1px solid var(--rule); padding: 14px; align-items: flex-end; }
.composer textarea { flex: 1; resize: none; border: 0; background: transparent; color: var(--ink); font: 17px/1.45 var(--sans); padding: 8px 10px; min-height: 42px; max-height: 180px; outline: none; }
.composer textarea::placeholder { color: var(--muted); }
.composer:focus-within { box-shadow: inset 0 2px 0 var(--ink); }
button { font: inherit; cursor: pointer; }
#send, .primary { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-radius: 3px; padding: 10px 18px; font-weight: 600; font-size: 16px; text-decoration: none; display: inline-block; }
#send:disabled, .primary:disabled { opacity: 0.45; cursor: default; }
.primary:hover:not(:disabled), #send:hover:not(:disabled) { background: var(--pencil); border-color: var(--pencil); }
.primary.big { font-size: 19px; padding: 14px 26px; }
.link { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
.fine { color: var(--muted); font-size: 14px; margin: 16px 2px 0; }
:focus-visible { outline: 2px solid var(--pencil); outline-offset: 2px; }

/* the contract sheet */
.sheet { margin: 56px 0 0; max-width: 860px; background: var(--sheet); border: 1px solid var(--ink); border-radius: 3px; padding: 34px clamp(18px, 4vw, 44px); }
.sheet h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.08; }
.sheet .plan { color: var(--muted); margin: 6px 0 0; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 40px; margin: 26px 0 8px; padding: 18px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.fact { min-width: 120px; }
.fact b { display: block; font: 600 26px/1.15 var(--serif); font-variant-numeric: tabular-nums; }
.fact span { font-size: 14px; color: var(--muted); }
.summary { font: 19px/1.5 var(--serif); margin: 22px 0; }
.share { margin: 26px 0 10px; }
.share p { margin: 0 0 8px; font-weight: 600; }
.meter { height: 10px; background: var(--rule); border-radius: 2px; overflow: hidden; display: flex; }
.meter i { display: block; height: 100%; }
.meter .k { background: var(--keep); }
.meter .u { background: repeating-linear-gradient(135deg, var(--muted) 0 3px, transparent 3px 6px); opacity: 0.6; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin-top: 8px; }
.features { list-style: none; margin: 18px 0 0; padding: 0; }
.features li > * { min-width: 0; }
.features li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.features .name { font-weight: 600; position: relative; justify-self: start; }
.features .why { grid-column: 1 / -1; color: var(--muted); font-size: 14.5px; }
.features .tag { font-size: 13px; color: var(--muted); align-self: start; white-space: nowrap; }
.features li.no .name { color: var(--muted); }
.features li.no .name { text-decoration: line-through; text-decoration-color: var(--pencil); text-decoration-thickness: 2px; }
.features li.yes .tag { color: var(--keep); font-weight: 600; }
.features li.no .tag { color: var(--pencil); font-weight: 600; }
.group-head { font: 600 13px/1 var(--sans); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); padding-top: 22px !important; border-bottom: 1px solid var(--ink) !important; display: block !important; }
.note { font-size: 15px; color: var(--muted); margin: 18px 0 0; }

.start { margin: 40px 0 0; max-width: 680px; }
.start h2 { font-size: 34px; }
.fields { display: grid; gap: 14px; margin-top: 18px; max-width: 460px; }
.fields label { display: grid; gap: 5px; font-size: 14px; font-weight: 600; }
.fields input, .fields select, .fields textarea { font: 17px/1.4 var(--sans); padding: 10px 12px; border: 1px solid var(--ink); border-radius: 3px; background: var(--sheet); color: var(--ink); }
.fields .primary { justify-self: start; }
.error { color: var(--pencil); margin: 0; min-height: 1.2em; font-size: 15px; }

.statement { margin: 110px 0 0; padding: 56px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.statement p { margin: 0; font: 600 clamp(32px, 5vw, 60px)/1.08 var(--serif); letter-spacing: -0.02em; }

.how, .price, .watch, .faq { margin: 96px 0 0; max-width: 760px; }
.how h2, .price h2, .watch h2, .faq h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 22px; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 30px 64px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -6px; font: 600 40px/1 var(--serif); color: var(--pencil); }
.steps h3 { font-size: 23px; margin-bottom: 6px; }
.steps p { margin: 0; }
.price p { max-width: 660px; }
.example { margin-top: 26px; border: 1px solid var(--ink); background: var(--sheet); border-radius: 3px; padding: 20px 24px; }
.ex-head { margin: 0 0 10px !important; font-weight: 600; }
.example table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.example th, .example td { text-align: left; padding: 9px 0; border-top: 1px solid var(--rule); font-weight: 400; vertical-align: top; }
.example td { text-align: right; padding-left: 16px; }
.example tr.total th, .example tr.total td { font-weight: 700; border-top: 1px solid var(--ink); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.two h3 { font-size: 21px; margin-bottom: 4px; }
.two ul { padding-left: 20px; margin: 8px 0 0; }
.two li { margin-bottom: 8px; }
.faq details { border-top: 1px solid var(--rule); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font: 600 19px/1.35 var(--serif); }
.faq details p { margin: 10px 0 0; }
.close { margin: 110px 0 0; padding: 70px 0 30px; border-top: 1px solid var(--ink); }
.close h2 { font-size: clamp(44px, 7vw, 86px); line-height: 1; letter-spacing: -0.025em; }
.close p { font-size: 20px; margin: 18px 0 30px; }
.foot { max-width: 1080px; margin: 80px auto 0; padding: 26px 24px 46px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--rule); }

@media (max-width: 680px) {
  body { font-size: 16px; }
  main, .bar { padding-left: 16px; padding-right: 16px; }
  .bar nav { gap: 14px; font-size: 14px; }
  .bar nav a:nth-child(3) { display: none; }
  .hero { padding-top: 36px; }
  .transcript { padding: 18px 16px 4px; }
  .msg.ruth { font-size: 18px; }
  .actions { padding: 4px 16px 16px; }
  .two { grid-template-columns: 1fr; gap: 10px; }
  .steps li { padding-left: 46px; }
  .steps li::before { font-size: 32px; }
  .example td { white-space: normal; }
  .wsfeat li { grid-template-columns: 1fr; }
  .wsfeat .ctrl { justify-content: flex-start; }
  .facts { gap: 10px 28px; }
  .fact b { font-size: 22px; }
}

/* workspace and ops */
.ws main { max-width: 980px; }
.ws-head { padding: 40px 0 10px; }
.ws-head h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.04; }
.ws-head p { color: var(--muted); margin: 10px 0 0; }
.phase { display: inline-block; margin-top: 18px; padding: 6px 12px; border: 1px solid var(--ink); border-radius: 3px; font-weight: 600; font-size: 15px; }
.phase.ready { background: var(--keep); border-color: var(--keep); color: var(--sheet); }
.block { margin: 46px 0 0; }
.block > h2 { font-size: 30px; margin-bottom: 14px; }
.block .sub { color: var(--muted); margin: -6px 0 16px; max-width: 680px; }
.panel { background: var(--sheet); border: 1px solid var(--ink); border-radius: 3px; padding: 22px clamp(16px, 3vw, 28px); }
.wsfeat li { grid-template-columns: 1fr auto; }
.wsfeat .ctrl { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.chip { border: 1px solid var(--rule); background: transparent; color: var(--ink); border-radius: 3px; padding: 3px 9px; font-size: 13px; }
.chip.on { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.chip.on.drop { background: var(--pencil); border-color: var(--pencil); }
.stage { font-size: 13px; padding: 3px 6px; border: 1px solid var(--rule); border-radius: 3px; background: var(--sheet); color: var(--ink); }
.seen { color: var(--keep); font-size: 14px; }
.steps-small { margin: 0; padding-left: 20px; }
.steps-small li { margin: 0 0 10px; }
.counts { display: flex; gap: 10px 40px; flex-wrap: wrap; margin: 18px 0; }
.rowform { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
.rowform input, .rowform select { font: 16px/1.4 var(--sans); padding: 8px 10px; border: 1px solid var(--ink); border-radius: 3px; background: var(--sheet); color: var(--ink); min-width: 0; }
.rowform .grow { flex: 1 1 260px; }
.log { list-style: none; padding: 0; margin: 0; font-size: 14.5px; }
.log li { padding: 8px 0; border-bottom: 1px solid var(--rule); overflow-wrap: anywhere; }
.log time { color: var(--muted); margin-right: 8px; font-variant-numeric: tabular-nums; }
.checks li.different { color: var(--pencil); }
.warn { font-size: 14px; color: var(--muted); }
.copy { display: flex; gap: 8px; margin-top: 8px; }
.copy input { flex: 1; font: 14px var(--mono); padding: 8px; border: 1px solid var(--rule); border-radius: 3px; background: var(--paper); color: var(--ink); min-width: 0; }
.opsbar { background: var(--pencil); color: #fff; padding: 8px 16px; font-size: 14px; text-align: center; }
table.list { width: 100%; border-collapse: collapse; font-size: 15px; }
table.list th, table.list td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.list th { font-size: 13px; color: var(--muted); font-weight: 600; }
.prose { max-width: 720px; padding: 40px 0; }
.prose h1 { font-size: 46px; margin-bottom: 20px; }
.prose h2 { font-size: 26px; margin: 34px 0 10px; }
