:root {
  color-scheme: dark light;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --gold-50: #fff8e8;
  --gold-100: #f5dfad;
  --gold-200: #e5bd68;
  --gold-300: #c99231;
  --gold-400: #9d6b1e;
  --ink-950: #141211;
  --ink-900: #1e1a17;
  --ink-800: #2a2420;
  --ink-700: #3f352d;
  --stone-100: #f5f1e9;
  --stone-200: #e8dfd1;
  --stone-300: #d4c7b6;
  --stone-700: #5b5146;
  --teal-600: #27726e;
  --teal-700: #1d5654;
  --red-600: #b4232f;
  --red-700: #8f1d27;

  --radius-sm: 4px;
  --radius: 8px;
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.22);
  --shadow-card: 0 14px 34px rgba(0, 0, 0, 0.18);
  --max-width: 1180px;
  --nav-height: 72px;
}

html[data-theme="dark"] {
  --bg: #141211;
  --bg-elevated: #1c1815;
  --bg-muted: #241f1b;
  --surface: rgba(30, 26, 23, 0.92);
  --surface-strong: #1e1a17;
  --surface-soft: rgba(255, 255, 255, 0.045);
  --line: rgba(245, 223, 173, 0.16);
  --line-strong: rgba(229, 189, 104, 0.36);
  --text: #f5f1e9;
  --text-muted: #cfc5b7;
  --text-soft: #a99e91;
  --accent: #e5bd68;
  --accent-strong: #f0ce82;
  --accent-ink: #1a1408;
  --danger: #ff7b86;
  --success: #7ad6c6;
  --hero-wash: linear-gradient(90deg, rgba(20, 18, 17, 0.66) 0%, rgba(20, 18, 17, 0.52) 38%, rgba(20, 18, 17, 0.24) 68%, rgba(20, 18, 17, 0.42) 100%);
  --hero-bottom: linear-gradient(180deg, rgba(20, 18, 17, 0) 0%, #141211 100%);
}

html[data-theme="light"] {
  --bg: #f5f1e9;
  --bg-elevated: #fffaf0;
  --bg-muted: #ece3d6;
  --surface: rgba(255, 250, 240, 0.94);
  --surface-strong: #fffaf0;
  --surface-soft: rgba(20, 18, 17, 0.045);
  --line: rgba(63, 53, 45, 0.16);
  --line-strong: rgba(157, 107, 30, 0.36);
  --text: #1f1b18;
  --text-muted: #5b5146;
  --text-soft: #766b5f;
  --accent: #9d6b1e;
  --accent-strong: #7d5317;
  --accent-ink: #fff8e8;
  --danger: #b4232f;
  --success: #1d5654;
  --hero-wash: linear-gradient(90deg, rgba(245, 241, 233, 0.68) 0%, rgba(245, 241, 233, 0.5) 42%, rgba(245, 241, 233, 0.22) 70%, rgba(245, 241, 233, 0.44) 100%);
  --hero-bottom: linear-gradient(180deg, rgba(245, 241, 233, 0) 0%, #f5f1e9 100%);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

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

a {
  color: inherit;
  text-decoration-color: rgba(229, 189, 104, 0.6);
  text-underline-offset: 0.18em;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 50;
  transform: translateY(-150%);
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 14px;
  font-weight: 800;
}

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

.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;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--nav-height);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(18px);
}

.site-nav__inner {
  width: min(100% - 32px, var(--max-width));
  min-height: var(--nav-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-link,
.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 850;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-link span:last-child,
.site-footer__brand span:last-child {
  white-space: nowrap;
}

.logo-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 18.75%;
  background: #b8860b;
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.logo-mark--large {
  width: 58px;
  height: 58px;
}

.logo-mark svg {
  width: 74%;
  height: 74%;
}

.logo-n-stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-nav__links,
.site-footer__links,
.inline-list,
.trust-strip,
.report-list,
.package-list,
.sample-metrics,
.price-features,
.terms-list,
.status-list,
.upload-filelist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.site-nav__link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius);
  color: var(--text-muted);
  padding: 8px 12px;
  font-size: 0.95rem;
  font-weight: 740;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
  background: var(--surface-soft);
  color: var(--text);
}

.site-nav__link--primary {
  border: 1px solid var(--line-strong);
  background: var(--accent);
  color: var(--accent-ink);
}

.site-nav__link--primary:hover,
.site-nav__link--primary[aria-current="page"] {
  background: var(--accent-strong);
  color: var(--accent-ink);
}

.theme-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--text);
}

