/* ==========================================================================
   Sterna GPS — strona zapowiadająca
   Motyw: tarcza tachografu — chłodny papier pomiarowy, kobaltowa podziałka,
   bursztynowe postoje. Mobile-first; progi: 560 / 760 / 960 / 1100 px.
   ========================================================================== */

:root {
  /* kolory */
  --paper: #EEF2F3;
  --panel: #F9FBFB;
  --line: #CAD3D8;
  --line-soft: #DDE4E7;
  --ink: #0E1B2C;
  --ink-2: #4A5A6E;
  --cobalt: #2346D8;
  --cobalt-deep: #1A35A8;
  --amber: #F0A92B;
  --amber-hi: #F6BE58;

  --night: #0E1B2C;
  --night-2: #142640;
  --night-line: #26394F;
  --on-night: #E4EAEF;
  --on-night-2: #9DABBB;

  --parking-bg: #DDE4E7;
  --parking-line: #9AA8B5;

  /* typografia — skala klasyczna: 14 / 16–17 / 21 / 24–36 / 28–48 / 36–72 */
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --t-sm: 0.875rem;
  --t-base: clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);
  --t-md: 1.3125rem;
  --t-h3: clamp(1.125rem, 1.06rem + 0.3vw, 1.3125rem);
  --t-h2: clamp(1.75rem, 1.15rem + 2.6vw, 3rem);
  --t-h1: clamp(2.25rem, 1.15rem + 4.7vw, 4.5rem);

  /* układ */
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --header-h: 64px;
  --section-y: clamp(72px, 10vw, 136px);
  --radius: 14px;
  --radius-s: 10px;
}

@media (min-width: 960px) {
  :root { --header-h: 76px; }
}

/* ---------- podstawy ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
  color-scheme: light;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: var(--cobalt); text-underline-offset: 0.18em; }
a:hover { color: var(--cobalt-deep); }

strong { font-weight: 650; }

:focus-visible {
  outline: 2.5px solid var(--cobalt);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-s);
  font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--paper); }

.container {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}

/* ---------- przyciski ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-s);
  font: inherit;
  font-weight: 620;
  font-stretch: 104%;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn--primary { background: var(--cobalt); color: #fff; }
.btn--primary:hover { background: var(--cobalt-deep); color: #fff; }

.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.btn--signal { background: var(--amber); color: var(--ink); }
.btn--signal:hover { background: var(--amber-hi); color: var(--ink); }

/* ---------- nagłówek ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

/* Rozmycie tła na pseudo-elemencie: backdrop-filter na samym nagłówku
   zrobiłby z niego blok zawierający dla panelu menu (position: fixed). */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(238, 242, 243, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.menu-open .site-header::before { background: var(--paper); }

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }

.brand__mark {
  width: 28px;
  height: 28px;
  flex: none;
  fill: var(--cobalt);
}

.brand__name {
  font-size: 1.125rem;
  font-weight: 750;
  font-stretch: 114%;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  margin-right: -12px;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s, background-color 0.2s;
}
.nav-toggle__icon { position: relative; }
.nav-toggle__icon::before,
.nav-toggle__icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle__icon::before { top: -6px; }
.nav-toggle__icon::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { transform: translateY(-6px) rotate(-45deg); }

/* nawigacja — telefon: panel pod nagłówkiem */
.site-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 16px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  background: var(--paper);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0s linear 0.2s;
}

.menu-open .site-nav {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.2s, transform 0.2s;
}

.site-nav__list a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 650;
  font-stretch: 110%;
  text-decoration: none;
}

.site-nav__cta { width: 100%; }

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

  .site-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: clamp(20px, 2.4vw, 36px);
    padding: 0;
    background: none;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .site-nav__list {
    display: flex;
    gap: clamp(16px, 2vw, 30px);
  }

  .site-nav__list a {
    padding: 8px 0;
    border: 0;
    font-size: 0.9375rem;
    font-weight: 520;
    font-stretch: 100%;
  }
  .site-nav__list a:hover { color: var(--cobalt); }

  .site-nav__cta {
    width: auto;
    min-height: 42px;
    padding: 0 18px;
    font-size: 0.9375rem;
  }
}

/* ---------- sekcje: wspólne ---------- */

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

