/* ==========================================================================
   RailCore — marketing site
   Paleta: granat / grafit / biel / srebro + akcent kolejowy błękit
   ========================================================================== */

:root {
  --ink: #121a26;
  --ink-soft: #4a5768;
  --ink-mute: #6b788a;
  --navy: #0b1f3a;
  --navy-deep: #071322;
  --navy-mid: #16355c;
  --blue: #2b5ea7;
  --blue-bright: #3d7bd0;
  --blue-pale: #e8eef7;
  --sky: #9dc0ee;
  --silver: #c5ccd8;
  --line: #dbe1eb;
  --line-strong: #c8d1df;
  --bg: #f4f6f9;
  --bg-alt: #eaeff6;
  --white: #ffffff;
  --amber: #e0932f;

  --radius: 6px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;

  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.06), 0 4px 12px rgba(11, 31, 58, 0.05);
  --shadow-md: 0 2px 6px rgba(11, 31, 58, 0.08), 0 16px 36px rgba(11, 31, 58, 0.1);
  --shadow-lg: 0 30px 70px rgba(7, 19, 34, 0.45);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

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

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

svg {
  display: block;
}

a {
  color: var(--blue);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--navy-mid);
}

:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 3px;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -56px;
  z-index: 1000;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

.shell {
  width: min(1160px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.shell.narrow {
  width: min(760px, calc(100% - 2.5rem));
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244, 246, 249, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 6px 24px rgba(11, 31, 58, 0.06);
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  transition: width 0.1s linear;
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.brand img {
  flex-shrink: 0;
  transition: transform 0.4s var(--ease);
}

.brand:hover img {
  transform: rotate(-8deg) scale(1.06);
}

.nav {
  display: none;
  gap: 0.35rem;
  margin-left: auto;
}

.nav a {
  display: block;
  position: relative;
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav a:hover {
  color: var(--navy);
  background: rgba(43, 94, 167, 0.07);
}

.nav a.is-current {
  color: var(--navy);
  font-weight: 600;
}

.nav a.is-current::after {
  transform: scaleX(1);
}

/* Wyższa specyficzność niż .btn, które deklaruje display: inline-flex */
.site-header .header-cta,
.site-header .header-panel {
  display: none;
  margin-left: 0.35rem;
}

.site-header .header-panel {
  margin-left: 0.5rem;
}

/* Strony prawne mają w nagłówku tylko markę i przyciski akcji */
.header-inner > .btn:last-child {
  margin-left: auto;
}

.header-inner > .header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle {
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  display: grid;
  place-content: center;
  cursor: pointer;
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--blue);
}

.nav-toggle-bars {
  display: grid;
  gap: 5px;
}

.nav-toggle-bars span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.5rem 1.25rem 1.35rem;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  animation: sheet-in 0.28s var(--ease) both;
}

@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

/* Autorska deklaracja display wygrywa z [hidden] z arkusza przeglądarki */
.nav-mobile[hidden] {
  display: none;
}

.nav-mobile a {
  text-decoration: none;
  color: var(--ink);
  padding: 0.8rem 0.35rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

.nav-mobile a:last-of-type {
  border-bottom: 0;
}

.nav-mobile-cta {
  margin-top: 0.85rem;
  border-bottom: 0 !important;
  color: var(--white) !important;
}

.nav-mobile-panel {
  margin-top: 1rem;
  border-bottom: 0 !important;
  color: var(--navy) !important;
}

.nav-mobile-panel + .nav-mobile-cta {
  margin-top: 0.5rem;
}

@media (min-width: 960px) {
  .nav {
    display: flex;
  }
  /* Dwa przyciski w nagłówku — poniżej 1200 px nawigacja jedzie w wersji skróconej */
  .nav a {
    padding: 0.45rem 0.5rem;
    font-size: 0.87rem;
  }
  .nav a::after {
    left: 0.5rem;
    right: 0.5rem;
  }
  .nav .nav-optional {
    display: none;
  }
  .site-header .header-cta,
  .site-header .header-panel {
    display: inline-flex;
  }
  .nav-toggle {
    display: none;
  }
  .nav-mobile {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .nav a {
    padding: 0.45rem 0.7rem;
    font-size: 0.92rem;
  }
  .nav a::after {
    left: 0.7rem;
    right: 0.7rem;
  }
  .nav .nav-optional {
    display: block;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.72rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  min-height: 40px;
  padding: 0.45rem 1.05rem;
  font-size: 0.88rem;
}

.btn-lg {
  min-height: 52px;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(11, 31, 58, 0.22);
}

.btn-primary:hover {
  background: var(--navy-mid);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(11, 31, 58, 0.28);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.btn-outline {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  background: rgba(43, 94, 167, 0.07);
  border-color: var(--blue);
  color: var(--navy);
}

.btn svg {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-deep);
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 7vw, 5rem);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.04);
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 19, 34, 0.62) 0%, rgba(7, 19, 34, 0.72) 55%, rgba(7, 19, 34, 0.92) 100%),
    linear-gradient(100deg, rgba(7, 19, 34, 0.85) 0%, rgba(7, 19, 34, 0.35) 62%, transparent 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2.5rem, 5vw, 3.5rem);
  align-items: center;
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 3.5rem;
  }
}

