/* unrigid.ai: the sections. Phone first; every size scales with clamp() and reflows at 600, 900
   and 1200px. The grid is visible: each band's column is ruled left and right, with crop marks
   where a band starts. */

h3 {
  font-weight: 560;
}

/* ---- The visible grid ---------------------------------------------------------------------- */

.band {
  border-top: 1px solid var(--rule);
}
.band > .wrap,
.facts > .wrap,
.hero > .wrap {
  position: relative;
}
@media (min-width: 100000px) {
  .band > .wrap::before,
  .band > .wrap::after {
    content: "";
    position: absolute;
    top: -6px;
    width: 11px;
    height: 11px;
    background:
      linear-gradient(var(--rule-strong), var(--rule-strong)) center / 1px 100% no-repeat,
      linear-gradient(var(--rule-strong), var(--rule-strong)) center / 100% 1px no-repeat;
  }
  .band > .wrap::before {
    left: calc(var(--gutter) - 6px);
  }
  .band > .wrap::after {
    right: calc(var(--gutter) - 6px);
  }
  .band-first > .wrap::before,
  .band-first > .wrap::after {
    display: none;
  }
  .band-night > .wrap::before,
  .band-night > .wrap::after {
    background:
      linear-gradient(var(--night-rule), var(--night-rule)) center / 1px 100% no-repeat,
      linear-gradient(var(--night-rule), var(--night-rule)) center / 100% 1px no-repeat;
  }
}

.band {
  padding-block: var(--band);
}
.band-first {
  border-top: 0;
  padding-top: clamp(40px, 2.5rem + 2vw, 80px);
}

.section-head {
  display: grid;
  gap: 18px;
  max-width: 46rem;
  margin-bottom: clamp(36px, 2rem + 2.5vw, 72px);
}
.section-head h2 {
  max-width: 18ch;
}
.fig {
  color: var(--ink);
}
.fig::after {
  content: "/";
  margin-left: 10px;
  color: var(--rule-strong);
}
.head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0 24px;
}
.head-row .section-head {
  flex: 1 1 32rem;
}
.head-link {
  margin-bottom: clamp(36px, 2rem + 2.5vw, 72px);
}
.h-small {
  font-size: 1.125rem;
  font-weight: 560;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}
.h-section {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  margin-bottom: 32px;
}

/* ---- Hero ---------------------------------------------------------------------------------- */

.hero {
  padding-top: clamp(36px, 1.5rem + 4.5vw, 120px);
  padding-bottom: clamp(40px, 2rem + 3vw, 96px);
  background:
    radial-gradient(circle, var(--rule-strong) 1px, transparent 1.2px) 0 0 / 24px 24px;
  background-color: var(--paper);
  -webkit-mask-image: none;
}
.hero-text {
  display: grid;
  gap: clamp(18px, 1rem + 0.8vw, 28px);
  position: relative;
}
.hero-eyebrow {
  color: var(--ink-2);
}
.hero h1 {
  max-width: 13.5ch;
}
.hero h1 .serif {
  letter-spacing: -0.035em;
  padding-right: 0.04em;
}
.hero-lede {
  color: var(--ink-2);
  max-width: 34em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--accent);
}

/* Wide screens: the headline holds the left, lede and actions sit in a column on the right, and
   the console runs the full width underneath, cut by the fold. */
@media (min-width: 1024px) {
  .hero-text {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-rows: auto auto auto 1fr;
    column-gap: clamp(32px, 4vw, 96px);
    align-items: end;
  }
  .hero-eyebrow {
    grid-column: 1 / -1;
  }
  .hero h1 {
    grid-column: 1;
    grid-row: 2 / span 3;
    max-width: 12ch;
  }
  .hero-lede,
  .hero-actions,
  .trust {
    grid-column: 2;
  }
  .hero-lede {
    grid-row: 2;
  }
  .hero-actions {
    grid-row: 3;
  }
  .trust {
    grid-row: 4;
    align-self: start;
  }
}

/* ---- The console (hero picture) ------------------------------------------------------------ */

