:root {
  --bg: #f7fbf8;
  --surface: #ffffff;
  --surface2: #eef8f2;
  --surface3: #dff1e7;
  --text: #101614;
  --muted: #43554d;
  --soft: #6a7d74;
  --line: #cbded4;
  --primary: #087568;
  --primary2: #005c51;
  --accent: #1f9d68;
  --accent2: #c8f05b;
  --success: #15803d;
  --warn: #a15c00;
  --shadow: 0 1rem 2.5rem rgba(8, 117, 104, 0.12);
  --shadow2: 0 0.55rem 1.5rem rgba(16, 22, 20, 0.08);
  --radius: 0.5rem;
  --radius-sm: 0.35rem;
  --max: 92rem;
  --content: 68rem;
  --narrow: 62rem;
  --navh: 3.25rem;
  --fs-xs: .76rem;
  --fs-sm: .9rem;
  --fs-base: 1rem;
  --fs-md: 1.08rem;
  --fs-lg: 1.22rem;
  --fs-xl: 1.45rem;
  --fs-2xl: 1.85rem;
  --fs-3xl: 2.45rem;
  --fs-4xl: 3.35rem;
}

html[data-theme=dark] {
  --bg: #0f1513;
  --surface: #151d1a;
  --surface2: #1b2722;
  --surface3: #24342d;
  --text: #f3fbf7;
  --muted: #b2c5bc;
  --soft: #8aa099;
  --line: #2d4037;
  --primary: #5ee0c6;
  --primary2: #91ffe5;
  --accent: #8ced8a;
  --accent2: #d7ff6a;
  --shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.28);
  --shadow2: 0 0.55rem 1.5rem rgba(0, 0, 0, 0.22);
}

html[data-theme=contrast] {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface2: #ffffff;
  --surface3: #f1f1f1;
  --text: #000000;
  --muted: #111111;
  --soft: #111111;
  --line: #000000;
  --primary: #005c51;
  --primary2: #000000;
  --accent: #005c51;
  --accent2: #d7ff6a;
  --shadow: none;
  --shadow2: none;
}

* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--navh) + 1rem); overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1rem/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: inherit; transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease; }
p { max-width: 70ch; margin: 0.55rem 0 0; color: var(--muted); }
img, svg, video { max-width: 100%; height: auto; }
strong { color: var(--text); font-weight: 750; }

.wrap { width: min(var(--max), calc(100% - 2.25rem)); margin-inline: auto; }
.narrow { max-width: var(--narrow); margin-inline: auto; }
.section { position: relative; padding: 3rem 0; }
.section.compact { padding: 1.75rem 0; }
.section.alt { background: var(--surface2); border-block: 0.0625rem solid var(--line); }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(0.875rem);
  -webkit-backdrop-filter: blur(0.875rem);
  border-bottom: 0.0625rem solid var(--line);
  min-height: var(--navh);
  display: flex;
  align-items: center;
}
.navin { display: flex; align-items: center; gap: 0.8rem; min-height: var(--navh); width: 100%; }
.brand { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; font-weight: 800; font-size: 1.02rem; }
.mark {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--surface);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 0.82rem;
}
html[data-theme=dark] .mark { color: #0f1513; }

.links { display: flex; gap: 0.15rem; align-items: center; flex: 1; justify-content: center; }
.links a, .theme-tools button, .menu-toggle {
  border: 0;
  background: transparent;
  border-radius: 999rem;
  padding: 0.42rem 0.65rem;
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  font-size: var(--fs-xs);
  cursor: pointer;
}
.links a:hover, .links a.active, .theme-tools button:hover {
  background: var(--surface2);
  color: var(--text);
}
.theme-tools { display: flex; gap: 0.25rem; }

.theme-tools button.selected,
.theme-tools button[aria-pressed="true"] {
  background: var(--surface2);
  color: var(--text);
  box-shadow: inset 0 0 0 0.0625rem var(--line);
}

.menu-toggle { display: none; border: 0.0625rem solid var(--line); color: var(--text); }

.hero { padding: 3.4rem 0 2rem; }
.hero.center { text-align: center; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
  gap: 2rem;
  align-items: center;
}
.hero-panel {
  background: var(--surface);
  border: 0.0625rem solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22em 0.65em;
  border: 0.0625rem solid color-mix(in srgb, var(--primary) 42%, var(--line));
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  border-radius: 999rem;
  color: var(--primary);
  font-weight: 800;
  font-size: var(--fs-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

h1, h2, h3 {
  font-family: Fraunces, Georgia, 'Times New Roman', serif;
  line-height: 1.08;
  margin: 0;
  letter-spacing: 0;
  color: var(--text);
  font-weight: 620;
}
h1 { font-size: clamp(2.3rem, 5vw, var(--fs-4xl)); max-width: 13ch; }
h2 { font-size: clamp(1.65rem, 3vw, var(--fs-3xl)); }
h3 { font-size: var(--fs-lg); }
.page-title { max-width: 16ch; }
.hero.center h1, .hero.center .page-title { max-width: 15ch; margin-inline: auto; }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.28rem); line-height: 1.55; color: var(--muted); }
.hero .lead { margin-top: 1rem; max-width: 62rem; }
.hero.center .lead { margin-inline: auto; }
.hero .hero-copy {
  max-width: 34rem;
  margin-top: 1.15rem;
  font-size: clamp(1.02rem, 1.35vw, 1.15rem);
  line-height: 1.62;
  font-weight: 500;
}

.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.25rem; align-items: center; }
.hero.center .actions { justify-content: center; }
.actions.left { justify-content: flex-start; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0.68em 1.05em;
  border-radius: 999rem;
  border: 0.0625rem solid var(--line);
  background: var(--surface);
  font-weight: 800;
  font-size: var(--fs-sm);
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow2);
  cursor: pointer;
}
.btn.primary {
  background: var(--primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 0.75rem 1.8rem rgba(8, 117, 104, 0.2);
}
html[data-theme=dark] .btn.primary { color: #0f1513; }
.btn:hover { transform: translateY(-0.08rem); border-color: var(--primary); }
.btn.primary:hover { background: var(--primary2); }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; align-items: stretch; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid .card { height: 100%; }
.split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 2rem; align-items: start; }

.card {
  background: var(--surface);
  border: 0.0625rem solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
  box-shadow: var(--shadow2);
  display: flex;
  flex-direction: column;
}
.card p { font-size: var(--fs-sm); line-height: 1.55; }
.card .actions { margin-top: auto; padding-top: 1rem; justify-content: flex-start; }
.card.featured {
  border-color: color-mix(in srgb, var(--primary) 60%, var(--line));
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 9%, var(--surface)), var(--surface));
}

