/* Gołymbiorze - golymbiorze.pl
   Layout uses transforms only for pointer/scroll parallax, so nothing here
   can re-run layout while the mouse moves. */

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

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: clip;
}

/* Reserve the scrollbar gutter so locking body scroll (lightbox) never
   changes the layout width. */
html {
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}

:root {
  --bg: #FFFFFF;
  --bg2: #EEF4F9;
  --bg3: #DFE9F1;
  --tx: #16202A;
  --tx2: #4A5D6E;
  --mut: #8FA3B3;
  --line: #C9D8E3;
  --acc: #3F74A8;
  --ink: #FFFFFF;
  --ok: #3F8A55;
  --warn: #E0692A;
  --dang: #CC3333;
  --seal: #5E3AA8;
  --sky: #9BBCCD;
  --g1: #5096C7;
  --g3: #A3C7DE;
  --g2: #DDE9EE;
  --shadow: rgba(22, 32, 42, .16);
  --cloud: #FFFFFF;
  --hero-tx: #16202A;
  --hero-btn-bg: #16202A;
  --hero-btn-fg: #FFFFFF;
  --hero-chip: rgba(255, 255, 255, .55);
  --hero-line: rgba(22, 32, 42, .2);
  --sans: "Work Sans", ui-sans-serif, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  --disp: "Bitter", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --maxw: 1180px;
}

:root[data-theme="dark"] {
  --bg: #0C0B0A;
  --bg2: #16130F;
  --bg3: #221D17;
  --tx: #F5EEDC;
  --tx2: #B7A98F;
  --mut: #7A7061;
  --line: #2E2820;
  --acc: #E8BE55;
  --ink: #14100A;
  --ok: #8CC98A;
  --warn: #B4552F;
  --dang: #E0574C;
  --seal: #AE8FD6;
  --sky: #171410;
  --g1: #07060A;
  --g3: #2A1E15;
  --g2: #0C0B0A;
  --shadow: rgba(0, 0, 0, .55);
  --cloud: #4A3B2C;
  --hero-tx: #F5EEDC;
  --hero-btn-bg: #E8BE55;
  --hero-btn-fg: #14100A;
  --hero-chip: rgba(12, 11, 10, .5);
  --hero-line: rgba(245, 238, 220, .22);
}

body {
  background: var(--bg);
  color: var(--tx);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.legal { line-height: 1.62; }

a { color: var(--acc); }
a:hover { color: var(--tx); }

h1, h2, h3, p, ul, li { margin: 0; text-wrap: pretty; }

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

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

::selection { background: var(--acc); color: var(--ink); }

.page {
  position: relative;
  min-height: 100vh;
  background: var(--bg);
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
}

.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;
}

/* ---------- keyframes ---------- */

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

/* ---------- decorative overlays ---------- */

.noise {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='.35'/></svg>");
}

/* Custom cursor - only ever moved with transform. */
.cursor-quill {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
}

.cursor-quill {
  width: 30px;
  height: 30px;
  margin: -25px 0 0 -4px;
  z-index: 120;
  color: var(--acc);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35));
}

html[data-cursor="on"] .cursor-quill { opacity: 1; }

@media (hover: hover) and (pointer: fine) {
  html[data-cursor="on"],
  html[data-cursor="on"] * { cursor: none; }
}

@media (hover: none), (pointer: coarse) {
  .cursor-quill { display: none !important; }
}

/* ---------- header ---------- */

.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}

@supports not (background: color-mix(in srgb, red 50%, transparent)) {
  .hdr { background: var(--bg); }
}

.hdr.is-stuck { box-shadow: 0 6px 22px var(--shadow); }

.hdr-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 11px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--tx);
  min-width: 0;
}

.brand:hover { color: var(--tx); }

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 22%;
  display: block;
  box-shadow: 0 2px 8px var(--shadow);
}

.brand-name {
  font-family: var(--disp);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.hdr-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.langs {
  display: flex;
  padding: 3px;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--bg2);
}

.lang {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 6px 11px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: var(--tx2);
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}

.lang[aria-selected="true"] {
  background: var(--acc);
  color: var(--ink);
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--bg2);
  color: var(--tx);
  cursor: pointer;
  transition: background .18s ease;
}

.icon-btn:hover { background: var(--bg3); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--g1) 0%, var(--g3) 52%, var(--g2) 88%);
}

