/* ==========================================================================
   DP Systems — one-pager (v4 design)
   Plain CSS, no build step. Load order: fonts.css, style.css, drawer.css.

   Contents
     1.  Design tokens
     2.  Reset & base
     3.  Focus & motion
     4.  Utilities (shell, eyebrow, skip link, visually-hidden)
     5.  Buttons
     6.  Hero + header
     7.  Brama z telefonu
     8.  Przykłady wdrożeń (carousel)
     9.  Jak to przebiega
     10. Pytania (FAQ)
     11. Kontakt
     12. Footer
     13. Small screens
   ========================================================================== */


/* 1. Design tokens ========================================================= */

:root {
  /* Surfaces */
  --bg:              #F4F5F2;
  --bg-sunken:       #EDF0EA;
  --bg-raised:       #FFFFFF;
  --bg-paper:        #F8F6F0;

  /* Ink */
  --ink:             #1A2224;
  --ink-muted:       #3F5A5E;
  --ink-subtle:      #5E6F71;

  /* Brand */
  --teal:            #024E58;
  --teal-dark:       #013C44;
  --teal-mid:        #2F6D74;
  --teal-soft:       #0E5F69;
  --teal-pale:       #A9C6CA;
  --teal-mist:       #D3E4E6;
  --teal-ink:        #0A4B54;
  --lime:            #CFEC1F;

  /* Lines */
  --border:          #DDE1DC;

  /* Type */
  --font-display:    'Exo 2', system-ui, sans-serif;
  --font-body:       Inter, system-ui, sans-serif;

  /* Layout */
  --shell:           1240px;
  --gutter:          28px;

  --focus:           var(--teal);
  --ease:            180ms ease;
}


/* 2. Reset & base ========================================================== */

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

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--teal);
  text-decoration: none;
  transition: color var(--ease), background-color var(--ease), border-color var(--ease);
}

a:hover {
  color: var(--teal-dark);
}

h1, h2, h3, h4, p, figure, ul, ol {
  margin: 0;
}

::selection {
  background: var(--lime);
  color: var(--teal);
}

/* Anchored sections clear nothing (the header is not sticky), but a little
   air above the target reads better. */
section[id] {
  scroll-margin-top: 12px;
}


/* 3. Focus & motion ======================================================== */

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.on-dark {
  --focus: var(--lime);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}


/* 4. Utilities ============================================================= */

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--lime);
  color: var(--teal);
  font-weight: 600;
  border-radius: 999px;
}

.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.nowrap {
  white-space: nowrap;
}

/* Short lime rule used as a bullet and as a section accent. */
.dash {
  flex-shrink: 0;
  display: inline-block;
  width: 18px;
  height: 4px;
  background: var(--lime);
}


/* 5. Buttons =============================================================== */

.btn {
  display: inline-block;
  padding: 15px 26px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--ease), color var(--ease), border-color var(--ease);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 14.5px;
}

.btn--lg {
  padding: 15px 28px;
  font-size: 16px;
}

/* Lime on teal — hero and header */
.btn--lime {
  background: var(--lime);
  color: var(--teal);
}

.btn--lime:hover {
  background: #FFFFFF;
  color: var(--teal);
}

/* Teal on light / lime backgrounds */
.btn--primary {
  background: var(--teal);
  color: var(--bg);
}

.btn--primary:hover {
  background: var(--teal-dark);
  color: var(--lime);
}

.btn--outline {
  border-color: var(--teal);
  color: var(--teal);
  background: transparent;
}

.btn--outline:hover {
  background: var(--teal);
  color: var(--bg);
}

/* Ghost on teal */
.btn--ghost-light {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #FFFFFF;
  font-weight: 500;
}

.btn--ghost-light:hover {
  border-color: var(--lime);
  color: var(--lime);
}


/* 6. Hero + header ========================================================= */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--teal);
  color: #FFFFFF;
}

.site-header-bar {
  background: var(--teal);
}

.site-header {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.site-header__logo {
  display: flex;
}

.site-header__logo img {
  width: auto;
  height: 76px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  font-size: 14.5px;
  font-weight: 500;
}

.nav__link {
  color: var(--teal-mist);
  padding: 6px 0;
}

.nav__link:hover {
  color: var(--lime);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 48px 64px;
  align-items: center;
  padding-top: 36px;
  padding-bottom: 88px;
}

.hero .eyebrow {
  letter-spacing: 0.2em;
  color: var(--lime);
}

.hero__title {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: #FFFFFF;
  text-wrap: balance;
}

.hero__title em {
  font-style: normal;
  color: var(--lime);
}

.hero__rule {
  width: 92px;
  height: 6px;
  margin-top: 32px;
  background: var(--lime);
}

.hero__lead {
  margin-top: 28px;
  max-width: 52ch;
  font-size: 18px;
  line-height: 1.6;
  color: #FFFFFF;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin-top: 44px;
  padding: 0;
  list-style: none;
}

.hero__badges li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #FFFFFF;
}