.theme-toggle:hover {
  border-color: var(--line-strong);
}

.theme-toggle svg {
  width: 19px;
  height: 19px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: stretch;
  isolation: isolate;
}

.hero--evidence {
  min-height: 940px;
}

.hero__media,
.hero__media picture,
.hero__media img,
.hero__media::before,
.hero__media::after,
.hero__fallback {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.08);
}

.hero__media::before {
  content: "";
  background: var(--hero-wash);
  z-index: 1;
}

.hero__media::after {
  content: "";
  top: auto;
  height: 35%;
  background: var(--hero-bottom);
  z-index: 2;
}

.hero__fallback {
  display: none;
  place-items: center;
  opacity: 0.1;
  color: var(--accent);
  z-index: -1;
}

.hero--fallback .hero__media {
  display: none;
}

.hero--fallback .hero__fallback {
  display: grid;
}

.hero__fallback .logo-mark {
  width: min(50vw, 520px);
  height: min(50vw, 520px);
  border-radius: 8px;
}

.hero__content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 66px;
  align-content: center;
  justify-items: center;
  padding: 118px 0 110px;
}

.hero__copy {
  width: min(100%, 920px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: var(--text);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 920px;
  margin-inline: auto;
  font-size: 4.65rem;
}

.page-hero h1 {
  max-width: 1120px;
  font-size: 3rem;
  line-height: 1.04;
  text-wrap: balance;
}

.hero__lead,
.page-hero__lead {
  max-width: 680px;
  margin: 30px 0 0;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero__lead {
  margin-inline: auto;
}

.hero-evidence {
  width: min(100%, 1080px);
  display: grid;
  gap: 30px;
}

.hero-evidence__header {
  width: min(100%, 780px);
  margin-inline: auto;
  text-align: center;
}

.hero-evidence__header h2 {
  max-width: 820px;
  margin: 0 auto;
  color: var(--text);
  font-size: 2.18rem;
  line-height: 1.14;
  letter-spacing: 0;
}

.hero-evidence__header p:last-child {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-muted);
  line-height: 1.72;
}

.hero-evidence__grid .text-card {
  background: color-mix(in srgb, var(--surface) 52%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 26px;
}

.hero-evidence__grid .text-card h3 {
  margin-bottom: 14px;
}

.hero-evidence__grid .text-card p {
  line-height: 1.66;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 34px;
}

.trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  padding: 6px 10px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 720;
}

.trust-strip li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.panel,
.analysis-panel,
.price-card,
.sample-artifact,
.sample-card,
.text-card,
.metric-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.analysis-panel {
  width: min(100%, 820px);
  margin-inline: auto;
  align-self: auto;
  padding: 24px;
}

.panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.panel__title {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.15;
}

.panel__sub {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--accent);
  padding: 4px 8px;
  font-size: 0.78rem;
  font-weight: 850;
  white-space: nowrap;
}

.upload-dropzone {
  min-height: 190px;
  display: grid;
  place-items: center;
  gap: 10px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-soft);
  padding: 24px;
  color: var(--text);
  text-align: center;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.upload-dropzone:hover,
.upload-dropzone--drag {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, var(--surface-soft));
}

.upload-dropzone__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
}

.upload-dropzone__icon svg {
  width: 22px;
  height: 22px;
}

.upload-dropzone__primary {
  font-weight: 820;
  font-size: 1.02rem;
}

