/* SKILLARIS static marketing site — shared stylesheet */
.card h3 {
    margin-top: 20px;
}

#org-teaser a.btn.btn-outline.btn-sm.arrow {
    background-color: #172045;
    color: white;
    text-align: center!important;
    display: block;
}

#org-teaser a.btn.btn-outline.btn-sm.arrow::after {
    margin-left: 20px;
}

span.tag.mint {
    color: #267355;
    border-color: #267355;
}

span.tag.sky {
    color: #2c578c;
    border-color: #2c578c;
}
/* Fjalla One (self-hosted — no external font servers; single weight 400) */
@font-face {
  font-family: "Fjalla One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/fjalla-one-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fjalla One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/fjalla-one-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Inter (variable, self-hosted — no external font servers) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --primary: hsl(228, 50%, 18%);
  --primary-soft: hsla(228, 50%, 18%, 0.08);
  --primary-fg: hsl(38, 50%, 97%);
  --bg: hsl(38, 45%, 94%);
  --card: #ffffff;
  --fg: hsl(228, 50%, 15%);
  --muted-fg: hsl(228, 12%, 42%);
  --border: hsl(38, 25%, 87%);
  --muted: hsl(38, 22%, 89%);
  --accent-sky: hsl(213, 52%, 36%);
  --accent-mint: hsl(157, 50%, 30%);
  --accent-gold: hsl(38, 68%, 52%);
  --accent-purple: hsl(262, 55%, 36%);
  --radius: 1rem;
  --shadow: 0 1px 3px rgba(20, 26, 60, 0.08), 0 8px 24px rgba(20, 26, 60, 0.06);
  --font-serif: "Fjalla One", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.015em; line-height: 1.15; }
h1 { font-size: clamp(2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.125rem; font-family: var(--font-sans); font-weight: 600; }
p { color: var(--muted-fg); }
.container { max-width: 64rem; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: hsla(38, 45%, 94%, 0.8);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; gap: 1rem; height: 3.75rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--font-serif); font-size: 1.25rem; font-weight: 400; color: var(--primary); letter-spacing: 0.01em; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 1.75rem; height: 1.75rem; border-radius: 8px;
  background: var(--primary); color: var(--primary-fg);
  font-size: 1rem; line-height: 1;
}
.nav-links { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }
.nav-links a {
  font-size: 0.875rem; color: var(--muted-fg); padding: 0.4rem 0.7rem; border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--fg); background: var(--muted); }
.nav-links a.active { color: var(--primary); font-weight: 600; }
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover { color: var(--primary-fg); background: var(--primary); }
.lang-toggle {
  display: inline-flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; margin-left: 0.5rem;
}
.lang-toggle button {
  border: 0; background: transparent; font: inherit; font-size: 0.75rem; padding: 0.25rem 0.6rem;
  cursor: pointer; color: var(--muted-fg);
}
.lang-toggle button.active { background: var(--primary); color: var(--primary-fg); }
.nav-burger { display: none; margin-left: auto; background: none; border: 1px solid var(--border); border-radius: 8px; padding: 0.4rem 0.55rem; cursor: pointer; font-size: 1rem; }
@media (max-width: 860px) {
  .nav-burger { display: block; }
  .nav-links {
    display: none; position: absolute; top: 3.75rem; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; padding: 0.75rem 1.25rem; gap: 0.15rem;
  }
  .nav-links.open { display: flex; }
  .lang-toggle { margin: 0.5rem 0 0; align-self: flex-start; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(250, 249, 245, 0.92), rgba(250, 249, 245, 0.82) 55%, var(--bg));
}
.hero .container { padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 0.9rem;
}
.section-heading .eyebrow { font-weight: 500; color: hsla(228, 50%, 18%, 0.7); }
/* Gold text link with arrow (situation router cards) */
.link-accent {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.9rem; font-weight: 500; color: var(--accent-gold);
}
.link-accent:hover { text-decoration: underline; }
.link-accent.sky { color: var(--accent-sky); }
.link-accent.mint { color: var(--accent-mint); }
.link-accent.purple { color: var(--accent-purple); }
.hero h1 { max-width: 46rem; }
.hero .sub { margin-top: 1.25rem; font-size: 1.1rem; max-width: 38rem; }
.cta-row { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Centered hero variant (landing page) */
.hero-center .container { text-align: center; }
.hero-center h1, .hero-center .sub { margin-left: auto; margin-right: auto; }
.hero-center .cta-row { justify-content: center; }
.hero-center .eyebrow {
  display: inline-block; background: hsla(38, 45%, 94%, 0.7);
  border: 1px solid hsla(228, 50%, 18%, 0.2); border-radius: 999px;
  padding: 0.375rem 1rem;
}
.trust-line { margin-top: 1.5rem; font-size: 0.75rem; color: var(--muted-fg); }
.btn-outline { background: var(--card); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer;
  border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: 0.95rem; font-weight: 500;
  padding: 0.7rem 2rem; transition: transform 0.12s, box-shadow 0.12s, background 0.15s;
}
.btn-primary { background: var(--primary); color: var(--primary-fg); box-shadow: 0 4px 32px -6px rgba(23, 29, 54, 0.12); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--fg); }
.btn-outline:hover { background: var(--muted); }
.btn-sm { font-size: 0.85rem; padding: 0.5rem 1rem; }
.btn-block { width: 100%; justify-content: center; }
.arrow::after { content: "→"; transition: transform 0.15s; }
.arrow:hover::after { transform: translateX(3px); }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.9rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; color: var(--muted-fg);
  background: rgba(255, 255, 255, 0.75); border: 1px solid var(--border);
  border-radius: 999px; padding: 0.3rem 0.75rem;
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-mint); flex: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(2.5rem, 6vw, 4rem) 0; border-top: 1px solid var(--border); }
.section-heading { max-width: 44rem; margin-bottom: 2rem; }
.section-heading p { margin-top: 0.6rem; }
.band { position: relative; isolation: isolate; overflow: hidden; border-top: 1px solid var(--border); }
.band-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.band-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, var(--bg), rgba(250, 249, 245, 0.9), var(--bg)); }
.band .container { padding-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); }

