/* ==========================================================================
   Sync4DR - site.css
   One stylesheet for the whole site.

   1.  Design tokens
   2.  Reset and base typography
   3.  Layout helpers (container, sections, grids)
   4.  Buttons
   5.  Cards, check lists, badges
   6.  Skip link, top bar, header, navigation
   7.  Page header (inner pages)
   8.  Home page
   9.  Features, Pricing, Specifications
   10. Calculator
   11. Support, Contact, About
   12. News, articles, privacy policy, 404
   13. Footer
   14. Utilities, motion, print
   15. Banner slider (home page)
   ========================================================================== */

/* 1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --brand: #c8102e;
  --brand-dark: #9e0c24;
  --brand-tint: #fdecef;
  --ink: #1f2933;
  --ink-2: #3e4c59;
  --muted: #616e7c;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --line: #e4e7eb;
  --footer: #1f2933;
  --footer-ink: #cbd2d9;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 16px rgba(16, 24, 40, .06);
  --maxw: 1140px;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
  --focus: var(--brand);
  --focus-ring: var(--brand-tint);
  --field-border: #7b8794;
}

/* 2. Reset and base typography
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 106.25%; /* 17px at the browser default, still follows user settings */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
svg { max-width: 100%; }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--ink);
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }

a { color: var(--brand); text-underline-offset: .15em; }
a:hover { color: var(--brand-dark); }

address { font-style: normal; }
blockquote { margin: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--focus-ring);
  border-radius: 4px;
}
.btn:focus-visible, .input:focus-visible, .nav-toggle:focus-visible { border-radius: 8px; }
main:focus { outline: none; box-shadow: none; }

[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

/* 3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--maxw) + 40px);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (max-width: 399.98px) {
  .container { padding-inline: 16px; }
}

.section { padding-block: 72px; }
.section-alt { background: var(--bg-soft); }
@media (max-width: 767.98px) {
  .section { padding-block: 48px; }
}

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head > :last-child { margin-bottom: 0; }

.eyebrow {
  margin: 0 0 14px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
}
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.prose { max-width: 720px; }
.prose p { color: var(--ink-2); }
.mt-0 { margin-top: 0; }
.mt-lg { margin-top: 48px; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 899.98px) {
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
}

/* 4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 44px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-outline { background: transparent; border-color: var(--brand); color: var(--brand); }
.btn-outline:hover { background: var(--brand-tint); color: var(--brand-dark); border-color: var(--brand-dark); }
.btn-light { background: #fff; border-color: #fff; color: var(--brand-dark); }
.btn-light:hover { background: var(--brand-tint); border-color: var(--brand-tint); color: var(--brand-dark); }
.btn-outline-light { background: transparent; border-color: #fff; color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }

/* 5. Cards, check lists, badges
   -------------------------------------------------------------------------- */
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.card > :last-child { margin-bottom: 0; }
.card h2, .card h3 { margin-bottom: .6em; }
.card-flex { display: flex; flex-direction: column; }
.card-actions { margin-top: auto; padding-top: 20px; }

.checklist { list-style: none; margin: 0 0 1em; padding: 0; }
.checklist li { position: relative; margin: 0 0 .6em; padding-left: 32px; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .28em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-tint);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: calc(.28em + 6px);
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}
.checklist-sm li { font-size: .95rem; margin-bottom: .45em; }

.badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand-dark);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  vertical-align: middle;
}
.tag {
  display: inline-block;
  padding: 1px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--ink-2);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
}

