/* Developer sections, pricing and the mode pages. Builds on the chrome.css
   tokens and site.css. The override layer at the end sets them in the drawn
   world: night hero bands (.ph, from chrome.css), panels a touch rounded on
   paper, verdicts as coloured words, dark command strips, no offset shadows. */

/* ---------- Hero ---------- */
.dhero { padding: clamp(36px, 6vw, 80px) 0 0; }
.dhero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.dhero__copy { display: grid; gap: 22px; align-content: start; }
.dhero__copy .label-sm { margin: 0; }
.dhero__title { font-size: clamp(44px, 6.6vw, 104px); font-weight: 800; line-height: .9; letter-spacing: -.05em; }
.dhero__lede { max-width: 54ch; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.5; color: var(--ink-2); }
.dhero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dhero__fine { font-size: 12px; color: var(--mute); }
.dhero .runs-with { margin-top: clamp(32px, 5vw, 64px); border-top: 1px solid var(--ink); }

/* ---------- Simulated terminal ---------- */
.term { margin: 0; border: 1px solid var(--ink); background: var(--night); color: var(--on-night); box-shadow: var(--hard-blue); min-width: 0; }
.term__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--rule-night-2); font-size: 11.5px; color: var(--on-night-mute); }
.term__dots { display: inline-flex; gap: 6px; }
.term__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--rule-night-2); }
.term__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.term__tag { margin-left: auto; padding: 1px 7px; border: 1px solid var(--rule-night-2); text-transform: uppercase; letter-spacing: .06em; font-size: 10px; }
.term__rows { list-style: none; margin: 0; padding: 10px 0; height: calc(9 * 34px + 20px); overflow: hidden; font-size: 12.5px; display: flex; flex-direction: column; justify-content: flex-end; }
.term__row { display: grid; grid-template-columns: 18px 64px minmax(0, 1fr); gap: 0 10px; padding: 7px 14px; line-height: 1.45; animation: termIn .35s ease both; }
.term__row .i { text-align: center; color: #3ccf9e; }
.term__row .tool { color: var(--on-night-mute); }
.term__row .cmd { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.term__row .why { grid-column: 3; font-size: 11.5px; white-space: normal; }
.term__row.is-stop { background: rgba(255, 107, 114, .14); }
.term__row.is-stop .i, .term__row.is-stop .why b { color: #ff6b72; }
.term__row.is-ask { background: rgba(244, 255, 46, .1); }
.term__row.is-ask .i, .term__row.is-ask .why b { color: var(--hi); }
.term__row .why { color: var(--on-night); }
.term__row .why b { font-weight: 500; letter-spacing: .04em; margin-right: 6px; }
.term__foot { display: flex; gap: 18px; padding: 10px 14px; border-top: 1px solid var(--rule-night-2); font-size: 11.5px; color: var(--on-night-mute); }
.term__foot b { color: var(--on-night); font-weight: 500; }
.term__foot .t-ask b { color: var(--hi); }
.term__foot .t-stop b { color: #ff6b72; }
@keyframes termIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.dsec { padding: clamp(64px, 9vw, 128px) 0; }
.dsec__head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.dsec__head .label-sm { margin: 0; }
.dsec__head h2 { font-size: clamp(34px, 4.6vw, 68px); font-weight: 800; line-height: .95; letter-spacing: -.045em; }
.dsec__head p:not(.label-sm) { font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.dsec--quiet { background: var(--paper-3); border-block: 1px solid var(--ink); }
.dsec--night { background: var(--night); color: var(--on-night); }
.dsec--night .label-sm { color: var(--on-night-mute); }
.dsec--night .dsec__head p:not(.label-sm) { color: var(--on-night-mute); }
.dsec--night .dsec__head .btn { justify-self: start; margin-top: 8px; }

/* What it stops */
.stops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.stop { display: grid; gap: 12px; align-content: start; padding: 24px 22px 28px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--card); }
.stop h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.stop code { display: block; padding: 9px 11px; background: var(--night); color: var(--on-night); font-family: var(--mono); font-size: 12.5px; overflow-x: auto; white-space: nowrap; }
.stop code::before { content: "$ "; color: var(--brand-line); }
.stop p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.stop__verdict { justify-self: start; padding: 3px 8px 2px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; border: 1px solid currentColor; }
.stop--deny .stop__verdict { background: var(--deny); border-color: var(--deny); color: #fff; }
.stop--ask .stop__verdict { background: var(--hi); border-color: var(--ink); color: var(--ink); }

/* Out of the way */
.quiet { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.quiet li { display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 2px solid var(--ink); }
.quiet strong { font-size: 18px; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
.quiet span { font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* Setup */
.steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps li { display: grid; gap: 8px; align-content: start; padding: 20px 0 0; border-top: 1px solid var(--ink); }
.steps .mono { font-size: 12px; color: var(--mute); }
.steps strong { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.steps p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--ink); }
.mode { display: grid; gap: 10px; padding: 26px 24px; }
.mode .label-sm { margin: 0; }
.mode h3 { font-size: 26px; font-weight: 700; letter-spacing: -.025em; }
.mode p:not(.label-sm) { font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.mode--team { border-left: 1px solid var(--ink); background: var(--hi); }
.mode--team .label-sm, .mode--team p:not(.label-sm) { color: var(--ink); }

/* Teams */
.teams { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.teams .dsec__head { margin: 0; }
.week { margin: 0; border: 1px solid var(--rule-night-2); background: var(--night-2); padding: 22px; display: grid; gap: 18px; }
.week__h { display: flex; justify-content: space-between; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--on-night-mute); }
.week__h span { border: 1px solid var(--rule-night-2); padding: 0 6px; }
.week__nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; }
.week__nums div { display: grid; gap: 4px; }
.week__nums dt { font-size: 12px; color: var(--on-night-mute); }
.week__nums dd { margin: 0; font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.03em; }
.week__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 12.5px; }
.week__list li { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--on-night); }
.week__list b { display: inline-block; width: 42px; font-weight: 500; }
.w-stop { color: #ff6b72; }
.w-ask { color: var(--hi); }
.week__more { font-size: 14px; color: var(--on-night-mute); border-top: 1px solid var(--rule-night); padding-top: 14px; }
.week__more b { color: var(--hi); font-weight: 600; }
.week__more a { color: var(--on-night); text-decoration: underline; text-underline-offset: 3px; }

/* Enterprise band */
.ent { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: end; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--ink); background: var(--paper-3); }
.ent h2 { font-size: clamp(30px, 3.6vw, 52px); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: 14px; }
.ent p:not(.label-sm) { font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 64ch; }
.ent__actions { display: grid; gap: 10px; }

/* ---------- Pricing ---------- */
.phero { padding: clamp(40px, 7vw, 96px) 0 clamp(28px, 4vw, 48px); }
.phero h1 { font-size: clamp(42px, 6vw, 92px); font-weight: 800; line-height: .92; letter-spacing: -.05em; max-width: 14ch; }
.phero p { margin-top: 18px; max-width: 62ch; font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.phero .label-sm { margin: 0 0 18px; }
.billing { display: inline-flex; margin-top: 26px; border: 1px solid var(--ink); }
.billing button { padding: 8px 14px; border: 0; background: transparent; font: inherit; font-size: 14px; cursor: pointer; color: var(--ink); }
.billing button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.billing small { font-family: var(--mono); font-size: 11px; margin-left: 6px; }
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--ink); }
.tier { display: grid; grid-template-rows: auto auto auto auto 1fr auto; gap: 14px; padding: 26px 22px; border-left: 1px solid var(--ink); background: var(--card); }
.tier:first-child { border-left: 0; }
.tier--pick { background: var(--card); box-shadow: inset 0 6px 0 var(--hi), inset 0 7px 0 var(--ink); }
.tier .label-sm { margin: 0; display: flex; justify-content: space-between; gap: 8px; }
.tier .label-sm em { font-style: normal; background: var(--hi); color: var(--ink); padding: 0 6px; border: 1px solid var(--ink); }
.tier h2 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; min-height: 58px; }
.price b { font-size: 44px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.price span { font-size: 13px; color: var(--mute); }
.tier__for { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.tier ul { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--rule-2); display: grid; gap: 9px; align-content: start; font-size: 14.5px; line-height: 1.4; }
.tier li { padding-left: 18px; position: relative; }
.tier li::before { content: "+"; position: absolute; left: 0; font-family: var(--mono); color: var(--mute); }
.tier li.soon { color: var(--text-3); }
.tier li.soon::after { content: " (coming)"; font-family: var(--mono); font-size: 11px; }
.tier .btn { justify-content: center; }
.pnote { margin-top: 16px; font-size: 13px; color: var(--mute); max-width: 90ch; line-height: 1.5; }

.compare { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--ink); background: var(--card); }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--rule-2); text-align: left; vertical-align: top; }
.compare thead th { background: var(--ink); color: #fff; font-weight: 500; font-size: 13px; white-space: nowrap; }
.compare tbody th { font-weight: 500; width: 28%; }
.compare td { color: var(--ink-2); }

.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.faq details { border-top: 1px solid var(--ink); padding: 16px 0; }
.faq summary { cursor: pointer; font-size: 18px; font-weight: 600; letter-spacing: -.01em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--mute); }
.faq details[open] summary::after { content: "-"; }
.faq p { margin-top: 10px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }


/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tier:nth-child(3) { border-left: 0; }
  .tier:nth-child(n+3) { border-top: 1px solid var(--ink); }
  .quiet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .dhero__grid, .teams { grid-template-columns: 1fr; }
  .stops { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ent { grid-template-columns: 1fr; align-items: start; }
  .ent__actions { grid-auto-flow: column; justify-content: start; }
  .faq { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .dhero__title { font-size: clamp(40px, 12vw, 64px); }
  .term { box-shadow: 6px 6px 0 var(--brand); }
  .term__rows { height: calc(8 * 40px + 20px); font-size: 12px; }
  .term__row { grid-template-columns: 14px 44px minmax(0, 1fr); gap: 0 8px; padding: 7px 10px; }
  .stops, .quiet, .steps, .modes, .tiers { grid-template-columns: 1fr; }
  .mode--team { border-left: 0; border-top: 1px solid var(--ink); }
  .tier { border-left: 0; border-top: 1px solid var(--ink); }
  .tier:first-child { border-top: 0; }
  .week__nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ent__actions { grid-auto-flow: row; }
}
@media (prefers-reduced-motion: reduce) {
  .term__row { animation: none; }
}

/* ---------- Pricing: the one add-on line under the Team points ---------- */
.tier--addon { grid-template-rows: auto auto auto auto 1fr auto auto; }
.tier__addon { font-size: 13.5px; line-height: 1.45; padding: 10px 12px; border: 1px dashed var(--ink); background: var(--paper-3); color: var(--ink-2); }
.tier__addon b { font-weight: 600; color: var(--ink); }

/* Enterprise hub: every door on one policy */
.doors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.doors > li { display: grid; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--card); }
.door { display: grid; gap: 10px; align-content: start; padding: 24px 22px 28px; color: inherit; text-decoration: none; }
a.door:hover { background: var(--paper-3); }
a.door:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; background: var(--paper-3); }
.door .tag { justify-self: start; }
.door strong { font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.door p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.door__more { font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); }

