/* Putovka — one stylesheet, no framework, no web fonts.
   The type is the system font: SF on Apple's platforms, the same family the app
   is set in, and it costs not a single extra request.

   The structure is taken from SilentBox-web (and through it from NotaBene-web),
   because the sites are meant to belong together. The colors are from the app
   icon (`design/icon/app-icon.svg`): its green as the accent, the odometer's
   near-black housing for the hero, the amber of the rolling digit sparingly.
   The variable names (`--blue`, `--navy-*`) are kept from the sites this one
   comes from, so a rule copied between them keeps working. */

:root {
  --navy-900: #0a1f19;
  --navy-800: #10372c;
  --blue:      #12735c;
  --blue-600:  #0e5a47;
  --blue-50:   #e3f2ed;
  --amber:     #ffb21f;

  --ink:   #14201c;
  --ink-2: #536660;
  --ink-3: #7a8b86;

  --bg:   #ffffff;
  --bg-2: #eaf0ee;
  --card: #ffffff;
  --line: rgba(0, 0, 0, .09);

  --shadow-card: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  --shadow-hero: 0 24px 70px rgba(4, 20, 15, .32);

  --radius:    18px;
  --radius-lg: 26px;

  --wrap: 1120px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
          "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --blue:    #3fbf98;
    --blue-600: #2fa883;
    --ink:   #e2ebe8;
    --ink-2: #93a6a0;
    --ink-3: #74867f;
    --bg:    #0a1512;
    --bg-2:  #111e1a;
    --card:  #172622;
    --line:  rgba(255, 255, 255, .12);
    --blue-50: rgba(63, 191, 152, .13);
    --shadow-card: 0 1px 2px rgba(0,0,0,.5), 0 8px 24px rgba(0,0,0,.35);
  }
  /* The light green on a dark page needs dark text on its buttons. */
  .btn--primary { color: #06140f; }
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ── Type ─────────────────────────────────────────────────────────────── */

h1, h2, h3 { margin: 0; letter-spacing: -.022em; line-height: 1.1; font-weight: 700; }
h1 { font-size: clamp(2.35rem, 5.6vw, 4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.65rem); letter-spacing: -.03em; }
h3 { font-size: 1.16rem; letter-spacing: -.015em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.06rem, 1.8vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 44ch;
}

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tint { background: var(--bg-2); }

.section__head { max-width: 60ch; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head .lead { margin-top: 16px; max-width: 56ch; }

.eyebrow {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

/* ── Buttons ──────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit; font-weight: 600; font-size: .98rem;
  cursor: pointer;
  text-decoration: none !important;
  transition: background-color .18s ease, border-color .18s ease,
              transform .18s ease, color .18s ease;
}
.btn:active { transform: scale(.975); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-600); }

.btn--ghost {
  background: transparent; color: #fff;
  border-color: rgba(255, 255, 255, .38);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255,255,255,.6); }

.btn--quiet {
  background: var(--bg-2); color: var(--ink);
  border-color: var(--line);
}
.btn--quiet:hover { background: var(--card); border-color: var(--ink-3); }

.btn--sm { min-height: 36px; padding: 0 15px; font-size: .9rem; }

/* ── Navigation ───────────────────────────────────────────────────────── */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.is-stuck { border-bottom-color: var(--line); }

.nav__inner {
  display: flex; align-items: center; gap: 20px;
  min-height: 58px;
}

.nav__brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: -.02em; font-size: 1.05rem;
  color: var(--ink); text-decoration: none !important;
  margin-right: auto;
}
.nav__brand img { width: 28px; height: 28px; border-radius: 7px; }

.nav__links { display: flex; gap: 26px; }
.nav__links a {
  color: var(--ink-2); font-size: .93rem; font-weight: 500;
  text-decoration: none;
}
.nav__links a:hover { color: var(--ink); }

.lang {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 999px;
  overflow: hidden; font-size: .82rem; font-weight: 600;
}
.lang a, .lang span { padding: 5px 11px; color: var(--ink-3); text-decoration: none !important; }
.lang a:hover { color: var(--ink); background: var(--bg-2); }
.lang [aria-current] { background: var(--blue); color: #fff; }

/* The Menu button — only on a narrow display, where the links do not fit. */
.nav__menu {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-right: -8px;
  border: 0; border-radius: 10px; background: transparent;
  color: var(--ink); cursor: pointer;
}
.nav__menu svg { width: 24px; height: 24px; }
.nav__menu:hover { background: var(--bg-2); }

@media (max-width: 900px) {
  .nav__menu { display: inline-flex; }
  .nav__links { display: none; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    padding: 6px 20px 14px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav__links a { padding: 12px 0; font-size: 1.05rem; border-top: 1px solid var(--line); }
  .nav.is-open .nav__links a:first-child { border-top: 0; }
}
@media (max-width: 520px) { .nav__cta { display: none; } }

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  background: linear-gradient(170deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #fff;
  padding-top: clamp(64px, 9vw, 104px);
  padding-bottom: clamp(150px, 17vw, 220px);   /* room for the overlapping shot */
  overflow: hidden;
}
/* The onboarding's green (Jan, 4 October 2026: the site should have its spark): the icon's
   green from above into the odometer's near-black, so the phones below stand on dark. The
   instrument-cluster photo of 3 October 2026 left with it. */
.hero {
  background: linear-gradient(180deg, #23977a 0%, #137a60 34%, #0e5a47 62%, #0a1f19 100%);
}
@media (max-width: 700px) { .hero { text-align: left; } }
.hero > .wrap { position: relative; z-index: 1; }

.hero h1 { margin-bottom: 20px; }
.hero .lead { color: rgba(255, 255, 255, .8); font-size: clamp(1.1rem, 2vw, 1.35rem); }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  font-size: .85rem; font-weight: 600;
  color: rgba(255, 255, 255, .92);
  margin-bottom: 26px;
}
.badge__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80; flex: none;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, .22);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero__note {
  margin-top: 22px;
  font-size: .87rem;
  color: rgba(255, 255, 255, .58);
}

/* The render straddles the navy and the white below it, Apple-fashion. */
.shot { margin-top: clamp(-130px, -13vw, -180px); position: relative; z-index: 2; }
.shot img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hero);
}

/* ── Platform strip ───────────────────────────────────────────────────── */

.platforms {
  display: grid; gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 940px) { .platforms { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .platforms { grid-template-columns: 1fr; } }

.platform {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
}
.platform svg { width: 30px; height: 30px; color: var(--blue); margin-bottom: 16px; }
.platform h3 { margin-bottom: 8px; }
.platform p { color: var(--ink-2); font-size: .96rem; }

/* ── Feature grid ─────────────────────────────────────────────────────── */

.features {
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 940px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(0,0,0,.05), 0 14px 34px rgba(0,0,0,.09); }
@media (prefers-reduced-motion: reduce) { .feature:hover { transform: none; } }

.feature__icon {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue);
  margin-bottom: 16px;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: 7px; }
.feature p { color: var(--ink-2); font-size: .95rem; }


/* ── Card with a preview ──────────────────────────────────────────────── */
/* The screenshot sits at the top across the card's full width, the text below it.
   A card with an image therefore has no top padding — or a frame would remain around the shot. */
.feature--card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.feature--card .feature__icon { margin: 26px 24px 16px; }
.feature--card h3 { padding: 0 24px; }
.feature--card p { padding: 0 24px 26px; }
.feature--card .feature__icon + h3 { padding-top: 0; }
.card__shot { background: #0e1213; aspect-ratio: 4 / 3; overflow: hidden; }
.card__shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature--card .card__shot + h3 { padding-top: 20px; }

/* ── Steps ────────────────────────────────────────────────────────────── */

.steps { counter-reset: step; display: grid; gap: 4px; }

.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 4px 22px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }

.step__no {
  counter-increment: step;
  font-size: 2rem; font-weight: 700; line-height: 1;
  color: var(--blue);
  letter-spacing: -.03em;
}
.step__no::before { content: counter(step); }

.step h3 { margin-bottom: 7px; }
.step p { color: var(--ink-2); font-size: .97rem; max-width: 62ch; }
.step .btn { margin-top: 14px; }

@media (max-width: 560px) {
  .step { grid-template-columns: 1fr; gap: 10px; }
  .step__no { font-size: 1.5rem; }
}

/* ── Two-up cards (feedback) ──────────────────────────────────────────── */

.duo { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
}
.card__icon {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue);
  margin-bottom: 16px;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: .96rem; }