.section__title {
  font-size: var(--t-h2);
  font-weight: 760;
  font-stretch: 104%;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
  max-width: 22ch;
}

@media (min-width: 760px) {
  .section__title { font-stretch: 114%; }
}

.section--night {
  background: var(--night);
  color: var(--on-night);
}
.section--night :focus-visible { outline-color: var(--amber); }
.section--night a { color: var(--amber); }
.section--night a:hover { color: var(--amber-hi); }

/* ---------- 1. hero ---------- */

.hero {
  position: relative;
  padding-block: clamp(28px, 6vw, 88px) clamp(64px, 9vw, 120px);
  background-image:
    linear-gradient(rgba(14, 27, 44, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 27, 44, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: center top;
}

.hero__grid {
  display: grid;
  gap: clamp(40px, 7vw, 72px);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  font-size: var(--t-sm);
  font-weight: 600;
}

.tag__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(240, 169, 43, 0.22);
}

.hero__copy { container-type: inline-size; }

.hero__title {
  margin-top: 20px;
  font-size: var(--t-h1);
  /* najdłuższy wiersz („którym możesz”) ma ~8,6 em: 11.4cqi trzyma go w kolumnie */
  font-size: min(var(--t-h1), 11.4cqi);
  font-weight: 800;
  font-stretch: 98%;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero__lead {
  margin-top: 24px;
  max-width: 58ch;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
}

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

.hero__actions .btn { flex: 1 1 220px; }

@media (min-width: 560px) {
  .hero__title { font-stretch: 108%; }
  .hero__actions .btn { flex: 0 0 auto; }
}

@media (min-width: 1100px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
  }
  .hero__title { font-stretch: 116%; }
}

/* tarcza + odczyt */
.hero__visual {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
}

/* tablet i mały laptop: tarcza i raport obok siebie, pod tekstem */
@media (min-width: 760px) and (max-width: 1099px) {
  .hero__visual {
    max-width: none;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    align-items: center;
    gap: clamp(24px, 4vw, 48px);
  }
  .hero__visual .readout__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }
}

@media (min-width: 1100px) {
  .hero__visual { margin-inline: auto 0; }
}

.dial {
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
}

.dial__svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.dial__face { fill: var(--panel); stroke: var(--line); stroke-width: 1; }

/* podziałka z kresek: pathLength = 1440 min, więc kreska co 15 / 60 jednostek */
.dial__tick { fill: none; }
.dial__tick--q {
  stroke: var(--ink-2);
  stroke-width: 6;
  stroke-dasharray: 1.6 13.4;
  stroke-dashoffset: 0.8;
  opacity: 0.6;
}
.dial__tick--h {
  stroke: var(--ink);
  stroke-width: 12;
  stroke-dasharray: 2.6 57.4;
  stroke-dashoffset: 1.3;
}

.dial__hr {
  font-size: 13px;
  font-weight: 560;
  font-variant-numeric: tabular-nums;
  fill: var(--ink-2);
  text-anchor: middle;
}

.dial__track { fill: none; stroke: var(--line-soft); stroke-width: 22; }

.dial__seg { fill: none; stroke-width: 22; }
.dial__seg--drive { stroke: var(--cobalt); }
.dial__seg--stop { stroke: var(--amber); }
.dial__seg--parking { stroke: url(#hatch); }

.dial__hatch-bg { fill: var(--parking-bg); }
.dial__hatch-line { stroke: var(--parking-line); stroke-width: 1.8; }

.dial__grid { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 3; }
.dial__scale { font-size: 9px; fill: var(--ink-2); }

.dial__base { fill: none; stroke: var(--ink-2); stroke-width: 1; }
.dial__trace path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.3;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.dial__hub { fill: var(--ink); }
.dial__hub-label {
  font-size: 13px;
  font-weight: 650;
  fill: var(--paper);
  text-anchor: middle;
}

.dial__hand { opacity: 0; transition: opacity 0.4s; }
.dial__hand line { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.dial__hand circle { fill: var(--amber); stroke: var(--ink); stroke-width: 1.5; }
.is-playing .dial__hand { opacity: 1; transition: none; }

@media (max-width: 400px) {
  .dial__hr--minor { display: none; }
  .dial__hr { font-size: 17px; }
  .dial__scale { display: none; }
}

.readout {
  width: 100%;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.readout__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 12px;
}

.readout__title { font-weight: 650; font-size: 0.9375rem; }
.readout__note { font-size: 0.8125rem; color: var(--ink-2); }

.readout__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  margin-top: 12px;
}

/* kolumny szerokie na treść: wartości nie łamią się i nie nachodzą na siebie */
@media (min-width: 520px) {
  .readout__grid {
    grid-template-columns: repeat(4, auto);
    justify-content: space-between;
  }
}

.readout__cell dt { font-size: 0.8125rem; color: var(--ink-2); }
.readout__cell dd {
  font-size: clamp(1.25rem, 1.12rem + 0.5vw, 1.5rem);
  font-weight: 720;
  font-stretch: 104%;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
  white-space: nowrap;
}

.readout__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px 16px;
  margin-top: 14px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: var(--t-sm);
  color: var(--ink-2);
}

.legend__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
}

