/* AthenaVault kit v4 (27.09.2026). Nowy system wg benchmarków Marka: south.framer.website, silence-template.webflow.io.
   Jeden grotesk (Inter Tight) z ciasnym trackingiem, dużo powietrza, sekcja = etykieta z kropką + jeden akapit,
   wiersze z hairline, lista modułów z obrotem 3D, dock miniatur w hero. Monochrom marki, bez gradientów. */
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("fonts/inter-tight-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("fonts/inter-tight-latin-ext-wght.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url("fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url("fonts/jetbrains-mono-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+1E00-1EFF; }

:root {
  --bg: #f2f2f2; --bg-2: #ffffff; --ink: #1a1a1a; --ink-2: #4d4d4d; --mute: #8a8a8a; --line: #d6d6d6; --dark: #141414; --dark-2: #262626; --on-dark: #f2f2f2; --on-dark-2: #9a9a9a;
  --f: "Inter Tight", "Inter Variable", "Helvetica Neue", Arial, sans-serif; --mono: "JetBrains Mono", Menlo, monospace;
  --edge: clamp(12px, 1.6vw, 24px);          /* marginesy boczne jak w benchmarkach: blisko krawędzi */
  --gap: 12px;
  --section: clamp(96px, 13vw, 200px);        /* powietrze pionowe sekcji */
  --t-body: 16px; --t-small: 14px; --t-xs: 12px;
  --t-lead: clamp(22px, 1.9vw, 28px);         /* akapit sekcji (Silence 24 px, półgruby) */
  --t-state: clamp(32px, 3.6vw, 56px);        /* duże zdanie */
  --t-row: clamp(40px, 4.4vw, 64px);          /* nazwa w wierszu (South 62 px) */
  --t-h: clamp(56px, 7vw, 104px);             /* nagłówek sekcji (South 100 px) */
  --t-hero: clamp(72px, 18.6vw, 300px);         /* wordmark (Silence 230 px) */
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);      /* expo out: miękkie hamowanie */
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  /* sprężyna zmierzona na south.framer.website: przestrzał ok. 9% w 43% czasu, uspokojenie ok. 0,75 s */
  --spring: cubic-bezier(.3, 1.35, .5, 1);

}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f); font-size: var(--t-body); font-weight: 500; line-height: 1.5; letter-spacing: -.01em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
p { margin: 0; }
.wrap { padding: 0 var(--edge); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }

/* Nawigacja: chipy jak w South */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; justify-content: space-between; align-items: flex-start; padding: 12px var(--edge); pointer-events: none; }
.nav > * { pointer-events: auto; }
.chip { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; flex-shrink: 0; background: rgba(242,242,242,.9); padding: 5px 9px; border-radius: 4px; font-size: var(--t-small); font-weight: 500; line-height: 1.2; }
.chip b { font-weight: 700; letter-spacing: -.02em; }
.chip span { color: var(--mute); }
.nav__links { display: flex; gap: 4px; }
.nav__links a { transition: background .35s var(--ease-out), color .35s var(--ease-out); }
.nav__links a:hover { background: var(--ink); color: var(--bg); }
.nav > a.chip { transition: background .35s var(--ease-out), color .35s var(--ease-out); }
.nav > a.chip:hover, .nav > a.chip:focus-visible { background: var(--ink); color: var(--bg); outline: none; }
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--bg); padding: 14px 20px; border-radius: 999px; font-size: var(--t-body); font-weight: 600; letter-spacing: -.01em; transition: background .4s var(--ease-out), transform .6s var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn:hover { background: var(--dark-2); }
.btn--light { background: var(--bg-2); color: var(--ink); }
.link { border-bottom: 1px solid currentColor; padding-bottom: 1px; font-weight: 600; }

/* Hero: wordmark, trzy kolumny metadanych, dock */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; padding-top: 64px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; opacity: 0; transform: scale(1.06); transition: opacity .9s var(--ease-out), transform 1.6s var(--ease-out); background: #cfcfcf center / cover no-repeat; will-change: opacity, transform; }
.hero__bg.is-on { opacity: 1; transform: scale(1); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: rgba(20,20,20,.18); }
.hero > *:not(.hero__bg) { position: relative; z-index: 1; }
.wordmark { font-size: var(--t-hero); font-weight: 700; letter-spacing: -.05em; line-height: .82; margin: 0 0 0 -.04em; white-space: nowrap; }
.hero__meta { margin-top: 28px; align-items: start; font-size: var(--t-small); line-height: 1.35; }
.star { display: inline-block; width: 18px; height: 18px; }
.hero__lead { grid-column: span 4; }
.hero__mid { grid-column: 7 / span 3; }
.hero__right { grid-column: 10 / span 3; text-align: right; }
.hero, .hero .chip { transition: color .6s var(--ease-out); }
.hero.is-preview { color: var(--on-dark); }
.hero.is-preview .chip { color: var(--ink); }
.dock { margin-top: auto; display: flex; align-items: flex-end; gap: 10px; padding: 0 0 var(--edge); height: 240px; }
.dock__item { position: relative; flex: 0 0 auto; width: 110px; height: 110px; border-radius: 4px; overflow: visible; cursor: pointer; background: none; border: 0; padding: 0; will-change: width, height; }
.dock__item img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; filter: grayscale(1); }
.dock__tip { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 6px); background: rgba(20,20,20,.72); color: var(--on-dark); font-size: var(--t-xs); padding: 3px 7px; border-radius: 4px; white-space: nowrap; opacity: 0; transition: opacity .35s var(--ease-out), transform .45s var(--ease-out); pointer-events: none; }
.dock-card { display: none; }
.dock__item.is-active img { filter: none; outline: 2px solid var(--on-dark); outline-offset: 2px; }
.dock__item:hover .dock__tip, .dock__item:focus-visible .dock__tip { opacity: 1; transform: translate(-50%, 0); }