.clouds {
  position: absolute;
  inset: 0;
  opacity: .55;
  pointer-events: none;
  will-change: transform;
  background-image:
    radial-gradient(42px 15px at 12% 22%, var(--cloud) 58%, transparent 61%),
    radial-gradient(62px 19px at 25% 31%, var(--cloud) 58%, transparent 61%),
    radial-gradient(48px 16px at 76% 17%, var(--cloud) 58%, transparent 61%),
    radial-gradient(78px 22px at 88% 33%, var(--cloud) 58%, transparent 61%);
}

/* Kłębiaste chmury: kształt bierze maska (img/clouds.svg), kolor - --cloud,
   więc jeden plik obsługuje oba motywy. Gradienty wyżej zostają jako fallback
   dla przeglądarek bez masek. */
@supports ((mask-image: url("img/clouds.svg")) or (-webkit-mask-image: url("img/clouds.svg"))) {
  .clouds {
    background-image: none;
    background-color: var(--cloud);
    opacity: .62;
    -webkit-mask-image: url("img/clouds.svg");
    mask-image: url("img/clouds.svg");
    -webkit-mask-size: 1000px 285px;
    mask-size: 1000px 285px;
    -webkit-mask-repeat: repeat-x;
    mask-repeat: repeat-x;
    -webkit-mask-position: 0 22px;
    mask-position: 0 22px;
  }

  :root[data-theme="dark"] .clouds { opacity: .42; }
}

.hero-grid {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 76px 20px 84px;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 920px) {
  .hero-grid {
    grid-template-columns: 1.02fr .98fr;
    align-items: center;
    padding-top: 64px;
  }
}

.hero-copy {
  max-width: 620px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hero-tx);
  opacity: .72;
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(46px, 9vw, 84px);
  line-height: .94;
  letter-spacing: -.035em;
  color: var(--hero-tx);
  margin-bottom: 8px;
}

.hero-title .word {
  display: inline-block;
  opacity: 0;
  animation: gup .5s cubic-bezier(.2, .7, .2, 1) forwards;
}

.hero-sub {
  font-family: var(--disp);
  font-weight: 600;
  font-size: clamp(19px, 3.2vw, 26px);
  color: var(--hero-tx);
  opacity: .78;
  margin-bottom: 22px;
}

.hero-lead {
  font-size: clamp(16px, 2.4vw, 19px);
  max-width: 52ch;
  color: var(--hero-tx);
  opacity: .86;
  margin-bottom: 30px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.store {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 22px 13px 18px;
  border-radius: 15px;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, .2);
  box-shadow: 0 10px 24px var(--shadow);
  background: var(--hero-btn-bg);
  color: var(--hero-btn-fg);
  transition: transform .18s ease, box-shadow .18s ease;
}

.store:hover {
  transform: translateY(-3px) rotate(-.7deg);
  box-shadow: 0 18px 34px var(--shadow);
  color: var(--hero-btn-fg);
}

.store-lines {
  display: grid;
  text-align: left;
  white-space: nowrap;
}

.store-kicker {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .72;
  line-height: 1.3;
}

.store-name {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .05em;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--hero-chip);
  border: 1px solid var(--hero-line);
  color: var(--hero-tx);
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  display: block;
}

/* Scroll parallax lives on .phones, pointer parallax on .phones-in.
   Both are transforms - neither touches layout. */
.phones {
  transform: translate3d(0, var(--phones-y, 0px), 0);
  transition: transform .3s ease-out;
}

.phones-in {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6px 0 0;
  transform: translate3d(var(--phones-x, 0px), 0, 0);
  will-change: transform;
}

.phone {
  position: relative;
  border-radius: clamp(16px, 4.5%, 30px);
  border: 6px solid #16202A;
  box-shadow: 0 26px 50px rgba(22, 32, 42, .38);
  overflow: hidden;
  flex: 0 1 auto;
  aspect-ratio: 1280 / 2856;
  background-color: #16202A;
  background-size: cover;
  background-position: center top;
  width: clamp(96px, 29%, 176px);
}

/* Środkowy leży na wierzchu, boczne chowają się za nim. */
.phone--a { margin: 62px -3% 0 0; transform: rotate(-7deg); z-index: 1; }
.phone--b { margin: 0 -3%; transform: rotate(0deg); width: clamp(112px, 34%, 206px); z-index: 2; }
.phone--c { margin: 62px 0 0 -3%; transform: rotate(7deg); z-index: 1; }

