html {
  box-sizing: border-box;
}

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

:root {
  color-scheme: light;
  --bg: #f3f6fb;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --surface-muted: #eef3fb;
  --line: #d9e2f0;
  --line-strong: #c4d1e4;
  --text: #122033;
  --text-muted: #5a6b83;
  --brand: #1d4ed8;
  --brand-deep: #183a9e;
  --accent: #0f766e;
  --danger-bg: #fff1f2;
  --danger-line: #fecdd3;
  --danger-text: #9f1239;
  --success-bg: #ecfdf3;
  --success-line: #bbf7d0;
  --success-text: #166534;
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.06);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(29, 78, 216, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.1), transparent 24%),
    var(--bg);
  color: var(--text);
}

a {
  color: var(--brand-deep);
  text-decoration: none;
}

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

img {
  max-width: 100%;
}

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(243, 246, 251, 0.82);
  border-bottom: 1px solid rgba(196, 209, 228, 0.8);
}

.header-bar,
.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-bar {
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #0f766e);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.nav form {
  margin: 0;
}

.actions form {
  margin: 0;
}

.nav a,
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav a:hover,
.link-button:hover {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.main-content {
  flex: 1;
  padding: 40px 0 72px;
}

.section {
  padding: 24px 0;
}

.hero {
  padding: 44px 0 24px;
}

.hero-grid,
.two-column {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
  align-items: stretch;
}

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

.hero-copy,
.surface-card,
.hero-panel,
.metric-card,
.plan-card,
.form-shell,
.legal-shell {
  border: 1px solid rgba(196, 209, 228, 0.78);
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.hero-copy {
  padding: 40px;
}

.hero-panel,
.surface-card,
.plan-card,
.legal-shell {
  padding: 28px;
}

.form-shell {
  max-width: 540px;
  padding: 32px;
}

.legal-shell {
  max-width: 860px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand-deep);
  font-size: 0.9rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  color: #0f172a;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 1.02;
  margin-top: 18px;
}

h2 {
  font-size: 1.6rem;
  line-height: 1.15;
}

h3 {
  font-size: 1.05rem;
  line-height: 1.3;
}

p,
li {
  color: var(--text-muted);
  line-height: 1.65;
}

.lede,
.hero-copy > p:not(.eyebrow) {
  margin: 18px 0 0;
  max-width: 56ch;
  font-size: 1.08rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-trust {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--brand);
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.button:hover,
button:hover {
  filter: brightness(1.02);
}

.button,
.button:hover,
.button:visited {
  color: #ffffff;
}

.button.secondary,
.button.secondary:hover,
.button.secondary:visited,
.link-button,
.link-button:hover,
.link-button:visited {
  color: var(--text);
}

.button.secondary,
.link-button {
  border-color: rgba(196, 209, 228, 0.9);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: none;
  color: var(--text);
}

.link-button {
  min-height: auto;
  padding: 0;
  border: 0;
  cursor: pointer;
}

.hero-stats,
.metric-grid,
.feature-list,
.detail-list,
.plan-list,
.check-list,
.card-list {
  display: grid;
  gap: 16px;
}

.hero-stats,
.metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.metric-card {
  padding: 22px;
}

.metric-value {
  display: block;
  font-size: 1.9rem;
  font-weight: 700;
  color: #0f172a;
}

.metric-label {
  display: block;
  margin-top: 12px;
  color: var(--text-muted);
}

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

.detail-list,
.plan-list,
.check-list {
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.detail-list li,
.plan-list li,
.check-list li {
  position: relative;
  padding-left: 18px;
}

.detail-list li::before,
.plan-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.surface-card p:last-child,
.hero-panel p:last-child,
.legal-shell p:last-child {
  margin-bottom: 0;
}

.surface-card h2 + p,
.hero-panel h2 + p,
.form-shell h1 + p,
.legal-shell h1 + p {
  margin-top: 14px;
}

.stack {
  display: grid;
  gap: 16px;
}

.stack p {
  margin: 0;
}

.stack label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text);
}

.stack input,
.stack select,
.stack textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

.stack textarea {
  min-height: 120px;
  resize: vertical;
}

.stack ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: #b91c1c;
}