/* Sekcja: etykieta z kropką + akapit, hairline u góry */
.sec { padding: var(--section) var(--edge); }
.sec--line { border-top: 1px solid var(--line); margin: 0 var(--edge); padding-left: 0; padding-right: 0; }
.dot { font-size: var(--t-body); font-weight: 600; display: flex; align-items: center; gap: 8px; align-self: start; margin: 0; }
.sec__label { align-self: start; }
.dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sec__label { grid-column: 1 / span 6; }
.sec__body { grid-column: 7 / span 6; }
.lead { font-size: var(--t-lead); font-weight: 600; line-height: 1.22; letter-spacing: -.02em; max-width: 30ch; }
.state { font-size: var(--t-state); font-weight: 600; line-height: 1.08; letter-spacing: -.035em; max-width: 22ch; }
.h { font-size: var(--t-h); font-weight: 600; line-height: .98; letter-spacing: -.04em; margin: 0; }
.body { font-size: var(--t-body); color: var(--ink-2); max-width: 46ch; line-height: 1.6; font-weight: 500; }
.body + .body { margin-top: 1em; }
.mt-l { margin-top: clamp(48px, 6vw, 96px); } .mt-m { margin-top: 32px; } .mt-s { margin-top: 16px; }
.mute { color: var(--mute); }

/* Wiersze drobne (Silence: nazwa / kategoria / rok) */
.rows { border-top: 1px solid var(--line); }
.row-s { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--gap); padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--t-body); font-weight: 600; }
.row-s > * { transition: transform .6s var(--ease-out), color .3s; }
.row-s > :nth-child(1) { grid-column: 1 / span 4; }
.row-s > :nth-child(2) { grid-column: 5 / span 5; color: var(--ink-2); font-weight: 500; }
.row-s > :nth-child(3) { grid-column: 10 / span 3; text-align: right; color: var(--mute); }
a.row-s:hover > :nth-child(1), a.row-s:hover > :nth-child(2) { transform: translateX(12px); }
a.row-s:hover > :nth-child(3) { color: var(--ink); transform: translateX(-4px); }

/* Wiersze z możliwościami (South: nazwa + opis) */
.cap { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: var(--gap); padding: 28px 0; border-bottom: 1px solid var(--line); }
.cap:first-child { border-top: 1px solid var(--line); }
.cap__name { grid-column: 1 / span 2; font-weight: 600; }
.cap__text { grid-column: 3 / span 4; color: var(--ink-2); max-width: 44ch; }

/* Lista modułów z obrotem 3D (South "Latest work") */
.mods { margin: 0 var(--edge); }
.mods__head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 0 24px; font-weight: 600; }
.mod { --h: clamp(150px, 16vw, 240px); position: relative; display: block; height: var(--h); border-bottom: 1px solid var(--line); }
/* Bryła 3D jak w South (Framer): perspektywa 1200 px, cofnięcie o połowę wysokości, obrót wokół środka, sprężyna. */
.mod__box { position: absolute; inset: 0; transform-style: preserve-3d; transform-origin: 50% 50%;
  transform: perspective(1200px) translateZ(calc(var(--h) / -2)) rotateX(0deg);
  transition: transform .8s var(--spring); will-change: transform; }
