/* ================================================================
   Zörner Consulting – Stylesheet
   Inter is self-hosted below (DSGVO-friendly, no Google Fonts call).
   ================================================================ */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"),
       url("../fonts/inter-latin-400-normal.woff") format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"),
       url("../fonts/inter-latin-500-normal.woff") format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"),
       url("../fonts/inter-latin-600-normal.woff") format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"),
       url("../fonts/inter-latin-700-normal.woff") format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/inter-latin-800-normal.woff2") format("woff2"),
       url("../fonts/inter-latin-800-normal.woff") format("woff");
}

:root {
  --bg: #f4f5f6;
  --surface: #ffffff;
  --surface-2: #eef1f2;
  --text: #1f2937;
  --muted: #4b5563;
  --line: #e4e7ea;
  --brand: #2f6f73;
  --brand-dark: #244f52;
  --brand-soft: #eef1f2;
  --focus-ring: #0f172a;
  --focus-ring-light: #ffffff;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 1px 3px rgba(16, 24, 40, 0.06);
  --radius: 10px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; }
.section { padding: 54px 0; }
.section-tight { padding: 32px 0; }

[id] { scroll-margin-top: 104px; }

.back-to-top {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 60;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(31,41,55,.16);
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(16,24,40,.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .16s ease, transform .16s ease, background .16s ease;
}
.back-to-top:hover { background: var(--brand-dark); }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; 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;
}


