/* NextOut Landing v2 — plain static CSS (no bundle, no framework).
   Palette + fonts taken from the v1 разбор. Shared by all pages.
   Fonts are SELF-HOSTED locally (latin subset, variable weight) — no external font CDN,
   no connection to Google. */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/bricolage-grotesque-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-latin.woff2') format('woff2');
}

:root {
  --cream:      #FCEBDA;
  --cream-soft: #F9ECE3;
  --ink:        #3D4B6E;
  --ink-2:      #3D4B6E;
  --muted:      #6E7A98;
  --muted-2:    #8A7F72;
  --pink:       #F26D9C;
  --pink-light: #F79FC0;
  --purple:     #9B4F86;
  --purple-2:   #B56AA0;
  --green:      #3FA877;
  --gold:       #F5B301;
  --card:       #ffffff;
  --tint-mint:   #E3F0EE;
  --tint-lav:    #EDE7FB;
  --tint-green:  #E3F5EC;
  --tint-purple: #F1ECFA;
  --tint-blue:   #E7EEFC;
  --tint-sand:   #FBE9DC;
  --radius: 20px;
  --shadow: 0 12px 30px rgba(61,75,110,.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--ink-2);
  background:
    linear-gradient(180deg, #CFEAFB 0%, #DEEBF7 12%, #EDECF3 26%, #F6F0F2 40%, #F7ECE8 55%, #F9ECE3 72%, var(--cream) 100%);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display { font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', sans-serif; letter-spacing: -.01em; }

a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section h2 { font-size: clamp(26px, 4vw, 40px); color: var(--ink); font-weight: 800; text-align: center; }
.section .sub { text-align: center; color: var(--muted); max-width: 620px; margin: 12px auto 0; font-size: 17px; }

/* ── NAV ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252,235,218,.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(61,75,110,.08);
}
.nav .wrap { display: flex; align-items: center; gap: 18px; min-height: 68px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; flex-direction: column; align-items: center; line-height: 1.15; text-decoration: none; max-width: 170px; }
.brand b { font-family: 'Bricolage Grotesque', sans-serif; font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: .5px; }
.brand b span { color: var(--pink); }
.brand-logo { width: 100%; height: auto; }
.brand small { font-size: 12px; color: var(--muted); font-weight: 600; text-align: center; max-width: 100%; }
.nav .spacer { flex: 1; }
.langswitch { display: flex; gap: 4px; align-items: center; font-weight: 700; font-size: 14px; }
.langswitch a { padding: 5px 11px; border-radius: 999px; text-decoration: none; color: var(--muted); }
.langswitch a.active { background: var(--ink); color: #fff; }
.btn {
  display: inline-block; background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 15px; padding: 11px 20px; border-radius: 999px;
  box-shadow: var(--shadow); border: none; cursor: pointer;
}
.btn.pink { background: linear-gradient(100deg, var(--pink-light), var(--pink)); }

/* ── HERO ────────────────────────────────────────────── */
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; padding-top: 56px; padding-bottom: 40px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); color: var(--ink); font-weight: 800; line-height: 1.05; }
.hero h1 .pink { color: var(--pink); }
.hero .lead { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 520px; }

