:root {
  color-scheme: light;
  --bg: #f5f8f7;
  --paper: #ffffff;
  --panel: #ffffff;
  --ink: #0e1720;
  --muted: #5f6f7a;
  --faint: #8ea0a8;
  --line: #d8e4e2;
  --line-dark: #a9bfba;
  --field: #f8fbfa;
  --brand: #0c4a53;
  --brand-2: #136f7a;
  --mint: #7ee0c2;
  --mint-soft: #e7fbf5;
  --signal: #3b82f6;
  --brand-soft: #e7f4f2;
  --band-product: #eef8f5;
  --band-workspace: #f6f8fb;
  --band-docs: #faf8f2;
  --green: #17845f;
  --amber: #b7791f;
  --red: #c84b43;
  --violet: #6554c0;
  --shadow: 0 12px 34px rgba(14, 23, 32, 0.08);
  --radius: 6px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 760;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 28px;
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  background: linear-gradient(135deg, var(--brand), #0b2430);
  color: var(--mint);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

nav {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

nav a {
  padding: 8px 10px;
  border-radius: 4px;
}

nav a:hover,
.nav-login:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

.nav-login {
  min-height: 39px;
  padding: 9px 16px;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  font-weight: 760;
}

.nav-login:hover {
  border-color: #9f9789;
  background: #fff;
}

.nav-action {
  margin-left: 8px;
  color: #fff;
  background: var(--brand);
}

.nav-action:hover {
  color: #fff;
  background: var(--brand-2);
}

.hero,
.section,
.notice-band,
.document-band,
.trust-strip,
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.68fr);
  gap: 56px;
  align-items: center;
  padding: 86px 24px 64px;
  min-height: 620px;
}

.hero-copy {
  max-width: 800px;
}

.eyebrow {
  margin: 0 0 11px;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.85rem, 5.4vw, 5.35rem);
  font-weight: 720;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.5rem, 2.3vw, 2.15rem);
  font-weight: 730;
}

h3 {
  font-size: 1rem;
  font-weight: 740;
}

p {
  color: var(--muted);
}

.lede {
  max-width: 650px;
  margin: 20px 0 0;
  color: #4b545c;
  font-size: clamp(1.05rem, 1.55vw, 1.18rem);
}

.hero-actions,
.form-actions,
.toolbar-actions,
.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 28px;
}

#load-demo {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 720;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease;
}

.button.primary {
  color: #fff;
  background: var(--brand);
}

.button.primary:hover {
  background: var(--brand-2);
}

.button.secondary {
  border-color: var(--line-dark);
  background: var(--paper);
  color: var(--ink);
}

.button.secondary:hover {
  background: #fff;
  border-color: var(--brand-2);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 8px;
  margin-top: 28px;
}

.hero-metrics div {
  padding: 0 14px 0 0;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  backdrop-filter: none;
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: var(--brand);
  font-size: 1.55rem;
  line-height: 1;
}

.hero-metrics span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 720;
  text-transform: uppercase;
}

.plan-button {
  width: 100%;
  margin-top: 18px;
}

.report-artifact,
.form-panel,
.report-card,
.methodology,
.drop-zone,
.bucket,
.b2b-grid article,
.feature-grid article,
.price-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(14, 23, 32, 0.055);
}

.report-artifact {
  position: relative;
  min-height: 480px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.paper {
  position: absolute;
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  background: var(--paper);
  box-shadow: 0 18px 48px rgba(23, 23, 23, 0.1);
}

.paper-back {
  inset: 28px 12px 28px 24px;
  transform: rotate(1.6deg);
  background: #eef5f3;
}

.paper-front {
  inset: 0 28px 36px 0;
  padding: 24px;
  overflow: hidden;
}

.artifact-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.74rem;
  text-transform: uppercase;
}

.artifact-header strong {
  color: var(--brand);
}