.tag {
  display: inline-flex;
  width: fit-content;
  padding: 0.25em 0.6em;
  border: 0.0625rem solid color-mix(in srgb, var(--primary) 45%, var(--line));
  border-radius: 999rem;
  font-size: 0.66rem;
  font-weight: 800;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  margin-bottom: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.price { display: block; margin-top: 0.5rem; font: 800 var(--fs-xl)/1 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--primary); }
.meta-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0.0625rem solid var(--line);
  background: var(--surface2);
  border-radius: 999rem;
  padding: 0.38rem 0.7rem;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 800;
}

.proof-list, .check-list, .step-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.7rem; }
.proof-list li, .check-list li, .step-list li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--muted);
}
.proof-list li::before, .check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999rem;
  background: var(--accent);
}
.step-list { counter-reset: steps; }
.step-list li { padding-left: 2.2rem; }
.step-list li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999rem;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
}
html[data-theme=dark] .step-list li::before { color: #0f1513; }

.trust-banner { padding: 2rem 0 3rem; }
.trust-banner-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  background: var(--surface);
  border: 0.0625rem solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  border-radius: var(--radius);
}
.trust-banner-text p { max-width: 64rem; font-size: var(--fs-md); }

.matrix { overflow-x: auto; border: 0.0625rem solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow2); }
table { width: 100%; border-collapse: collapse; min-width: 44rem; }
th, td { padding: 0.85rem 1rem; text-align: left; border-bottom: 0.0625rem solid var(--line); vertical-align: top; }
th { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.05em; color: var(--soft); background: var(--surface2); }
td { color: var(--muted); font-size: var(--fs-sm); }
tr:last-child td { border-bottom: 0; }

pre {
  background: var(--surface2);
  border: 0.0625rem solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin: 0;
  overflow-x: auto;
  font: 0.86rem/1.65 Consolas, 'Courier New', monospace;
  color: var(--primary2);
}

.skip-link {
  position: absolute;
  left: -999rem;
  top: 0;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  border-radius: 0 0 var(--radius) var(--radius);
}
.skip-link:focus { left: 1rem; }