.console {
  display: grid;
  gap: 16px;
  margin-top: clamp(36px, 1.5rem + 3vw, 80px);
}
.console-chat {
  border-radius: 14px;
  background: var(--night);
  color: var(--night-ink);
  box-shadow: 0 30px 60px -30px rgba(20, 20, 18, 0.45);
  overflow: hidden;
}
.pane-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--night-rule);
  font-size: 0.8125rem;
}
.pane-title {
  font-weight: 560;
}
.pane-meta {
  font-size: 0.6875rem;
  color: var(--night-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.turns {
  margin: 0;
  padding: 16px;
  list-style: none;
  display: grid;
  gap: 12px;
  font-size: clamp(0.8125rem, 0.78rem + 0.15vw, 0.9375rem);
  line-height: 1.5;
}
.turn p {
  margin: 0;
}
.turn .who {
  display: block;
  margin-bottom: 2px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--night-muted);
}
.turn-you p {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--night-3);
}
.turn-tool p {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 0.75rem;
  color: var(--night-muted);
  overflow-wrap: anywhere;
}
.tick {
  flex: none;
  width: 9px;
  height: 5px;
  border-left: 1.5px solid var(--night-accent);
  border-bottom: 1.5px solid var(--night-accent);
  transform: translateY(-2px) rotate(-45deg);
}
.console-site {
  position: relative;
}
.approval {
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 20px 40px -24px rgba(20, 20, 18, 0.35);
}
.approval-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.approval-title {
  margin: 6px 0 12px;
  font-weight: 520;
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
}
.approval-actions {
  display: flex;
  gap: 8px;
}
.approval-actions .btn {
  min-height: 34px;
  cursor: default;
}

@media (min-width: 900px) {
  .console {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(16px, 1.5vw, 28px);
    align-items: start;
  }
  .console-chat {
    align-self: stretch;
  }
  .approval {
    position: absolute;
    left: clamp(-56px, -3vw, -24px);
    bottom: clamp(16px, 2vw, 40px);
    width: min(340px, 60%);
    margin: 0;
  }
}

/* ---- Browser frame ------------------------------------------------------------------------- */

.browser {
  margin: 0;
  border: 1px solid var(--rule-strong);
  border-radius: 12px;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(20, 20, 18, 0.03), 0 24px 48px -32px rgba(20, 20, 18, 0.3);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
}
.dots {
  display: flex;
  gap: 6px;
}
.dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rule-strong);
}
.address {
  flex: 1;
  min-width: 0;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--white);
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser-view {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-2);
}
.browser-view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.shot-empty {
  display: grid;
  place-items: center;
  height: 100%;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--faint);
}

/* ---- Facts strip --------------------------------------------------------------------------- */

.facts {
  border-top: 1px solid var(--rule);
  background: var(--paper);
}
.fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
}
.fact {
  padding: 22px 16px 22px 0;
  border-bottom: 1px solid var(--rule);
}
.fact:nth-child(odd) {
  border-right: 1px solid var(--rule);
}
.fact:nth-child(even) {
  padding-left: 16px;
}
.fact dd {
  margin: 8px 0 0;
  font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}
@media (min-width: 900px) {
  .fact-grid {
    grid-template-columns: repeat(4, 1fr);
    border-inline: 1px solid var(--rule);
  }
  .fact {
    padding: 28px 24px;
    border-bottom: 0;
    border-right: 1px solid var(--rule);
  }
  .fact:nth-child(even) {
    padding-left: 24px;
  }
  .fact:last-child {
    border-right: 0;
  }
}

/* ---- How it works -------------------------------------------------------------------------- */

.steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.step {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 24px 0 32px;
  border-bottom: 1px solid var(--rule);
}
.step-n {
  font-size: 0.75rem;
  color: var(--faint);
}
.step p {
  color: var(--muted);
}
.code-line {
  margin: 8px 0 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--night);
  color: var(--night-ink);
  font-size: 0.75rem;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .step {
    padding: 28px clamp(20px, 2vw, 36px) 36px;
    border-bottom: 0;
    border-right: 1px solid var(--rule);
  }
  .step:first-child {
    padding-left: 0;
  }
  .step:last-child {
    border-right: 0;
    padding-right: 0;
  }
}

/* ---- Custom CMS: code → form --------------------------------------------------------------- */

