:root {
  --bg: #0f1117;
  --card: #1a1d26;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --primary: #8b5cf6;
  --accent: #38bdf8;
  --border: #2d3748;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: dark; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
.container { max-width: 880px; margin: 0 auto; padding: 0 16px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
[hidden] { display: none !important; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 22px; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 9px; }
.lang-nav { display: flex; gap: 8px; }
.lang-btn { background: var(--card); border: 1px solid var(--border); color: var(--text); padding: 6px 14px; border-radius: 20px; cursor: pointer; font-size: 13px; }
.lang-btn[aria-pressed="true"], .lang-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

main { padding: 28px 0 8px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; margin-bottom: 22px; }
h1 { font-size: clamp(28px, 6vw, 44px); line-height: 1.15; color: #fff; margin-bottom: 14px; }
h2 { font-size: 22px; color: #fff; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
h3 { font-size: 16px; color: var(--accent); margin: 18px 0 6px; }
p, li { font-size: 15px; margin-bottom: 12px; }
ul { padding-left: 20px; margin-bottom: 14px; }
.badge { display: inline-block; background: rgba(139, 92, 246, 0.15); color: #c084fc; padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; margin-bottom: 12px; }
.muted { color: var(--muted); }

.hero { display: grid; gap: 24px; padding: 20px 0 8px; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 56ch; }
.cta { display: inline-block; background: var(--primary); color: #fff; padding: 12px 22px; border-radius: 12px; font-weight: 700; margin-top: 8px; }
.cta:hover { text-decoration: none; filter: brightness(1.1); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 22px; }
.grid .card { margin: 0; }
.grid h3 { margin-top: 0; color: #fff; }
.shots { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 22px; scroll-snap-type: x mandatory; }
.shots img { height: 460px; width: auto; border-radius: 16px; border: 1px solid var(--border); scroll-snap-align: start; flex: none; }
.shots:empty { display: none; }

form { display: grid; gap: 12px; max-width: 420px; }
label { font-size: 14px; color: var(--muted); }
input { width: 100%; padding: 12px; border-radius: 10px; border: 1px solid var(--border); background: #0f1117; color: var(--text); font-size: 16px; }
button.primary { background: var(--primary); color: #fff; border: 0; padding: 12px; border-radius: 10px; font-size: 16px; font-weight: 700; cursor: pointer; }
button.primary:disabled { opacity: .6; cursor: default; }
.status { font-size: 14px; min-height: 1.4em; }
.status.error { color: #fca5a5; }
.status.ok { color: #86efac; }

.site-footer { text-align: center; color: var(--muted); font-size: 13px; margin-top: 30px; padding: 22px 0 36px; border-top: 1px solid var(--border); }
.site-footer nav { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 10px; }
.site-footer p { font-size: 13px; }

/* home: hero with phone, plans table, questions */
.hero.split { align-items: center; }
.hero-shot { display: none; }
.hero-shot img { display: block; width: 100%; max-width: 250px; height: auto; margin: 0 auto; border-radius: 26px; border: 1px solid var(--border); box-shadow: 0 24px 70px rgba(139, 92, 246, 0.28); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 14px; }
.hero-actions .cta { margin-top: 0; }
.cta.ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.cta.ghost:hover { border-color: var(--primary); filter: none; }
.shots::before, .shots::after { content: ""; margin: auto; }
@media (min-width: 640px) {
  .hero.split { grid-template-columns: 1.3fr 0.7fr; }
  .hero-shot { display: block; }
  .shots .only-mobile { display: none; }
}
.card[id] { scroll-margin-top: 16px; }
.table-wrap { overflow-x: auto; margin-bottom: 14px; }
table.plans { width: 100%; min-width: 620px; table-layout: fixed; border-collapse: collapse; font-size: 14px; }
table.plans th:first-child { width: 24%; position: sticky; left: 0; background: var(--card); }
table.plans th, table.plans td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
table.plans thead th { color: #fff; font-size: 15px; }
table.plans thead th:last-child, table.plans td:last-child { color: #e9d5ff; }
table.plans tbody th { color: var(--muted); font-weight: 600; width: 24%; }
table.plans small { display: block; color: var(--muted); font-size: 12px; line-height: 1.4; }
table.plans tbody tr:last-child th, table.plans tbody tr:last-child td { border-bottom: 0; }
details { border-bottom: 1px solid var(--border); padding: 12px 0; }
details:last-child { border-bottom: 0; padding-bottom: 0; }
summary { cursor: pointer; font-weight: 600; color: #fff; font-size: 15px; }
details p { margin: 10px 0 0; color: var(--muted); }
