/* Landisim — «Ночной неон». Токены из дизайн-системы Landisim. */
:root {
  --night: #070B24;
  --night-raised: #11173F;
  --glow-cyan: rgba(0, 224, 255, .75);
  --glow-violet: rgba(120, 70, 255, .70);
  --glow-lime: rgba(186, 255, 41, .55);
  --lime: #C8FF2E;
  --cyan: #00E0FF;
  --ink: #FFFFFF;
  --ink-muted: rgba(255, 255, 255, .75);
  --ink-soft: rgba(255, 255, 255, .82);
  --glass-fill: rgba(12, 18, 56, .50);
  --glass-edge: rgba(255, 255, 255, .32);
  --line: rgba(255, 255, 255, .16);
  --tile: rgba(255, 255, 255, .06);
  --shadow-glass: inset 0 1px 0 rgba(255, 255, 255, .55), 0 10px 30px rgba(20, 16, 60, .18);
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 28px;
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: 16px;
  --section: 104px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--night); color: var(--ink); font-family: var(--font);
  font-size: 16px; line-height: 1.5; font-weight: 500; overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--cyan); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.03em; line-height: .95; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* фон: три свечения */
.glows { position: absolute; inset: 0 0 auto 0; height: 100%; overflow: hidden; pointer-events: none; z-index: 0; }
.glow { position: absolute; border-radius: 50%; filter: blur(140px); }
.glow.c1 { left: -180px; top: -200px; width: 720px; height: 720px; background: var(--glow-cyan); opacity: .55; }
.glow.v1 { right: -220px; top: -120px; width: 760px; height: 760px; background: var(--glow-violet); opacity: .6; }
.glow.l1 { right: -160px; top: 620px; width: 520px; height: 520px; background: var(--glow-lime); opacity: .42; }
.glow.v2 { left: -260px; top: 1700px; width: 700px; height: 700px; background: var(--glow-violet); opacity: .38; }
.glow.c2 { right: -240px; top: 2700px; width: 640px; height: 640px; background: var(--glow-cyan); opacity: .3; }

.page { position: relative; min-height: 100vh; overflow: hidden; }
.wrap { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter) 48px;
        display: flex; flex-direction: column; gap: var(--section); }

.glass {
  background: var(--glass-fill);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--glass-edge); box-shadow: var(--shadow-glass);
}
.tile { background: var(--tile); border: 1px solid var(--line); border-radius: 18px; }

.label { font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { color: var(--cyan); }
.muted { color: var(--ink-muted); }
.lead { font-size: 18px; line-height: 27px; font-weight: 600; color: var(--ink-soft); }
.small { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ink-muted); }
.h-xl { font-size: clamp(40px, 9vw, 80px); letter-spacing: -.035em; }
.h-l { font-size: clamp(30px, 6vw, 48px); }
.h-m { font-size: 27px; line-height: 1.05; letter-spacing: -.02em; }
.sec-head { display: flex; flex-direction: column; gap: 10px; }
.sec-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
section { display: flex; flex-direction: column; gap: 28px; }
section.hero, section.split, section.buy { flex-direction: row; }

/* кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  padding: 0 18px; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font: 700 15px var(--font);
  cursor: pointer; border: 0;
}
.btn:hover { color: var(--ink); filter: brightness(1.08); }
.btn-lime { background: var(--lime); color: var(--night); font-weight: 800; font-size: 16px; min-height: 52px; padding: 0 24px; }
.btn-lime:hover { color: var(--night); }
.btn-lg { min-height: 56px; font-size: 17px; }
.btn-block { width: 100%; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 8px 14px;
        font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none; }
.chip img { width: 28px; height: 21px; border-radius: 999px; object-fit: cover; }
.chip-flag { padding: 6px 14px 6px 6px; }

/* шапка */
.top { position: sticky; top: 12px; z-index: 20; margin-top: 20px; border-radius: var(--r-md);
       padding: 10px 10px 10px 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.logo { font-weight: 800; font-size: 26px; letter-spacing: -.03em; color: var(--ink); text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; font-size: 15px; font-weight: 600; }
.nav a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.burger { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); align-items: center; justify-content: center;
          cursor: pointer; padding: 0; color: var(--ink); }
.mnav { flex: 1 1 100%; display: none; flex-direction: column; padding: 4px 0; border-top: 1px solid var(--line);
        font-size: 17px; font-weight: 700; }
.mnav a { color: var(--ink); text-decoration: none; padding: 12px 0; }
.mnav a.tg { color: var(--cyan); }
.top.open .mnav { display: flex; }

/* главный экран */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 24px; }
.hero-main { flex: 1 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-side { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.search { border-radius: var(--r-md); padding: 8px; display: flex; flex-wrap: wrap; gap: 8px; max-width: 560px; }
.search-field { flex: 1 1 240px; display: flex; align-items: center; gap: 10px; padding: 0 12px; min-height: 52px; }
.search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--ink);
                font: 600 17px var(--font); }
