:root {
  --bg: #ffffff;
  --surface: #f2f2f2;
  --surface-strong: #e6e6e6;
  --ink: #0a0a0a;
  --muted: #555555;
  --accent: #d92b21;
  --accent-hover: #b8221a;
  --accent-ink: #ffffff;
  --field-1: #000000;
  --field-1-surface: #141414;
  --field-1-ink: #ffffff;
  --field-1-muted: #c4c4c4;

  --font-sans: "Albert Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Strictly 5 type sizes across the site */
  --step-small: 0.9375rem;
  --step-body: 1.125rem;
  --step-lead: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --step-head: clamp(2.125rem, 1.45rem + 2.4vw, 3.75rem);
  --step-display: clamp(4rem, 2.4rem + 5.5vw, 7.5rem);

  --gutter: clamp(1.25rem, 3vw, 2.5rem);
  --max-width: 1360px;
  --section-gap: clamp(4rem, 8.5vw, 7.5rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --t-reveal: 820ms;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--step-body);
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

pre,
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; /* taste-skill-ignore */
}

pre code {
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
  transition: color var(--t-hover) ease, background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

button,
input {
  font: inherit;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--field-1);
  color: var(--field-1-ink);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  text-decoration: none;
  font-size: var(--step-small);
  font-weight: 500;
}

.skip-link:focus {
  left: var(--gutter);
  top: 0.75rem;
}

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

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

/* Header & Navigation */

.site-header {
  background: var(--bg);
  color: var(--ink);
  position: relative;
  z-index: 40;
}

.header-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.125rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--step-body);
  letter-spacing: -0.025em;
  min-height: 44px;
}

.brand-mark {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  background: var(--surface);
  color: var(--ink);
  border: 0;
  cursor: pointer;
  font-size: var(--step-small);
  font-weight: 500;
}

.nav-toggle:active {
  transform: scale(0.97);
}

.site-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  padding: 1rem var(--gutter) 1.5rem;
}

.site-nav.is-open {
  display: flex;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  font-size: var(--step-small);
  font-weight: 500;
  color: var(--muted);
  padding: 0.25rem 0;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a.nav-action {
  margin-top: 0.5rem;
  justify-content: center;
  background: var(--field-1);
  color: var(--field-1-ink);
  padding: 0.65rem 1.15rem;
}

.site-nav a.nav-action:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    background: transparent;
    padding: 0;
  }

  .site-nav a.nav-action {
    margin-top: 0;
  }
}

/* Typography & Actions */

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}

h1,
h2 {
  font-size: var(--step-head);
}

h3 {
  font-size: var(--step-lead);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1.125rem;
  text-wrap: pretty;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.85rem 1.65rem;
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  text-decoration: none;
  font-size: var(--step-small);
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}

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

.btn-primary:active {
  transform: scale(0.98);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--step-small);
  font-weight: 500;
  text-decoration: underline;
  color: var(--ink);
}

.text-link:hover {
  color: var(--accent);
}

/* Masked Headline Motion & Scroll Reveals */

.line-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.line-inner {
  display: block;
}

.js-motion .line-inner {
  transform: translateY(105%);
  transition: transform 900ms var(--ease-expo);
}

.js-motion .line-mask:nth-child(2) .line-inner {
  transition-delay: 110ms;
}

.js-motion.is-loaded .line-inner {
  transform: translateY(0);
}

.js-motion [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--t-reveal) var(--ease-expo), transform var(--t-reveal) var(--ease-expo);
}

.js-motion [data-reveal="in"] {
  opacity: 1;
  transform: translateY(0);
}

.js-motion [data-delay="1"] {
  transition-delay: 75ms;
}

.js-motion [data-delay="2"] {
  transition-delay: 150ms;
}

.js-motion [data-delay="3"] {
  transition-delay: 225ms;
}

.photo-frame {
  overflow: hidden;
  background: var(--surface);
}

.photo-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.photo-drift img {
  animation: slow-drift 18s var(--ease-soft) infinite alternate;
  will-change: transform;
}