.hero-copy {
  animation: rise 0.85s var(--ease) both;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.1rem;
  padding: 0.4rem 0.9rem 0.4rem 0.7rem;
  border: 1px solid rgba(157, 192, 238, 0.35);
  border-radius: var(--radius-pill);
  background: rgba(43, 94, 167, 0.18);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #cfe0f8;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6ee7a8;
  box-shadow: 0 0 0 0 rgba(110, 231, 168, 0.7);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(110, 231, 168, 0.6);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(110, 231, 168, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(110, 231, 168, 0);
  }
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 20ch;
  text-wrap: balance;
}

.hero-lead {
  margin: 0 0 1.9rem;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.84);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-points {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 1.35rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
}

.hero-points li {
  position: relative;
  padding-left: 1.5rem;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 2px;
  background: var(--sky);
}

@media (min-width: 620px) {
  .hero-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem 1.5rem;
  }
}

.hero-device {
  margin: 0;
  justify-self: center;
  width: min(100%, 330px);
  animation: rise 0.95s var(--ease) 0.14s both;
}

.hero-device figcaption {
  margin-top: 1rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.68);
  text-align: center;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Device frame */
.device {
  position: relative;
  border-radius: 20px;
  padding: 9px;
  background: linear-gradient(160deg, #29354a 0%, #16202e 42%, #0a0f17 100%);
  border: 1px solid rgba(197, 204, 216, 0.22);
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.device::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 12px;
  pointer-events: none;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.14), transparent 42%);
}

.device img {
  width: 100%;
  border-radius: 12px;
  background: #0a0e14;
}

.device-tablet {
  aspect-ratio: auto;
}

.hero-device .device:hover {
  transform: translateY(-6px);
}

/* ==========================================================================
   Stat band
   ========================================================================== */

.stat-band {
  background: var(--navy);
  color: var(--white);
  padding: clamp(1.75rem, 4vw, 2.5rem) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-grid {
  display: grid;
  gap: 1.5rem 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.stat {
  position: relative;
  padding-left: 1.1rem;
}

.stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  background: linear-gradient(180deg, var(--blue-bright), rgba(61, 123, 208, 0.15));
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.68);
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
  padding: clamp(3.75rem, 7.5vw, 6rem) 0;
}

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

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
}

.section h2 {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--navy);
  text-wrap: balance;
}

.section-intro {
  margin: -0.25rem 0 2.5rem;
  color: var(--ink-soft);
  max-width: 56ch;
}

.section p {
  color: var(--ink-soft);
}

.section p strong,
.note strong {
  color: var(--ink);
  font-weight: 600;
}

.note {
  margin-top: 1.75rem;
  padding: 1.1rem 1.25rem;
  border-left: 3px solid var(--silver);
  background: rgba(11, 31, 58, 0.035);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.94rem;
}

/* Split layout: sticky heading + body */
.split {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 940px) {
  .split {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 3.5rem;
    align-items: start;
  }
  .split-head {
    position: sticky;
    top: calc(var(--header-h) + 2.5rem);
  }
  .split-head h2 {
    margin-bottom: 0;
  }
}

.split-body > p:first-child {
  margin-top: 0;
}

/* ==========================================================================
   Audience
   ========================================================================== */

