/* noka.pet — the app's tokens stretched to page scale (design t8 / 8a). One file, no build. */

@font-face {
  font-family: 'Newsreader';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/Newsreader-500.ttf') format('truetype');
}

:root {
  /* day */
  --paper: #F7F4EF; --paper-2: #EFEBE4; --card: #FFFFFF;
  --ink: #1F1A16; --ink-2: #4A423B; --muted: #6B615A; --muted-2: #8A7E72;
  --line: rgba(0,0,0,.1); --line-soft: rgba(0,0,0,.06);
  --chip: #E9E3D9; --seg: #EDE7DE;
  --fern: #2E6B5E; --fern-deep: #1F4A40;
  --stable: #2F6142; --stable-bg: #E9F1E8;
  --watch: #8A6116; --watch-bg: #F5EBD7;
  --vet: #A33227; --vet-bg: #F7E3E0;
  /* night — a section, not a theme */
  --n-bg: #0A0705; --n-surface: #171009; --n-frame: #14100C; --n-frame-2: #1A1410;
  --n-track: #241A12; --n-border: #2B1E13;
  --ember: #C4713F; --amber: #E3A96F; --n-cream: #E8D9C8; --n-text: #C7B299; --n-muted: #8A6B4E; --n-dim: #6B4F35;
  /* the breath: one cycle per breath at a healthy sleeping rate (20/min) */
  --breath: 3s;
  --sans: -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
img, svg { display: block; }
a { color: var(--fern); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--fern-deep); text-decoration-thickness: 2px; }
/* Focus rings never suppressed — the audience skews 50+ and keyboards count. */
:focus-visible { outline: 2px solid var(--fern); outline-offset: 3px; border-radius: 2px; }
.night :focus-visible { outline-color: var(--ember); }
.serif { font-family: var(--serif); font-weight: 500; }
.only-d { display: none; }
@media (min-width: 900px) { .only-d { display: initial; } .only-m { display: none; } }

.wrap { max-width: 1248px; margin: 0 auto; padding-inline: 24px; }
@media (min-width: 900px) { .wrap { padding-inline: 64px; } }

