/* Tanza — staging site
   Design system per design_language.md (mobbin.com reference)
   Colors/fonts per brand_config.md — blue from logo gradient #010ED0 → #5F69F5, light theme. */

:root {
  --ink: #141414;
  --ink-muted: #6d6d6d;
  --ink-soft: #9a9a9a;
  --bg: #ffffff;
  --surface: #f5f5f4;
  --surface-deep: #ececeb;
  --hairline: rgba(65, 65, 65, 0.16);
  --accent: #1b26e0;
  --accent-strong: #010ed0;
  --accent-soft: #5f69f5;
  --accent-gradient: linear-gradient(90deg, #010ed0, #5f69f5);
  --footer-bg: #0f0f0f;
  --footer-ink: #f4f4f4;
  --footer-muted: rgba(244, 244, 244, 0.55);
  --radius-card: 20px;
  --radius-panel: 28px;
  --radius-field: 12px;
  --font-display: "Inter Tight", sans-serif;
  --font-body: "Inter", sans-serif;
  --container: 1280px;
  --section-pad: clamp(96px, 13vw, 200px);
  --head-gap: clamp(40px, 5vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- Type scale (design_language.md) ---------- */

h1, .h1, h2, .h2, h3, .h3 {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.012em;
  line-height: 1.02;
  text-wrap: balance;
}

h1, .h1 { font-size: clamp(42px, 5.6vw, 80px); }
h2, .h2 { font-size: clamp(33px, 3.9vw, 56px); }
h3, .h3 { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.25; letter-spacing: -0.005em; }

.lead {
  color: var(--ink-muted);
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.45;
  max-width: 56ch;
}

.caption { font-size: 14px; line-height: 1.42; color: var(--ink-muted); }

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* Longhand w pionie — inaczej skrot `padding: V 0` wyzerowalby poziomy
   padding na elementach `class="section container"` (ta sama specyficznosc,
   .section jest ponizej .container w pliku), przez co tresc dotykalaby
   krawedzi ekranu ponizej ~1376px. */
.section { padding-top: calc(var(--section-pad) * 0.5); padding-bottom: calc(var(--section-pad) * 0.5); }
.section-first { padding-top: calc(120px + 4vw); }
.section-head { text-align: center; margin-bottom: var(--head-gap); }
.section-head .lead { margin: 20px auto 0; }

/* Light sheet ends with rounded corners over dark footer */
.page-sheet {
  background: var(--bg);
  border-radius: 0 0 var(--radius-panel) var(--radius-panel);
  position: relative;
  z-index: 1;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.0125em;
  line-height: 1.35;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover { transform: scale(1.02); }

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2c2c2c; }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--hairline);
}
.btn-secondary:hover { background: var(--surface); }

.btn-light { background: #fff; color: var(--ink); }
.btn-arrow::after { content: "→"; font-family: var(--font-body); font-weight: 500; }

/* ---------- Nav (floating pill) ---------- */

.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  width: min(760px, calc(100% - 32px));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(240, 240, 239, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: width 0.3s ease;
}

.nav-logo { display: flex; align-items: center; gap: 9px; grid-column: 1; justify-self: start; }
.nav-logo img { height: 26px; width: auto; }
.nav-logo span {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.nav-links { display: flex; align-items: center; gap: 4px; grid-column: 2; justify-self: center; }

.nav-links a {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 999px;
  transition: background-color 0.2s ease;
}

.nav-links a:hover { background: rgba(20, 20, 20, 0.06); }
.nav-links a.active { color: var(--accent-strong); }

.nav-cta {
  grid-column: 3;
  justify-self: end;
  min-height: 40px;
  padding: 8px 18px;
  font-size: 15px;
  animation: nav-cta-in 0.45s ease 0.15s both;
}

@keyframes nav-cta-in {
  from { opacity: 0; transform: translateX(8px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-cta { animation: none; }
}

.nav-burger {
  display: none;
  grid-column: 3;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 999px;
  position: relative;
}

.nav-burger span, .nav-burger::before, .nav-burger::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-burger::before { top: 16px; }
.nav-burger span { top: 21px; }
.nav-burger::after { top: 26px; }

.nav-open .nav-burger::before { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-burger span { opacity: 0; }
.nav-open .nav-burger::after { transform: translateY(-5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  z-index: 499;
  width: min(720px, calc(100% - 32px));
  background: rgba(248, 248, 247, 0.97);
  backdrop-filter: blur(14px);
  border-radius: 24px;
  padding: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-mobile a {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  padding: 14px 16px;
  border-radius: 14px;
}

.nav-mobile a:hover { background: rgba(20, 20, 20, 0.05); }
.nav-mobile .btn { width: 100%; margin-top: 8px; }

body.nav-open .nav-mobile { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }

/* ---------- Hero ---------- */

.hero {
  padding: calc(120px + 3vw) 0 clamp(56px, 7vw, 96px);
  text-align: center;
}

.hero-chip {
  width: 84px;
  height: 84px;
  margin: 0 auto 40px;
  border-radius: 24px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-chip img { width: 46px; height: auto; }

.hero h1 { max-width: 24ch; margin: 0 auto; }

/* Hero typewriter — rotating word with type/delete + blinking caret */
.hero-title .tw-line {
  display: block;
  white-space: nowrap;
  line-height: 1.05;
}
.tw-word {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tw-caret {
  display: inline-block;
  width: .06em;
  min-width: 3px;
  height: .82em;
  margin-left: .06em;
  border-radius: 2px;
  background: #5f69f5;
  transform: translateY(.06em);
  animation: tw-blink 1s steps(1, end) infinite;
}
@keyframes tw-blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
/* On phones the whole title scales down together, so the static line and the
   rotating line stay the same size while the longest phrase still fits nowrap. */
@media (max-width: 600px) {
  .hero-title { font-size: clamp(22px, 7.4vw, 42px); }
}
@media (prefers-reduced-motion: reduce) {
  .tw-caret { animation: none; }
}

.hero .lead { margin: 28px auto 0; }

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-trust { margin-top: clamp(64px, 7vw, 104px); }
.hero-trust p { font-size: 14px; color: var(--ink-muted); margin-bottom: 24px; }

.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  flex-wrap: wrap;
}

.logo-row span {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 650;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}

/* Client logos ship as white artwork — darkened and muted to sit on the light surface. */
.client-logo-link { display: inline-flex; padding: 8px 4px; }

.client-logo {
  height: clamp(28px, 3vw, 38px);
  width: auto;
  filter: brightness(0);
  opacity: 0.55;
  transition: opacity 0.3s ease;
}

.client-logo-link:hover .client-logo { opacity: 0.85; }

/* ---------- Showcase panel (full-bleed rounded) ---------- */

.showcase {
  width: calc(100% - clamp(24px, 4vw, 48px));
  margin: 0 auto;
  border-radius: var(--radius-panel);
  background: var(--surface);
  padding: clamp(24px, 5vw, 72px);
  overflow: hidden;
}

.browser-frame {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--hairline);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(20, 20, 20, 0.08);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--surface-deep);
}

/* Traffic lights — dekoracyjne, bez funkcji */
.browser-bar i {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.browser-bar i::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

/* zamknięcie */
.browser-bar i:nth-child(1) { background: #ff5f57; }
.browser-bar i:nth-child(1)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4.3 4.3l3.4 3.4M7.7 4.3L4.3 7.7' stroke='rgba(0,0,0,0.5)' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* minimalizacja */
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(2)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.7 6h4.6' stroke='rgba(0,0,0,0.5)' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* pełny ekran */
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar i:nth-child(3)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.6 8.4V5.1l3.3 3.3z' fill='rgba(0,0,0,0.5)'/%3E%3Cpath d='M8.4 3.6v3.3L5.1 3.6z' fill='rgba(0,0,0,0.5)'/%3E%3C/svg%3E");
}

.browser-bar .browser-url {
  margin: 0 auto;
  background: var(--surface);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink-muted);
  padding: 4px 18px;
}

.browser-body { padding: 0; background: var(--surface); }

.browser-body img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Giant stat headline ---------- */

.stat-line { text-align: center; }
.stat-line .h1 { max-width: 18ch; margin: 0 auto; }
.stat-line .accent { background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-line .caption { margin-top: 24px; }

/* ---------- Segmented control ---------- */

.segmented {
  display: inline-flex;
  background: var(--surface);
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
  max-width: 100%;
  overflow-x: auto;
}

.segmented button {
  border: 1px solid transparent;
  background: none;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 9px 18px;
  min-height: 44px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.segmented button.active {
  background: #fff;
  border-color: var(--hairline);
  color: var(--ink);
}

/* ---------- Card strip (full-bleed horizontal) ---------- */

.strip {
  display: flex;
  align-items: stretch;
  gap: 20px;
  overflow-x: auto;
  padding: 8px clamp(20px, 4vw, 48px) 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

/* Powyzej 1600px caly zestaw 5 kart miesci sie w jednym rzedzie —
   wysrodkuj go zamiast dosuwac do lewej krawedzi. */
@media (min-width: 1600px) {
  .strip { justify-content: safe center; }
}

/* Ponizej 1600px jeden rzad kart (5 × 280px) nie miesci sie na ekranie —
   zamiast ukrytego scrolla poziomego (wygladal jak blad — karty "wychodzily
   poza strone") karty zawijaja sie w siatke wewnatrz marginesow kontenera.
   Ponizej 600px osobna regula uklada je w jedna kolumne. */
@media (min-width: 601px) and (max-width: 1599px) {
  .strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    align-items: stretch;
    overflow: visible;
    scroll-snap-type: none;
  }
  /* W siatce o szerokosci karty decyduje sciezka, nie flex-basis — dzieki temu
     rozwijane okienka detalu (data-tab-detail) tez zajmuja rowne komorki. */
  .strip-card { flex: initial; }
}

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

.strip-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 28px 26px 30px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.strip-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(20, 20, 20, 0.08); }

.strip-card .icon { flex: 0 0 auto; margin-bottom: 24px; }
.strip-card h3 { margin: 0 0 8px; }
.strip-card p { font-size: 14.5px; color: var(--ink-muted); }

/* ---------- Strip detail windows (rozwijane okienka per kategoria) ---------- */

.strip-detail {
  flex-basis: 250px;
  padding: 12px 12px 16px;
  gap: 12px;
  cursor: default;
}

.strip-detail:hover { transform: none; box-shadow: none; }
.strip-detail > .caption { padding: 0 8px; margin-top: auto; }

/* WWW — okienko przeglądarki z realizacją.
   Szerokosc dobrana tak, by kadr zrzutu (1920x891) miescil sie na pelnej
   szerokosci — inaczej object-fit: cover przycina go po bokach. */
.strip-detail-wide { flex-basis: 460px; }

.mini-browser {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  overflow: hidden;
}

/* Zrzut jest pozycjonowany absolutnie, zeby to karta narzucala wysokosc okienka,
   a nie odwrotnie — inaczej kafelek detalu jest wyzszy niz pozostale karty. */
.mini-shot { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.mini-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* Social — okienko z realizacją (wideo/zdjęcie z assets/media, klik prowadzi na IG).
   Okienka sa nizsze niz pelny pion 9:16: rolke przycinamy w gorze i w dole,
   zdjecie po prostu skalujemy w dol (zachowuje wlasne proporcje 4:5). */
.strip-detail-reel { flex-basis: 210px; }

.reel-screen {
  position: relative;
  display: block;
  flex: 1;
  min-height: 0;
  border-radius: 14px;
  background: radial-gradient(120% 90% at 50% 0%, #2a2a2a, var(--footer-bg) 70%);
  overflow: hidden;
}

/* Material lezy absolutnie w okienku — wysokosc dyktuje karta, nie plik,
   dzieki czemu kafelki social maja dokladnie te sama wysokosc co pozostale. */
.reel-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.reel-screen:hover .reel-media { transform: scale(1.03); }

/* Post 4:5 — zdjecie nie jest przycinane, tylko skalowane: okienko bierze
   wysokosc z karty, a szerokosc wylicza z proporcji pliku. */
.strip-detail-photo { flex-basis: 210px; }
.reel-screen-photo { aspect-ratio: 4 / 5; width: auto; margin: 0 auto; }

.reel-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 4px 10px;
}

/* SEO — okienko wykresu pozycji */
.chart-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 16px;
}

.chart-head { display: flex; align-items: center; justify-content: space-between; }

.chart-pill {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--accent-gradient);
  border-radius: 999px;
  padding: 3px 10px;
}

.chart-line { flex: 1; width: 100%; min-height: 96px; }
.chart-grid { stroke: var(--surface-deep); stroke-width: 1; }
.chart-path { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; }
.chart-dot { fill: var(--accent); }
.chart-foot { font-size: 12.5px; }

/* Reklamy — okienko wyników */
.metric-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 20px 16px;
}

.metric { display: grid; grid-template-columns: 1fr auto; align-items: baseline; row-gap: 7px; }
.metric strong { font-family: var(--font-display); font-size: 17px; font-weight: 650; letter-spacing: -0.01em; }

.meter {
  grid-column: 1 / -1;
  display: block;
  height: 6px;
  border-radius: 4px;
  background: var(--surface-deep);
  overflow: hidden;
}

.meter i { display: block; height: 100%; border-radius: 4px; background: var(--accent-gradient); }
.meter .w80 { width: 80%; }
.meter .w60 { width: 60%; }
.meter .w40 { width: 40%; }

/* ---------- Icons ---------- */

.icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-strong);
}

.icon svg { width: 22px; height: 22px; }

.icon-accent { background: var(--accent-gradient); border: 0; color: #fff; }

/* ---------- Grids & feature cards ---------- */

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }

.media-card { display: flex; flex-direction: column; }

.media-card .media {
  background: var(--surface);
  border-radius: var(--radius-card);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.media-card:hover .media { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(20, 20, 20, 0.08); }

.media-card h3 { margin: 24px 0 6px; }
.media-card p { color: var(--ink-muted); font-size: 15px; max-width: 44ch; }

.media-card.centered { text-align: center; }
.media-card.centered p { margin: 0 auto; }

/* Number chip for process cards */
.step-num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 650;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Testimonials (masonry) ---------- */

.masonry { columns: 4; column-gap: 24px; }

/* Single testimonial: centre it instead of stranding it in the first column. */
.masonry.masonry-single { columns: 1; max-width: 620px; margin: 0 auto; }
.masonry-single .t-card { padding: 32px; margin-bottom: 0; }
.masonry-single .t-card blockquote { font-size: 16.5px; }

.t-card {
  break-inside: avoid;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

.t-card .t-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }

.t-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.t-card .t-name { font-family: var(--font-display); font-weight: 650; font-size: 15.5px; }
.t-card .t-role { font-size: 13.5px; color: var(--ink-muted); }
.t-card blockquote { font-size: 15px; line-height: 1.5; color: #3d3d3d; }

/* ---------- CTA section ---------- */

.cta-final { text-align: center; }
.cta-final h2 { max-width: 16ch; margin: 0 auto; }
.cta-final .hero-actions { margin-top: 36px; }

/* ---------- Footer ---------- */

.footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  margin-top: calc(-1 * var(--radius-panel));
  padding: calc(var(--radius-panel) + clamp(72px, 8vw, 120px)) 0 48px;
}

.footer-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }

.footer-brand { max-width: 320px; }
.footer-logo { display: inline-block; }
.footer-logo img { height: 46px; width: auto; }
.footer-brand p { margin-top: 20px; color: var(--footer-muted); font-size: 15px; }

.footer-social { display: flex; gap: 10px; margin-top: 24px; }

.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(244, 244, 244, 0.16);
  color: var(--footer-muted);
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.footer-social a:hover {
  color: var(--footer-ink);
  border-color: rgba(244, 244, 244, 0.38);
  background: rgba(244, 244, 244, 0.06);
  transform: translateY(-2px);
}

.footer-social svg { width: 17px; height: 17px; fill: currentColor; }

.footer-cols { display: flex; gap: clamp(48px, 6vw, 96px); flex-wrap: wrap; }

.footer-cols h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--footer-muted);
  margin-bottom: 18px;
}

.footer-cols a {
  display: block;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  padding: 6px 0;
  color: var(--footer-ink);
}

.footer-cols a:hover { color: var(--accent-soft); }
.footer-cols p { font-size: 15px; color: var(--footer-muted); padding: 6px 0; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: clamp(96px, 12vw, 180px);
  font-size: 14px;
  color: var(--footer-muted);
}

.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a:hover { color: var(--footer-ink); }

/* ---------- Page opener (subpages) ---------- */

.page-opener {
  /* Longhand w pionie — skrot `padding: V 0 V` wyzerowalby poziomy padding
     z `.container` (patrz komentarz przy `.section`), przez co tresc
     dotykalaby krawedzi ekranu ponizej szerokosci kontenera. */
  padding-top: calc(120px + 3vw);
  padding-bottom: clamp(48px, 6vw, 80px);
  text-align: center;
}

.page-opener .lead { margin: 24px auto 0; }

/* ---------- Pricing (/wycena) ---------- */

.billing-note { text-align: center; margin-top: 20px; font-size: 15px; }
.billing-note strong { color: var(--accent-strong); font-weight: 600; }

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 400px));
  gap: 32px;
  justify-content: center;
  margin-top: clamp(40px, 5vw, 64px);
}