.cms-pair {
  display: grid;
  gap: 12px;
  align-items: start;
}
.code-pane,
.form-pane {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  min-width: 0;
}
.code-pane {
  background: var(--night);
  color: var(--night-ink);
}
.code-pane pre {
  margin: 0;
  padding: 18px 20px 22px;
  font-size: clamp(0.71875rem, 0.68rem + 0.2vw, 0.84375rem);
  line-height: 1.7;
  overflow-x: auto;
  white-space: pre;
}
.form-pane {
  border: 1px solid var(--rule-strong);
  background: var(--white);
}
.form-pane .pane-bar {
  border-bottom-color: var(--rule);
}
.form-pane .pane-meta {
  color: var(--faint);
}
.cms-form {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 18px 20px 22px;
}
.cms-field dt {
  font-size: 0.8125rem;
  font-weight: 520;
  margin-bottom: 6px;
}
.cms-field dd {
  margin: 0;
  padding: 9px 12px;
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--ink-2);
  background: var(--paper);
  overflow-wrap: anywhere;
}
.pair-arrow {
  display: grid;
  place-items: center;
  color: var(--faint);
  transform: rotate(90deg);
}
.points {
  display: grid;
  gap: 0;
  margin: clamp(28px, 2vw, 48px) 0 0;
  padding: 0;
  list-style: none;
}
.points li {
  padding: 14px 0 14px 22px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  color: var(--ink-2);
}
.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 23px;
  width: 8px;
  height: 1px;
  background: var(--ink);
}
@media (min-width: 900px) {
  .cms-pair {
    grid-template-columns: minmax(0, 7fr) auto minmax(0, 5fr);
  }
  .pair-arrow {
    transform: none;
  }
  .points {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 40px;
  }
}

/* ---- Platform (night band) ----------------------------------------------------------------- */

.band-night {
  background: var(--night);
  color: var(--night-ink);
  border-top-color: var(--night);
}
.band-night .eyebrow {
  color: var(--night-muted);
}
.band-night .fig {
  color: var(--night-ink);
}
.band-night .fig::after {
  color: var(--night-rule);
}
.band-night .lede {
  color: var(--night-muted);
}
.band-night a {
  color: var(--night-accent);
}

.pipeline {
  display: grid;
  margin: 0 0 clamp(40px, 3vw, 72px);
  padding: 20px 0 0;
  list-style: none;
  counter-reset: stage;
  background: radial-gradient(circle, var(--night-rule) 1px, transparent 1.2px) 0 0 / 20px 20px;
}
.stage {
  position: relative;
  display: grid;
  gap: 6px;
  margin: 0 0 28px 18px;
  padding: 16px 18px;
  border: 1px solid var(--night-rule);
  border-radius: 4px;
  background: var(--night-2);
}
.stage::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 0;
  bottom: -29px;
  border-left: 1px dashed var(--night-accent);
}
.stage:last-child::before {
  bottom: 50%;
}
.stage::after {
  content: "";
  position: absolute;
  left: -22px;
  top: 22px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--night-accent);
  background: var(--night);
}
.stage:last-child {
  border-color: var(--night-accent);
}
.stage-n {
  font-size: 0.6875rem;
  color: var(--night-muted);
}
.stage-name {
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--night-ink);
}
.stage-what {
  font-size: 0.875rem;
  color: var(--night-muted);
  line-height: 1.45;
}
@media (min-width: 1100px) {
  .pipeline {
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    padding: 28px 0;
  }
  .stage {
    margin: 0;
    align-content: start;
  }
  .stage::before {
    left: auto;
    right: -19px;
    top: 26px;
    bottom: auto;
    width: 19px;
    border-left: 0;
    border-top: 1px dashed var(--night-accent);
  }
  .stage:last-child::before {
    display: none;
  }
  .stage::after {
    left: auto;
    right: -5px;
    top: -5px;
    width: 9px;
    height: 9px;
  }
}

.pillars {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--night-rule);
}
.pillar {
  padding: 24px 0 28px;
  border-bottom: 1px solid var(--night-rule);
}
.pillar h3 {
  color: var(--night-ink);
  margin-bottom: 8px;
}
.pillar p {
  color: var(--night-muted);
  font-size: 0.9375rem;
}
.pillar-detail {
  margin-top: 14px !important;
  font-size: 0.75rem !important;
  color: var(--night-accent) !important;
}
@media (min-width: 700px) {
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillar {
    padding: 28px 28px 32px 0;
  }
  .pillar:nth-child(even) {
    padding-left: 28px;
    border-left: 1px solid var(--night-rule);
  }
}
@media (min-width: 1100px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }
  .pillar,
  .pillar:nth-child(even) {
    padding: 32px 32px 36px;
    border-left: 1px solid var(--night-rule);
  }
  .pillar:nth-child(3n + 1) {
    padding-left: 0;
    border-left: 0;
  }
}

/* ---- Starters ------------------------------------------------------------------------------ */