/* ---------- Grid + cards ---------- */
.grid { display: grid; gap: 1.1rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: none;
  transition: transform 0.15s, box-shadow 0.15s;
  display: flex; flex-direction: column; gap: 0.7rem;
}
/* Accent-tinted card borders (situation router, feature highlights) */
.card.tint-sky { border-color: rgba(201, 218, 237, 0.4); }
.card.tint-gold { border-color: hsla(38, 68%, 52%, 0.3); }
.card.tint-mint { border-color: hsla(160, 45%, 34%, 0.25); }
.card.tint-purple { border-color: hsla(262, 55%, 36%, 0.25); }
.card.tint-primary { border-color: hsla(228, 50%, 18%, 0.2); }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card.translucent { background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(4px); }
.card h3 { margin-bottom: 0.1rem; }
.card p { font-size: 0.9rem; }
.card .spacer { flex: 1; }
.icon-tile {
  width: 2.5rem; height: 2.5rem; border-radius: 12px; flex: none;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem;
  background: var(--primary-soft); color: var(--primary);
}
.icon-tile.sky { background: rgba(201, 218, 237, 0.3); color: var(--accent-sky); }
.icon-tile.mint { background: hsla(157, 50%, 30%, 0.12); color: var(--accent-mint); }
.icon-tile.gold { background: hsla(38, 68%, 52%, 0.12); color: var(--accent-gold); }
.icon-tile.purple { background: hsla(262, 55%, 36%, 0.1); color: var(--accent-purple); }
.ic { display: block; width: 1.25rem; height: 1.25rem; }