.audience-grid {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

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

@media (min-width: 1000px) {
  .audience-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.audience-grid li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.audience-grid li:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.audience-icon {
  display: grid;
  place-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  background: var(--blue-pale);
  color: var(--blue);
}

.audience-icon svg {
  width: 22px;
  height: 22px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.audience-grid h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
}

.audience-grid p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

/* ==========================================================================
   Features
   ========================================================================== */

.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

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

@media (min-width: 1060px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature {
  position: relative;
  padding: 1.6rem 1.5rem 1.7rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue), rgba(43, 94, 167, 0.08));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature:hover::before {
  transform: scaleY(1);
}

.feature-index {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--silver);
  margin-bottom: 0.85rem;
}

.feature h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.32;
  color: var(--navy);
}

.feature p {
  margin: 0;
  font-size: 0.94rem;
}

/* ==========================================================================
   Dark showcase — real app screenshots
   ========================================================================== */

.section-dark {
  position: relative;
  background:
    radial-gradient(ellipse 70% 55% at 85% 5%, rgba(43, 94, 167, 0.28), transparent 70%),
    linear-gradient(170deg, var(--navy-deep) 0%, #0b1f3a 55%, #0d2748 100%);
  color: var(--white);
  overflow: hidden;
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 64px);
  opacity: 0.5;
  pointer-events: none;
}

.section-dark > .shell {
  position: relative;
}

.section-dark .eyebrow {
  color: var(--sky);
}

.section-dark h2 {
  color: var(--white);
}

.section-dark .section-intro,
.section-dark p {
  color: rgba(255, 255, 255, 0.74);
}

.showcase {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 1020px) {
  .showcase {
    grid-template-columns: minmax(230px, 275px) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
  }
}

.showcase-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.showcase-tabs::-webkit-scrollbar {
  height: 4px;
}

.showcase-tabs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 2px;
}

@media (min-width: 1020px) {
  .showcase-tabs {
    flex-direction: column;
    overflow: visible;
    padding-bottom: 0;
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

.showcase-tab {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: grid;
  gap: 0.15rem;
  text-align: left;
  min-width: 180px;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.showcase-tab strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
}

.showcase-tab span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.58);
}

.showcase-tab:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.28);
}

.showcase-tab.is-active {
  background: rgba(61, 123, 208, 0.2);
  border-color: var(--blue-bright);
  color: var(--white);
}

.showcase-tab.is-active span {
  color: var(--sky);
}

.showcase-stage {
  position: relative;
}

.showcase-panel {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.showcase-panel[hidden] {
  display: none;
}

.showcase-panel.is-active {
  animation: fade-in 0.4s var(--ease) both;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

@media (min-width: 700px) {
  .showcase-panel {
    grid-template-columns: minmax(220px, 290px) minmax(0, 1fr);
    gap: 2.5rem;
  }
}

.showcase-panel .device {
  justify-self: center;
  width: min(100%, 290px);
}

.showcase-desc h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}

.showcase-desc p {
  margin: 0 0 1.35rem;
  font-size: 0.98rem;
  max-width: 52ch;
}

.tick-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
}

.tick-list li {
  position: relative;
  padding-left: 1.75rem;
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--sky);
  border-bottom: 2px solid var(--sky);
  transform: rotate(-45deg);
}

/* ==========================================================================
   Gallery + lightbox
   ========================================================================== */

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 720px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
  }
}

.gallery-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--navy);
  box-shadow: var(--shadow-sm);
  /* Wąska kolumna na telefonie — wyższy kadr trzyma pionowy tablet czytelnym. */
  aspect-ratio: 1;
}

@media (min-width: 720px) {
  .gallery-item {
    aspect-ratio: 4 / 3;
  }
}

.gallery-open {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

/* Zdjęcia nie mają podpisów, więc sygnał "kliknij, aby powiększyć" niesie ta plakietka. */
.gallery-open::after {
  content: "";
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(7, 13, 22, 0.6)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4.4-4.4M11 8.2v5.6M8.2 11h5.6'/%3E%3C/svg%3E")
    center / 1.1rem no-repeat;
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(8px) scale(0.9);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
  pointer-events: none;
}

.gallery-item:hover .gallery-open::after,
.gallery-open:focus-visible::after {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.045);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(5, 11, 20, 0.92);
  backdrop-filter: blur(6px);
  animation: fade-in 0.22s var(--ease) both;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: clamp(0.75rem, 2vw, 1.5rem);
  right: clamp(0.75rem, 2vw, 1.5rem);
  width: 46px;
  height: 46px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(90deg);
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
  stroke-linecap: round;
}

