/* teslagini.com - shared stylesheet
   Mobile-first. Breakpoints: 480 / 768 / 1024.
   Light theme only. Manrope at two weights (400, 800). */

:root {
  color-scheme: only light;
  --bg: #FAF6F0;
  --surface: #EFE4D4;
  --ink: #2B2118;
  --muted: #7A6A5A;
  --accent: #C2552B;
  --accent-ink: #FFFFFF;
  --error: #9E3F1B;
  --radius: 6px;
  --pad: 16px;
  --col: 680px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: 180ms ease;
}

@media (min-width: 768px) {
  :root { --pad: 32px; }
}

/* ---------- reset (self-contained, so the page is identical with or without the CDN) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body, h1, h2, h3, h4, p, ul, ol, li, figure, figcaption, blockquote, dl, dd, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }

body.magazine {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(1.0625rem, 1.02rem + 0.2vw, 1.15rem);
  line-height: 1.72;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
body.magazine > main { flex: 1 0 auto; }
strong, b { font-weight: 800; }

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

.shell {
  width: 100%;
  max-width: calc(1040px + 2 * var(--pad));
  margin-inline: auto;
  padding-inline: var(--pad);
}

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

/* inline links: 2px accent underline, 4px offset */
.article a:not(.btn),
.legal a:not(.btn),
.colophon a,
.intake-card a:not(.btn),
.intake-side a:not(.btn) {
  text-decoration-line: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: text-decoration-color var(--ease), color var(--ease);
}
.article a:not(.btn):hover,
.legal a:not(.btn):hover,
.intake-card a:not(.btn):hover,
.intake-side a:not(.btn):hover { text-decoration-color: var(--ink); }

/* ---------- masthead: boxed, label in the corner, nav right-aligned beneath ---------- */
.masthead { padding-top: 16px; }
.mast-box {
  position: relative;
  display: flex;
  align-items: center;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background-color: var(--bg);
  padding: 24px 16px 18px;
}
.mast-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}
.mast-mark { width: 40px; height: 40px; flex: none; }
.mast-word {
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.wm-bold { font-weight: 800; }
.wm-light { font-weight: 400; font-style: italic; }
.wm-tld {
  font-weight: 400;
  font-size: 0.42em;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 0.35em;
  vertical-align: 0.15em;
}
.mast-label {
  position: absolute;
  top: 0;
  right: 14px;
  transform: translateY(-50%);
  background-color: var(--bg);
  color: var(--muted);
  padding: 0 8px;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.mast-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0 2px;
  margin-top: 6px;
}
.mast-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color var(--ease), color var(--ease);
}
.mast-nav a:hover { border-bottom-color: var(--accent); }
.mast-nav a[aria-current="page"] { border-bottom-color: var(--accent); }

@media (min-width: 768px) {
  .masthead { padding-top: 24px; }
  .mast-box { padding: 30px 28px 24px; }
  .mast-label { right: 24px; }
  .mast-mark { width: 48px; height: 48px; }
}