/* Hero mock-ups: lot z mapą na wierzchu, gołębnik i menu po bokach. */
.phone--a { background-image: url("img/screens/01.webp"); }
.phone--b { background-image: url("img/screens/06.webp"); }
.phone--c { background-image: url("img/screens/02.webp"); }

/* ---------- flight dividers ---------- */

.flight-row {
  display: flex;
  justify-content: center;
  background: var(--bg);
}

.flight-row--top { padding: 26px 0 4px; }
.flight-row--bottom { padding: 34px 0 0; }

/* ---------- generic sections ---------- */

.sec { padding: 80px 20px; }
.sec--how { background: var(--bg); padding: 16px 20px 88px; }

.sec--feat {
  background: var(--bg2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sec--birds { background: var(--bg); }

.sec--gallery {
  background: var(--bg3);
  border-top: 1px solid var(--line);
  padding: 76px 0 84px;
}

.sec--cta { background: var(--bg); padding: 30px 20px 96px; }

.kicker {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .12em;
  color: var(--mut);
  margin-bottom: 14px;
  cursor: default;
}

.sec--gallery .kicker { color: var(--tx2); }

.sec-title {
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(30px, 5vw, 46px);
  letter-spacing: -.03em;
  margin-bottom: 10px;
}

.sec-sub {
  color: var(--tx2);
  font-size: 18px;
  max-width: 46ch;
  margin-bottom: 42px;
}

.cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.cards--feat { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cards--birds { gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.card-title {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 21px;
  margin: 10px 0 8px;
}

.card-text {
  color: var(--tx2);
  font-size: 15.5px;
}

.step {
  position: relative;
  padding: 26px 24px 28px;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 4px 18px 4px 18px;
  box-shadow: 0 1px 0 var(--line);
}

.step-n {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
  color: var(--acc);
  letter-spacing: .1em;
}

.feat {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.feat:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px var(--shadow);
}

.feat-ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg3);
  color: var(--acc);
  margin-bottom: 16px;
}

.feat .card-title {
  font-size: 19px;
  margin: 0 0 7px;
}

.bird {
  position: relative;
  padding: 30px 26px 28px;
  background: linear-gradient(180deg, var(--bg2), var(--bg));
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}

.bird:hover {
  transform: scale(1.02) rotate(1deg);
  box-shadow: 0 20px 40px var(--shadow);
}

.bird-ico {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--bg3);
  border: 3px solid var(--ring, var(--acc));
  color: var(--acc);
  margin-bottom: 18px;
  overflow: hidden;
}

.bird-ico img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bird-tag {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ring, var(--acc));
  margin-bottom: 8px;
}

.bird .card-title {
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -.02em;
  margin: 0 0 9px;
}

/* ---------- gallery ---------- */

.sec--gallery .wrap { padding: 0 20px; }

.gallery-sub {
  color: var(--tx2);
  font-size: 16px;
  margin-bottom: 34px;
}

.strip {
  display: flex;
  justify-content: safe center;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 20px 22px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
}

.strip::-webkit-scrollbar { height: 8px; }
.strip::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }

.shot {
  flex: 0 0 auto;
  scroll-snap-align: center;
  padding: 0;
  border: 6px solid #16202A;
  background: #16202A;
  border-radius: 26px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 16px 34px var(--shadow);
  width: 208px;
  transition: transform .2s ease;
}

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

.shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 2856;
  background: var(--bg3);
}

/* ---------- closing CTA ---------- */

.cta-box {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  text-align: center;
  padding: 56px 28px 52px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, var(--bg2), var(--bg));
}