.card .btn { margin-top: 18px; }

/* ── Lists ────────────────────────────────────────────────────────────── */

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.checklist li {
  display: grid; grid-template-columns: 20px 1fr; gap: 12px;
  align-items: start;
  color: var(--ink-2); font-size: .96rem;
}
.checklist svg { width: 20px; height: 20px; color: var(--blue); margin-top: 2px; }
.checklist b { color: var(--ink); font-weight: 600; }

/* ── Callout ──────────────────────────────────────────────────────────── */

.callout {
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 14px;
  background: var(--blue-50);
  padding: 22px 24px;
  margin-top: 36px;
}
.callout h3 { font-size: 1.02rem; margin-bottom: 6px; }
.callout p { color: var(--ink-2); font-size: .94rem; }

/* ── Pending work ─────────────────────────────────────────────────────── */

.pending { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.pending li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr auto; gap: 8px 20px;
  align-items: baseline;
}
.pending li:last-child { border-bottom: 1px solid var(--line); }
.pending b { font-weight: 600; }
.pending span { color: var(--ink-3); font-size: .88rem; }
.pending p { color: var(--ink-2); font-size: .93rem; grid-column: 1 / -1; margin: 0; }

/* ── Closing CTA ──────────────────────────────────────────────────────── */

.cta {
  background: linear-gradient(170deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(48px, 7vw, 76px) clamp(28px, 5vw, 60px);
  text-align: center;
}
.cta h2 { margin-bottom: 16px; }
.cta p { color: rgba(255, 255, 255, .76); max-width: 48ch; margin-inline: auto; }
.cta .btn { margin-top: 30px; }

/* ── Footer ───────────────────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 56px;
  color: var(--ink-3);
  font-size: .88rem;
}
.footer__inner { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
.footer__inner p { margin: 0; }
.footer a { color: var(--ink-2); }
.footer .sep { margin-left: auto; }

/* ── Reveal on scroll (only when JS is running) ───────────────────────── */

.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .3, 1);
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* ── Icons that sit inline in running text ────────────────────────────── */