/* ---------- hero: title and dek on the lower left of the first image ---------- */
.hero { margin-top: 12px; }
.hero-media {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 35rem;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--ink);
  color: var(--accent-ink);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 90%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(24, 15, 8, 0.97) 0%,
    rgba(24, 15, 8, 0.92) 48%,
    rgba(24, 15, 8, 0.5) 74%,
    rgba(24, 15, 8, 0) 100%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 44rem;
  padding: 24px 20px 28px;
}
.kicker {
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero-copy .kicker { margin-bottom: 12px; }
.hero h1, .legal h1 {
  font-weight: 800;
  font-size: clamp(1.75rem, 1.25rem + 2.4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.hero h1 { color: var(--accent-ink); text-wrap: balance; }
.dek {
  margin-top: 16px;
  font-size: clamp(1rem, 0.95rem + 0.38vw, 1.25rem);
  line-height: 1.5;
  color: var(--accent-ink);
  max-width: 38rem;
}

@media (min-width: 480px) {
  .hero-media { min-height: 0; aspect-ratio: 4 / 3.7; }
  .hero-copy { padding: 32px 28px 32px; }
}
@media (min-width: 768px) {
  .hero-media { aspect-ratio: 16 / 9; }
  .hero-copy { padding: 40px 44px 44px; }
}
@media (min-width: 1024px) {
  .hero-media { aspect-ratio: 2 / 1; }
  .hero-copy { padding: 48px 56px 52px; }
  .hero-img { object-position: 50% 100%; }
}

/* ---------- article canvas ---------- */
.article {
  display: grid;
  grid-template-columns: [full-start wide-start text-start] minmax(0, 1fr) [text-end wide-end full-end];
  margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  padding-bottom: clamp(4rem, 3rem + 4vw, 7rem);
}
@media (min-width: 768px) {
  .article {
    grid-template-columns:
      [full-start wide-start] minmax(0, 1fr)
      [text-start] minmax(0, var(--col))
      [text-end] minmax(0, 1fr) [wide-end full-end];
  }
}
@media (min-width: 1024px) {
  .article {
    grid-template-columns:
      [full-start] minmax(0, 1fr)
      [wide-start] minmax(0, 140px)
      [text-start] minmax(0, var(--col))
      [text-end] minmax(0, 140px)
      [wide-end] minmax(0, 1fr) [full-end];
  }
}
.article > * { grid-column: text-start / text-end; min-width: 0; }
.article > :first-child { margin-top: 0; }
.article p { margin-top: 1.2rem; }
.article .lede {
  font-size: clamp(1.1875rem, 1.1rem + 0.45vw, 1.375rem);
  line-height: 1.6;
}
.article h2 {
  margin-top: clamp(3.5rem, 2.6rem + 3.6vw, 6rem);
  font-weight: 800;
  font-size: clamp(1.45rem, 1.15rem + 1.3vw, 2.125rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.article h2 + p { margin-top: 1.1rem; }
.article .aside-title, .article .cta-title { margin-top: 0; }
.article h3 {
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

/* figures: offset, wide or inset; 6px corners, no shadow */
.fig { margin-top: clamp(2.25rem, 1.8rem + 2vw, 3.5rem); }
.fig + p, .fig + .qa { margin-top: clamp(2.25rem, 1.8rem + 2vw, 3.25rem); }
.fig + h2 { margin-top: clamp(3rem, 2.4rem + 3vw, 5rem); }
.fig-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--surface);
}
.fig-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.ratio-32 { aspect-ratio: 3 / 2; }
.ratio-169 { aspect-ratio: 16 / 9; }
.ratio-video { aspect-ratio: 1200 / 630; }
.fig-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pos-a img { object-position: 62% 40%; }
.pos-b img { object-position: 40% 35%; }
.pos-c img { object-position: 58% 38%; }
.pos-d img { object-position: 30% 38%; }
.fig figcaption {
  margin-top: 10px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}
@media (min-width: 768px) {
  .fig--wide { grid-column: wide-start / wide-end; }
  .fig--offset { grid-column: text-start / wide-end; }
  .fig--inset .fig-media,
  .fig--inset figcaption { width: 78%; margin-left: auto; }
  .fig--inset figcaption { margin-top: 10px; }
  .fig--inset-left .fig-media,
  .fig--inset-left figcaption { width: 78%; margin-right: auto; }
  .fig--inset-left figcaption { margin-top: 10px; }
}

/* compact tinted aside (one on the page) */
.aside-card {
  margin-top: 2rem;
  padding: 22px 22px 24px;
  border-radius: var(--radius);
  background-color: var(--surface);
  color: var(--ink);
}
.aside-title {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.aside-card ul { margin-top: 12px; }
.aside-card li {
  position: relative;
  padding-left: 22px;
  margin-top: 6px;
  line-height: 1.55;
}
.aside-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 9px;
  height: 9px;
  background-color: var(--accent);
  border-radius: 2px;
}
@media (min-width: 768px) {
  .aside-card { padding: 26px 30px 28px; }
}

/* question-and-answer blocks */
.qa { margin-top: 2.25rem; }
.article h2 + .qa { margin-top: 1.75rem; }
.qa + .qa { margin-top: 2rem; }
.qa h3 + p { margin-top: 0.5rem; }

/* CTA: bordered card, one-line heading, one sentence, the button */
.cta-card {
  margin-top: clamp(2.75rem, 2.2rem + 2.4vw, 4rem);
  padding: 24px 20px 26px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background-color: var(--bg);
  color: var(--ink);
}
.article .cta-card + h2 { margin-top: clamp(3.5rem, 2.6rem + 3.6vw, 6rem); }
.cta-title {
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.article .cta-text { margin-top: 8px; line-height: 1.6; }
.cta-row { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 52px;
  padding: 13px 20px;
  background-color: var(--accent);
  color: var(--accent-ink);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
  transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}
.btn:hover { background-color: var(--ink); border-color: var(--ink); color: var(--accent-ink); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn-icon { width: 12px; height: 12px; flex: none; transition: transform var(--ease); }
.btn:hover .btn-icon { transform: translateX(3px); }
@media (min-width: 480px) {
  .btn { width: auto; }
  .cta-card { padding: 28px 28px 30px; }
}
@media (min-width: 768px) {
  .cta-card { padding: 32px 36px 34px; }
}

/* ---------- footer ---------- */
.colophon {
  background-color: var(--ink);
  color: var(--surface);
  padding: clamp(2.5rem, 2rem + 3vw, 4rem) 0 clamp(2rem, 1.6rem + 2vw, 3rem);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.colophon-grid { display: grid; gap: 28px; }
.colophon .publisher { color: var(--surface); }
.colophon .links ul { display: grid; gap: 0; }
.colophon .links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--surface);
  font-weight: 800;
}
.colophon .links a:hover { color: var(--accent-ink); text-decoration-color: var(--surface); }
.colophon :focus-visible { outline-color: var(--surface); }
.colophon .publisher_note {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(239, 228, 212, 0.3);
  color: var(--surface);
  max-width: 62rem;
}
@media (min-width: 480px) {
  .colophon .links ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
}
@media (min-width: 768px) {
  .colophon-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: start; }
}

/* ---------- legal and about pages ---------- */
.legal { padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) 0 clamp(4rem, 3rem + 4vw, 7rem); }
.legal-col { max-width: var(--col); margin-inline: auto; }
.legal h1 { margin-top: 12px; }
.dateline {
  margin-top: 16px;
  font-size: 0.9375rem;
  color: var(--muted);
}
.legal .intro { margin-top: 28px; font-size: 1.1875rem; line-height: 1.6; }
.clause { margin-top: clamp(2.25rem, 1.8rem + 2vw, 3.25rem); }
.clause h2 {
  font-weight: 800;
  font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.625rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.clause p, .clause ul { margin-top: 0.8rem; }
.clause p + p { margin-top: 0.9rem; }
.clause ul li, .principles li {
  position: relative;
  padding-left: 22px;
  margin-top: 8px;
}
.clause ul li::before, .principles li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.66em;
  width: 9px;
  height: 9px;
  background-color: var(--accent);
  border-radius: 2px;
}
.principles { margin-top: 28px; }
.principles li { margin-top: 12px; font-weight: 800; }
.legal .closing { margin-top: 28px; }
.legal address { font-style: normal; margin-top: 0.8rem; }

/* =====================================================================
   OFFER PAGE - body.intake-flow (its own identity: ink bar, sand ground,
   pill chips, rounded form card, side summary)
   ===================================================================== */
body.intake-flow {
  background-color: var(--surface);
  color: var(--ink);
  font-size: 1.0625rem;
}
.intake-top { background-color: var(--ink); color: var(--surface); }
.intake-top .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
}
.intake-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--accent-ink);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.intake-brand img { width: 34px; height: 34px; }
.intake-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--surface);
  font-size: 0.9375rem;
  font-weight: 800;
  text-decoration-line: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.intake-back:hover { color: var(--accent-ink); }
