/* Pre-lander for ads. Same look as veksha.net: graphite, one cool accent,
   white primary buttons, system fonts only, no external requests. */
:root {
  --bg: #0c0d0f;
  --panel: #131418;
  --panel-2: #181a1f;
  --line: #22252b;
  --line-strong: #30343c;
  --text: #eceef1;
  --muted: #959ba5;
  --faint: #646b75;
  --accent: #8fb0ff;
  --accent-strong: #b6caff;
  --ok: #5cc98d;
  --radius: 10px;
  --wrap: 1080px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  font: 15px/1.6 var(--sans); font-variant-numeric: tabular-nums lining-nums;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--accent); color: var(--bg); }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-strong); }
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(12, 13, 15, .9); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.topbar .wrap { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--text); }
.logo::before { content: ""; width: 10px; height: 10px; background: var(--accent); border-radius: 2px; }
.logo:hover { color: var(--text); }
.topnav { display: flex; align-items: center; gap: 22px; font-size: .9rem; }
.topnav a:not(.btn) { color: var(--muted); }
.topnav a:not(.btn):hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 8px; border: 1px solid var(--text);
  background: var(--text); color: var(--bg); font: 600 .95rem/1 var(--sans); white-space: nowrap;
  transition: background .12s, border-color .12s, color .12s;
}
.btn:hover { background: #fff; border-color: #fff; color: var(--bg); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn.ghost:hover { background: var(--panel-2); border-color: var(--faint); color: var(--text); }
.btn.small { height: 34px; padding: 0 14px; font-size: .85rem; border-radius: 7px; }
.btn .arr { font-weight: 400; }

/* Hero */
.hero { padding: 64px 0 24px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.eyebrow { color: var(--accent); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.hero h1 { font-size: 2.7rem; line-height: 1.08; letter-spacing: -.03em; font-weight: 680; }
.lead { margin-top: 18px; font-size: 1.12rem; color: var(--muted); max-width: 34em; }
.lead b { color: var(--text); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.under { margin-top: 12px; color: var(--faint); font-size: .82rem; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 26px 0 0; color: var(--muted); font-size: .9rem; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }

/* Example order card */
.sample { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.sample-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.sample-head b { color: var(--text); font-weight: 600; }
.tag { padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .72rem; color: var(--faint); }
.facts { margin: 0; padding: 6px 18px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .9rem; }
.facts div:first-child { border-top: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; font-weight: 500; }
.st { display: inline-flex; align-items: center; gap: 7px; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.line { margin: 0; padding: 14px 18px; border-top: 1px solid var(--line); background: var(--bg); font-family: var(--mono); font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Sections */
.section { padding: 72px 0 0; }
.label { color: var(--muted); font-size: .72rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.section h2 { font-size: 1.7rem; line-height: 1.2; font-weight: 650; max-width: 26em; }
.section .sub { margin-top: 10px; color: var(--muted); max-width: 40em; }

.grid { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.grid.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; line-height: 1.5; }
.grid b { display: block; font-weight: 600; margin-bottom: 6px; }
.grid li > span:last-child { display: block; color: var(--muted); font-size: .9rem; }
.idx { display: block; font-family: var(--mono); font-size: .75rem; color: var(--accent); margin-bottom: 14px; }
.ico { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--line-strong); }
.ico svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Prices */
.tariffs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.tariff { padding: 24px; }
.tariff + .tariff { border-left: 1px solid var(--line); }
.tariff-price { font-size: 2.1rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.15; white-space: nowrap; }
.tariff-price span { margin-left: 6px; color: var(--faint); font-size: .8rem; font-weight: 500; letter-spacing: 0; }
.tariff-range { display: flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--muted); font-size: .92rem; }
.save { color: var(--ok); font-size: .8rem; font-weight: 600; }
.notes { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: .88rem; }
.notes li { padding-left: 16px; position: relative; }
.notes li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 5px; height: 5px; border-radius: 50%; background: var(--faint); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; max-width: 820px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 600; border-radius: var(--radius); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { background: var(--panel-2); }
.faq details p { padding: 0 22px 20px; color: var(--muted); max-width: 46em; }

/* Rules */
.rules { margin-top: 28px; max-width: 820px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.rules p + p { margin-top: 8px; }

/* Final call */
.final { margin: 72px 0 0; padding: 40px; border: 1px solid var(--line-strong); border-radius: 14px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.final h2 { font-size: 1.6rem; }
.final p { margin-top: 8px; color: var(--muted); }
.final .under { margin-top: 10px; text-align: right; }

/* Footer */
.foot { margin-top: 72px; border-top: 1px solid var(--line); }
.foot .wrap { padding-top: 22px; padding-bottom: 22px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--faint); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }
.main { flex: 1; }

/* Leaving page */
.leave { flex: 1; display: grid; place-items: center; padding: 40px 16px; }
.leave-card { width: 100%; max-width: 480px; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 14px; padding: 32px; }
.leave-card h1 { font-size: 1.45rem; line-height: 1.25; font-weight: 650; }
.leave-card .host { color: var(--text); font-weight: 600; }
.leave-card > p { margin-top: 12px; color: var(--muted); }
.remind { list-style: none; padding: 0; margin: 22px 0 24px; }
.remind li { padding: 11px 0 11px 20px; border-top: 1px solid var(--line); position: relative; font-size: .92rem; }
.remind li:last-child { border-bottom: 1px solid var(--line); }
.remind li::before { content: ""; position: absolute; left: 2px; top: 1.2em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.leave-actions { display: flex; flex-direction: column; gap: 14px; align-items: stretch; text-align: center; margin: 0; }
.leave-actions .btn { width: 100%; cursor: pointer; }
.leave-actions a { color: var(--muted); font-size: .9rem; }
.leave-actions a:hover { color: var(--text); }
.leave-card > p.login { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; font-size: .88rem; }

/* Tablets */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .sample { max-width: 520px; }
  .grid.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Phones */
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .topbar .wrap { height: 56px; }
  .topnav .hide-sm { display: none; }
  .hero { padding: 36px 0 8px; }
  .hero h1 { font-size: 2rem; }
  .lead { font-size: 1.02rem; }
  .actions .btn { flex: 1 1 100%; }
  .section { padding-top: 56px; }
  .section h2 { font-size: 1.4rem; }
  .grid.g4, .grid.g3 { grid-template-columns: 1fr; gap: 8px; }
  .grid li { padding: 16px 18px; }
  .grid .idx, .grid .ico { display: none; }
  .tariffs { grid-template-columns: 1fr; }
  .tariff { display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; }
  .tariff + .tariff { border-left: 0; border-top: 1px solid var(--line); }
  .tariff-price { font-size: 1.5rem; }
  .tariff-range { margin-top: 0; }
  .rules { padding: 20px; }
  .final { padding: 24px 20px; margin-top: 56px; }
  .final .btn { width: 100%; }
  .final .under { text-align: left; }
  .faq summary { padding: 16px 18px; }
  .faq details p { padding: 0 18px 18px; }
  .foot { margin-top: 56px; }
  .leave-card { padding: 24px 20px; }
}