@keyframes slow-drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.045);
  }
}

/* Home Hero: Split Two-Tone Stage (Control that reads the page) */

.hero-band {
  background: var(--bg);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.hero-copy-pane {
  min-width: 0;
  background: var(--bg);
  color: var(--ink);
  padding: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.25rem;
}

.hero-stage-pane {
  min-width: 0;
  background: var(--surface);
  padding: clamp(1rem, 2.2vw, 1.75rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-lead {
  font-size: var(--step-body);
  color: var(--muted);
  max-width: 44ch;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
}

.hero-meta-note {
  font-size: var(--step-small);
  color: var(--muted);
  margin: 0;
}

@media (min-width: 960px) {
  .hero-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    min-height: min(78svh, 700px);
    align-items: stretch;
  }

  .hero-copy-pane {
    padding: 3rem 3rem 3rem 0;
    justify-content: flex-end;
  }

  .hero-stage-pane {
    padding: 1.75rem;
  }
}

/* Live Product Fragment: Plumbline WCAG Inspector (data-ui) */

[data-ui].plumbline-ui {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 1px solid #2b323c; /* taste-skill-ignore */
  border-radius: 8px;
  overflow: hidden;
  background: #161a20;
  color: #b9bfc6;
  transition: background-color var(--t-ui) ease, color var(--t-ui) ease, border-color var(--t-ui) ease;
}

.plumbline-ui-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.9rem;
  background: rgba(127, 127, 127, 0.12);
  border-bottom: 1px solid rgba(127, 127, 127, 0.24); /* taste-skill-ignore */
  font-size: 13px;
}

.plumbline-ui-title {
  font-weight: 600;
}

.plumbline-ui-badge {
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  background: rgba(127, 127, 127, 0.2);
}

.plumbline-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid rgba(127, 127, 127, 0.22); /* taste-skill-ignore */
}

@media (min-width: 480px) {
  .plumbline-switcher {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.palette-btn {
  border: 1px solid rgba(127, 127, 127, 0.35); /* taste-skill-ignore */
  border-radius: 4px;
  background: transparent;
  color: inherit;
  padding: 0.35rem 0.5rem;
  min-height: 36px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease;
}

.palette-btn[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.plumbline-code {
  margin: 0;
  padding: 0.95rem;
  max-width: 100%;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.6;
}

.plumbline-readout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0.8rem 0.9rem;
  border-top: 1px solid rgba(127, 127, 127, 0.22); /* taste-skill-ignore */
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 520px) {
  .plumbline-readout {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.readout-cell {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.readout-label {
  opacity: 0.82;
}

.readout-val {
  font-weight: 600;
}

/* Section 1: Dark Showcase Band */

.band-dark {
  background: var(--field-1);
  color: var(--field-1-ink);
  padding-block: var(--section-gap);
}

.band-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.band-header p {
  color: var(--field-1-muted);
  max-width: 52ch;
  margin: 0;
}

@media (min-width: 840px) {
  .band-header {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: end;
    gap: 2.5rem;
  }
}

.showcase-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
}

.product-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  background: var(--field-1-surface);
  padding: clamp(1.25rem, 3.5vw, 3rem);
}

.product-stage > * {
  min-width: 0;
}

@media (min-width: 960px) {
  .product-stage {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 3rem;
    align-items: start;
  }

  .product-stage--reverse {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .product-stage--reverse .product-stage-info {
    order: 2;
  }

  .product-stage--reverse .product-stage-visual {
    order: 1;
  }
}

.product-stage-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.product-stage-info p {
  color: var(--field-1-muted);
  margin: 0;
}

.spec-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  font-size: var(--step-small);
  color: var(--field-1-ink);
}

.spec-facts li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding-bottom: 0.35rem;
}

.spec-facts span:first-child {
  color: var(--field-1-muted);
}

.stage-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 0.5rem;
}

.stage-links .text-link {
  color: var(--field-1-ink);
}

.stage-links .text-link:hover {
  color: var(--field-1-muted);
}

.product-stage-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

/* Assentline Live Interactive Fragment (data-ui) */

[data-ui].assentline-ui {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1; /* taste-skill-ignore */
  border-radius: 8px;
  overflow: hidden;
  font-size: 14px;
  max-width: 100%;
}

.assentline-ui-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  padding: 0.75rem 1rem;
  background: #0f172a;
  color: #f8fafc;
}