/* Accessibility: visible-on-focus skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 200;
}
.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: .75rem 1rem;
  background: var(--brand);
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

/* Focus visibility for keyboard users: high-contrast, works on light and dark surfaces */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 6px;
  box-shadow: 0 0 0 6px var(--focus-ring-light);
}
.footer a:focus-visible,
.subtle-panel a:focus-visible {
  outline-color: #98d3d6;
  box-shadow: none;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .3rem .6rem; border-radius: 6px;
  background: var(--brand-soft); color: var(--brand-dark);
  font-size: .9rem; font-weight: 700; letter-spacing: .01em;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.kicker { color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.h1, h1 { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.07; letter-spacing: -0.03em; margin: 0 0 1rem; }
.h2, h2 { font-size: clamp(1.55rem, 2.4vw, 2.3rem); line-height: 1.14; letter-spacing: -0.025em; margin: 0 0 .9rem; }
.h3, h3 { font-size: 1.25rem; line-height: 1.2; margin: 0 0 .7rem; }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--muted); max-width: 760px; }
.text-muted { color: var(--muted); }
.small { font-size: .95rem; }
.card {
  background: var(--surface);
  border: 1px solid rgba(31,41,55,.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.button-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.5rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 46px; padding: 0 1.2rem; border-radius: 8px;
  font-weight: 600; border: 1px solid transparent;
  transition: background .16s ease, border-color .16s ease;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-secondary { background: #fff; border-color: var(--line); }
.btn-secondary:hover { background: #fff; border-color: rgba(31,41,55,.22); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.btn[aria-disabled="true"], .btn-disabled { opacity: .65; cursor: not-allowed; pointer-events: none; }
.badge-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.25rem; }
.badge {
  display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .8rem;
  border-radius: 8px; background: #fff; border: 1px solid var(--line);
  color: var(--muted); font-weight: 600; font-size: .92rem;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.header {
  position: sticky; top: 0; z-index: 50; backdrop-filter: blur(12px);
  background: rgba(255,255,255,.88); border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: clamp(58px, 5.4vw, 78px); gap: clamp(.55rem, 1.4vw, 1rem);
}
.header-left { display: flex; align-items: center; gap: clamp(.5rem, 1.2vw, .85rem); min-width: 0; flex: 1 1 auto; }
.logo-lockup { flex: 0 1 auto; min-width: 0; }
.logo-lockup img { width: clamp(154px, 20vw, 244px); height: auto; }
.header-contact {
  display: flex; align-items: center; gap: .35rem;
  padding-left: clamp(.45rem, 1vw, .75rem); border-left: 1px solid rgba(31,41,55,.14);
}
.header-contact a {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .34rem .62rem; border-radius: 999px;
  color: var(--brand-dark); font-weight: 600; font-size: .9rem;
  transition: background .16s ease;
}
.header-contact a:hover { background: var(--brand-soft); }
.header-contact svg { width: 17px; height: 17px; flex: none; }
.header-contact .hc-label { white-space: nowrap; }
.header-contact a[href^="mailto:"] .hc-label { display: none; }  /* email shown as icon only — keeps room for 4-item nav */
.header-mobile-call { display: none; }
@media (max-width: 1080px) {
  .header-inner { min-height: clamp(56px, 5.5vw, 70px); }
  .logo-lockup img { width: clamp(150px, 19vw, 212px); }
  .header-contact .hc-label { display: none; }
  .header-contact a { padding: .45rem; }
}
.nav { display: flex; align-items: center; gap: clamp(.55rem, 1.1vw, .9rem); }
.nav a { color: var(--muted); font-weight: 600; white-space: nowrap; }
.nav a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.nav a.active, .nav a:hover { color: var(--text); }
.nav a.active { position: relative; }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -.4rem;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}
.nav-cta { display: inline-flex; gap: .75rem; align-items: center; }
.mobile-toggle {
  display: none; background: transparent; border: 1px solid rgba(31,41,55,.12);
  border-radius: 12px; width: 46px; height: 46px; align-items: center; justify-content: center;
}
.mobile-toggle span, .mobile-toggle span::before, .mobile-toggle span::after {
  display: block; position: relative; width: 20px; height: 2px; background: var(--text); border-radius: 2px;
}
.mobile-toggle span::before, .mobile-toggle span::after { content: ""; position: absolute; left: 0; }
.mobile-toggle span::before { top: -6px; }
.mobile-toggle span::after { top: 6px; }
.hero { padding: 38px 0 20px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.5rem; align-items: center; }
.hero-panel {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--surface);
}
.hero-visual { overflow: hidden; position: relative; min-height: 100%; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-quote {
  position: absolute; inset: auto 1rem 1rem 1rem; padding: 1rem 1.1rem; background: rgba(255,255,255,.9);
  border-radius: 18px; border: 1px solid rgba(31,41,55,.08); box-shadow: 0 12px 28px rgba(31,41,55,.12);
}
.hero-quote strong { display: block; margin-bottom: .25rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .85rem; margin-top: 1.35rem; }
.stat-card { padding: 1.2rem; }
.stat-card strong { display: block; font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.15; overflow-wrap: anywhere; }
.subtle-panel { background: linear-gradient(180deg, #1f2937 0%, #25384a 100%); color: #fff; }
.subtle-panel .text-muted { color: rgba(255,255,255,.72); }
.service-card, .focus-card, .timeline-card, .app-card, .legal-card, .contact-card, .approach-card { padding: 1.3rem; }
.service-card p, .focus-card p, .timeline-card p, .app-card p, .legal-card p, .contact-card p, .approach-card p { margin: 0; color: var(--muted); }
.service-card ul, .app-card ul, .legal-card ul { margin: .9rem 0 0 1.15rem; padding: 0; color: var(--muted); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.checklist li { padding-left: 1.6rem; position: relative; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .55rem; width: 10px; height: 10px; border-radius: 50%; background: var(--brand);
}
.photo-card { overflow: hidden; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.photo-stack img { border-radius: 18px; aspect-ratio: 1 / 1; object-fit: cover; }
.steps { counter-reset: steps; display: grid; gap: .85rem; }
.step {
  position: relative; padding: 1.15rem 1.15rem 1.15rem 4.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; color: var(--text);
}
.step .text-muted { color: var(--muted); }
.step::before {
  counter-increment: steps; content: counter(steps); position: absolute; inset: 1rem auto auto 1rem; width: 2.3rem; height: 2.3rem;
  border-radius: 999px; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--brand);
}
.app-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.app-brand { display: flex; align-items: center; gap: .95rem; }
.app-brand img { width: 58px; height: 58px; object-fit: contain; border-radius: 14px; background: #f4f7f9; padding: .5rem; border: 1px solid rgba(31,41,55,.08); }
.app-label { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .75rem; border-radius: 999px; font-size: .85rem; font-weight: 700; }
.app-open { background: #e6f4ef; color: #135c43; }
.app-restricted { background: #eef2f7; color: #32485f; }
.mock-form { display: grid; grid-template-columns: 1fr auto; gap: .75rem; margin-top: 1rem; }
.mock-form input {
  min-height: 52px; border: 1px solid rgba(31,41,55,.16); border-radius: 14px; padding: 0 1rem; font: inherit;
}
.mock-form button {
  min-height: 52px; border: none; border-radius: 14px; padding: 0 1.1rem; font: inherit; font-weight: 700; color: #fff; background: var(--brand);
}
.notice { padding: 1rem 1.1rem; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); }
.legal-list { display: grid; gap: .85rem; margin-top: 1rem; }
.legal-item { padding: 1rem 1.1rem; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); }
.footer { background: #15202b; color: rgba(255,255,255,.85); padding: 30px 0 36px; margin-top: 34px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 1.5rem; }
.footer a { color: rgba(255,255,255,.85); }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer small { color: rgba(255,255,255,.6); }
.footer-logo { height: 38px; }
.link-list { display: grid; gap: .55rem; }
.page-hero { padding: 38px 0 12px; }
.page-hero-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 1.2rem; align-items: center; }
.page-intro-card { padding: clamp(1.35rem, 2vw, 2rem); }
.page-intro-card h1 {
  font-size: clamp(2.35rem, 4.6vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.page-intro-card .lead {
  max-width: 100%;
}
.table-like { display: grid; gap: .8rem; }
.table-row {
  display: grid; grid-template-columns: 140px 1fr; gap: 1rem; padding: .95rem 1rem; border: 1px solid rgba(31,41,55,.08); border-radius: 18px; background: #fff;
}
.table-row strong { color: var(--brand-dark); }
.callout { padding: 1.2rem 1.25rem; border-left: 3px solid var(--brand); background: var(--surface-2); border-radius: 0 8px 8px 0; }
.note-box { padding: 1.1rem 1.15rem; border-radius: 18px; background: #fff7e8; border: 1px solid #f0d39a; color: #6a4d15; }
.inline-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: #f2f4f7; padding: .1rem .35rem; border-radius: .35rem; }
@media (max-width: 960px) {
  .grid-2, .grid-3, .grid-4, .hero-grid, .page-hero-grid, .footer-grid, .stats-grid { grid-template-columns: 1fr; }
  .table-row { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .section { padding: 34px 0; }
  .section-tight { padding: 22px 0; }
  .hero { padding: 24px 0 14px; }
  .page-hero { padding: 24px 0 8px; }
  .grid { gap: .8rem; }
  [id] { scroll-margin-top: 82px; }
  .mobile-toggle { display: inline-flex; width: 42px; height: 42px; }
  .logo-lockup img { width: clamp(150px, 38vw, 186px); }
  .header-inner { min-height: 56px; }
  .header-contact { display: none; }
  .header-mobile-call {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 12px;
    background: var(--brand); color: #fff; border: none;
  }
  .header-mobile-call svg { width: 19px; height: 19px; }
  .nav-wrap { position: absolute; top: 57px; left: 0; right: 0; padding: .75rem 1rem; background: rgba(247,249,251,.98); border-bottom: 1px solid rgba(31,41,55,.08); display: none; }
  .nav-wrap.open { display: block; }
  .nav, .nav-cta { flex-direction: column; align-items: stretch; }
  .nav { gap: .75rem; }
  .nav a, .nav-cta a { padding: .3rem 0; }
  .nav a.active::after { display: none; }
}
.industry-cards {
  max-width: 1080px;
  margin-top: 1.25rem;
  gap: 1rem;
}

@media (min-width: 961px) {
  .industry-cards {
    margin-left: 0;
  }
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

/* Print: clean legal-document look */
@media print {
  .header, .footer, .mobile-toggle, .button-row, .badge-row, .back-to-top { display: none !important; }
  body { background: #fff; color: #000; }
  .card { box-shadow: none; border-color: #ccc; }
  a { color: #000; }
}

/* ================================================================
   v14 additions: lean Start, icon service cards, tiers, FAQ
   ================================================================ */

.header-actions { display: flex; align-items: center; gap: .6rem; }

/* Hero with portrait */
.hero-split {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(1rem, 2.2vw, 1.8rem);
  align-items: center;
}
.hero-portrait {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-portrait { max-width: 360px; aspect-ratio: 1 / 1; }
}

/* Image-led service cards */
.svc-grid { margin-top: .95rem; }
.svc-card { padding: 1.1rem 1.1rem 1.25rem; display: flex; flex-direction: column; gap: .75rem; }
.svc-visual {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.svc-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.svc-card h3 { margin: .1rem 0 0; }
.svc-card p { margin: 0; color: var(--muted); }

/* Keyword / tag strip (industries on Start) */
.tag-row { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.tag {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem .9rem; border-radius: 8px;
  background: #fff; border: 1px solid var(--line);
  font-weight: 600; color: var(--text); font-size: .98rem;
}
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: none; }

/* App tier cards (lean) */
.app-card-lean { padding: 1.35rem 1.25rem; display: flex; flex-direction: column; gap: .8rem; }
.app-top { display: flex; align-items: center; gap: 1rem; }
.app-top img { width: 60px; height: 60px; object-fit: contain; border-radius: 8px; background: #f4f7f9; padding: .55rem; border: 1px solid var(--line); flex: none; }
.app-top h3 { margin: .3rem 0 0; }
.tier {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem .65rem; border-radius: 6px;
  font-size: .8rem; font-weight: 600; letter-spacing: .01em;
}
.tier::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.tier-free { background: var(--surface-2); color: var(--brand-dark); }
.tier-free::before { background: #1a8a63; }
.tier-pro { background: var(--surface-2); color: var(--brand-dark); }
.tier-pro::before { background: var(--brand); }
.app-card-lean > p { margin: 0; color: var(--muted); }
.app-card-lean .button-row { margin-top: auto; }

/* FAQ (AI-search friendly, About page) */
.faq { display: grid; gap: .75rem; margin-top: 1.1rem; }
.faq-item { padding: 1.1rem 1.2rem; }
.faq-item h3 { margin: 0 0 .5rem; font-size: 1.1rem; }
.faq-item p { margin: 0; color: var(--muted); }


/* Language toggle (placeholder until EN translation) */
.lang-switch { display: inline-flex; align-items: center; border: 1px solid rgba(31,41,55,.16); border-radius: 999px; overflow: hidden; margin-left: .5rem; font-size: .8rem; font-weight: 700; }
.lang-switch .lang-active { background: var(--brand); color: #fff; padding: .32rem .62rem; }
.lang-switch .lang-alt { color: var(--muted); padding: .32rem .62rem; }
.lang-switch .lang-alt:hover { background: var(--brand-soft); color: var(--brand-dark); }
@media (max-width: 820px) { .lang-switch { margin: .4rem 0 0; align-self: flex-start; } }

/* Clickable service-card titles (Start -> About detail) */
.svc-card h3 a.svc-link { color: inherit; text-decoration: none; }
.svc-card h3 a.svc-link:hover,
.svc-card h3 a.svc-link:focus-visible { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; }

/* Badge links (About hero) behave like badges but are clickable */
a.badge { text-decoration: none; cursor: pointer; transition: background .16s ease, border-color .16s ease, color .16s ease; }
a.badge:hover,
a.badge:focus-visible { border-color: var(--brand); color: var(--brand-dark); background: var(--brand-soft); }

/* International section: full globe, no crop */
.globe-figure { display: flex; align-items: center; justify-content: center; }
.globe-figure img { width: 100%; max-width: 440px; height: auto; }
@media (max-width: 860px) { .globe-figure img { max-width: 340px; } }


/* v40: Apps hero title matches page-title scale of all other pages */
.page-apps .page-intro-card h1 {
  font-size: clamp(1.65rem, 2.5vw, 2.3rem);
  line-height: 1.12;
}

@media (max-width: 480px) {
  .container { width: min(calc(100% - 1.25rem), var(--max)); }
  .section { padding: 30px 0; }
  .section-tight { padding: 18px 0; }
  .hero { padding: 20px 0 12px; }
  .page-hero { padding: 20px 0 6px; }
  .logo-lockup img { width: clamp(142px, 42vw, 166px); }
  .header-inner { min-height: 52px; gap: .5rem; }
  .header-actions { gap: .35rem; }
  .header-mobile-call, .mobile-toggle { width: 37px; height: 37px; }
  .nav-wrap { top: 53px; }
  .back-to-top { right: .75rem; bottom: .75rem; width: 40px; height: 40px; }
}
/* Datenschutz / offene Prüfpunkte */
.pending-field {
  display: inline-block;
  background: #ffe066;
  color: #333;
  padding: .15rem .42rem;
  border-radius: 4px;
  font-weight: 700;
}
.legal-card ul {
  margin-top: .75rem;
}
.legal-card li + li {
  margin-top: .38rem;
}


/* v50: legal page heroes aligned with the Start page hero title scale */
body.page-legal .page-hero {
  padding: 38px 0 20px;
}
body.page-legal .page-intro-card {
  padding: clamp(1.6rem, 3vw, 2.6rem);
  max-width: 880px;
}
body.page-legal .page-intro-card h1 {
  font-size: clamp(1.65rem, 2.5vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 0;
}
body.page-legal .page-intro-card .lead {
  max-width: 560px;
}
@media (max-width: 820px) {
  body.page-legal .page-hero { padding: 24px 0 14px; }
}
@media (max-width: 480px) {
  body.page-legal .page-hero { padding: 20px 0 12px; }
}


/* v53: internal legal-page development notes.
   Live/default: hidden. To show them during development, add
   `show-dev-notes` to the <body> class of the legal page. */
.dev-note {
  display: none;
}
body.show-dev-notes .dev-note {
  display: block;
}