.footer {
  padding: 0.9rem 0;
  border-top: 0.0625rem solid var(--line);
  color: var(--soft);
  font-size: var(--fs-sm);
  text-align: center;
  margin-top: auto;
}
.footer p, .footer div { max-width: none; margin: 0; }
.footer a { color: var(--primary); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

html[data-theme=contrast] .card,
html[data-theme=contrast] .btn,
html[data-theme=contrast] .matrix,
html[data-theme=contrast] .hero-panel,
html[data-theme=contrast] .trust-banner-inner,
html[data-theme=contrast] pre {
  border: 0.125rem solid #000;
  box-shadow: none;
  background: #fff;
}
html[data-theme=contrast] .btn.primary { background: #000; color: #fff; }
html[data-theme=contrast] .tag, html[data-theme=contrast] .pill, html[data-theme=contrast] .eyebrow { border: 0.125rem solid #000; background: #fff; color: #000; }
html[data-theme=contrast] .nav { background: #fff; border-bottom: 0.125rem solid #000; backdrop-filter: none; }
html[data-theme=contrast] .links a, html[data-theme=contrast] .theme-tools button { color: #000; }
html[data-theme=contrast] .links a.active, html[data-theme=contrast] .links a:hover { background: #f1f1f1; text-decoration: underline; }
html[data-theme=contrast] p, html[data-theme=contrast] .lead, html[data-theme=contrast] td { color: #111; }

:focus-visible { outline: 0.1875rem solid var(--primary); outline-offset: 0.125rem; border-radius: var(--radius-sm); }

@media(max-width: 58rem) {
  .wrap { width: min(var(--max), calc(100% - 1.25rem)); }
  .hero { padding: 2.2rem 0 1.2rem; }
  .hero-grid, .split, .trust-banner-inner { grid-template-columns: 1fr; }
  .grid, .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; }
  .trust-banner-inner { align-items: start; }
  .menu-toggle { display: inline-flex; }
  .links {
    display: none;
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    top: calc(var(--navh) + 0.5rem);
    background: var(--surface);
    border: 0.0625rem solid var(--line);
    border-radius: var(--radius);
    padding: 0.7rem;
    box-shadow: var(--shadow);
    justify-content: flex-start;
    align-items: stretch;
    flex-direction: column;
  }
  .links.open { display: flex; }
  .theme-tools { margin-left: auto; }
}

@media(max-width: 38rem) {
  h1 { font-size: clamp(2rem, 12vw, 2.8rem); }
  .navin { gap: 0.45rem; }
  .theme-tools button { padding-inline: 0.45rem; }
  .hero-panel, .card, .trust-banner-inner { padding: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn:hover { transform: none; }
}


/* 20260614 payment-link launch overlay */
.hero-grid.align-top { align-items: start; }
.launch-grid .card { min-height: 100%; }
.card .price + p { margin-top: 0.8rem; }
@media (min-width: 58.01rem) and (max-width: 76rem) {
  .grid.four.launch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 58.01rem) {
  .hero-grid.align-top .hero-panel { margin-top: 0.35rem; }
}


/* Customer-journey closure overlay 20260614T234500Z */
.hero.journey-hero {
  padding: 4.25rem 0 2.75rem;
  text-align: center;
}
.hero.journey-hero .wrap {
  max-width: 72rem;
}
.hero.journey-hero .page-title {
  margin-inline: auto;
  max-width: 12.5ch;
}
.hero.journey-hero .lead {
  margin-inline: auto;
  max-width: 54rem;
}
.hero-anchor {
  max-width: 48rem;
  margin: 1rem auto 0;
  color: var(--text);
  font-weight: 700;
}
.hero.journey-hero .actions,
.hero.journey-hero .meta-row {
  justify-content: center;
}
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  margin-top: 2rem;
  text-align: left;
}
.proof-strip .card { min-height: 100%; }
.product-choice-card .price { margin: .45rem 0 .2rem; display: block; }
.legal-note { font-size: var(--fs-sm); color: var(--soft); max-width: 78ch; }
.footer .wrap { display: grid; gap: .5rem; }
.footer small { color: var(--soft); font-size: var(--fs-xs); display: block; }
@media (max-width: 58rem) {
  .proof-strip { grid-template-columns: 1fr; text-align: center; }
  .hero.journey-hero { padding-top: 3rem; }
}


/* Surgical customer-journey uplift 20260614T232800Z */
.hero.journey-hero.surgical-hero {
  padding: 2.15rem 0 0.45rem;
  text-align: center;
}
.hero.journey-hero.surgical-hero .wrap {
  max-width: 68rem;
}
.hero.journey-hero.surgical-hero .page-title {
  max-width: 14.5ch;
  margin-inline: auto;
  font-size: clamp(2.45rem, 4.45vw, 3.35rem);
}
.hero.journey-hero.surgical-hero .lead {
  max-width: 50rem;
  margin-inline: auto;
}
.section.compact.product-chooser-section {
  padding-top: 0.45rem;
}
.product-chooser-section > .wrap > .eyebrow,
.product-chooser-section > .wrap > h2,
.product-chooser-section > .wrap > .lead,
.why-attessia-section > .wrap > .eyebrow,
.why-attessia-section > .wrap > h2,
.why-attessia-section > .wrap > .lead {
  text-align: center;
}
.product-chooser-section > .wrap > .lead,
.why-attessia-section > .wrap > .lead {
  margin-inline: auto;
  max-width: 58rem;
}
.product-chooser-section > .wrap,
.why-attessia-section > .wrap {
  text-align: center;
}
.product-chooser-section .launch-grid,
.why-attessia-section .proof-strip-relocated {
  text-align: left;
}
.proof-strip-relocated {
  margin-top: 1.25rem;
}
@media (min-width: 58.01rem) {
  .hero.journey-hero.surgical-hero + .product-chooser-section {
    margin-top: -0.35rem;
  }
}
@media (max-width: 58rem) {
  .hero.journey-hero.surgical-hero {
    padding: 1.75rem 0 0.45rem;
  }
  .section.compact.product-chooser-section {
    padding-top: 0.65rem;
  }
}


/* Responsive matrix tables — release closure 20260615 */
.matrix table { table-layout: auto; }
.matrix th,
.matrix td {
  overflow-wrap: anywhere;
  word-break: normal;
}
@media (max-width: 58rem) {
  .matrix {
    overflow-x: visible;
    box-shadow: var(--shadow2);
  }
  .matrix table {
    min-width: 0;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
  }
  .matrix thead {
    position: absolute;
    width: 0.0625rem;
    height: 0.0625rem;
    padding: 0;
    margin: -0.0625rem;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }
  .matrix tbody,
  .matrix tr,
  .matrix td {
    display: block;
    width: 100%;
  }
  .matrix tr {
    padding: 0.35rem 0;
    border-bottom: 0.0625rem solid var(--line);
  }
  .matrix tr:last-child { border-bottom: 0; }
  .matrix td {
    display: grid;
    grid-template-columns: minmax(7.5rem, 34%) minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    padding: 0.72rem 0.9rem;
    border-bottom: 0.0625rem solid color-mix(in srgb, var(--line) 76%, transparent);
  }
  .matrix td:last-child { border-bottom: 0; }
  .matrix td::before {
    content: attr(data-label);
    font-size: var(--fs-xs);
    line-height: 1.4;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 850;
    color: var(--soft);
  }
}
@media (max-width: 38rem) {
  .matrix td {
    grid-template-columns: 1fr;
    gap: 0.22rem;
    padding: 0.72rem 0.85rem;
  }
  .matrix td::before {
    font-size: 0.72rem;
  }
}


/* AI developer fastpath prominence — release closure 20260615 */
.ai-dev-fastpath, .ai-dev-product-callout { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.ai-dev-fastpath .card, .ai-dev-product-callout .card { max-width: 74rem; margin-inline: auto; }
.ai-dev-fastpath h2, .ai-dev-product-callout h2 { max-width: none; text-wrap: pretty; }
.ai-dev-fastpath p, .ai-dev-product-callout p { max-width: 78ch; }
@media (max-width: 58rem) {
  .ai-dev-fastpath h2, .ai-dev-product-callout h2 { max-width: 100%; }
}


/* Compliance clarity closure */
.notice-card { border: 0.0625rem solid var(--line); border-radius: var(--radius); padding: 1.1rem; background: var(--surface); box-shadow: var(--shadow2); }
.card .tag { align-self: flex-start; }

/* Institutional release polish 20260615 */
/* C1: page-hero eyebrow inherits brand-purple for visual parity with homepage */
.page-hero .eyebrow {
  color: var(--brand-purple);
}
html[data-theme=dark] .page-hero .eyebrow {
  color: var(--brand-gold);
}
html[data-theme=contrast] .page-hero .eyebrow {
  color: var(--text);
}

.page-hero {
  padding: 2.75rem 0 1.65rem;
  text-align: center;
}
.page-hero .wrap,
.page-hero .narrow {
  max-width: 76rem;
}
.page-hero .page-title,
.page-hero h1 {
  max-width: none;
  margin-inline: auto;
  text-wrap: pretty;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}
.page-hero .lead {
  max-width: 72ch;
  margin-inline: auto;
  text-wrap: pretty;
}
.hero.journey-hero.surgical-hero .page-title {
  max-width: none;
  text-wrap: pretty;
}
.hero.journey-hero.surgical-hero .lead,
.hero-anchor {
  max-width: 68rem;
}
.section.compact .wrap.narrow > h2:not(:first-child),
.section.compact .wrap.narrow > p + h2,
.section.compact .wrap.narrow > ul + h2 {
  margin-top: 1.55rem;
}
.price,
.matrix td[data-label="Price"],
.matrix th.price-column,
.pricing-table th:nth-child(2),
.pricing-table td:nth-child(2) {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  min-width: 7.5rem;
}
.anchor-target {
  display: block;
  position: relative;
  top: calc(-1 * var(--navh));
  visibility: hidden;
}
@media (min-width: 58.01rem) and (max-width: 68rem) {
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 58rem) {
  .page-hero { padding: 2rem 0 1.15rem; }
  .page-hero .page-title,
  .page-hero h1 {
    max-width: 100%;
    font-size: clamp(1.95rem, 9.5vw, 2.55rem);
  }
  .page-hero .lead { font-size: 1rem; }
}


/* Final product-page hero centering and PQC Witness clarity patch */
.products-hero,
.pqc-witness-hero {
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 0;
}

.products-hero + .section.compact {
  padding-top: 0.5rem;
}

/* Clipped top spacing balance (Trust & Verify) */
.clipped-hero {
  padding-bottom: 0;
}
.clipped-hero .lead {
  margin-bottom: 0;
}
.clipped-cards-section {
  padding-top: 0;
  margin-top: -2.8rem;
  padding-bottom: 1rem;
}
.clipped-cards-section + .section.alt {
  padding-top: 1.5rem;
}
.products-hero .hero-centered-copy,
.pqc-witness-hero .hero-centered-copy {
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.products-hero .page-title,
.products-hero .lead,
.pqc-witness-hero .page-title,
.pqc-witness-hero .lead {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ATTESSIA_RC6A1_MATRIX_RESPONSIVE_STACK_PATCH
   Root cause: the shared responsive .matrix card layout used a two-column
   label/value grid between 38rem and 58rem, squeezing table values and causing
   inappropriate column wrapping across matrix tables.
   Boundary: CSS-only candidate patch. No HTML, pricing, checkout, payment,
   email, DNS, or Nginx mutation.
*/
@media (max-width: 58rem) {
  .matrix td {
    grid-template-columns: 1fr;
    gap: 0.22rem;
  }

  .matrix td::before {
    overflow-wrap: normal;
    word-break: normal;
  }

  .matrix thead {
    display: none;
  }

  .matrix th {
    white-space: normal;
  }
}
/* RC6A.1 staging visual test — matrix table wrap correction
   Purpose: stop aggressive column text breaking caused by shared matrix table CSS.
   Scope: staging only until browser sweep passes.
*/
.matrix th,
.matrix td {
  overflow-wrap: normal;
  word-break: normal;
}

.matrix th {
  white-space: nowrap;
}

@media (max-width: 58rem) {
  .matrix td {
    grid-template-columns: 1fr;
    gap: 0.22rem;
  }

  .matrix td::before {
    overflow-wrap: normal;
    word-break: normal;
  }
}
/* RC6A.1 product page featured-callout headline hotfix
   Scope: products.html only.
   Purpose: prevent the featured Grammar C callout headline becoming an over-wrapped narrow column.
   Boundary: CSS-only; does not alter matrix tables, pricing, checkout, copy, DNS, email, or Nginx config.
*/
.products-hero + .ai-dev-product-callout .card.featured h2,
.ai-dev-product-callout[data-ai-dev-product-callout="true"] .card.featured h2 {
  max-width: none;
  width: min(100%, 42rem);
  font-size: clamp(2.1rem, 3.1vw, 3.35rem);
  line-height: 1.04;
  text-wrap: balance;
}

@media (min-width: 78rem) {
  .products-hero + .ai-dev-product-callout .card.featured h2,
  .ai-dev-product-callout[data-ai-dev-product-callout="true"] .card.featured h2 {
    width: min(100%, 56rem);
  }
}

@media (max-width: 44rem) {
  .products-hero + .ai-dev-product-callout .card.featured h2,
  .ai-dev-product-callout[data-ai-dev-product-callout="true"] .card.featured h2 {
    width: 100%;
    font-size: clamp(1.85rem, 9vw, 2.6rem);
  }
}

/* Manual commercialisation closure 20260617 */
@media (min-width: 58.01rem) {
  .navin { gap: 0.55rem; }
  .links { flex-wrap: wrap; row-gap: 0.12rem; }
  .links a { white-space: nowrap; padding-inline: 0.52rem; }
}
.request-hero .page-title { max-width: min(100%, 24ch); }
.request-hero {
  padding: 1.65rem 0 0.9rem;
}
.request-hero .page-title {
  font-size: clamp(2rem, 2.45vw, 2.75rem);
  line-height: 1.04;
}
.request-hero .lead {
  max-width: 66rem;
  font-size: clamp(0.98rem, 1.05vw, 1.08rem);
  line-height: 1.5;
}
.request-hero .actions {
  margin-top: 0.9rem;
}
.request-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(20rem, 1.22fr);
  gap: 1.5rem;
  align-items: start;
}
.brand-figure {
  margin: 0;
  border: 0.0625rem solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow2);
  overflow: hidden;
}
.brand-figure img { display: block; width: 100%; }
.manual-payment-note {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}
.manual-payment-note .notice-card {
  max-width: 78rem;
  margin-inline: auto;
  padding: 1rem;
}
.manual-payment-note .notice-card h2 { max-width: 24ch; }
.manual-payment-note .notice-card p { max-width: 78ch; }
.manual-payment-note .notice-card h2 {
  max-width: none;
  font-size: clamp(1.35rem, 1.65vw, 1.85rem);
}
#proforma-request {
  padding-top: 1.25rem;
}
.request-form { gap: 1rem; }
.request-form h3 { margin-bottom: 0.25rem; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
.form-field { display: grid; gap: 0.32rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 800;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 0.0625rem solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  padding: 0.58rem 0.7rem;
}
.form-field textarea { resize: vertical; min-height: 5.75rem; }
.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: var(--warn);
  box-shadow: 0 0 0 0.12rem color-mix(in srgb, var(--warn) 18%, transparent);
}
.checkbox-field {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.65rem;
  border: 0.0625rem solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  background: var(--surface2);
}
.checkbox-field input { width: 1.1rem; height: 1.1rem; margin-top: 0.22rem; }
.form-fallback { max-width: none; font-size: var(--fs-sm); }
.form-status {
  min-height: 1.4rem;
  color: var(--soft);
  font-weight: 750;
  font-size: var(--fs-sm);
}
.form-status.error { color: var(--warn); }
.form-status.success { color: var(--success); }
@media (max-width: 58rem) {
  .request-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .links a { white-space: normal; }
}

/* Brand asset and above-the-fold typography closure 20260617 */
@media (min-width: 72rem) {
  .hero.journey-hero.surgical-hero {
    padding: 1.6rem 0 0.35rem;
  }

  .hero.journey-hero.surgical-hero .wrap {
    max-width: min(var(--max), calc(100% - 3rem));
  }

  .hero.journey-hero.surgical-hero .page-title {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(2.35rem, 3.35vw, 4rem);
    line-height: 1.02;
  }

  .hero.journey-hero.surgical-hero .lead {
    max-width: 78rem;
    font-size: clamp(1.02rem, 1.22vw, 1.18rem);
    line-height: 1.48;
  }

  .hero-anchor {
    max-width: 88rem;
    font-size: clamp(0.95rem, 1.05vw, 1.05rem);
    line-height: 1.48;
    margin-top: 0.8rem;
  }

  .hero.journey-hero.surgical-hero .actions {
    margin-top: 1rem;
  }

  .ai-dev-fastpath {
    padding-top: 0.4rem;
    padding-bottom: 13rem;
  }

  .ai-dev-fastpath .card {
    max-width: min(92rem, calc(100% - 2.25rem));
  }

  .ai-dev-fastpath h2 {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(1.85rem, 2.15vw, 2.55rem);
    line-height: 1.04;
  }

  .ai-dev-fastpath[data-ai-dev-fastpath="true"] + .product-chooser-section {
    padding-top: 2.5rem;
  }

  .page-hero {
    padding: 2.1rem 0 1.2rem;
  }

  .page-hero .page-title,
  .page-hero h1,
  .products-hero .page-title,
  .pqc-witness-hero .page-title {
    max-width: none;
    line-height: 1.04;
  }

  .pqc-witness-hero .hero-centered-copy {
    max-width: min(var(--max), calc(100% - 3rem));
  }

  .pqc-witness-hero .page-title {
    width: 100%;
    font-size: clamp(2rem, 2.2vw, 2.6rem);
  }

  .page-hero .lead {
    max-width: 76rem;
    font-size: clamp(0.98rem, 1.12vw, 1.12rem);
    line-height: 1.48;
  }
}

@media (min-width: 58.01rem) and (max-width: 72rem) {
  .hero.journey-hero.surgical-hero .page-title,
  .ai-dev-fastpath h2,
  .page-hero .page-title,
  .page-hero h1 {
    max-width: 100%;
    line-height: 1.05;
  }
}

/* Request page scale correction 20260617 */
.page-hero.request-hero {
  padding: 1.25rem 0 0.75rem;
}

.page-hero.request-hero .page-title {
  max-width: min(100%, 42ch);
  line-height: 1.04;
  white-space: normal;
}

.page-hero.request-hero .lead {
  max-width: 64rem;
  font-size: clamp(0.96rem, 1vw, 1.05rem);
  line-height: 1.48;
}

.page-hero.request-hero .actions {
  margin-top: 0.8rem;
}

.request-form.card {
  padding: 1rem;
}

@media (max-width: 58rem) {
  .page-hero.request-hero {
    padding: 1.35rem 0 0.8rem;
  }
}

/* Homepage first-viewport separation 20260617 */
@media (min-width: 72rem) {
  .ai-dev-fastpath[data-ai-dev-fastpath="true"] {
    padding-bottom: 3rem;
  }

  .ai-dev-fastpath[data-ai-dev-fastpath="true"] + .product-chooser-section {
    padding-top: 2.5rem;
  }
}


/* CANONICAL_PROFORMA_RC6_TEXT_WRAP_PRESERVATION
   Surgical transplant from the repaired institutional line into the canonical
   proforma/quote site. Keeps desktop copy compact without reintroducing
   horizontal overflow. Normal prose/cards/headings use natural wrapping;
   technical long strings and table cells remain safe. */
h1, h2, h3, h4, .page-title {
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: pretty;
}
.page-hero .page-title,
.page-hero h1 {
  max-width: none;
  text-wrap: pretty;
  font-size: clamp(1.8rem, 3vw, 2.25rem);
}
.ai-dev-fastpath h2,
.ai-dev-product-callout h2 {
  max-width: none;
  text-wrap: pretty;
}
.ai-dev-product-callout .card h2 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}
.section .wrap.narrow h2 {
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 750;
  text-wrap: balance;
}
p, li, .card, .lead, .notice-card, .request-form {
  overflow-wrap: normal;
  word-break: normal;
}
code, pre, .hash, .token, .url, .mono, .evidence-id, .manifest-path,
.technical-detail, .payment-reference {
  overflow-wrap: anywhere;
  word-break: normal;
}
.btn, .actions a.btn {
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
}
@media (min-width: 58.01rem) {
  .grid.three { grid-template-columns: repeat(3, minmax(18rem, 1fr)); }
  .grid.four { grid-template-columns: repeat(4, minmax(14rem, 1fr)); }
}
/* === RC6 Sprint E brand identity + hotfix integration === */
:root {
  --brand-purple: #2D1B4E;
  --brand-gold: #C9A84C;
  --brand-cream: #F8F4EE;
}

.mark-img {
  width: 2rem;
  height: 2rem;
  display: inline-block;
  border-radius: 0.55rem;
  box-shadow: 0 0.45rem 1rem rgba(45, 27, 78, 0.16);
}

[data-theme="dark"] .mark-img {
  filter: brightness(1.08) saturate(1.05);
}

[data-theme="contrast"] .mark-img {
  filter: grayscale(1) contrast(1.45) brightness(1.18);
}

.brand-tagline {
  color: var(--brand-purple);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.eyebrow {
  color: var(--brand-purple);
  border-color: color-mix(in srgb, var(--brand-purple), var(--line) 64%);
}

[data-theme="dark"] .eyebrow {
  color: var(--brand-gold);
  border-color: color-mix(in srgb, var(--brand-gold), transparent 45%);
}

.journey-strip {
  margin-top: 1.5rem;
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.5vw, 1.15rem);
}

.journey-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  padding: clamp(1rem, 1.5vw, 1.25rem);
  min-width: 0;
}

.journey-step .step-kicker,
.capability-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 0.24rem 0.55rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--brand-purple), var(--line) 62%);
  background: color-mix(in srgb, var(--brand-cream), var(--surface) 35%);
  color: var(--brand-purple);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.journey-step h3 {
  margin-top: 0.7rem;
  margin-bottom: 0.35rem;
}

.capability-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  margin-top: 1rem;
}

[data-theme="dark"] .journey-step .step-kicker,
[data-theme="dark"] .capability-badge {
  background: color-mix(in srgb, var(--brand-purple), var(--surface) 30%);
  color: var(--brand-gold);
  border-color: color-mix(in srgb, var(--brand-gold), transparent 45%);
}

/* RC6 staging visual hotfix: pricing screen-fit only */
.pricing-launch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: clamp(0.9rem, 1.5vw, 1.25rem);
  align-items: stretch;
}