.artifact-switch {
  display: inline-flex;
  gap: 3px;
  margin-top: 16px;
  padding: 3px;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.artifact-switch button {
  min-height: 28px;
  padding: 5px 10px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 780;
}

.artifact-switch button.active {
  color: #07333a;
  background: var(--mint);
}

.artifact-title {
  padding: 22px 0 18px;
}

.artifact-title h2 {
  font-size: 1.45rem;
}

.artifact-title p {
  margin: 7px 0 0;
  font-size: 0.92rem;
}

.artifact-score {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px;
  background: #f7f5ee;
  border: 1px solid var(--line);
  border-radius: 3px;
}

.artifact-score strong,
.artifact-score span {
  display: block;
}

.artifact-score strong {
  font-size: 1.35rem;
}

.artifact-score span {
  color: var(--muted);
  font-size: 0.82rem;
}

.artifact-bars {
  display: grid;
  gap: 8px;
}

.artifact-bars i {
  display: block;
  width: var(--w);
  height: 7px;
  background: linear-gradient(90deg, var(--brand), var(--mint));
}

.artifact-bars i:nth-child(2) {
  background: var(--red);
}

.artifact-bars i:nth-child(3) {
  background: var(--amber);
}

.artifact-findings {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.artifact-findings div {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 8px 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  transition: transform 0.14s ease, background 0.14s ease;
}

.artifact-findings div:hover {
  transform: translateX(4px);
  background: rgba(231, 251, 245, 0.5);
}

.artifact-findings strong,
.artifact-findings small {
  grid-column: 2;
}

.artifact-findings small {
  color: var(--muted);
}

.marker {
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--faint);
}

.marker.ok {
  background: var(--green);
}

.marker.warn {
  background: var(--red);
}

.marker.mute {
  background: var(--violet);
}

.status-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--muted);
}

.status-dot.mismatch {
  background: var(--red);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 0;
  margin-bottom: 0;
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip article {
  padding: 0;
  background: transparent;
  border: 0;
  transition: none;
}

.trust-strip article:hover {
  transform: none;
  border-color: transparent;
}

.trust-strip strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
}

.trust-strip span {
  color: var(--muted);
  font-size: 0.82rem;
}

.compact-trust {
  padding-top: 54px;
  padding-bottom: 54px;
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
}

.trust-grid,
.sample-grid,
.dashboard-grid,
.policy-grid,
.example-grid {
  display: grid;
  gap: 14px;
}

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

.trust-card,
.sample-card,
.dashboard-card,
.policy-grid article,
.example-grid article {
  padding: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.trust-card {
  min-height: 178px;
  transition: transform 0.14s ease, border-color 0.14s ease;
}

.trust-card:hover,
.sample-card:hover,
.dashboard-card:hover {
  transform: translateY(-1px);
  border-color: var(--brand-2);
}

.trust-card span,
.sample-topline span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--brand);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 760;
}

.trust-card a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--brand);
  font-weight: 780;
}

.sample-library .report-card {
  display: none;
}

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

.sample-card {
  display: grid;
  gap: 10px;
  align-content: start;
}

.sample-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.sample-topline span {
  margin-bottom: 0;
}

.sample-topline strong {
  color: var(--brand);
  font-size: 0.82rem;
  white-space: nowrap;
}

.sample-card p {
  margin: 0 0 8px;
}

.notice-band {
  padding: 0 24px;
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
}

.notice-band p {
  margin: 0;
  padding: 12px 14px;
  color: #344148;
  background: var(--brand-soft);
  border: 1px solid #d5e1e1;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 610;
}

.proof-panel {
  display: none;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  gap: 28px;
  align-items: end;
  padding: 34px 24px 12px;
}

.proof-panel h2 {
  max-width: 520px;
}

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

.proof-grid article {
  min-height: 112px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  color: var(--brand);
  font-size: 1.35rem;
  line-height: 1.05;
}

.proof-grid span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 760;
  text-transform: uppercase;
}