.plan {
  border-radius: 24px;
  padding: 34px 32px 38px;
  transition: opacity 0.3s ease;
}

.plan-featured { background: var(--surface); }
.plan-plain { background: #fff; border: 1px solid var(--hairline); }

.plans.dim-featured .plan-featured, .plans.dim-plain .plan-plain { opacity: 0.55; }

.plan-name { display: flex; align-items: center; gap: 10px; }
.plan-name h3 { font-size: 26px; }

.badge {
  background: var(--accent-gradient);
  color: #fff;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 999px;
  padding: 3px 11px;
}

.plan-for { color: var(--ink-muted); font-size: 15px; margin-top: 6px; }

.plan-price { display: flex; align-items: baseline; gap: 10px; margin: 30px 0 26px; }

.plan-price .amount {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.plan-price .unit { font-size: 12.5px; line-height: 1.35; color: var(--ink-muted); }

.plan .btn { width: 100%; }

.plan-features { list-style: none; margin-top: 28px; }

.plan-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 15.5px;
}

.plan-features svg { width: 18px; height: 18px; flex: none; color: var(--ink); }

/* Blurbs (Enterprise/Student pattern) */
.blurbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 380px));
  justify-content: center;
  gap: 48px;
  text-align: center;
}

.blurb .icon { margin: 0 auto 16px; }
.blurb h3 { font-size: 20px; margin-bottom: 10px; }
.blurb p { font-size: 15px; color: var(--ink-muted); max-width: 38ch; margin: 0 auto 12px; }
.blurb a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.blurb a:hover { color: var(--accent-strong); }