.subtle-link {
  margin-top: 18px;
}

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

.message {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
}

.message.error {
  background: var(--danger-bg);
  border-color: var(--danger-line);
  color: var(--danger-text);
}

.message.success {
  background: var(--success-bg);
  border-color: var(--success-line);
  color: var(--success-text);
}

.site-footer {
  border-top: 1px solid rgba(196, 209, 228, 0.84);
  background: rgba(255, 255, 255, 0.7);
}

.footer-bar {
  min-height: 80px;
  padding: 10px 0;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.data-points {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.activity-list,
.target-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.activity-item,
.target-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.activity-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.activity-head h3 {
  margin-bottom: 6px;
}

.activity-head p {
  margin: 0;
}

.activity-time,
.target-name {
  margin-top: 10px;
  color: var(--text);
  font-weight: 600;
}

.data-point {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.data-point:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.data-point strong {
  color: #0f172a;
}

.pill {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.12);
  color: #115e59;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.pill.is-live {
  background: rgba(22, 163, 74, 0.14);
  color: #166534;
}

.pill.is-pending {
  background: rgba(245, 158, 11, 0.16);
  color: #92400e;
}

.pill.is-neutral {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

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

@media (max-width: 900px) {
  .hero-grid,
  .two-column,
  .feature-list,
  .card-list,
  .hero-stats,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-panel,
  .surface-card,
  .plan-card,
  .form-shell,
  .legal-shell {
    padding: 24px;
  }
}

@media (max-width: 720px) {
  .header-bar,
  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 16px 0;
  }

  .nav,
  .footer-links {
    justify-content: flex-start;
  }

  .activity-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-content {
    padding-top: 28px;
    padding-bottom: 56px;
  }

  h1 {
    font-size: 2.45rem;
  }
}

/* Reference landing page visual system */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-accent: #eef5f6;
  --text: #091f57;
  --text-soft: #304368;
  --muted: #65748f;
  --border: rgba(9, 31, 87, 0.12);
  --border-strong: rgba(9, 31, 87, 0.22);
  --accent: #081f5c;
  --accent-dark: #04153d;
  --teal: #1aa4ad;
  --teal-soft: rgba(26, 164, 173, 0.12);
  --teal-bright: #56d3cb;
  --danger: #b42318;
  --gold: #e1a73b;
  --shadow: 0 20px 44px rgba(9, 31, 87, 0.10);
  --shadow-soft: 0 10px 26px rgba(9, 31, 87, 0.08);
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
.container { width: 100%; max-width: 1180px; padding: 0 20px; }
h1, h2, h3 { color: var(--text); line-height: 1.15; }
.page > main > section { padding: 64px 0; }

.landing-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.landing-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 14px; padding-bottom: 14px;
}
.landing-brand { display: flex; align-items: center; gap: 10px; color: inherit; }
.landing-brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg,var(--accent),var(--teal));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.landing-brand-mark svg { width: 20px; height: 20px; }
.landing-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.landing-brand-text strong { font-size: 16px; color: var(--text); }
.landing-brand-text span { font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.landing-nav-links { display: none; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; color: var(--text-soft); }
.landing-nav-links a:hover { color: var(--accent); }
.landing-nav-actions { display: flex; align-items: center; gap: 10px; }
.landing-nav-actions form { margin: 0; }
.language-selector { display: flex; align-items: center; gap: 5px; color: var(--text-soft); font-size: 12px; }
.landing-nav .language-selector button,
.landing-nav .mobile-language-selector button { padding: 0; border: 0; border-color: transparent; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.language-selector button:hover,
.language-selector button.active,
.mobile-language-selector button:hover,
.mobile-language-selector button.active { color: var(--accent); font-weight: 700; }
.mobile-language-selector { display: flex; gap: 18px; padding: 14px 20px; border-bottom: 1px solid var(--border); color: var(--text-soft); font-size: 14px; }
.landing-login-link { display: none; font-size: 14px; font-weight: 600; color: var(--text-soft); padding: 10px 6px; }
.landing-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: auto; font-size: 14px; font-weight: 700; border-radius: 999px;
  padding: 11px 20px; border: 1px solid transparent; cursor: pointer;
  white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.landing-btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-soft); }