.upload-dropzone__hint,
.field__hint,
.microcopy {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.upload-filelist {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.upload-file {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  padding: 8px 8px 8px 12px;
}

.upload-file__name {
  overflow: hidden;
  color: var(--text);
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-file__size {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  white-space: nowrap;
}

.icon-button,
.upload-file__remove {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
}

.icon-button:hover,
.upload-file__remove:hover {
  border-color: var(--danger);
  color: var(--danger);
}

.upload-extras {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
}

.upload-extras summary {
  padding: 13px 14px;
  color: var(--text);
  font-weight: 760;
  cursor: pointer;
}

.field {
  display: grid;
  gap: 8px;
  padding: 0 14px 16px;
}

.field__label {
  color: var(--text);
  font-weight: 760;
}

.field__input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  color: var(--text);
  padding: 9px 10px;
}

.field__hint code {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.86em;
}

.whitelist-format {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.whitelist-format > div {
  min-width: 0;
}

.whitelist-format strong,
.whitelist-summary {
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 760;
}

.whitelist-format pre {
  overflow-x: auto;
  margin: 6px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--text-muted);
  padding: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.45;
  white-space: pre;
}

.whitelist-summary {
  margin: 2px 0 0;
}

.analysis-panel__actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.terms-acceptance {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  padding: 12px 14px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.terms-acceptance input {
  width: 18px;
  height: 18px;
  margin-top: 0.12em;
  accent-color: var(--accent);
}

.terms-acceptance a {
  color: var(--text);
  font-weight: 800;
}

.estimate-line {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 10px 16px;
  font-weight: 820;
  text-align: center;
  text-decoration: none;
}

.btn svg {
  width: 18px;
  height: 18px;
}

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

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

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

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--text);
}

.btn[disabled],
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
}

.alert {
  margin-top: 16px;
  border-radius: var(--radius);
  padding: 12px 14px;
  font-weight: 680;
}

.alert p {
  margin: 0;
}

.alert p + p {
  margin-top: 8px;
}

.alert-error {
  border: 1px solid color-mix(in srgb, var(--danger) 45%, transparent);
  background: color-mix(in srgb, var(--danger) 14%, transparent);
  color: var(--text);
}

.status-block {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 24px 8px 12px;
  text-align: center;
}

.status-ring {
  width: 96px;
  height: 96px;
  position: relative;
}

.status-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.status-ring__track {
  stroke: var(--line);
  stroke-width: 5;
}

.status-ring__bar {
  stroke: var(--accent);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 175.9;
  stroke-dashoffset: 70;
  animation: ring-spin 1.4s linear infinite;
}

.status-label {
  margin: 0;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 850;
}

.status-detail {
  min-height: 1.4em;
  margin: 0;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.result-grid div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  padding: 12px;
}

.result-grid dt {
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

.result-grid dd {
  margin: 4px 0 0;
  color: var(--text);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.ready-package {
  margin-top: 14px;
  color: var(--text-muted);
}

.ready-package summary {
  color: var(--text);
  font-weight: 760;
  cursor: pointer;
}

.ready-package ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.content-band {
  padding: 82px 0;
}

.content-band--tight {
  padding: 58px 0;
}

.content-band--muted {
  background: var(--bg-muted);
}

.upload-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 104px 0;
  background: var(--bg);
}

.upload-band > .container {
  position: relative;
  z-index: 1;
}

.upload-band__media,
.upload-band__media picture,
.upload-band__media img,
.upload-band__media::after {
  position: absolute;
  inset: 0;
}

.upload-band__media {
  z-index: 0;
  pointer-events: none;
}

.upload-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.08);
}

.upload-band__media::after {
  content: "";
  z-index: 1;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--bg) 64%, transparent), color-mix(in srgb, var(--bg) 42%, transparent)),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 46%, transparent), color-mix(in srgb, var(--bg-muted) 68%, transparent));
}

.upload-band .analysis-panel {
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  scroll-margin-top: calc(var(--nav-height) + 28px);
}

.section-header {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.section-header h2,
.section-header h1,
.text-content h2,
.price-card h2,
.sample-card h2 {
  margin: 0;
  color: var(--text);
  font-size: 2.65rem;
  line-height: 1;
  letter-spacing: 0;
}

.section-header p {
  max-width: 760px;
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

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

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

.grid-1 {
  display: grid;
  gap: 18px;
}

.text-card,
.metric-card,
.sample-artifact,
.sample-card,
.price-card {
  padding: 22px;
}

.text-card h3,
.metric-card h3,
.sample-artifact h3,
.sample-card h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.2;
}

.text-card p,
.metric-card p,
.sample-artifact p,
.sample-card p,
.price-card p {
  margin: 0;
  color: var(--text-muted);
}

.text-card p + p,
.sample-card p + p,
.price-card p + p {
  margin-top: 12px;
}

.sample-upload-cta {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.metric-number {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.package-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.package-list li {
  min-height: 130px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 20px;
}

.package-list li:nth-child(3n) {
  border-right: 0;
}

.package-list li:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.package-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.package-list span {
  display: block;
  color: var(--text-muted);
}

.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 76px 0 48px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg-muted) 72%, transparent), transparent),
    var(--bg);
}

