/* ==========================================================================
   FAZ Serwis — Stylesheet
   Plain CSS3, no frameworks. Mobile-first. See /DesignGuidelines.txt
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

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

ul {
  list-style: none;
}

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

button {
  font: inherit;
  cursor: pointer;
}

input,
textarea {
  font: inherit;
}

/* --------------------------------------------------------------------------
   2. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #f6f6f6;
  --color-bg-dark: #111111;
  --color-text-primary: #1a1a1a;
  --color-text-secondary: #555555;
  --color-text-on-dark: #ffffff;
  --color-text-on-dark-secondary: #c7c7c7;
  --color-accent: #7f0000;
  --color-accent-hover: #990000;
  --color-border: #e5e5e5;
  --color-success: #2e7d32;
  --color-warning: #c98a00;

  /* Typography */
  --font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --line-height: 1.6;

  --fs-h1: 36px;
  --fs-h2: 30px;
  --fs-h3: 26px;
  --fs-body: 18px;
  --fs-small: 15px;

  /* Layout */
  --max-width: 1200px;
  --content-padding-inline: 20px;
  --section-spacing: 50px;
  --radius-card: 12px;
  --radius-button: 8px;
  --transition: 200ms ease;
  --header-height: 72px;
}

@media (min-width: 768px) {
  :root {
    --section-spacing: 70px;
    --content-padding-inline: 32px;
  }
}

@media (min-width: 1024px) {
  :root {
    --fs-h1: 52px;
    --fs-h2: 36px;
    --section-spacing: 100px;
  }
}

/* --------------------------------------------------------------------------
   3. Base typography
   -------------------------------------------------------------------------- */
body {
  font-family: var(--font-family);
  font-size: var(--fs-body);
  line-height: var(--line-height);
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.2;
  /* No explicit color: inherit from the section (body sets the light-bg
     default; .section--dark overrides it for dark sections like the hero). */
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

p {
  color: var(--color-text-secondary);
}

small,
.text-small {
  font-size: var(--fs-small);
}

/* Visible focus states — accessibility requirement */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-accent);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
}

.skip-link:focus {
  left: 20px;
  top: 20px;
}

/* --------------------------------------------------------------------------
   4. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--content-padding-inline);
}

.section {
  padding-block: var(--section-spacing);
}

.section--secondary {
  background-color: var(--color-bg-secondary);
}

.section--dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-on-dark);
}

.section-header {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-header p {
  margin-top: 12px;
}

.section--dark .section-header p {
  color: var(--color-text-on-dark-secondary);
}

.eyebrow {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-button);
  font-weight: 600;
  font-size: var(--fs-body);
  border: 1px solid transparent;
  transition: background-color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: #fff;
  color: var(--color-text-primary);
  border-color: var(--color-text-primary);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background-color: var(--color-bg-secondary);
  transform: translateY(-2px);
}

.section--dark .btn-secondary {
  background-color: transparent;
  color: #fff;
  border-color: #ffffff66;
}

.section--dark .btn-secondary:hover,
.section--dark .btn-secondary:focus-visible {
  background-color: #ffffff1a;
}

.btn-block {
  width: 100%;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

/* --------------------------------------------------------------------------
   6. Icons
   -------------------------------------------------------------------------- */