.intake-top :focus-visible { outline-color: var(--surface); }

.intake-hero { padding: clamp(2rem, 1.4rem + 3vw, 4rem) 0 clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.intake-hero .kicker { color: var(--ink); }
.intake-hero h1 {
  margin-top: 10px;
  max-width: 22ch;
  font-weight: 800;
  font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.intake-hero .intake-lead {
  margin-top: 16px;
  max-width: 40rem;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.6;
}

.intake-layout {
  display: grid;
  gap: 24px;
  padding-bottom: clamp(3rem, 2rem + 4vw, 6rem);
}
.intake-layout > * { min-width: 0; }
.intake-card {
  background-color: var(--bg);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  padding: 24px 18px 28px;
}
.intake-card fieldset { border: 0; min-width: 0; }
.fs + .fs { margin-top: 36px; }
.fs-title {
  display: block;
  width: 100%;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--ink);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.fs-hint { margin-top: 12px; font-size: 0.9375rem; line-height: 1.55; color: var(--muted); }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.chip { position: relative; display: inline-flex; }
.chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 8px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background-color: var(--bg);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 800;
  line-height: 1.2;
  transition: background-color var(--ease), color var(--ease), border-color var(--ease);
}
.chip:hover span { background-color: var(--surface); }
.chip input:checked + span {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }

.range-field { margin-top: 24px; }
.range-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.range-head label { font-weight: 800; line-height: 1.35; }
.range-out {
  flex: none;
  max-width: 55%;
  text-align: right;
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--accent);
  background-color: transparent;
}
.range-out { color: var(--error); }
.range {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 44px;
  margin: 6px 0 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.range::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background-color: var(--surface);
  border: 1.5px solid var(--ink);
}
.range::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background-color: var(--surface);
  border: 1.5px solid var(--ink);
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  margin-top: -11px;
  border-radius: 50%;
  background-color: var(--accent);
  border: 3px solid var(--bg);
  outline: 1.5px solid var(--ink);
}
.range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--accent);
  border: 3px solid var(--bg);
  outline: 1.5px solid var(--ink);
}
.range:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.range-ends {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--muted);
}