.page-hero > .container {
  position: relative;
  z-index: 2;
}

.page-hero--petra {
  min-height: 520px;
  display: grid;
  align-items: end;
  padding: 142px 0 82px;
  background: var(--bg);
}

.page-hero__media,
.page-hero__media img,
.page-hero__media::before,
.page-hero__media::after {
  position: absolute;
  inset: 0;
}

.page-hero__media {
  z-index: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.08);
}

.page-hero__media::before {
  content: "";
  z-index: 1;
  background: var(--hero-wash);
}

.page-hero__media::after {
  content: "";
  z-index: 2;
  top: auto;
  height: 42%;
  background: var(--hero-bottom);
}

.page-hero--petra .page-hero__lead {
  color: var(--text);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.18);
}

.petra-page {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
}

.petra-page > section {
  position: relative;
  z-index: 1;
}

.petra-page .page-hero,
.petra-page .content-band {
  background: transparent;
}

.petra-page__media,
.petra-page__media picture,
.petra-page__media img,
.petra-page__media::before,
.petra-page__media::after {
  position: absolute;
  inset: 0;
}

.petra-page__media {
  z-index: 0;
  pointer-events: none;
}

.petra-page__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.08);
}

.petra-page__media::before {
  content: "";
  z-index: 1;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--bg) 52%, transparent), color-mix(in srgb, var(--bg) 24%, transparent)),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 44%, transparent), color-mix(in srgb, var(--bg-muted) 58%, transparent));
}

.petra-page__media::after {
  content: "";
  z-index: 2;
  top: auto;
  height: 24%;
  background: var(--hero-bottom);
}

.page-hero__kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--accent);
  padding: 5px 9px;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero h1 {
  margin-top: 18px;
}

.sample-disclaimer,
.notice {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  color: var(--text);
  padding: 16px;
}

.sample-disclaimer p,
.notice p {
  margin: 0;
}

.sample-grid {
  display: grid;
  gap: 22px;
}

.sample-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 22px;
  align-items: stretch;
}

.sample-card__body {
  display: grid;
  align-content: start;
  gap: 14px;
}

.sample-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.sample-metrics li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  padding: 10px;
}

.sample-metrics strong {
  display: block;
  color: var(--accent);
}

.sample-metrics span {
  display: block;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.sample-run {
  display: grid;
  gap: 24px;
}

.sample-run__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 22px;
  align-items: start;
}

.sample-source {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  padding: 18px;
}

.sample-source span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sample-source a {
  color: var(--text);
  font-weight: 800;
}

.sample-source code {
  width: 100%;
  overflow-wrap: anywhere;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.sample-stat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sample-stat-grid li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  padding: 14px;
}

.sample-stat-grid strong {
  display: block;
  color: var(--text);
  font-size: 1.45rem;
  line-height: 1;
}