@media (max-width: 1100px) {
  .steps--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .steps--four, .ways, .doors { grid-template-columns: 1fr; }
}

/* ---------- Where your data lives: three options, used on pricing, Enterprise and the home page ---------- */
.where { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--ink); background: var(--card); color: var(--ink); }
.where__opt { display: grid; gap: 10px; align-content: start; padding: 26px 24px; border-left: 1px solid var(--ink); }
.where__opt:first-child { border-left: 0; }
.where__opt--default { background: var(--hi); }
.where__opt--default p:not(.label-sm), .where__opt--default .label-sm { color: var(--ink); }
.where__opt .label-sm { margin: 0; }
.where__opt h3 { font-size: 24px; font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
.where__opt p:not(.label-sm) { font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.where__rgpd { margin-top: 18px; max-width: 80ch; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.where-head { margin: clamp(40px, 6vw, 72px) 0 22px; max-width: 70ch; }
.where-head h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 650; letter-spacing: -.03em; line-height: 1.05; margin: 8px 0 10px; }
.where-head p:not(.label-sm) { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.where-line { margin-top: 22px; max-width: 78ch; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.where-line a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) {
  .where { grid-template-columns: 1fr; }
  .where__opt { border-left: 0; border-top: 1px solid var(--ink); }
  .where__opt:first-child { border-top: 0; }
}
.chapter--enforcement .where { border-color: var(--rule-night-2); }
.chapter--enforcement .where-head p:not(.label-sm), .chapter--enforcement .where__rgpd { color: var(--on-night-mute); }


/* ============================================================
   The drawn world: the override layer
   ============================================================ */
.term { border: 0; border-radius: 8px; overflow: hidden; background: var(--n1); box-shadow: none; }
.term__bar { border-bottom-color: var(--rule-night); font-family: var(--font); font-size: 13px; }
.term__tag { padding: 0; border: 0; text-transform: none; letter-spacing: 0; font-family: var(--font); font-size: 13px; font-weight: 600; color: var(--on-night-mute); }
.term__foot { font-family: var(--font); font-size: 13.5px; }

/* Night hero bands on the mode pages and pricing */
.phero { padding: clamp(56px, 8vw, 120px) 0 0; }
.phero h1 { max-width: 13em; font-size: clamp(42px, 6vw, 92px); color: #fff; }
.phero p { margin-top: 0; color: #c3cbdb; font-size: clamp(17px, 1.4vw, 20px); }
.ph--blue p { color: #e6ecfb; }
.phero .phero__actions { margin-top: 4px; gap: 18px 32px; align-items: center; }
.phero .btn--line { color: #fff; }
.billing { border: 0; gap: 22px; margin-top: 0; }
.billing button { padding: 4px 0; color: var(--on-night-mute); font-weight: 600; font-size: 16px; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.billing button[aria-pressed="true"] { background: none; color: #fff; text-decoration-color: var(--hi); }
.billing small { font-family: var(--font); font-size: 14px; color: var(--hi); }

/* Sections */
.dsec__head h2 { font-size: clamp(36px, 5vw, 76px); }
.dsec--quiet { background: var(--plane); border-block: 0; }
.dsec--night { background: var(--n1); }

/* The calls it stops (mode pages): rows of panels, the verdict a coloured word */
.stops { border: 0; gap: 16px; }
.stop { border: 0; border-radius: 10px; background: var(--card); }
.stop code { border-radius: 3px; background: var(--n1); }
.stop__verdict { padding: 0; border: 0; background: none !important; font-family: var(--font); font-size: 15px; font-weight: 750; letter-spacing: 0; text-transform: none; }
.stop--deny .stop__verdict { color: var(--deny); }
.stop--ask .stop__verdict { color: var(--hold); }
.stop--flag .stop__verdict { color: var(--brand); }

.quiet li { border-top-width: 1px; border-top-color: var(--line-strong); }
.steps li { border-top: 0; padding: 24px; border-radius: 10px; background: var(--card); }
.dsec--quiet .steps li { background: var(--ground); }
.steps .mono { font-family: var(--font); font-size: 30px; font-weight: 800; letter-spacing: -.04em; color: var(--brand); }
.modes { border: 0; gap: 16px; }
.mode { border-radius: 10px; background: var(--card); }
.mode--team { border-left: 0; background: var(--n1); color: #fff; }
.mode--team .label-sm, .mode--team p:not(.label-sm) { color: var(--on-night-mute); }
.week { border: 0; border-radius: 10px; }
.week__h span { border: 0; padding: 0; }
.ent { border: 0; border-radius: 12px; background: var(--n1); color: #fff; }
.ent p:not(.label-sm) { color: var(--on-night-mute); }

/* Pricing */
.tiers { border: 0; gap: 16px; }
.tier { border-left: 0 !important; border-top: 0 !important; border-radius: 12px; background: var(--card); }
.tier--pick { background: var(--n1); color: #fff; box-shadow: none; }
.tier--pick .tier__for, .tier--pick ul { color: var(--on-night-mute); }
.tier--pick .price span, .tier--pick li::before { color: var(--on-night-mute); }
.tier--pick ul { border-top-color: var(--rule-night-2); }
.tier li::before { font-family: var(--font); }
.tier li.soon::after { font-family: var(--font); }
.tier__addon { border: 0; border-radius: 6px; background: var(--plane); }
.compare-wrap { border: 0; border-radius: 10px; }
.compare thead th { background: var(--n1); }
.compare th, .compare td { border-bottom-color: var(--line); }
.faq details { border-top-color: var(--line-strong); }
.faq summary::after { font-family: var(--font); }

/* Mode pages: diagrams, ways in, notes, doors */
.note { border-left-width: 3px; border-radius: 0 8px 8px 0; background: var(--plane); }
.dsec--quiet .note { background: var(--ground); }
.doors { border: 0; gap: 16px; }
.doors > li { border: 0; border-radius: 10px; overflow: hidden; background: var(--card); }
a.door:hover { background: #fff; }
.door__more { font-size: 15px; font-weight: 650; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.where { border: 0; gap: 16px; background: transparent; }
.where__opt { border: 0 !important; border-radius: 10px; background: var(--card); }
.where__opt--default { background: var(--n1); color: #fff; }
.where__opt--default p:not(.label-sm), .where__opt--default .label-sm { color: var(--on-night-mute); }
.chapter--enforcement .where__opt { background: var(--night-2); color: var(--on-night); }
.chapter--enforcement .where__opt p:not(.label-sm) { color: var(--on-night-mute); }

@media (max-width: 960px) {
  .where__opt { border-top: 0; }
}
@media (max-width: 720px) {
  .tier { border-top: 0 !important; }
  .mode--team { border-top: 0; }
  .term { box-shadow: none; }
}
.door__more { text-transform: none; letter-spacing: 0; font-family: var(--font); }
.tier { grid-template-rows: auto auto auto 1fr auto; }
.tier.tier--addon { grid-template-rows: auto auto auto 1fr auto auto; }
.tier .btn, .tier .btn--line { align-self: end; justify-self: start; }
.tier .btn { justify-self: stretch; }
.phero + section, .phero + .runs-with { margin-top: clamp(40px, 5vw, 72px); }
.tier .btn.btn--line { justify-self: stretch; justify-content: center; }

/* Pricing: shorter sections */
.dsec { padding: clamp(56px, 6vw, 96px) 0; }
.dsec__head { margin-bottom: clamp(24px, 3vw, 40px); }
.compare th, .compare td { padding: 10px 14px; }
/* The questions, on the night band */
.dsec--night .faq details { border-top-color: var(--rule-night-2); }
.dsec--night .faq summary { color: #fff; font-size: 17px; }
.dsec--night .faq summary::after { color: var(--on-night-mute); }
.dsec--night .faq p { color: var(--on-night-mute); }
.dsec--night .faq a { color: #fff; text-decoration: underline; }

/* ============ Pricing: one plans block, hand-inked cards, aligned points ============ */
.plans h2 { max-width: 16ch; }
.ticks { position: absolute; width: 0; height: 0; overflow: hidden; }
.plans__grid { margin-top: clamp(32px, 4vw, 52px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; align-items: start; }
.plan { --ink-fill: #fff; --ink-line: var(--ink); display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; padding: 26px 22px 24px; border: 2px solid var(--ink); border-radius: 3px; background: #fff; color: var(--ink); }
.plan--pick { --ink-fill: var(--hi); background: var(--hi); }
.plan h3 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.plan .price { min-height: 0; display: grid; gap: 6px; }
.plan .price b { font-size: clamp(48px, 4.6vw, 72px); font-weight: 800; letter-spacing: -.055em; line-height: .9; }
.plan .price span { font-size: 14px; line-height: 1.35; color: var(--text-3); }
.plan--pick .price span { color: var(--ink); }
.plan__points { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); display: grid; align-content: start; }
.plan__points li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 9px; align-items: start; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.38; }
.plan--pick .plan__points li { border-bottom-color: rgba(5, 13, 26, .18); }
.tick { width: 16px; height: 16px; margin-top: 2px; fill: none; stroke: var(--brand); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.plan--pick .tick { stroke: var(--ink); }
.plan .btn { justify-self: stretch; justify-content: center; }
.btn--onpick { border: 2px solid var(--n0); }
.inkd .btn--onpick { border-color: transparent !important; }
/* the same nine lines line up across the four cards */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 1101px) {
    .plans__grid { grid-template-rows: repeat(12, auto); align-items: stretch; }
    .plan { grid-row: span 12; grid-template-rows: subgrid; gap: 0; }
    .plan h3 { margin-bottom: 12px; }
    .plan .price { margin-bottom: 18px; }
    .plan__points { grid-row: span 9; grid-template-rows: subgrid; }
    .plan .btn { margin-top: 20px; align-self: end; }
  }
}
/* the billing toggle: a drawn underline under the period in force */
.billing { align-items: baseline; flex-wrap: wrap; }
.billing__note { font-size: 13px; color: var(--on-night-mute); margin-left: 4px; }
.inkd .billing button[aria-pressed="false"] .ink-under { opacity: 0; }
.inkd .billing button[aria-pressed="true"] { color: #fff; }
.inkd .billing button[aria-pressed="true"] .ink-under { fill: var(--hi); }
@media (max-width: 1100px) {
  .plans__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .plans__grid { grid-template-columns: 1fr; }
}

/* ============ Pricing: a slim head, the plans in view, a drawing on every frame ============ */
/* the head: the price in one sentence at the left, a small night scene across the right */
.ph--plans { min-height: clamp(260px, 21vw, 310px); padding: clamp(28px, 3vw, 44px) 0 clamp(24px, 2.6vw, 36px); display: flex; align-items: center; }
.ph--plans .ph__in { z-index: 1; grid-template-columns: minmax(0, 1fr); width: min(var(--max), 100% - 2 * var(--gutter)); }
.ph--plans .ph__copy { max-width: 640px; padding: 0; gap: 12px; }
.ph--plans h1 { max-width: none; font-size: clamp(32px, 3.2vw, 46px); line-height: 1.04; }
.ph--plans .billing { margin-top: 6px; }
.ph__art--plans { position: absolute; right: 0; bottom: 0; height: 100%; margin: 0; pointer-events: none; z-index: 0; }
.ph__art--plans img { display: block; height: 100%; width: auto; max-height: none; max-width: none; }
@media (max-width: 1180px) { .ph__art--plans { display: none; } }
@media (max-width: 700px) { .ph--plans { min-height: 0; } }
.plans.band { padding-top: 80px; padding-bottom: 150px; overflow-x: clip; }
.ph--plans + .plans { margin-top: 0; }
.plans .shell { width: min(1360px, 100% - 2 * var(--gutter)); }
.plans__grid { margin-top: 0; gap: 108px 36px; }
.plan { position: relative; padding: 16px 18px 18px; gap: 12px; }
.plan h3 { font-size: 22px; }
.plan .price b { font-size: clamp(38px, 3.1vw, 46px); }
.plan .price span { font-size: 13px; }
.plan__points li { grid-template-columns: 16px minmax(0, 1fr); gap: 8px; padding: 4px 0; font-size: 13.5px; line-height: 1.32; }
.plan .btn { min-height: 44px; }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 1101px) {
    /* one row of cards: the twelve shared rows carry no gap of their own */
    .plans__grid { row-gap: 0; }
    .plan { gap: 0; }
    .plan h3 { margin-bottom: 4px; }
    .plan .price { margin-bottom: 10px; }
    .plan .btn { margin-top: 14px; }
  }
}
/* each figure pinned by where the card's edge falls in its drawing (scripts/illustrations/plans.py) */
.plan__fig { --fs: 1; position: absolute; z-index: 2; display: block; pointer-events: none; }
.plan__fig--local { width: calc(168px * var(--fs)); height: calc(128px * var(--fs)); top: calc(-2px - 106px * var(--fs)); right: calc(-2px - 16px * var(--fs)); }
.plan__fig--free { width: calc(236px * var(--fs)); height: calc(124px * var(--fs)); top: calc(-2px - 100px * var(--fs)); right: calc(-2px - 16px * var(--fs)); }
.plan__fig--team { width: calc(176px * var(--fs)); height: calc(202px * var(--fs)); top: calc(-2px - 80px * var(--fs)); right: calc(-2px - 10px * var(--fs)); }
.plan__fig--ent { width: calc(304px * var(--fs)); height: calc(128px * var(--fs)); bottom: calc(-2px - 106px * var(--fs)); left: calc(-2px - 18px * var(--fs)); }
@media (max-width: 640px) {
  .plans.band { padding-top: 80px; padding-bottom: 120px; }
  .plans__grid { row-gap: 88px; }
  .plan__fig { --fs: .8; }
}
/* the tax note, small, just under the four plans */
.plans__note { margin: 22px 0 0; font-size: 13px; line-height: 1.45; color: var(--text-3); }
/* one column: the note clears the drawing hanging under the last card */
@media (max-width: 640px) { .plans__note { margin-top: 104px; } }