/* Hero photo. Narrow screens: a band under the text, faded into the teal
   from the left and top. From 1040px: fills the right 60% of the hero behind
   the text column, with a wider fade; the empty spacer keeps the grid's
   right column (and so the hero's height) open. */
.hero__spacer {
  display: none;
}

.hero__visual {
  position: relative;
  isolation: isolate;
  margin-top: -40px;
  height: clamp(360px, 100vw, 620px);
  overflow: hidden;
  pointer-events: none;
}

.hero__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 20%;
}

.hero__visual::before,
.hero__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__visual::before {
  background: linear-gradient(90deg, #024E58 0%, rgba(2, 78, 88, 0.72) 16%, rgba(2, 78, 88, 0.28) 32%, rgba(2, 78, 88, 0) 46%);
}

.hero__visual::after {
  background: linear-gradient(180deg, #024E58 0%, rgba(2, 78, 88, 0.6) 9%, rgba(2, 78, 88, 0) 22%);
}

@media (min-width: 1040px) {
  /* The photo runs up behind the header bar (as in the design, where the
     header sits inside the hero), so its top fade blends into the nav
     instead of leaving an edge. Header and text stay above it. */
  .hero {
    overflow: visible;
  }

  .site-header,
  .hero__grid {
    z-index: 2;
  }

  .hero__spacer {
    display: block;
    min-height: 560px;
  }

  .hero__visual {
    position: absolute;
    z-index: 1;
    /* = header bar height: 22px + 76px logo + 22px (one row from 1040px) */
    top: -120px;
    right: 0;
    bottom: 0;
    left: 40%;
    margin: 0;
    height: auto;
  }

  .hero__visual img {
    object-position: 50% 22%;
  }

  .hero__visual::before {
    background: linear-gradient(90deg, #024E58 0%, #024E58 8%, rgba(2, 78, 88, 0.88) 18%, rgba(2, 78, 88, 0.62) 28%, rgba(2, 78, 88, 0.32) 38%, rgba(2, 78, 88, 0.12) 48%, rgba(2, 78, 88, 0) 58%);
  }

  .hero__visual::after {
    background: linear-gradient(180deg, rgba(2, 78, 88, 0.92) 0%, rgba(2, 78, 88, 0.6) 12%, rgba(2, 78, 88, 0) 24%);
  }
}


/* 7. Brama z telefonu ====================================================== */

.gate {
  background: var(--lime);
}

.gate__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 44px 80px;
  align-items: start;
  padding-top: 84px;
  padding-bottom: 84px;
}

.gate .eyebrow {
  color: var(--teal-ink);
}

.gate__quote {
  margin-top: 22px;
  max-width: 44ch;
  font-size: 17px;
  line-height: 1.5;
  color: var(--teal-ink);
  text-wrap: pretty;
}

.gate__title {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--teal);
}

/* "Kurier nie czeka pod bramą." — white marker highlight, one per line. */
.gate__payoff {
  margin-top: 36px;
  margin-left: -6px;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--teal);
}

.gate__payoff span {
  padding: 0 6px;
  background: linear-gradient(transparent 58%, #FFFFFF 58%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.gate__body {
  padding-top: 6px;
}

.checklist {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  column-gap: 14px;
  font-size: 19px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--teal);
}

.checklist li::before {
  content: '';
  width: 18px;
  height: 3px;
  margin-top: 13px;
  background: var(--teal);
}

.gate__text {
  margin-top: 28px;
  max-width: 54ch;
  font-size: 17px;
  line-height: 1.55;
  color: var(--teal-ink);
  text-wrap: pretty;
}

.gate__callout {
  margin-top: 30px;
  padding: 26px 30px 28px;
  background: var(--teal);
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.35;
  font-weight: 600;
  color: #FFFFFF;
  text-wrap: pretty;
}

.gate__callout em {
  font-style: normal;
  color: var(--lime);
}

.gate__actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}


/* 8. Przykłady wdrożeń ===================================================== */

.cases {
  background: var(--bg);
}

.cases__inner {
  padding-top: 92px;
  padding-bottom: 76px;
}

.cases__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 56px;
}

.cases__head > div {
  flex: 1 1 520px;
}

.cases__title {
  margin-top: 20px;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
}

.cases__intro {
  flex: 0 1 380px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-muted);
  text-wrap: pretty;
}

.track-group {
  margin-top: 64px;
}

.track-group__head {
  border-top: 2px solid var(--teal);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.track-group__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
  font-weight: 600;
}