.document-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.46fr) minmax(0, 1fr);
  gap: 28px;
  padding: 56px 24px;
  background: var(--band-product);
  box-shadow: 0 0 0 100vmax var(--band-product);
  clip-path: inset(0 -100vmax);
}

.document-band h2 {
  max-width: 440px;
}

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

.workflow-row article {
  min-height: 150px;
  padding: 16px;
  background: rgba(255, 253, 247, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}

.workflow-row article:hover,
.workflow-row article.active {
  transform: translateY(-3px);
  border-color: var(--brand-2);
  background: #ffffff;
}

.workflow-row article.active {
  box-shadow: 0 14px 36px rgba(12, 74, 83, 0.12);
}

.workflow-row span {
  display: block;
  margin-bottom: 28px;
  color: var(--brand);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
}

.workflow-detail {
  grid-column: 2;
  margin-top: -8px;
  padding: 16px;
  background: rgba(255,255,255,0.74);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.workflow-detail strong {
  display: block;
  margin-bottom: 4px;
}

.workflow-detail p {
  margin: 0;
}

.workflow-row strong {
  display: block;
  margin-bottom: 6px;
}

.workflow-row p {
  margin: 0;
  font-size: 0.9rem;
}

.account-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
}

.account-banner strong,
.account-banner span {
  display: block;
}

.account-banner span {
  color: var(--muted);
  font-size: 0.9rem;
}

.account-banner.signed-in {
  background: #f3f7f6;
  border-color: #cadcda;
}

.dashboard-grid {
  grid-template-columns: minmax(260px, 0.9fr) minmax(260px, 0.8fr);
}

.dashboard-card {
  box-shadow: none;
}

.dashboard-card.wide {
  grid-column: 1 / -1;
}

.readiness-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.readiness-list label {
  grid-template-columns: auto 1fr;
  align-items: center;
  color: var(--muted);
  font-weight: 680;
}

.readiness-list input {
  width: auto;
  accent-color: var(--brand);
}

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

.health-stat {
  padding: 12px;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.health-stat strong,
.health-stat span {
  display: block;
}

.health-stat strong {
  color: var(--brand);
  font-size: 1.4rem;
  line-height: 1;
}

.health-stat span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
}

.trust-flow {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.trust-flow span {
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 790;
}

.trust-flow i {
  height: 1px;
  background: linear-gradient(90deg, var(--line-dark), transparent);
}

.section {
  padding: 58px 24px;
}

#check,
#output {
  background: var(--band-product);
  box-shadow: 0 0 0 100vmax var(--band-product);
  clip-path: inset(0 -100vmax);
}

#sample,
#pricing {
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
}

#workspace {
  background: var(--band-workspace);
  box-shadow: 0 0 0 100vmax var(--band-workspace);
  clip-path: inset(0 -100vmax);
}

#database,
#security,
#methodology,
#changelog {
  background: var(--band-docs);
  box-shadow: 0 0 0 100vmax var(--band-docs);
  clip-path: inset(0 -100vmax);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 22px;
}

.section-heading p:not(.eyebrow) {
  margin-bottom: 0;
}

.quick-check {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(390px, 1fr);
  gap: 18px;
  align-items: stretch;
}

.drop-zone {
  display: grid;
  place-items: center;
  min-height: 380px;
  padding: 32px;
  text-align: center;
  border-style: solid;
  cursor: pointer;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.78);
}

.drop-zone.dragover {
  border-color: var(--brand);
  background: var(--mint-soft);
}

.drop-zone input {
  display: none;
}

.drop-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  color: #07333a;
  background: var(--paper);
  font-size: 1.55rem;
  font-weight: 640;
}

.drop-zone h3 {
  max-width: 360px;
  margin-bottom: 8px;
}

.drop-zone:hover {
  border-color: var(--brand-2);
  background: rgba(255,255,255,0.72);
}

.drop-zone p {
  max-width: 340px;
  margin: 0;
}

.compact-panel {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 22px;
  box-shadow: none;
}

.intake-details {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.64);
}

