/* Survivor Engine website.
   One stylesheet, system fonts only, no external requests.
   A product of Quantum Syndicate Ventures Ltd. */

/* ---------- tokens ---------- */

:root {
  --bg: #f8f5ee;
  --bg-alt: #f0ecdf;
  --card: #fffdf8;
  --ink: #13222b;
  --muted: #47555d;
  --line: #d9d3c3;
  --line-strong: #b5ad98;
  --control: #847c68;
  --accent: #0f4c48;
  --accent-hover: #0a3835;
  --accent-ink: #ffffff;
  --accent-soft: #e1ebe6;
  --gold: #765a12;
  --gold-rule: #b8923f;
  --gold-soft: #f3ead2;
  --focus: #0f4c48;
  --shadow: 0 1px 1px rgba(19, 34, 43, 0.04), 0 10px 30px rgba(19, 34, 43, 0.07);
  --shadow-lift: 0 2px 2px rgba(19, 34, 43, 0.05), 0 24px 60px rgba(19, 34, 43, 0.12);

  /* the deep band and footer keep the house's dark ground in both themes */
  --deep: #0b1820;
  --deep-card: #12232d;
  --deep-ink: #e9eeef;
  --deep-muted: #aebbc1;
  --deep-line: #2a3c47;
  --deep-link: #9cdad0;
  --deep-gold: #dcc081;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 4px;
  --wrap: 74rem;
  --pad: clamp(1.25rem, 0.6rem + 3vw, 2.5rem);
  --section: clamp(3.5rem, 2rem + 6vw, 7rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1319;
    --bg-alt: #0e1a21;
    --card: #12202a;
    --ink: #e9eeef;
    --muted: #aebbc1;
    --line: #25353f;
    --line-strong: #3d515d;
    --control: #647a87;
    --accent: #8ad3c9;
    --accent-hover: #abe2da;
    --accent-ink: #08201e;
    --accent-soft: #15292c;
    --gold: #dcc081;
    --gold-rule: #b8923f;
    --gold-soft: #2a2516;
    --focus: #dcc081;
    --shadow: none;
    --shadow-lift: 0 24px 60px rgba(0, 0, 0, 0.45);
    --deep: #060d12;
    --deep-card: #0e1a21;
  }
}

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

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0 0 0.55em;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 1.35rem + 3.9vw, 4.3rem);
  line-height: 1.06;
  letter-spacing: -0.018em;
}

h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.75rem);
  letter-spacing: -0.012em;
}

h3 {
  font-size: 1.3rem;
  line-height: 1.25;
}

p,
ul,
ol,
dl,
table {
  margin: 0 0 1em;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent-hover);
  text-decoration-thickness: 2px;
}

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

strong {
  font-weight: 650;
}

address {
  font-style: normal;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.wrap-narrow {
  max-width: 50rem;
}

.center {
  text-align: center;
}

.section {
  padding: var(--section) 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-tight {
  padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) 0;
}

.section-head {
  max-width: 48rem;
  margin-bottom: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
}

.kicker,
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.kicker::before,
.eyebrow::before {
  content: "";
  flex: none;
  width: 2rem;
  height: 1px;
  background: var(--gold-rule);
}

.center .kicker {
  justify-content: center;
}

.intro {
  max-width: 44rem;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.6;
}

.center .intro {
  margin-left: auto;
  margin-right: auto;
}

.small {
  color: var(--muted);
  font-size: 0.92rem;
}

.two-col {
  display: grid;
  gap: 3rem;
}

@media (min-width: 56rem) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
  }

  .two-col-wide {
    grid-template-columns: 1.15fr 1fr;
  }
}

.two-col h2 {
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.15rem);
}

/* ---------- skip link ---------- */

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -5rem;
  z-index: 20;
  padding: 0.7rem 1.1rem;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--radius);
  font-weight: 650;
}

.skip-link:focus {
  top: 0.75rem;
  color: var(--accent-ink);
  outline-color: var(--gold-rule);
}

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

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 2rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  flex: none;
  display: block;
}

.mk-bg {
  fill: var(--accent);
}