/* Inline icon + heading row (impact / sponsor cards) */
.card-head { display: flex; align-items: center; gap: 0.55rem; }
.card-head .ic { flex: none; width: 1.1rem; height: 1.1rem; }
.card-head h3 { margin: 0; }
/* Verdict line at the bottom of impact cards */
.verdict {
  border-top: 1px solid var(--border); padding-top: 0.8rem; margin-top: auto;
  font-weight: 700; font-size: 0.9rem; color: var(--fg);
}
/* Compact check rows (education: what students experience) */
.card.check-row { flex-direction: row; align-items: flex-start; gap: 0.6rem; padding: 1.1rem 1.25rem; }
.card.check-row .ic { flex: none; width: 1.1rem; height: 1.1rem; color: var(--accent-sky); margin-top: 0.15rem; }
.card.check-row p { margin: 0; color: var(--fg); font-size: 0.92rem; }
/* Tinted panel cards (benefit comparison, sponsor cards) */
.card.bg-mint { background: rgba(200, 234, 221, 0.25); border-color: rgba(200, 234, 221, 0.9); }
.card.bg-mint > h3, .card.bg-mint .card-head h3 { color: var(--accent-mint); }
.card.bg-mint .bullets li::before { background: var(--accent-mint); }
.card.bg-primary-soft { background: rgba(23, 32, 69, 0.05); border-color: rgba(23, 32, 69, 0.2); }
/* Gold callout (public sector code notice) */
.callout-gold {
  border: 1px solid hsla(38, 68%, 52%, 0.45); background: hsla(46, 85%, 92%, 0.75);
  color: hsl(36, 55%, 32%); border-radius: 12px; padding: 0.65rem 1rem;
  font-size: 0.85rem; margin-top: 0.9rem; max-width: 46rem;
}
/* Chip + tag icons */
.chip .ic { width: 0.95rem; height: 0.95rem; flex: none; }
.tag.tag-product {
  display: inline-flex; align-items: center; gap: 0.35rem;
  border: none; padding: 0; font-size: 0.8rem; font-weight: 600; color: var(--fg);
}
.tag.tag-product .ic { width: 0.95rem; height: 0.95rem; flex: none; }
.tag.tag-product.sky { color: var(--accent-sky); }
.tag.tag-product.mint { color: var(--accent-mint); }
.tag.tag-plain { border: none; padding: 0; color: var(--muted-fg); font-weight: 500; }
/* Dot bullets (impact cards) and shield bullets (sponsor cards) */
.bullets.dots li { padding-left: 1rem; }
.bullets.dots li::before {
  content: "•"; background: none; -webkit-mask: none; mask: none;
  width: auto; height: auto; top: 0; color: var(--accent-gold); font-weight: 700;
}
.bullets.shields li::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.bullets { list-style: none; font-size: 0.9rem; display: grid; gap: 0.45rem; }
.bullets li { display: block; position: relative; padding-left: 1.55rem; color: var(--fg); }
.bullets li::before {
  content: ""; position: absolute; left: 0; top: 0.22em; width: 1rem; height: 1rem;
  background: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tag {
  display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em;
  border: 1px solid var(--border); border-radius: 999px; padding: 0.15rem 0.6rem; color: var(--muted-fg);
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 3.1rem; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--primary); color: var(--primary-fg);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem;
}