.icon {
  width: 28px;
  height: 28px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Solid brand glyphs (e.g. Font Awesome logo icons) use fill, not stroke */
.icon.icon--brand {
  stroke: none;
  fill: currentColor;
  color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   7. Cards
   -------------------------------------------------------------------------- */
.card {
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  padding: 32px;
}

/* --------------------------------------------------------------------------
   8. Header / Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: transparent;
  transition: background-color var(--transition), box-shadow var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

/* Homepage only: transparent header becomes solid after scroll (JS toggles .is-scrolled).
   TODO: inner pages (once built) won't have a dark hero behind the header —
   give <body> a "no-transparent-header" class on those pages so .site-header
   starts solid instead of waiting for scroll. */
.site-header.is-scrolled,
.site-header.no-transparent {
  background-color: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--color-border);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  position: relative;
  display: inline-flex;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

.logo-img {
  transition: opacity var(--transition);
}

.logo-img--scrolled {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.site-header.is-scrolled .logo-img--top,
.site-header.no-transparent .logo-img--top {
  opacity: 0;
}

.site-header.is-scrolled .logo-img--scrolled,
.site-header.no-transparent .logo-img--scrolled {
  opacity: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav ul {
  display: flex;
  gap: 28px;
}

.main-nav a:not(.btn):not(.nav-social) {
  font-weight: 500;
  font-size: var(--fs-small);
  color: #fff;
  transition: color var(--transition);
  padding-block: 4px;
  border-bottom: 2px solid transparent;
}

.site-header.is-scrolled .main-nav a:not(.btn):not(.nav-social),
.site-header.no-transparent .main-nav a:not(.btn):not(.nav-social) {
  color: var(--color-text-primary);
}

.main-nav a:not(.btn):not(.nav-social):hover,
.main-nav a:not(.btn):not(.nav-social):focus-visible {
  border-bottom-color: var(--color-accent);
}

.main-nav a.is-active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.site-header.is-scrolled .main-nav a.is-active,
.site-header.no-transparent .main-nav a.is-active {
  color: var(--color-accent);
}

.nav-cta {
  padding: 10px 20px;
  font-size: var(--fs-small);
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: #fff;
  transition: color var(--transition);
}

.nav-social svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.nav-social:hover,
.nav-social:focus-visible {
  color: var(--color-accent);
}

.site-header.is-scrolled .nav-social,
.site-header.no-transparent .nav-social {
  color: var(--color-text-primary);
}

/* Mobile menu — CSS-only checkbox toggle, no JS needed */
.nav-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 101;
}

.nav-toggle-label span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: #fff;
  transition: background-color var(--transition), transform var(--transition), opacity var(--transition);
}

.site-header.is-scrolled .nav-toggle-label span,
.site-header.no-transparent .nav-toggle-label span {
  background-color: var(--color-text-primary);
}

@media (max-width: 767px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 30%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 40px;
    padding: 100px 24px 40px;
    background-color: #fff;
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  /* menu open: force dark text/icon color even if header hasn't scrolled,
     since the open panel is white regardless of header state (mirrors the
     hamburger-icon fix below; needs !important since the desktop link-color
     rule's :not(.nav-social) exclusion gives it higher specificity than a
     plain override here) */
  .main-nav a:not(.btn),
  .nav-social {
    color: var(--color-text-primary) !important;
  }

  .main-nav a:not(.btn) {
    font-size: var(--fs-h3);
  }

  .nav-cta {
    width: 100%;
  }

  .nav-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .nav-toggle-input:checked ~ .main-nav {
    transform: translateX(0);
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.08);
  }

  .nav-toggle-input:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle-input:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle-input:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* menu open: force dark icon color even if header hasn't scrolled, since
     the open panel is white regardless of header state */
  .nav-toggle-input:checked ~ .nav-toggle-label span {
    background-color: var(--color-text-primary) !important;
  }
}

@media (min-width: 768px) {
  .nav-toggle-label {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */
.hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  /* TODO: replace solid dark background with a real workshop photo once
     available (see SITE-PLAN.md §9/§11). Keep dark overlay for text contrast
     when a photo is added. */
  background-color: var(--color-bg-dark);
  color: var(--color-text-on-dark);
}

.hero-content {
  width: 100%;
}

.hero-content h1 {
  max-width: 1000px;
}

.hero p.lead {
  margin-top: 20px;
  font-size: var(--fs-body);
  color: var(--color-text-on-dark-secondary);
  max-width: 760px;
}

.hero-note {
  margin-top: 20px;
  color: var(--color-text-on-dark-secondary);
  font-size: var(--fs-small);
}

/* --------------------------------------------------------------------------
   10. How it works
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  list-style: none;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(5, 1fr);
  }
}

.step {
  position: relative;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step .icon {
  margin-bottom: 16px;
}

.step h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   11. Services
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card .icon {
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.service-card p {
  margin-bottom: 20px;
}

.service-card .card-link {
  color: var(--color-accent);
  font-weight: 600;
  font-size: var(--fs-small);
}

.service-card .card-link:hover,
.service-card .card-link:focus-visible {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   12. Why us (Dlaczego my)
   -------------------------------------------------------------------------- */
.trust-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-tile h3 {
  font-size: 20px;
  margin: 16px 0 8px;
}

.trust-tile p {
  font-size: var(--fs-small);
}

/* --------------------------------------------------------------------------
   13. About us
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  gap: 40px;
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-media {
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

/* TODO: swap for a real workshop/team photo — see SITE-PLAN.md §9/§11 */
.about-media img {
  max-width: 220px;
  opacity: 0.85;
}

.about-copy p + p {
  margin-top: 16px;
}

.dla-firm-lead {
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

.b2b-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  margin-top: 40px;
  padding: 32px;
  border-radius: var(--radius-card);
  background-color: var(--color-accent);
  color: #fff;
}

.b2b-cta h3 {
  font-size: var(--fs-h3);
}

.b2b-cta p {
  margin-top: 6px;
  color: #ffffffcc;
  max-width: 460px;
  margin-inline: auto;
}

.b2b-cta .cta-group {
  margin-top: 0;
  justify-content: center;
}

.b2b-cta .btn-primary {
  background-color: #fff;
  color: var(--color-accent);
}

.b2b-cta .btn-primary:hover,
.b2b-cta .btn-primary:focus-visible {
  background-color: #f2f2f2;
}

.b2b-cta .btn-secondary {
  background-color: transparent;
  color: #fff;
  border-color: #ffffff66;
}

.b2b-cta .btn-secondary:hover,
.b2b-cta .btn-secondary:focus-visible {
  background-color: #ffffff1a;
}

.cta-email-full {
  display: none;
}

@media (min-width: 768px) {
  .cta-email-full {
    display: inline;
  }

  .cta-email-short {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   14. Brands / scope of operation
   -------------------------------------------------------------------------- */
.scope-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .scope-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.scope-block h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.brands-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.brand-tag {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--color-text-primary);
  background-color: #fff;
}

.brands-disclaimer {
  margin-top: 24px;
  font-size: var(--fs-small);
}

.scope-note {
  margin-top: 24px;
  font-size: var(--fs-body);
  color: var(--color-text-primary);
}

/* --------------------------------------------------------------------------
   15. FAQ
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-weight: 600;
  font-size: 17px;
  color: var(--color-text-primary);
}

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

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 400;
  color: var(--color-accent);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding-bottom: 22px;
  max-width: 680px;
}

/* --------------------------------------------------------------------------
   16. Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}

.contact-intro h2 + p {
  margin-top: 20px;
}

.contact-intro p + p {
  margin-top: 16px;
}

.contact-intro .contact-form {
  margin-top: 32px;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-item h3 {
  font-size: var(--fs-body);
  margin-bottom: 4px;
}

.contact-info-item p,
.contact-info-item a {
  font-size: var(--fs-small);
}

.contact-info-item a {
  color: var(--color-text-primary);
  font-weight: 600;
}

.contact-info-item a:hover,
.contact-info-item a:focus-visible {
  color: var(--color-accent);
}

.map-embed {
  margin-top: 32px;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.map-embed iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: var(--fs-small);
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-button);
  background-color: #fff;
  color: var(--color-text-primary);
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

.form-note {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
}

.form-note a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Web3Forms honeypot — must stay invisible to people and to screen readers.
   display:none removes it from the accessibility tree too, which is what we
   want: a real user should never be able to reach or tick it. */
.form-botcheck {
  display: none;
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-bg-dark);
  color: var(--color-text-on-dark-secondary);
  padding-block: 60px 32px;
}

.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  padding-bottom: 40px;
  border-bottom: 1px solid #ffffff1a;
}

@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-heading {
  color: #fff;
  font-size: var(--fs-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list a {
  font-size: var(--fs-small);
  transition: color var(--transition);
}

.footer-nav-list a:hover,
.footer-nav-list a:focus-visible {
  color: #fff;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: var(--fs-small);
}

/* Links here sit among plain text, and the global reset strips underlines —
   without this the privacy-policy link is indistinguishable from the copyright
   notice next to it. */
.footer-bottom a {
  text-decoration: underline;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #fff;
}

/* --------------------------------------------------------------------------
   18. Inner pages (service sub-pages)
   -------------------------------------------------------------------------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--color-accent);
}

.breadcrumb .current {
  color: var(--color-text-primary);
  font-weight: 600;
}

.page-header {
  padding-top: calc(var(--header-height) + 50px);
  padding-bottom: 60px;
  background-color: var(--color-bg-secondary);
}

.page-header h1 {
  max-width: 760px;
}

.page-header .lead {
  margin-top: 16px;
  max-width: 640px;
}

.tag-group {
  margin-bottom: 32px;
}

.tag-group:last-child {
  margin-bottom: 0;
}

.tag-group h3 {
  font-size: 19px;
  margin-bottom: 14px;
}

.feature-list {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin-top: 24px;
}

@media (min-width: 768px) {
  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.feature-list li .icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.feature-list li span {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
}

.cta-banner .container {
  max-width: 700px;
  text-align: center;
}

.cta-banner-lead {
  margin-top: 20px;
  color: var(--color-text-on-dark);
}

.cta-banner .cta-group {
  justify-content: center;
}

.related-links {
  padding-block: 40px;
  border-top: 1px solid var(--color-border);
}

.related-links h2 {
  font-size: var(--fs-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.related-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.related-links a {
  font-weight: 600;
  color: var(--color-text-primary);
}

.related-links a:hover,
.related-links a:focus-visible {
  color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   20. Legal pages (privacy policy, terms)
   Long-form text only. Deliberately narrow: the 1200px container is far too
   wide a measure to read a paragraph across, so this caps the line length.
   -------------------------------------------------------------------------- */
.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  font-size: var(--fs-h3);
  margin-top: 44px;
  margin-bottom: 12px;
}

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

.legal-content p {
  margin-bottom: 14px;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

/* ul has list-style:none globally (see the reset), so bullets are restored
   here — in a legal document the list structure carries meaning. */
.legal-content ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 14px;
}

/* Numbered clauses, and lettered sub-points nested inside them. The numbering
   IS the reference system in a terms document — "§3 ust. 7" has to be
   countable on the page, so these must never be flattened to plain bullets. */
.legal-content ol {
  list-style: decimal;
  padding-left: 22px;
  margin-bottom: 14px;
  color: var(--color-text-secondary);
}

.legal-content ol ol {
  list-style: lower-alpha;
  margin-top: 6px;
  margin-bottom: 0;
}

.legal-content li {
  margin-bottom: 6px;
}

.legal-content ol > li {
  margin-bottom: 10px;
}

.legal-content a {
  color: var(--color-accent);
  text-decoration: underline;
}

.legal-content .legal-updated {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
}