.callout h3 { display: flex; align-items: center; gap: 9px; }
.callout h3 svg { width: 19px; height: 19px; flex: none; color: var(--blue); }

.footer__inner p { display: inline-flex; align-items: center; gap: 7px; }
.footer svg { width: 15px; height: 15px; flex: none; }

.callout .checklist { margin-top: 14px; }

code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: .88em;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  padding: .12em .38em;
  border-radius: 5px;
}

/* A warning is not a note: the backup caution gets amber, so it is not read as
   one more blue aside. */
.callout--warn {
  border-left-color: #e8940c;
  background: color-mix(in srgb, #e8940c 9%, transparent);
}
.callout--warn h3 svg { color: #b8730a; }
@media (prefers-color-scheme: dark) {
  .callout--warn { background: color-mix(in srgb, #e8940c 13%, transparent); }
  .callout--warn h3 svg { color: #f0a93a; }
}

/* ── Prose pages (privacy) ────────────────────────────────────────────── */

.prose { max-width: 68ch; }
.prose h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 14px; }
.prose h2 { font-size: 1.35rem; margin: 44px 0 12px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; display: grid; gap: 8px; margin: 0 0 1em; }
.prose .updated { color: var(--ink-3); font-size: .9rem; margin-bottom: 36px; }
.prose .back { margin-top: 48px; }

/* ── Comparison ───────────────────────────────────────────────────────── */

.jump {
  margin: -18px 0 40px;
  font-size: .93rem;
  color: var(--ink-3);
  line-height: 2;
}
.jump a { color: var(--ink-2); }

.legend { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.legend b { color: var(--ink); margin-right: 4px; }

/* One tick, one dash, one cross — sized and coloured the same, so a column reads as a
   pattern rather than as a row of different shapes. */
.mark {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  flex: none;
}
.mark svg { width: 15px; height: 15px; stroke-width: 2.4; }
.mark--yes  { background: color-mix(in srgb, #1a9e52 15%, transparent); color: #168244; }
.mark--part { background: color-mix(in srgb, #e8940c 18%, transparent); color: #a9690a; }
.mark--no   { background: color-mix(in srgb, #d63a35 13%, transparent); color: #bd3530; }
@media (prefers-color-scheme: dark) {
  .mark--yes  { background: rgba(38, 190, 105, .17); color: #4ad584; }
  .mark--part { background: rgba(232, 148, 12, .20); color: #f0a93a; }
  .mark--no   { background: rgba(230, 80, 74, .17); color: #ff7b74; }
}

.versus__list { display: grid; gap: clamp(48px, 7vw, 84px); }

.versus h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  letter-spacing: -.025em;
  margin-bottom: 8px;
  scroll-margin-top: 80px;
}
.versus h3 span { color: var(--ink-3); font-weight: 500; margin: 0 6px; }
.versus { scroll-margin-top: 76px; }
.versus__lead { color: var(--ink-2); font-size: 1.02rem; margin-bottom: 22px; max-width: 62ch; }
.versus p { max-width: 66ch; color: var(--ink-2); font-size: .97rem; }

.versus__edge {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px;
  align-items: start;
  margin-top: 18px; padding: 16px 18px;
  border-radius: 14px;
  background: var(--blue-50);
  color: var(--ink) !important;
  font-size: .96rem;
}
.versus__edge svg { width: 22px; height: 22px; color: var(--blue); margin-top: 1px; }

/* A table is the one thing on this page allowed to scroll sideways — never the page. */

.matrix { border-collapse: collapse; width: 100%; min-width: 460px; font-size: .95rem; }
.matrix th, .matrix td { padding: 13px 18px; text-align: left; }
.matrix thead th {
  font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.matrix thead th:nth-child(2) { color: var(--blue); }
.matrix thead th a { color: inherit; }
.matrix tbody th { font-weight: 500; color: var(--ink-2); }
.matrix tbody tr + tr th, .matrix tbody tr + tr td { border-top: 1px solid var(--line); }
.matrix td { width: 96px; text-align: center; }
.matrix tbody tr:hover th { color: var(--ink); }

/* ── News ─────────────────────────────────────────────────────────────── */

.entries { display: grid; gap: 0; margin-top: 40px; }

.entry {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 8px 28px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.entry:last-child { border-bottom: 1px solid var(--line); }

.entry__meta { display: flex; flex-direction: column; gap: 7px; }
.entry__meta time { font-weight: 600; font-size: .96rem; }
.entry__build {
  align-self: start;
  font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  color: var(--blue);
  background: var(--blue-50);
  padding: 3px 9px; border-radius: 999px;
}
.entry h3 { margin-bottom: 14px; }
.entry .checklist li { align-items: start; }

@media (max-width: 720px) {
  .entry { grid-template-columns: 1fr; gap: 14px; }
  .entry__meta { flex-direction: row; align-items: center; gap: 12px; }
}

/* Rows showing the interface. A large image and two sentences next to it, sides alternating —
   text by itself does not say what the app looks like, and that is what people ask about. */
.strips { display: grid; gap: 8px; margin-bottom: 56px; }

.strip {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  padding: clamp(24px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--line);
}
.strip:last-child { border-bottom: 0; }
/* Even rows have the image on the right. The text is moved, not the image: in the source the
   image stays first, so a screen reader and a phone get the same order image → caption everywhere. */
.strip:nth-child(even) .strip__txt { order: -1; }

.strip__shot {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  background: var(--bg-2);
}
.strip__shot img { display: block; width: 100%; height: auto; }

.strip__txt h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); margin-bottom: 10px; }
.strip__txt p { color: var(--ink-2); }

.strips__more {
  font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 20px;
}

@media (max-width: 760px) {
  .strip { grid-template-columns: 1fr; gap: 20px; }
  .strip:nth-child(even) .strip__txt { order: 0; }
}

/* ── Contact form ─────────────────────────────────────────────────────────
   Netlify Forms, so the address is nowhere in the markup for a harvester to
   find. The honeypot is hidden here rather than with `type="hidden"`: a bot
   fills what it can see in the DOM, and a human never sees this at all. */

.form {
  max-width: 640px;
  margin: 34px auto 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(22px, 4vw, 34px);
  display: grid;
  gap: 18px;
}

.form label {
  display: grid;
  gap: 7px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-2);
}

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

.form input,
.form textarea {
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color .16s ease, box-shadow .16s ease;
}

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

.form input::placeholder,
.form textarea::placeholder { color: var(--ink-3); }

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(40, 114, 250, .18);
}

.form .btn { justify-self: center; }

.form__note {
  font-size: .82rem;
  color: var(--ink-3);
  margin: -4px auto 0;
  max-width: 46ch;
  text-align: center;
}

.form__bot { position: absolute; left: -9999px; }

/* ── Hero shot ────────────────────────────────────────────────────────────
   The device group overlaps from the dark hero band into the light one below —
   `hero` has had `padding-bottom` reserved for it from the start, there just
   was nothing there yet. The dimensions are in the `<img>`, so the image holds
   its place before it downloads and the page below it does not jump. */
.shot { margin-top: clamp(-120px, -12vw, -170px); position: relative; z-index: 2; }
.shot img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hero);
}

/* ── Rows showing the interface ───────────────────────────────────────────
   A large screenshot and two sentences next to it, sides alternating. Text by
   itself does not say what the app looks like, and that is what people ask
   about a vault first. */
.strips { display: grid; gap: 8px; }

.strip {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  padding: clamp(24px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--line);
}
.strip:last-child { border-bottom: 0; }
/* Even rows have the screenshot on the right. The **text** is moved, not the
   screenshot: in the source the screenshot stays first, so a screen reader and
   a phone get the same order screenshot → caption everywhere. */
.strip:nth-child(even) .strip__txt { order: -1; }

.strip__shot {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  background: var(--bg-2);
}
.strip__shot img { display: block; width: 100%; height: auto; }

.strip__txt h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); margin-bottom: 10px; }
.strip__txt p { color: var(--ink-2); }

@media (max-width: 760px) {
  .strip { grid-template-columns: 1fr; gap: 20px; }
  .strip:nth-child(even) .strip__txt { order: 0; }
}

/* Features as rows: the device on one side, the text on the other.
   Sides alternate; on a narrow screen they stack, and the device goes
   on top, because a picture sells before a paragraph does. */
.rows { display: flex; flex-direction: column; }
.row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: 64px 0; border-top: 1px solid var(--line);
}
.row:first-child { border-top: 0; }
.row--right .row__art { order: 2; }
.row__art { display: flex; justify-content: center; }
.row__art img { width: min(100%, 320px); height: auto; }
.row__art--icon svg { width: 72px; height: 72px; }
.row__text h3 { margin-bottom: 12px; }
.row__text p { color: var(--ink-2); font-size: 1.02rem; max-width: 46ch; }

@media (max-width: 760px) {
  .row { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .row--right .row__art { order: 0; }
  .row__art img { width: min(100%, 260px); }
  .row__text p { max-width: none; }
}

/* ── Putovka additions ────────────────────────────────────────────────── */

/* A button whose target is not known yet (the TestFlight code): drawn, not a link. */
.btn--wait { opacity: .55; cursor: default; }
.btn--wait:active { transform: none; }

.hero .eyebrow { color: var(--amber); }
.hero .btn--primary { background: #23977a; color: #fff; }
.hero .btn--primary:hover { background: #1c8269; }
.hero .legend { color: rgba(255, 255, 255, .62); font-size: .9rem; }
.hero .lead { max-width: 52ch; }

/* A screenshot in Apple's iPhone 17 bezel — the bezel is in the image
   (Putovka/tools/web-shots.sh), transparent around the device; the shadow
   follows its outline. */
.phone img { width: 100%; height: auto; filter: drop-shadow(0 18px 34px rgba(4, 20, 15, .22)); }

/* The hero's three screens. The middle one stands forward. */
.shot .trio {
  display: grid; grid-template-columns: repeat(3, minmax(0, 290px));
  justify-content: center; align-items: end; gap: clamp(16px, 4vw, 56px);
}
.shot .phone img { filter: drop-shadow(0 28px 50px rgba(0, 0, 0, .45)); }
.shot .trio .phone:nth-child(2) { transform: translateY(-28px); }
.shot img { border-radius: 0; box-shadow: none; }
@media (max-width: 700px) {
  .shot .trio { grid-template-columns: minmax(0, 260px); }
  .shot .trio .phone:not(:first-child) { display: none; }
}

.row__art .phone { width: min(100%, 300px); }
/* The Watch with its band is taller than wide; at the iPhone's width it would tower. */
.row__art .phone--watch { width: min(100%, 250px); }
/* The car's screen: landscape, as wide as the text column allows. */
.row__art .phone--car { width: min(100%, 480px); }
.row__art .phone--car img { width: 100%; }
.row__art--icon { color: var(--blue); }
@media (max-width: 760px) { .row__art .phone { width: min(100%, 250px); } }
@media (max-width: 760px) { .row__art .phone--car { width: 100%; } }

.footer p { margin: 0; }

/* ── The page after the onboarding (4 October 2026) ─────────────────── */

.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); max-width: 13ch; }
.hero .lead { color: rgba(255, 255, 255, .88); }
.hero .eyebrow { color: #ffd27a; }
.hero .legend { color: rgba(255, 255, 255, .72); }

/* The odometer on drums, as the onboarding opens: each drum a strip 0–9 and 0 again, moved by
   --d (pagegen.py `drums`, site.js counts). Leading zeros are dimmed, as in the app. */
.drums { --h: 64px; display: inline-flex; gap: 6px; padding: 9px; margin-bottom: 30px;
  background: #0a1f19; border-radius: 18px; box-shadow: 0 14px 34px rgba(0, 0, 0, .35); }
.drum { width: 46px; height: var(--h); border-radius: 10px; overflow: hidden; display: block;
  font: 800 2.3rem/1 var(--font); color: #0a1f19;
  background: linear-gradient(180deg, #c9c4b6 0%, #f5f2ea 22%, #f5f2ea 78%, #c9c4b6 100%);
  transition: background .5s ease, color .5s ease; }
.drum--lead { color: #8d968f; background: linear-gradient(180deg, #4a524d 0%, #6b736e 22%, #6b736e 78%, #4a524d 100%); }
.drum--last { color: #0a1f19; background: linear-gradient(180deg, #d99512 0%, #ffb21f 22%, #ffb21f 78%, #d99512 100%); }
.drum__roll { display: flex; flex-direction: column;
  transform: translateY(calc(var(--d) * var(--h) * -1));
  transition: transform .55s cubic-bezier(.6, 0, .3, 1); }
.drum__roll.is-snap { transition: none; }
.drum__roll span { height: var(--h); display: grid; place-items: center; }
@media (prefers-reduced-motion: reduce) { .drum__roll { transition: none; } }
@media (max-width: 520px) { .drums { --h: 54px; } .drum { width: 38px; font-size: 1.9rem; } }

/* The amber button of the onboarding: dark text on amber. */
.btn--amber { background: var(--amber); color: #0a1f19; }
.btn--amber:hover { background: #ffc14d; }

/* Four steps with their phones, the presentation's slide. */
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.step4 { display: flex; flex-direction: column; align-items: center; text-align: center; }
.step4 .phone { width: min(100%, 220px); margin-bottom: 18px; }
.step4__when { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.step4 h3 { margin: 6px 0 6px; font-size: 1.2rem; }
.step4 p { color: var(--ink-2); font-size: .96rem; max-width: 30ch; }
@media (max-width: 900px) { .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 22px; } }
@media (max-width: 520px) { .step4 .phone { width: min(100%, 170px); } }

.row__text h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.row__text p { font-size: 1.08rem; }

/* Before and after, side by side. */
.compare { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.compare__head, .compare li { display: grid; grid-template-columns: 1fr 1fr; }
.compare__head span { padding: 16px 24px; font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.compare__head .was { background: var(--bg-2); color: var(--ink-3); }
.compare__head .now { background: var(--blue); color: #fff; }
.compare ul { list-style: none; margin: 0; padding: 0; }
.compare li span { padding: 18px 24px; font-size: 1.04rem; line-height: 1.45; border-top: 1px solid var(--line); }
.compare li .was { color: var(--ink-3); background: var(--bg-2); text-decoration: line-through; text-decoration-color: rgba(196, 66, 43, .5); }
.compare li .now { color: var(--ink); font-weight: 600; background: var(--card); }
@media (max-width: 640px) { .compare li span, .compare__head span { padding: 14px 14px; font-size: .95rem; } }

/* The privacy band, in the onboarding's green. */
.band { background: linear-gradient(160deg, #137a60 0%, #0e5a47 55%, #0a1f19 100%); color: #fff; }
.band__inner { display: grid; grid-template-columns: 120px 1fr; gap: 36px; align-items: center; max-width: 900px; }
.band__icon { width: 120px; height: 120px; border-radius: 50%; background: var(--amber); color: #0a1f19;
  display: grid; place-items: center; box-shadow: 0 0 0 14px rgba(255, 178, 31, .22); }
.band__icon svg { width: 54px; height: 54px; }
.band .eyebrow { color: #ffd27a; }
.band h2 { color: #fff; }
.band .lead { color: rgba(255, 255, 255, .86); margin-top: 14px; }
.band .legend a { color: #ffd27a; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 6px; }
.chip { padding: 6px 13px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); font-size: .9rem; font-weight: 600; }
@media (max-width: 640px) { .band__inner { grid-template-columns: 1fr; } .band__icon { width: 84px; height: 84px; } .band__icon svg { width: 38px; height: 38px; } }

/* What it cannot do yet: one quiet box, not a section of its own. */
.section--tight { padding: clamp(40px, 6vw, 64px) 0 0; }
.limits { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; background: var(--card); }
.limits h3 { display: flex; align-items: center; gap: 9px; font-size: 1.05rem; margin-bottom: 10px; }
.limits h3 svg { width: 19px; height: 19px; color: var(--ink-3); }
.limits ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--ink-2); font-size: .97rem;
  grid-template-columns: 1fr 1fr; column-gap: 36px; }
@media (max-width: 760px) { .limits ul { grid-template-columns: 1fr; } }

/* Getting it: steps, buttons, the QR for whoever reads on a computer. */
.get__inner { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.get .section__head { margin-bottom: 26px; }
ol.get__steps { list-style: none; counter-reset: g; margin: 0; padding: 0; display: grid; gap: 14px; }
ol.get__steps li { counter-increment: g; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; font-size: 1.08rem; }
ol.get__steps li::before { content: counter(g); width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-weight: 700; }
.get .hero__actions .btn--ghost { color: var(--ink); border-color: var(--line); }
.qr { background: #fff; border-radius: 22px; padding: 16px 16px 12px; text-align: center; box-shadow: var(--shadow-card); border: 1px solid var(--line); }
.qr img { width: 180px; height: 180px; image-rendering: pixelated; }
.qr span { display: block; margin-top: 8px; font-size: .82rem; font-weight: 700; color: #12735c; }
@media (max-width: 760px) { .get__inner { grid-template-columns: 1fr; } .qr { display: none; } }
@media (max-width: 520px) {
  .step4 h3 { font-size: 1.02rem; }
  .step4 p { font-size: .86rem; }
  .step4__when { font-size: .7rem; }
}

/* The month-end guide: its five pages side by side, captions under them (build 107). */
.guide5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.guide5__step { margin: 0; text-align: center; }
.guide5__step .phone { width: min(100%, 210px); margin: 0 auto 14px; }
.guide5__step figcaption { font-size: .92rem; color: var(--ink-2); line-height: 1.4; }
.guide5__step figcaption span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--amber); color: #0a1f19; font-weight: 800; font-size: .85rem; margin-bottom: 6px; }
.guide5__step figcaption b { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 2px; }
@media (max-width: 900px) { .guide5 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 16px; } }
@media (max-width: 560px) { .guide5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .guide5__step .phone { width: min(100%, 160px); } }

/* Battery: three cards in a row (6 October 2026). */
.battery3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .battery3 { grid-template-columns: 1fr; } }

/* Pro firmy (7 October 2026). */
.hero--short { padding-bottom: clamp(56px, 8vw, 96px); }
.twosteps { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 860px) { .twosteps { grid-template-columns: 1fr; gap: 24px; } }
ol.nsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
ol.nsteps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
ol.nsteps .n { width: 36px; height: 36px; border-radius: 50%; background: var(--amber); color: #0a1f19;
  display: grid; place-items: center; font-weight: 800; }
ol.nsteps h3 { font-size: 1.08rem; margin-bottom: 4px; }
ol.nsteps p { color: var(--ink-2); font-size: .97rem; }
.faqs { display: grid; gap: 10px; max-width: 760px; }
.faq { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { color: var(--ink-2); margin-top: 8px; }

/* ── Company access ───────────────────────────────────────────────────────
   /<company>/ and its two follow-ups: one narrow column, phone first — the link comes in a
   work e-mail and is opened on the iPhone that has Putovka. The pages drawn by the functions
   (netlify/functions) use the same classes. */

.firma { max-width: 560px; }
.firma h1 { font-size: clamp(1.9rem, 6vw, 2.6rem); margin: 6px 0 12px; }
.firma .lead { color: var(--ink-2); }
.firma--center, .firma__head { text-align: center; }

.firma__form { margin: 26px 0 0; }
.firma__form .btn { justify-self: stretch; }

.firma__gets { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.firma__gets li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.firma__gets svg { flex: none; width: 22px; height: 22px; color: var(--blue); margin-top: 1px; }

.firma__small { font-size: .86rem; color: var(--ink-3); margin-top: 22px; }
.firma__small a { color: var(--blue); }

.firma__badge, .firma__ok {
  width: 72px; height: 72px; margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--blue-50); color: var(--blue);
}
.firma__badge svg { width: 36px; height: 36px; }
.firma__ok { font-size: 36px; font-weight: 800; }

.firma__steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.firma__steps li {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: 20px 22px; display: grid; gap: 12px;
}
.firma__steps h2 { font-size: 1.15rem; display: flex; align-items: center; gap: 10px; margin: 0; }
.firma__steps h2 span {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: #fff; font-size: .9rem;
}
.firma__steps p { color: var(--ink-2); margin: 0; }
.firma__steps .btn { justify-self: stretch; text-align: center; }
.firma__steps .legend { display: block; font-size: .86rem; color: var(--ink-3); margin: 0; }

.code {
  font: 700 1.5rem/1.2 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .08em; text-align: center;
  padding: 14px; border-radius: 12px; background: var(--bg-2); color: var(--ink);
  user-select: all;
}
.code--test { color: var(--ink-3); text-decoration: line-through; }

@media (prefers-color-scheme: dark) {
  .firma__steps h2 span { color: #06140f; }
}

/* ── Firmy v Puťovce (/firmy) and the company request (/pro-firmy) ──────────────────────── */
.firmy { max-width: 640px; }
.firmy h1 { font-size: clamp(2rem, 6vw, 2.8rem); margin: 6px 0 12px; }
.firmy .lead { color: var(--ink-2); }
.firmy__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.firmy__item { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center;
  padding: 16px 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow-card); color: var(--ink); text-decoration: none;
  transition: border-color .16s ease, transform .16s ease; }
.firmy__item:hover { border-color: var(--blue); transform: translateY(-1px); }
.firmy__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue); }
.firmy__icon svg { width: 26px; height: 26px; }
.firmy__item b { display: block; font-size: 1.08rem; }
.firmy__item small { display: block; color: var(--ink-3); font-size: .9rem; margin-top: 2px; }
.firmy__chev { font-size: 1.6rem; color: var(--ink-3); }
.firmy__missing { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.firmy__missing h2 { font-size: 1.3rem; margin: 0 0 8px; }
.firmy__missing p { color: var(--ink-2); }
.firmy__missing .btn { margin-top: 14px; }
.firma .eyebrow a { color: inherit; text-decoration: none; }

.form__cell { display: grid; gap: 7px; }
.form input[type="file"] { padding: 10px 12px; font-size: .92rem; color: var(--ink-2); }
.form input[type="file"]::file-selector-button { font: inherit; font-weight: 600; margin-right: 12px;
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); color: var(--ink); }
.nsteps--wide { max-width: 760px; }
.nsteps__note { max-width: 760px; margin-top: 22px; color: var(--ink-2); }

/* ── /import ─────────────────────────────────────────────────────────────── */
.importp { max-width: 720px; }
.importp h1 { font-size: clamp(2rem, 6vw, 2.8rem); margin: 6px 0 12px; }
.importp h2 { font-size: 1.4rem; margin: 40px 0 16px; }
.importp .lead { color: var(--ink-2); }
.dls { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
@media (max-width: 560px) { .dls { grid-template-columns: 1fr; } }
.dl { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 14px 16px;
  border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-card);
  color: var(--ink); text-decoration: none; }
.dl:hover { border-color: var(--blue); }
.dl__icon { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.dl__icon svg { width: 24px; height: 24px; }
.dl b { display: block; } .dl small { display: block; color: var(--ink-3); font-size: .88rem; margin-top: 2px; }
.importp__notes { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.importp__notes li { display: flex; gap: 10px; color: var(--ink-2); }
.importp__notes svg { flex: none; width: 22px; height: 22px; color: var(--blue); margin-top: 1px; }
.importp__soon { display: flex; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: 12px;
  background: var(--blue-50); color: var(--ink-2); font-size: .95rem; }
.importp__soon svg { flex: none; width: 22px; height: 22px; color: var(--blue); }
.paper { margin: 26px auto 0; max-width: 560px; text-align: center; }
.paper img { width: 100%; height: auto; border-radius: 6px; background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 18px 40px rgba(0,0,0,.16); }
.paper figcaption { margin-top: 12px; font-size: .88rem; color: var(--ink-3); }
.importp__how { display: grid; grid-template-columns: 1fr 240px; gap: 28px; align-items: start; }
.importp__shot .phone img { width: 100%; height: auto; }
@media (max-width: 680px) { .importp__how { grid-template-columns: 1fr; } .importp__shot { max-width: 260px; margin: 0 auto; } }