.track-group__label {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--teal-mid);
}

.track-group__tagline {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.3vw, 27px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* Prev / next — only shown once JS is running. */
.track-nav {
  display: none;
  align-items: center;
  gap: 10px;
}

.js .track-nav {
  display: flex;
}

.track-nav__counter {
  min-width: 76px;
  text-align: right;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.round-btn {
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1.5px solid var(--teal);
  border-radius: 999px;
  background: transparent;
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--ease), color var(--ease);
}

.round-btn:hover {
  background: var(--teal);
  color: var(--lime);
}

.round-btn--solid {
  background: var(--teal);
  color: var(--lime);
}

.round-btn--solid:hover {
  background: var(--teal-dark);
  color: #FFFFFF;
}

/* The track sizes its cards from its own width: 3.4 visible on wide
   screens, 2.4 on tablets, 1.25 on phones — the partial card hints that
   there is more to scroll. */
.track-wrap {
  position: relative;
  margin-top: 26px;
  container-type: inline-size;
}

.track {
  --per: 1.25;
  --cols: 2;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--cols) - 1) * 24px) / var(--per));
  gap: 24px;
  margin: 0;
  padding: 0 0 2px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.track::-webkit-scrollbar {
  display: none;
}

@container (min-width: 720px) {
  .track { --per: 2.4; --cols: 3; }
}

@container (min-width: 1000px) {
  .track { --per: 3.4; --cols: 4; }
}

.case {
  scroll-snap-align: start;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 26px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  transition: border-color var(--ease);
}

.case:hover {
  border-color: var(--teal);
}

.case__quote {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-subtle);
  text-wrap: pretty;
}

.case__quote::before { content: '„'; }
.case__quote::after  { content: '”'; }

.case__rule {
  flex-shrink: 0;
  margin-top: 22px;
  width: 28px;
  height: 5px;
  background: var(--lime);
}

.case__title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 600;
  color: var(--teal);
  text-wrap: balance;
}

.case__text {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-muted);
  text-wrap: pretty;
}

/* What changes for the customer — lime marker highlight, one per line. */
.case__outcome {
  margin-top: auto;
  margin-left: -5px;
  padding-top: 24px;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--teal);
  text-wrap: balance;
}

.case__outcome span {
  padding: 0 5px;
  background: linear-gradient(transparent 58%, var(--lime) 58%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* "Sprawdź inne scenariusze" — floats over the peeking card. JS sets
   --peek to the width of the partially visible card and toggles the
   data attributes. */
.track-more {
  display: none;
}

.js .track-wrap[data-more] .track-more {
  display: block;
}

.track-more__veil {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--peek, 150px);
  pointer-events: none;
  background: linear-gradient(90deg, rgba(244, 245, 242, 0) 0%, rgba(244, 245, 242, 0.55) 50%, rgba(244, 245, 242, 0.88) 100%);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
}

.track-more__btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 132px;
  padding: 22px 14px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--teal);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 22px 44px -20px rgba(1, 60, 68, 0.6);
  transition: background-color var(--ease);
}

.track-more__btn:hover {
  background: var(--teal-dark);
}

.track-more__icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.track-more__label {
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 600;
}

.track-more__count {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--lime);
}

/* Compact: too little of the next card peeks out for the full pill. */
.track-wrap[data-compact] .track-more__btn {
  right: 10px;
  width: 56px;
  height: 56px;
  padding: 0;
  justify-content: center;
  color: var(--lime);
  box-shadow: 0 16px 34px -16px rgba(1, 60, 68, 0.6);
}

.track-wrap[data-compact] .track-more__icon {
  width: auto;
  height: auto;
  background: none;
  color: inherit;
}

.track-wrap[data-compact] .track-more__label,
.track-wrap[data-compact] .track-more__count {
  display: none;
}

.track-wrap[data-compact] .track-more__veil {
  background: linear-gradient(90deg, rgba(244, 245, 242, 0) 0%, rgba(244, 245, 242, 0.7) 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 50%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 50%);
}

.cases__disclaimer {
  margin-top: 52px;
  max-width: 88ch;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-subtle);
  text-wrap: pretty;
}


/* 9. Jak to przebiega ====================================================== */

.process {
  background: var(--teal);
  color: #FFFFFF;
}

.process__inner {
  padding-top: 92px;
  padding-bottom: 84px;
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 52px 72px;
  align-items: center;
}

.process .eyebrow {
  color: var(--lime);
}

.process__title {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: #FFFFFF;
}

.process__lead {
  margin-top: 24px;
  max-width: 48ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--teal-pale);
  text-wrap: pretty;
}

.steps {
  margin-top: 40px;
  padding: 0;
  list-style: none;
  display: grid;
  row-gap: 26px;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 18px;
  align-items: start;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 0.95;
  font-weight: 600;
  color: var(--lime);
}