.seal {
  position: absolute;
  top: -34px;
  left: 50%;
  margin-left: -34px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, color-mix(in srgb, var(--seal) 78%, #fff), var(--seal));
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 22px var(--shadow), inset 0 0 0 3px rgba(255, 255, 255, .28);
  transform: rotate(-8deg);
}

.seal svg { opacity: .9; }

.cta-title {
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(32px, 6vw, 52px);
  letter-spacing: -.03em;
  margin-bottom: 10px;
}

.cta-sub {
  color: var(--tx2);
  font-size: 18px;
  margin-bottom: 30px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.cta-actions .store {
  padding: 15px 26px 15px 20px;
  background: var(--acc);
  color: var(--ink);
  border: 1px solid rgba(0, 0, 0, .14);
  box-shadow: 0 12px 28px var(--shadow);
}

.cta-actions .store:hover {
  transform: translateY(-3px) rotate(-.7deg);
  box-shadow: 0 20px 38px var(--shadow);
  color: var(--ink);
}

.cta-actions .store .store-kicker { opacity: .75; }

/* ---------- footer ---------- */

.foot {
  background: var(--bg2);
  border-top: 1px solid var(--line);
  padding: 34px 20px 40px;
}

.foot-in {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.foot-brand img {
  width: 32px;
  height: 32px;
  border-radius: 22%;
  display: block;
}

.foot-brand span {
  font-family: var(--disp);
  font-weight: 800;
  font-size: 16px;
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 15px;
}

.foot-nav a {
  color: var(--tx2);
  text-decoration: none;
}

.foot-nav a:hover,
.foot-nav a[aria-current="page"] { color: var(--acc); }

.foot-copy {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mut);
  letter-spacing: .02em;
}

/* ---------- lightbox ---------- */

.lb {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 11, 18, .86);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 28px;
}

.lb[hidden] { display: none; }

.lb-img {
  /* Pusty div nie ma się od czego rozciągnąć, więc szerokość musi być podana
     wprost; ostatni człon pilnuje, żeby wysokość z aspect-ratio zmieściła się
     na ekranie. */
  width: min(92vw, 420px, calc(86vh * 1280 / 2856));
  aspect-ratio: 1280 / 2856;
  border-radius: 22px;
  border: 6px solid #16202A;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .6);
  background-color: #16202A;
  background-size: cover;
  background-position: center;
}

.lb-btn {
  position: fixed;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

.lb-close { top: 18px; right: 18px; font-size: 20px; }
.lb-prev { left: 14px; top: 50%; margin-top: -22px; font-size: 18px; }
.lb-next { right: 14px; top: 50%; margin-top: -22px; font-size: 18px; }

body.is-locked { overflow: hidden; }

/* ---------- legal pages ---------- */

.legal-page { min-height: 100vh; background: var(--bg); }

.legal .hdr { background: color-mix(in srgb, var(--bg) 76%, transparent); }

.legal-main {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 20px 84px;
}

.doc-kicker {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mut);
  margin-bottom: 16px;
}

.doc-title {
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1.06;
  letter-spacing: -.03em;
  margin-bottom: 14px;
}

.doc-eff {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--tx2);
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.doc-note {
  margin-top: 26px;
  padding: 14px 16px;
  border-left: 3px solid var(--seal);
  background: var(--bg2);
  font-size: 15px;
  color: var(--tx2);
}

.doc-note[hidden] { display: none; }

.doc-intro {
  margin-top: 30px;
  font-size: 17.5px;
  color: var(--tx2);
  max-width: 72ch;
}

.doc-sec {
  margin-top: 40px;
  max-width: 72ch;
}

.doc-h2 {
  font-family: var(--disp);
  font-weight: 600;
  font-size: clamp(21px, 3.4vw, 26px);
  letter-spacing: -.015em;
  margin-bottom: 12px;
}

.doc-n {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--acc);
  margin-right: 10px;
}

.doc-sec p {
  font-size: 16.5px;
  color: var(--tx2);
  margin-bottom: 12px;
}

.doc-sec ul {
  padding-left: 20px;
  margin: 6px 0 0;
}

.doc-sec li {
  font-size: 16.5px;
  color: var(--tx2);
  margin-bottom: 8px;
}

.doc-contact {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 16.5px;
  color: var(--tx2);
}

.doc-contact a { text-decoration: none; }

/* ---------- 404 ---------- */

.nf {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 20px;
}

.nf-code {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--mut);
  margin-bottom: 14px;
}

.nf-back {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 14px;
}

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

/* Hidden only once the runtime has confirmed it can reveal them again:
   `js-reveal` is set by the inline head script and dropped by a failsafe
   timer if site.js never boots, so a blocked script cannot blank the page. */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .2, 1);
}

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

.js-reveal .seal {
  opacity: 0;
  transform: scale(1.7) rotate(-24deg);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .js-reveal [data-reveal] { opacity: 1 !important; transform: none !important; }
  .js-reveal .seal { opacity: 1 !important; transform: rotate(-8deg) !important; }
  .hero-title .word { opacity: 1 !important; animation: none !important; }
  .cursor-quill { display: none !important; }
  .phones,
  .phones-in { transform: none !important; }
}