.intake-details summary {
  padding: 12px 13px;
  color: var(--brand);
  cursor: pointer;
  font-weight: 780;
}

.intake-detail-body {
  display: grid;
  gap: 13px;
  padding: 0 13px 13px;
}

label {
  display: grid;
  gap: 7px;
  color: #26323a;
  font-size: 0.84rem;
  font-weight: 720;
}

input,
select,
textarea {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--field);
  color: var(--ink);
  font-size: 0.93rem;
  outline: none;
  transition: border-color 0.12s ease, background 0.12s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #9cb3bb;
  background: #fff;
}

textarea {
  resize: vertical;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hidden {
  display: none;
}

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

.report-card {
  padding: 22px;
  background: var(--paper);
}

.report-meta {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.report-meta strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 820;
  text-transform: uppercase;
}

.report-scope {
  padding: 12px 14px;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.9rem;
}

.report-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.doc-count {
  min-width: 160px;
  padding: 12px;
  text-align: right;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.doc-count strong {
  display: block;
  font-size: 1.35rem;
}

.doc-count span {
  color: var(--muted);
  font-size: 0.82rem;
}

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

.bucket {
  padding: 15px;
  box-shadow: none;
}

.bucket h3 {
  margin-bottom: 10px;
}

.bucket ul {
  margin: 0;
  padding-left: 17px;
  color: var(--muted);
  font-size: 0.9rem;
}

.bucket.match {
  border-top: 3px solid var(--green);
}

.bucket.mismatch {
  border-top: 3px solid var(--red);
}

.bucket.missing {
  border-top: 3px solid var(--amber);
}

.bucket.unknown {
  border-top: 3px solid var(--violet);
}

.bucket li + li {
  margin-top: 7px;
}

details.advanced {
  margin-top: 16px;
  padding: 14px;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 4px;
}

details.advanced summary {
  cursor: pointer;
  color: var(--brand);
  font-weight: 760;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.89rem;
}

th,
td {
  padding: 10px 11px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: #344048;
  background: #efede7;
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.evidence-map,
.archive-list {
  display: grid;
  gap: 9px;
  margin-top: 10px;
}

.evidence-item,
.archive-item {
  padding: 11px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.9rem;
}

.archive-item.actionable {
  cursor: pointer;
}

.archive-item.actionable:hover {
  border-color: #99afb7;
  background: #fff;
}

.evidence-item strong,
.archive-item strong {
  color: var(--brand);
}

.small-note {
  margin-top: 7px;
  color: var(--faint);
  font-size: 0.83rem;
}

.item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #45515c;
  background: #fff;
  font-size: 0.74rem;
  font-weight: 760;
}

.pill.demo {
  color: #5f4b18;
  border-color: #e6d49c;
  background: #fff8df;
}

.tabs {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  padding: 6px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tab {
  min-height: 36px;
  padding: 8px 12px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 720;
  white-space: nowrap;
}

.tab.active {
  color: #07333a;
  background: var(--mint-soft);
  border-color: var(--brand);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

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

.advanced-launcher article {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.launcher-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.48fr) minmax(340px, 1fr);
  gap: 22px;
  align-items: start;
}

.split > div:first-child p {
  max-width: 420px;
}

.inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 16px;
}

.b2b-grid,
.feature-grid,
.pricing-grid {
  display: grid;
  gap: 14px;
}

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

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

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

.b2b-grid article,
.feature-grid article,
.price-card {
  min-height: 150px;
  padding: 17px;
  box-shadow: none;
}

.feature-grid p,
.price-card p {
  margin-bottom: 0;
}

.policy-section {
  padding-top: 52px;
}

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

.changelog-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.changelog-list article {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.changelog-list time {
  display: block;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

.changelog-list p {
  margin-bottom: 0;
}

.price-card strong {
  display: block;
  margin: 16px 0 8px;
  color: var(--brand);
  font-size: 1.62rem;
  line-height: 1;
}

.price-card.featured {
  border-color: var(--brand-2);
  box-shadow: 0 10px 28px rgba(12, 74, 83, 0.09);
}

.price-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.methodology {
  max-width: 940px;
  padding: 24px;
  box-shadow: none;
}

.methodology h3,
.report-card h3 {
  margin-top: 22px;
  margin-bottom: 9px;
}

.methodology ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.methodology li + li {
  margin-top: 7px;
}

.example-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.example-grid article {
  box-shadow: none;
}

.example-grid strong {
  display: block;
  color: var(--brand);
}

.example-grid p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 24px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 780;
}

.site-footer div {
  display: flex;
  gap: 14px;
}

.site-footer a {
  color: var(--brand);
}

.checkout-dialog {
  width: min(760px, calc(100vw - 32px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(22, 24, 28, 0.22);
  overflow: hidden;
}

.auth-form {
  display: grid;
  gap: 13px;
  margin-top: 18px;
}

.checkout-dialog::backdrop {
  background: rgba(22, 24, 28, 0.36);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 2;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
}

.auth-main {
  padding: 30px;
}

.auth-main h2 {
  font-size: 2rem;
}

.auth-side {
  padding: 30px 26px;
  background: #f0eee7;
  border-left: 1px solid var(--line);
}

.auth-badge {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 5px 9px;
  border: 1px solid #d7c58f;
  border-radius: 999px;
  background: #fff8df;
  color: #65511f;
  font-size: 0.76rem;
  font-weight: 820;
  text-transform: uppercase;
}

.auth-side ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.auth-side li + li {
  margin-top: 8px;
}

.auth-form .button {
  width: 100%;
}

.prototype-result {
  display: none;
  margin-top: 14px;
  padding: 11px 12px;
  background: #f3f7f6;
  border: 1px solid #c9dcda;
  border-radius: 4px;
  color: #263b40;
  font-size: 0.9rem;
}

.prototype-result.visible {
  display: block;
}

.prototype-result a {
  color: var(--brand);
  font-weight: 760;
  text-decoration: underline;
}

@media print {
  .site-header,
  .hero,
  .notice-band,
  #check,
  #workspace,
  #sample,
  #database,
  #pricing,
  #methodology,
  .result-toolbar,
  .site-footer {
    display: none !important;
  }

  #output {
    display: block !important;
    padding: 0;
  }

  body {
    background: #fff;
  }

  .report-card {
    box-shadow: none;
    border: none;
  }
}

@media (max-width: 1050px) {
  .hero,
  .quick-check,
  .split,
  .document-band,
  .proof-panel {
    grid-template-columns: 1fr;
  }

  .bucket-grid,
  .b2b-grid,
  .feature-grid,
  .pricing-grid,
  .trust-strip,
  .workflow-row,
  .trust-grid,
  .sample-grid,
  .proof-grid,
  .policy-grid,
  .example-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 20px;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .account-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .auth-layout {
    grid-template-columns: 1fr;
  }

  .auth-side {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero,
  .section,
  .notice-band,
  .document-band,
  .site-footer,
  .trust-strip {
    padding-left: 20px;
    padding-right: 20px;
  }

  .field-grid,
  .bucket-grid,
  .b2b-grid,
  .feature-grid,
  .pricing-grid,
  .trust-strip,
  .workflow-row,
  .trust-grid,
  .sample-grid,
  .dashboard-grid,
  .proof-grid,
  .policy-grid,
  .example-grid,
  .report-meta,
  .inline-form,
  .advanced-launcher {
    grid-template-columns: 1fr;
  }

  .trust-flow {
    grid-template-columns: 1fr;
  }

  .trust-flow i {
    display: none;
  }

  .result-toolbar,
  .report-headline {
    align-items: start;
    flex-direction: column;
  }

  .doc-count {
    text-align: left;
  }

  h1 {
    font-size: 2.35rem;
  }

  .site-footer {
    flex-direction: column;
  }
}