.landing-btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.landing-btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.landing-btn-ghost:hover { background: var(--bg-soft); color: var(--text); }
.landing-btn-lg { padding: 16px 28px; font-size: 15px; }
.mobile-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; min-height: 40px; padding: 0; border-radius: 10px;
  border: 1px solid var(--border-strong); background: #fff; box-shadow: none;
}
.mobile-menu { display: none; flex-direction: column; gap: 2px; border-top: 1px solid var(--border); background: #fff; }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 14px 20px; font-size: 15px; font-weight: 600; color: var(--text-soft); border-bottom: 1px solid var(--border); }
.mobile-menu a.mobile-cta { color: var(--accent); }

.reference-hero {
  padding: 56px 0 40px;
  background: radial-gradient(700px 340px at 85% -10%,var(--teal-soft),transparent 60%),
              radial-gradient(600px 300px at -10% 10%,var(--bg-accent),transparent 60%),var(--bg);
}
.hero-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 22px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700;
  letter-spacing: .02em; padding: 7px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--border); color: var(--text-soft);
}
.badge-tag { background: var(--accent); color: #fff; padding: 7px 12px; text-transform: uppercase; font-size: 11px; }
.reference-hero h1 { font-size: 34px; letter-spacing: -.01em; margin: 0; }
.reference-hero h1 .hl {
  background: linear-gradient(90deg,var(--teal),var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin: 18px 0 0; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 56ch; }
.hero-ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.hero-ctas .landing-btn { width: 100%; }
.reference-hero-trust { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; font-size: 13px; color: var(--muted); font-weight: 600; }
.reference-hero-trust span { display: flex; align-items: center; gap: 6px; }
.reference-hero-trust svg, .reference-check-list svg, .trust-item svg {
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.reference-hero-trust svg { width: 15px; height: 15px; color: var(--teal); flex-shrink: 0; stroke-width: 2.5; }
.hero-preview { margin-top: 36px; background: #fff; border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.hero-preview-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.hero-preview-dots { display: flex; gap: 6px; }
.hero-preview-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.hero-preview-title { font-size: 12px; font-weight: 700; color: var(--muted); }
.hero-preview-live { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; color: var(--teal); }
.hero-preview-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.hero-preview-body { padding: 16px; }
.hero-domain-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 14px; background: var(--bg-soft); border-radius: 10px; margin-bottom: 8px; font-size: 13px; }
.hero-domain-row .dname { font-family: ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.status { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.status-flag { background: #fdecea; color: var(--danger); }
.status-review { background: #fdf3e2; color: #a1690f; }
.hero-preview-footer { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-top: 1px solid var(--border); background: var(--bg-soft); }
.score-badge { display: flex; align-items: center; gap: 10px; }
.score-circle {
  width: 44px; height: 44px; border-radius: 50%;
  background: conic-gradient(var(--danger) 0deg 108deg,var(--border) 108deg 360deg);
  display: flex; align-items: center; justify-content: center; font-size: 12px;
  font-weight: 800; color: var(--text); position: relative;
}
.score-circle::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #fff; }
.score-circle span { position: relative; z-index: 1; }
.score-label { font-size: 12px; color: var(--muted); font-weight: 600; }
.score-label strong { display: block; color: var(--text); font-size: 13px; }

.why { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: 34px; }
.section-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.section-head h2 { font-size: 26px; }
.section-head p { margin: 12px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.reference-check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.reference-check-list li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 16px; font-size: 14px; color: var(--text-soft); box-shadow: var(--shadow-soft); }
.reference-check-list svg { width: 20px; height: 20px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.reference-check-list li::before { display: none; }
.steps-grid { display: grid; gap: 18px; margin-top: 8px; }
.step-card { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 26px 22px; box-shadow: var(--shadow-soft); }
.step-num { width: 36px; height: 36px; border-radius: 10px; background: var(--teal-soft); color: var(--teal); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; margin-bottom: 14px; }
.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; }
.trust-strip { background: var(--accent); color: #fff; }
.trust-strip .container { display: grid; gap: 22px; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--teal-bright); margin-top: 2px; }
.trust-item h3 { color: #fff; font-size: 15px; margin-bottom: 4px; }
.trust-item p { margin: 0; font-size: 13px; color: rgba(255,255,255,.72); line-height: 1.5; }
.final-cta { text-align: center; }
.final-cta h2 { font-size: 26px; max-width: 520px; margin: 0 auto; }
.final-cta p { margin-top: 12px; color: var(--muted); font-size: 15px; }
.final-cta .landing-btn { margin-top: 24px; }

.legal-footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding: 26px 0; }
.legal-footer-inner { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; font-size: 12.5px; color: var(--muted); }
.legal-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.legal-footer-links a { color: var(--muted); font-weight: 600; }
.legal-footer-links a:hover { color: var(--accent); }
.legal-footer button.legal-footer-button {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
}
.legal-footer button.legal-footer-button:hover { color: var(--accent); filter: none; }

.cookie-consent[hidden] { display: none; }
.cookie-consent {
  position: fixed;
  inset: auto 0 0;
  z-index: 100;
  padding: 16px;
  background: rgba(9, 31, 87, .22);
  backdrop-filter: blur(6px);
}
.cookie-consent-card {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.cookie-consent-copy strong { display: block; color: var(--text); font-size: 16px; }
.cookie-consent-copy p { margin: 6px 0; font-size: 14px; line-height: 1.5; }
.cookie-consent-copy a { color: var(--teal); font-size: 13px; text-decoration: underline; }
.cookie-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-consent-button { min-height: 42px; padding: 0 16px; }
.cookie-consent button.cookie-consent-reject {
  border-color: var(--border-strong);
  background: #fff;
  box-shadow: none;
  color: var(--text);
}

.legal-document { max-width: 900px; }
.legal-document > h1 { margin-bottom: 8px; }
.legal-document .legal-updated { margin-top: 0; color: var(--muted); font-size: 13px; }
.legal-document h2 { margin-top: 34px; font-size: 20px; }
.legal-document h2 + p,
.legal-document h2 + ul,
.legal-document h2 + .legal-table-wrap { margin-top: 12px; }
.legal-document p,
.legal-document li { font-size: 15px; }
.legal-document ul { padding-left: 22px; }
.legal-document li + li { margin-top: 8px; }
.legal-document a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.legal-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; }
.legal-table { width: 100%; border-collapse: collapse; min-width: 620px; background: #fff; }
.legal-table th,
.legal-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); font-size: 14px; line-height: 1.5; }
.legal-table th { color: var(--text); background: var(--bg-soft); }
.legal-table tbody tr:last-child td { border-bottom: 0; }

/* Existing application pages inherit the same visual language. */
.main-content { padding: 64px 0; background: var(--bg); }
.hero-copy, .surface-card, .hero-panel, .metric-card, .plan-card, .form-shell, .legal-shell {
  border-color: var(--border); background: #fff; box-shadow: var(--shadow-soft);
}
.button, button:not(.mobile-toggle) { background: var(--accent); border-color: var(--accent); }
.eyebrow, .pill { background: var(--teal-soft); color: var(--teal); }

@media (min-width: 640px) {
  .hero-ctas { flex-direction: row; }
  .hero-ctas .landing-btn { width: auto; }
  .steps-grid, .trust-strip .container, .reference-check-list { grid-template-columns: repeat(3,1fr); }
  .legal-footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .cookie-consent-card { flex-direction: row; align-items: center; justify-content: space-between; }
  .cookie-consent-copy { max-width: 680px; }
  .cookie-consent-actions { flex-wrap: nowrap; }
}
@media (min-width: 900px) {
  .landing-nav-links { display: flex; }
  .landing-login-link { display: inline-flex; }
  .mobile-toggle { display: none; }
  .mobile-menu { display: none !important; }
  .page > main > section { padding: 88px 0; }
  .reference-hero { padding: 76px 0 60px; }
  .reference-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
  .reference-hero h1 { font-size: 46px; }
  .hero-sub { font-size: 17px; }
  .hero-preview { margin-top: 0; }
  .section-head h2, .final-cta h2 { font-size: 32px; }
}
@media (max-width: 639px) {
  .language-selector { display: none; }
  .hero-preview-title { display: none; }
  .hero-domain-row { align-items: flex-start; flex-direction: column; }
}
