/* GovInbox marketing site
   One typeface (Public Sans, the U.S. government's web face, self-hosted),
   one accent (radar amber), one dark surface (the "radar screen" panel and the
   Pro plan). Everything else stays quiet. */

@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/PublicSans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;

  --paper: #ffffff;
  --paper-2: #f3f5f8;
  --line: #d9dee7;
  --line-strong: #b9c3d1;

  --ink: #0f1e3c;        /* deep navy: headings, buttons, the radar panel */
  --ink-soft: #1c2f57;
  --text: #253049;
  --muted: #5b667a;

  --signal: #f2b531;     /* radar amber: only ever on navy, or as a filled chip */
  --signal-bright: #f7c454;

  --on-ink: #e6ebf4;
  --on-ink-muted: #9fb0cc;
  --on-ink-line: rgba(230, 235, 244, 0.14);

  --radius-s: 6px;
  --radius-m: 12px;

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);

  --font: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

/* ------------------------------------------------------------------ base */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--font);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; }

.nowrap { white-space: nowrap; }

h1 {
  font-size: clamp(2.375rem, 1.45rem + 3vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.028em;
  font-weight: 800;
  color: var(--ink);
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}

h3 {
  font-size: 1.3125rem;
  line-height: 1.3;
  letter-spacing: -0.012em;
  font-weight: 700;
  color: var(--ink);
}

a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 0.14em; }
a:hover { text-decoration-thickness: 2px; }

code {
  font-family: var(--mono);
  font-size: 0.875em;
  font-weight: 500;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-s);
  font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.wrap-narrow { width: min(760px, 100% - 2 * var(--gutter)); }

.prose > p + p { margin-top: 1em; }
.prose p { max-width: 62ch; }
.prose a { font-weight: 500; }

.fine {
  font-size: 0.9375rem;
  color: var(--muted);
}

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-s);
  border: 1px solid transparent;
  font: 600 1rem/1.2 var(--font);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-soft); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-signal { background: var(--signal); color: var(--ink); }
.btn-signal:hover { background: var(--signal-bright); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 66px;
  padding-block: 10px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
.brand-name {
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.mark { flex: none; color: var(--ink); }

.site-nav {
  display: flex;
  gap: clamp(16px, 2.4vw, 30px);
}
.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }

@media (max-width: 720px) {
  html { scroll-padding-top: 124px; } /* the header wraps to two rows */
  .site-nav {
    order: 3;
    width: 100%;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { white-space: nowrap; }
  .header-row { padding-block: 10px 6px; }
}

/* ------------------------------------------------------------------ hero */

.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-copy { display: grid; gap: 22px; align-content: center; }

.lede {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  line-height: 1.5;
  max-width: 32em;
  color: var(--text);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.trust {
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 34em;
}

@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 42rem; }
}

/* ---------------------------------------------------------- radar panel */

.radar {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-ink);
  border-radius: var(--radius-m);
  padding: 22px 24px 18px;
  box-shadow: 0 32px 64px -36px rgba(15, 30, 60, 0.55);
  isolation: isolate;
}

/* a faint amber glow, top-right, like a screen that is on */
.radar::before {
  content: "";
  position: absolute;
  top: -35%;
  right: -20%;
  width: 62%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(242, 181, 49, 0.18), rgba(242, 181, 49, 0) 72%);
  pointer-events: none;
  z-index: -1;
}

/* the sweep: one pass on page load, then gone */
.radar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -3px;
  height: 2px;
  background: linear-gradient(90deg, rgba(242, 181, 49, 0), var(--signal) 30%, var(--signal) 70%, rgba(242, 181, 49, 0));
  box-shadow: 0 0 22px 3px rgba(242, 181, 49, 0.45);
  opacity: 0;
  pointer-events: none;
}

.radar-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 14px;
}

.radar-title {
  font-weight: 700;
  font-size: 1.0625rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.radar-sub {
  font-size: 0.875rem;
  color: var(--on-ink-muted);
  margin-top: 2px;
}
.radar-count {
  flex: none;
  font-size: 0.875rem;
  color: var(--on-ink-muted);
  text-align: right;
  padding-top: 1px;
}
.radar-count strong {
  display: block;
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 800;
  color: var(--signal);
  letter-spacing: -0.02em;
}

.radar-list {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--on-ink-line);
}

.radar-row {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) auto;
  gap: 2px 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--on-ink-line);
  align-items: start;
}

.due {
  font: 500 0.875rem/1.5 var(--mono);
  color: var(--on-ink-muted);
  white-space: nowrap;
  padding-top: 1px;
}
.due-word { color: var(--on-ink-muted); opacity: 0.7; }
.due-soon, .due-soon .due-word { color: var(--signal); opacity: 1; }