.pricing-launch-grid .card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1rem, 1.5vw, 1.35rem);
}

.pricing-launch-grid .card h3 {
  overflow-wrap: anywhere;
}

.pricing-launch-grid .price {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.05;
}

.pricing-launch-grid .card p {
  font-size: clamp(0.94rem, 1vw, 1rem);
  line-height: 1.48;
}

.pricing-launch-grid .actions {
  margin-top: auto;
}

.pricing-launch-grid .btn {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

.pricing-table {
  width: 100%;
}

.pricing-table th,
.pricing-table td {
  overflow-wrap: anywhere;
}

.compact-payment-note {
  margin: 0.75rem 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 58rem) {
  .journey-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero .lead {
    max-width: 68ch;
  }

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

@media (max-width: 38rem) {
  .journey-steps,
  .pricing-launch-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================
   RC6 SPRINT-E-HOTFIX: Pricing card description trim
   =================================================== */

/* Pricing page: push "At a glance" section below the fold */
.page-hero.pricing-hero + .section.compact {
  padding-bottom: 3.5rem;
}

/* Pricing page: compact description — detail lives on product pages */
.pricing-launch-grid .card-summary {
  font-size: clamp(0.88rem, 0.95vw, 0.95rem);
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 0;
}

/* Tighter padding inside pricing cards at desktop */
@media (min-width: 64rem) {
  .pricing-launch-grid .card {
    padding: 1.1rem 1.1rem 1rem;
  }
  .pricing-launch-grid .card h3 {
    font-size: clamp(1rem, 1.25vw, 1.18rem);
    margin-top: 0.55rem;
    margin-bottom: 0;
  }
  .pricing-launch-grid .price {
    font-size: clamp(1.2rem, 1.6vw, 1.55rem);
  }
  .pricing-launch-grid .actions {
    padding-top: 0.75rem;
  }
  .pricing-launch-grid .btn {
    font-size: var(--fs-xs);
    padding: 0.45rem 0.75rem;
  }
}

/* At very wide viewports (>100rem), keep 4 columns but tighten gap */
@media (min-width: 100rem) {
  .pricing-launch-grid {
    gap: 1rem;
  }
}

/* RC6 Sprint F: request-page concertina polish */
.request-hero {
  padding-bottom: 2.1rem;
}

.request-concertina {
  padding: clamp(0.75rem, 1.4vw, 1rem) 0;
}

.request-panel-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(0.82rem, 1.25vw, 1.05rem);
  border: 0.0625rem solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 94%, var(--surface2));
  color: var(--text);
  box-shadow: var(--shadow2);
  cursor: pointer;
  text-align: left;
}

.request-panel-toggle > span:first-child {
  display: grid;
  gap: 0.22rem;
}

.request-panel-toggle .eyebrow {
  margin: 0;
}

.request-panel-toggle strong {
  display: block;
  font-family: Fraunces, Georgia, 'Times New Roman', serif;
  font-size: clamp(1.1rem, 1.65vw, 1.45rem);
  line-height: 1.08;
}

.request-panel-toggle small {
  display: block;
  color: var(--muted);
  font-size: clamp(0.84rem, 0.95vw, 0.92rem);
  line-height: 1.45;
}

.request-panel-toggle .toggle-label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  padding: 0.52rem 0.8rem;
  border-radius: 999rem;
  border: 0.0625rem solid var(--line);
  background: var(--surface2);
  color: var(--text);
  font-weight: 850;
  font-size: var(--fs-xs);
}

