:root {
  color-scheme: light;
  --ink: #0b0b0f;
  --muted: #666a73;
  --paper: #f5f5f7;
  --surface: #ffffff;
  --surface-soft: #fbfbfd;
  --line: #d7d7dc;
  --deep: #050506;
  --deep-soft: #111114;
  --teal: #8a2637;
  --teal-dark: #631929;
  --amber: #b7791f;
  --red: #b7351c;
  --action: #8a2637;
  --action-dark: #631929;
  --action-border: rgb(138 38 55 / 20%);
  --action-shadow: 0 10px 22px rgb(138 38 55 / 24%);
  --shadow: 0 34px 90px rgb(0 0 0 / 16%);
  --soft-shadow: 0 18px 48px rgb(0 0 0 / 8%);
  --max: 1200px;
  --radius: 8px;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

main :is(section, div)[id] {
  scroll-margin-top: 84px;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  max-width: 100%;
}

main {
  min-width: 0;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.04;
  overflow-wrap: break-word;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.8rem, 8vw, 7.6rem);
  font-weight: 760;
  max-width: 11ch;
}

h2 {
  font-size: clamp(2.45rem, 5.5vw, 5.9rem);
  font-weight: 740;
  line-height: 1.05;
}

h3 {
  font-size: 1.18rem;
  font-weight: 740;
  line-height: 1.14;
}

p {
  color: var(--muted);
  line-height: 1.5;
  overflow-wrap: break-word;
}

p + p {
  margin-top: 0.9rem;
}

ul,
ol {
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.45rem;
}

.skip-link {
  background: var(--amber);
  color: var(--ink);
  left: 1rem;
  padding: 0.75rem 1rem;
  position: fixed;
  top: 1rem;
  transform: translateY(-160%);
  z-index: 20;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  align-items: center;
  background: rgb(245 245 247 / 78%);
  border-bottom: 1px solid rgb(0 0 0 / 8%);
  display: grid;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  grid-template-columns: minmax(160px, auto) minmax(0, 1fr) auto;
  min-height: 64px;
  padding: 0.55rem clamp(1rem, 4vw, 2rem);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(20px) saturate(180%);
  max-width: 100vw;
  overflow: hidden;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 0.58rem;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgb(0 0 0 / 8%);
  border-radius: 50%;
  box-shadow: 0 1px 10px rgb(0 0 0 / 8%);
  display: inline-flex;
  height: 2rem;
  justify-content: center;
  padding: 0.34rem;
  width: 2rem;
}

.brand-mark img {
  height: 100%;
  width: 100%;
}

.brand-text {
  font-size: 0.96rem;
  font-weight: 650;
  white-space: nowrap;
}

.site-nav,
.header-actions,
.button-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.site-header > * {
  min-width: 0;
}

.site-nav {
  justify-content: center;
  min-width: 0;
}

.nav-link {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 560;
  padding: 0.4rem 0.52rem;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  background: rgb(255 255 255 / 76%);
  color: var(--ink);
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 680;
  justify-content: center;
  line-height: 1.14;
  min-height: 2.55rem;
  padding: 0.68rem 1.08rem;
  text-decoration: none;
  max-width: 100%;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.site-header .button {
  white-space: nowrap;
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--action);
  color: #ffffff;
  box-shadow: var(--action-shadow);
}

.button-primary:hover,
.button-primary:focus {
  background: var(--action-dark);
}

