:root {
  color-scheme: dark;
  --bg: #050506;
  --panel: rgba(18, 18, 20, 0.92);
  --panel-2: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f5f1ea;
  --muted: #aaa29a;
  --gold: #d7b56d;
  --ok: #8ee2b3;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
}

body {
  -webkit-text-size-adjust: 100%;
  overscroll-behavior: none;
}

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  width: min(100%, 620px);
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: max(28px, env(safe-area-inset-bottom));
}

.hero {
  position: relative;
  min-height: 68vh;
  overflow: hidden;
  background: #09090b;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(5, 5, 6, 0.1), rgba(5, 5, 6, 0.86));
}

.hero img {
  width: 100%;
  height: 68vh;
  object-fit: cover;
  display: block;
}

.brand-line {
  position: absolute;
  z-index: 2;
  top: max(18px, env(safe-area-inset-top));
  left: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.brand-line span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(215, 181, 109, 0.55);
  border-radius: 50%;
  color: var(--gold);
  font-weight: 700;
}

.hero-copy {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 28px;
}

.hero-copy p,
.trust-card span,
.spec-grid span,
footer a {
  color: var(--muted);
}

.hero-copy h1 {
  margin: 6px 0 8px;
  font-size: clamp(34px, 10vw, 56px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy strong {
  font-size: 24px;
  color: var(--gold);
}

.trust-card,
.lead-panel,
.legal-page,
.success {
  margin: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
}

.trust-card {
  display: grid;
  gap: 16px;
}

.trust-card h2,
.lead-panel h2,
.legal-page h1,
.success h1 {
  margin: 4px 0 0;
  letter-spacing: 0;
}

.score-ring {
  --score: 80;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--gold) calc(var(--score) * 1%), rgba(255,255,255,0.08) 0);
}

.score-ring b {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  background: #09090b;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.spec-grid article {
  padding: 12px;
  border-radius: 16px;
  background: var(--panel-2);
}

.spec-grid strong {
  display: block;
  margin-top: 4px;
}

.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 10px;
  padding: 0 14px 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  scroll-snap-align: start;
}

.lead-panel form {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  outline: none;
}

.checkbox {
  grid-template-columns: 22px 1fr;
  align-items: start;
  font-size: 14px;
  line-height: 1.35;
}

button,
.success a,
.legal-page a {
  min-height: 48px;
  border: 0;
  border-radius: 16px;
  padding: 0 18px;
  background: linear-gradient(135deg, #f0d48a, #b98a3a);
  color: #16100a;
  font-weight: 800;
  text-decoration: none;
}

button:disabled {
  opacity: 0.62;
}

footer {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 14px;
  font-size: 13px;
}

.success {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: start;
}

.success-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--ok), #1d7d52);
  box-shadow: 0 0 40px rgba(142, 226, 179, 0.35);
}

.skeleton {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.skeleton span {
  min-height: 140px;
  border-radius: 20px;
  background: linear-gradient(90deg, #121214, #222227, #121214);
  background-size: 220% 100%;
  animation: shimmer 1.2s infinite;
}

.legal-page {
  min-height: calc(100vh - 28px);
}

@keyframes shimmer {
  to {
    background-position: -220% 0;
  }
}

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