@font-face {
  font-family: Oswald;
  src: url('/media/oswald-cyrillic.woff2') format('woff2');
  font-weight: 200 700;
  font-display: swap;
  unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Oswald;
  src: url('/media/oswald-latin.woff2') format('woff2');
  font-weight: 200 700;
  font-display: swap;
  unicode-range: U+0000-00FF,U+2000-206F;
}
:root {
  color-scheme: dark;
  --bg: #100f0d;
  --panel: #171511;
  --text: #f9f6ef;
  --muted: #c1b8a9;
  --gold: #e5c388;
  --line: #423628;
  font: 16px/1.5 system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #0b0a09; color: var(--text); }
main { max-width: 550px; margin: auto; background: var(--bg); min-height: 100svh; }
.cover {
  min-height: 405px;
  display: flex;
  background: linear-gradient(0deg, #100f0d 1%, #100f0df2 13%, #100f0d66 48%, #100f0d08 75%, #100f0daa),
    url('/media/training.webp') 56% 20% / cover;
}
.cover-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: max(22px, env(safe-area-inset-top)) 23px 20px;
}
.brand { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.brand-logo { display: flex; align-items: center; gap: 8px; }
.brand-logo img { object-fit: contain; }
.eyebrow { color: var(--gold); font-size: .69rem; font-weight: 680; letter-spacing: .14em; text-transform: uppercase; }
.location { text-align: right; }
p, h1, h2 { margin: 0; }
h1 { margin: 7px 0 10px; font: 650 clamp(3.2rem, 11.5vw, 4.35rem)/1.02 Oswald, sans-serif; text-transform: uppercase; }
.tagline { font: 500 1.16rem/1.25 Oswald, sans-serif; text-transform: uppercase; color: var(--gold); letter-spacing: .1em; }
.content { padding: 0 23px max(22px, env(safe-area-inset-bottom)); }
.offer { border-block: 1px solid var(--line); padding: 14px 0; display: flex; justify-content: space-between; align-items: center; }
.price { font: 600 2.55rem/1.15 Oswald, sans-serif; color: var(--gold); margin-top: 3px; }
.price span { font-size: 1.2rem; }
.sample { object-fit: contain; border: 1px solid var(--line); border-radius: 3px; }
.panel { margin-top: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 13px; padding: 18px; }
h2 { font-size: 1.24rem; letter-spacing: -.025em; line-height: 1.25; }
#instructions { margin-top: 9px; color: var(--muted); font-size: .9rem; }
form { display: grid; gap: 6px; margin-top: 17px; }
label { font-weight: 600; font-size: .83rem; }
input {
  width: 100%; min-height: 48px; padding: 10px 11px; background: var(--bg); color: var(--text);
  border: 1px solid #564937; border-radius: 7px; font: inherit; margin-bottom: 6px;
}
input::placeholder { color: #a59a88; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.primary, .secondary {
  min-height: 46px; display: flex; align-items: center; justify-content: center; width: 100%; padding: 9px 12px;
  border-radius: 7px; font: 650 .91rem/1.3 system-ui, sans-serif; cursor: pointer; text-align: center; text-decoration: none;
}
.primary { margin-top: 8px; color: #17120a; background: var(--gold); border: 1px solid var(--gold); }
#open-bot { margin-top: 17px; }
.secondary { color: var(--gold); background: transparent; border: 1px solid #65523a; }
button:disabled { opacity: .6; cursor: default; }
.actions { display: grid; gap: 7px; margin-top: 14px; }
.feedback { margin-top: 12px; font-size: .88rem; }
.feedback.error { color: #ffb8a6; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 15px; padding-top: 18px; }
footer a { color: var(--muted); font-size: .78rem; text-underline-offset: 4px; }
@media (max-width: 350px) {
  .content, .cover-inner { padding-inline: 15px; }
  .panel { padding: 14px; }
}