.button-secondary {
  background: rgb(255 255 255 / 86%);
  border-color: var(--line);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus {
  border-color: var(--ink);
}

.button-ghost {
  color: var(--ink);
  padding-inline: 0;
}

.is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.hero {
  background-image:
    linear-gradient(
      90deg,
      rgb(5 5 6 / 98%) 0%,
      rgb(5 5 6 / 88%) 42%,
      rgb(5 5 6 / 44%) 100%
    ),
    var(--hero-image);
  background-color: var(--deep);
  background-position:
    center,
    right -2rem center;
  background-repeat: no-repeat;
  background-size:
    auto,
    min(34vw, 460px) auto;
  color: #ffffff;
  display: grid;
  min-height: calc(74svh - 64px);
  padding: clamp(2rem, 3.5vw, 3.25rem) clamp(1.25rem, 5vw, 4rem);
  place-items: center start;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: min(960px, 100%);
  min-width: 0;
}

.hero-mark {
  background: rgb(255 255 255 / 94%);
  border-radius: 50%;
  box-shadow: 0 22px 80px rgb(0 0 0 / 36%);
  height: clamp(3.25rem, 5.5vw, 4rem);
  margin-bottom: 0.9rem;
  padding: 0.58rem;
  width: clamp(3.25rem, 5.5vw, 4rem);
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(4.2rem, 7.2vw, 7.6rem);
  line-height: 1.02;
  margin-bottom: 1.12rem;
  max-width: none;
}

.hero h1 span {
  display: block;
}

.hero .hero-statement {
  color: #ffffff;
  font-size: clamp(2.15rem, 3.5vw, 3.45rem);
  font-weight: 730;
  line-height: 1.06;
  max-width: 16ch;
  text-wrap: balance;
}

.hero p {
  color: rgb(255 255 255 / 80%);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.44;
  max-width: 46rem;
}

.hero .hero-lede {
  color: rgb(255 255 255 / 86%);
  font-size: clamp(1.08rem, 1.55vw, 1.28rem);
  line-height: 1.42;
  max-width: 48rem;
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.95rem 0 0.85rem;
  max-width: 46rem;
}

.hero-signals span {
  background: rgb(255 255 255 / 12%);
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 999px;
  color: rgb(255 255 255 / 86%);
  font-size: 0.86rem;
  font-weight: 680;
  padding: 0.45rem 0.68rem;
}

.hero .button-row {
  margin-top: 1.25rem;
}

.hero .button-secondary {
  background: rgb(255 255 255 / 14%);
  border-color: rgb(255 255 255 / 28%);
  color: #ffffff;
}

.eyebrow {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgb(255 255 255 / 72%);
  font-size: 0.78rem;
  line-height: 1.2;
}

.section,
.band-section,
.detail-section,
.intake-section {
  padding: clamp(5.5rem, 9vw, 9rem) clamp(1.25rem, 5vw, 4rem);
}

.band-section {
  background: var(--surface-soft);
  border-block: 1px solid rgb(0 0 0 / 6%);
}

.section-heading {
  margin: 0 auto 2.5rem;
  max-width: var(--max);
}

.section-heading.centered {
  text-align: center;
}

.section-heading.narrow {
  max-width: 820px;
}

.section-heading p {
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.48;
  max-width: 820px;
}

.section-heading.centered p {
  margin-inline: auto;
}

.lede {
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 650;
  line-height: 1.26;
  text-wrap: balance;
}

.diagnostic-ribbon {
  background: #ffffff;
  border-bottom: 1px solid rgb(0 0 0 / 8%);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.diagnostic-ribbon div {
  background: #ffffff;
  min-height: 11.5rem;
  padding: clamp(1.35rem, 3vw, 2.4rem);
}

.diagnostic-ribbon span {
  color: var(--teal);
  display: block;
  font-size: 0.78rem;
  font-weight: 760;
  margin-bottom: 0.9rem;
}

.diagnostic-ribbon strong {
  display: block;
  font-size: clamp(1.35rem, 2.4vw, 2.3rem);
  line-height: 1.08;
}

.diagnostic-ribbon p {
  font-size: 1rem;
  line-height: 1.46;
  margin-top: 0.65rem;
  max-width: 22rem;
}

.recognition-section {
  background: var(--paper);
}

.failure-grid,
.case-grid,
.offer-grid,
.page-grid {
  display: grid;
  gap: 1.1rem;
  margin: 0 auto;
  max-width: var(--max);
}

.page-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.failure-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.failure-card,
.case-card,
.offer-card,
.form-panel,
.confirmation-panel,
.praxis-question {
  background: var(--surface);
  border: 1px solid rgb(0 0 0 / 7%);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.failure-card {
  display: flex;
  flex-direction: column;
  min-height: 16rem;
  padding: 1.35rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.failure-card h3,
.case-card h3,
.offer-card h3 {
  margin-bottom: 0.65rem;
}

.failure-card h3 {
  font-size: clamp(1.1rem, 1.45vw, 1.35rem);
  line-height: 1.14;
}

.failure-card p {
  font-size: 0.98rem;
  line-height: 1.48;
}

.failure-card a,
.case-card a {
  color: var(--action);
  font-weight: 680;
}

.failure-card a {
  margin-top: auto;
  padding-top: 1rem;
  text-decoration: none;
}

.method-showcase {
  background: #ffffff;
  padding: clamp(5.5rem, 9vw, 9rem) clamp(1.25rem, 5vw, 4rem);
}

.split-section {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: 1fr 0.9fr;
  margin: 0 auto;
  max-width: var(--max);
}

.split-section img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}

.framework-list {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 2rem 0;
}

.framework-item {
  border-top: 1px solid rgb(0 0 0 / 10%);
  padding-top: 0.85rem;
}

.framework-item dt,
.case-detail-list dt,
.case-card dt {
  color: var(--ink);
  font-weight: 720;
}

.framework-item dd,
.case-detail-list dd,
.case-card dd {
  color: var(--muted);
  line-height: 1.48;
  margin: 0;
}

.path-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: var(--max);
}

.path-panel {
  background: var(--surface);
  border: 1px solid rgb(0 0 0 / 7%);
  box-shadow: var(--soft-shadow);
  padding: clamp(1.4rem, 3vw, 2rem);
}

.path-panel + .path-panel {
  border-color: var(--action-border);
}

.lead-form-block,
.intake-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  margin: 0 auto;
  max-width: var(--max);
}

.lead-form-block.section {
  background: var(--deep);
  color: #ffffff;
  margin: 0;
  max-width: none;
}

.lead-form-block .eyebrow,
.lead-form-block h2 {
  color: #ffffff;
}

.lead-form-block p {
  color: rgb(255 255 255 / 72%);
}

.lead-form-copy {
  align-self: center;
  min-width: 0;
}

.form-panel {
  box-shadow: var(--shadow);
  padding: 1.35rem;
  min-width: 0;
  width: 100%;
}

.lead-form-block .form-panel {
  background: #ffffff;
}

.lead-form-block .form-panel p {
  color: var(--muted);
}

.lead-form-block .form-panel label span,
.lead-form-block .form-panel legend {
  color: var(--ink);
}

.lead-form-fields {
  border: 0;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
}

.lead-form-fields:disabled {
  opacity: 1;
}

.form-paused-notice {
  background: rgb(138 38 55 / 8%);
  border: 1px solid var(--action-border);
  border-radius: var(--radius);
  color: var(--ink);
  display: grid;
  gap: 0.25rem;
  margin-bottom: 1rem;
  padding: 0.9rem;
}

.form-paused-notice strong {
  font-size: 0.98rem;
  line-height: 1.22;
}

.form-paused-notice span {
  color: var(--muted);
  line-height: 1.42;
}

.form-panel label {
  display: grid;
  gap: 0.35rem;
  font-weight: 650;
  margin-bottom: 0.9rem;
}

input,
select,
textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  min-height: 2.75rem;
  padding: 0.75rem;
  width: 100%;
}