.search input::placeholder { color: rgba(255, 255, 255, .62); }
.search input::-webkit-search-cancel-button { filter: invert(1); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chips .chip { min-height: 36px; padding: 0 14px 0 6px; font-weight: 600; }
.chips .chip img { width: 24px; height: 18px; }

.plan-card { width: 100%; max-width: 420px; border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 24px; }
.plan-card .vol { font-size: clamp(56px, 14vw, 72px); line-height: .95; font-weight: 800; letter-spacing: -.03em; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.duo .tile { padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.duo b { font-size: 16px; }
.price-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.price-row .big { font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -.03em; }

/* страны */
.grid-dest { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dest { border-radius: var(--r-md); padding: 18px; display: flex; flex-direction: column; gap: 16px; color: var(--ink);
        text-decoration: none; min-height: 150px; min-width: 0; transition: transform .15s ease, border-color .15s ease; }
.dest:hover { color: var(--ink); transform: translateY(-2px); border-color: rgba(0, 224, 255, .7); }
.dest-top { display: flex; justify-content: space-between; align-items: center; }
.dest-name { font-size: 22px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; overflow-wrap: anywhere; }
.dest-price { font-size: 16px; font-weight: 700; margin-top: auto; }
.flag { width: 56px; height: 42px; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 1px var(--glass-edge);
        background: var(--night-raised); display: inline-flex; align-items: center; justify-content: center; flex: none;
        color: var(--cyan); font-size: 14px; font-weight: 800; letter-spacing: .04em; }
.flag svg { width: 26px; height: 26px; }
.flag-sm { width: 32px; height: 24px; border-radius: 6px; font-size: 10px; }
.flag-sm svg { width: 16px; height: 16px; }

/* как это работает */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.step { border-radius: var(--r-md); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.step .n { font-size: 44px; line-height: .95; font-weight: 800; color: var(--cyan); letter-spacing: -.03em; }
.step b { font-size: 20px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.step p { font-size: 15px; line-height: 23px; color: rgba(255, 255, 255, .8); }

.split { display: flex; flex-wrap: wrap; gap: 16px; }
.panel { border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.panel.wide { flex: 1 1 520px; }
.panel.narrow { flex: 1 1 360px; }
.code { font-size: clamp(44px, 10vw, 72px); line-height: 1; font-weight: 800; letter-spacing: -.02em; }
.row-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px;
            padding: 10px 18px; color: var(--ink); text-decoration: none; }
.row-link:hover { color: var(--ink); border-color: rgba(0, 224, 255, .7); }
.row-link span { display: flex; flex-direction: column; gap: 2px; }
.row-link b { font-size: 16px; }

/* вопросы */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border-radius: var(--r-md); padding: 20px 24px; }
.faq summary { cursor: pointer; list-style: none; font-size: 18px; font-weight: 700; display: flex;
               justify-content: space-between; gap: 16px; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; font-size: 16px; line-height: 24px; color: rgba(255, 255, 255, .8); }

/* подвал */
.foot { border-radius: var(--r-md); padding: 24px; display: flex; flex-wrap: wrap; justify-content: space-between;
        gap: 16px 32px; font-size: 13px; line-height: 20px; font-weight: 600; color: var(--ink-muted); }
.foot .logo { font-size: 20px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: flex-start; }
.foot nav a { color: rgba(255, 255, 255, .85); }
.foot-col { display: flex; flex-direction: column; gap: 6px; }

/* страница страны */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-muted); }
.crumbs a { color: rgba(255, 255, 255, .85); }
.c-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.c-flag { width: clamp(80px, 18vw, 112px); aspect-ratio: 4 / 3; height: auto; border-radius: 20px; object-fit: cover;
          box-shadow: 0 0 0 1px var(--glass-edge), 0 10px 30px rgba(20, 16, 60, .35); background: var(--night-raised);
          display: inline-flex; align-items: center; justify-content: center; color: var(--cyan); }
.c-flag svg { width: 44%; height: auto; }
.c-title { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.c-title h1 { font-size: clamp(38px, 9vw, 72px); letter-spacing: -.035em; }
.c-title .lead { max-width: 640px; }

.buy { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.buy-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.summary { flex: 1 1 340px; min-width: 0; border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column;
           gap: 20px; position: sticky; top: 104px; }
.summary .what { font-size: 24px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; display: flex; gap: 10px; align-items: center; }
.summary .big { font-size: 56px; line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.checks { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 10px;
          font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink-soft); }
.checks span { display: flex; gap: 10px; }
.checks svg { flex: none; margin-top: 1px; }

.tabs { border-radius: 16px; padding: 4px; display: inline-flex; gap: 4px; align-self: flex-start; flex-wrap: wrap; }
.tabs button { min-height: 44px; padding: 0 18px; border-radius: 12px; border: 0; cursor: pointer;
               font: 700 15px var(--font); background: transparent; color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--night); }
.tab-hint { font-size: 14px; line-height: 21px; font-weight: 600; color: var(--ink-muted); max-width: 720px; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.plan { position: relative; display: block; cursor: pointer; }
.plan input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.plan-in { border-radius: var(--r-md); padding: 20px; display: flex; flex-direction: column; gap: 10px; min-height: 160px; height: 100%;
           transition: border-color .15s ease; }
.plan:hover .plan-in { border-color: rgba(0, 224, 255, .6); }
.plan input:checked + .plan-in { outline: 2px solid var(--cyan); outline-offset: -2px; }
.plan input:focus-visible + .plan-in { box-shadow: 0 0 0 4px rgba(0, 224, 255, .35), var(--shadow-glass); }
.plan .tick { width: 24px; height: 24px; border-radius: 50%; background: var(--cyan); display: none; align-items: center; justify-content: center; }
.plan input:checked + .plan-in .tick { display: inline-flex; }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 24px; }
.plan .gb { font-size: clamp(28px, 7vw, 40px); line-height: .95; font-weight: 800; letter-spacing: -.03em; }
.plan .pr { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-top: auto; }

.daily { display: flex; flex-direction: column; gap: 12px; }
.dgroup { border-radius: var(--r-md); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.dgroup-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; }
.dgroup-head b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.dopts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.dopt .plan-in { min-height: 0; padding: 12px 14px; gap: 2px; border-radius: 16px; background: var(--tile); border: 1px solid var(--line);
                 box-shadow: none; flex-direction: row; justify-content: space-between; align-items: center; }
.dopt .plan-in b { font-size: 16px; }
.dopt .plan-in span { font-size: 15px; font-weight: 700; }

.mbar { display: none; }
.empty { border-radius: var(--r-md); padding: 28px; font-size: 16px; font-weight: 600; color: var(--ink-soft); }

/* страны в регионе */
.members { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.member { border-radius: 16px; padding: 10px 14px; display: flex; align-items: center; gap: 12px; color: var(--ink);
          text-decoration: none; font-size: 15px; font-weight: 700; min-width: 0; }
a.member:hover { color: var(--ink); border-color: rgba(0, 224, 255, .7); }
.member .flag { flex: none; }

/* все страны */
.letters { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.letter { border-radius: var(--r-md); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.letter h2 { font-size: 22px; color: var(--cyan); margin-bottom: 4px; }
.dl { display: flex; align-items: center; gap: 12px; padding: 7px 0; color: var(--ink); text-decoration: none;
      font-weight: 600; font-size: 15px; }
.dl:hover { color: var(--cyan); }
.dl .from { margin-left: auto; font-size: 13px; color: var(--ink-muted); white-space: nowrap; }
.dl[hidden] { display: none; }

/* текстовые страницы */
.doc { border-radius: var(--r-lg); padding: 40px; display: flex; flex-direction: column; gap: 18px; max-width: 860px; }
.doc h2 { font-size: 26px; line-height: 1.1; margin-top: 12px; }
.doc p, .doc li { font-size: 16px; line-height: 26px; color: rgba(255, 255, 255, .85); }
.doc ul, .doc ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }

/* ---------------------------------------------------------------- планшет */
@media (max-width: 1000px) {
  :root { --section: 88px; }
  .grid-dest { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary { position: static; }
}

/* ---------------------------------------------------------------- телефон */
@media (max-width: 760px) {
  :root { --section: 64px; }
  html { scroll-padding-top: 84px; }
  .top { padding: 8px 8px 8px 18px; top: 8px; margin-top: 12px; }
  .logo { font-size: 23px; }
  .nav, .top > .btn { display: none; }
  .burger { display: inline-flex; }
  .hero { gap: 32px; padding-top: 8px; }
  .lead { font-size: 17px; line-height: 25px; }
  .grid-dest { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .dest { padding: 14px; min-height: 140px; gap: 12px; }
  .dest-name { font-size: 18px; }
  .flag { width: 48px; height: 36px; }
  .flag.flag-sm { width: 32px; height: 24px; }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .panel, .plan-card, .summary, .doc { padding: 22px; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .plan-in { padding: 16px; min-height: 140px; }
  .plan .pr { font-size: 19px; }
  .dopts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .members { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .member { padding: 8px 10px; font-size: 14px; gap: 8px; }
  .summary .big { font-size: 44px; }
  .mbar { display: flex; position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 30; border-radius: 20px;
          padding: 10px 10px 10px 18px; align-items: center; justify-content: space-between; gap: 12px; }
  .mbar .m-what { display: flex; flex-direction: column; min-width: 0; }
  .mbar .m-what span { font-size: 13px; font-weight: 600; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mbar .m-what b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
  .mbar .btn-lime { min-height: 48px; padding: 0 18px; flex: none; }
  .has-mbar .wrap { padding-bottom: 104px; }
}

@media (max-width: 560px) {
  .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