.legend__key { width: 16px; height: 10px; border-radius: 2px; }
.legend__key--drive { background: var(--cobalt); }
.legend__key--stop { background: var(--amber); }
.legend__key--parking {
  background: repeating-linear-gradient(45deg, var(--parking-line) 0 1.5px, var(--parking-bg) 1.5px 4px);
}

.replay {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 4px;
  margin-right: -4px;
  border: 0;
  background: none;
  color: var(--cobalt);
  font: inherit;
  font-size: var(--t-sm);
  font-weight: 600;
  cursor: pointer;
}
.replay:hover { color: var(--cobalt-deep); }
.replay[hidden] { display: none; }
.replay svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 2. czym jest ---------- */

.about__grid {
  display: grid;
  gap: clamp(40px, 6vw, 96px);
}

@media (min-width: 960px) {
  .about__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}

.about__copy p { max-width: 62ch; color: var(--ink-2); }
.about__copy .about__lead {
  margin-top: 24px;
  font-size: var(--t-md);
  line-height: 1.45;
  color: var(--ink);
}
.about__copy .about__lead + p { margin-top: 20px; }

/* tor sygnału: zapis → bufor → analiza → raporty */
.flow { position: relative; }

.flow__node {
  position: relative;
  padding: 0 0 28px 40px;
}

.flow__node::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--cobalt);
  border-radius: 50%;
  background: var(--paper);
  z-index: 1;
}

.flow__node::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 12px;
  bottom: -6px;
  width: 2px;
  background: var(--cobalt);
}

.flow__node--out { padding-bottom: 0; }
.flow__node--out::before { background: var(--cobalt); }
.flow__node--out::after { display: none; }

.flow__title {
  font-size: var(--t-h3);
  font-weight: 680;
  font-stretch: 106%;
  line-height: 1.3;
}

.flow__text { margin-top: 4px; color: var(--ink-2); max-width: 46ch; }

.agree {
  width: 100%;
  margin-top: 14px;
  border-collapse: collapse;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  overflow: hidden;
  font-size: 0.9375rem;
}

.agree th,
.agree td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: baseline;
}
.agree tr:last-child th,
.agree tr:last-child td { border-bottom: 0; }
.agree th { font-weight: 450; color: var(--ink-2); }
.agree td {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
  color: var(--cobalt);
}

.agree__ok {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: var(--t-sm);
  font-weight: 600;
}
.agree__ok svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: var(--cobalt);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 3. funkcje ---------- */

.features { padding-top: 0; }