.what { min-width: 0; }
.title {
  display: block;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
}
.brief {
  display: block;
  margin-top: 3px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--on-ink-muted);
}

.codes {
  display: flex;
  gap: 12px;
  font: 500 0.8125rem/1.55 var(--mono);
  color: var(--on-ink-muted);
  white-space: nowrap;
  padding-top: 2px;
}
.codes code { font-size: inherit; font-weight: inherit; }

.radar-more {
  font-size: 0.875rem;
  color: var(--on-ink-muted);
  padding: 10px 0 0 calc(5.5rem + 18px);
}

.radar-ask {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--on-ink-line);
  display: grid;
  gap: 10px;
}
.ask {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  gap: 12px;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.who {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--on-ink-muted);
  padding-top: 3px;
}
.ask-q { color: #fff; }
.ask-a { color: var(--on-ink); }
.ask-a .who { color: var(--signal); }
.ask time { color: #fff; font-weight: 600; }

.radar-note {
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--on-ink-muted);
  opacity: 0.75;
}

.radar :focus-visible { outline-color: var(--signal); }

@media (max-width: 560px) {
  .radar { padding: 18px 16px 14px; border-radius: 10px; }
  .radar-row { grid-template-columns: 1fr; gap: 4px; }
  .codes { order: 3; }
  .radar-more { padding-left: 0; }
  .radar-count strong { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .radar::after { animation: sweep 1.6s cubic-bezier(0.45, 0, 0.25, 1) 0.2s both; }
  .radar-row, .radar-more, .radar-ask {
    opacity: 0;
    transform: translateY(4px);
    animation: reveal 0.55s ease-out both;
  }
  .radar-row:nth-child(1) { animation-delay: 0.55s; }
  .radar-row:nth-child(2) { animation-delay: 0.75s; }
  .radar-row:nth-child(3) { animation-delay: 0.95s; }
  .radar-row:nth-child(4) { animation-delay: 1.15s; }
  .radar-more { animation-delay: 1.3s; }
  .radar-ask { animation-delay: 1.5s; }
}

@keyframes sweep {
  0%   { opacity: 0; top: -3px; }
  6%   { opacity: 1; }
  94%  { opacity: 1; }
  100% { opacity: 0; top: 100%; }
}
@keyframes reveal {
  to { opacity: 1; transform: none; }
}

/* -------------------------------------------------------------- sections */

.section {
  padding: clamp(60px, 9vw, 110px) 0;
  border-top: 1px solid var(--line);
}
.section-band {
  background: var(--paper-2);
  border-top: 0;
}
.section-title { margin-bottom: clamp(32px, 4vw, 48px); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.split-tight { margin-bottom: clamp(32px, 4vw, 48px); }
.split > h2 { max-width: 16em; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}

/* how it works */

.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px);
}
.step { display: grid; gap: 12px; align-content: start; }
.step p { max-width: 40ch; }
.step-n {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--ink);
  margin-bottom: 6px;
}

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .step { grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; }
  .step-n { grid-row: 1 / span 2; margin: 0; }
  .step h3, .step p { grid-column: 2; }
}

/* inbox + agent */

.pillars {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
}
.pillar { display: grid; gap: 14px; align-content: start; }
.pillar p { max-width: 54ch; }
.pillar + .pillar { border-left: 1px solid var(--line); padding-left: clamp(24px, 3vw, 40px); }

.asks {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
  margin-top: 4px;
}
.asks li {
  position: relative;
  padding: 12px 16px 12px 40px;
  background: var(--paper-2);
  border-radius: var(--radius-s);
  font-size: 0.9375rem;
  color: var(--ink);
  max-width: 52ch;
}
.asks li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 19px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(242, 181, 49, 0.25);
}

@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 36px; }
}

/* programs table */

.table-wrap { overflow-x: auto; }

.programs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.programs-table th,
.programs-table td {
  text-align: left;
  vertical-align: top;
  padding: 14px 20px 14px 0;
  border-bottom: 1px solid var(--line);
}
.programs-table thead th {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  padding-top: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-strong);
}
.programs-table tbody th {
  font-weight: 600;
  color: var(--ink);
  width: 24%;
}
.programs-table td:nth-child(2) { color: var(--text); }
.programs-table td:nth-child(3) { white-space: nowrap; width: 9%; }
.programs-table td:last-child { white-space: nowrap; }
.programs-table code { margin-right: 6px; color: var(--ink); }