.starter-grid {
  display: grid;
  gap: clamp(28px, 2vw, 40px) clamp(20px, 2vw, 32px);
}
.starter {
  display: grid;
  gap: 16px;
  align-content: start;
}
.starter-shot {
  display: block;
  text-decoration: none;
  transition: transform 0.2s;
}
.starter-shot:hover {
  transform: translateY(-3px);
}
.starter-body {
  display: grid;
  gap: 6px;
}
.starter-body h3 a {
  color: var(--ink);
  text-decoration: none;
}
.starter-body h3 a:hover {
  text-decoration: underline;
}
.starter-body p {
  color: var(--muted);
  font-size: 0.9375rem;
}
.starter-look {
  font-size: 0.75rem !important;
  color: var(--faint) !important;
}
.starter-links {
  display: grid;
  justify-items: start;
  margin-top: 4px;
}
.starter-links .mono {
  font-size: 0.8125rem;
}
.list-note {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  max-width: 44em;
}
@media (min-width: 640px) {
  .starter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .starter-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.starter-detail .browser {
  max-width: 1100px;
}
.detail-cols {
  display: grid;
  gap: 40px;
  margin-top: 48px;
}
.ask {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--night);
  color: var(--night-ink);
}
.ask .eyebrow {
  color: var(--night-muted);
}
.ask-prompt {
  margin-top: 8px;
  font-size: 1.0625rem;
}
.back {
  margin-top: 48px;
}
@media (min-width: 900px) {
  .detail-cols {
    grid-template-columns: 7fr 5fr;
    gap: 64px;
  }
}

/* ---- Key–value lists ----------------------------------------------------------------------- */

.kv {
  margin: 0;
  display: grid;
}
.kv > div {
  display: grid;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.kv > div:first-child {
  border-top: 1px solid var(--ink);
}
.kv dt {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}
.kv dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.kv-note {
  display: block;
  color: var(--muted);
  font-size: 0.875rem;
}
.kv-card {
  padding: 4px 20px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--white);
}
.kv-card > div:first-child {
  border-top: 0;
}
.kv-card > div:last-child {
  border-bottom: 0;
}

/* ---- Agents -------------------------------------------------------------------------------- */

.agents {
  display: grid;
  gap: 16px;
}
.agent-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.agent,
.next-agent {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 22px;
  border: 1px solid var(--rule-strong);
  border-radius: 14px;
  background: var(--white);
}
.agent p {
  color: var(--muted);
  font-size: 0.9375rem;
}
.agent-state {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber) !important;
}
.agent-live {
  border-color: var(--ink);
}
.agent-live .agent-state {
  color: var(--green) !important;
}
.next-agent {
  background: var(--night);
  color: var(--night-ink);
  border-color: var(--night);
  padding: clamp(22px, 2.5vw, 40px);
  gap: 12px;
}
.next-agent .agent-state {
  color: var(--night-accent) !important;
}
.next-agent h3 {
  font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem);
  font-weight: 480;
  letter-spacing: -0.03em;
}
.next-agent p {
  color: var(--night-muted);
}
@media (min-width: 900px) {
  .agents {
    grid-template-columns: 7fr 5fr;
    gap: 20px;
  }
}

/* ---- Pricing ------------------------------------------------------------------------------- */

.plan {
  display: grid;
  border: 1px solid var(--ink);
  border-radius: 16px;
  background: var(--white);
  overflow: hidden;
}
.plan-col {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: clamp(22px, 2.5vw, 40px);
}
.plan-col + .plan-col {
  border-top: 1px solid var(--rule);
}
.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 8px;
  font-size: clamp(2.5rem, 1.9rem + 2.4vw, 4rem);
  font-weight: 460;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cur {
  font-size: 0.55em;
  align-self: flex-start;
  margin-top: 0.15em;
}
.per {
  margin-left: 6px;
  font-size: 1rem;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--muted);
}
.price-sub {
  color: var(--muted);
  font-size: 0.9375rem;
}
.tax {
  margin: 14px 0 0;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}
.tax > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--rule);
}
.tax dt {
  color: var(--muted);
}
.tax dd {
  margin: 0;
  font-family: var(--mono);
}
.tax-total {
  border-bottom: 0 !important;
  font-weight: 560;
}
.tax-total dt {
  color: var(--ink);
}
@media (min-width: 760px) {
  .plan {
    grid-template-columns: 1fr 1fr;
  }
  .plan-col + .plan-col {
    border-top: 0;
    border-left: 1px solid var(--rule);
  }
}