.features__grid {
  display: grid;
  gap: 1px;
  margin-top: clamp(32px, 5vw, 56px);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

@media (min-width: 640px) {
  .features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1040px) {
  .features__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature--lead { grid-column: span 2; }
}

.feature {
  padding: clamp(24px, 3vw, 36px);
  background: var(--panel);
}

.feature p { margin-top: 10px; color: var(--ink-2); max-width: 60ch; }
.feature strong { color: var(--ink); }

.feature__icon {
  display: block;
  width: 30px;
  height: 30px;
  margin-bottom: 18px;
  fill: none;
  stroke: var(--cobalt);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature__title {
  font-size: var(--t-h3);
  font-weight: 680;
  font-stretch: 106%;
  line-height: 1.3;
}

.feature--lead { background: #fff; }

.feature__extra {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 24px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1 1 260px;
}

.chip {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  font-size: var(--t-sm);
  font-weight: 520;
  white-space: nowrap;
}

.files { display: flex; gap: 10px; }

.file {
  display: grid;
  place-items: end center;
  width: 52px;
  height: 62px;
  padding-bottom: 9px;
  background:
    linear-gradient(225deg, var(--paper) 0 10px, transparent 10px),
    linear-gradient(225deg, transparent 0 10px, var(--cobalt) 10px);
  border-radius: 5px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 750;
  font-stretch: 112%;
  letter-spacing: 0.02em;
}

/* ---------- 4. dlaczego ---------- */

.why__head {
  display: grid;
  gap: 12px;
}

.why__sub {
  font-size: var(--t-md);
  color: var(--on-night-2);
}

.why__list {
  display: grid;
  margin-top: clamp(32px, 5vw, 64px);
  column-gap: clamp(32px, 5vw, 80px);
}

@media (min-width: 820px) {
  .why__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.why__item {
  padding: 24px 0 26px;
  border-top: 1px solid var(--night-line);
}

.why__title {
  font-size: var(--t-h3);
  font-weight: 660;
  font-stretch: 106%;
  line-height: 1.3;
  color: #fff;
}

.why__item p {
  margin-top: 8px;
  color: var(--on-night-2);
  max-width: 56ch;
}

.status {
  display: inline-block;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 0.875em;
  font-weight: 600;
  line-height: 1.6;
  color: var(--on-night);
  white-space: nowrap;
}

.status--prelim { border: 1px dashed var(--amber); }
.status--partial {
  border: 1px solid var(--night-line);
  background: repeating-linear-gradient(45deg, rgba(157, 171, 187, 0.22) 0 2px, transparent 2px 6px);
}

/* ---------- 5. jak to działa ---------- */

.steps {
  display: grid;
  gap: 0;
  margin-top: clamp(32px, 5vw, 56px);
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-content: start; /* krótszy opis nie rozciąga wierszy siatki */
  column-gap: 16px;
  padding-bottom: 32px;
}

.step:last-child { padding-bottom: 0; }

/* telefon: pionowa linia łącząca numery */
.step::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 60px;
  bottom: 4px;
  width: 2px;
  background: var(--line);
}
.step:last-child::before { display: none; }

.step__num {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 2px solid var(--cobalt);
  border-radius: 50%;
  background: var(--paper);
  color: var(--cobalt);
  font-size: 1.5rem;
  font-weight: 760;
  font-stretch: 120%;
  font-variant-numeric: tabular-nums;
}

.step__title {
  align-self: center;
  font-size: var(--t-h3);
  font-weight: 680;
  font-stretch: 106%;
  line-height: 1.3;
  padding-top: 14px;
}

.step p { margin-top: 6px; color: var(--ink-2); max-width: 44ch; }

@media (min-width: 820px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 48px);
  }

  .step {
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }

  .step__num { grid-row: auto; margin-bottom: 20px; }
  .step__title { align-self: start; padding-top: 0; }

  /* desktop: pozioma linia od numeru do następnego kroku */
  .step::before {
    left: 72px;
    right: calc(-1 * clamp(24px, 3vw, 48px));
    top: 27px;
    bottom: auto;
    width: auto;
    height: 2px;
  }
}

/* ---------- 6. dla kogo ---------- */

.audience { padding-top: 0; }

.audience__grid {
  display: grid;
  gap: 28px clamp(24px, 3vw, 40px);
  margin-top: clamp(32px, 5vw, 56px);
}

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

@media (min-width: 1100px) {
  .audience__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.audience__item {
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.audience__title {
  font-size: var(--t-h3);
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1.25;
}

.audience__item p { margin-top: 8px; color: var(--ink-2); }

/* ---------- 7. premiera ---------- */

.launch__grid {
  display: grid;
  gap: clamp(40px, 6vw, 80px);
}

@media (min-width: 960px) {
  .launch__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
  }
}

.launch__copy { container-type: inline-size; }

.launch__date {
  font-size: clamp(3.5rem, 1.5rem + 11vw, 10.5rem);
  /* „01.2027” ma ~4 em szerokości: 23cqi mieści datę w kolumnie przy każdej szerokości */
  font-size: min(10.5rem, 23cqi);
  font-weight: 240;
  font-stretch: 125%;
  font-variant-numeric: tabular-nums;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--amber);
}

.launch__title { margin-top: clamp(20px, 3vw, 32px); }

.launch__text {
  margin-top: 20px;
  max-width: 52ch;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  color: var(--on-night-2);
}

.signup {
  display: grid;
  gap: 20px;
  padding: clamp(20px, 4vw, 36px);
  background: var(--night-2);
  border: 1px solid var(--night-line);
  border-radius: var(--radius);
}

.field { display: grid; gap: 8px; }

.field__label { font-weight: 600; }

.field__input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1.5px solid var(--night-line);
  border-radius: var(--radius-s);
  background: var(--night);
  color: var(--on-night);
  font: inherit;
  font-size: 1.0625rem; /* ≥16px: iOS nie powiększa strony przy fokusie */
  transition: border-color 0.15s;
}
.field__input::placeholder { color: #6E7E92; }
.field__input:focus { outline: none; border-color: var(--amber); }
.field__input[aria-invalid="true"] { border-color: #FF8A7A; }

.field__error {
  font-size: var(--t-sm);
  color: #FFB4A8;
}

.consent {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 6px 12px;
  align-items: start;
}

.consent__input {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--amber);
  cursor: pointer;
}

.consent__label {
  font-size: var(--t-sm);
  line-height: 1.5;
  color: var(--on-night-2);
  cursor: pointer;
}

.consent .field__error { grid-column: 2; }

.signup__submit { width: 100%; min-height: 52px; }

.signup__status:empty { display: none; }
.signup__status {
  padding: 12px 14px;
  border-left: 3px solid var(--amber);
  background: rgba(240, 169, 43, 0.08);
  border-radius: 0 6px 6px 0;
  font-size: var(--t-sm);
}

.signup__alt { font-size: var(--t-sm); color: var(--on-night-2); }

/* ---------- 8. pytania ---------- */

.faq__grid {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

@media (min-width: 960px) {
  .faq__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    align-items: start;
  }
}

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

.qa { border-bottom: 1px solid var(--line); }

.qa__q {
  position: relative;
  display: block;
  min-height: 44px;
  padding: 20px 48px 20px 0;
  font-size: var(--t-h3);
  font-weight: 640;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.qa__q::-webkit-details-marker { display: none; }
.qa__q:hover { color: var(--cobalt); }

/* plus → minus */
.qa__q::before,
.qa__q::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s;
}
.qa__q::after { transform: rotate(90deg); }
.qa[open] .qa__q::after { transform: rotate(0deg); }

.qa__a { padding: 0 48px 22px 0; }
.qa__a p { color: var(--ink-2); max-width: 62ch; }

@supports (interpolate-size: allow-keywords) {
  .faq__list { interpolate-size: allow-keywords; }
  .qa::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size 0.25s ease, content-visibility 0.25s allow-discrete;
  }
  .qa[open]::details-content { block-size: auto; }
}

/* ---------- stopka ---------- */

.site-footer {
  padding-block: clamp(48px, 7vw, 80px) calc(28px + env(safe-area-inset-bottom));
  background: var(--night);
  color: var(--on-night-2);
  font-size: 0.9375rem;
}

.site-footer a { color: var(--on-night); }
.site-footer a:hover { color: var(--amber); }
.site-footer :focus-visible { outline-color: var(--amber); }

.site-footer__grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 640px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1000px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

.brand--inverse { color: #fff; }
.brand--inverse:hover { color: #fff; }
.brand--inverse .brand__mark { fill: var(--amber); }

.site-footer__tagline { margin-top: 6px; }

.site-footer__head {
  margin-bottom: 10px;
  font-size: 0.9375rem;
  font-weight: 650;
  color: var(--on-night);
}

.site-footer__col p + p { margin-top: 4px; }

.placeholder { color: #7D8DA0; font-style: italic; }

.site-footer__base {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--night-line);
  font-size: var(--t-sm);
}

/* ---------- ograniczony ruch ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