/* ---------- Accordion ---------- */
.accordion { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.accordion-item + .accordion-item { border-top: 1px solid var(--border); }
.accordion-trigger {
  width: 100%; background: none; border: 0; font: inherit; font-weight: 600; text-align: left;
  padding: 1rem 1.25rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.accordion-trigger::after { content: "+"; font-size: 1.2rem; color: var(--muted-fg); transition: transform 0.2s; }
.accordion-item.open .accordion-trigger::after { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.accordion-body > div { padding: 0 1.25rem 1.1rem; font-size: 0.92rem; color: var(--muted-fg); }

/* ---------- Stats counter ---------- */
.stat-num { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 400; color: var(--primary); }
.stat-label { font-size: 0.85rem; color: var(--muted-fg); }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 0.92rem; padding: 0.6rem 0.8rem;
  border: 1px solid var(--border); border-radius: 8px; background: #fff; color: var(--fg);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--primary); outline-offset: 1px; border-color: transparent;
}
.field .error { font-size: 0.78rem; color: #b3261e; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b3261e; }
.field.invalid .error { display: block; }
.form-note { font-size: 0.8rem; color: var(--muted-fg); }
.form-success {
  display: none; border: 1px solid var(--accent-mint); background: hsla(160, 45%, 34%, 0.08);
  border-radius: var(--radius); padding: 1.25rem; color: var(--fg);
}
.form-error {
  display: none; border: 1px solid #b3261e; background: hsla(4, 72%, 41%, 0.07);
  border-radius: var(--radius); padding: 1.25rem; color: var(--fg);
}

/* ---------- Approach carousel (Verstehen · Simulieren · Umsetzen) ---------- */
.approach-tabs { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.approach-tab {
  font: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer;
  padding: 0.5rem 1.2rem; border-radius: 999px; border: 1px solid var(--border);
  background: transparent; color: var(--muted-fg); transition: background 0.15s, color 0.15s;
}
.approach-tab:hover { background: var(--muted); color: var(--fg); }
.approach-tab.active { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }
.approach-slide { display: none; max-width: 44rem; margin: 0 auto; border-color: hsla(38, 68%, 52%, 0.3); }
.approach-slide.active { display: block; }
.approach-slide .bullets { margin-top: 1rem; }
.approach-slide .tag { color: var(--accent-gold); border-color: hsla(38, 68%, 52%, 0.3); }
.approach-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.approach-nav button {
  font: inherit; font-size: 1rem; cursor: pointer; line-height: 1;
  width: 2.4rem; height: 2.4rem; border-radius: 999px; border: 1px solid var(--border);
  background: var(--card); color: var(--fg); transition: background 0.15s;
}
.approach-nav button:hover { background: var(--muted); }
.approach-count { font-size: 0.85rem; color: var(--muted-fg); min-width: 3rem; text-align: center; }

/* ---------- Comparison / data tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.compare-table {
  width: 100%; min-width: 640px; border-collapse: collapse; background: var(--card);
  font-size: 0.92rem;
}
.compare-table th, .compare-table td {
  padding: 0.85rem 1.1rem; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.compare-table thead th { background: var(--muted); color: var(--fg); font-weight: 700; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody th { font-weight: 700; color: var(--fg); }
.compare-table th:last-child, .compare-table td:last-child { background: var(--primary-soft); }
.compare-table tbody td:nth-child(2) { color: var(--muted-fg); }
.compare-table tbody td:nth-child(3) { color: var(--fg); }
.tax-table { min-width: 0; }
/* ✗ / ✓ marks in the header row like the original comparison table */
.compare-table:not(.tax-table) thead th:nth-child(2)::before,
.compare-table:not(.tax-table) thead th:nth-child(3)::before {
  content: ""; display: inline-block; width: 0.95rem; height: 0.95rem;
  margin-right: 0.45rem; vertical-align: -0.14em;
}
.compare-table:not(.tax-table) thead th:nth-child(2)::before {
  background: rgba(72, 80, 112, 0.6);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E") center / contain no-repeat;
}
.compare-table:not(.tax-table) thead th:nth-child(2) { color: var(--muted-fg); }
.compare-table:not(.tax-table) thead th:nth-child(3)::before {
  background: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.price-note { color: var(--muted-fg); font-size: 0.9rem; margin: 0; }

/* ---------- Prose (legal / data pages) ---------- */
.prose { max-width: 48rem; }
.prose h2 { margin: 2.2rem 0 0.7rem; font-size: 1.35rem; }
.prose h3 { margin: 1.4rem 0 0.4rem; }
.prose p, .prose li { font-size: 0.95rem; color: var(--fg); }
.prose p { margin-bottom: 0.8rem; color: var(--muted-fg); }
.prose ul { padding-left: 1.2rem; margin-bottom: 0.8rem; }
.prose li { margin-bottom: 0.3rem; color: var(--muted-fg); }
.prose strong { color: var(--fg); }
.toc { position: sticky; top: 4.5rem; font-size: 0.85rem; display: grid; gap: 0.35rem; align-content: start; }
.toc a { color: var(--muted-fg); padding: 0.2rem 0.5rem; border-left: 2px solid var(--border); }
.toc a:hover, .toc a.active { color: var(--primary); border-left-color: var(--primary); }
.legal-layout { display: grid; grid-template-columns: 14rem 1fr; gap: 2.5rem; }
@media (max-width: 860px) { .legal-layout { grid-template-columns: 1fr; } .toc { position: static; grid-auto-flow: column; overflow-x: auto; } }
.section-subtitle { color: var(--muted-fg); font-size: 0.95rem; margin: 0.4rem 0 1.25rem; max-width: 44rem; }

/* ---------- Badges / provenance (data page) ---------- */
.badge {
  display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em;
  border-radius: 999px; padding: 0.15rem 0.6rem; white-space: nowrap;
}
.badge-outline { border: 1px solid var(--border); background: transparent; color: var(--muted-fg); }
.badge-secondary { border: 1px solid var(--border); background: var(--muted); color: var(--fg); }
.provenance-row { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.6rem 0; }
.provenance-row + .provenance-row { border-top: 1px solid var(--border); }
.provenance-row p { font-size: 0.85rem; color: var(--muted-fg); margin: 0.1rem 0 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); margin-top: 3rem; background: transparent; }
.site-footer .container { padding: 2.25rem 1.25rem; display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; font-size: 0.85rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { color: var(--muted-fg); }
.footer-links a:hover { color: var(--primary); }
.footer-legal { width: 100%; font-size: 0.75rem; color: var(--muted-fg); border-top: 1px solid var(--border); padding-top: 1rem; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