.steps__title {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
  color: #FFFFFF;
}

.steps__text {
  margin-top: 5px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--teal-pale);
}

.sketch__board {
  background: var(--bg-paper);
  box-shadow: 0 34px 70px -34px rgba(0, 0, 0, 0.55);
}

.sketch__board svg {
  width: 100%;
  height: auto;
  font-family: var(--font-display);
}

.sketch figcaption {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--teal-pale);
}

.pillars {
  margin-top: 76px;
  padding: 40px 0 0;
  border-top: 1px solid rgba(207, 236, 31, 0.32);
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 32px 48px;
}

.pillars__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: #FFFFFF;
}

.pillars__title .dash {
  width: 16px;
  height: 3px;
}

.pillars__text {
  margin-top: 8px;
  padding-left: 28px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--teal-pale);
  text-wrap: pretty;
}


/* 10. Pytania (FAQ) ======================================================== */

.faq {
  background: #FFFFFF;
}

.faq__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 36px 72px;
  align-items: flex-start;
  padding-top: 92px;
  padding-bottom: 92px;
}

.faq__intro {
  flex: 1 1 300px;
}

.faq__title {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
}

.faq__lead {
  margin-top: 20px;
  max-width: 36ch;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-muted);
  text-wrap: pretty;
}

.faq__list {
  flex: 2 1 540px;
  border-bottom: 1px solid var(--border);
}

.faq__item {
  border-top: 1px solid var(--border);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--ink);
  transition: color var(--ease);
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q:hover {
  color: var(--teal);
}

.faq__icon {
  flex-shrink: 0;
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1.5px solid var(--teal);
}

/* Plus drawn from two bars; the vertical one folds away when open. */
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.8px;
  background: var(--teal);
  translate: -50% -50%;
  transition: rotate var(--ease);
}

.faq__icon::after {
  rotate: 90deg;
}

.faq__item[open] .faq__icon::after {
  rotate: 0deg;
}

.faq__a {
  padding: 0 58px 26px 0;
  max-width: 72ch;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-muted);
  text-wrap: pretty;
}


/* 11. Kontakt ============================================================== */

.contact {
  background: var(--lime);
}

.contact__inner {
  padding-top: 92px;
  padding-bottom: 84px;
}

.contact .eyebrow {
  color: var(--teal-ink);
}

.contact__title {
  margin-top: 22px;
  max-width: 20ch;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.8vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--teal);
  text-wrap: balance;
}

.contact__lead {
  margin-top: 24px;
  max-width: 56ch;
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--teal-ink);
  text-wrap: pretty;
}

.contact__phone {
  display: inline-block;
  margin-top: 40px;
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 76px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--teal);
  white-space: nowrap;
}

.contact__phone:hover {
  color: var(--teal-dark);
}

.contact__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
}

.contact__email {
  font-size: 16px;
  color: var(--teal);
  border-bottom: 1px solid var(--teal);
  padding-bottom: 2px;
}

.contact__meta {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 2px solid var(--teal);
  font-size: 12.5px;
  letter-spacing: 0.2em;
}


/* 12. Footer =============================================================== */

.site-footer {
  background: var(--bg-sunken);
  border-top: 1px solid var(--border);
}

.site-footer__legal {
  padding-bottom: 20px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-subtle);
}

/* Border on the text, not the padded shell, so the line matches the
   content width above it. */
.site-footer__legal p {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  align-items: center;
  justify-content: space-between;
  padding-top: 36px;
  padding-bottom: 36px;
}

.site-footer__logo {
  width: auto;
  height: 84px;
}

.site-footer__tagline {
  font-size: 13.5px;
  color: var(--ink-muted);
}

.site-footer__meta {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ink-subtle);
}

.site-footer__meta a {
  color: inherit;
  border-bottom: 1px solid currentColor;
}


/* 13. Small screens ======================================================== */

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }

  .site-header__logo img {
    height: 60px;
  }

  .nav {
    gap: 8px 20px;
  }

  .hero__grid {
    padding-top: 20px;
    padding-bottom: 64px;
  }

  .gate__grid,
  .cases__inner,
  .process__inner,
  .faq__inner,
  .contact__inner {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .gate__callout {
    padding: 22px 22px 24px;
    font-size: 19px;
  }

  .track-group {
    margin-top: 48px;
  }

  .faq__a {
    padding-right: 0;
  }

  .faq__q {
    font-size: 18px;
  }

  .contact__actions .btn {
    flex: 1 1 auto;
  }
}

/* Very narrow phones: keep the nav to the CTA only. The sections are still
   reachable by scrolling. */
@media (max-width: 420px) {
  .nav__link {
    display: none;
  }
}