.sample-stat-grid span {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.sample-artifact-grid {
  display: grid;
  gap: 22px;
}

.sample-artifact {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: 22px;
  align-items: center;
}

.sample-artifact__copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

.sample-artifact__copy h2 {
  margin: 0;
  color: var(--text);
  font-size: 2.35rem;
  line-height: 1.05;
}

.sample-preview-shot,
.report-slideshow__viewport {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.sample-preview-shot img,
.report-slideshow__viewport img {
  display: block;
  width: 100%;
  height: auto;
}

.report-slideshow {
  display: grid;
  gap: 10px;
}

.report-slideshow__viewport {
  aspect-ratio: 827 / 1071;
}

.report-slideshow__viewport img {
  height: 100%;
  object-fit: contain;
  transition: opacity 160ms ease;
}

.report-slideshow.is-paused .report-slideshow__viewport {
  border-color: var(--accent);
}

.report-slideshow__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.report-slideshow__bar span:first-child {
  color: var(--text);
  font-weight: 800;
}

.process-steps {
  display: grid;
  gap: 10px;
  list-style: none;
  counter-reset: process-step;
  margin: 0;
  padding: 0;
}

.process-steps li {
  counter-increment: process-step;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  padding: 14px;
}

.process-steps li::before {
  content: counter(process-step);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.8rem;
  font-weight: 900;
}

.process-steps strong {
  color: var(--text);
}

.process-steps span {
  color: var(--accent);
  font-weight: 900;
}

.finding-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.finding-list li {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  padding: 16px;
}

.finding-list span {
  width: max-content;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 900;
}

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

.finding-list p {
  margin: 0;
  color: var(--text-muted);
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: 22px;
  align-items: start;
}

.pricing-layout--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 980px;
}

.pricing-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.petra-page .price-card,
.petra-page .text-content {
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 44%, transparent);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.petra-page .content-band > .container:not(.pricing-layout) {
  display: flex;
  justify-content: center;
}

.petra-page .text-content {
  border-radius: var(--radius);
  padding: 34px;
}

.price-card--primary {
  border-color: var(--line-strong);
}

.price-card--wide {
  display: grid;
  gap: 22px;
}

.price-card .btn {
  justify-self: start;
}

.price {
  display: flex;
  align-items: end;
  gap: 8px;
  margin: 18px 0 8px;
  color: var(--text);
}

.price strong {
  font-size: 4rem;
  line-height: 0.9;
  letter-spacing: 0;
}

.price span {
  padding-bottom: 8px;
  color: var(--text-muted);
}

.pricing-section {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.pricing-section h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1.2;
}

.pricing-formula {
  display: grid;
  gap: 8px;
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.pricing-table-wrap {
  overflow-x: auto;
}

.pricing-example-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  color: var(--text);
}

.pricing-example-table th,
.pricing-example-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px 10px;
  text-align: left;
}

.pricing-example-table th {
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-example-table td:nth-child(2),
.pricing-example-table td:nth-child(3) {
  color: var(--accent);
  font-weight: 900;
  white-space: nowrap;
}

.pricing-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.pricing-steps li {
  padding-left: 4px;
}

.pricing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.price-features {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.price-features li,
.status-list li {
  display: flex;
  gap: 10px;
  color: var(--text-muted);
}

.price-features li::before,
.status-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin-top: 0.52em;
  border-radius: 999px;
  background: var(--accent);
}

.text-content {
  max-width: 860px;
}

.about-story {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.about-story .text-content {
  max-width: 900px;
}

.about-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: calc(100vh - var(--nav-height));
  padding: 118px 0;
  background: var(--bg);
}

.about-band__media,
.about-band__media picture,
.about-band__media img,
.about-band__media::before,
.about-band__media::after {
  position: absolute;
  inset: 0;
}

.about-band__media {
  z-index: 0;
  pointer-events: none;
}

.about-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.08);
}

.about-band__media::before {
  content: "";
  z-index: 1;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--bg) 44%, transparent), color-mix(in srgb, var(--bg) 18%, transparent)),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 34%, transparent), color-mix(in srgb, var(--bg-muted) 48%, transparent));
}

.about-band__media::after {
  content: "";
  z-index: 2;
  top: auto;
  height: 28%;
  background: var(--hero-bottom);
}

.about-band .text-content {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 34%, transparent);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 34px;
}

.text-content h2 {
  margin-top: 42px;
  margin-bottom: 12px;
  font-size: 1.7rem;
}

.text-content h2:first-child {
  margin-top: 0;
}

.text-content p,
.text-content li {
  color: var(--text-muted);
}

.text-content p {
  margin: 0 0 14px;
}

.text-content ul {
  margin: 0 0 18px;
  padding-left: 20px;
}

.contact-line {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 8px 12px;
  color: var(--accent);
  font-weight: 820;
}

.legacy-card,
.not-found-card {
  max-width: 660px;
  margin: 96px auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.legacy-card h1,
.not-found-card h1 {
  margin: 0 0 12px;
  font-size: 3.2rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-elevated);
}

.site-footer__inner {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 28px;
  align-items: center;
  padding: 32px 0;
}

.site-footer__inner > div:first-child {
  grid-column: 1;
  grid-row: 1;
}

.site-footer__tagline {
  margin: 0;
  color: var(--text-muted);
}

