/* Typestead theme. Loud, flat, mint. Sits on ../shared/base.css */

:root {
  --mint: #dff7ec;
  --mint-step: #cdefdf;
  --mint-deep: #8ee6c1;
  --teal: #1f6b59;
  --ink: #0b2b26;
  --night: #071a17;
  --pink: #ffb8d2;
  --paper: #f6fffb;
  --sun: #ffd23f;

  --bg: var(--mint);
  --muted: #2a4f47;
  --accent: var(--sun);
  --accent-ink: var(--ink);

  --font-display: "Big Shoulders", "Arial Narrow", sans-serif;
  --font-text: "Public Sans", system-ui, sans-serif;

  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  --step-head: clamp(3rem, 1.6rem + 6vw, 7rem);
  --step-giant: clamp(9rem, 4rem + 17vw, 17rem);

  --radius: 28px;
  --section-gap: clamp(96px, 14vw, 200px);

  /* editor fragment colours (the app's Black/OLED theme) */
  --ed-bg: #06120f;
  --ed-gutter: #6f8f87;
  --ed-text: #e9fff6;
  --ed-kw: #8ee6c1;
  --ed-str: #ffb8d2;
  --ed-num: #ffe58a;
  --ed-com: #8fb2a9;
  --ed-type: #a8dcff;
  --ed-fn: #ffffff;
}

body { font-family: var(--font-text); font-size: var(--step-body); }