.pricing-cols {
  display: grid;
  gap: 40px;
  margin-top: clamp(40px, 3vw, 72px);
}
.ticks,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ticks li,
.plain-list li {
  position: relative;
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 10px;
  height: 5px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}
.plain-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 21px;
  width: 8px;
  height: 1px;
  background: var(--ink);
}
.paynote {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9375rem;
}
@media (min-width: 900px) {
  .pricing-cols {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

/* ---- Questions ----------------------------------------------------------------------------- */

.faqs {
  border-top: 1px solid var(--ink);
}
.faq {
  border-bottom: 1px solid var(--rule);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 60px;
  padding: 14px 0;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  font-weight: 520;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--mono);
  font-weight: 400;
  color: var(--faint);
}
.faq[open] summary::after {
  content: "−";
}
.faq-a {
  padding: 0 0 22px;
  max-width: 44em;
  color: var(--muted);
}
.faq-a p + p {
  margin-top: 10px;
}
@media (min-width: 1024px) {
  .faq-wrap {
    display: grid;
    grid-template-columns: 4fr 8fr;
    gap: 64px;
  }
}

/* ---- Closing ------------------------------------------------------------------------------- */

.closing {
  padding-block: clamp(72px, 4rem + 5vw, 180px);
  background: var(--night);
  color: var(--night-ink);
  text-align: left;
}
.closing h2 {
  font-size: var(--h1);
  max-width: 13ch;
  letter-spacing: -0.045em;
}
.closing .lede {
  margin-top: 22px;
  color: var(--night-muted);
}
.closing .hero-actions {
  margin-top: 32px;
}
.closing-mcp {
  margin-top: 40px;
  font-size: 0.75rem;
  color: var(--night-muted);
  overflow-wrap: anywhere;
}
.mcp {
  margin-left: 8px;
  padding: 4px 8px;
  border: 1px solid var(--night-rule);
  border-radius: 6px;
  color: var(--night-ink);
}

/* ---- Inner pages --------------------------------------------------------------------------- */

.prose-cols,
.contact-cols,
.policy-cols {
  display: grid;
  gap: 48px;
}
@media (min-width: 1024px) {
  .prose-cols {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    gap: 80px;
  }
  .contact-cols {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 80px;
  }
  .policy-cols {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 72px;
  }
  .policy-nav {
    position: sticky;
    top: calc(var(--header) + 32px);
    align-self: start;
  }
}
.contact-form {
  max-width: 40rem;
}
.form-note {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--muted);
}
.help-box {
  margin-top: 24px;
  padding: 20px;
  border-radius: 12px;
  background: var(--paper-2);
}
.help-box p {
  color: var(--muted);
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 22px;
  font-size: 0.75rem;
  color: var(--muted);
}
.tag {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tag-draft {
  background: #fdf4dd;
  color: #7a5200;
  border: 1px solid #ecd18c;
}
.tag-live {
  background: #e9f5ec;
  color: #1d6b3a;
  border: 1px solid #9fd1ae;
}
.draft-note {
  margin-bottom: 28px !important;
  padding: 12px 16px;
  border-radius: 8px;
  background: #fdf4dd;
  border: 1px solid #ecd18c;
  color: #5c3d00;
  font-size: 0.9375rem;
}
.policy-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.policy-nav a {
  display: flex;
  align-items: center;
  min-height: var(--tap);
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9375rem;
  text-decoration: none;
}
.policy-nav a:hover,
.policy-nav a[aria-current="page"] {
  color: var(--ink);
}
.policy-nav a[aria-current="page"] {
  font-weight: 560;
}
@media (max-width: 1023px) {
  .policy-nav {
    order: 2;
  }
}

.policy-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.policy-list a {
  display: grid;
  gap: 4px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
}
.policy-list a:hover .policy-name {
  text-decoration: underline;
}
.policy-name {
  font-size: 1.125rem;
  font-weight: 560;
  letter-spacing: -0.015em;
}
.policy-sum {
  color: var(--muted);
}
.policy-when {
  font-size: 0.75rem;
  color: var(--faint);
}
@media (min-width: 900px) {
  .policy-list a {
    grid-template-columns: 4fr 6fr 2fr;
    align-items: baseline;
    gap: 32px;
  }
  .policy-when {
    text-align: right;
  }
}