.field { margin-top: 20px; }
.field label, .field .label {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
  line-height: 1.35;
}
.field .opt { font-weight: 400; color: var(--muted); }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  background-color: var(--bg);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  font-size: 1rem;
  line-height: 1.3;
  transition: border-color var(--ease), background-color var(--ease);
}
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%232B2118' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px 14px;
}
.field input:hover, .field select:hover { background-color: #FFFFFF; }
.field input:focus-visible, .field select:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  border-color: var(--accent);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field-error {
  min-height: 0;
  margin-top: 6px;
  font-size: 0.9375rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--error);
}
.field-error:empty { display: none; }
.field-grid { display: grid; gap: 0; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  font-size: 0.9375rem;
  line-height: 1.55;
}
.consent input {
  flex: none;
  width: 24px;
  height: 24px;
  margin: 2px 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.consent label { cursor: pointer; }
.consent-wrap { margin-top: 0; }

.form-actions { margin-top: 28px; }
.form-actions .btn { width: 100%; justify-content: center; text-align: center; }
.form-actions .btn .btn-icon { margin-left: 2px; }
.form-error-summary {
  margin-top: 20px;
  font-weight: 800;
  color: var(--error);
}
.form-error-summary:empty { display: none; }
.form-success {
  margin-top: 0;
  padding: 24px 22px;
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  background-color: var(--surface);
  color: var(--ink);
}
.form-success[hidden] { display: none; }
.form-success h2 { font-size: 1.375rem; font-weight: 800; line-height: 1.25; letter-spacing: -0.015em; }
.form-success p { margin-top: 10px; }

.intake-side { display: grid; gap: 20px; align-content: start; }
.side-card {
  border-radius: 16px;
  padding: 22px 20px 24px;
  background-color: var(--ink);
  color: var(--surface);
}
.side-card--plain {
  background-color: var(--bg);
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.side-title {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--surface);
}
.side-card--plain .side-title { color: var(--ink); }
.summary-list { margin-top: 14px; display: grid; gap: 10px; }
.summary-list dt {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--surface);
}
.summary-list dd { margin-top: 2px; color: var(--accent-ink); line-height: 1.45; }
.next-list { margin-top: 14px; }
.next-list li {
  position: relative;
  padding-left: 22px;
  margin-top: 10px;
  line-height: 1.55;
}
.next-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--accent);
}

@media (min-width: 480px) {
  .intake-card { padding: 28px 26px 32px; }
  .form-actions .btn { width: auto; min-width: 18rem; }
  .field-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
}
@media (min-width: 768px) {
  .intake-card { padding: 36px 40px 40px; }
}
@media (min-width: 1024px) {
  .intake-layout { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 32px; align-items: start; }
  .intake-side { position: sticky; top: 24px; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