/* 6. Skip link, top bar, header, navigation
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -120px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.topbar { background: var(--ink); color: var(--footer-ink); font-size: 14px; line-height: 1.4; --focus: #fff; --focus-ring: rgba(255, 255, 255, .3); }
.topbar a { color: var(--footer-ink); text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar-left { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; }
.topbar a { display: inline-flex; align-items: center; min-height: 40px; }
@media (max-width: 639.98px) {
  .topbar-email { display: none !important; }
  .topbar a { min-height: 44px; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}
.logo { display: block; flex: 0 0 auto; line-height: 0; }
.logo img { display: block; height: 52px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.site-nav a:not(.btn) {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 9px;
  border-radius: 6px;
  color: var(--ink-2);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}
.site-nav a:not(.btn):hover { color: var(--brand); }
.site-nav a[aria-current] { color: var(--ink); }
.site-nav a[aria-current]::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 3px;
  height: 3px;
  border-radius: 3px;
  background: var(--brand);
}
.nav-cta { padding: 9px 16px; font-size: .9rem; white-space: nowrap; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--field-border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, top .2s ease, background-color .2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

/* Under 1100px: nav collapses (only when JS has added .js to <html>). */
@media (max-width: 1099.98px) {
  /* Without JS the nav stays reachable as a wrapped row under the logo
     (and the tall header scrolls away instead of sticking). */
  .site-header { position: static; }
  .js .site-header { position: sticky; }
  .header-inner { flex-wrap: wrap; padding-block: 10px; }
  .site-nav { flex-basis: 100%; flex-wrap: wrap; }
  .site-nav ul { flex-wrap: wrap; }

  .js .nav-toggle { display: inline-flex; }
  .js .header-inner { flex-wrap: nowrap; padding-block: 0; }
  .js .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    background: var(--bg);
    transition: max-height .25s ease, visibility 0s linear .25s;
  }
  .js .site-nav.is-open {
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    visibility: visible;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: max-height .25s ease, visibility 0s;
  }
  .js .site-nav ul { flex-direction: column; gap: 0; padding: 8px 20px 0; }
  .js .site-nav a:not(.btn) {
    min-height: 52px;
    padding: 0 12px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1.05rem;
  }
  .js .site-nav li:last-child a:not(.btn) { border-bottom: 0; }
  .js .site-nav a[aria-current] { background: var(--brand-tint); color: var(--brand-dark); }
  .js .site-nav a[aria-current]::after { left: 0; right: auto; top: 8px; bottom: 8px; width: 4px; height: auto; }
  .js .nav-cta { margin: 12px 20px 20px; padding: 14px 22px; font-size: 1.05rem; }
}

/* 7. Page header (inner pages)
   -------------------------------------------------------------------------- */