.assentline-ui-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}

.assentline-ui-brand img {
  width: 24px;
  height: 24px;
  border-radius: 5px;
}

.assentline-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0; /* taste-skill-ignore */
  font-variant-numeric: tabular-nums;
}

.assentline-stat {
  background: #ffffff;
  border: 1px solid #e2e8f0; /* taste-skill-ignore */
  border-radius: 6px;
  padding: 0.55rem 0.65rem;
  min-width: 0;
}

.assentline-stat-num {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
}

.assentline-stat-label {
  font-size: 13px;
  color: #475569;
}

.assentline-queue {
  padding: 0.85rem 1rem;
  display: grid;
  gap: 0.75rem;
}

.queue-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0; /* taste-skill-ignore */
  border-radius: 6px;
}

.queue-row-main {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.queue-id {
  font-weight: 600;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

.queue-detail {
  font-size: 13px;
  color: #475569;
}

.queue-status {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}

.queue-status--pending {
  background: #fef3c7;
  color: #78350f;
}

.queue-status--approved {
  background: #d1fae5;
  color: #065f46;
}

.queue-status--rejected {
  background: #fee2e2;
  color: #991b1b;
}

.queue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ui-btn {
  min-height: 36px;
  padding: 0.35rem 0.75rem;
  border-radius: 5px;
  border: 1px solid #cbd5e1; /* taste-skill-ignore */
  background: #ffffff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.ui-btn--approve {
  background: #047857;
  border-color: #047857;
  color: #ffffff;
}

.ui-btn--reject {
  background: #b91c1c;
  border-color: #b91c1c;
  color: #ffffff;
}

/* Section 2: Call and Response (Built with hard limits) */

.band-light {
  background: var(--bg);
  color: var(--ink);
  padding-block: var(--section-gap);
}

.band-surface {
  background: var(--surface);
  color: var(--ink);
  padding-block: var(--section-gap);
}

.band-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.band-intro p {
  color: var(--muted);
  max-width: 54ch;
  margin: 0;
}

@media (min-width: 840px) {
  .band-intro {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: end;
    gap: 2.5rem;
  }
}

.exchange-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3.5rem;
}

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

.exchange-row > * {
  min-width: 0;
}

@media (min-width: 880px) {
  .exchange-row {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 2.5rem;
    align-items: start;
  }
}

.exchange-lead {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
}

.exchange-lead h3 {
  font-size: var(--step-lead);
}

.exchange-lead p {
  color: var(--muted);
  font-size: var(--step-small);
  margin: 0;
}

.exchange-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  min-width: 0;
}

.call-box {
  background: var(--surface);
  padding: 1rem 1.15rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.75rem;
  min-width: 0;
  max-width: 100%;
}

.call-box pre {
  margin: 0;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: var(--step-small);
  line-height: 1.55;
  color: var(--ink);
}

.copy-btn {
  flex-shrink: 0;
  min-height: 36px;
  padding: 0.35rem 0.75rem;
  background: var(--field-1);
  color: var(--field-1-ink);
  border: 0;
  font-size: var(--step-small);
  font-weight: 500;
  cursor: pointer;
}

.copy-btn:hover {
  background: var(--accent);
}

.response-indent {
  min-width: 0;
  max-width: 100%;
  margin-left: 0;
}

@media (min-width: 768px) {
  .response-indent {
    margin-left: 2.5rem;
  }
}

.response-sheet-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid #cbd5e1; /* taste-skill-ignore */
  border-radius: 6px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step-small);
  font-variant-numeric: tabular-nums;
  text-align: left;
}