.kicker { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.h-section { font-size: 26px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
@media (min-width: 900px) { .kicker { font-size: 14px; } .h-section { font-size: 34px; } }

/* ---- the breath ring, the o in noka ---- */
.ring { width: 1em; height: 1em; color: var(--fern); flex: none; }
.ring--thin circle { stroke-width: 2.8; }
.ring--hair circle { stroke-width: 2; }
.wordmark { display: inline-flex; align-items: center; gap: .04em; font-family: var(--serif); font-weight: 500; line-height: 1; color: var(--ink); white-space: nowrap; }
.wordmark .ring { width: .65em; height: .65em; margin-top: .16em; }
.brand { text-decoration: none; font-size: 22px; }
@media (min-width: 900px) { .brand { font-size: 26px; } }

@keyframes breathe {
  0% { transform: scale(1); opacity: .9; }
  42% { transform: scale(1.065); opacity: 1; }
  56% { transform: scale(1.065); opacity: 1; }
  100% { transform: scale(1); opacity: .9; }
}
.breathe { animation: breathe var(--breath) ease-in-out infinite; transform-origin: left center; }
.breathe--center { transform-origin: center; }
@media (prefers-reduced-motion: reduce) {
  .breathe { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---- buttons, badges, QR ---- */
.btn { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: 999px; background: var(--fern); color: #fff; font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--fern-deep); color: #fff; }
.btn--nav { height: 36px; padding: 0 16px; font-size: 15px; }
@media (min-width: 900px) { .btn--nav { height: 44px; padding: 0 22px; font-size: 16px; } }
.btn--ghost { background: none; border: 1.5px solid var(--fern); color: var(--fern); font-size: 15px; padding: 0 20px; }
.btn--ghost:hover { background: var(--fern); color: #fff; }

.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border-radius: 12px; padding: 8px 16px; min-height: 46px; text-decoration: none; }
.badge:hover { background: #000; color: #fff; }
.badge__icon { width: 22px; height: 22px; flex: none; }
.badge__text { display: flex; flex-direction: column; line-height: 1.2; }
.badge__small { font-size: 10px; opacity: .75; }
.badge__big { font-size: 16px; font-weight: 600; }
@media (min-width: 900px) { .badge { padding: 9px 18px; min-height: 50px; } .badge__icon { width: 24px; height: 24px; } .badge__small { font-size: 11px; } .badge__big { font-size: 17px; } }

.qr { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px; flex: none; }
.qr img { width: 100%; height: 100%; }

/* ---- nav — three words, no more ---- */
.nav { border-bottom: 1px solid var(--line-soft); }
.nav__in { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; gap: 12px; }
.nav__links { display: flex; align-items: center; gap: 16px; }
.navlink { font-size: 15px; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.navlink:hover { color: var(--ink); text-decoration: underline; }
.navlink[aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--fern); padding-bottom: 2px; }
@media (min-width: 900px) {
  .nav__in { max-width: 1440px; margin: 0 auto; padding: 18px 64px; }
  .nav__links { gap: 32px; }
  .navlink { font-size: 17px; }
}
@media (max-width: 420px) { .nav .seg { display: none; } }

.seg { display: inline-flex; background: var(--chip); border-radius: 999px; padding: 3px; }
.seg a { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; }
.seg a[aria-current] { background: var(--ink); color: #fff; }
.seg a:hover:not([aria-current]) { color: var(--ink); }
.nav .seg { padding: 2px; } .nav .seg a { padding: 6px 13px; font-size: 13px; }

/* ---- home: hero ---- */
.hero { padding: 40px 0 44px; }
.hero__in { display: flex; flex-direction: column; gap: 22px; }
.hero__text { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.wordmark--hero { font-size: 58px; align-self: flex-start; }
.display { font-family: var(--serif); font-weight: 500; font-size: 38px; line-height: 1.12; letter-spacing: -.005em; text-wrap: pretty; }
html[lang="pl"] .display { font-size: 34px; }
.lede { font-size: 17px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.hero__actions { display: flex; flex-direction: column; gap: 22px; }
.qr-row { display: flex; align-items: center; gap: 14px; }
.qr-row .qr { width: 92px; height: 92px; }
.qr-row span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 14px; }
.phone-wrap__cap { font-size: 14px; color: var(--muted-2); text-align: center; }
@media (min-width: 900px) {
  .hero { padding: 76px 0 92px; }
  .hero__in { flex-direction: row; gap: 72px; align-items: center; }
  .hero__text { flex: 1; gap: 26px; }
  .wordmark--hero { font-size: 84px; }
  .display { font-size: 72px; line-height: 1.06; letter-spacing: -.01em; max-width: 600px; }
  html[lang="pl"] .display { font-size: 64px; max-width: 680px; }
  .lede { font-size: 21px; max-width: 540px; }
  .hero__actions { flex-direction: row; align-items: center; gap: 24px; flex-wrap: wrap; }
  .qr-row .qr { width: 112px; height: 112px; padding: 10px; border-radius: 12px; }
  .qr-row span { font-size: 15px; max-width: 170px; }
  .phone-wrap { flex: none; margin-top: 0; gap: 14px; }
  .phone-wrap__cap { font-size: 15px; }
}

/* ---- phone mockups: pure HTML, scaled with zoom ---- */
.phone { width: 320px; border-radius: 48px; background: var(--n-frame); padding: 10px; box-shadow: 0 40px 90px rgba(31,26,22,.32); color: var(--n-muted); font-size: 14px; line-height: 1.2; text-align: left; }
.phone__screen { border-radius: 39px; background: var(--n-bg); height: 650px; overflow: hidden; display: flex; flex-direction: column; padding: 17px 21px 23px; border: 1px solid rgba(255,255,255,.06); }
.phone__notch { align-self: center; width: 88px; height: 21px; border-radius: 11px; background: var(--n-frame); margin-bottom: 10px; }
.ph-top { display: flex; justify-content: space-between; align-items: center; }
.ph-pill { display: flex; align-items: center; gap: 6px; border: 1px solid var(--n-border); border-radius: 999px; padding: 6px 13px; font-size: 12px; color: var(--ember); font-weight: 600; }
.ph-pill .ring { width: 10px; height: 10px; color: var(--ember); }
.ph-mid { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.ph-ring { position: relative; width: 228px; height: 228px; }
.ph-ring svg { width: 100%; height: 100%; }
.ph-ring__in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ph-count { font-family: var(--serif); font-weight: 500; font-size: 82px; line-height: 1; color: var(--amber); }
.ph-left { font-size: 13px; color: var(--n-dim); margin-top: 5px; }
.ph-hint { font-size: 15px; text-align: center; line-height: 1.5; }
.ph-hint span { font-size: 13px; color: var(--n-dim); }
.ph-undo { height: 48px; border-radius: 999px; background: var(--n-surface); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: var(--ember); flex: none; }
.phone-wrap--hero .phone { zoom: .78; }
/* Real app screenshots (Kidney, Sugar pages) in the same dark frame as the drawn phones. */
.shot { display: block; width: 250px; height: auto; border-radius: 40px; border: 9px solid var(--n-frame); box-shadow: 0 30px 70px rgba(31,26,22,.25); background: var(--paper); }
@media (min-width: 900px) { .phone-wrap--hero .shot { width: 300px; } }
.wordmark--sub i { font-style: italic; color: var(--muted); margin-left: .18em; }
.phone-wrap--night .phone { zoom: .84; background: var(--n-frame-2); box-shadow: 0 30px 70px rgba(0,0,0,.55); }
.phone-wrap--night .phone__notch { background: var(--n-frame-2); }
@media (min-width: 900px) { .phone-wrap--hero .phone { zoom: .9375; } .phone-wrap--night .phone { zoom: 1; box-shadow: 0 44px 100px rgba(0,0,0,.6); } }

.lite { width: 210px; border-radius: 34px; background: var(--n-frame); padding: 8px; box-shadow: 0 20px 50px rgba(31,26,22,.2); text-align: left; color: var(--ink); font-size: 12px; line-height: 1.2; }
.lite__screen { border-radius: 27px; background: var(--paper); height: 428px; overflow: hidden; display: flex; flex-direction: column; padding: 17px 15px; }
.lt-top { display: flex; align-items: center; justify-content: space-between; }
.lt-top .wordmark { font-size: 16px; }
.lt-gear { width: 24px; height: 24px; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(31,26,22,.1); }
.lt-chip { display: flex; align-items: center; gap: 6px; background: var(--ink); color: #fff; border-radius: 999px; padding: 6px 13px 6px 8px; align-self: flex-start; margin-top: 13px; font-weight: 600; }
.lt-avatar { width: 17px; height: 17px; border-radius: 9px; background: #C9B7A0; display: flex; align-items: center; justify-content: center; font-size: 9px; color: var(--ink-2); }
.lt-card { background: #fff; border-radius: 12px; padding: 13px; margin-top: 11px; box-shadow: 0 1px 3px rgba(31,26,22,.08); }
.lt-num { display: flex; align-items: baseline; gap: 5px; }
.lt-num .serif { font-size: 28px; line-height: 1; }
.lt-num span:last-child { font-size: 11px; color: var(--muted-2); }
.lt-status { display: flex; align-items: center; gap: 6px; margin-top: 8px; background: var(--stable-bg); border-radius: 8px; padding: 6px 9px; font-size: 11px; color: var(--stable); font-weight: 600; }
.dot { width: 7px; height: 7px; border-radius: 4px; background: var(--stable); flex: none; }
.lt-spacer { flex: 1; }
.lt-cta { height: 54px; border-radius: 999px; background: var(--fern); color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 5px 14px rgba(46,107,94,.3); font-size: 15px; font-weight: 700; flex: none; }
.lt-cta .ring { width: 11px; height: 11px; color: #fff; }
.lt-cta--sm { height: 46px; font-size: 14px; box-shadow: none; }
.lt-title { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.lt-seg { display: flex; background: var(--seg); border-radius: 999px; padding: 2px; margin-top: 11px; align-self: flex-start; font-size: 10px; }
.lt-seg span { padding: 5px 11px; color: var(--muted); }
.lt-seg .on { border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(31,26,22,.1); font-weight: 600; color: var(--ink); }
.lt-chart { background: #fff; border-radius: 12px; padding: 11px 9px 7px; margin-top: 11px; box-shadow: 0 1px 3px rgba(31,26,22,.08); }
.lt-chart svg { width: 100%; height: auto; }
.lt-statusrow { display: flex; align-items: flex-start; gap: 7px; background: var(--stable-bg); border-radius: 10px; padding: 10px 12px; margin-top: 11px; font-size: 12px; color: var(--stable); line-height: 1.4; }
.lt-statusrow .dot { margin-top: 4px; }
.lt-rep-title { font-size: 14px; font-weight: 600; text-align: center; }
.lt-rep-mid { flex: 1; display: flex; align-items: center; justify-content: center; }
.lt-doc { width: 146px; height: 190px; background: #fff; border-radius: 4px; box-shadow: 0 8px 20px rgba(31,26,22,.16); padding: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 6.5px; line-height: 1.5; color: var(--ink-2); }
.lt-doc__h { border-bottom: 1px solid var(--ink); padding-bottom: 4px; font-family: var(--serif); font-weight: 500; font-size: 9px; color: var(--ink); }
.lt-doc svg { width: 100%; height: auto; }
.lt-doc__rows { font-size: 6px; line-height: 1.8; }
.lt-doc__rows div { display: flex; justify-content: space-between; border-bottom: .5px solid rgba(0,0,0,.07); }
.lt-doc__rows div:last-child { border: 0; }
.lt-doc__foot { font-size: 6px; color: var(--muted); margin-top: auto; }

/* ---- home: why / how ---- */
.section { padding: 10px 0 46px; }
.section--how { padding: 6px 0 48px; }
.section__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.why { display: flex; flex-direction: column; gap: 18px; }
.why__item { display: flex; gap: 14px; }
.why__item .ring { width: 22px; height: 22px; margin-top: 2px; }
.why__item h3 { font-size: 19px; font-weight: 600; margin-bottom: 4px; }
.why__item p { font-size: 16px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.steps { display: flex; flex-direction: column; gap: 24px; }
.step { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.step__text { text-align: center; max-width: 300px; }
.step__text h3 { font-size: 19px; font-weight: 600; }
.step__text h3 em { color: var(--fern); font-style: normal; }
.step__text p { margin-top: 4px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
@media (min-width: 900px) {
  .section { padding: 0 0 84px; }
  .section--how { padding: 0 0 88px; }
  .section__head { gap: 10px; margin-bottom: 28px; }
  .why { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; }
  .why__item { flex-direction: column; gap: 10px; }
  .why__item .ring { width: 24px; height: 24px; margin: 0; }
  .why__item h3 { font-size: 21px; margin: 0; }
  .why__item p { font-size: 17px; line-height: 1.55; }
  .steps { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; justify-items: center; }
  .step { gap: 16px; }
  .step__text h3 { font-size: 21px; }
  .step__text p { font-size: 17px; margin-top: 5px; }
}

/* ---- home: the night shift — full-bleed, mid-scroll, then paper again ---- */
.night { background: var(--n-bg); color: var(--n-muted); padding: 56px 0 60px; }
.night__in { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.night__text { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.ring-halo { width: 96px; height: 96px; }
.night h2 { font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1.15; letter-spacing: -.005em; color: var(--n-cream); text-wrap: pretty; }
.night p { font-size: 16px; line-height: 1.55; max-width: 320px; text-wrap: pretty; }
.night p.dim { color: var(--n-dim); font-size: 15px; }
.night .phone-wrap__cap { color: var(--n-dim); }
@media (min-width: 900px) {
  .night { padding: 92px 0; }
  .night__in { flex-direction: row; gap: 88px; text-align: left; }
  .night__text { flex: 1; min-width: 0; align-items: flex-start; gap: 26px; }
  .ring-halo { width: 128px; height: 128px; }
  .night h2 { font-size: 52px; line-height: 1.1; max-width: 520px; }
  .night p { font-size: 18px; max-width: 460px; }
}

/* ---- promises, vet band, footer ---- */
.promises { padding: 48px 0 44px; }
.promises__in { max-width: 760px; display: flex; flex-direction: column; gap: 6px; }
.promises .kicker { margin-bottom: 10px; }
.promise { border-top: 1px solid var(--line); padding: 16px 0; font-size: 16px; line-height: 1.5; }
.promise:last-child { border-bottom: 1px solid var(--line); }
.promise b { font-size: 18px; font-weight: 600; color: var(--ink); }
.promise span { color: var(--muted); }
@media (min-width: 900px) {
  .promises { padding: 76px 0 68px; }
  .promise { padding: 18px 0; font-size: 17px; }
  .promise b { font-size: 20px; }
}
.band { background: #fff; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 30px 0; }
.band__in { display: flex; flex-direction: column; gap: 8px; }
.band h2 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.band p { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.band a { font-size: 17px; font-weight: 600; align-self: flex-start; white-space: nowrap; }
@media (min-width: 900px) {
  .band { padding: 44px 0; }
  .band__in { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; }
  .band h2 { font-size: 24px; }
  .band p { font-size: 17px; margin-top: 6px; }
  .band a { font-size: 18px; }
}
.footer { padding: 32px 0 40px; }
.footer__in { display: flex; flex-direction: column; gap: 18px; }
.footer__row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer__links { display: flex; align-items: center; gap: 16px; }
.footer__links a { font-size: 15px; }
.footer__note { font-size: 14px; line-height: 1.55; color: var(--muted-2); max-width: 680px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 6px; font-size: 13px; color: var(--muted-2); }
.footer__bottom .wordmark { font-size: 17px; color: var(--muted-2); }
.footer__bottom .ring { color: var(--muted-2); }
@media (min-width: 900px) { .footer { padding: 40px 0 56px; } .footer__links { gap: 24px; } }

/* ---- /vets ---- */
.vhero { padding: 48px 0 40px; }
.vhero__in { display: flex; flex-direction: column; gap: 32px; }
.vhero .kicker { margin-bottom: 14px; }
.vhero h1 { font-family: var(--serif); font-weight: 500; font-size: 36px; line-height: 1.1; letter-spacing: -.01em; text-wrap: pretty; max-width: 760px; }
.two { display: grid; gap: 24px; }
.card { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 1px 3px rgba(31,26,22,.08); display: flex; flex-direction: column; gap: 18px; }
.card--dark { background: var(--ink); color: var(--n-cream); gap: 14px; }
.card--dark .kicker { color: #B8AB9C; }
.card--dark .big { font-family: var(--serif); font-weight: 500; font-size: 44px; line-height: 1; color: #fff; }
.card--dark p { font-size: 17px; line-height: 1.55; text-wrap: pretty; }
.gives { display: flex; gap: 12px; font-size: 17px; line-height: 1.5; color: var(--ink); }
.gives .ring { width: 20px; height: 20px; margin-top: 2px; }
.vband { background: #fff; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 48px 0; }
.vband__in, .vsec__in { display: flex; flex-direction: column; gap: 32px; align-items: center; }
.vsec { padding: 48px 0; }
.report { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 24px 60px rgba(31,26,22,.16); padding: 24px; display: flex; flex-direction: column; gap: 18px; width: 100%; max-width: 470px; }
.report__h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.report__h .serif { font-size: 22px; }
.report__h span:last-child { font-size: 13px; color: var(--muted); white-space: nowrap; }
.report__meta { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.report__meta strong { color: var(--ink); }
.report svg { width: 100%; height: auto; }
.report__rows { font-size: 13.5px; color: var(--ink-2); line-height: 2; }
.report__rows div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(0,0,0,.07); }
.report__rows div:last-child { border: 0; }
.report__foot { font-size: 13px; color: var(--muted); line-height: 1.6; margin-top: 4px; }
.vtext { display: flex; flex-direction: column; gap: 18px; min-width: 0; width: 100%; }
.vtext h2 { font-size: 28px; font-weight: 700; letter-spacing: -.01em; text-wrap: pretty; }
.vtext p { font-size: 17px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.vtext .note { font-size: 15px; color: var(--muted); }
.bullets { display: flex; flex-direction: column; gap: 10px; font-size: 16px; color: var(--ink-2); }
.bullets div { position: relative; padding-left: 18px; }
.bullets div::before { content: '·'; position: absolute; left: 0; color: var(--fern); font-weight: 700; }
.qrcard { display: flex; align-items: center; gap: 20px; background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 1px 3px rgba(31,26,22,.08); flex: none; }
.qrcard .qr { width: 160px; height: 160px; padding: 12px; border-radius: 12px; }
.qrcard > div { display: flex; flex-direction: column; gap: 6px; }
.qrcard .serif { font-size: 26px; }
.qrcard p { font-size: 15px; color: var(--muted); max-width: 180px; line-height: 1.5; }
.minis { display: flex; gap: 24px; flex: none; justify-content: center; flex-wrap: wrap; }
.mini { width: 190px; height: 269px; background: #fff; border: 1px solid rgba(0,0,0,.12); box-shadow: 0 14px 36px rgba(31,26,22,.14); display: flex; flex-direction: column; align-items: center; padding: 24px 18px; gap: 12px; text-decoration: none; color: var(--ink); }
.mini:hover { color: var(--ink); box-shadow: 0 18px 44px rgba(31,26,22,.2); }
.mini .wordmark { font-size: 24px; }
.mini__h { font-family: var(--serif); font-weight: 500; font-size: 13px; line-height: 1.3; text-align: center; }
.mini .qr { width: 92px; height: 92px; padding: 5px; border-radius: 0; }
.mini__url { font-size: 9px; color: var(--muted); }
.mini__slot { width: 100%; border: 1px dashed rgba(0,0,0,.25); border-radius: 4px; flex: 1; display: flex; align-items: center; justify-content: center; font-size: 8px; color: var(--muted-2); }
.pills { display: flex; gap: 10px; flex-wrap: wrap; }
.later { display: grid; gap: 32px; }
.later > div { display: flex; flex-direction: column; gap: 14px; }
.later h2 { font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.later p { font-size: 17px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
@media (min-width: 900px) {
  .vhero { padding: 72px 0 64px; }
  .vhero__in { gap: 40px; }
  .vhero h1 { font-size: 56px; line-height: 1.08; }
  .two { grid-template-columns: 1fr 1fr; gap: 48px; }
  .card { padding: 30px 32px; }
  .vband { padding: 72px 0; }
  .vsec { padding: 72px 0; }
  .vband__in, .vsec__in { flex-direction: row; gap: 72px; }
  .report { flex: none; padding: 36px; }
  .vtext { flex: 1; gap: 20px; }
  .vtext h2 { font-size: 34px; }
  .vtext p { font-size: 18px; }
  .qrcard { padding: 28px 32px; }
  .later { grid-template-columns: 1fr 1fr; gap: 48px; }
  .later > div + div { border-left: 1px solid var(--line); padding-left: 48px; }
}

/* ---- /learn ---- */
.ahead { padding: 48px 0 32px; }
.ahead__in { display: flex; flex-direction: column; gap: 18px; }
.ahead h1 { font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1.1; letter-spacing: -.01em; max-width: 760px; text-wrap: pretty; }
.ahead .meta { font-size: 15px; color: var(--muted); }
.article { padding: 0 0 48px; }
.article__in { display: flex; flex-direction: column; gap: 32px; }
.toc { display: flex; flex-direction: column; gap: 12px; border-left: 1px solid var(--line); padding-left: 24px; }
.toc a { font-size: 16px; }
.prose { max-width: 680px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.prose p { font-size: 19px; line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.prose p.small { font-size: 16px; line-height: 1.55; color: var(--muted); }
.prose h2 { margin-top: 14px; font-size: 28px; font-weight: 700; letter-spacing: -.01em; }
.checks { display: flex; flex-direction: column; gap: 10px; }
.check { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 12px; padding: 15px 18px; box-shadow: 0 1px 3px rgba(31,26,22,.08); font-size: 17px; }
.check i { width: 26px; height: 26px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; font-style: normal; flex: none; }
.check--yes i { background: var(--stable-bg); color: var(--stable); }
.check--no i { background: var(--watch-bg); color: var(--watch); }
.figure { background: #fff; border-radius: 16px; padding: 22px 26px; box-shadow: 0 1px 3px rgba(31,26,22,.08); display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.figure svg { width: 200px; height: auto; flex: none; }
.figure p { font-size: 17px; line-height: 1.55; color: var(--ink-2); flex: 1; min-width: 200px; }
.thirty { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.thirty__circle { flex: none; width: 170px; height: 170px; border-radius: 50%; background: #fff; box-shadow: 0 6px 20px rgba(31,26,22,.1); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; text-align: center; }
.thirty__circle .serif { font-size: 64px; line-height: 1; color: var(--fern); }
.thirty__circle small { font-size: 14px; color: var(--muted); line-height: 1.3; }
.thirty__circle small:last-child { font-size: 13px; }
.thirty p { flex: 1; min-width: 240px; }
.calls { display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 1.55; }
.calls div { position: relative; padding-left: 20px; }
.calls div::before { content: '·'; position: absolute; left: 0; color: var(--fern); font-weight: 700; }
.callout { position: relative; background: var(--vet-bg); border-radius: 12px; padding: 15px 18px 15px 40px; max-width: 560px; font-size: 16px; line-height: 1.5; color: var(--vet); }
.callout::before { content: ''; position: absolute; left: 18px; top: 22px; width: 10px; height: 10px; border-radius: 5px; background: var(--vet); }
.download { background: #fff; border-radius: 20px; padding: 24px; box-shadow: 0 1px 3px rgba(31,26,22,.08); display: flex; align-items: center; gap: 28px; margin-top: 16px; flex-wrap: wrap; }
.download__text { flex: 1; display: flex; flex-direction: column; gap: 12px; min-width: 220px; }
.download h2 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.download p { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.download .qr { width: 104px; height: 104px; padding: 9px; }
.guides { display: grid; gap: 16px; }
.guide { background: #fff; border-radius: 12px; padding: 18px; box-shadow: 0 1px 3px rgba(31,26,22,.08); display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; }
.guide:hover { color: inherit; box-shadow: 0 4px 14px rgba(31,26,22,.12); }
.guide .kicker { font-size: 12px; }
.guide h2 { font-size: 21px; font-weight: 600; color: var(--ink); text-wrap: pretty; }
.guide span { font-size: 14px; color: var(--muted-2); }
@media (min-width: 900px) {
  .ahead { padding: 72px 0 40px; }
  .ahead h1 { font-size: 52px; }
  .article { padding: 0 0 72px; }
  .article__in { flex-direction: row; gap: 72px; align-items: flex-start; }
  .toc { width: 240px; flex: none; position: sticky; top: 24px; }
  .download { padding: 28px 32px; }
}

/* ---- 404 ---- */
.lost { padding: 84px 0 96px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.lost .ring { width: 84px; height: 84px; }
.lost .ring circle { stroke-width: 2.4; }
.lost h1 { font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.15; letter-spacing: -.005em; max-width: 560px; text-wrap: pretty; }
.lost p { font-size: 18px; line-height: 1.5; color: var(--ink-2); max-width: 420px; }
.lost a { font-size: 17px; font-weight: 600; }
.lost small { font-size: 13px; color: var(--muted-2); margin-top: 12px; }
@media (min-width: 900px) { .lost h1 { font-size: 44px; } }

/* thinner rings where the design uses them as list glyphs */
.why__item .ring circle, .gives .ring circle { stroke-width: 2.8; }

/* ---- family site (2026-10 redesign): hub, app pages, FAQ, family links ---- */
.navlink--app { display: none; }
@media (min-width: 1100px) { .navlink--app { display: initial; } }
.crumbs { font-size: 15px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.free { font-size: 15px; color: var(--muted); }
.kicker--fern { color: var(--stable); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.section__lede { font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 640px; }
.section__head--row { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.section__head--row a { font-weight: 600; }
.shot--night { border-color: var(--n-frame-2); }

.fan { display: flex; justify-content: center; align-items: flex-end; padding-top: 12px; }
.fan .shot { width: 150px; flex: none; }
.fan .shot:nth-child(1) { transform: translateX(22px) rotate(-4deg); }
.fan .shot:nth-child(2) { position: relative; z-index: 2; width: 170px; margin-bottom: 28px; }
.fan .shot:nth-child(3) { transform: translateX(-22px) rotate(4deg); }
@media (min-width: 900px) {
  .fan { flex: none; }
  .fan .shot { width: 180px; border-radius: 32px; }
  .fan .shot:nth-child(2) { width: 204px; margin-bottom: 36px; }
  .display--hub { font-size: 58px; max-width: 680px; }
  html[lang="pl"] .display--hub { font-size: 54px; }
}

.apps { display: grid; gap: 20px; }
@media (min-width: 900px) { .apps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.appcard { background: var(--card); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 3px rgba(31,26,22,.08); }
.appcard__img { background: var(--paper-2); height: 240px; overflow: hidden; display: flex; justify-content: center; padding-top: 28px; }
.appcard__img--night { background: var(--n-bg); }
.appcard__img img { width: 180px; height: auto; border-radius: 30px; border: 6px solid var(--n-frame); align-self: flex-start; }
.appcard__body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.appcard__brand { font-size: 26px; }
.appcard__cond { font-size: 15px; color: var(--muted); }
.appcard h3 { font-size: 21px; font-weight: 600; line-height: 1.3; }
.appcard p:not([class]) { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.appcard a { margin-top: auto; padding-top: 8px; font-weight: 600; }

.pledge { background: var(--ink); color: var(--n-cream); padding: 56px 0; }
.pledge h2 { font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.15; margin-bottom: 32px; max-width: 640px; }
.pledge__grid { display: grid; gap: 28px; }
.pledge__grid > div { border-top: 1px solid #4A423B; padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.pledge h3 { font-size: 19px; font-weight: 600; color: #fff; }
.pledge p { font-size: 16px; line-height: 1.55; color: #D9CDBF; }
@media (min-width: 900px) {
  .pledge { padding: 88px 0; margin-bottom: 84px; }
  .pledge h2 { font-size: 46px; margin-bottom: 48px; }
  .pledge__grid { grid-template-columns: repeat(4, 1fr); gap: 32px; }
}
.guide--big { padding: 28px; gap: 10px; }
.guide--big h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.2; color: var(--ink); }
.guide--big > span:last-child { font-size: 16px; color: var(--ink-2); }

.hook { background: var(--ink); color: var(--n-cream); padding: 52px 0; margin-bottom: 52px; }
.hook__in { display: flex; flex-direction: column; gap: 18px; }
.hook h2 { font-family: var(--serif); font-weight: 500; font-size: 44px; line-height: 1.02; letter-spacing: -.02em; color: #fff; }
.hook p { font-size: 17px; line-height: 1.55; color: #D9CDBF; max-width: 560px; }
@media (min-width: 900px) {
  .hook { padding: 96px 0; margin-bottom: 96px; }
  .hook__in { flex-direction: row; align-items: center; gap: 72px; }
  .hook h2 { flex: 1; font-size: 88px; }
  .hook p { flex: 1; font-size: 21px; }
}
.features__h { margin-bottom: 32px; max-width: 760px; }
.feature { display: flex; flex-direction: column; gap: 22px; padding-bottom: 48px; }
.feature__img { background: var(--paper-2); border-radius: 28px; height: 380px; overflow: hidden; display: flex; justify-content: center; padding-top: 36px; }
.feature__img .shot { width: 220px; align-self: flex-start; box-shadow: none; }
.feature h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.15; margin-bottom: 10px; }
.feature p { font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 520px; }
@media (min-width: 900px) {
  .features__h { margin-bottom: 56px; }
  .feature { flex-direction: row; align-items: center; gap: 72px; padding-bottom: 88px; }
  .feature:nth-of-type(odd) { flex-direction: row-reverse; }
  .feature__img { flex: 1; height: 460px; padding-top: 48px; }
  .feature__img .shot { width: 260px; }
  .feature__text { flex: 1; }
  .feature h3 { font-size: 36px; }
  .feature p { font-size: 19px; }
}

.faq__in > * { max-width: 860px; }
.faq h2 { margin-bottom: 20px; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 18px; font-weight: 600; line-height: 1.4; }
.faq details p { margin-top: 10px; font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 720px; }
@media (min-width: 900px) { .faq summary { font-size: 20px; } }

.family__h { margin-bottom: 20px; }
.family { display: grid; gap: 14px; }
@media (min-width: 900px) { .family { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.family__item { background: var(--card); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); box-shadow: 0 1px 3px rgba(31,26,22,.08); }
.family__item:hover { color: var(--ink); box-shadow: 0 4px 14px rgba(31,26,22,.12); }
.family__item .wordmark { font-size: 24px; }
.family__item > span:last-child { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.family__item[aria-current] { box-shadow: inset 0 0 0 2px var(--fern); }