/* Coming-soon block */
.coming { margin-top: 26px; }
.coming .k { font-weight: 800; color: var(--ink); font-size: 16px; margin-bottom: 10px; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; border-radius: 14px; padding: 9px 16px;
  min-height: 58px; text-decoration: none; cursor: pointer; user-select: none; opacity: .96;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.store-badge:hover { transform: translateY(-2px); background: #303d5e; box-shadow: 0 10px 24px rgba(61,75,110,.2); }
.store-badge:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.store-badge svg { width: 22px; height: 22px; flex: none; fill: #fff; }
.store-badge .st { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge .st small { font-size: 10px; opacity: .8; }
.store-badge .st b { font-size: 15px; font-weight: 700; }
.testing-note { max-width: 560px; margin-top: 11px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.testing-note strong { color: var(--ink); }

.pills { display: flex; gap: 8px 18px; flex-wrap: wrap; margin-top: 24px; }
.pill { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.pill .ok { width: 20px; height: 20px; border-radius: 999px; background: linear-gradient(135deg, var(--purple-2), var(--purple)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }

.proof { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.avatars { display: flex; }
.avatars img { width: 38px; height: 38px; border-radius: 999px; border: 2px solid #fff; object-fit: cover; margin-left: -10px; }
.avatars img:first-child { margin-left: 0; }
.proof .txt { font-size: 14px; color: var(--muted); }
.proof .stars { color: var(--gold); letter-spacing: 2px; }
.proof .cta { color: var(--pink); font-weight: 700; }

/* phone / example card */
.phone { background: var(--card); border-radius: 30px; box-shadow: 0 24px 60px rgba(61,75,110,.18); padding: 16px; border: 1px solid rgba(61,75,110,.06); }
.phone .ai { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.phone .ai .tag { font-size: 11px; background: var(--tint-blue); color: var(--ink); border-radius: 999px; padding: 4px 8px; font-weight: 600; }
.phone .ai .head { width: 100%; font-size: 12px; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.rescard { border-radius: 20px; overflow: hidden; border: 1px solid rgba(61,75,110,.08); }
.rescard .ph { position: relative; aspect-ratio: 3/2; }
.rescard .ph img { width: 100%; height: 100%; object-fit: cover; }
.rescard .ph .ex { position: absolute; top: 10px; left: 10px; background: rgba(61,75,110,.85); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; letter-spacing: 1px; }
.rescard .ph .match { position: absolute; top: 10px; right: 10px; background: #fff; color: var(--pink); font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.rescard .body { padding: 12px 14px; }
.rescard .body .city { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; color: var(--ink); font-size: 18px; }
.rescard .body .meta { font-size: 13px; color: var(--muted); margin-top: 3px; }
.rescard .body .price { margin-top: 8px; font-weight: 800; color: var(--ink); font-size: 17px; }
.rescard .body .price small { color: var(--muted); font-weight: 600; font-size: 12px; }
.rescard .body .go { margin-top: 8px; color: var(--pink); font-weight: 700; font-size: 14px; }

/* ── COMPARISON ──────────────────────────────────────── */
.cmp .grid { display: grid; grid-template-columns: 1fr auto 1.7fr; gap: 22px; align-items: center; margin-top: 34px; }
.panel { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.panel.chaos { background: #fff3f0; }
.cmp .panel:not(.chaos) { display: flex; flex-direction: row-reverse; align-items: stretch; gap: 26px; }
.cmp-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.cmp-text h3 { margin-bottom: 16px; }
.cmp-figure { flex: 0 0 44%; min-width: 0; position: relative; }
.cmp-photo { width: 100%; height: 100%; min-height: 240px; object-fit: cover; object-position: center; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.cmp-confetti { position: absolute; top: -24px; left: -24px; width: 84px; height: 84px; border-radius: 999px; background: var(--tint-sand); display: flex; align-items: center; justify-content: center; font-size: 40px; box-shadow: 0 10px 24px rgba(155,79,134,.38); }
@media (max-width: 860px) {
  .cmp .panel:not(.chaos) { flex-direction: column; align-items: stretch; gap: 18px; }
  .cmp-figure { flex: none; width: 100%; }
  .cmp-photo { height: 220px; min-height: 0; }
  .cmp-confetti { width: 68px; height: 68px; font-size: 32px; top: -18px; left: -18px; }
}
.panel h3 { font-size: 20px; color: var(--ink); font-weight: 800; }
.panel .psub { color: var(--muted); font-size: 14px; margin: 4px 0 14px; }
.eyebrow { display: inline-block; background: var(--pink); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 999px; letter-spacing: 1px; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid rgba(61,75,110,.08); border-radius: 999px; padding: 6px 11px; font-size: 13px; color: var(--ink-2); }
.arrow { font-size: 30px; color: var(--pink); text-align: center; }
.benefits { list-style: none; display: flex; flex-direction: column; flex: 1 1 auto; justify-content: space-between; gap: 14px; }
.benefits li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--ink-2); font-weight: 600; }
.benefits li .ok { width: 26px; height: 26px; flex: none; border-radius: 999px; background: linear-gradient(135deg, var(--purple-2), var(--purple)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }
.benefits li.hl { background: linear-gradient(100deg, var(--pink-light), var(--pink)); color: #fff; border-radius: 14px; padding: 11px 14px; margin-left: -14px; box-shadow: 0 10px 24px rgba(217,130,201,.3); }
.benefits li.hl .ok { background: rgba(255,255,255,.25); }

/* ── PIPELINE / WHY grids ────────────────────────────── */
.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 34px; }
.cards .tcard { --n: 5; width: calc((100% - (var(--n) - 1) * 16px) / var(--n)); }
@media (max-width: 1000px) { .cards .tcard { --n: 3; } }
@media (max-width: 620px)  { .cards .tcard { --n: 2; } }
.tcard { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.tcard .ic { font-size: 26px; }
.tcard h3 { font-size: 17px; color: var(--ink); margin-top: 10px; font-weight: 800; }
.tcard p { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ── INSPIRATION ─────────────────────────────────────── */
.insp .group { margin-top: 30px; }
.insp .group > h3 { font-size: 20px; color: var(--ink); font-weight: 800; margin-bottom: 14px; }
.insp .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.dcard { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.dcard > img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.dcard .in { padding: 14px 16px; }
.dcard .city { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; color: var(--ink); font-size: 18px; }
.dcard .vibe { color: var(--muted); font-size: 14px; margin-top: 3px; }
.dcard .line { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; }
.dcard .month { font-size: 13px; color: var(--ink-2); }
.dcard .price { font-weight: 800; color: var(--pink); font-size: 15px; }
.credit { font-size: 11px; color: var(--muted-2); margin-top: 10px; padding-top: 8px; border-top: 1px solid rgba(61,75,110,.07); }
.credit a { color: var(--muted); text-decoration: underline; }
.insp .pexels-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 22px; }
.insp .pexels-note a { color: var(--ink-2); }
.disclaimer { text-align: center; color: var(--muted-2); font-size: 12px; margin-top: 18px; }

/* ── PARTNERS ────────────────────────────────────────── */
.partners .adlabel { text-align: center; font-size: 11px; letter-spacing: 1px; color: var(--muted-2); text-transform: uppercase; }
.plist { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 24px; }
.plist .pitem { --n: 4; width: calc((100% - (var(--n) - 1) * 14px) / var(--n)); }
@media (max-width: 820px) { .plist .pitem { --n: 3; } }
@media (max-width: 540px) { .plist .pitem { --n: 2; } }
.pitem { background: var(--card); border-radius: 14px; padding: 16px; text-align: center; box-shadow: var(--shadow); text-decoration: none; }
.pitem b { color: var(--ink); font-weight: 800; display: block; }
.pitem span { color: var(--muted); font-size: 13px; }

/* ── FOOTER ──────────────────────────────────────────── */
.footer { background: var(--ink); color: #fff; padding: 46px 0 34px; margin-top: 40px; }
.footer .wrap { text-align: center; }
.footer .fbrand b { font-family: 'Bricolage Grotesque', sans-serif; font-size: 22px; font-weight: 800; }
.footer .fbrand b span { color: var(--pink-light); }
.footer .fbrand-logo { width: 64px; height: 64px; margin: 0 auto; }
.footer .fslogan { color: #cfd5e6; font-size: 14px; margin-top: 4px; }
.footer .flinks { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 16px; }
.footer .flinks a { color: #dfe3ee; text-decoration: none; font-size: 14px; font-weight: 600; }
.footer .flinks a:hover { color: #fff; }
.footer .rights { color: #aab2c8; font-size: 13px; }

/* ── LEGAL PAGES ─────────────────────────────────────── */
.wrap.narrow { max-width: 780px; }
.legal { color: var(--ink-2); }
.legal h1 { font-size: clamp(28px, 4vw, 40px); color: var(--ink); font-weight: 800; margin-bottom: 6px; }
.legal h2 { font-size: 20px; color: var(--ink); font-weight: 800; margin: 28px 0 8px; text-align: left; }
.legal p { margin: 12px 0; line-height: 1.65; }
.legal ul { margin: 12px 0 12px 22px; }
.legal li { margin: 6px 0; line-height: 1.6; }
.legal blockquote { margin: 14px 0; padding: 10px 16px; border-left: 3px solid var(--pink-light); background: rgba(255,255,255,.55); border-radius: 8px; color: var(--muted); font-size: 15px; }
.legal hr { border: none; border-top: 1px solid rgba(61,75,110,.12); margin: 26px 0 14px; }
.legal strong { color: var(--ink); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .cmp .grid { grid-template-columns: 1fr; }
  .arrow { transform: rotate(90deg); }
  .nav .btn { display: none; }
  .brand { max-width: 148px; }
}
@media (max-width: 480px) {
  .brand { max-width: 140px; }
}