.data-table th,
.data-table td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid #e2e8f0; /* taste-skill-ignore */
  white-space: nowrap;
}

.data-table th {
  background: #f8fafc;
  font-weight: 600;
  color: #0f172a;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

/* Section 3: Oversized Pricing (The price, very large) */

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
}

.pricing-layout > * {
  min-width: 0;
}

@media (min-width: 920px) {
  .pricing-layout {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 3.5rem;
    align-items: start;
  }
}

.pricing-left {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pricing-left p {
  color: var(--muted);
  margin: 0;
}

.plan-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.plan-tab {
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  border: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: var(--step-small);
  font-weight: 600;
  cursor: pointer;
}

.plan-tab[aria-pressed="true"] {
  background: var(--field-1);
  color: var(--field-1-ink);
}

.pricing-right {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.price-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: end;
}

@media (min-width: 768px) {
  .price-stage {
    grid-template-columns: minmax(0, 1fr) 260px;
    align-items: center;
  }
}

.price-figure {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem;
  line-height: 0.88;
  font-variant-numeric: tabular-nums;
}

.price-currency {
  font-size: var(--step-head);
  font-weight: 600;
  align-self: flex-start;
  margin-top: 0.12em;
}

.price-amount {
  font-size: var(--step-display);
  font-weight: 600;
  letter-spacing: -0.05em;
}

.price-unit {
  font-size: var(--step-body);
  font-weight: 500;
  color: var(--muted);
  margin-left: 0.35rem;
}

.price-object {
  width: 100%;
  max-width: 260px;
}

.price-includes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  font-size: var(--step-body);
}

.price-alt-note {
  font-size: var(--step-small);
  color: var(--muted);
  margin: 0;
}

/* Section 4: About / Publisher Letter + Architecture Photo */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
}

.about-layout > * {
  min-width: 0;
}

@media (min-width: 900px) {
  .about-layout {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: 4rem;
    align-items: start;
  }
}

.about-media figure {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.about-media figcaption {
  font-size: var(--step-small);
  color: var(--muted);
}

.about-letter {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.about-letter h2 {
  margin-bottom: 0.5rem;
}

.about-signoff {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.about-signoff strong {
  font-size: var(--step-lead);
  font-weight: 600;
}

.about-signoff span {
  font-size: var(--step-small);
  color: var(--muted);
}

/* Section 5: Direct Support & Legal Directory (One field, nothing else) */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
}

.contact-layout > * {
  min-width: 0;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: 4rem;
    align-items: start;
  }
}

.contact-prompt {
  font-size: var(--step-lead);
  font-weight: 500;
  line-height: 1.3;
  margin: 1rem 0 1.5rem;
}

.contact-prompt-muted {
  display: block;
  color: var(--muted);
}

.support-composer {
  display: flex;
  align-items: center;
  background: var(--bg);
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  gap: 0.5rem;
  max-width: 540px;
}

.support-composer input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: var(--step-body);
  min-height: 48px;
}

.support-composer input:focus {
  outline: none;
}