.page-header {
  padding-block: 56px 48px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.page-header h1 { max-width: 22em; margin-bottom: .35em; }
.page-header .lead { margin: 0; }
@media (max-width: 767.98px) {
  .page-header { padding-block: 40px 32px; }
}

/* 8. Home page
   -------------------------------------------------------------------------- */
.hero {
  padding-block: 72px 64px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 48px;
  align-items: center;
}
.hero h1 { margin-bottom: .5em; }
.hero .lead { margin-bottom: 28px; }
.hero-points { margin: 28px 0 0; }
@media (max-width: 899.98px) {
  .hero { padding-block: 48px 40px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}

.diagram-card {
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.diagram { display: block; width: 100%; height: auto; }
.diagram text { font-family: var(--font); fill: var(--ink); }
.diagram .dg-box { fill: var(--bg-soft); stroke: var(--ink); stroke-width: 2; }
.diagram .dg-line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.diagram .dg-fill { fill: var(--brand-tint); }
.diagram .dg-dot { fill: var(--ink); stroke: none; }
.diagram .dg-label { font-size: 15px; font-weight: 600; }
.diagram .dg-arrow { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; }
.diagram .dg-head { fill: var(--brand); }
.diagram .dg-arrow-label { font-size: 14px; font-weight: 700; fill: var(--brand-dark); }
@media (prefers-reduced-motion: no-preference) {
  .diagram .dg-arrow { stroke-dasharray: 7 7; animation: dg-flow 1.1s linear infinite; }
}
@keyframes dg-flow { to { stroke-dashoffset: -14; } }

.benefits { padding-block: 32px; background: var(--bg); border-block: 1px solid var(--line); }
.benefits ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.benefit { display: flex; align-items: center; gap: 14px; font-weight: 600; line-height: 1.3; }
.icon-circle {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
}
.icon-circle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 899.98px) {
  .benefits ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 479.98px) {
  .benefits ul { grid-template-columns: minmax(0, 1fr); }
}

.start-card h2, .start-card h3 { font-size: 1.4rem; }
.start-card ul.checklist a { color: var(--ink); text-decoration: none; font-weight: 500; }
.start-card ul.checklist a:hover { color: var(--brand); text-decoration: underline; }
.start-card .caption { margin: 0 0 14px; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.nowrap { white-space: nowrap; }

.video-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.video-row + .video-row { margin-top: 64px; }
.video-row.reverse .video-frame { order: 2; }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-text p { color: var(--ink-2); margin-bottom: 0; }
@media (max-width: 899.98px) {
  .video-row { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .video-row + .video-row { margin-top: 48px; }
  .video-row.reverse .video-frame { order: 0; }
}

.testimonial { display: flex; flex-direction: column; margin: 0; }
.testimonial blockquote { position: relative; margin: 0 0 20px; padding-top: 34px; color: var(--ink-2); }
.testimonial blockquote::before {
  content: "\201C";
  position: absolute;
  top: -4px;
  left: -2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--brand);
  opacity: .3;
}
.testimonial blockquote p { margin: 0; }
.testimonial figcaption { margin-top: auto; font-size: .95rem; line-height: 1.5; color: var(--muted); }
.testimonial .who { display: block; color: var(--ink); font-weight: 700; }
.testimonial .role, .testimonial .date { display: block; }
.testimonial .date { margin-top: 2px; font-size: .9rem; }
.testimonial-more { margin-top: 32px; font-weight: 600; text-align: center; }

.cta-band {
  padding-block: 64px;
  background: var(--brand);
  color: #fff;
  text-align: center;
  --focus: #fff;
  --focus-ring: rgba(255, 255, 255, .35);
}
.cta-band h2 { color: #fff; }
.cta-band p { margin-bottom: 28px; font-size: 1.2rem; color: #fff; }
.cta-band .btn-row { justify-content: center; }
@media (max-width: 767.98px) {
  .cta-band { padding-block: 48px; }
}

/* 9. Features, Pricing, Specifications
   -------------------------------------------------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.feature-card { grid-column: span 2; }
.feature-card:nth-child(4) { grid-column: 2 / span 2; }
.feature-card:nth-child(5) { grid-column: 4 / span 2; }
.feature-card h2 { font-size: 1.3rem; }
.feature-card p { margin-bottom: 0; color: var(--ink-2); }
.feature-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
}
.feature-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 899.98px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card, .feature-card:nth-child(4), .feature-card:nth-child(5) { grid-column: auto; }
  .feature-card:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 599.98px) {
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
}

.callout {
  margin: 28px 0;
  padding: 22px 26px;
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--brand-tint);
  color: var(--ink);
}
.callout p { margin: 0; color: var(--ink); }

.note { margin: 40px auto 0; max-width: 720px; font-size: .9rem; color: var(--muted); text-align: center; }

.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.price-card h2 { margin-bottom: .3em; font-size: 1.4rem; }
.price-card .edition-sub { display: block; margin-top: 2px; font-size: 1rem; font-weight: 500; color: var(--muted); }
.price { margin: 12px 0 20px; font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.price span { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.price-card form { margin: auto 0 0; padding-top: 24px; }
.price-note { margin: 24px 0 0; text-align: center; color: var(--muted); }
@media (max-width: 899.98px) {
  .price-grid { grid-template-columns: minmax(0, 1fr); }
}

.spec-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.spec-stack { display: grid; gap: 24px; }
.spec-card h2 { font-size: 1.4rem; }
.spec-card .list-title { margin: 1.4em 0 .5em; font-size: 1.05rem; }
.spec-card .list-title:first-of-type { margin-top: 0; }
@media (max-width: 899.98px) {
  .spec-grid { grid-template-columns: minmax(0, 1fr); }
}

/* 10. Calculator
   -------------------------------------------------------------------------- */
.calc-wrap { max-width: 760px; margin-inline: auto; }
.calc-card + .calc-card { margin-top: 24px; }
.calc-card h2 { font-size: 1.4rem; }
.calc-card fieldset { margin: 0 0 28px; padding: 0; border: 0; min-width: 0; }
.calc-card fieldset:last-of-type { margin-bottom: 0; }
.calc-card legend { margin: 0 0 14px; padding: 0; font-size: 1.1rem; font-weight: 700; }
.field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px 48px;
  gap: 4px 12px;
  align-items: center;
  margin-bottom: 14px;
}
.field label { font-weight: 600; }
.field .unit { color: var(--muted); }
.field .hint { grid-column: 1 / -1; margin: 0; font-size: .88rem; color: var(--muted); }
.calc-hint { margin: 0 0 16px; font-size: .95rem; color: var(--muted); }
.calc-hint strong { color: var(--ink-2); }
.input {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--field-border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  text-align: right;
}
select.input { text-align: left; }
.input:focus-visible { border-color: var(--brand); }
.input[aria-invalid="true"] { border-color: var(--brand); background: var(--brand-tint); }
@media (max-width: 599.98px) {
  .field { grid-template-columns: minmax(0, 1fr) 48px; }
  .field label { grid-column: 1 / -1; }
}

.calc-result {
  margin-top: 24px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}
.calc-result p { margin: 0; font-size: 1.25rem; line-height: 1.4; color: #fff; }
.calc-result strong { display: inline-block; font-size: 1.6rem; overflow-wrap: anywhere; }
.calc-result .calc-note { margin-top: 8px; font-size: .9rem; color: var(--footer-ink); }
.calc-explain { margin: 20px 0 0; font-size: .9rem; color: var(--muted); }

/* 11. Support, Contact, About
   -------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--bg); }
.downloads { width: 100%; border-collapse: collapse; }
.downloads th, .downloads td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.downloads th { background: var(--bg-soft); font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.downloads tr:last-child td { border-bottom: 0; }
.downloads td:first-child { font-weight: 700; white-space: nowrap; }
@media (max-width: 479.98px) {
  .downloads th, .downloads td { padding: 12px 10px; }
  .downloads .badge { display: block; margin: 4px 0 0; width: max-content; }
}

.release + .release { margin-top: 28px; }
.release h3 { margin-bottom: .4em; }
.release ul { margin-bottom: 0; }
.release li + li { margin-top: .5em; }

.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.doc-card { position: relative; display: flex; flex-direction: column; padding: 24px; }
.doc-card h3 { margin-bottom: .35em; font-size: 1.1rem; }
.doc-card h3 a { color: var(--ink); text-decoration: none; }
.doc-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.doc-card h3 a:hover { color: var(--brand); }
.doc-card h3 a:focus-visible { outline: none; box-shadow: none; }
.doc-card:has(a:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; box-shadow: var(--shadow), 0 0 0 6px var(--focus-ring); }
.doc-card p { margin-bottom: 14px; font-size: .95rem; color: var(--ink-2); }
.doc-card .tag { align-self: flex-start; margin-top: auto; }

.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.contact-card h2 { font-size: 1.3rem; }
.contact-card p { color: var(--ink-2); }
.contact-card .contact-line { margin: 0 0 .4em; font-weight: 600; }
.contact-card .contact-line span { display: block; font-size: .85rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.contact-card a { overflow-wrap: anywhere; }
@media (max-width: 899.98px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
.contact-note { max-width: 720px; margin-inline: auto; text-align: center; }
.contact-note p { color: var(--ink-2); }

.testimonial-columns { column-width: 300px; column-gap: 24px; }
.testimonial-columns .card { display: inline-block; width: 100%; margin: 0 0 24px; break-inside: avoid; }

/* 12. News, articles, privacy policy, 404
   -------------------------------------------------------------------------- */
.news-list { display: grid; gap: 24px; max-width: 820px; margin-inline: auto; }
.news-item h2 { margin: .25em 0 .5em; font-size: 1.45rem; }
.news-item h2 a { color: var(--ink); text-decoration: none; }
.news-item h2 a:hover { color: var(--brand); text-decoration: underline; }
.news-item p { color: var(--ink-2); }
.news-item .more { margin: 0; font-weight: 600; }
.meta { margin: 0; font-size: .9rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); }

.article { max-width: 720px; margin-inline: auto; overflow-wrap: break-word; }
.article h1 { margin: .3em 0 .8em; font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.article p { color: var(--ink-2); }
.article .pullquote {
  margin: 1.6em 0;
  padding: 18px 24px;
  border-left: 4px solid var(--brand);
  background: var(--brand-tint);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.article .pullquote p { margin: 0; font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.article .back { margin: 40px 0 0; font-weight: 600; }

.policy { max-width: 760px; margin-inline: auto; overflow-wrap: break-word; }
.policy h2 { margin-top: 1.8em; font-size: 1.4rem; }
.policy h2:first-child { margin-top: 0; }
.policy p, .policy li { color: var(--ink-2); }
.policy ol { padding-left: 1.6em; }
.policy li { margin-bottom: .8em; padding-left: .3em; }
.policy li > p { margin-bottom: .6em; }
.policy .sub-1 { margin-left: 1.2em; }
.policy .sub-2 { margin-left: 2.4em; }

.notfound { padding-block: 96px; text-align: center; }
.notfound .lead { margin-inline: auto; }
.notfound .btn-row { justify-content: center; margin-top: 28px; }

/* 13. Footer
   -------------------------------------------------------------------------- */
.trust-strip { padding-block: 28px; background: var(--bg-soft); border-top: 1px solid var(--line); }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.trust-row li { display: flex; }
.trust-row a, .trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}
.trust-row img { display: block; width: auto; height: 56px; }
.trust-row img.logo-sm { height: 41px; }

.site-footer {
  padding-block: 56px 24px;
  background: var(--footer);
  color: var(--footer-ink);
  font-size: .95rem;
  --focus: #fff;
  --focus-ring: rgba(255, 255, 255, .3);
}
.site-footer a { color: var(--footer-ink); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-heading {
  margin: 0 0 14px;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
}
.footer-brand .footer-heading { font-size: 1.15rem; letter-spacing: 0; text-transform: none; }
.footer-brand p { max-width: 34ch; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links a { display: inline-block; padding: 9px 0; }
.footer-contact { margin: 0; padding: 0; list-style: none; }
.footer-contact li { margin: 0 0 .7em; }
.footer-contact address { margin: 0; }
.social { display: flex; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
}
.social a:hover { background: var(--brand); text-decoration: none; }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.footer-bottom { margin: 40px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; }
@media (max-width: 1023.98px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599.98px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .site-footer { padding-top: 40px; }
}

/* 14. Utilities, motion, print
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

@media print {
  .topbar, .site-header, .site-footer, .trust-strip, .skip-link { display: none !important; }
  body { font-size: 12pt; }
  .section, .page-header { padding-block: 16px; background: none; }
}

/* 15. Banner slider (home page)
   Markup: section.banner-slider > .container > .slider > .slider-frame + .slider-controls
   Behaviour: assets/js/slider.js. Without JS only slide 1 shows, no controls.
   -------------------------------------------------------------------------- */
.banner-slider { padding-block: 24px 8px; background: var(--bg); }
@media (max-width: 599.98px) {
  .banner-slider { padding-top: 16px; }
}

.slider { max-width: 1000px; margin-inline: auto; }

.slider-frame {
  position: relative;
  aspect-ratio: 1000 / 358;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--bg-soft);
  touch-action: pan-y; /* vertical page scroll still works; horizontal swipes go to slider.js */
}

/* Slides are stacked in one grid cell and cross-fade by opacity. */
.slides { display: grid; width: 100%; height: 100%; }
.slide { grid-area: 1 / 1; min-width: 0; min-height: 0; opacity: 0; visibility: hidden; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }

@media (prefers-reduced-motion: no-preference) {
  .slide { transition: opacity .6s ease, visibility .6s; }
  .slider-arrow { transition: background-color .2s ease; }
  .slider-dot::before { transition: background-color .2s ease; }
}

/* Previous / next arrows, overlaid at the vertical middle. Hidden on phones (swipe + dots instead). */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .45);
  color: #fff;
  cursor: pointer;
}
.slider-arrow:hover { background: rgba(0, 0, 0, .7); }
.slider-prev { left: 12px; }
.slider-next { right: 12px; }
.slider-arrow svg,
.slider-pause svg { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.slider-arrow svg { width: 22px; height: 22px; }
@media (max-width: 599.98px) {
  .slider-arrow { display: none; }
}

/* Controls row under the picture: dots (12px circles in 32px hit areas) + pause/play. */
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; }
.slider-dots { display: flex; align-items: center; }
.slider-dot {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.slider-dot::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--field-border);
}
.slider-dot:hover::before { background: var(--muted); }
.slider-dot[aria-current="true"]::before { background: var(--brand); }

.slider-pause {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1.5px solid var(--field-border);
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink-2);
  cursor: pointer;
}
.slider-pause:hover { border-color: var(--brand); color: var(--brand); }
.slider-pause svg { width: 14px; height: 14px; }
.slider-pause .icon-play { display: none; fill: currentColor; stroke-width: 2; }
.banner-slider.is-paused .slider-pause .icon-pause { display: none; }
.banner-slider.is-paused .slider-pause .icon-play { display: block; }

/* The site-wide focus style squares off the corners; keep the round buttons round. */
.slider-arrow:focus-visible,
.slider-dot:focus-visible,
.slider-pause:focus-visible { border-radius: 50%; }

/* No JavaScript: only slide 1 is shown, so there is nothing to control. */
html:not(.js) .slider-arrow,
html:not(.js) .slider-controls { display: none; }