/* Add-on split panel */
.addon-panel {
  background: var(--surface);
  border-radius: var(--radius-panel);
  padding: clamp(36px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.addon-tag {
  display: inline-block;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  margin-bottom: 20px;
}

.addon-panel h2 { font-size: clamp(28px, 3vw, 40px); }
.addon-panel .lead { margin-top: 16px; font-size: 16.5px; }
.addon-panel .btn { margin-top: 28px; }
.addon-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.addon-cell {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--hairline);
  padding: 20px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-display);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.addon-cell .icon { width: 40px; height: 40px; border-radius: 12px; }

/* Compare table */
.compare { overflow-x: auto; }

.compare table { width: 100%; border-collapse: collapse; }

.compare th, .compare td {
  text-align: left;
  padding: 15px 20px;
  font-size: 15px;
  border-bottom: 1px solid var(--surface-deep);
}

.compare thead th { border-bottom: 0; vertical-align: top; padding-bottom: 28px; }

.compare th:first-child { width: 34%; }

.compare .plan-col-name { font-family: var(--font-display); font-size: 19px; font-weight: 650; }
.compare .plan-col-price { font-size: 13.5px; color: var(--ink-muted); font-weight: 400; margin-top: 4px; }
.compare thead .btn { margin-top: 14px; width: auto; min-height: 40px; padding: 8px 18px; font-size: 14.5px; }

.compare .col-featured { background: var(--surface); }
.compare thead .col-featured { border-radius: 18px 18px 0 0; }
.compare tbody tr:last-child .col-featured { border-radius: 0 0 18px 18px; }

.compare .group-row td {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 16.5px;
  padding-top: 36px;
  border-bottom: 0;
}

.compare .check { color: var(--ink); }
.compare .dash { color: var(--ink-soft); }
.compare td svg { width: 18px; height: 18px; }

/* FAQ accordion */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }

.faq details {
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  min-height: 44px;
}

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

.faq summary::after {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  margin-right: 4px;
}

.faq details[open] summary::after { transform: rotate(225deg); }

.faq .faq-body { padding: 0 24px 22px; color: var(--ink-muted); font-size: 15px; line-height: 1.55; max-width: 62ch; }

/* ---------- Contact page ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.form-card {
  background: var(--surface);
  border-radius: 24px;
  padding: clamp(28px, 3vw, 44px);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.field input, .field select, .field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-field);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  transition: border-color 0.2s ease;
}

.field textarea { min-height: 140px; resize: vertical; }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-muted); margin: 4px 0 22px; }
.consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent-strong); }
.consent a { text-decoration: underline; }

/* Honeypot — pole-pułapka na boty; ukryte przed użytkownikami, nie przez display:none
   (część botów pomija pola display:none), tylko wyniesione poza ekran. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin-top: 14px; font-size: 14.5px; display: none; }
.form-status.ok { display: block; color: #157347; }
.form-status.err { display: block; color: #c22525; }

.contact-info { display: flex; flex-direction: column; gap: 12px; }

.info-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-card .icon { width: 42px; height: 42px; flex: none; }
.info-card h3 { font-size: 16px; margin-bottom: 4px; }
.info-card p, .info-card a { font-size: 15px; color: var(--ink-muted); }
.info-card a:hover { color: var(--accent-strong); }

/* ---------- Realizacje ---------- */