.support-composer:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.composer-submit {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 0;
  background: var(--accent);
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.composer-submit:hover {
  background: var(--accent-hover);
}

.composer-note {
  font-size: var(--step-small);
  color: var(--muted);
  margin-top: 0.85rem;
  max-width: 52ch;
}

.contact-facts {
  display: grid;
  gap: 1.25rem;
}

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

@media (min-width: 540px) {
  .fact-row {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 1rem;
  }
}

.fact-label {
  font-size: var(--step-small);
  color: var(--muted);
}

.fact-value {
  font-size: var(--step-small);
  font-weight: 500;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.legal-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 0.5rem;
}

/* Footer: A Footer of Tiles */

.site-footer {
  background: var(--bg);
  padding: 0.75rem 0;
  margin-top: auto;
}

.footer-grid {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.footer-tile {
  background: var(--surface);
  color: var(--ink);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 170px;
  min-width: 0;
}

.footer-tile--statement {
  grid-column: 1 / -1;
}

.footer-tile--email {
  grid-column: 1 / -1;
}

.footer-tile--wordmark {
  grid-column: 1 / -1;
  background: var(--field-1);
  color: var(--field-1-ink);
  justify-content: center;
  min-height: 150px;
}

.footer-tile--accent {
  grid-column: 1 / -1;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  min-height: 150px;
}

.footer-tile--accent:hover {
  background: var(--accent-hover);
  color: var(--accent-ink);
}

.footer-statement {
  font-size: var(--step-lead);
  font-weight: 500;
  line-height: 1.25;
  margin: 0;
  max-width: 28ch;
}

.footer-legal-note {
  font-size: var(--step-small);
  color: var(--muted);
  margin: 0;
}

.footer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  font-size: var(--step-small);
}

.footer-nav-list a {
  text-decoration: none;
  font-weight: 500;
}

.footer-nav-list a:hover {
  text-decoration: underline;
}

.footer-email-link {
  font-size: var(--step-lead);
  font-weight: 600;
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.footer-wordmark {
  font-size: var(--step-display);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.footer-cta-title {
  font-size: var(--step-lead);
  font-weight: 600;
}

.footer-cta-arrow {
  align-self: flex-end;
}

@media (min-width: 960px) {
  .footer-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .footer-tile {
    min-height: 220px;
  }

  .footer-tile--statement {
    grid-column: 1 / span 4;
  }

  .footer-tile--nav {
    grid-column: 5 / span 3;
  }

  .footer-tile--meta {
    grid-column: 8 / span 2;
  }

  .footer-tile--email {
    grid-column: 10 / span 3;
  }

  .footer-tile--wordmark {
    grid-column: 1 / span 8;
    min-height: 240px;
  }

  .footer-tile--accent {
    grid-column: 9 / span 4;
    min-height: 240px;
  }
}

/* Subpages & Legal Documents */

.page-hero {
  background: var(--surface);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.page-hero-grid > * {
  min-width: 0;
}

@media (min-width: 880px) {
  .page-hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 3rem;
    align-items: end;
  }
}

.page-hero-lead {
  font-size: var(--step-body);
  color: var(--muted);
  max-width: 56ch;
  margin: 1rem 0 0;
}

.subnav-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: var(--step-small);
}

.subnav-bar a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}

.subnav-bar a[aria-current="page"],
.subnav-bar a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.doc-section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.doc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
}

.doc-layout > * {
  min-width: 0;
}

@media (min-width: 920px) {
  .doc-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 4rem;
    align-items: start;
  }
}

.doc-aside {
  background: var(--surface);
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
  font-size: var(--step-small);
}

.doc-aside-group {
  display: grid;
  gap: 0.2rem;
}

.doc-aside-label {
  color: var(--muted);
}

.doc-aside-value {
  font-weight: 600;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.doc-toc {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.doc-toc a {
  text-decoration: none;
  color: var(--muted);
}

.doc-toc a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.doc-prose {
  max-width: 68ch;
  min-width: 0;
}

.doc-prose h2 {
  font-size: var(--step-lead);
  margin: 2.25rem 0 0.85rem;
}

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

.doc-prose h3 {
  font-size: var(--step-body);
  margin: 1.5rem 0 0.5rem;
}

.doc-prose ul,
.doc-prose ol {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
}

.doc-prose li {
  margin-bottom: 0.55rem;
}

.doc-prose code {
  font-size: var(--step-small);
  background: var(--surface);
  padding: 0.1em 0.35em;
}

.doc-callout {
  background: var(--surface);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.trademark-footer-note {
  margin-top: 2.5rem;
  font-size: var(--step-small);
  color: var(--muted);
}

.product-brand-lockup {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.product-brand-lockup img {
  width: 56px;
  height: 56px;
}

.palette-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
}

/* Reduced Motion */

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

  .js-motion .line-inner,
  .js-motion [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .photo-drift img {
    animation: none !important;
  }
}