.mk-line {
  fill: none;
  stroke: var(--accent-ink);
  stroke-width: 2.2;
  stroke-linecap: round;
}

.mk-dot {
  fill: var(--gold-rule);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.brand-by {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.2rem;
  margin: 0 -0.65rem;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: block;
  padding: 0.55rem 0.65rem;
  color: var(--ink);
  font-size: 0.95rem;
  text-decoration: none;
}

.nav-list a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.45em;
}

.nav-list a[aria-current="page"] {
  color: var(--accent);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: var(--gold-rule);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.45em;
}

.nav-list .nav-cta {
  margin-left: 0.6rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--control);
  border-radius: var(--radius);
}

.nav-list .nav-cta:hover,
.nav-list .nav-cta[aria-current="page"] {
  border-color: var(--accent);
  text-decoration: none;
}

.status-strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

.status-strip p {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin: 0 auto;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.status-dot {
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold-rule);
  transform: translateY(-0.05em);
}

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

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0 1rem;
}

.center .actions {
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.5rem;
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0.005em;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--accent-ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--control);
}

.btn-ghost:hover {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.arrow-link {
  font-weight: 650;
  text-decoration-color: var(--gold-rule);
  text-underline-offset: 0.35em;
}

.arrow-link::after {
  content: "\00a0\2192";
}

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

.hero {
  padding: clamp(3rem, 1.5rem + 6vw, 6.5rem) 0 clamp(3rem, 2rem + 4vw, 5.5rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 62rem) {
  .hero-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
  }
}

.hero h1 .accent {
  color: var(--gold);
  font-style: italic;
}

.lede {
  max-width: 40rem;
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
  line-height: 1.55;
}

.lede-note {
  max-width: 40rem;
  padding-left: 1.1rem;
  border-left: 1px solid var(--gold-rule);
  color: var(--muted);
}

/* the staged list, presented as a sheet of paper */

.sheet {
  position: relative;
  max-width: 28rem;
  margin: 0 auto;
  padding: 1.9rem 1.8rem 1.6rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
}

.sheet::before,
.sheet::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.sheet::before {
  transform: rotate(-2.2deg) translate(-0.5rem, 0.5rem);
}

.sheet::after {
  transform: rotate(1.6deg) translate(0.55rem, 0.35rem);
}

.hero-aside {
  position: relative;
  z-index: 0;
  padding: 0.75rem;
}

.illus-tag {
  display: inline-block;
  margin: 0 0 1.1rem;
  padding: 0.2rem 0.65rem;
  background: var(--gold-soft);
  border: 1px solid var(--gold-rule);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.sheet-title {
  margin-bottom: 0.9rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.2;
}

.stage-list {
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
}

.stage-list li {
  display: grid;
  grid-template-columns: 0.6rem 1fr;
  gap: 0 0.9rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.stage-list li::before {
  content: "";
  grid-row: 1 / span 2;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45rem;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
}

.stage-list li:first-child::before {
  background: var(--accent);
}

.stage-when {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stage-what {
  grid-column: 2;
  line-height: 1.45;
}

.sheet-foot {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* facts under the hero */

.factbar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: clamp(3rem, 2rem + 4vw, 5rem) 0 0;
  border-top: 1px solid var(--line);
}

.factbar > div {
  padding: 1.4rem 1rem 0 0;
}

.factbar dt {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.7rem);
  line-height: 1.1;
}

.factbar dd {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

@media (min-width: 52rem) {
  .factbar {
    grid-template-columns: repeat(4, 1fr);
  }

  .factbar > div {
    padding-right: 2rem;
  }
}

/* ---------- ruled grids ---------- */

.ruled {
  display: grid;
  gap: 0 clamp(2rem, 4vw, 4rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ruled > li {
  padding: 1.6rem 0 1.4rem;
  border-top: 1px solid var(--line-strong);
}

.ruled h3 {
  margin-bottom: 0.5rem;
}

.ruled p {
  color: var(--muted);
}

.ruled p:last-child {
  margin-bottom: 0;
}

.num {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  letter-spacing: 0.04em;
}

@media (min-width: 42rem) {
  .ruled {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .ruled-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* problem statement */

.statement {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 1.15rem + 1.2vw, 2rem);
  line-height: 1.35;
  text-wrap: balance;
}

/* ---------- cards ---------- */

.cards {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 42rem) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  display: flex;
  flex-direction: column;
  padding: 1.7rem 1.6rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.card-meta {
  margin-bottom: 0.7rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card .card-link {
  margin-top: auto;
  padding-top: 0.6rem;
}

.after-cards {
  max-width: 48rem;
  margin: 2rem 0 0;
}

/* pricing */

.price-label {
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-figure {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 1.6rem + 1vw, 2.4rem);
  line-height: 1.15;
}

.price-unit {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.tag {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.1rem 0.55rem;
  background: var(--gold-soft);
  border: 1px solid var(--gold-rule);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  vertical-align: middle;
}

/* ---------- product preview ---------- */

.preview {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}

.pv-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.9rem 1.4rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}

.pv-bar p {
  margin: 0;
}

.pv-doc {
  font-weight: 650;
}

.chip {
  display: inline-block;
  padding: 0.15rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.chip-draft {
  background: var(--gold-soft);
  border-color: var(--gold-rule);
  color: var(--ink);
}

.pv-grid {
  display: grid;
}

.pv-panel {
  padding: 1.6rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

.pv-h {
  margin-bottom: 0.9rem;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pv-big {
  margin: 0 0 0.2rem;
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1.15;
}

.pv-cap {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.pv-chart {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 0.8rem;
}

.pv-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.25rem;
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
}

.pv-legend li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.key {
  flex: none;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 2px;
}

.key-avail {
  background: var(--accent);
}

.key-held {
  background: var(--bg-alt);
  border: 1px solid var(--line-strong);
}

.pv-foot {
  margin: 0;
  padding: 0.9rem 1.5rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.pv-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pv-list li {
  display: grid;
  gap: 0.15rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  line-height: 1.45;
}

.pv-list li:first-child {
  border-top: 0;
  padding-top: 0;
}


.pv-sign {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  margin: 1.1rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (min-width: 60rem) {
  .pv-grid {
    grid-template-columns: 1.15fr 1fr 1fr;
  }

  .pv-panel {
    border-right: 1px solid var(--line);
  }

  .pv-panel-main {
    grid-row: span 2;
  }

  .pv-panel:nth-child(3),
  .pv-panel:nth-child(5) {
    border-right: 0;
  }
}

@media (min-width: 40rem) and (max-width: 59.99rem) {
  .pv-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pv-panel-main {
    grid-column: span 2;
  }

  .pv-panel:nth-child(even) {
    border-right: 1px solid var(--line);
  }
}

.c-avail {
  fill: var(--accent);
}

.c-held {
  fill: var(--bg-alt);
  stroke: var(--line-strong);
  stroke-width: 1;
}

.c-bar {
  fill: var(--accent);
}

.c-bar-soft {
  fill: var(--accent-soft);
  stroke: var(--line-strong);
  stroke-width: 0.75;
}

.c-band {
  fill: var(--accent-soft);
}

.c-band-2 {
  fill: var(--accent);
  opacity: 0.28;
}

.c-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
}

.c-axis {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1;
}

.c-goal {
  fill: none;
  stroke: var(--gold-rule);
  stroke-width: 2;
  stroke-dasharray: 6 3;
}

/* ---------- law-kept-current diagram ---------- */

.lawflow {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: lf;
}

.lawflow > li {
  position: relative;
  padding: 0 0 1.9rem 4.25rem;
  counter-increment: lf;
}

.lawflow > li::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 3.2rem;
  bottom: 0.2rem;
  width: 1px;
  background: var(--line-strong);
}

.lawflow > li:last-child {
  padding-bottom: 0;
}

.lawflow > li:last-child::before {
  display: none;
}

.lf-icon {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--accent);
}

.lf-icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.ic {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lf-step {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lf-step::after {
  content: " " counter(lf);
}

.lawflow h3 {
  margin-bottom: 0.3rem;
  font-size: 1.2rem;
}

.lawflow p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.lf-pending .lf-icon {
  border-style: dashed;
  color: var(--gold);
}

.lf-state {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.1rem 0.6rem;
  background: var(--gold-soft);
  border: 1px solid var(--gold-rule);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 650;
}

@media (min-width: 66rem) {
  .lawflow {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
  }

  .lawflow > li {
    padding: 4.2rem 0 0;
  }

  .lawflow > li::before {
    left: 3.6rem;
    right: -1.1rem;
    top: 1.5rem;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .lawflow > li::after {
    content: "";
    position: absolute;
    right: -1.1rem;
    top: calc(1.5rem - 3.5px);
    width: 7px;
    height: 7px;
    border-top: 1px solid var(--line-strong);
    border-right: 1px solid var(--line-strong);
    transform: rotate(45deg);
  }

  .lawflow > li:last-child::after {
    display: none;
  }
}

.law-note {
  display: grid;
  gap: 1.25rem 3rem;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.law-note p {
  margin: 0;
}

.law-note .callout {
  margin: 0;
  padding-bottom: 1.5rem;
}

.ruled + .section-head {
  margin-top: var(--section);
}

@media (min-width: 56rem) {
  .law-note {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* ---------- lists ---------- */

.plain-list,
.ticks,
.prose ul {
  padding-left: 1.2rem;
}

.plain-list li,
.ticks li,
.prose li,
.numbered li {
  margin-bottom: 0.6rem;
}

.plain-list li::marker,
.prose ul li::marker {
  color: var(--gold-rule);
}

.ticks {
  padding-left: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  padding-left: 1.9rem;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.5em;
  width: 0.8rem;
  height: 0.42rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.numbered {
  padding-left: 1.4rem;
}

.numbered li {
  padding-left: 0.4rem;
  margin-bottom: 0.95rem;
}

.numbered li::marker {
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 600;
}

/* facts panel */

.fact-panel {
  align-self: start;
  padding: 0.4rem 1.6rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.facts {
  margin: 0;
}

.facts > div {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.facts > div:last-child {
  border-bottom: 0;
}

.facts dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0.15rem 0 0;
  font-family: var(--serif);
  font-size: 1.15rem;
}

/* status ledger */

.ledger {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--line-strong);
  font-size: 1rem;
}

.ledger caption {
  padding-bottom: 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: left;
}

.ledger th,
.ledger td {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.ledger thead th {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ledger tbody th {
  padding-right: 1.25rem;
  font-weight: 400;
}

.ledger td {
  width: 11.5rem;
}

.state {
  display: inline-block;
  padding: 0.12rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 650;
  white-space: nowrap;
}

.state-yes {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--ink);
}

.state-no {
  background: var(--gold-soft);
  border-color: var(--gold-rule);
  border-style: dashed;
  color: var(--ink);
}

@media (max-width: 34rem) {
  .ledger td {
    width: 7.5rem;
  }

  .state {
    white-space: normal;
  }
}

/* callouts */

.callout {
  margin-bottom: 1.25rem;
  padding: 1.5rem 1.6rem 0.6rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold-rule);
  border-radius: var(--radius);
}

.callout h3,
.callout h2 {
  margin-bottom: 0.5rem;
}

.callout h2 {
  font-size: 1.6rem;
}

.callout-strong {
  padding: 2rem 2rem 1rem;
  box-shadow: var(--shadow);
}

/* Q and A */

.qa {
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.qa > div {
  display: grid;
  gap: 0.5rem 3rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}

.qa dt {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.3;
}

.qa dd {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 56rem) {
  .qa > div {
    grid-template-columns: 1fr 1.6fr;
  }
}

/* ---------- page head ---------- */

.page-head {
  padding: clamp(3rem, 1.5rem + 5vw, 5.5rem) 0 clamp(2.5rem, 1.5rem + 3vw, 4rem);
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  max-width: 20ch;
  font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem);
}

.page-head .lede {
  max-width: 44rem;
  margin-bottom: 0;
  color: var(--muted);
}

.page-head .small {
  margin: 1.2rem 0 0;
}

/* ---------- how it works ---------- */

.flow-grid {
  display: grid;
  gap: 3rem;
}

.flow-figure {
  width: 100%;
  max-width: 22rem;
  margin: 0 auto;
}

@media (min-width: 60rem) {
  .flow-grid {
    grid-template-columns: 22rem 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }

  .flow-figure {
    position: sticky;
    top: 2rem;
  }
}

.flow {
  display: block;
  width: 100%;
  height: auto;
}

.d-box {
  fill: var(--card);
  stroke: var(--line-strong);
  stroke-width: 1;
}

.d-box-final {
  fill: var(--accent);
  stroke: var(--accent);
}

.d-num {
  fill: var(--gold);
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
}

.d-label {
  fill: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
}

.d-sub {
  fill: var(--muted);
  font-family: var(--sans);
  font-size: 11.5px;
}

.d-num.d-on-final,
.d-label.d-on-final,
.d-sub.d-on-final {
  fill: var(--accent-ink);
}

.d-rule {
  stroke: var(--line);
  stroke-width: 1;
}

.d-rule.d-on-final {
  stroke: var(--accent-ink);
  opacity: 0.4;
}

.d-arrow {
  fill: none;
  stroke: var(--gold-rule);
  stroke-width: 1.25;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps > li {
  padding: 1.75rem 0 1rem;
  border-top: 1px solid var(--line-strong);
  counter-increment: step;
}

.steps > li:first-child {
  padding-top: 0;
  border-top: 0;
}

.steps h2 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem);
}

.steps h2::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.5rem;
  color: var(--gold);
  font-size: 1rem;
  font-style: italic;
  letter-spacing: 0.04em;
}

/* ---------- use cases ---------- */

.case {
  padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) 0;
  border-top: 1px solid var(--line-strong);
}

.case:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.case-head {
  max-width: 50rem;
  margin-bottom: 2rem;
}

.case-head h2 {
  margin-bottom: 0.8rem;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.9rem;
  margin-bottom: 1.1rem;
}

.case-meta .num,
.case-meta .illus-tag {
  margin: 0;
}

.case-where {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-grid {
  display: grid;
  gap: 2rem clamp(2rem, 4vw, 4rem);
}

.case-grid h3 {
  margin-bottom: 0.8rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (min-width: 60rem) {
  .case-grid {
    grid-template-columns: 1fr 1fr 1.25fr;
  }
}

.case-figures {
  margin: 2.25rem 0 0;
  padding: 1.5rem 1.6rem 1.3rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.case-figures-note {
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.figs {
  display: grid;
  gap: 1.3rem 2rem;
  margin: 0;
}

.figs dt {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.figs dd {
  margin: 0.15rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  line-height: 1.2;
}

@media (min-width: 30rem) {
  .figs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 52rem) {
  .figs {
    grid-template-columns: repeat(4, 1fr);
  }
}

.case-trap {
  margin: 1.5rem 0 0;
  padding: 1.3rem 1.6rem;
  background: var(--gold-soft);
  border: 1px solid var(--gold-rule);
  border-radius: var(--radius);
}

.case-trap h3 {
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
}

.case-trap p {
  margin: 0;
}

.buyer-label {
  margin-bottom: 0.9rem;
}

/* ---------- prose (privacy) ---------- */

.prose h2 {
  margin-top: 3rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line-strong);
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem);
}

.prose h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.prose h3 {
  margin-top: 2rem;
}

.detail-list {
  margin: 1.25rem 0 1.5rem;
  border-top: 1px solid var(--line);
}

.detail-list > div {
  display: grid;
  gap: 0.1rem 2rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.detail-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 0.25rem;
}

.detail-list dd {
  margin: 0;
}

@media (min-width: 40rem) {
  .detail-list > div {
    grid-template-columns: 12rem 1fr;
  }
}

/* ---------- contact ---------- */

.contact-card {
  padding: 2.2rem clamp(1.25rem, 5vw, 2rem) 1.6rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-name {
  margin-bottom: 0.1rem;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1rem + 2vw, 1.7rem);
  line-height: 1.2;
}

.contact-role {
  color: var(--muted);
}

.contact-email {
  font-size: 1.05rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

/* ---------- deep band (call to action) and footer ---------- */

.deep,
.site-footer {
  --ink: var(--deep-ink);
  --muted: var(--deep-muted);
  --line: var(--deep-line);
  --line-strong: var(--deep-line);
  --accent: var(--deep-link);
  --accent-hover: #c4ebe5;
  --gold: var(--deep-gold);
  --focus: var(--deep-gold);
  background: var(--deep);
  color: var(--deep-ink);
}

.deep {
  padding: var(--section) 0;
}

.deep .intro {
  color: var(--deep-muted);
}

.deep .btn {
  background: var(--deep-gold);
  border-color: var(--deep-gold);
  color: #1a1406;
}

.deep .btn:hover {
  background: #ead29b;
  border-color: #ead29b;
  color: #1a1406;
}

.deep .btn-ghost {
  background: transparent;
  border-color: #647a87;
  color: var(--deep-ink);
}

.deep .btn-ghost:hover {
  background: transparent;
  border-color: var(--deep-gold);
  color: var(--deep-ink);
}

.gentle {
  padding: clamp(2.5rem, 1.5rem + 3vw, 4rem) 0;
  background: var(--accent-soft);
  border-top: 1px solid var(--line);
}

.gentle h2 {
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem);
}

.gentle p:last-child {
  margin-bottom: 0;
}

.site-footer {
  padding: clamp(3rem, 2rem + 3vw, 4.5rem) 0 2.25rem;
  border-top: 1px solid var(--deep-line);
  font-size: 0.94rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 40rem) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-about {
    grid-column: span 2;
  }
}

@media (min-width: 64rem) {
  .footer-grid {
    grid-template-columns: 1.5fr 0.8fr 1.3fr;
    gap: 4rem;
  }

  .footer-about {
    grid-column: auto;
  }
}

.footer-brand {
  margin-bottom: 0.5rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.2;
}

.footer-about p {
  max-width: 28rem;
  color: var(--deep-muted);
}

.footer-h {
  margin-bottom: 0.9rem;
  color: var(--deep-gold);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-block;
  padding: 0.28rem 0;
  color: var(--deep-ink);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--deep-link);
  text-decoration: underline;
}

.footer-co p,
.footer-co address {
  margin-bottom: 0.7rem;
  color: var(--deep-muted);
}

.footer-co strong {
  color: var(--deep-ink);
}

.footer-co a {
  overflow-wrap: anywhere;
}

.footer-legal {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--deep-line);
  color: var(--deep-muted);
  font-size: 0.88rem;
}

.footer-legal p {
  max-width: 62rem;
}

.footer-legal strong {
  color: var(--deep-ink);
}

.footer-base {
  margin: 1.5rem 0 0;
  font-size: 0.82rem;
}

/* ---------- 404 ---------- */

.notfound {
  min-height: 55vh;
  border-bottom: 0;
}

.notfound .plain-list {
  margin-top: 2rem;
}

/* ---------- motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  a,
  .btn,
  .nav-cta,
  .card {
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease,
      box-shadow 0.25s ease, transform 0.25s ease;
  }

  .btn:hover {
    transform: translateY(-1px);
  }

  .card-hover:hover {
    box-shadow: var(--shadow-lift);
    transform: translateY(-2px);
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(14px);
    }

    to {
      opacity: 1;
      transform: none;
    }
  }

  .hero-copy > * {
    animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .hero-copy > :nth-child(2) {
    animation-delay: 0.08s;
  }

  .hero-copy > :nth-child(3) {
    animation-delay: 0.16s;
  }

  .hero-copy > :nth-child(4) {
    animation-delay: 0.24s;
  }

  .hero-copy > :nth-child(5) {
    animation-delay: 0.32s;
  }

  .hero-aside {
    animation: rise 1s 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
}

/* ---------- print ---------- */

@media print {
  .site-header nav,
  .skip-link,
  .actions {
    display: none;
  }

  .deep,
  .site-footer {
    background: none;
    color: #000;
  }
}