/* ==========================================================================
   Why / benefits / steps
   ========================================================================== */

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

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

@media (min-width: 1040px) {
  .why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.why-card {
  padding: 1.4rem 1.4rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.why-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
}

.why-card p {
  margin: 0;
  font-size: 0.93rem;
}

.benefit-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  position: relative;
  padding: 1rem 0 1rem 1.6rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.benefit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  background: var(--white);
}

.benefit-list li:first-child {
  border-top: 1px solid var(--line);
}

.steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

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

@media (min-width: 1040px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.3rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.steps li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.step-n {
  display: grid;
  place-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.steps h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}

.steps p {
  margin: 0;
  font-size: 0.92rem;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 0 1.1rem;
  margin-bottom: 0.65rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.faq details[open] {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.faq details:hover {
  border-color: var(--line-strong);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  font-size: 0.98rem;
}

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

.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  position: relative;
  background:
    linear-gradient(var(--blue), var(--blue)) center / 14px 2px no-repeat,
    linear-gradient(var(--blue), var(--blue)) center / 2px 14px no-repeat;
  transition: transform 0.3s var(--ease);
}

.faq details[open] summary::after {
  background: linear-gradient(var(--blue), var(--blue)) center / 14px 2px no-repeat;
  transform: rotate(180deg);
}

.faq details p {
  margin: 0 0 1.05rem;
  font-size: 0.95rem;
  max-width: 66ch;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.section-contact {
  position: relative;
  background: linear-gradient(165deg, var(--navy-deep) 0%, var(--navy-mid) 52%, #1b4374 100%);
  color: var(--white);
  overflow: hidden;
}

.section-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 72px);
  pointer-events: none;
}

.section-contact > .shell {
  position: relative;
}

.section-contact .eyebrow {
  color: var(--sky);
}

.section-contact h2 {
  color: var(--white);
}

.section-contact p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 940px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.contact-meta {
  margin: 1.9rem 0;
  display: grid;
  gap: 1.1rem;
}

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

.contact-meta dt {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.25rem;
}

.contact-meta dd {
  margin: 0;
  color: var(--white);
  font-size: 0.96rem;
}

.contact-meta a {
  color: #dbe8fa;
  text-decoration: none;
  border-bottom: 1px solid rgba(219, 232, 250, 0.35);
}

.contact-meta a:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

.contact-mail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.7rem;
}

.copy-btn {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.85);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.55);
}

.copy-btn.is-done {
  background: rgba(110, 231, 168, 0.2);
  border-color: rgba(110, 231, 168, 0.6);
  color: #c9f6dd;
}

.map-embed {
  margin-top: 1.25rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  aspect-ratio: 16 / 10;
  background: #0a1830;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.3) contrast(1.05);
}

.contact-form {
  background: var(--white);
  color: var(--ink);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  border-radius: var(--radius-lg);
  display: grid;
  gap: 0.95rem;
  box-shadow: 0 30px 70px rgba(4, 12, 24, 0.35);
}

.form-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--navy);
}

/* `.section-contact p` maluje akapity na biało pod ciemne tło sekcji. Akapity w białej
   karcie formularza muszą wygrać tę regułę specyficznością, inaczej są niewidoczne. */
.contact-form .form-hint {
  margin: -0.45rem 0 0.35rem;
  font-size: 0.87rem;
  color: var(--ink-mute);
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
}

.field-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.field-label em {
  font-style: normal;
  font-weight: 400;
  color: var(--ink-mute);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.72rem 0.85rem;
  font: inherit;
  font-size: 0.96rem;
  color: var(--ink);
  background: #fbfcfe;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(43, 94, 167, 0.15);
}

.contact-form input.is-invalid,
.contact-form textarea.is-invalid {
  border-color: #c0392b;
  background: #fdf4f3;
}

.field-error {
  font-size: 0.8rem;
  color: #c0392b;
  min-height: 0;
}

