:root {
  --bg: #07080c;
  --bg-2: #101218;
  --text: #f5f5f7;
  --muted: #a1a1aa;
  --line: rgba(255,255,255,0.1);
  --purple: #8b5cf6;
  --blue: #60a5fa;
  --max: 1120px;
  --gap: clamp(16px, 3vw, 32px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(96,165,250,0.16), transparent 60%),
    radial-gradient(800px 380px at 100% 0%, rgba(139,92,246,0.18), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 20;
  background: #fff; color: #111; padding: 8px 12px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }
.wrap { width: min(100% - (var(--gap) * 2), var(--max)); margin-inline: auto; }
.wrap-wide { width: min(100% - (var(--gap) * 2), 1240px); margin-inline: auto; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}
.logo img { display: block; height: 88px; width: auto; }
.header-tools { display: flex; align-items: center; gap: 12px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; justify-content: flex-end; }
.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #e4e4e7;
}
.site-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--purple); }
.lang-switcher, .nav-toggle {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: #fff;
  border-radius: 999px;
}
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
}
.lang-switcher select {
  background: transparent; color: #fff; border: 0; font-size: 14px; min-height: 36px;
}
.lang-switcher option { color: #111; }
.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #a1a1aa;
}
.lang-link.is-active {
  background: linear-gradient(90deg, rgba(124,58,237,0.9), rgba(37,99,235,0.9));
  color: #fff;
}
.nav-toggle { display: none; min-height: 44px; padding: 0 14px; font-weight: 700; cursor: pointer; }
.flow-line {
  margin: 28px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #e4e4e7;
}
.gallery-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.gallery-item { margin: 0; }
.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,0.92);
}
.photo-lightbox[hidden] { display: none !important; }
.photo-lightbox img {
  max-width: min(100%, 1400px);
  max-height: calc(100vh - 48px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}
.photo-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
body.lightbox-open { overflow: hidden; }

.hero { padding: clamp(36px, 7vh, 88px) 0 clamp(28px, 5vh, 56px); }
.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  color: #ddd6fe;
}
h1 { margin: 0 0 16px; font-size: clamp(34px, 5vw, 60px); line-height: 1.08; letter-spacing: -0.03em; max-width: 16em; }
.lead { margin: 0; max-width: 720px; color: var(--muted); font-size: clamp(17px, 2vw, 20px); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 18px; border-radius: 12px;
  font-weight: 700; border: 1px solid transparent; cursor: pointer; font-size: 15px;
}
.btn-primary { background: linear-gradient(90deg, #7c3aed, #2563eb); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line); color: #fff; }
.section { padding: 56px 0; }
h2 { margin: 0 0 12px; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; letter-spacing: -0.02em; }
h3 { margin: 0 0 8px; font-size: 20px; }
.sub { margin: 0 0 24px; color: var(--muted); max-width: 720px; }
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.card p, .prose p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.step-no { color: var(--blue); font-weight: 800; font-size: 13px; letter-spacing: 0.08em; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: center;
}
.shot, .wide-shot, .hero-visual {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #0b0c10;
  display: block;
}
.figure-grid { display: grid; gap: 22px; }
.figure-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.figure-grid figure, .hero-visual { margin: 0; }
.figure-grid figcaption, .note { margin-top: 8px; }
.note { color: var(--muted); font-size: 13px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat strong { display: block; font-size: 32px; letter-spacing: -0.03em; }
.stat span { color: var(--muted); font-size: 14px; }
.band {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(22px, 4vw, 36px);
  background: linear-gradient(180deg, rgba(139,92,246,0.12), rgba(255,255,255,0.02));
}
label { display: block; font-weight: 700; margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  margin-bottom: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.28);
  color: #fff;
  font: inherit;
}
textarea { min-height: 120px; resize: vertical; }
.field-error { min-height: 18px; margin: 0 0 12px; color: #fda4af; font-size: 13px; }
.form-status {
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(96,165,250,0.35);
  background: rgba(37,99,235,0.12);
}
.form-status[hidden], .copy-box[hidden] { display: none; }
.qr-grid { display: grid; grid-template-columns: repeat(2, minmax(220px, 280px)); gap: 16px; justify-content: start; }
.qr-grid img { background: #fff; border-radius: 16px; padding: 8px; }
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
}
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 10px; }
.footer a { text-decoration: underline; text-underline-offset: 3px; }
.list { margin: 0; padding-left: 18px; color: var(--muted); }
.list li { margin: 6px 0; }

@media (max-width: 980px) {
  .grid-4, .stats { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-grid, .figure-grid.two { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .site-header { flex-wrap: wrap; }
  .header-tools { width: auto; margin-left: auto; }
  .site-nav {
    display: none;
    width: 100%;
    order: 3;
    padding-top: 8px;
    flex-direction: column;
    align-items: flex-start;
  }
  .site-header.nav-open .site-nav { display: flex; }
  .logo img { height: 64px; }
  .grid-3, .grid-2, .grid-4, .stats, .qr-grid { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