/* ---------- shared bits ---------- */
.wrap { padding-inline: var(--margin); }
.display { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.005em; line-height: 0.88; }
.h-section { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: var(--step-head); line-height: 0.9; letter-spacing: -0.005em; }
.lead { font-size: var(--step-lead); line-height: 1.4; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--sun); color: var(--ink); font-weight: 600; font-size: 1.0625rem; text-decoration: none; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 200ms ease; }
.btn:active { transform: scale(0.97); }
.btn--paper { background: var(--paper); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn svg { width: 22px; height: 22px; flex: none; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #ffe066; }
  .btn--paper:hover { background: #ffffff; }
  .btn--ink:hover { background: #163f38; }
}
.text-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; }
@media (hover: hover) and (pointer: fine) { .text-link:hover { text-decoration-thickness: 4px; } }

/* entrance: content is visible unless the script is running */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { transform: none; transition: opacity 300ms ease; }
}

/* ---------- top bar (inner pages) ---------- */
.bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 24px var(--margin); }
.bar__links { display: flex; gap: clamp(16px, 2vw, 28px); font-weight: 600; }
.bar__links--end { justify-content: flex-end; }
.bar__links a { text-decoration: none; padding: 8px 0; }
.bar__links a[aria-current="page"], .bar__links a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; letter-spacing: 0.01em; text-transform: uppercase; line-height: 1; }
.wordmark svg { width: 40px; height: 40px; }
.menu { display: none; justify-self: end; position: relative; }
.menu > summary { list-style: none; cursor: pointer; font-weight: 600; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); }
.menu > summary::-webkit-details-marker { display: none; }
.menu[open] > summary { background: var(--sun); color: var(--ink); }
.menu__panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 50; min-width: 220px; padding: 12px; border-radius: 20px; background: var(--ink); color: var(--paper); display: grid; transform-origin: top right; animation: menu-in 200ms var(--ease-out); }
.menu__panel a { padding: 12px 14px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 1.125rem; }
.menu__panel a:hover, .menu__panel a:focus-visible { background: #163f38; }
.menu__panel :focus-visible { outline-color: var(--sun); }
@keyframes menu-in { from { opacity: 0; transform: scale(0.96) translateY(-4px); } }

@media (max-width: 860px) {
  .bar { grid-template-columns: 1fr auto; }
  .bar .bar__links { display: none; }
  .bar .menu { display: block; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto auto; overflow: hidden; }
.hero:focus { outline: none; }
.stage { align-self: center; }
.stage__h1 { position: absolute; inset: 0; margin: 0; z-index: 2; font-size: var(--step-giant); line-height: 0.88; font-weight: 800; }
.hero .bar { padding-top: 28px; }
.stage { --sq: clamp(200px, 21vw, 320px); position: relative; height: clamp(360px, 52svh, 560px); margin: 0; font-size: inherit; }
.stage__square { position: absolute; left: 50%; top: 50%; width: var(--sq); height: var(--sq); transform: translate(-50%, -50%) rotate(-4deg); z-index: 1; }
.stage__line { position: absolute; inset: 0; display: flex; align-items: center; z-index: 2; pointer-events: none; overflow: hidden; }
.stage__line--light { z-index: 3; color: var(--paper); clip-path: inset(calc(50% - var(--sq) / 2) calc(50% - var(--sq) / 2)); }
.track { display: flex; width: max-content; animation: marquee var(--marquee-dur, 60s) linear infinite; will-change: transform; }
.track__group { display: flex; align-items: center; flex: none; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: var(--step-giant); line-height: 0.88; letter-spacing: -0.005em; white-space: nowrap; }
.track__group span { padding-inline: 0.18em; }
.track__dot { width: 0.22em; height: 0.22em; border-radius: 50%; background: currentColor; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.hero:hover .track { animation-play-state: paused; }
.is-offscreen .track { animation-play-state: paused; }

.hero__copy { text-align: center; display: grid; justify-items: center; gap: 18px; padding: 0 var(--margin) 28px; }
.hero__copy p:first-child { font-size: var(--step-lead); line-height: 1.35; max-width: 36ch; font-weight: 600; }
.hero__fact { font-size: var(--step-body); color: var(--muted); }
.hero__fact strong { color: var(--ink); }
.hero__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 0 var(--margin) 36px; }
.hero__where { font-weight: 600; }

@media (max-width: 860px) {
  .stage { --sq: 46vw; height: 62vw; min-height: 280px; }
  .track__group { font-size: 34vw; }
  .hero__bottom { flex-direction: column-reverse; align-items: stretch; text-align: center; }
  .hero__bottom .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .stage__line { justify-content: center; }
  .track { animation: none; }
  .track__group + .track__group { display: none; }
  .caret { animation: none; }
}

/* ---------- editor fragment (the product's own interface) ---------- */
.ed { background: var(--ed-bg); color: var(--ed-text); border-radius: 18px; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; font-family: var(--font-text); font-size: 13px; line-height: 1.55; }
.ed__tabs { display: flex; gap: 4px; padding: 8px 8px 0; background: #0c1f1b; font-family: var(--font-text); font-size: 13px; }
.ed__tab { padding: 6px 12px; border-radius: 10px 10px 0 0; color: #9fbdb5; }
.ed__tab--on { background: var(--ed-bg); color: var(--ed-text); font-weight: 600; }
.ed__body { display: grid; grid-template-columns: auto 1fr; overflow: hidden; padding: 10px 0; }
.ed__gutter { padding: 0 10px 0 12px; color: var(--ed-gutter); text-align: right; user-select: none; white-space: pre; font-variant-numeric: tabular-nums; }
.ed__code { margin: 0; padding: 0 12px 0 4px; white-space: pre; overflow: hidden; font-size: inherit; line-height: inherit; font-family: ui-monospace, monospace; /* taste-skill-ignore: literal code */ }
.ed__keys { display: flex; justify-content: space-between; padding: 8px 10px; background: #0c1f1b; color: var(--ed-text); font-size: 15px; }
.ed__keys span { min-width: 18px; text-align: center; }
.ed__status { display: flex; justify-content: space-between; gap: 8px; padding: 6px 12px; background: #0c1f1b; color: #b9d6cf; font-family: var(--font-text); font-size: 12px; }
.tok-kw { color: var(--ed-kw); font-weight: 700; }
.tok-str { color: var(--ed-str); }
.tok-num { color: var(--ed-num); }
.tok-com { color: var(--ed-com); font-style: italic; }
.tok-type { color: var(--ed-type); }
.tok-fn { color: var(--ed-fn); font-weight: 700; }
.caret { display: inline-block; width: 2px; height: 1.2em; margin-bottom: -0.25em; background: var(--sun); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.stage__square .ed { width: 100%; height: 100%; font-size: clamp(9px, 0.82vw, 13px); }

/* ---------- language board (the live thing) ---------- */
.board { background: var(--night); color: var(--paper); padding: var(--section-gap) 12px clamp(64px, 8vw, 120px); }
.board__head { display: grid; grid-template-columns: 7fr 5fr; gap: 24px 48px; align-items: end; padding: 0 calc(var(--margin) - 12px) 48px; }
.board__head p { color: #cfe9e1; font-size: var(--step-lead); line-height: 1.4; max-width: 30ch; }
.board__list { display: grid; gap: 4px; }
.row { background: #10302a; border-radius: 6px; transition: background-color 200ms ease; }
.row > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 5fr 2fr 2fr 2fr; align-items: center; gap: 16px; min-height: 72px; padding: 0 16px; font-size: clamp(1.25rem, 0.9rem + 1vw, 1.75rem); }
.row > summary::-webkit-details-marker { display: none; }
.row__name { justify-self: start; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.75rem, 1rem + 1.6vw, 2.5rem); line-height: 1; }
.row__fact { color: #cfe9e1; font-size: var(--step-body); font-variant-numeric: tabular-nums; }
.row__kind { justify-self: end; padding: 6px 14px; border-radius: 6px; color: var(--ink); font-weight: 600; font-size: var(--step-small); }
.kind-web { background: var(--pink); }
.kind-systems { background: var(--mint-deep); }
.kind-apps { background: #a8dcff; }
.kind-data { background: #ffe58a; }
.kind-scripts { background: #ffc8a8; }
.kind-business { background: #e4ece9; }
@media (hover: hover) and (pointer: fine) { .row:not([open]):hover { background: #174039; } }
.row[open] { background: var(--sun); color: var(--ink); }
.row[open] .row__fact { color: var(--ink); }
.row[open] .row__name { font-size: clamp(2.5rem, 1.4rem + 3vw, 4.5rem); }
.row__body { display: grid; grid-template-columns: 5fr 6fr; gap: 24px 48px; padding: 4px 16px 24px; align-items: start; }
.row__note { font-size: var(--step-body); max-width: 44ch; font-weight: 600; }
.row__note span { display: block; margin-top: 10px; font-weight: 400; }
.row__body .ed { min-height: 172px; }
.js .row[open] .row__body { animation: row-in 260ms var(--ease-out); }
@keyframes row-in { from { opacity: 0; transform: translateY(-6px); } }
.row > summary:focus-visible { outline-color: var(--sun); outline-offset: -3px; }
.row[open] > summary:focus-visible { outline-color: var(--ink); }

@media (max-width: 860px) {
  .board { padding-inline: 8px; }
  .board__head { padding-inline: calc(var(--margin) - 8px); }
  .row > summary { grid-template-columns: 1fr auto; min-height: 64px; }
  .row__fact { display: none; }
  .row__body { grid-template-columns: 1fr; }
}

/* ---------- capabilities at poster scale ---------- */
.caps { background: var(--pink); padding: var(--section-gap) var(--margin); }
.caps__list { list-style: none; padding: 0; display: grid; gap: 0.35em; }
.caps__row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: first baseline; }
.caps__name { grid-column: 1 / 9; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(3rem, 1.6rem + 5.6vw, 7rem); line-height: 1; letter-spacing: -0.005em; transition: color 200ms ease; }
.caps__desc { grid-column: 9 / 13; font-size: var(--step-body); max-width: 40ch; }
.caps__row--head .caps__name { color: #8a2f52; }
@media (hover: hover) and (pointer: fine) {
  .caps__list:hover .caps__row:not(.caps__row--head) .caps__name { color: #7a3a52; }
  .caps__list:hover .caps__row:not(.caps__row--head):hover .caps__name { color: var(--ink); }
}
@media (max-width: 860px) {
  .caps__row { grid-template-columns: 1fr; }
  .caps__name, .caps__desc { grid-column: 1; }
  .caps__name { font-size: 15vw; }
  .caps__desc { padding-left: var(--margin); margin: 8px 0 28px; }
}

/* ---------- one file, four fields ---------- */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); }
.field { position: relative; min-height: 84svh; padding: 28px; display: grid; grid-template-rows: 7.5rem 1fr auto; }
.field:nth-child(1) { background: var(--paper); }
.field:nth-child(2) { background: var(--mint-deep); }
.field:nth-child(3) { background: var(--teal); color: var(--paper); }
.field:nth-child(4) { background: var(--ink); color: var(--paper); }
.field h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.25rem, 1.5rem + 2.4vw, 3.75rem); line-height: 0.92; }
.field__card { align-self: start; justify-self: center; margin-top: 14svh; width: min(260px, 100%); transition: transform 150ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .field:hover .field__card { transform: translateY(-6px); } }
.field__clause { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); line-height: 1; max-width: 12ch; }
.plain .tok-kw, .plain .tok-str, .plain .tok-num, .plain .tok-fn { color: var(--ed-text); font-weight: 400; }
.complete { display: flex; gap: 4px; padding: 6px 8px; background: #0c1f1b; font-family: var(--font-text); font-size: 12px; }
.complete span { padding: 3px 8px; border-radius: 6px; background: #163f38; }
.complete span:first-child { background: var(--sun); color: var(--ink); font-weight: 600; }
.toast { margin: 8px; padding: 8px 10px; border-radius: 10px; background: var(--mint-deep); color: var(--ink); font-family: var(--font-text); font-size: 12px; font-weight: 600; }
@media (max-width: 860px) {
  .journey { grid-template-columns: 1fr 1fr; }
  .field__card { justify-self: center !important; }
  .field { min-height: 0; padding: 32px var(--margin) 48px; grid-template-rows: auto auto auto; gap: 16px; }
  .field > span:empty { display: none; }
  .field__card { justify-self: start; margin-top: 16px; }
  .field__clause { order: -1; max-width: none; }
  .field h2 { order: -2; font-size: 2rem; }
}

/* ---------- price as a sentence ---------- */
.price { background: var(--mint-deep); min-height: 80svh; padding: var(--section-gap) var(--margin); display: grid; align-content: center; gap: 64px; }
.price h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(3.5rem, 1.4rem + 8.6vw, 10rem); line-height: 0.95; }
.price__block { display: inline-block; background: var(--sun); padding: 0 0.15em; }
.price__foot { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; }
.price__foot p { grid-column: 1 / 7; font-size: var(--step-lead); line-height: 1.4; }
.price__act { grid-column: 9 / 13; justify-self: end; display: grid; gap: 14px; justify-items: end; }
.price__note { font-size: var(--step-small); color: #164137; grid-column: 1 / 7; }
@media (max-width: 860px) {
  .price__foot { grid-template-columns: 1fr; }
  .price__foot p, .price__act, .price__note { grid-column: 1; }
  .price__act { justify-self: stretch; justify-items: stretch; text-align: center; }
}

/* ---------- FAQ tiles ---------- */
.faq { padding: var(--section-gap) var(--margin) calc(var(--section-gap) + 48px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.faq__head { grid-column: 1 / 5; position: sticky; top: 96px; }
.faq__head .h-section { font-size: clamp(3rem, 1.4rem + 3.6vw, 5.5rem); }
.faq__head p { margin-top: 20px; max-width: 28ch; }
.faq__list { grid-column: 5 / 13; display: grid; gap: 8px; }
.tile { background: var(--mint-step); border-radius: 18px; transition: background-color 200ms ease; }
.tile > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 72px; padding: 16px 24px; font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
.tile > summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 16px; height: 16px; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 3px; margin-top: -1.5px; background: currentColor; border-radius: 2px; transition: transform 200ms var(--ease-out); }
.plus::after { transform: rotate(90deg); }
.tile[open] { background: var(--sun); }
.tile[open] .plus::after { transform: rotate(0deg); }
.tile__a { padding: 0 24px 24px; max-width: 60ch; font-size: var(--step-body); }
.tile__a p + p { margin-top: 12px; }
@media (hover: hover) and (pointer: fine) { .tile:not([open]):hover { background: #bfe9d5; } }
@media (max-width: 860px) {
  .faq__head, .faq__list { grid-column: 1 / -1; }
  .faq__head { position: static; }
  .tile > summary { font-size: 1.125rem; padding: 14px 20px; min-height: 64px; }
  .tile__a { padding: 0 20px 20px; }
}

/* ---------- closing question ---------- */
.close { background: var(--ink); color: var(--paper); min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; text-align: center; padding: 32px var(--margin) 24px; }
.close__q { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(5rem, 2rem + 11vw, 11rem); line-height: 0.95; }
.close__mid { align-self: center; display: grid; gap: 16px; justify-items: center; }
.close__choice { display: flex; align-items: center; gap: 32px; }
.close__choice .btn { min-width: 220px; }
.close__or { color: #cfe9e1; font-size: 1.125rem; }
.close__after { color: #cfe9e1; max-width: 46ch; }
@media (max-width: 860px) {
  .close__q { font-size: 17vw; }
  .close__choice { flex-direction: column; gap: 12px; width: 100%; }
  .close__choice .btn { width: 82%; min-width: 0; }
}

/* ---------- footer: the mark, built large ---------- */
.foot { background: var(--pink); padding: clamp(64px, 8vw, 120px) var(--margin) 28px; }
.foot__mark { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: clamp(16px, 3vw, 48px); }
.foot__mark svg { width: clamp(120px, 22vw, 340px); height: auto; }
.foot__word { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(4rem, 0.5rem + 13.5vw, 15rem); line-height: 0.8; letter-spacing: -0.01em; }
.foot__cols { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px 24px; margin-top: 56px; }
.foot__col { grid-column: span 2; }
.foot__col h2 { font-size: var(--step-body); font-weight: 600; margin-bottom: 10px; }
.foot__col ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.foot__col a { text-decoration: none; }
.foot__col a:hover { text-decoration: underline; }
.foot__contact { grid-column: 9 / 13; display: grid; gap: 8px; align-content: start; }
.foot__last { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 56px; font-size: var(--step-small); }
.foot__last .btn { min-height: 44px; padding: 0 20px; font-size: 0.9375rem; }
@media (max-width: 860px) {
  .foot__mark { grid-template-columns: 1fr; }
  .foot__word { font-size: 23vw; }
  .foot__col { grid-column: span 6; }
  .foot__contact { grid-column: 1 / -1; }
}

/* ---------- reading pages (guide, legal, contact) ---------- */
.page-head { padding: clamp(48px, 8vw, 120px) var(--margin) clamp(40px, 6vw, 80px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; }
.page-head h1 { grid-column: 1 / 9; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(3.5rem, 1.6rem + 7vw, 8.5rem); line-height: 0.9; }
.page-head > p { grid-column: 9 / 13; font-size: var(--step-lead); line-height: 1.4; }
.page-head--pink { background: var(--pink); }
.page-head--ink { background: var(--ink); color: var(--paper); }
.page-head--deep { background: var(--mint-deep); }
@media (max-width: 860px) { .page-head h1, .page-head > p { grid-column: 1 / -1; } }

.doc { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding: clamp(48px, 7vw, 112px) var(--margin) var(--section-gap); }
.doc__toc { grid-column: 1 / 4; position: sticky; top: 24px; align-self: start; }
.doc__toc h2 { font-size: var(--step-body); font-weight: 600; margin-bottom: 12px; }
.doc__toc ol { list-style: none; padding: 0; display: grid; gap: 4px; }
.doc__toc a { display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.doc__toc a:hover { background: var(--mint-step); }
.doc__body { grid-column: 4 / 11; display: grid; gap: clamp(88px, 9vw, 120px); }
.doc__body section { display: grid; gap: 16px; scroll-margin-top: 24px; }
.doc__body h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.25rem, 1.6rem + 2.2vw, 3.5rem); line-height: 0.95; }
.doc__body h3 { font-size: 1.25rem; font-weight: 600; margin-top: 8px; }
.doc__body p, .doc__body li { max-width: 68ch; }
.doc__body ul, .doc__body ol { padding-left: 1.25em; display: grid; gap: 8px; }
.doc__body :is(p, li, td) > code, .doc__body kbd { font-family: ui-monospace, "Cascadia Mono", "Roboto Mono", monospace; font-size: 0.9em; background: var(--mint-step); padding: 1px 6px; border-radius: 6px; }
.note { background: var(--mint-step); border-radius: 18px; padding: 20px 24px; max-width: 68ch; }
.note--sun { background: var(--sun); }
.doc table { width: 100%; max-width: 72ch; font-size: var(--step-body); }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-bottom: 2px solid var(--mint-step); }
.doc th { font-weight: 600; }
@media (max-width: 960px) {
  .doc__toc { grid-column: 1 / -1; position: static; }
  .doc__toc ol { display: flex; flex-wrap: wrap; gap: 6px; }
  .doc__toc a { background: var(--mint-step); }
  .doc__body { grid-column: 1 / -1; }
}

.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.legal-index { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; padding: clamp(48px, 7vw, 112px) var(--margin) var(--section-gap); }
.legal-link { grid-column: span 6; display: grid; gap: 12px; align-content: space-between; min-height: 260px; padding: 28px; border-radius: var(--radius); text-decoration: none; transition: transform 160ms var(--ease-out); }
.legal-link:active { transform: scale(0.99); }
.legal-link h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.5rem, 1.6rem + 3vw, 4.5rem); line-height: 0.9; }
.legal-link p { max-width: 40ch; }
.legal-link:nth-child(1) { background: var(--ink); color: var(--paper); grid-column: span 7; }
.legal-link:nth-child(2) { background: var(--pink); grid-column: span 5; }
.legal-link:nth-child(3) { background: var(--mint-deep); grid-column: span 5; }
.legal-link:nth-child(4) { background: var(--sun); grid-column: span 7; }
@media (hover: hover) and (pointer: fine) { .legal-link:hover .legal-link__go { text-decoration: underline; text-decoration-thickness: 3px; } }
.legal-link__go { font-weight: 600; }
@media (max-width: 860px) { .legal-link, .legal-link:nth-child(n) { grid-column: 1 / -1; min-height: 200px; } }

/* contact */
.contact { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding: clamp(48px, 7vw, 112px) var(--margin) var(--section-gap); }
.picker { grid-column: 1 / 8; display: grid; gap: 8px; border: 0; padding: 0; margin: 0; }
.picker legend { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.25rem, 1.6rem + 2.2vw, 3.5rem); line-height: 0.95; margin-bottom: 16px; padding: 0; }
.pick { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: center; padding: 20px 24px; border-radius: 18px; background: var(--mint-step); cursor: pointer; transition: background-color 200ms ease; }
.pick input { width: 22px; height: 22px; accent-color: var(--ink); margin: 0; grid-row: span 2; }
.pick strong { font-size: 1.25rem; }
.pick span { grid-column: 2; }
.pick:has(input:checked) { background: var(--sun); }
.pick:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.send { grid-column: 8 / 13; align-self: start; position: sticky; top: 24px; background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: 28px; display: grid; gap: 18px; }
.send h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 2.5rem; line-height: 0.95; }
.send ul { padding-left: 1.2em; display: grid; gap: 6px; color: #cfe9e1; }
.send__addr { font-weight: 600; word-break: break-all; }
@media (max-width: 860px) { .picker, .send { grid-column: 1 / -1; } .send { position: static; } }

@media (max-width: 560px) { .journey { grid-template-columns: 1fr; } }
@media (max-width: 1000px) { .board__head { grid-template-columns: 1fr; } .board__head p { max-width: 46ch; } }

/* guide: interface fragments */
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.shot { display: grid; gap: 12px; max-width: 520px; }
.shot figcaption { font-size: var(--step-small); color: var(--muted); }
.shot .ed { min-height: 220px; }
.fl__list { list-style: none; margin: 0; padding: 8px; display: grid; gap: 4px; font-size: 14px; }
.fl__list li { display: grid; grid-template-columns: 44px 1fr auto; gap: 8px; padding: 9px 10px; border-radius: 10px; background: #0c1f1b; }
.fl__list li.on { background: var(--sun); color: var(--ink); font-weight: 600; }
.fl__kind { color: var(--ed-kw); font-size: 12px; }
.fl__list li.on .fl__kind { color: var(--ink); }
.fl__ln { color: #9fbdb5; font-variant-numeric: tabular-nums; }
.fl__list li.on .fl__ln { color: var(--ink); }
.fr { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 8px; background: #0c1f1b; font-size: 13px; }
.fr__in { padding: 5px 10px; border-radius: 8px; background: #163f38; font-family: ui-monospace, monospace; /* taste-skill-ignore: literal regex */ }
.fr__opt { padding: 5px 9px; border-radius: 8px; background: #163f38; font-weight: 600; }
.fr__opt.on { background: var(--sun); color: var(--ink); }
.fr__n { margin-left: auto; color: #b9d6cf; }
@media (max-width: 700px) { .shots { grid-template-columns: 1fr; } }
.acct__body { padding: 12px; display: grid; gap: 6px; font-size: 14px; }
.acct__h { color: #b9d6cf; padding: 4px 4px 2px; }
.acct__row { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 10px; background: #0c1f1b; }
.acct__row span:last-child { color: var(--ed-kw); font-weight: 600; }
.acct__btn { padding: 10px 12px; border-radius: 10px; background: var(--pink); color: var(--ink); font-weight: 600; text-align: center; }

/* typestead.arnab.work additions */
.btn--soon { cursor: default; }
.btn--soon:active { transform: none; }
.legal-index-note { padding: 0 var(--margin); margin-top: 32px; }
.send .cf-field { display: grid; gap: 6px; }
.send label { font-weight: 600; }
.send input, .send textarea { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 0; border-radius: 12px; padding: 12px 14px; }
.send textarea { min-height: 160px; resize: vertical; }
.send input:focus-visible, .send textarea:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.send .hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.send__note, .send__or { color: #cfe9e1; font-size: 0.95rem; }
.form-error { margin: 24px var(--margin) 0; padding: 14px 18px; border-radius: 14px; background: var(--sun); font-weight: 600; max-width: 68ch; }
.simple-act { padding: 0 var(--margin) var(--section-gap); }
.tbc { background: var(--sun); color: var(--ink); padding: 0 6px; border-radius: 6px; font-weight: 600; }
