:root {
  color-scheme: light;
  --bg: #f5f7fa;
  --bg-elevated: rgba(255, 255, 255, 0.92);
  --surface: #ffffff;
  --surface-soft: #edf1f6;
  --surface-strong: #111827;
  --text: #172033;
  --text-strong: #0b1220;
  --muted: #5d6878;
  --line: #d7dee8;
  --line-strong: #b8c3d1;
  --brand: #2256d8;
  --brand-hover: #1947bd;
  --brand-soft: #e8efff;
  --brand-ink: #153a96;
  --accent: #087b70;
  --accent-soft: #ddf6f1;
  --warning: #925d08;
  --warning-soft: #fff1ce;
  --danger: #b42318;
  --danger-soft: #fee9e7;
  --verified: #087b52;
  --verified-soft: #dcf7e9;
  --focus: #2f66e8;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 7px 20px rgba(16, 24, 40, 0.05);
  --shadow-lg: 0 24px 64px rgba(16, 24, 40, 0.12);
  --radius-sm: 0.55rem;
  --radius: 0.9rem;
  --radius-lg: 1.3rem;
  --radius-md: var(--radius);
  --content: 74rem;
  --reading: 47rem;
  --page-gutter: clamp(32px, 4vw, 48px);
  --page-gutter-compact: clamp(24px, 4vw, 32px);
  --sticky-content-offset: 8rem;
  --mobile-dock-offset: 0px;
  --text-muted: var(--muted);
  --surface-subtle: var(--surface-soft);
  --brand-solid: var(--brand);
  --success-solid: var(--verified);
  --warning-solid: var(--warning);
  --danger-solid: var(--danger);
  --digital-solid: #5a55d6;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d131c;
  --bg-elevated: rgba(15, 22, 32, 0.92);
  --surface: #151e2a;
  --surface-soft: #1b2735;
  --surface-strong: #edf3fb;
  --text: #dce5f0;
  --text-strong: #f7faff;
  --muted: #a3b0c1;
  --line: #2d3a49;
  --line-strong: #465568;
  --brand: #81a5ff;
  --brand-hover: #a6beff;
  --brand-soft: #1b3160;
  --brand-ink: #c4d4ff;
  --accent: #65d5c5;
  --accent-soft: #153b38;
  --warning: #f4c76d;
  --warning-soft: #3d3018;
  --danger: #ff9189;
  --danger-soft: #482220;
  --verified: #69dba9;
  --verified-soft: #153b2d;
  --focus: #9ab6ff;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.22), 0 8px 24px rgba(0, 0, 0, 0.18);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.34);
  --digital-solid: #aaa4ff;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--sticky-content-offset);
}

body {
  margin: 0;
  min-width: 0;
  background:
    radial-gradient(circle at 88% -12%, color-mix(in srgb, var(--brand) 11%, transparent), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

body.nav-open {
  overflow: hidden;
}

body.video-overlay-open {
  overflow: hidden;
}

a {
  color: var(--brand-ink);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brand-hover);
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.8rem;
  left: 0.8rem;
  transform: translateY(-150%);
  border-radius: var(--radius-sm);
  background: var(--surface-strong);
  color: var(--bg);
  padding: 0.65rem 0.9rem;
  font-weight: 800;
}

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

.header-shell {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  background: var(--bg-elevated);
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.02);
  backdrop-filter: blur(18px) saturate(140%);
}

.site-header {
  display: flex;
  min-height: 4.5rem;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  align-items: center;
  gap: 0.8rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(8px, 0.65rem, 12px);
  color: var(--text-strong);
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: clamp(34px, 2.15rem, 44px);
  height: clamp(34px, 2.15rem, 44px);
  border-radius: 0.65rem;
  overflow: hidden;
  background: #e60012;
  box-shadow: 0 0 0 1px color-mix(in srgb, #e60012 28%, var(--line));
}

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

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: clamp(15px, 0.98rem, 20px);
  letter-spacing: 0.01em;
}