.request-concertina.is-open .request-panel-toggle {
  border-color: color-mix(in srgb, var(--primary) 42%, var(--line));
  box-shadow: var(--shadow);
}

.request-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  overflow: hidden;
  transition: grid-template-rows 0.35s ease, opacity 0.22s ease, margin-top 0.22s ease;
}

.request-panel > .request-grid {
  min-height: 0;
}

.request-concertina.is-open .request-panel {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 0.85rem;
}

.request-concertina .request-grid {
  width: 100%;
}

.request-concertina .request-form.card {
  padding: clamp(1rem, 1.6vw, 1.35rem);
}

@media (max-width: 38rem) {
  .request-panel-toggle {
    align-items: stretch;
    flex-direction: column;
  }

  .request-panel-toggle .toggle-label {
    align-self: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .request-panel {
    transition: none;
  }
}

/* Product journey closure 20260619 */
.product-route-section {
  padding-top: 0.25rem;
}

.route-selector {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.1vw, 1rem);
  align-items: stretch;
}

.route-step {
  position: relative;
  min-height: 100%;
  padding: clamp(0.9rem, 1.2vw, 1.1rem);
  border: 0.0625rem solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 90%, var(--surface2));
  box-shadow: var(--shadow2);
}

.route-step h3 {
  margin-top: 0.6rem;
  font-size: clamp(1rem, 1.15vw, 1.18rem);
}

.route-step p {
  font-size: clamp(0.86rem, 0.95vw, 0.94rem);
  line-height: 1.48;
}

.product-route-cards {
  align-items: stretch;
}

.product-route-cards .card,
.service-grid .card {
  padding: clamp(0.95rem, 1.25vw, 1.15rem);
}

.product-route-cards .card h3,
.service-grid .card h3 {
  font-size: clamp(1.05rem, 1.3vw, 1.22rem);
}

.product-route-cards .card p,
.service-grid .card p {
  font-size: clamp(0.88rem, 0.95vw, 0.94rem);
  line-height: 1.5;
}

.product-route-cards .price {
  font-size: clamp(1.15rem, 1.45vw, 1.55rem);
}

.product-route-cards .btn,
.pricing-compact-grid .btn {
  white-space: normal;
  text-align: center;
}

.pricing-hero {
  padding-bottom: 0.9rem;
}

.pricing-compact-grid {
  margin-top: 0.5rem;
}

@media (min-width: 72rem) {
  .products-hero .lead,
  .pricing-hero .lead {
    max-width: 68rem;
  }
}

@media (max-width: 76rem) {
  .route-sel