.mod__face, .mod__card { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.mod__face { display: flex; justify-content: space-between; align-items: center; padding: 0 clamp(16px, 5vw, 72px); background: var(--bg);
  transform: translateZ(calc(var(--h) / 2)); transition: background-color .6s var(--ease-out); }
.mod__name { font-size: var(--t-row); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.mod__kind { font-size: var(--t-body); color: var(--mute); text-align: right; }
/* ściana dolna: przypięta górną krawędzią do dołu bryły i obrócona o -90 stopni */
.mod__card { display: grid; grid-template-columns: 1fr minmax(260px, 32%); background: #171717; color: var(--on-dark); border-radius: 10px; overflow: hidden;
  transform-origin: 50% 50%; transform: rotateX(-90deg) translateZ(calc(var(--h) / 2)); }
.mod__cardText { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 0 clamp(16px, 5vw, 72px); }
.mod__cardText .mod__name { color: var(--on-dark); }
.mod__desc { color: var(--on-dark-2); max-width: 52ch; font-size: var(--t-body); }
.mod__img { background: #3a3a3a center / cover no-repeat; filter: grayscale(1); }
.mod:hover .mod__box, .mod:focus-visible .mod__box, .mod.is-open .mod__box { transform: perspective(1200px) translateZ(calc(var(--h) / -2)) rotateX(90deg); }
.mod:hover .mod__face, .mod:focus-visible .mod__face, .mod.is-open .mod__face { background: #d6d6d6; } /* przednia ściana ciemnieje, gdy odjeżdża: głębia */
.mod:hover, .mod:focus-visible { z-index: 2; }
.mod:focus-visible { outline: none; }

/* Duże liczby (Silence) */
.nums { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 var(--gap); }
.num { padding: 28px 0 32px; border-bottom: 1px solid var(--line); }
.num__v { font-size: clamp(44px, 4.8vw, 76px); font-weight: 700; letter-spacing: -.045em; line-height: .95; }
.num__l { margin-top: 10px; font-size: var(--t-small); font-weight: 600; max-width: 30ch; }
sup.fn { font-size: .45em; font-weight: 600; margin-left: 2px; vertical-align: super; line-height: 0; }
sup.fn a { border-bottom: 1px solid currentColor; }

/* Karta dowodu v4: produkt, jedyny "fizyczny" obiekt */
.proof4 { background: var(--bg-2); border-radius: 10px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 30px 60px -30px rgba(0,0,0,.25); padding: clamp(20px, 2.4vw, 36px); max-width: 640px; }
.proof4__doc { font-family: Georgia, "Times New Roman", serif; font-size: 13px; line-height: 1.6; color: #6b6b6b; background: var(--bg); border-radius: 6px; padding: 16px 18px; }
.proof4__doc b { font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--ink); margin-right: 6px; }
.proof4__doc mark { background: none; color: var(--ink); box-shadow: inset 0 -.6em 0 rgba(0,0,0,.1); }
.proof4__src { margin-top: 18px; font-family: var(--mono); font-size: 12px; color: var(--mute); }
.proof4__q { margin-top: 10px; font-size: clamp(22px, 2vw, 30px); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; }
.proof4__foot { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tag { white-space: nowrap; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border: 1px solid var(--ink); border-radius: 4px; }
.tag--dark { background: var(--ink); color: var(--bg); }
.tag--gap { border-color: var(--mute); color: var(--mute); }
.cap-note { margin-top: 12px; font-size: var(--t-xs); color: var(--mute); }

/* Obraz pełnej szerokości */
.pic { margin: 0 var(--edge); border-radius: 6px; overflow: hidden; }
.pic img { width: 100%; height: clamp(320px, 56vw, 820px); object-fit: cover; filter: grayscale(1); }
.pics { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin: 0 var(--edge); }
.pics img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; filter: grayscale(1); }

/* Formularz */
.form4 { display: grid; gap: 0; }
.form4 label { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--t-small); color: var(--mute); }
.form4 input { font: inherit; font-size: var(--t-lead); font-weight: 600; letter-spacing: -.02em; color: var(--ink); background: transparent; border: 0; padding: 0; outline: none; }
.form4 .btn { margin-top: 28px; justify-self: start; border: 0; cursor: pointer; }

/* Stopka: ogromny znak jak w South */
.foot { padding: var(--section) var(--edge) var(--edge); }
.foot__mark { font-size: clamp(120px, 30vw, 460px); font-weight: 700; letter-spacing: -.06em; line-height: .78; text-align: center; }
.foot__mark sup { font-size: .12em; vertical-align: top; position: relative; top: .6em; letter-spacing: 0; }
.foot__cols { margin-top: 64px; font-size: var(--t-small); line-height: 1.4; }
.foot__cols > :nth-child(1) { grid-column: 1 / span 4; } .foot__cols > :nth-child(2) { grid-column: 6 / span 3; } .foot__cols > :nth-child(3) { grid-column: 9 / span 2; } .foot__cols > :nth-child(4) { grid-column: 11 / span 2; text-align: right; }
.sources { font-size: var(--t-xs); color: var(--mute); line-height: 1.5; }
.sources ol { margin: 0; padding-left: 1.4em; }
.sources li { margin-bottom: 4px; overflow-wrap: anywhere; }
.todo { font-family: var(--mono); font-size: .8em; color: var(--mute); }

/* Ujawnianie przy scrollu: tylko opacity + transform, reduced motion = brak */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .rv.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg { transition: none; }
}

/* Telefon */
@media (max-width: 820px) {
  .nav__links { display: none; }
  .hero__lead, .hero__mid, .hero__right, .sec__label, .sec__body { grid-column: 1 / -1; text-align: left; }
  .hero__mid, .hero__right, .sec__body { margin-top: 16px; }
  .dock { height: auto; overflow-x: auto; padding-top: 32px; }
  .dock__item { width: 84px; height: 84px; }
  .dock__tip { display: none; }
  .hero__bg::after { background: rgba(20,20,20,.42); }
  .dock { padding-left: 3px; padding-right: 3px; }
  .dock__item.is-active img { outline-offset: -2px; }
  .mods__hint { display: none; }
  .dock-card { display: block; margin-top: auto; max-width: 420px; background: rgba(20,20,20,.74); color: var(--on-dark); border-radius: 6px; padding: 14px 16px; opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .dock-card[hidden] { display: none; }
  .dock-card:not([hidden]) + .dock { margin-top: 0; padding-top: 16px; }
  .dock-card.is-on { opacity: 1; transform: none; }
  .dock-card__t { font-weight: 600; }
  .dock-card__x { margin-top: 4px; font-size: var(--t-s, 15px); line-height: 1.4; }
  .dock-card__go { display: inline-block; margin-top: 10px; color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; font-size: var(--t-s, 15px); }
  .row-s > :nth-child(1) { grid-column: 1 / span 12; } .row-s > :nth-child(2) { grid-column: 1 / span 12; } .row-s > :nth-child(3) { display: none; }
  .cap__name, .cap__text { grid-column: 1 / -1; }
  .mod__kind { text-align: left; }
  .nums { grid-template-columns: 1fr; }
  .pics { grid-template-columns: 1fr; }
  .foot__cols > * { grid-column: 1 / -1 !important; text-align: left !important; margin-bottom: 16px; }
}
/* Sygnet AV */
.chip-sig { height: 11px; width: 21px; flex: 0 0 auto; color: var(--ink); margin-right: 2px; }
.hero.is-preview .chip-sig { color: var(--ink); }
.foot__mark { display: flex; justify-content: center; }
.foot__sig { width: min(52vw, 760px); height: auto; color: var(--ink); }

@supports (transition-timing-function: linear(0, 1)) {
  :root { --spring: linear(0, .06 6.25%, .26 12.5%, .7 18.75%, .86 25%, 1.03 31.25%, 1.077 37.5%, 1.093 43.75%, 1.081 50%, 1.064 56.25%, 1.044 62.5%, 1.029 68.75%, 1.013 75%, 1.004 87.5%, 1); }
}
@media (prefers-reduced-motion: reduce) { .mod__box { transition: none; } }
@media (max-width: 820px) {
  .mod { height: auto; }
  .mod__box { position: relative; transform: none !important; transition: none; }
  .mod__face { position: relative; transform: none; min-height: 110px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; padding: 0 4px; background: transparent !important; }
  .mod__card { position: relative; transform: none; grid-template-columns: 1fr; margin: 0 0 24px; }
  .mod__card .mod__name { display: none; } .mod__card .mod__cardText { padding: 20px; } .mod__img { aspect-ratio: 16 / 9; }
  /* Telefon: jasna karta zamiast czarnego prostokąta (D-61) */
  .mod__card { background: var(--bg); color: var(--ink); border-radius: 16px; padding: 8px; box-shadow: 8px 8px 20px rgba(0,0,0,.07), -8px -8px 20px rgba(255,255,255,.9); }
  .mod__card .mod__cardText { padding: 12px 12px 16px; }
  .mod__desc { color: var(--ink-2); }
  .mod__img { border-radius: 10px; }
}

/* ===== Klocki podstron v4 ===== */
/* Znak-motyw branży: ogromny glif jak "AV" w stopce */
.glyph { font-size: clamp(120px, 26vw, 420px); font-weight: 700; letter-spacing: -.06em; line-height: .8; margin: 0; text-align: center; }
.glyph-cap { text-align: center; margin-top: 32px; color: var(--ink-2); font-size: var(--t-body); }

/* Tabela dowodów: jeden duży, czysty obiekt produktu */
.table4 { background: var(--bg-2); border-radius: 10px; box-shadow: 0 30px 60px -34px rgba(0,0,0,.25); overflow: hidden; }
.table4__bar { display: flex; justify-content: space-between; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--line); font-size: var(--t-small); font-weight: 600; }
.table4__bar span:last-child { color: var(--mute); font-weight: 500; }
.table4__scroll { overflow-x: auto; }
.table4 table { width: 100%; border-collapse: collapse; font-size: var(--t-small); min-width: 860px; }
.table4 th { text-align: left; font-weight: 600; color: var(--mute); padding: 14px 24px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table4 td { padding: 18px 24px; border-bottom: 1px solid #ececec; vertical-align: top; }
.table4 tr:last-child td { border-bottom: 0; }
.table4 tbody tr { transition: background .35s var(--ease-out); }
.table4 tbody tr:hover { background: #f7f7f7; }
.table4 .src { display: block; margin-top: 4px; font-family: var(--mono); font-size: 11px; color: var(--mute); }
.table4 td:first-child { font-weight: 600; white-space: nowrap; }

/* Kalkulator v4: pola jak formularz, wynik ogromny */
.calc4 { display: grid; gap: 0; }
.calc4 label { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--t-small); color: var(--mute); }
.calc4 input { font: inherit; font-size: var(--t-lead); font-weight: 600; letter-spacing: -.02em; color: var(--ink); background: transparent; border: 0; padding: 0; outline: none; }
.calc4 input::placeholder { color: #bdbdbd; }
.calc4 .calc__result { font-size: clamp(56px, 7vw, 110px); font-weight: 700; letter-spacing: -.05em; line-height: 1; margin-top: 36px; }
.calc4 .calc__result[data-empty="true"] { color: #c4c4c4; }
.calc4 .calc__formula { margin-top: 12px; font-size: var(--t-xs); color: var(--mute); max-width: 60ch; }

/* FAQ: wiersze z plusem */
.faq4 details { border-bottom: 1px solid var(--line); padding: 0; }
.faq4 details:first-child { border-top: 1px solid var(--line); }
.faq4 summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 26px 0; font-size: var(--t-lead); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.faq4 summary::-webkit-details-marker { display: none; }
.faq4 summary::after { content: ""; flex: 0 0 18px; height: 18px; background: linear-gradient(currentColor, currentColor) center / 18px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 18px no-repeat; transition: transform .6s var(--ease-out); }
.faq4 details[open] summary::after { transform: rotate(135deg); }
.faq4 .ans { padding: 0 0 28px; color: var(--ink-2); max-width: 60ch; }

/* Ciemny blok (gwarancja, kluczowe zdanie) */
.darkblock { background: var(--dark); color: var(--on-dark); border-radius: 10px; margin: 0 var(--edge); padding: clamp(40px, 7vw, 120px) clamp(20px, 5vw, 72px); }
.darkblock .dot { color: var(--on-dark-2); }
.darkblock .state { color: var(--on-dark); }
.darkblock .body { color: var(--on-dark-2); }

/* Kroki procesu jako wiersze z numerem */
.step { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: var(--gap); padding: 26px 0; border-bottom: 1px solid var(--line); }
.step:first-child { border-top: 1px solid var(--line); }
.step__n { grid-column: 1 / span 1; color: var(--mute); font-weight: 600; }
.step__name { grid-column: 2 / span 2; font-weight: 600; }
.step__text { grid-column: 4 / span 3; color: var(--ink-2); }
@media (max-width: 820px) {
  .step__n, .step__name, .step__text { grid-column: 1 / -1; }
  .table4__bar { flex-direction: column; }
}

/* ===== Tryb cienia: interaktywna demonstracja ===== */
.shadow { background: var(--bg-2); border-radius: 10px; box-shadow: 0 30px 60px -34px rgba(0,0,0,.25); overflow: hidden; }
.shadow__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--line); font-size: var(--t-small); font-weight: 600; }
.shadow__bar span:last-child { color: var(--mute); font-weight: 500; }
.shadow__meter { display: flex; gap: 6px; }
.shadow__meter i { width: 22px; height: 6px; border-radius: 3px; background: var(--line); transition: background .5s var(--ease-out); }
.shadow__meter i.is-on { background: var(--ink); }
.sh-row { display: grid; grid-template-columns: 1.1fr 1.6fr .9fr auto; gap: 16px; align-items: center; padding: 16px 24px; border-bottom: 1px solid #ececec; font-size: var(--t-small); transition: background .5s var(--ease-out); }
.sh-row b { display: block; font-weight: 600; }
.sh-row small { display: block; font-family: var(--mono); font-size: 11px; color: var(--mute); margin-top: 3px; }
.sh-row .sh-acc { font-family: var(--mono); font-size: 12px; }
.sh-row button { font: inherit; font-size: var(--t-small); font-weight: 600; border: 1px solid var(--ink); background: transparent; color: var(--ink); border-radius: 999px; padding: 7px 14px; cursor: pointer; transition: background .35s var(--ease-out), color .35s var(--ease-out); white-space: nowrap; }
.sh-row button:hover { background: var(--ink); color: var(--bg); }
.sh-row.is-ok { background: #f7f7f7; }
.sh-row.is-ok button { background: var(--ink); color: var(--bg); pointer-events: none; }
.sh-rule { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--dark); color: var(--on-dark); padding: 28px 24px;
  max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; overflow: hidden; transition: max-height .9s var(--ease-out), padding .9s var(--ease-out), opacity .6s var(--ease-out); }
.shadow.is-rule .sh-rule { max-height: 400px; padding-top: 28px; padding-bottom: 28px; opacity: 1; }
.sh-rule p { margin: 0; }
.sh-rule .sh-rule__t { font-size: var(--t-lead); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.sh-rule .sh-rule__m { color: var(--on-dark-2); font-size: var(--t-small); margin-top: 8px; }
.sh-rule .btn { background: var(--on-dark); color: var(--ink); }
@media (max-width: 820px) { .sh-row { grid-template-columns: 1fr; gap: 6px; } .sh-rule { grid-template-columns: 1fr; } }

/* ===== Makieta telefonu (aplikacja mobilna) ===== */
.phones { display: flex; gap: clamp(16px, 3vw, 48px); justify-content: center; align-items: flex-end; flex-wrap: wrap; }
.phone { width: 280px; aspect-ratio: 9 / 19.5; background: #111; border-radius: 44px; padding: 10px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.45); position: relative; flex: 0 0 auto; }
.phone:nth-child(2) { transform: translateY(-40px); }
.phone__screen { width: 100%; height: 100%; border-radius: 36px; background: var(--bg); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.phone__notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 90px; height: 26px; border-radius: 20px; background: #111; z-index: 2; }
.phone__head { padding: 50px 18px 10px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 600; }
.phone__head svg { height: 9px; width: auto; }
.phone__title { padding: 4px 18px 12px; font-size: 26px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.phone__body { flex: 1; padding: 0 12px 12px; display: flex; flex-direction: column; gap: 8px; font-size: 11px; }
.phone__card { background: var(--bg-2); border-radius: 12px; padding: 10px 12px; }
.phone__card b { display: block; font-size: 12px; font-weight: 600; }
.phone__card small { display: block; color: var(--mute); font-family: var(--mono); font-size: 9px; margin-top: 2px; }
.phone__big { font-size: 34px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.phone__cam { flex: 1; border-radius: 14px; background: #2a2a2a center / cover no-repeat; position: relative; overflow: hidden; }
.phone__cam::after { content: ""; position: absolute; inset: 14% 12%; border: 2px solid rgba(255,255,255,.9); border-radius: 6px; }
.phone__shutter { width: 54px; height: 54px; border-radius: 50%; border: 4px solid var(--ink); margin: 8px auto 4px; }
.phone__q { background: var(--ink); color: var(--bg); border-radius: 12px 12px 4px 12px; padding: 9px 11px; align-self: flex-end; max-width: 85%; }
.phone__a { background: var(--bg-2); border-radius: 12px 12px 12px 4px; padding: 9px 11px; max-width: 92%; }
.phone__a small { display: block; font-family: var(--mono); font-size: 9px; color: var(--mute); margin-top: 4px; }
.phone__lbl { text-align: center; margin-top: 18px; font-size: var(--t-small); font-weight: 600; }
.phone__lbl span { display: block; color: var(--mute); font-weight: 500; }
.badge-soon { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-small); font-weight: 600; }
.badge-soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: pulse 2.4s var(--ease-io) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .badge-soon::before { animation: none; } }
@media (max-width: 820px) { .phone { width: 240px; } .phone:nth-child(2) { transform: none; } }

/* ---------- Mega menu (neumorfizm, panel wypływa z przycisku) ---------- */
.mega { position: fixed; inset: 0; z-index: 59; pointer-events: none; }
.mega[hidden] { display: none; }
.mega__bg { position: fixed; left: 0; top: 0; width: 0; height: 0; border-radius: 4px; background: var(--bg);
  box-shadow: 22px 22px 60px rgba(0,0,0,.13), -22px -22px 60px rgba(255,255,255,.95), inset 0 0 0 1px rgba(255,255,255,.6);
  will-change: left, top, width, height, border-radius; }
.mega__content { position: fixed; pointer-events: auto; box-sizing: border-box; }
.mega__pane { position: absolute; inset: 0; padding: 22px; box-sizing: border-box; opacity: 0; visibility: hidden; }
.mega__pane.is-on { visibility: visible; }
.mega__head { display: flex; justify-content: space-between; align-items: baseline; margin: 2px 4px 16px; font-size: var(--t-small); color: var(--mute); }
.mega__head a { color: var(--ink); font-weight: 600; }
.mega__head a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mega__grid { display: grid; gap: 14px; }
.mega__grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.mega__grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.mega__grid--5 { grid-template-columns: repeat(5, minmax(0,1fr)); }
.mega__card { display: block; padding: 8px 8px 12px; border-radius: 12px; background: var(--bg);
  box-shadow: 7px 7px 16px rgba(0,0,0,.09), -7px -7px 16px rgba(255,255,255,.95);
  transition: box-shadow .45s var(--ease-out), transform .45s var(--ease-out); }
.mega__card:hover, .mega__card:focus-visible { box-shadow: inset 5px 5px 12px rgba(0,0,0,.09), inset -5px -5px 12px rgba(255,255,255,.95); transform: translateY(1px); outline: none; }
.mega__img { display: block; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: #ddd; }
.mega__grid--5 .mega__img { aspect-ratio: 1 / 1; }
.mega__img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1); transform: scale(1.02); transition: transform .8s var(--ease-out), filter .8s var(--ease-out); }
.mega__card:hover .mega__img img { transform: scale(1.08); filter: grayscale(.2); }
.mega__name { display: block; margin: 10px 4px 2px; font-size: 15px; font-weight: 650; letter-spacing: -.02em; }
.mega__kind { display: block; margin: 0 4px; font-size: 12px; line-height: 1.35; color: var(--mute); }
.mega__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.mega__links a { padding: 9px 14px; border-radius: 999px; font-size: var(--t-small); font-weight: 550; background: var(--bg);
  box-shadow: 4px 4px 10px rgba(0,0,0,.08), -4px -4px 10px rgba(255,255,255,.95); transition: box-shadow .4s var(--ease-out); }
.mega__links a:hover { box-shadow: inset 3px 3px 8px rgba(0,0,0,.09), inset -3px -3px 8px rgba(255,255,255,.95); }
.mega__item { opacity: 0; transform: translateY(10px); }
.nav__links a.is-mega { background: var(--ink); color: var(--bg); }
@media (hover: none), (max-width: 819px) { .mega { display: none !important; } }

/* ---------- Podgląd źródła w tabeli dowodów ---------- */
.table4 td:has(.src), .table4 tbody tr:has(td .src) td:first-child { cursor: help; }
.table4 td.is-src { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.srcpeek { position: fixed; z-index: 70; width: 360px; max-width: calc(100vw - 32px); padding: 14px; border-radius: 16px; background: var(--bg); pointer-events: none;
  box-shadow: 18px 18px 44px rgba(0,0,0,.16), -14px -14px 36px rgba(255,255,255,.95);
  opacity: 0; transform: translateY(8px) scale(.98); transform-origin: 0 0; transition: opacity .28s var(--ease-out), transform .45s var(--ease-out); }
.srcpeek.is-on { opacity: 1; transform: none; }
.srcpeek__loc { display: flex; justify-content: space-between; gap: 10px; margin: 0 2px 10px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11px; color: var(--mute); }
.srcpeek__page { position: relative; background: #fff; border-radius: 8px; padding: 16px 16px 18px; font-size: 13px; line-height: 1.55; color: var(--ink-2);
  box-shadow: inset 3px 3px 8px rgba(0,0,0,.05), 0 1px 0 rgba(0,0,0,.04); }
.srcpeek__page mark { background: #1b1b1b; color: #fff; padding: 1px 3px; border-radius: 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.srcpeek__lines i { display: block; height: 7px; margin: 8px 0; border-radius: 3px; background: #ececec; }
.srcpeek__lines i.hl { background: #1b1b1b; }
.srcpeek__gap { color: var(--ink); font-weight: 600; }
.srcpeek__foot { display: flex; align-items: center; gap: 10px; margin: 12px 2px 0; font-size: 12px; color: var(--mute); }
@media (hover: none) { .srcpeek { left: 16px !important; right: 16px; top: auto !important; bottom: 16px; width: auto; pointer-events: auto; } }

/* Nav: sygnet AV w osobnym kafelku */
.nav__brand { display: flex; gap: 4px; }
.chip--sig { justify-content: center; min-width: 38px; padding-left: 8px; padding-right: 8px; }
.chip--sig .chip-sig { margin-right: 0; }
.nav__brand a { transition: background .35s var(--ease-out), color .35s var(--ease-out); }
.nav__brand a:hover { background: var(--ink); color: var(--bg); }
.nav__brand a:hover .chip-sig { color: var(--bg); }

/* Hero: rotacja hasła w miejscu wordmarku (bez zmiany wysokości) */
.wm-rot { display: block; position: relative; clip-path: inset(-30% -3% -30% -3%); }
.wm-word { position: absolute; left: 0; top: 0; white-space: nowrap; }
.wm-caret { display: inline-block; width: .075em; height: .74em; margin-left: .05em; vertical-align: -.02em; background: currentColor; animation: wmBlink 1.4s ease-in-out infinite; }
.wm-rot.is-typing .wm-caret { animation: none; opacity: 1; }
@keyframes wmBlink { 0%, 45% { opacity: 1; } 55%, 95% { opacity: 0; } 100% { opacity: 1; } }
.wm-word[hidden] { display: none; }

/* Nav: sam sygnet AV; pełna nazwa wysuwa się po najechaniu (pełna informacja w stopce) */
.nav__brand { gap: 0; }
.nav__brand .chip:not(.chip--sig) { max-width: 0; padding-left: 0; padding-right: 0; margin-left: 0; opacity: 0; overflow: hidden;
  transition: max-width .7s var(--ease-out), padding .7s var(--ease-out), margin .7s var(--ease-out), opacity .45s var(--ease-out); }
.nav__brand:hover .chip:not(.chip--sig), .nav__brand:focus-within .chip:not(.chip--sig) { max-width: 260px; padding-left: 9px; padding-right: 9px; margin-left: 4px; opacity: 1; }
@media (hover: none) { .nav__brand .chip:not(.chip--sig) { display: none; } }
.hero__lead strong { display: block; margin-bottom: .45em; font-size: 1.28em; line-height: 1.2; font-weight: 650; letter-spacing: -.02em; color: inherit; }
.calc4 label small { display: block; font-size: 12px; line-height: 1.4; color: var(--mute); opacity: .85; }

/* Baner zgody (Consent Mode v2, podstawowy) */
.consent { position: fixed; right: 16px; bottom: 16px; z-index: 80; max-width: 420px; padding: 18px 18px 14px; border-radius: 16px; background: var(--bg);
  box-shadow: 18px 18px 44px rgba(0,0,0,.16), -14px -14px 36px rgba(255,255,255,.95); font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.consent[hidden] { display: none; }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.consent__btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.consent button { font: inherit; font-weight: 600; padding: 9px 16px; border-radius: 999px; border: 0; cursor: pointer; background: var(--bg);
  box-shadow: 4px 4px 10px rgba(0,0,0,.08), -4px -4px 10px rgba(255,255,255,.95); color: var(--ink); }
.consent .consent__yes { background: var(--ink); color: var(--bg); box-shadow: none; }
@media (max-width: 819px) { .consent { left: 16px; max-width: none; } }
.form4__msg { margin-top: 12px; font-size: var(--t-small); color: var(--ink-2); min-height: 1.4em; }

/* ---------- Menu mobilne (hamburger) ---------- */
.mburger { display: none; }
.mnav { position: fixed; inset: 0; z-index: 90; background: var(--bg); overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 12px 16px calc(24px + env(safe-area-inset-bottom)); clip-path: circle(0 at var(--mx, 90%) var(--my, 24px)); visibility: hidden;
  transition: clip-path .7s var(--ease-out), visibility 0s linear .7s; }
.mnav.is-open { clip-path: circle(150% at var(--mx, 90%) var(--my, 24px)); visibility: visible; transition: clip-path .75s var(--ease-out), visibility 0s; }
.mnav__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.mnav__close { font: inherit; font-size: var(--t-small); font-weight: 600; padding: 9px 14px; border: 0; border-radius: 999px; background: var(--bg); color: var(--ink);
  box-shadow: 4px 4px 10px rgba(0,0,0,.08), -4px -4px 10px rgba(255,255,255,.95); }
.mnav__label { font-size: 12px; color: var(--mute); margin: 26px 2px 12px; }
.mnav__label::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); margin-right: 8px; vertical-align: 1px; }
.mnav__big a { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 2px; border-bottom: 1px solid var(--line);
  font-size: 30px; font-weight: 650; letter-spacing: -.035em; line-height: 1.1; color: var(--ink); }
.mnav__big a span { font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--mute); }
.mnav__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mnav__card { display: block; padding: 6px 6px 10px; border-radius: 12px; background: var(--bg);
  box-shadow: 5px 5px 12px rgba(0,0,0,.08), -5px -5px 12px rgba(255,255,255,.95); }
.mnav__card:active { box-shadow: inset 4px 4px 10px rgba(0,0,0,.09), inset -4px -4px 10px rgba(255,255,255,.95); }
.mnav__card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; filter: grayscale(1); }
.mnav__card b { display: block; margin: 8px 4px 0; font-size: 14px; font-weight: 650; letter-spacing: -.02em; }
.mnav__cta { display: block; margin-top: 30px; padding: 16px 20px; border-radius: 999px; background: var(--ink); color: var(--bg); text-align: center; font-weight: 650; font-size: 17px; }
.mnav__item { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.mnav.is-open .mnav__item { opacity: 1; transform: none; }
html.mnav-lock, html.mnav-lock body { overflow: hidden; }
@media (max-width: 820px) {
  .mburger { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: var(--t-small); font-weight: 600; border: 0; cursor: pointer;
    background: rgba(242,242,242,.9); color: var(--ink); padding: 5px 10px; border-radius: 4px; }
  .mburger i { display: block; width: 16px; height: 2px; background: currentColor; box-shadow: 0 5px 0 currentColor; margin-bottom: 5px; }
  .nav > a.chip { display: none; }
  .nav { align-items: center; }
}
@media (prefers-reduced-motion: reduce) { .mnav, .mnav.is-open { transition: none; } .mnav__item { transition: none; } }
.link { white-space: nowrap; }
.proof4__anon { margin-top: 14px; } .proof4__anon mark { background: #1b1b1b; color: #fff; padding: 0 4px; border-radius: 3px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .86em; }

/* Proces od skanu do decyzji (D-64): pięć kroków w jednym przepływie, każdy moduł działa też osobno.
   Wzór HTML: shared/components/flow.html. Używają: strona główna, landingi branżowe, Czym jest. */
.flow { list-style: none; margin-left: 0; margin-right: 0; margin-bottom: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.flow:not([class*="mt-"]) { margin-top: 0; }
.flow__step { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 28px; border-radius: 16px; background: var(--bg);
  box-shadow: 7px 7px 16px rgba(0,0,0,.08), -7px -7px 16px rgba(255,255,255,.95); }
.flow__step:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -22px; width: 16px; height: 1px; background: var(--mute); }
.flow__step:not(:last-child)::before { content: ""; position: absolute; top: calc(50% - 3px); right: -22px; width: 6px; height: 6px; border-top: 1px solid var(--mute); border-right: 1px solid var(--mute); transform: rotate(45deg); }
.flow__n { font-size: var(--t-xs); color: var(--mute); letter-spacing: .06em; }
.flow__verb { font-size: clamp(22px, 1.9vw, 28px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.flow__mod { font-size: var(--t-small); font-weight: 600; }
.flow__text { font-size: var(--t-small); color: var(--ink-2); line-height: 1.45; }
.flow__note { margin-top: 28px; font-size: var(--t-body); color: var(--ink-2); max-width: 70ch; }
.flow__base { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 16px 22px; border-radius: 12px; font-size: var(--t-small); color: var(--ink-2);
  box-shadow: inset 4px 4px 10px rgba(0,0,0,.06), inset -4px -4px 10px rgba(255,255,255,.9); }
.flow__base b { color: var(--ink); font-weight: 600; }
.flow-q { margin-top: 36px; margin-bottom: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; list-style: none; padding: 0; }
.flow-q li { padding: 14px 0; border-top: 1px solid var(--line); font-size: var(--t-body); }
.path { display: inline-flex; flex-wrap: wrap; gap: 4px 6px; font-size: var(--t-xs); color: var(--mute); letter-spacing: .02em; }
.path span + span::before { content: "→"; margin-right: 6px; color: var(--line); }
@media (max-width: 1100px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } .flow__step::after, .flow__step::before { display: none; } }
@media (max-width: 820px) {
  .flow { grid-template-columns: 1fr; gap: 22px; }
  .flow__step:not(:last-child)::after { display: block; top: auto; bottom: -16px; right: auto; left: 32px; width: 1px; height: 12px; }
  .flow__step:not(:last-child)::before { display: block; top: auto; bottom: -16px; right: auto; left: 29px; transform: rotate(135deg); }
  .flow-q { grid-template-columns: 1fr; }
}

/* D-67: przełącznik branż nad tabelą "Jak wygląda odpowiedź" (strona główna). Neumorficzne chipy jak .mega__links,
   aktywny ciemny. Na telefonie przewija się poziomo we własnym kontenerze; ujemny margines tylko na cień chipów. */
.segtabs { position: relative; display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding: 12px; margin-left: -12px; margin-right: -12px; margin-bottom: 14px; }
.segtabs::-webkit-scrollbar { display: none; }
.segtabs [role="tab"] { flex: none; font: inherit; font-size: var(--t-small); font-weight: 550; color: var(--ink); white-space: nowrap; cursor: pointer;
  padding: 9px 16px; border: 0; border-radius: 999px; background: var(--bg);
  box-shadow: 4px 4px 10px rgba(0,0,0,.08), -4px -4px 10px rgba(255,255,255,.95);
  transition: box-shadow .4s var(--ease-out), background-color .35s var(--ease-out), color .35s var(--ease-out); }
.segtabs [role="tab"]:hover { box-shadow: inset 3px 3px 8px rgba(0,0,0,.09), inset -3px -3px 8px rgba(255,255,255,.95); }
.segtabs [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--bg); box-shadow: inset 2px 2px 6px rgba(0,0,0,.4); }
.segtabs [role="tab"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.segpanel[hidden], [data-seg-q][hidden] { display: none; }
.segpanel__more { margin-top: 18px; font-size: var(--t-small); font-weight: 550; }