input:disabled,
select:disabled,
textarea:disabled,
button:disabled {
  cursor: not-allowed;
}

input:disabled,
select:disabled,
textarea:disabled {
  background: var(--surface-soft);
  color: var(--muted);
}

.button:disabled {
  opacity: 0.58;
  transform: none;
  box-shadow: none;
}

textarea {
  resize: vertical;
}

.honeypot {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

input:focus,
select:focus,
textarea:focus,
a:focus,
button:focus {
  outline: 3px solid rgb(138 38 55 / 32%);
  outline-offset: 2px;
}

.form-note,
.form-status {
  font-size: 0.9rem;
  line-height: 1.45;
}

.privacy-notice {
  background: #f7f7fa;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  display: grid;
  gap: 8px;
  line-height: 1.45;
  padding: 14px;
}

.privacy-notice.compact {
  font-size: 0.9rem;
}

.privacy-notice p {
  margin: 0;
}

.privacy-notice strong {
  color: var(--ink);
}

.privacy-hero {
  min-height: auto;
}

.consent-banner {
  align-items: center;
  background: rgb(255 255 255 / 92%);
  border: 1px solid rgb(0 0 0 / 8%);
  border-radius: 18px;
  bottom: 1rem;
  box-shadow: 0 24px 80px rgb(0 0 0 / 20%);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
  left: 50%;
  max-width: min(860px, calc(100vw - 2rem));
  padding: 0.75rem 0.85rem;
  position: fixed;
  transform: translateX(-50%);
  width: 100%;
  z-index: 30;
  backdrop-filter: blur(20px) saturate(180%);
}

.consent-copy {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.consent-copy p:not(.eyebrow) {
  font-size: 0.84rem;
  line-height: 1.35;
  max-width: 48rem;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.consent-actions .button,
.consent-panel .button {
  min-height: 2.1rem;
  padding-block: 0.48rem;
}

.consent-dialog {
  background: transparent;
  border: 0;
  max-width: min(620px, calc(100vw - 2rem));
  padding: 0;
}

.consent-dialog::backdrop {
  background: rgb(5 5 6 / 44%);
  backdrop-filter: blur(10px);
}

.consent-panel {
  background: #ffffff;
  border: 1px solid rgb(0 0 0 / 8%);
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
  padding: clamp(1.15rem, 3vw, 1.7rem);
}

.consent-panel h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.06;
  max-width: 11ch;
}

.consent-choice-list {
  display: grid;
  gap: 0.7rem;
}

.form-status {
  color: var(--teal-dark);
  font-weight: 700;
  min-height: 1.2rem;
}

.form-status.is-error {
  color: var(--action-dark);
}

code {
  background: rgb(0 0 0 / 6%);
  border-radius: 6px;
  padding: 0.12rem 0.32rem;
}

fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0 0 1rem;
  padding: 1rem;
}

legend {
  color: var(--ink);
  font-weight: 720;
  padding: 0 0.35rem;
}

.account-shell h1,
.admin-shell h1 {
  font-size: clamp(2.85rem, 5.4vw, 4.8rem);
  line-height: 1.05;
  max-width: 12ch;
}

.subscribe-shell {
  background:
    linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
  min-height: calc(100svh - 64px);
}

.subscribe-layout {
  align-items: start;
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.78fr) minmax(280px, 0.52fr);
  margin: 0 auto;
  max-width: var(--max);
}

.subscribe-copy {
  padding-top: clamp(0.4rem, 2vw, 1.4rem);
}

.subscribe-copy h1 {
  font-size: clamp(3.15rem, 5vw, 4.8rem);
  line-height: 1.03;
  max-width: 11.8ch;
}

.subscribe-copy .lede {
  margin-top: 1.15rem;
  max-width: 31rem;
}

.subscribe-copy > p:not(.eyebrow, .lede) {
  font-size: 1.04rem;
  line-height: 1.52;
  margin-top: 1.1rem;
  max-width: 34rem;
}