.brand-copy small {
  margin-top: clamp(2px, 0.2rem, 4px);
  color: var(--muted);
  font-size: clamp(10px, 0.68rem, 13px);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.header-search {
  display: flex;
  width: min(24rem, 28vw);
  min-width: 13rem;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  align-items: center;
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.header-search-row {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: stretch;
  gap: 0.55rem;
}

.header-search-row .header-search {
  flex: 1 1 auto;
}

.header-search .header-advanced-search {
  min-height: clamp(44px, 2.75rem, 56px);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--surface);
  color: var(--text-strong);
  padding: clamp(8px, 0.55rem, 12px) clamp(12px, 0.9rem, 18px);
  font-size: clamp(13px, 0.8rem, 17px);
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  text-wrap: balance;
  white-space: normal;
}

.header-search .header-advanced-search:hover,
.header-search .header-advanced-search:focus-visible {
  border-color: var(--line-strong);
  background: var(--surface-soft);
  color: var(--text-strong);
}

.market-search {
  border-radius: 0.75rem;
}

.header-search:focus-within {
  border-color: var(--focus);
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.header-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-strong);
  padding: clamp(10px, 0.68rem, 16px) clamp(4px, 0.25rem, 8px) clamp(10px, 0.68rem, 16px) clamp(12px, 0.9rem, 18px);
  font: inherit;
  font-size: clamp(14px, 0.84rem, 20px);
}

.header-search input::placeholder {
  color: var(--muted);
}

.header-search button {
  min-height: clamp(44px, 2.75rem, 56px);
  margin: clamp(3px, 0.2rem, 5px);
  border: 0;
  border-radius: 0.55rem;
  background: var(--surface-strong);
  color: var(--bg);
  padding: clamp(6px, 0.4rem, 10px) clamp(10px, 0.72rem, 16px);
  font: inherit;
  font-size: clamp(13px, 0.75rem, 17px);
  font-weight: 800;
  cursor: pointer;
}

.market-search button {
  border: 0;
  border-radius: 0.55rem;
  background: var(--surface-strong);
  color: var(--bg);
  font-weight: 800;
  cursor: pointer;
}

.primary-nav {
  display: flex;
  margin-left: 0;
  align-items: center;
  gap: 0.15rem;
}

.primary-nav a,
.account-link {
  border-radius: var(--radius-sm);
  color: var(--muted);
  padding: clamp(7px, 0.48rem, 10px) clamp(9px, 0.65rem, 12px);
  font-size: clamp(14px, 0.88rem, 18px);
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: var(--surface-soft);
  color: var(--text-strong);
}

.account-link {
  border: 1px solid var(--line);
  background: var(--surface);
}

.account-link:hover {
  border-color: var(--line-strong);
  color: var(--text-strong);
}

.nav-toggle {
  display: none;
  width: clamp(44px, 2.75rem, 56px);
  height: clamp(44px, 2.75rem, 56px);
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  place-items: center;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 1.12rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle-lines::before {
  transform: translateY(-0.35rem);
}

.nav-toggle-lines::after {
  transform: translateY(0.23rem);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
  transform: translateY(0) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
  transform: translateY(-2px) rotate(-45deg);
}

.mobile-dock {
  display: none;
}

.site-header.canonical-header {
  display: grid;
  width: min(calc(100% - var(--page-gutter)), var(--content));
  min-height: clamp(112px, 7rem, 144px);
  max-width: var(--content);
  padding: clamp(8px, 0.65rem, 12px) 0;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  grid-template-areas:
    "brand navigation utilities theme"
    "search search search search";
  column-gap: clamp(8px, 0.7rem, 14px);
  row-gap: clamp(6px, 0.55rem, 10px);
}

.canonical-header .brand {
  grid-area: brand;
}

.canonical-header .header-search-row {
  min-width: 0;
  grid-area: search;
}

.canonical-header .header-search {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  justify-self: stretch;
}

.canonical-header .canonical-nav {
  width: auto;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border-top: 0;
  justify-content: safe center;
  grid-area: navigation;
  overflow-x: auto;
  scrollbar-width: thin;
}

.canonical-header .header-utilities {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  grid-area: utilities;
}

.canonical-header .cart-link {
  display: inline-flex;
  min-height: clamp(44px, 2.75rem, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-strong);
  padding: clamp(7px, 0.42rem, 10px) clamp(9px, 0.58rem, 12px);
  align-items: center;
  gap: clamp(5px, 0.38rem, 8px);
  font-size: clamp(13px, 0.82rem, 17px);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.canonical-header .cart-link:hover,
.canonical-header .cart-link[aria-current="page"] {
  border-color: var(--line-strong);
  background: var(--surface-soft);
  color: var(--text-strong);
}

.canonical-header .cart-count {
  display: grid;
  min-width: clamp(22px, 1.35rem, 28px);
  height: clamp(22px, 1.35rem, 28px);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--bg);
  place-items: center;
  font-size: clamp(11px, 0.7rem, 14px);
}

.canonical-header .theme-control {
  margin: 0;
  grid-area: theme;
}

.canonical-header .nav-toggle {
  grid-area: toggle;
}

.theme-control {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: clamp(44px, 2.75rem, 56px);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: clamp(3px, 0.2rem, 5px);
  align-items: center;
  gap: 0.15rem;
}

.theme-control-indicator,
.theme-control-label {
  display: none;
}

.theme-control-options {
  display: inline-flex;
  gap: 0.08rem;
}

.theme-control-choice {
  min-height: clamp(30px, 1.85rem, 40px);
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: clamp(3px, 0.18rem, 5px) clamp(7px, 0.5rem, 11px);
  font-size: clamp(12px, 0.7rem, 15px);
  font-weight: 800;
  cursor: pointer;
}

.theme-control-choice[data-theme-choice="system"] {
  min-width: clamp(78px, 6.15rem, 110px);
}

.theme-auto-resolution::after {
  content: " (Light)";
}

html[data-theme="dark"] .theme-auto-resolution::after {
  content: " (Dark)";
}

.theme-control-choice:hover {
  color: var(--text-strong);
}

.theme-control-choice[aria-pressed="true"] {
  background: var(--surface-strong);
  color: var(--bg);
}

.page-shell {
  width: min(calc(100% - var(--page-gutter)), var(--content));
  margin: 0 auto;
}

.launch-preview-disclosure {
  width: min(calc(100% - var(--page-gutter)), var(--content));
  margin: 0.45rem auto 0;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-soft) 34%, var(--surface));
  color: var(--muted);
  padding: 0.38rem 0.8rem;
  font-size: 0.72rem;
  line-height: 1.35;
  text-align: center;
}