@media (max-width: 720px) {
  .programs-table thead { display: none; }
  .programs-table tr {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .programs-table tbody th,
  .programs-table td {
    display: block;
    padding: 0;
    border: 0;
    width: auto;
    white-space: normal;
  }
  .programs-table td[data-label="FAR"]::before,
  .programs-table td[data-label="Codes"]::before {
    content: attr(data-label) " ";
    color: var(--muted);
    font-size: 0.8125rem;
  }
  .programs-table td[data-label="FAR"] { display: inline-block; margin-right: 16px; }
  .programs-table td[data-label="Codes"] { display: inline-block; }
}

/* scope */

.scope-lists {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px 40px;
  margin-top: 32px;
}
.scope-lists h3 { font-size: 1.0625rem; margin-bottom: 10px; }
.scope-lists ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 0.9375rem;
}
.scope-lists li { position: relative; padding-left: 26px; }
.scope-lists li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 14px;
  height: 14px;
  background-color: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M2.5 8.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M2.5 8.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.scope-lists .nots li::before {
  background-color: var(--muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' d='M3 8h10'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' d='M3 8h10'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 560px) {
  .scope-lists { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------- pricing */

.pricing-head {
  display: grid;
  gap: 12px;
  max-width: 40rem;
  margin-bottom: 28px;
}

.billing {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: var(--paper);
  margin-bottom: 28px;
}
.billing-opt {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
  cursor: pointer;
  user-select: none;
}
.billing-opt input { margin: 0; accent-color: var(--ink); }

/* Segmented-control styling when :has() is available; native radios otherwise. */
@supports selector(:has(a)) {
  .billing-opt input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    inset: 0;
    margin: 0;
    cursor: pointer;
  }
  .billing-opt:has(input:checked) { background: var(--ink); color: #fff; }
  .billing-opt:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
}

.plans {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  max-width: 920px;
}

.plan {
  display: grid;
  gap: 22px;
  align-content: start;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--paper);
}
.plan-pro {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-ink);
}
.plan-pro h3, .plan-pro .price-amount { color: #fff; }
.plan-pro .plan-tag, .plan-pro .price-period { color: var(--on-ink-muted); }
.plan-pro :focus-visible { outline-color: var(--signal); }

.plan-name { font-size: 1.5rem; letter-spacing: -0.015em; }
.plan-tag { margin-top: 4px; color: var(--muted); }

.price-set { display: grid; gap: 8px; }
.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.price-amount {
  font-size: 3rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.price-period { color: var(--muted); font-size: 1rem; }
.save {
  justify-self: start;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--signal);
  padding: 3px 9px;
  border-radius: 4px;
}

.plan-features {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.plan-features li { position: relative; padding-left: 26px; }
.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 14px;
  height: 14px;
  background-color: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M2.5 8.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M2.5 8.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan-pro .plan-features li::before { background-color: var(--signal); }

.plan-cta { margin-top: 4px; }
.plan-notice {
  font-size: 0.875rem;
  color: var(--muted);
  padding: 10px 12px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-s);
}
.plan-pro .plan-notice { color: var(--on-ink-muted); border-color: var(--on-ink-line); }
.plan-notice[hidden] { display: none; }

/* monthly / annual switching: CSS-only via :has(), with a data attribute
   fallback that main.js sets for browsers without :has() */
.is-annual { display: none; }
.pricing:has(#bill-annual:checked) .is-annual,
.pricing[data-billing="annual"] .is-annual { display: grid; }
.pricing:has(#bill-annual:checked) .is-monthly,
.pricing[data-billing="annual"] .is-monthly { display: none; }
.pricing:has(#bill-monthly:checked) .is-monthly,
.pricing[data-billing="monthly"] .is-monthly { display: grid; }
.pricing:has(#bill-monthly:checked) .is-annual { display: none; }

.pricing-fine {
  margin-top: 24px;
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 60ch;
}

@media (max-width: 760px) {
  .plans { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------- faq */

.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }

.faq summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 18px 44px 18px 0;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.4;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq summary:hover { color: var(--ink-soft); }
.faq summary:focus-visible { outline-offset: -3px; }
.faq details .prose { padding: 0 44px 22px 0; }
.faq details .prose p { max-width: 66ch; }

/* ---------------------------------------------------------------- footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 40px;
  font-size: 0.875rem;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 40px;
  align-items: center;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a { color: var(--text); text-decoration: none; font-weight: 500; }
.footer-nav a:hover { text-decoration: underline; }
.footer-legal { grid-column: 1 / -1; max-width: 78ch; line-height: 1.55; }
.footer-copy { grid-column: 1 / -1; }

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------- secondary pages */

.page { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 110px); }
.page h1 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); margin-bottom: 12px; }
.page .updated { color: var(--muted); font-size: 0.9375rem; margin-bottom: 36px; }
.page h2 { font-size: 1.375rem; margin: 36px 0 12px; }
.page p, .page li { max-width: 66ch; }
.page ul { padding-left: 1.2em; }
.page li + li { margin-top: 6px; }
.page .prose > * + * { margin-top: 1em; }