.subscribe-proof,
.mini-sequence {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.subscribe-proof {
  margin-top: 1.35rem;
  max-width: 34rem;
}

.subscribe-proof span,
.mini-sequence span {
  background: #ffffff;
  border: 1px solid rgb(0 0 0 / 8%);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 720;
  padding: 0.48rem 0.72rem;
}

.subscribe-card {
  align-self: start;
  padding: clamp(1.15rem, 2.2vw, 1.55rem);
}

.form-header {
  border-bottom: 1px solid rgb(0 0 0 / 8%);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.form-header h2,
.subscribe-success h2 {
  font-size: clamp(1.72rem, 2.7vw, 2.55rem);
  line-height: 1.08;
  max-width: 12ch;
}

.form-header p,
.subscribe-success p {
  font-size: 0.96rem;
  line-height: 1.46;
  margin-top: 0.55rem;
}

.form-row {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
}

.form-field span {
  color: var(--ink);
  font-size: 0.86rem;
}

.topic-picker {
  border: 0;
  margin: 0.2rem 0 1rem;
  padding: 0;
}

.topic-picker legend {
  font-size: 0.86rem;
  margin-bottom: 0.55rem;
  padding: 0;
}

.topic-option-grid {
  display: grid;
  gap: 0.65rem;
}

.topic-choice {
  align-items: start;
  background: var(--surface-soft);
  border: 1px solid rgb(0 0 0 / 8%);
  border-radius: var(--radius);
  cursor: pointer;
  display: grid;
  gap: 0.78rem;
  grid-template-columns: auto 1fr;
  margin: 0;
  padding: 0.88rem;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.topic-choice:hover,
.topic-choice:focus-within {
  background: #ffffff;
  border-color: rgb(138 38 55 / 32%);
  box-shadow: 0 14px 34px rgb(0 0 0 / 7%);
}

.topic-choice:has(input:checked) {
  background: rgb(138 38 55 / 6%);
  border-color: rgb(138 38 55 / 34%);
  box-shadow: inset 0 0 0 1px rgb(138 38 55 / 12%);
}

.topic-choice input {
  accent-color: var(--action);
  margin-top: 0.16rem;
  min-height: 1rem;
  width: 1rem;
}

.topic-choice strong {
  color: var(--ink);
  display: block;
  font-size: 0.98rem;
  line-height: 1.18;
}

.topic-choice small {
  color: var(--muted);
  display: block;
  font-weight: 500;
  line-height: 1.38;
  margin-top: 0.28rem;
}

.subscribe-submit {
  min-height: 3rem;
  width: 100%;
}

.subscribe-submit:disabled {
  cursor: progress;
  opacity: 0.72;
}

.subscribe-success {
  min-height: 23rem;
  place-content: center;
}

.subscribe-success:not([hidden]) {
  display: grid;
}

.subscribe-success .button {
  margin-top: 0.9rem;
}

.subscribe-side-panel {
  align-self: start;
  background: rgb(5 5 6 / 96%);
  border-color: rgb(255 255 255 / 10%);
  color: #ffffff;
  padding: 1.35rem;
}

.subscribe-side-panel h2 {
  color: #ffffff;
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  line-height: 1.08;
}

.subscribe-side-panel p {
  color: rgb(255 255 255 / 72%);
}

.subscribe-side-panel .button-secondary {
  background: rgb(255 255 255 / 12%);
  border-color: rgb(255 255 255 / 26%);
  color: #ffffff;
}

.mini-sequence {
  margin: 1rem 0;
}

.mini-sequence span {
  background: rgb(255 255 255 / 10%);
  border-color: rgb(255 255 255 / 16%);
  color: rgb(255 255 255 / 86%);
}

.account-panel {
  margin: 0 auto;
  max-width: 860px;
}

.account-grid,
.admin-layout {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  margin: 0 auto;
  max-width: var(--max);
}

.account-grid .confirmation-panel {
  align-self: start;
}

.topic-list,
.admin-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.topic-card {
  background: var(--surface);
  border: 1px solid rgb(0 0 0 / 7%);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  padding: 1.25rem;
}

.topic-card h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  line-height: 1.08;
}

.check-row {
  align-items: flex-start;
  border: 1px solid rgb(0 0 0 / 8%);
  border-radius: var(--radius);
  display: grid;
  gap: 0.85rem;
  grid-template-columns: auto 1fr;
  margin: 0 0 0.75rem;
  padding: 0.85rem;
}

.check-row.compact {
  margin: 0;
}

.check-row input {
  min-height: auto;
  width: auto;
}

.check-row small {
  color: var(--muted);
  display: block;
  font-weight: 500;
  line-height: 1.42;
  margin-top: 0.25rem;
}

.alert {
  background: rgb(138 38 55 / 8%);
  border: 1px solid var(--action-border);
  border-radius: var(--radius);
  color: var(--teal-dark);
  font-weight: 650;
  padding: 0.9rem;
}

.alert.success {
  background: rgb(15 118 110 / 8%);
  border-color: rgb(15 118 110 / 18%);
}

.alert ul {
  margin: 0.55rem 0 0;
  padding-left: 1.1rem;
}

.alert li {
  line-height: 1.42;
  margin-top: 0.22rem;
}

.admin-auth {
  margin: 0 auto 1.5rem;
  max-width: var(--max);
}

.admin-auth.is-signed-in {
  padding-block: 1rem;
}

.admin-signed-in {
  align-items: center;
  display: flex;
  gap: 0.9rem;
  justify-content: space-between;
}

.admin-signed-in-email {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 720;
  line-height: 1.25;
}

.admin-auth.is-signed-in .form-status {
  margin-top: 0.65rem;
}

.admin-layout {
  grid-template-columns: 220px minmax(0, 1fr);
}

.admin-nav {
  align-self: start;
  display: grid;
  gap: 0.55rem;
  position: sticky;
  top: 82px;
}

.admin-nav .filter-chip {
  text-align: left;
}

.admin-output {
  min-height: 30rem;
  overflow: hidden;
}

.admin-title {
  border-bottom: 1px solid rgb(0 0 0 / 8%);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.admin-title h2 {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.08;
}

.admin-list {
  display: grid;
  gap: 0.8rem;
}

.admin-record,
.admin-message {
  background: var(--surface-soft);
  border: 1px solid rgb(0 0 0 / 7%);
  border-radius: var(--radius);
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
}

.admin-record strong {
  color: var(--ink);
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.admin-record span {
  color: var(--muted);
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.admin-record a {
  color: var(--action);
  font-weight: 720;
}

.status-pill {
  align-items: center;
  background: rgb(102 106 115 / 10%);
  border: 1px solid rgb(102 106 115 / 18%);
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 780;
  line-height: 1.1;
  min-height: 1.65rem;
  padding: 0.32rem 0.62rem;
  text-transform: capitalize;
  white-space: nowrap;
}

.status-ready,
.status-active,
.status-delivered,
.status-opened,
.status-clicked,
.status-replied,
.status-interested,
.status-sent,
.status-completed,
.status-approved {
  background: rgb(28 122 74 / 10%);
  border-color: rgb(28 122 74 / 20%);
  color: #145235;
}

.status-blocked,
.status-suppressed,
.status-unsubscribed,
.status-bounced,
.status-failed,
.status-cancelled,
.status-permanent_failed {
  background: rgb(183 53 28 / 10%);
  border-color: rgb(183 53 28 / 20%);
  color: #802312;
}

.status-draft,
.status-pending,
.status-paused,
.status-needs_approval,
.status-scheduled {
  background: rgb(183 121 31 / 12%);
  border-color: rgb(183 121 31 / 24%);
  color: #704309;
}

.admin-record-header {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-section {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.15rem;
}

.admin-section h3 {
  color: var(--ink);
  font-size: 1.05rem;
  letter-spacing: 0;
  line-height: 1.22;
  margin: 0;
}

.admin-detail-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-detail-grid div {
  background: var(--surface-soft);
  border: 1px solid rgb(0 0 0 / 7%);
  border-radius: var(--radius);
  padding: 1rem;
}

.admin-detail-grid strong {
  color: var(--ink);
  display: block;
  font-size: 0.78rem;
  line-height: 1.18;
  text-transform: uppercase;
}

.admin-detail-grid span {
  color: var(--muted);
  display: block;
  line-height: 1.42;
  margin-top: 0.25rem;
  overflow-wrap: anywhere;
}

.admin-record.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-inline-form,
.admin-compose-form {
  border-bottom: 1px solid rgb(0 0 0 / 8%);
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.admin-compose-form.compact-form {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.admin-advanced {
  background: var(--surface-soft);
  border: 1px solid rgb(0 0 0 / 8%);
  border-radius: var(--radius);
  padding: 0.15rem 0.9rem;
}

.admin-advanced summary {
  color: var(--ink);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 760;
  line-height: 1.25;
  list-style-position: outside;
  padding: 0.72rem 0;
}

.admin-advanced-body {
  border-top: 1px solid rgb(0 0 0 / 8%);
  display: grid;
  gap: 0.8rem;
  padding: 0.85rem 0 0.95rem;
}

.admin-inline-form {
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
}

.admin-two {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-three {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-check-grid {
  border: 0;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
}

.admin-check-grid legend {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 720;
  grid-column: 1 / -1;
  line-height: 1.2;
  margin: 0 0 0.2rem;
  padding: 0;
}

.admin-message h3 {
  margin-bottom: 0;
}

pre {
  background: var(--deep);
  border-radius: var(--radius);
  color: #ffffff;
  font-size: 0.84rem;
  line-height: 1.45;
  margin: 0;
  max-height: 42rem;
  overflow: auto;
  padding: 1rem;
}

.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-card {
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.case-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.case-card-body {
  padding: 1.15rem;
}

.case-card dl,
.case-detail-list {
  display: grid;
  gap: 0.8rem;
}

.case-card dl {
  font-size: 0.95rem;
}

.case-hero {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 4rem);
}

.case-hero h1 {
  font-size: clamp(2.85rem, 5.4vw, 4.8rem);
  line-height: 1.05;
  max-width: 12ch;
}

.case-hero img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.blog-app-shell {
  background: linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
}

.blog-app-shell .section-heading {
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.blog-app-shell .section-heading h1 {
  font-size: clamp(3.15rem, 5.55vw, 5.15rem);
  line-height: 1.04;
  max-width: 13.8ch;
}

.blog-app-shell .section-heading p:not(.eyebrow) {
  margin-top: clamp(1rem, 1.8vw, 1.35rem);
  max-width: 54rem;
}

.blog-list {
  display: grid;
  gap: 1.1rem;
  margin: 0 auto;
  max-width: var(--max);
}

.blog-card {
  background: var(--surface);
  border: 1px solid rgb(0 0 0 / 7%);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  display: grid;
  gap: clamp(1rem, 3vw, 2rem);
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  overflow: hidden;
  padding: clamp(1rem, 2.2vw, 1.35rem);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.blog-card img {
  aspect-ratio: 16 / 10;
  border-radius: calc(var(--radius) - 2px);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.blog-card h2 {
  font-size: clamp(1.55rem, 2.45vw, 2.8rem);
  line-height: 1.06;
  max-width: 18ch;
}

.blog-card h2 a {
  text-decoration: none;
}

.blog-card p:not(.eyebrow) {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.48;
  margin-top: 0.8rem;
  max-width: 48rem;
}

.blog-tags,
.blog-post-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-tags {
  margin-top: 1rem;
}

.blog-tags span {
  background: rgb(138 38 55 / 9%);
  border: 1px solid rgb(138 38 55 / 14%);
  border-radius: 999px;
  color: var(--action-dark);
  font-size: 0.78rem;
  font-weight: 720;
  line-height: 1.1;
  padding: 0.43rem 0.62rem;
}

.blog-post {
  margin: 0 auto;
  max-width: min(100%, 860px);
}

.blog-post-meta {
  gap: 0.7rem;
  justify-content: flex-start;
  margin-bottom: 1.5rem;
}

.blog-share,
.blog-social-links {
  display: inline-flex;
  gap: 0.45rem;
}

.blog-share a,
.blog-social-links a {
  align-items: center;
  background: var(--deep);
  border-radius: 50%;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 760;
  height: 2.25rem;
  justify-content: center;
  text-decoration: none;
  width: 2.25rem;
}

.blog-social-links a {
  background: var(--action);
}

.blog-share svg,
.blog-social-links svg {
  display: block;
  fill: currentcolor;
  height: 1.05rem;
  width: 1.05rem;
}

.blog-hero-media,
.blog-media {
  margin: clamp(1.5rem, 4vw, 3rem) 0;
}

.blog-hero-media img,
.blog-media img,
.blog-video video,
.blog-embed {
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  width: 100%;
}

.blog-hero-media img,
.blog-media img {
  object-fit: cover;
}

.blog-video video {
  background: #000000;
  display: block;
  min-height: 18rem;
}

.blog-embed {
  aspect-ratio: 16 / 9;
  background: #000000;
  overflow: hidden;
}

.blog-embed iframe {
  border: 0;
  height: 100%;
  width: 100%;
}

.blog-post figcaption,
.blog-media figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
  margin-top: 0.75rem;
}

.blog-prose {
  background: var(--surface);
  border: 1px solid rgb(0 0 0 / 7%);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  margin-inline: auto;
  max-width: 760px;
  padding: clamp(1.35rem, 4vw, 3rem);
}

.blog-prose :is(h1, h2, h3, h4, h5, h6) {
  color: var(--ink);
  font-weight: 760;
  letter-spacing: 0;
  margin: 2.2rem 0 0.8rem;
  max-width: 100%;
  text-wrap: balance;
}

.blog-prose :is(h1, h2):first-child,
.blog-prose :is(h3, h4, h5, h6):first-child {
  margin-top: 0;
}

.blog-prose h1 {
  font-size: clamp(2.35rem, 5vw, 3.8rem);
  line-height: 1.02;
}

.blog-prose h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  line-height: 1.06;
}

.blog-prose h3 {
  font-size: clamp(1.55rem, 2.6vw, 2.3rem);
  line-height: 1.1;
}

.blog-prose h4 {
  font-size: 1.25rem;
  line-height: 1.16;
}

.blog-prose h5,
.blog-prose h6 {
  font-size: 1rem;
  line-height: 1.18;
  text-transform: uppercase;
}

.blog-prose p,
.blog-prose li {
  color: #2f3237;
  font-size: clamp(1.05rem, 1.35vw, 1.18rem);
  line-height: 1.65;
}

.blog-prose p + p {
  margin-top: 1rem;
}

.blog-prose a {
  color: var(--action);
  font-weight: 700;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.blog-prose blockquote {
  border-left: 4px solid var(--action);
  margin: clamp(1.5rem, 4vw, 2.4rem) 0;
  padding: 0.1rem 0 0.1rem clamp(1rem, 2.4vw, 1.5rem);
}

.blog-prose blockquote p {
  color: var(--ink);
  font-size: clamp(1.45rem, 2.6vw, 2.35rem);
  font-weight: 720;
  letter-spacing: 0;
  line-height: 1.14;
}

.blog-prose cite {
  color: var(--muted);
  display: block;
  font-style: normal;
  font-weight: 650;
  margin-top: 0.8rem;
}

.blog-citation {
  background: var(--paper);
  border: 1px solid rgb(0 0 0 / 7%);
  border-radius: var(--radius);
  margin: clamp(1.25rem, 3vw, 2rem) 0;
  padding: 1rem;
}

.blog-citation strong {
  color: var(--action);
  display: block;
  font-size: 0.78rem;
  font-weight: 760;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.blog-link-list {
  display: grid;
  gap: 0.7rem;
  list-style: none;
  margin: clamp(1.25rem, 3vw, 2rem) 0;
  padding: 0;
}

.blog-link-list a {
  background: var(--paper);
  border: 1px solid rgb(0 0 0 / 7%);
  border-radius: var(--radius);
  display: block;
  padding: 1rem;
}

.blog-block-editor {
  background: rgb(248 248 250);
  border: 1px solid rgb(0 0 0 / 7%);
  border-radius: var(--radius);
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.25rem);
}

.blog-block-list {
  display: grid;
  gap: 0.85rem;
}

.blog-block-item {
  background: #ffffff;
  box-shadow: none;
}

.blog-block-item .admin-record-header {
  align-items: end;
  gap: 1rem;
}

.button-row.compact {
  gap: 0.4rem;
}

.button-row.compact .button,
.button-row.compact select {
  min-height: 2.55rem;
}

.blog-post-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 2rem;
}

.detail-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  margin: 0 auto;
  max-width: var(--max);
}

.praxis-question {
  align-self: start;
  border-top: 4px solid var(--teal);
  padding: 1.5rem;
}

.praxis-question h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.1;
}

.offer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.offer-card {
  padding: 1.25rem;
}

.offer-card h2 {
  font-size: clamp(1.65rem, 3vw, 2.8rem);
  line-height: 1.1;
}

.book-panel-section {
  background: var(--paper);
  padding: clamp(5.5rem, 9vw, 9rem) clamp(1.25rem, 5vw, 4rem);
}

.centered-actions,
.centered {
  justify-content: center;
  margin-top: 2rem;
  text-align: center;
}

.case-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 auto 1.5rem;
  max-width: var(--max);
  min-width: 0;
}

.filter-chip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  padding: 0.55rem 0.75rem;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.filter-chip.active,
.filter-chip:hover,
.filter-chip:focus {
  background: var(--deep);
  color: #ffffff;
}

.signal-picker-grid .offer-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 12rem;
}

.signal-picker-grid .button {
  margin-top: auto;
  width: fit-content;
}

.start-review-shell {
  background:
    radial-gradient(circle at 12% 0%, rgb(138 38 55 / 7%), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
}

.start-review-shell h1 {
  font-size: clamp(3rem, 6vw, 6.2rem);
  line-height: 1.02;
  max-width: 12ch;
}

.signal-picker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: -1.2rem auto 2rem;
  max-width: var(--max);
  min-width: 0;
}

.signal-picker-row .filter-chip {
  background: rgb(255 255 255 / 78%);
  backdrop-filter: blur(16px) saturate(160%);
}

.signal-picker-row .filter-chip.active,
.signal-picker-row .filter-chip[aria-pressed="true"] {
  background: var(--action);
  border-color: var(--action);
  color: #ffffff;
}

.start-review-grid {
  align-items: start;
  display: grid;
  gap: clamp(1rem, 3vw, 1.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.68fr);
  margin: 0 auto;
  max-width: var(--max);
}

.start-review-form {
  display: grid;
  gap: 0.15rem;
}

.start-review-form textarea {
  min-height: 5.4rem;
}

.review-output-panel {
  align-self: start;
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 86px;
}

.review-output-panel h3 {
  font-size: clamp(1.55rem, 2.4vw, 2.4rem);
  line-height: 1.08;
}

.review-output-panel .case-detail-list {
  gap: 0;
}

.review-output-panel .case-detail-list > div {
  border-top: 1px solid rgb(0 0 0 / 8%);
  padding: 0.78rem 0;
}

.review-next-steps {
  background: rgb(248 247 245 / 90%);
  border: 1px solid rgb(0 0 0 / 8%);
  border-radius: 18px;
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
}

.review-next-steps[hidden] {
  display: none;
}

.review-next-steps h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.08;
  margin: 0;
}

.team-review-steps {
  align-items: stretch;
}

.stat-strip {
  background: var(--deep);
  color: #ffffff;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-strip div {
  background: rgb(255 255 255 / 5%);
  padding: 1.2rem;
}

.stat-strip strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1.1;
}

.stat-strip span {
  color: rgb(255 255 255 / 72%);
}

.site-footer {
  background: var(--deep);
  color: #ffffff;
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 5vw, 4rem) 2rem;
}

.site-footer p {
  color: rgb(255 255 255 / 72%);
}

.site-footer h2 {
  color: #ffffff;
}

.footer-inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0 auto;
  max-width: var(--max);
}

.footer-nav {
  display: grid;
  gap: 0.65rem;
}

.footer-nav a {
  color: #ffffff;
  font-weight: 800;
}

.footer-note {
  border-top: 1px solid rgb(255 255 255 / 16%);
  margin: 2rem auto 0;
  max-width: var(--max);
  padding-top: 1rem;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-nav {
    display: none;
  }

  .header-actions {
    justify-content: flex-end;
  }

  .failure-grid,
  .case-grid,
  .offer-grid,
  .topic-list,
  .admin-cards,
  .subscribe-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .subscribe-copy {
    grid-column: 1 / -1;
  }

  .subscribe-copy h1 {
    max-width: 12ch;
  }

  .hero {
    background-position:
      center,
      right -3rem center;
    background-size:
      auto,
      min(46vw, 420px) auto;
  }

  .diagnostic-ribbon {
    grid-template-columns: 1fr;
  }

  .diagnostic-ribbon div {
    min-height: auto;
  }
}

@media (max-width: 900px) {
  .case-hero {
    grid-template-columns: 1fr;
  }

  .case-hero h1 {
    max-width: 13ch;
  }

  .case-hero img {
    justify-self: center;
    max-width: min(100%, 34rem);
  }

  .page-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  h1 {
    font-size: clamp(2.25rem, 10vw, 2.55rem);
    line-height: 1.04;
    max-width: 100%;
  }

  h2 {
    font-size: clamp(1.95rem, 9vw, 2.3rem);
    line-height: 1.08;
  }

  .hero {
    background-image:
      linear-gradient(
        180deg,
        rgb(5 5 6 / 98%) 0%,
        rgb(5 5 6 / 90%) 52%,
        rgb(5 5 6 / 76%) 100%
      ),
      var(--hero-image);
    background-position:
      center,
      right 1.25rem bottom 1.05rem;
    background-size:
      auto,
      min(38vw, 9.5rem) auto;
    min-height: auto;
    padding: 2.65rem 1.25rem clamp(15.5rem, 65vw, 17rem);
  }

  .hero h1 {
    font-size: clamp(2.6rem, 11vw, 3.25rem);
    line-height: 1.04;
    max-width: 9.5ch;
  }

  .hero .hero-statement {
    font-size: clamp(1.72rem, 8.5vw, 2.35rem);
    line-height: 1.08;
    max-width: 15ch;
  }

  .hero .hero-lede {
    font-size: 1rem;
    line-height: 1.42;
  }

  .hero-mark {
    height: 3rem;
    margin-bottom: 0.75rem;
    width: 3rem;
  }

  .hero .button-row {
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .hero p {
    max-width: 100%;
  }

  .failure-grid,
  .case-grid,
  .offer-grid,
  .path-grid,
  .framework-list,
  .blog-card,
  .lead-form-block,
  .intake-grid,
  .split-section,
  .case-hero,
  .detail-grid,
  .account-grid,
  .admin-layout,
  .start-review-grid,
  .admin-inline-form,
  .admin-two,
  .admin-three,
  .admin-check-grid,
  .admin-detail-grid,
  .admin-record-header,
  .admin-record.compact,
  .subscribe-layout,
  .form-row,
  .topic-list,
  .admin-cards,
  .footer-inner,
  .stat-strip,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .admin-nav {
    display: flex;
    flex-wrap: wrap;
    position: static;
  }

  .blog-post-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-card h2 {
    max-width: 100%;
  }

  .blog-prose {
    padding: 1.25rem;
  }

  .blog-prose p,
  .blog-prose li {
    font-size: 1rem;
    line-height: 1.58;
  }

  .blog-video video {
    min-height: 12rem;
  }

  .diagnostic-ribbon strong {
    font-size: 1.7rem;
    line-height: 1.08;
  }

  .diagnostic-ribbon div {
    padding: 1.35rem 1.25rem;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) minmax(0, auto);
    min-height: 58px;
    padding: 0.65rem 0.85rem;
  }

  .nav-link {
    font-size: 0.84rem;
    padding: 0.55rem 0.35rem;
    text-align: center;
  }

  .header-actions {
    width: auto;
  }

  .nav-link,
  .button {
    font-size: 0.88rem;
    line-height: 1.14;
  }

  .header-actions .button {
    font-size: 0.8rem;
    min-width: 0;
    min-height: 2.35rem;
    padding-inline: 0.7rem;
    white-space: nowrap;
  }

  .failure-card {
    min-height: auto;
    overflow: hidden;
  }

  .lead-form-block.section {
    gap: 2rem;
  }

  .signal-picker-row {
    margin-top: -1rem;
  }

  .start-review-shell h1 {
    font-size: clamp(2.35rem, 10.5vw, 3rem);
    max-width: 11ch;
  }

  .review-output-panel {
    position: static;
  }

  .consent-banner {
    align-items: stretch;
    grid-template-columns: 1fr;
    max-width: calc(100vw - 1.5rem);
    padding: 0.7rem;
  }

  .consent-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
  }

  .consent-actions .button {
    min-height: 2rem;
    padding-inline: 0.5rem;
  }
}

@media (max-width: 420px) {
  .brand {
    gap: 0.45rem;
  }

  .brand-mark {
    height: 1.85rem;
    padding: 0.3rem;
    width: 1.85rem;
  }

  .brand-text {
    font-size: 0.86rem;
  }

  .header-actions .button {
    font-size: 0.76rem;
    padding-inline: 0.62rem;
  }
}

@media (max-width: 380px) {
  .hero {
    background-image:
      linear-gradient(
        180deg,
        rgb(5 5 6 / 98%) 0%,
        rgb(5 5 6 / 92%) 58%,
        rgb(5 5 6 / 86%) 100%
      );
    background-position: center;
    background-size: auto;
    padding: 2rem 1rem 3.1rem;
  }

  .hero-mark {
    height: 2.55rem;
    margin-bottom: 0.6rem;
    padding: 0.46rem;
    width: 2.55rem;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 13.5vw, 3.15rem);
    line-height: 1.04;
    margin-bottom: 0.8rem;
  }

  .hero .hero-statement {
    font-size: clamp(1.55rem, 8.1vw, 1.95rem);
    line-height: 1.1;
  }

  .hero .hero-lede {
    font-size: 0.94rem;
    line-height: 1.42;
  }

  .hero .button-row {
    gap: 0.45rem;
    margin-top: 0.9rem;
  }

  .hero .button {
    min-height: 2.34rem;
    padding: 0.62rem 0.9rem;
  }
}