.launch-preview-disclosure strong {
  color: var(--text-strong);
}

main {
  min-height: calc(100vh - 13rem);
}

.hero {
  display: grid;
  padding: clamp(60px, 8vw, 112px) 0 clamp(48px, 7vw, 88px);
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
  grid-template-columns: minmax(0, 1.16fr) minmax(20rem, 0.84fr);
}

.eyebrow {
  display: inline-flex;
  max-width: 100%;
  margin: 0 0 clamp(12px, 1rem, 18px);
  color: var(--brand-ink);
  align-items: center;
  gap: clamp(7px, 0.55rem, 10px);
  flex-wrap: wrap;
  font-size: clamp(12px, 0.75rem, 15px);
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-wrap: balance;
  text-transform: uppercase;
}

.eyebrow::before {
  width: clamp(8px, 0.55rem, 10px);
  height: clamp(8px, 0.55rem, 10px);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 clamp(3px, 0.25rem, 5px) var(--accent-soft);
  content: "";
}

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

h1,
h2,
h3 {
  color: var(--text-strong);
  line-height: 1.12;
  text-wrap: balance;
  overflow-wrap: normal;
  hyphens: none;
}

.hero-lead,
.page-intro,
.storefront-page-head > p,
.storefront-section-heading > p,
.section-heading > p,
.card p,
.notice,
.boundary-note,
.launch-preview-disclosure {
  text-wrap: pretty;
}

h1 {
  max-width: 15ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.55rem, 6vw, 5.35rem);
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(1.75rem, 3.2vw, 3rem);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
}

.hero-lead,
.page-intro {
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.hero-actions,
.button-row {
  display: flex;
  margin-top: 1.75rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button,
button.button {
  display: inline-flex;
  max-width: 100%;
  min-height: clamp(46px, 2.85rem, 64px);
  border: 1px solid transparent;
  border-radius: 0.72rem;
  background: var(--brand);
  color: white;
  padding: clamp(10px, 0.68rem, 14px) clamp(14px, 1rem, 20px);
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 0.5rem, 10px);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

html[data-theme="dark"] .button,
html[data-theme="dark"] button.button {
  color: #0d1830;
}

.button:hover,
button.button:hover {
  background: var(--brand-hover);
  color: white;
  transform: translateY(-1px);
}

html[data-theme="dark"] .button:hover,
html[data-theme="dark"] button.button:hover {
  color: #091123;
}

.button.secondary {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--text-strong);
}

.button.secondary:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-ink);
}

html[data-theme="dark"] .button.secondary,
html[data-theme="dark"] button.button.secondary {
  color: var(--text-strong);
}

html[data-theme="dark"] .button.secondary:hover,
html[data-theme="dark"] button.button.secondary:hover {
  color: var(--brand-ink);
}

.button.small {
  min-height: 2.35rem;
  padding: 0.48rem 0.75rem;
  font-size: 0.86rem;
}