.site-footer__links {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.site-footer__links a {
  color: var(--text-muted);
  font-weight: 720;
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--accent);
}

.site-footer__legal {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  justify-self: end;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  text-align: right;
}

[hidden] {
  display: none !important;
}

@keyframes ring-spin {
  0% {
    stroke-dashoffset: 175.9;
  }
  50% {
    stroke-dashoffset: 45;
  }
  100% {
    stroke-dashoffset: -175.9;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .pricing-layout,
  .sample-run__header,
  .sample-artifact,
  .sample-card {
    grid-template-columns: 1fr;
  }

  .hero__content {
    padding: 48px 0 44px;
  }

  .hero h1 {
    font-size: 3.8rem;
  }

  .page-hero h1 {
    max-width: 820px;
    font-size: 2.6rem;
  }

  .grid-3,
  .sample-stat-grid,
  .package-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .package-list li,
  .package-list li:nth-child(3n),
  .package-list li:nth-last-child(-n + 3) {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .package-list li:nth-child(2n) {
    border-right: 0;
  }

  .package-list li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  .site-nav {
    position: static;
  }

  .content-band {
    padding: 58px 0;
  }

  .content-band--tight {
    padding: 42px 0;
  }

  .page-hero {
    padding: 54px 0 34px;
  }

  .site-nav__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .site-nav__links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .site-nav__link,
  .theme-toggle {
    width: 100%;
    justify-content: center;
  }

  .hero h1 {
    font-size: 3rem;
    line-height: 1.04;
  }

  .hero-evidence__header h2 {
    font-size: 2rem;
    line-height: 1.08;
  }

  .page-hero h1 {
    max-width: 100%;
    font-size: 2.2rem;
    line-height: 1.08;
  }

  .hero__lead,
  .page-hero__lead {
    font-size: 1rem;
  }

  .analysis-panel,
  .text-card,
  .metric-card,
  .sample-artifact,
  .sample-card,
  .price-card {
    padding: 18px;
  }

  .section-header h2,
  .section-header h1,
  .text-content h2,
  .price-card h2,
  .sample-artifact__copy h2,
  .sample-card h2 {
    font-size: 2rem;
    line-height: 1.08;
  }

  .grid-2,
  .grid-3,
  .package-list,
  .sample-metrics,
  .sample-stat-grid,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .sample-artifact {
    gap: 16px;
  }

  .process-steps li {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .process-steps span {
    grid-column: 2;
  }

  .package-list li,
  .package-list li:nth-child(2n),
  .package-list li:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .whitelist-format {
    grid-template-columns: 1fr;
  }

  .price strong {
    font-size: 3.2rem;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__inner > div:first-child,
  .site-footer__links,
  .site-footer__legal {
    grid-column: auto;
    grid-row: auto;
  }

  .site-footer__legal {
    align-self: auto;
    justify-self: start;
    text-align: left;
  }

  .site-footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .container,
  .site-nav__inner,
  .site-footer__inner {
    width: min(100% - 24px, var(--max-width));
  }

  .site-nav__links {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-example-table {
    min-width: 0;
    table-layout: fixed;
    font-size: 0.86rem;
  }

  .pricing-example-table th,
  .pricing-example-table td {
    padding: 10px 6px;
  }

  .pricing-example-table th:first-child,
  .pricing-example-table td:first-child {
    width: 56%;
  }

  .whitelist-format pre {
    overflow-x: visible;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }

  .upload-file {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .upload-file__size {
    grid-column: 1 / -1;
  }

  .hero__actions {
    display: grid;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero-evidence__header h2 {
    font-size: 1.72rem;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .legacy-card h1,
  .not-found-card h1 {
    font-size: 2.5rem;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============================================================
   Marketing v2 additions (home page depth + proof sections)
   ============================================================ */

.section-header--center {
  justify-items: center;
  text-align: center;
}

.section-header--center p {
  margin-inline: auto;
}

.hero-evidence__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.text-card--feature {
  border-color: var(--line-strong);
  background: color-mix(in srgb, var(--accent) 9%, var(--surface));
}

/* Reproducible-evidence proof block */
.proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: stretch;
}

.proof__panel {
  display: grid;
  gap: 16px;
  align-content: start;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  padding: 22px;
}

.hash-proof {
  display: grid;
  gap: 6px;
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 14px;
}

.hash-proof span {
  color: var(--text-soft);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hash-proof code {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.hash-proof--match {
  border-left-color: var(--success);
}

.hash-proof--match code {
  color: var(--success);
}

.proof-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-points li {
  display: flex;
  gap: 10px;
  color: var(--text-muted);
}

.proof-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin-top: 0.52em;
  border-radius: 999px;
  background: var(--accent);
}

/* Protocol chip strip (reuses .trust-strip, left aligned) */
.spec-strip {
  justify-content: flex-start;
  margin-top: 18px;
}

/* Compliance framework grid */
.framework-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.framework-grid li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  padding: 8px 13px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 720;
}

.framework-grid li::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--accent);
}

.jurisdiction-note {
  max-width: 820px;
  margin: 18px auto 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  text-align: center;
}

/* FAQ accordions */
.faq {
  display: grid;
  gap: 10px;
}

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

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  color: var(--text);
  font-weight: 780;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--accent);
  font-weight: 900;
  font-size: 1.2rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details > div {
  padding: 0 18px 16px;
  color: var(--text-muted);
}

.faq details > div p {
  margin: 0 0 10px;
}

.faq details > div p:last-child {
  margin: 0;
}

.faq code {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.88em;
}

.notice--spaced {
  margin-top: 18px;
}

/* CTA band */
.cta-band {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

@media (max-width: 980px) {
  .proof {
    grid-template-columns: 1fr;
  }
}

/* Framework picker (force-choose, under upload) */
.framework-picker {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  padding: 16px 16px 18px;
}

.framework-picker__legend {
  padding: 0;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 820;
}

.framework-picker .field__hint {
  margin: 6px 0 0;
}

.framework-picker__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 14px;
}

.framework-picker__count {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.framework-picker__clear {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  padding: 6px 10px;
  font-size: 0.82rem;
  font-weight: 740;
}

.framework-picker__clear:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.framework-picker__groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.framework-group__title {
  margin: 0 0 8px;
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.framework-group__options {
  display: grid;
  gap: 6px;
}

.framework-option {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 7px 10px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 640;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.framework-option:hover {
  border-color: var(--line-strong);
}

.framework-option input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  accent-color: var(--accent);
  cursor: pointer;
}

.framework-option:has(input:checked) {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
}

.framework-option:has(input:checked) span {
  font-weight: 760;
}

.framework-picker--invalid {
  border-color: color-mix(in srgb, var(--danger) 55%, transparent);
}

/* Comparison table */
.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.compare-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  color: var(--text);
}

.compare-table th,
.compare-table td {
  border-bottom: 1px solid var(--line);
  padding: 13px 14px;
  text-align: left;
  font-size: 0.92rem;
}

.compare-table thead th {
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-strong);
}

.compare-table tbody th[scope="row"] {
  color: var(--text);
  font-weight: 760;
}

.compare-table td {
  color: var(--text-muted);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table__us {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--text);
  font-weight: 800;
}

.compare-table thead th.compare-table__us {
  color: var(--accent);
}

.compare-note {
  margin-top: 14px;
  text-align: center;
}

/* Trust badges (checkout reassurance) */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.trust-badges li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  padding: 6px 9px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 680;
}

.trust-badges li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--success);
}

/* Product picker (capture analysis vs compliance mapper) */
.product-picker {
  margin: 0 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  padding: 16px;
}

.product-picker__legend {
  padding: 0;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 820;
}

.product-picker__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.product-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: 128px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 13px;
  color: var(--text);
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.product-option:hover {
  border-color: var(--line-strong);
}

.product-option input {
  width: 18px;
  height: 18px;
  margin-top: 0.18em;
  accent-color: var(--accent);
}

.product-option:has(input:checked) {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
}

.product-option strong,
.product-option small,
.product-option em {
  display: block;
}

.product-option strong {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.15;
}

.product-option small {
  margin-top: 4px;
  color: var(--accent);
  font-weight: 850;
}

.product-option em {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-style: normal;
  line-height: 1.45;
}

@media (max-width: 720px) {
  .pricing-product-grid,
  .product-picker__options {
    grid-template-columns: 1fr;
  }

  .price-card .btn {
    justify-self: stretch;
  }
}