.filter-bar { display: flex; justify-content: center; margin-bottom: clamp(36px, 4vw, 56px); }

.project-card .media { min-height: 300px; padding: 32px; }

.project-tags { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }

.tag {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 3px 11px;
  color: var(--ink-muted);
}

.project-card h3 { margin-top: 20px; }
.project-card .caption { margin-top: 4px; }

.case-panel {
  background: var(--surface);
  border-radius: var(--radius-panel);
  padding: clamp(36px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

/* Mockup skeleton (abstract site preview inside cards) */
.mock { width: 100%; background: #fff; border: 1px solid var(--hairline); border-radius: 14px; padding: 18px; }
.mock .bar { height: 10px; border-radius: 6px; background: var(--surface-deep); margin-bottom: 10px; }
.mock .bar.w40 { width: 40%; }
.mock .bar.w60 { width: 60%; }
.mock .bar.w80 { width: 80%; }
.mock .bar.accent { background: var(--accent-gradient); width: 32%; height: 26px; border-radius: 999px; margin-top: 14px; }
.mock .blocks { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 14px; }
.mock .blocks i { height: 52px; border-radius: 8px; background: var(--surface); }

/* ---------- Values / USP row ---------- */

.usp-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.usp {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 22px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15.5px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.usp svg { width: 20px; height: 20px; color: var(--accent-strong); flex: none; }

/* ---------- Oferta detail sections ---------- */

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(36px, 4vw, 56px) 0;
  scroll-margin-top: 110px;
}

.service-detail:nth-child(even) .service-text { order: 2; }

.service-text .icon { margin-bottom: 20px; }
.service-text h3 { font-size: clamp(24px, 2.2vw, 32px); margin-bottom: 14px; }
.service-text p { color: var(--ink-muted); font-size: 16px; line-height: 1.55; max-width: 52ch; }
.service-text ul { list-style: none; margin-top: 18px; }
.service-text li { display: flex; gap: 10px; align-items: center; padding: 5px 0; font-size: 15px; }
.service-text li svg { width: 16px; height: 16px; color: var(--accent-strong); flex: none; }

.service-visual {
  background: var(--surface);
  border-radius: var(--radius-card);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Animated tab filtering (segmented controls) ---------- */

[data-tab-item], [data-tab-detail] {
  transition: opacity 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.2s ease;
}

[data-tab-item].filter-out, [data-tab-detail].filter-out {
  opacity: 0;
  transform: scale(0.94) translateY(12px);
  transition-duration: 0.26s, 0.26s, 0.2s;
  pointer-events: none;
}

[data-tab-item].filter-hidden, [data-tab-detail].filter-hidden { display: none; }

@media (prefers-reduced-motion: reduce) {
  [data-tab-item], [data-tab-detail] { transition: none; }
}

/* ---------- Case study (/nasze-realizacje/<klient>) ---------- */

.case-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
  padding: 8px 0;
}

.case-back:hover { color: var(--accent-strong); }
.case-back::before { content: "←"; }

/* Longhand w pionie — skrot wyzerowalby poziomy padding z `.container`. */
.case-opener { padding-top: calc(120px + 3vw); padding-bottom: clamp(40px, 5vw, 64px); text-align: center; }
.case-opener .addon-tag { margin-bottom: 14px; }
.case-opener h1 { max-width: 16ch; margin: 0 auto; }
.case-opener .lead { margin: 24px auto 0; }

/* Client logo used AS the case heading — links out to the client's live site.
   Artwork ships white, so it is darkened to sit on the light sheet. */
.case-title-logo { max-width: none; line-height: 1; }
.case-logo-link { display: inline-flex; padding: 6px 4px; }

.case-logo {
  height: clamp(30px, 3.2vw, 42px);
  width: auto;
  filter: brightness(0);
  opacity: 0.72;
  transition: opacity 0.3s ease;
}

.case-logo-link:hover .case-logo { opacity: 1; }

/* Na podstronie case study logo jest glownym tytulem — 1,5x wieksze niz w liscie realizacji. */
.case-opener .case-logo { height: clamp(45px, 4.8vw, 63px); }

.case-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  text-align: left;
}

.case-meta dt {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 7px;
}

.case-meta dd { font-family: var(--font-display); font-weight: 650; font-size: 16px; letter-spacing: -0.01em; }

/* Article column — narrow reading measure, panels break out to full container */
.case-article { max-width: 780px; margin: 0 auto; }

.case-block + .case-block { margin-top: clamp(64px, 8vw, 120px); }
.case-block h2 { font-size: clamp(28px, 3.2vw, 44px); }
.case-block > p { color: #3d3d3d; font-size: 17px; line-height: 1.62; margin-top: 20px; }
.case-block > p.case-lede { color: var(--ink); font-size: 19px; line-height: 1.55; }
.case-block > p strong { font-weight: 600; color: var(--ink); }

/* Fact sheet — plain label/value rows, easy to parse for both people and AI */
.fact-list {
  margin-top: 36px;
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 8px clamp(20px, 3vw, 32px);
}

.fact-list > div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
}

.fact-list > div:last-child { border-bottom: 0; }
.fact-list dt { font-family: var(--font-display); font-weight: 650; font-size: 15px; letter-spacing: -0.01em; }
.fact-list dd { font-size: 15px; line-height: 1.5; color: var(--ink-muted); }

.work-list { margin-top: 40px; }

.work-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--hairline);
}