.button:disabled,
button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.hero-proof {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.hero-proof::before {
  display: block;
  height: 0.35rem;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  content: "";
}

.proof-heading {
  padding: 1.4rem 1.4rem 0.35rem;
}

.proof-heading p {
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.proof-heading h2 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

.proof-list {
  margin: 0;
  padding: 0.8rem 1.4rem 1.45rem;
  list-style: none;
}

.proof-list li {
  display: grid;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 0.25rem 0.8rem;
  grid-template-columns: 1.2rem 1fr auto;
}

.proof-list li:last-child {
  border-bottom: 0;
}

.proof-check {
  display: grid;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--verified-soft);
  color: var(--verified);
  place-items: center;
  font-size: 0.75rem;
  font-weight: 900;
}

.proof-list strong {
  color: var(--text-strong);
  font-size: 0.93rem;
}

.proof-list small {
  color: var(--muted);
  font-size: 0.74rem;
}

.status-pill {
  display: inline-flex;
  width: fit-content;
  border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  padding: 0.28rem 0.55rem;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 830;
  line-height: 1.15;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
}

.status-pill[data-tone="verified"],
.status-pill.is-defined {
  background: var(--verified-soft);
  color: var(--verified);
}

.status-pill[data-tone="warning"],
.status-pill.is-gated {
  background: var(--warning-soft);
  color: var(--warning);
}

.status-pill[data-tone="danger"] {
  background: var(--danger-soft);
  color: var(--danger);
}

.section {
  padding: clamp(56px, 7vw, 104px) 0;
  border-top: 1px solid var(--line);
}

.section.soft {
  position: relative;
}

.section.soft::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: color-mix(in srgb, var(--surface-soft) 66%, transparent);
  content: "";
}

.section-heading {
  display: grid;
  margin-bottom: clamp(28px, 2.2rem, 40px);
  align-items: end;
  gap: clamp(16px, 1rem, 24px) clamp(24px, 3rem, 48px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, clamp(280px, 18rem, 440px)), 1fr));
}