.field-error:empty {
  display: none;
}

.field-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.field-count {
  margin-left: auto;
  font-size: 0.76rem;
  color: var(--ink-mute);
  font-variant-numeric: tabular-nums;
}

.contact-form .check {
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 0.2rem;
}

.contact-form .check input {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  accent-color: var(--blue);
}

.contact-form .btn {
  width: 100%;
  margin-top: 0.35rem;
}

.contact-form .form-status {
  margin: 0;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius);
  background: var(--blue-pale);
  font-size: 0.88rem;
  color: var(--navy-mid);
}

.form-status.is-ok {
  background: #e7f4ec;
  color: #1c6b3f;
}

.form-status.is-error {
  background: #fdeceb;
  color: #a5281c;
}

.contact-form button[type="submit"]:disabled {
  opacity: 0.65;
  cursor: progress;
}

/* Honeypot: pole musi być dla przeglądarki „prawdziwe” (boty pomijają display:none),
   ale nieosiągalne dla człowieka — stąd wyprowadzenie poza ekran zamiast ukrycia. */
.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ==========================================================================
   Footer + to top
   ========================================================================== */

.site-footer {
  background: #08111d;
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 2.25rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1.2fr;
    align-items: start;
  }
}

.brand-footer {
  color: var(--white);
}

.footer-tag {
  margin: 0.6rem 0 0;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer nav a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  width: fit-content;
  transition: color 0.2s var(--ease);
}

.site-footer nav a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.footer-contact {
  display: grid;
  gap: 0.4rem;
}

.footer-copy {
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.8rem;
  line-height: 1.6;
}

.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 55;
  width: 46px;
  height: 46px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.35);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), opacity 0.25s var(--ease);
}

.to-top[hidden] {
  display: none;
}

.to-top:hover {
  background: var(--navy-mid);
  transform: translateY(-3px);
}

.to-top svg {
  width: 20px;
  height: 20px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

body.no-scroll {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Legal pages
   ========================================================================== */

.legal-page {
  padding: clamp(3rem, 6vw, 4.5rem) 0 4rem;
}

.legal-page h1 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  margin-top: 2rem;
  color: var(--navy);
}

.legal-page p,
.legal-page li {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-weight: 600;
  text-decoration: none;
}

/* ==========================================================================
   Nowości wersji — karty funkcji
   ========================================================================== */

.news-grid {
  display: grid;
  gap: clamp(1.1rem, 2.4vw, 1.75rem);
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

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

.news-card {
  position: relative;
  padding: clamp(1.35rem, 2.4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.news-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--blue-bright), var(--amber));
}

.news-card__head {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}

.news-card__icon {
  flex: 0 0 2.85rem;
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 12px;
  background: var(--blue-pale);
  color: var(--blue);
}

.news-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.news-card__kicker {
  margin: 0 0 0.15rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.news-card__head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
}

.news-card__lead {
  margin: 0 0 1.35rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}

.news-card__sub {
  margin: 1.5rem 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-mid);
}

.news-card__sub:first-of-type {
  margin-top: 0;
}

.news-card .tick-list {
  gap: 0.7rem;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.news-card .tick-list li::before {
  border-left-color: var(--blue-bright);
  border-bottom-color: var(--blue-bright);
}

.news-card .tick-list strong {
  color: var(--navy);
}

.news-card .tick-list em {
  font-style: normal;
  padding: 0.05rem 0.35rem;
  border-radius: 4px;
  background: var(--bg-alt);
  font-size: 0.9em;
  font-weight: 600;
  color: var(--navy-mid);
}

.news-card__note {
  margin: 1.4rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: var(--bg-alt);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.table-scroll {
  overflow-x: auto;
  margin-bottom: 0.5rem;
  scrollbar-width: thin;
}

.data-table {
  width: 100%;
  min-width: 380px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table caption {
  caption-side: bottom;
  padding-top: 0.65rem;
  font-size: 0.8rem;
  text-align: left;
  color: var(--ink-mute);
}

.data-table th,
.data-table td {
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--line);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.data-table thead th {
  border-bottom: 2px solid var(--line-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-mid);
}

.data-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--navy);
}

.data-table thead th:first-child {
  text-align: left;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.news-cta {
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--blue-bright);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background: var(--white);
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
