/* Vhod.to — для хозяев · marketing landing styles
   Shared by all locales. Includes screen + print rules. */

@page { size: A4; margin: 14mm; }

@media print {
  html, body { background: #fff !important; -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  .topnav { display: none !important; }
  section.anchor, section.hero, #hero, #problem, #how, #why, #story, #banners, #cta {
    break-before: page; page-break-before: always; break-inside: avoid-page;
  }
  section.hero, #hero { break-before: avoid !important; page-break-before: avoid !important; }
  .vp, .step, .story-card, .ba-grid > * { break-inside: avoid; page-break-inside: avoid; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-phone-static { box-shadow: 0 2px 8px rgba(0,0,0,.12) !important; filter: none !important; }
  section { padding: 18px 0 !important; }
  h2 { margin-top: 8px !important; }
  .banners-grid { display: grid !important; grid-template-columns: 1fr !important; gap: 12mm !important; }
}

:root {
  --bg: #FAFAFA;
  --bg-elev: #FFFFFF;
  --ink: #0F0F0F;
  --ink-2: #212121;
  --ink-3: #455154;
  --hint: #707579;
  --hint-2: #A2ACB0;
  --line: rgba(0,0,0,0.06);
  --line-strong: rgba(0,0,0,0.12);
  --surface: #F4F4F7;
  --surface-2: #EFEFF4;

  --accent: #007AFF;
  --accent-2: #4378FF;
  --good: #31D158;
  --good-ink: #0E7A2D;
  --bad: #FA3E2C;
  --bad-soft: #FFE9E5;
  --bad-ink: #9A1A0A;
  --good-soft: #E2F8E9;
  --magenta: #FF00FF;

  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --shadow-sm: 0 1px 0 rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.04);
  --shadow-md: 0 1px 0 rgba(0,0,0,.04), 0 12px 30px rgba(0,0,0,.06);
  --shadow-lg: 0 30px 80px rgba(0,0,0,.10), 0 8px 20px rgba(0,0,0,.05);

  --type-display: "Inter", -apple-system, "SF Pro", system-ui, sans-serif;
  --type-mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;
  --type-brand: "Onest", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--type-display);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
img { max-width: 100%; display: block; }
::selection { background: var(--good); color: #fff; }

/* ============== NAV ============== */
.topnav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(250,250,250,0.78);
  border-bottom: 1px solid var(--line);
}
.topnav-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px;
  padding: 14px 28px;
}

/* Brand — new logo: door icon + onest wordmark with magenta dot */
.brand {
  display: inline-flex; align-items: baseline; gap: 8px;
  text-decoration: none; color: var(--ink);
}
.brand-door {
  flex-shrink: 0;
  color: var(--ink);
  transform: translateY(3px);
}
.brand-word {
  font-family: var(--type-brand);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
  line-height: 0.85;
  display: inline-flex; align-items: baseline;
  color: var(--ink);
}
.brand-dot {
  display: inline-block;
  width: 0.18em; height: 0.18em;
  border-radius: 50%;
  background: var(--magenta);
  margin: 0 0.06em 0.12em;
  align-self: flex-end;
}

.topnav nav.primary {
  display: flex; gap: 4px; margin-left: auto;
  font-size: 14px; font-weight: 500;
}
.topnav nav.primary a {
  color: var(--ink-3); text-decoration: none;
  padding: 8px 14px; border-radius: 999px;
  transition: background 120ms ease;
}
.topnav nav.primary a:hover { background: var(--surface-2); color: var(--ink); }
.topnav .langs {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg-elev);
  font-family: var(--type-mono); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.topnav .langs a {
  padding: 5px 9px; border-radius: 999px;
  color: var(--hint); text-decoration: none;
  transition: background 120ms ease, color 120ms ease;
}
.topnav .langs a:hover { background: var(--surface-2); color: var(--ink); }
.topnav .langs a.active {
  background: var(--ink); color: #fff;
}
.topnav .cta {
  background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 999px;
  font-weight: 600; text-decoration: none; font-size: 14px;
  transition: transform 120ms ease, background 120ms ease;
}
.topnav .cta:hover { transform: translateY(-1px); }
@media (max-width: 980px) { .topnav nav.primary { display: none; } }

/* ============== LAYOUT ============== */
main { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
section { padding: 96px 0; border-bottom: 1px solid var(--line); }
section:last-child { border-bottom: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--type-mono);
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--hint);
  padding: 6px 12px; border-radius: 999px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--good);
  box-shadow: 0 0 0 4px rgba(49,209,88,.18);
}