.section-heading > *,
.card-grid > *,
.card,
.flow-list,
.flow-list li,
.flow-list li > * {
  min-width: 0;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.system-map {
  display: grid;
  align-items: stretch;
  gap: 0.8rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.system-node {
  position: relative;
  min-height: 13.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem;
}

.system-node-number {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  border-radius: 0.6rem;
  background: var(--brand-soft);
  color: var(--brand-ink);
  place-items: center;
  font-size: 0.8rem;
  font-weight: 900;
}

.system-node p,
.card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.system-node ul,
.check-list,
.plain-list {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.system-node li,
.check-list li {
  position: relative;
  margin-top: 0.45rem;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.system-node li::before,
.check-list li::before {
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.card-grid {
  display: grid;
  gap: clamp(16px, 1rem, 24px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: clamp(18px, 1.25rem, 28px);
}

.card-kicker {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--brand-ink);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.card-footer {
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.text-link {
  font-size: 0.9rem;
  font-weight: 800;
}

.boundary-note,
.notice {
  border: 1px solid var(--line);
  border-left: 0.28rem solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--muted);
  padding: 1rem 1.1rem;
}

.boundary-note strong,
.notice strong {
  color: var(--text-strong);
}

.page-hero {
  padding: clamp(36px, 4.5vw, 64px) 0 clamp(32px, 4vw, 52px);
}

.page-hero h1 {
  max-width: 19ch;
  font-size: clamp(2.25rem, 4.4vw, 4rem);
  line-height: 1.04;
}

.page-meta {
  display: flex;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.marketplace-panel {
  overflow: hidden;
  margin-bottom: clamp(3rem, 7vw, 6rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.marketplace-toolbar {
  padding: 1.15rem;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-soft) 64%, var(--surface));
}

.marketplace-toolbar-top {
  display: flex;
  margin-bottom: 0.9rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.marketplace-toolbar-top p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.catalog-search {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.catalog-search input,
.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 0.7rem;
  background: var(--bg);
  color: var(--text-strong);
  padding: clamp(10px, 0.72rem, 14px) clamp(10px, 0.82rem, 14px);
  font-size: clamp(16px, 1rem, 22px);
}

.catalog-search input {
  min-height: 2.85rem;
}

.catalog-search input:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.catalog-search input::placeholder,
.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 80%, transparent);
}

.catalog-stage {
  min-height: 24rem;
  padding: clamp(1.2rem, 4vw, 2rem);
}

.catalog-state {
  display: grid;
  min-height: 20rem;
  padding: 2rem;
  text-align: center;
  place-items: center;
}

.catalog-state-inner {
  max-width: 34rem;
}

.state-symbol {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.15rem;
  border-radius: 1rem;
  background: var(--warning-soft);
  color: var(--warning);
  place-items: center;
  font-size: 1.35rem;
  font-weight: 900;
}

.state-symbol.is-loading {
  border: 3px solid var(--line);
  border-top-color: var(--brand);
  border-radius: 50%;
  background: transparent;
  animation: spin 850ms linear infinite;
}

.catalog-state h2 {
  font-size: 1.55rem;
}

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

.catalog-state .button {
  margin-top: 0.5rem;
}

.catalog-summary {
  display: flex;
  margin-bottom: 1rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.catalog-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.listing-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.listing-media {
  display: grid;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--brand-soft) 76%, var(--surface)), var(--surface-soft));
  color: var(--muted);
  place-items: center;
  font-size: 0.78rem;
  font-weight: 750;
}

.listing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-body {
  padding: 1rem;
}

.listing-body h3 {
  overflow: hidden;
  display: -webkit-box;
  min-height: 2.4em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.listing-price {
  margin: 0.75rem 0 0;
  color: var(--text-strong);
  font-size: 1.15rem;
  font-weight: 850;
}

.listing-status {
  margin-top: 0.65rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.readiness-table-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.readiness-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.readiness-table th,
.readiness-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

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

.readiness-table th {
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.readiness-table td {
  color: var(--muted);
  font-size: 0.86rem;
}

.readiness-table td:first-child {
  color: var(--text-strong);
  font-weight: 800;
}

.flow-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: clamp(16px, 1rem, 24px);
  list-style: none;
  counter-reset: flow;
}

.flow-list li {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: clamp(16px, 1.1rem, 24px);
  align-items: start;
  gap: clamp(12px, 0.9rem, 20px);
  grid-template-columns: clamp(32px, 2rem, 44px) minmax(0, 1fr);
  counter-increment: flow;
}

.flow-list li::before {
  display: grid;
  width: clamp(32px, 2rem, 44px);
  height: clamp(32px, 2rem, 44px);
  border-radius: 0.65rem;
  background: var(--brand-soft);
  color: var(--brand-ink);
  content: counter(flow);
  place-items: center;
  font-size: 0.78rem;
  font-weight: 900;
}

.flow-list p {
  margin: 0.28rem 0 0;
  color: var(--muted);
  font-size: clamp(15px, 0.88rem, 24px);
}

.timeline {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem;
}

.timeline-step::before {
  position: absolute;
  top: 0;
  right: 1.25rem;
  left: 1.25rem;
  height: 0.2rem;
  border-radius: 0 0 999px 999px;
  background: var(--brand);
  content: "";
}

.timeline-range {
  display: block;
  margin-bottom: 1rem;
  color: var(--brand-ink);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.timeline-step p,
.timeline-step li {
  color: var(--muted);
  font-size: 0.86rem;
}

.timeline-step ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
}

.exit-check {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.exit-check strong {
  color: var(--text-strong);
  font-size: 0.78rem;
}

.contact-layout {
  display: grid;
  margin-bottom: clamp(3rem, 7vw, 6rem);
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(16rem, 0.62fr) minmax(0, 1fr);
}

.contact-context {
  position: sticky;
  top: var(--sticky-content-offset);
}

.contact-context p,
.contact-context li {
  color: var(--muted);
}

.contact-context ul {
  padding-left: 1.15rem;
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.25rem, 4vw, 2rem);
}

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

.contact-field {
  min-width: 0;
}

.contact-field.is-wide {
  grid-column: 1 / -1;
}

.contact-field label {
  display: inline-block;
  margin-bottom: 0.4rem;
  color: var(--text-strong);
  font-size: 0.86rem;
  font-weight: 800;
}

.contact-field textarea {
  min-height: 10rem;
  resize: vertical;
}

.contact-field [aria-invalid="true"] {
  border-color: var(--danger);
  background: var(--danger-soft);
}

.contact-field-meta {
  display: flex;
  min-height: 1.4rem;
  margin-top: 0.28rem;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.contact-field-meta small,
.contact-error {
  color: var(--muted);
  font-size: 0.74rem;
}

.contact-error:not(:empty) {
  color: var(--danger);
  font-weight: 750;
}

.contact-form-footer {
  display: flex;
  margin-top: 1.2rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.contact-form-footer p {
  max-width: 22rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.contact-form-status {
  min-height: 1.5rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.contact-form-status.is-error {
  color: var(--danger);
}

.contact-form-status.is-success {
  color: var(--verified);
}

.cta-panel {
  display: grid;
  overflow: hidden;
  margin: 0 0 clamp(3.5rem, 7vw, 6.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--brand-soft) 76%, var(--surface)), var(--surface));
  padding: clamp(1.5rem, 5vw, 3rem);
  align-items: center;
  gap: 1.5rem 3rem;
  grid-template-columns: 1fr auto;
}

.cta-panel h2 {
  max-width: 18ch;
  margin-bottom: 0.6rem;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.cta-panel p {
  max-width: 42rem;
  margin: 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 62%, transparent);
}

.footer-inner {
  display: grid;
  width: min(calc(100% - var(--page-gutter)), var(--content));
  margin: 0 auto;
  padding: 2.3rem 0;
  align-items: center;
  gap: 1rem 2rem;
  grid-template-columns: 1fr auto;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
}

.canonical-footer-grid {
  align-items: start;
  padding: 3rem 0 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: clamp(1.25rem, 2vw, 2rem);
}

.canonical-footer-intro {
  display: grid;
  max-width: 24rem;
  gap: 0.75rem;
}

.canonical-footer-intro .brand {
  width: max-content;
}

.canonical-footer-intro p {
  line-height: 1.55;
}

.canonical-footer-intro .footer-availability {
  font-size: 0.72rem;
}

.canonical-footer-section {
  display: grid;
  align-content: start;
  gap: 0.52rem;
}

.canonical-footer-section strong {
  margin-bottom: 0.2rem;
  color: var(--text-strong);
  font-size: 0.78rem;
}

.canonical-footer-section a {
  color: var(--muted);
  font-size: 0.76rem;
  text-decoration: none;
}

.canonical-footer-section a:hover,
.canonical-footer-section a[aria-current="page"] {
  color: var(--text-strong);
}

.canonical-footer-bottom {
  display: flex;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  grid-column: 1 / -1;
}

.canonical-footer-bottom p {
  font-size: 0.72rem;
}

@media (min-width: 30rem) {
  .canonical-footer-intro {
    grid-column: 1 / -1;
  }
}

.copyright-trigger {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  font-size: inherit;
  cursor: pointer;
}

.copyright-trigger:hover {
  color: var(--text-strong);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.video-overlay[hidden] {
  display: none;
}

.video-overlay {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  background: rgba(3, 8, 16, 0.84);
  padding: 1.25rem;
  place-items: center;
  backdrop-filter: blur(9px);
}

.video-overlay-panel {
  width: min(58rem, 100%);
  max-height: calc(100vh - 2.5rem);
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  padding: 1.2rem;
}

.video-overlay-close {
  float: right;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  padding: 0.45rem 0.7rem;
  font-weight: 800;
  cursor: pointer;
}

.video-overlay-panel h2 {
  margin: 0 5rem 1rem 0;
  font-size: 1.3rem;
}

.video-overlay-player {
  width: 100%;
  max-height: 70vh;
  border-radius: var(--radius);
  background: #000;
}

.video-overlay-description {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.not-found {
  display: grid;
  min-height: calc(100vh - 12rem);
  padding: 4rem 0;
  place-items: center;
  text-align: center;
}

.not-found-inner {
  max-width: 38rem;
}

.not-found h1 {
  margin-right: auto;
  margin-left: auto;
}

.not-found-code {
  display: block;
  margin-bottom: 1rem;
  color: var(--brand-ink);
  font-size: clamp(4.5rem, 18vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.85;
}

@media (max-width: 68rem) {
  .canonical-footer-bottom {
    grid-column: 1 / -1;
  }

  .site-header {
    flex-wrap: wrap;
  }

  .site-header.canonical-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-areas:
      "brand utilities theme toggle"
      "search search search search"
      "navigation navigation navigation navigation";
    row-gap: 0.4rem;
  }

  .nav-toggle {
    display: grid;
  }

  .header-search {
    width: min(24rem, 38vw);
    margin-left: auto;
  }

  .primary-nav {
    display: none;
    width: 100%;
    margin: 0;
    padding: 0.45rem 0 0.25rem;
    border-top: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    order: 10;
  }

  .primary-nav.is-open {
    display: flex;
    max-height: min(50dvh, 24rem);
    overflow-y: auto;
  }

  .primary-nav a {
    min-height: 2.8rem;
    padding: 0.65rem 0.8rem;
  }

  .theme-control {
    margin-left: 0;
  }

  .account-link {
    display: none;
  }

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

  .hero-copy {
    max-width: 48rem;
  }

  .hero-proof {
    max-width: 42rem;
  }

  .system-map,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .system-node:nth-child(2)::after {
    display: none;
  }

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

@media (min-width: 68.001rem) and (max-width: 82rem) {
  .canonical-header .theme-auto-resolution::after {
    content: "";
  }

  .canonical-header .theme-control-choice[data-theme-choice="system"] {
    min-width: clamp(72px, 4.5rem, 82px);
  }

  .canonical-header .primary-nav {
    gap: 0;
  }

  .canonical-header .primary-nav a {
    padding-right: clamp(8px, 0.5rem, 10px);
    padding-left: clamp(8px, 0.5rem, 10px);
    font-size: clamp(13px, 0.82rem, 16px);
  }
}

@media (max-width: 52rem) {
  .site-header.canonical-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "brand utilities toggle"
      "search search search"
      "theme theme theme"
      "navigation navigation navigation";
    row-gap: 0.4rem;
  }

  .canonical-header .theme-control {
    width: fit-content;
    max-width: 100%;
    justify-self: start;
  }

  .canonical-header .header-search {
    width: 100%;
    max-width: none;
    min-width: 0;
  }
}

@media (max-width: 46rem) {
  body {
    padding-bottom: calc(var(--mobile-dock-offset, 4.7rem) + 0.75rem);
  }

  .launch-preview-disclosure {
    width: calc(100% - 1rem);
    margin-top: 0.35rem;
    border-radius: 0.7rem;
    padding: clamp(7px, 0.45rem, 10px) clamp(10px, 0.65rem, 14px);
    font-size: clamp(12px, 0.69rem, 16px);
    text-align: left;
  }

  .site-header {
    min-height: 4.1rem;
    padding-top: max(0.65rem, env(safe-area-inset-top));
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .site-header.canonical-header {
    width: min(calc(100% - var(--page-gutter-compact)), var(--content));
    min-height: 0;
    padding-right: 0;
    padding-left: 0;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "brand utilities toggle"
      "search search search"
      "theme theme theme"
      "navigation navigation navigation";
    row-gap: 0.4rem;
  }

  .brand-copy small {
    display: none;
  }

  .header-search {
    display: none;
  }

  .canonical-header .header-search {
    display: flex;
  }

  .header-search-row {
    gap: 0.4rem;
  }

  .header-search .header-advanced-search {
    padding-right: 0.7rem;
    padding-left: 0.7rem;
    font-size: 0.74rem;
  }

  .canonical-header .theme-control-choice[data-theme-choice="system"] {
    display: inline-block;
    min-width: clamp(44px, 2.8rem, 72px);
  }

  .canonical-header .theme-auto-resolution {
    display: none;
  }

  .mobile-dock {
    position: fixed;
    z-index: 120;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    min-height: calc(clamp(66px, 4.15rem, 82px) + env(safe-area-inset-bottom));
    padding: clamp(5px, 0.35rem, 8px) clamp(6px, 0.45rem, 10px) max(clamp(5px, 0.35rem, 8px), env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: color-mix(in srgb, var(--bg-elevated) 94%, transparent);
    box-shadow: 0 -8px 28px rgba(16, 24, 40, 0.08);
    backdrop-filter: blur(18px) saturate(150%);
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .mobile-dock-link {
    display: grid;
    min-width: 0;
    min-height: clamp(54px, 3.4rem, 68px);
    border-radius: 0.75rem;
    color: var(--muted);
    place-content: center;
    justify-items: center;
    gap: 0;
    font-size: clamp(12px, 0.72rem, 16px);
    font-weight: 760;
    line-height: 1.2;
    padding-inline: clamp(2px, 0.15rem, 4px);
    text-align: center;
    overflow-wrap: normal;
    white-space: nowrap;
    text-decoration: none;
  }

  .mobile-dock-link:hover,
  .mobile-dock-link[aria-current="page"] {
    background: var(--surface-soft);
    color: var(--text-strong);
  }

  .theme-control-choice {
    padding-right: 0.42rem;
    padding-left: 0.42rem;
    font-size: 0.66rem;
  }

  .page-shell,
  .footer-inner {
    width: min(calc(100% - var(--page-gutter-compact)), var(--content));
  }

  .hero,
  .page-hero {
    padding-top: 2.4rem;
  }

  h1 {
    max-width: none;
    font-size: clamp(34px, 2.2rem, 50px);
    letter-spacing: -0.045em;
    line-height: 1.06;
  }

  .page-hero h1 {
    font-size: clamp(34px, 2.25rem, 50px);
  }

  h2 {
    font-size: clamp(28px, 1.75rem, 48px);
  }

  h3,
  .flow-list strong {
    font-size: clamp(18px, 1.08rem, 28px);
  }

  .hero,
  .page-hero {
    padding-top: clamp(36px, 2.4rem, 48px);
  }

  .section-heading,
  .contact-layout,
  .cta-panel,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .contact-context {
    position: static;
  }

  .card-grid,
  .card-grid.two,
  .system-map,
  .timeline,
  .listing-grid,
  .contact-field-grid {
    grid-template-columns: 1fr;
  }

  .system-node {
    min-height: 0;
  }

  .proof-list li {
    grid-template-columns: 1.2rem 1fr;
  }

  .proof-list .status-pill {
    grid-column: 2;
  }

  .catalog-search {
    grid-template-columns: 1fr;
  }

  .catalog-search .button {
    width: 100%;
  }

  .marketplace-toolbar-top,
  .contact-form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .readiness-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .readiness-table,
  .readiness-table tbody,
  .readiness-table tr,
  .readiness-table td {
    display: block;
    width: 100%;
  }

  .readiness-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .readiness-table tr {
    margin-bottom: 0.8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    padding: 0.4rem 1rem;
  }

  .readiness-table td,
  .readiness-table tr:last-child td {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--line);
  }

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

  .readiness-table td::before {
    display: block;
    margin-bottom: 0.18rem;
    color: var(--muted);
    content: attr(data-label);
    font-size: 0.66rem;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }

  .cta-panel .button {
    width: 100%;
  }

  .footer-inner {
    padding-bottom: max(2.3rem, calc(1.2rem + env(safe-area-inset-bottom)));
  }
}

@media (max-width: 26rem) {
  .site-header.canonical-header {
    padding-top: max(8px, env(safe-area-inset-top));
    padding-bottom: 8px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "brand utilities toggle"
      "search search search"
      "theme theme theme"
      "navigation navigation navigation";
    row-gap: 0.3rem;
  }

  .canonical-header .brand-copy {
    display: grid;
  }

  .canonical-header .brand-copy small {
    display: none;
  }

  .canonical-header .brand {
    gap: 8px;
  }

  .canonical-header .brand-mark {
    width: clamp(34px, 2.15rem, 44px);
    height: clamp(34px, 2.15rem, 44px);
    flex: 0 0 auto;
  }

  .canonical-header .brand-copy strong {
    font-size: clamp(15px, 0.98rem, 24px);
  }

  .canonical-header .theme-control {
    width: fit-content;
    max-width: 100%;
    justify-self: start;
  }

  .canonical-header .header-search {
    display: flex;
    flex-wrap: wrap;
    overflow: visible;
  }

  .canonical-header .header-search .header-advanced-search {
    display: inline-flex;
    width: auto;
    margin: clamp(3px, 0.2rem, 5px) clamp(3px, 0.2rem, 5px) clamp(3px, 0.2rem, 5px) 0;
    padding-right: clamp(9px, 0.55rem, 12px);
    padding-left: clamp(9px, 0.55rem, 12px);
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
  }

  .canonical-header .header-search input {
    width: auto;
    min-width: 0;
    flex: 1 1 3rem;
  }

  .canonical-header .header-search > button {
    flex: 0 0 auto;
  }

  .canonical-header .theme-control {
    min-height: clamp(40px, 2.5rem, 50px);
  }
}

@media (max-width: 20rem) {
  .canonical-header .brand-copy {
    display: none;
  }
}

@media (max-width: 24rem) {
  .site-header.canonical-header {
    padding-right: 0;
    padding-left: 0;
    column-gap: 0.4rem;
  }

  .canonical-header .theme-control-choice {
    padding-right: 0.35rem;
    padding-left: 0.35rem;
  }

  .canonical-header .theme-control-choice[data-theme-choice="system"] {
    min-width: 2.55rem;
  }

  .header-search input {
    padding-left: 0.65rem;
    font-size: 0.8rem;
  }

  .header-search button,
  .header-search .header-advanced-search {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    font-size: 0.69rem;
  }
}

@media (max-width: 30rem) {
  .canonical-footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .header-shell,
  .launch-preview-disclosure,
  .site-footer,
  .hero-actions,
  .cta-panel,
  .nav-toggle,
  .mobile-dock,
  .theme-control {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .page-shell {
    width: 100%;
  }

  .card,
  .system-node,
  .timeline-step,
  .readiness-table-wrap {
    box-shadow: none;
    break-inside: avoid;
  }
}