.work-item:last-child { border-bottom: 1px solid var(--hairline); }
.work-item .step-num { width: 44px; height: 44px; font-size: 14px; }
.work-item h3 { font-size: 20px; margin-bottom: 8px; }
.work-item p { color: var(--ink-muted); font-size: 15.5px; line-height: 1.55; }

.result-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 26px 24px;
}

.result-card .icon { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 18px; }
.result-card .icon svg { width: 19px; height: 19px; }
.result-card h3 { font-size: 18px; margin-bottom: 8px; }
.result-card p { color: var(--ink-muted); font-size: 15px; line-height: 1.55; }

.case-quote {
  background: var(--surface);
  border-radius: var(--radius-panel);
  padding: clamp(32px, 4.5vw, 60px);
  margin-top: clamp(48px, 6vw, 72px);
}

.case-quote blockquote {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.case-quote figcaption { margin-top: 22px; display: flex; align-items: center; gap: 12px; }
.case-quote figcaption .t-name { font-family: var(--font-display); font-weight: 650; font-size: 15.5px; }
.case-quote figcaption .t-role { font-size: 13.5px; color: var(--ink-muted); }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .masonry { columns: 2; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .usp-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-mobile { display: block; }
  .nav-cta { display: none; }

  .grid-2, .plans, .blurbs, .contact-layout, .addon-panel, .case-panel, .service-detail { grid-template-columns: 1fr; }
  .case-meta { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .service-detail:nth-child(even) .service-text { order: 0; }
  .compare-wrap { display: none; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .masonry { columns: 1; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .usp-row { grid-template-columns: 1fr; }
  .showcase { padding: 10px; }
  /* Na telefonie karty ukladaja sie jedna pod druga zamiast przewijac sie
     w poziomie — kazda dostaje pelna szerokosc ekranu. */
  .strip {
    flex-direction: column;
    overflow-x: visible;
    scroll-snap-type: none;
    padding-bottom: 8px;
  }
  .strip-card { flex: 0 0 auto; width: 100%; min-height: 0; }
  /* Okienko nie rozciaga sie na cala wysokosc karty — zrzut trzyma wlasne
     proporcje, wiec nie jest przycinany po bokach. */
  .strip-detail-wide .mini-browser { flex: 0 0 auto; }
  .strip-detail-wide .mini-shot { flex: 0 0 auto; aspect-ratio: 1920 / 891; }
  .strip-detail > .caption { margin-top: 0; }
  /* Na telefonie rolka bierze pelna szerokosc (kadr przyciety w pionie),
     a zdjecie skaluje sie do tej samej wysokosci i zostaje wysrodkowane. */
  .strip-detail-reel .reel-screen { flex: 0 0 auto; width: 100%; height: 240px; }
  .strip-detail-reel .reel-screen-photo { width: auto; margin: 0 auto; }
  .hero-actions .btn { width: 100%; max-width: 320px; }
  .footer-cols { gap: 36px; }
  /* Case study na telefonie: etykieta nad wartoscia, numer kroku wezszy */
  .fact-list > div { grid-template-columns: 1fr; gap: 6px; }
  .work-item { grid-template-columns: 44px 1fr; gap: 16px; }
}

/* ---------- Telefon w poziomie (obrócony ekran, niska wysokosc) ----------
   Cala pionowa rytmika strony liczona jest z SZEROKOSCI ekranu (vw).
   Po obroceniu telefonu szerokosc rosnie, a wysokosc spada do ~360-430 px,
   wiec te same paddingi zjadaja caly ekran, a elementy fixed (menu) nie
   miesza sie w kadrze. Ponizej skalujemy rytm w pionie do wysokosci. */
@media (orientation: landscape) and (max-height: 520px) {
  :root { --section-pad: 72px; --head-gap: 28px; }

  h1, .h1 { font-size: clamp(30px, 4.4vw, 42px); }
  h2, .h2 { font-size: clamp(26px, 3.4vw, 36px); }

  /* Pasek nawigacji siada wyzej, zeby oddac tresci pare pikseli wysokosci. */
  .nav { top: 12px; }
  .nav-mobile { top: 76px; }

  .hero { padding: 80px 0 36px; }
  .hero-title { font-size: clamp(28px, 4.4vw, 40px); }
  .hero-chip { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 14px; }
  .hero-chip img { width: 26px; }
  .hero .lead { margin-top: 14px; }
  .hero-actions { margin-top: 20px; }
  .hero-trust { margin-top: 44px; }
  .hero-trust p { margin-bottom: 16px; }

  .section-first { padding-top: 80px; }
  .page-opener, .case-opener { padding-top: 80px; padding-bottom: 32px; }
  .page-opener .lead, .case-opener .lead { margin-top: 16px; }
  .service-detail { scroll-margin-top: 76px; }
  .case-meta { margin-top: 36px; }

  /* Menu jest position: fixed — na niskim ekranie musi przewijac sie
     wewnatrz siebie, inaczej ostatnie pozycje (CTA) zostaja poza ekranem. */
  .nav-mobile {
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .nav-mobile a { padding: 11px 16px; }

  .footer { padding-top: calc(var(--radius-panel) + 56px); padding-bottom: 32px; }
  .footer-top { gap: 32px; }
  .footer-bottom { margin-top: 56px; }
}

/* Segmented pill na telefonie: zawija się w rzędy zamiast wystawać poza ekran */
@media (max-width: 640px) {
  .segmented {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 2px;
    border-radius: 24px;
    overflow: visible;
  }
  .segmented button { font-size: 14px; min-height: 40px; padding: 0 14px; flex: 0 1 auto; }
}