h1, h2, h3 { font-family: var(--type-display); margin: 0; }
h1 {
  font-weight: 800; letter-spacing: -0.035em;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.96;
  text-wrap: balance;
}
h2 {
  font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.02;
  text-wrap: balance;
}
h3 {
  font-weight: 700; letter-spacing: -0.02em;
  font-size: 22px; line-height: 1.2;
}
p { line-height: 1.5; color: var(--ink-3); margin: 0; }
.lead { font-size: 19px; color: var(--ink-3); max-width: 560px; }

/* ============== HERO ============== */
.hero { padding-top: 72px; padding-bottom: 64px; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center;
}
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }

.hero h1 { margin-top: 22px; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 60%, rgba(49,209,88,.4) 60%);
  padding: 0 4px;
}
.hero .lead { margin-top: 22px; }
.hero-actions { margin-top: 32px; display: flex; gap: 10px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  font-family: inherit;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.btn-ghost { background: var(--bg-elev); color: var(--ink); border-color: var(--line-strong); }
.btn-good { background: var(--good); color: #052B12; }

.hero-stats {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  padding-top: 32px; border-top: 1px solid var(--line);
  max-width: 560px;
}
.hero-stat .num {
  font-family: var(--type-display);
  font-size: 38px; font-weight: 800; letter-spacing: -0.03em; line-height: 1;
}
.hero-stat .lab {
  margin-top: 6px; font-family: var(--type-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--hint);
}

/* hero phone — static, no React */
.hero-visual { position: relative; height: 720px; display: grid; place-items: center; }
.hero-phone-static {
  position: relative;
  width: 300px; aspect-ratio: 9 / 19.5;
  background: #000; border-radius: 44px;
  padding: 9px;
  transform: rotate(-3deg);
  filter: drop-shadow(0 40px 80px rgba(0,0,0,.18)) drop-shadow(0 8px 20px rgba(0,0,0,.08));
}
.hero-phone-notch {
  position: absolute; top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #000; border-radius: 999px;
  z-index: 10;
}
.hero-phone-screen {
  width: 100%; height: 100%;
  border-radius: 36px; overflow: hidden;
  background: #fff;
  display: flex; flex-direction: column;
}
.hero-phone-screen-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}

.hero-visual .floater {
  position: absolute; background: var(--bg-elev);
  border: 1px solid var(--line); border-radius: 18px;
  padding: 14px 16px; box-shadow: var(--shadow-md);
  font-size: 13px; color: var(--ink); display: flex; align-items: center; gap: 10px;
}
.hero-visual .floater .ic {
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  background: var(--good-soft); color: var(--good-ink);
  font-weight: 700;
}
.hero-visual .floater .ic.warn { background: var(--bad-soft); color: var(--bad-ink); }
.hero-visual .floater.f1 { top: 80px; left: -40px; transform: rotate(-4deg); }
.hero-visual .floater.f2 { top: 220px; right: -10px; transform: rotate(3deg); }
.hero-visual .floater.f3 { bottom: 90px; left: -10px; transform: rotate(-2deg); }
.floater-sub { color: var(--hint); font-size: 11px; margin-top: 2px; }

/* ============== BEFORE / AFTER ============== */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
@media (max-width: 820px) { .ba-grid { grid-template-columns: 1fr; } }
.ba-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative; overflow: hidden;
}
.ba-card.bad { background: #FFFBFA; border-color: rgba(250,62,44,.18); }
.ba-card.good { background: #F7FCF9; border-color: rgba(49,209,88,.22); }
.ba-card .tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--type-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600;
  padding: 6px 10px; border-radius: 999px;
}
.ba-card.bad .tag { background: var(--bad-soft); color: var(--bad-ink); }
.ba-card.good .tag { background: var(--good-soft); color: var(--good-ink); }
.ba-card h3 { margin-top: 16px; font-size: 26px; }
.ba-card .sub { color: var(--hint); margin-top: 6px; font-size: 14px; }
.ba-list {
  list-style: none; margin: 22px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.ba-list li {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px;
  font-size: 15px; line-height: 1.45; color: var(--ink-2);
  padding: 10px 0; border-top: 1px dashed var(--line);
}
.ba-list li:first-child { border-top: none; padding-top: 4px; }
.mark {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--type-mono); font-size: 11px; font-weight: 700;
}
.mark.x { background: var(--bad); color: #fff; }
.mark.v { background: var(--good); color: #fff; }

.pro-strip {
  margin-top: 32px; padding: 20px 24px;
  background: var(--bg-elev); border: 1px dashed var(--line-strong); border-radius: var(--radius);
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.pro-strip .pro-tag {
  font-family: var(--type-mono); font-size: 11px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  background: var(--surface); color: var(--hint-2);
}
.pro-strip .pro-text { font-family: var(--type-display); font-size: 14px; color: var(--ink-3); }

/* ============== HOW IT WORKS ============== */
.how-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 920px) { .how-grid { grid-template-columns: repeat(2, 1fr); } }
.step {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 220px;
  display: flex; flex-direction: column;
}
.step .num { font-family: var(--type-mono); font-size: 12px; color: var(--hint); letter-spacing: 0.06em; }
.step h3 { margin-top: 12px; font-size: 19px; }
.step p { margin-top: 10px; font-size: 14px; }
.step .ic {
  margin-top: auto; width: 48px; height: 48px; border-radius: 14px;
  background: var(--surface); display: grid; place-items: center; color: var(--ink-2);
}

/* ============== VALUE PROPS ============== */
.vp-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 920px) { .vp-grid { grid-template-columns: 1fr; } }
.vp {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px; min-height: 240px;
  display: flex; flex-direction: column; gap: 12px;
}
.vp.feature { background: var(--ink); color: #fff; border-color: var(--ink); }
.vp.feature .vp-num { color: rgba(255,255,255,.55); }
.vp.feature p { color: rgba(255,255,255,.7); }
.vp.feature h3 { color: #fff; }
.vp-num { font-family: var(--type-mono); font-size: 12px; color: var(--hint); letter-spacing: 0.05em; }
.vp h3 { font-size: 22px; }
.vp p { font-size: 14px; }

/* ============== STORY ============== */
.story-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
@media (max-width: 1080px) { .story-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1081px) and (max-width: 1400px) { .story-grid { grid-template-columns: repeat(3, 1fr); } }
.story-card {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px; min-height: 320px;
  display: flex; flex-direction: column; gap: 14px;
}
.story-card .time { font-family: var(--type-mono); font-size: 11px; color: var(--hint); letter-spacing: 0.05em; }
.story-card h3 { font-size: 17px; }
.story-card p { font-size: 13px; }
.story-card .scene {
  margin-top: auto; height: 130px;
  background: var(--surface); border-radius: 12px;
  display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.scene-chip {
  padding: 6px 10px; background: #fff; border-radius: 8px;
  font-family: var(--type-mono); font-size: 10px; color: var(--ink);
}
.scene-chip.dark { background: var(--ink); color: var(--good); }
.scene-stack { width: 100%; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.scene-stack.tight { padding: 14px; gap: 8px; }
.scene-apart {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #E8DFD0 0%, #C8B79A 50%, #8E7A5A 100%);
  overflow: hidden;
}
.scene-apart .light {
  position: absolute; left: 15%; top: 10%; width: 35%; height: 55%;
  background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,0));
  border-radius: 8px; transform: skewX(-8deg);
}
.scene-apart .couch-back {
  position: absolute; left: 10%; right: 10%; bottom: 12%; height: 32%;
  background: #8E7A5A; border-radius: 14px; opacity: .5;
}
.scene-apart .couch-front {
  position: absolute; left: 15%; right: 15%; bottom: 22%; height: 22%;
  background: #C8B79A; border-radius: 10px; opacity: .55;
}
.scene-apart .label {
  position: absolute; left: 8px; bottom: 8px; padding: 3px 7px;
  background: rgba(0,0,0,0.4); color: #fff;
  font-family: var(--type-mono); font-size: 9px;
  border-radius: 4px; letter-spacing: .05em;
}
.scene-thanks {
  padding: 10px 16px; background: var(--surface-2); border-radius: 12px;
  font-family: var(--type-display); font-weight: 700; font-size: 13px; color: var(--ink);
}

/* ============== BANNERS GRID ============== */
.banners-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 920px) { .banners-grid { grid-template-columns: 1fr; } }
.banner-static {
  aspect-ratio: 1200 / 630;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.banner-static img { width: 100%; height: 100%; object-fit: cover; }
.banners-note {
  grid-column: 1 / -1;
  padding: 18px 22px;
  background: var(--bg-elev); border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  font-family: var(--type-mono); font-size: 12px;
  color: var(--hint); letter-spacing: .04em;
}

/* footer */
footer {
  padding: 48px 28px;
  text-align: center; color: var(--hint);
  font-size: 13px; font-family: var(--type-mono);
}
footer .row { max-width: 1240px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
@media (max-width: 720px) { footer .row { flex-direction: column; gap: 12px; } }

.anchor { scroll-margin-top: 80px; }
.big-quote {
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.15; max-width: 980px;
  text-wrap: balance;
}
.big-quote .em { color: var(--good-ink); }
