:root {
  --bg: #0b0a09;
  --bg-2: #121110;
  --card: rgba(20, 19, 18, 0.82);
  --input: #1b1a19;
  --line: #34312e;
  --line-soft: #24221f;
  --text: #ffffff;
  --muted: #b9b4ae;
  --dim: #8a857f;
  --orange: #f39325;
  --orange-hi: #ffa53d;
  --error: #ff6b5b;
  --ok: #4fd18b;
  --radius: 10px;
  --wrap: 1120px;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: baseline;
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -0.03em;
  line-height: 1;
  text-decoration: none;
  font-style: italic;
}
.logo .casi { color: #fff; }
.logo .pop { color: var(--orange); position: relative; }
.logo .pop svg {
  position: absolute;
  left: 4%;
  bottom: -9px;
  width: 92%;
  height: 12px;
}

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  padding-top: 20px;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}


/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 600px;
  padding: 150px 0 140px;
  background:
    radial-gradient(ellipse at 70% 10%, rgba(243,147,37,.12), transparent 60%),
    linear-gradient(180deg, #14110e 0%, var(--bg) 100%);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11,10,9,.92) 0%, rgba(11,10,9,.7) 35%, rgba(11,10,9,.15) 65%, rgba(11,10,9,0) 100%),
    url("assets/hero.webp") right center / cover no-repeat;
  -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 25%);
  mask-image: linear-gradient(0deg, transparent 0%, #000 25%);
}
.hero-content { position: relative; z-index: 2; max-width: 560px; }

.eyebrow {
  position: relative;
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: -20px; top: -32px;
  width: 56px; height: 1px;
  background: var(--orange);
}
.eyebrow span { color: var(--orange); }

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: normal; color: var(--orange); display: block; }
.hero .lead {
  margin: 0;
  font-size: clamp(17px, 2.2vw, 21px);
  color: #e9e5e0;
  font-weight: 300;
  max-width: 26ch;
}

/* ---------- Video ---------- */
.video-section { padding-top: 40px; }
.video {
  position: relative;
  aspect-ratio: 1920 / 784;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: #000;
  box-shadow: 0 30px 60px rgba(0,0,0,.55);
}
.video-thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  padding: 0; border: 0; cursor: pointer;
  background: url("assets/video-poster.jpg") center / cover no-repeat;
}
.video-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,.3);
  transition: background .25s;
}
.video-thumb:hover::after { background: rgba(0,0,0,.12); }
.play {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  width: clamp(64px, 11%, 120px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid; place-items: center;
  transition: transform .25s, border-color .25s, background .25s;
}
.play svg { width: 34%; height: 34%; margin-left: 5%; fill: #fff; }
.video-thumb:hover .play {
  transform: translate(-50%, -50%) scale(1.06);
  border-color: var(--orange);
  background: rgba(243,147,37,.18);
}
.video video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.video-error {
  position: absolute; inset: 0; display: grid; place-items: center;
  padding: 20px; text-align: center; color: var(--muted); font-size: 15px;
  background: rgba(0,0,0,.7);
}

/* ---------- Signup form ---------- */
.signup { position: relative; z-index: 3; margin-top: -100px; padding-bottom: 10px; }
.card {
  max-width: 650px;
  margin: 0 auto;
  padding: 36px 38px 38px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.card h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.card .sub { margin: 0 0 26px; color: #ddd8d2; font-size: 17px; font-weight: 300; }

.field {
  display: flex;
  align-items: center;
  height: 60px;
  background: var(--input);
  border: 1px solid var(--line);
  border-radius: 7px;
  transition: border-color .2s, box-shadow .2s;
}
.field:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(243,147,37,.15); }
.field.invalid { border-color: var(--error); }
.field-icon { flex: none; width: 24px; height: 24px; margin: 0 16px 0 18px; color: #d9d4ce; }
.field input {
  flex: 1; min-width: 0; height: 100%;
  background: transparent; border: 0; outline: none;
  font-size: 16px; color: #fff;
  padding-right: 16px;
}
.field input::placeholder { color: var(--dim); }

.cc {
  position: relative; flex: none;
  display: flex; align-items: center;
  padding-right: 14px; margin-right: 14px;
}
.cc::after {
  content: ""; position: absolute; right: 0; top: 50%;
  width: 1px; height: 22px; transform: translateY(-50%);
  background: var(--line);
}
.cc select {
  appearance: none; -webkit-appearance: none;
  background: transparent; border: 0; outline: none; cursor: pointer;
  font-size: 16px; font-weight: 500;
  padding: 6px 22px 6px 2px;
}
.cc select option { background: var(--bg-2); color: #fff; }
.cc svg { position: absolute; right: 16px; width: 12px; height: 12px; pointer-events: none; }

.error-msg:empty { margin: 0 0 12px; }
.error-msg {
  margin: 6px 2px 12px;
  font-size: 13px; color: var(--error);
}

.check {
  display: flex; gap: 14px; align-items: flex-start;
  margin: 10px 0 26px;
  font-size: 14px; color: #ddd8d2; line-height: 1.6;
  cursor: pointer;
}
.check input {
  appearance: none; -webkit-appearance: none;
  flex: none; width: 22px; height: 22px; margin: 2px 0 0;
  border-radius: 4px; background: #d9d6d2; cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s;
}
.check input::after {
  content: ""; width: 6px; height: 11px;
  border: solid #1a1a1a; border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) translate(-1px, -1px) scale(0);
  transition: transform .15s;
}
.check input:checked { background: var(--orange); }
.check input:checked::after { transform: rotate(45deg) translate(-1px, -1px) scale(1); }
.check a { color: #fff; text-underline-offset: 3px; }
.check a:hover { color: var(--orange); }

.cta {
  width: 100%; height: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--orange); color: #1a1208;
  border: 0; border-radius: 6px; cursor: pointer;
  font-size: 16px; font-weight: 700; letter-spacing: 0.04em;
  transition: background .2s, transform .1s;
}
.cta:hover { background: var(--orange-hi); }
.cta:active { transform: translateY(1px); }
.cta:disabled { opacity: .7; cursor: wait; }
.cta svg { width: 20px; height: 20px; transition: transform .2s; }
.cta:hover svg { transform: translateX(3px); }

.form-status {
  margin: 14px 0 0; font-size: 15px; text-align: center; min-height: 1px;
}
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--error); }

.success { text-align: center; padding: 20px 0 6px; }
.success-icon {
  width: 64px; height: 64px; margin: 0 auto 16px;
  border: 2px solid var(--orange); border-radius: 50%;
  display: grid; place-items: center; color: var(--orange);
}
.success-icon svg { width: 30px; height: 30px; }
.success p { color: #ddd8d2; margin: 0; }

/* ---------- Benefits ---------- */
.benefits { padding: 50px 0 70px; }
.benefits ul {
  display: grid; grid-template-columns: repeat(3, 1fr);
  max-width: 820px; margin: 0 auto; padding: 0; list-style: none;
}
.benefits li {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 6px 12px; text-align: center;
  font-size: 15px; font-weight: 500; letter-spacing: 0.08em; line-height: 1.35;
  text-transform: uppercase;
}
.benefits li + li { border-left: 1px solid var(--line); }
.benefits svg { width: 44px; height: 44px; color: var(--orange); }

/* ---------- Footer ---------- */
.site-footer .wrap {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
  padding-top: 26px; padding-bottom: 36px;
  border-top: 1px solid var(--line-soft);
}
.site-footer .logo { font-size: 30px; }
.foot-links { display: flex; align-items: center; flex-wrap: wrap; font-size: 14px; }
.foot-links a { text-decoration: none; padding: 4px 16px; color: #e8e4df; }
.foot-links a:hover { color: var(--orange); }
.foot-links > * + * { border-left: 1px solid var(--line); }
.age { padding: 4px 0; font-weight: 500; }

/* ---------- Simple content pages ---------- */
.page { padding: 140px 0 60px; min-height: 70vh; }
.page h1 { font-size: clamp(32px, 5vw, 48px); margin: 0 0 20px; line-height: 1.1; }
.page h1 em { font-style: normal; color: var(--orange); }
.page p, .page li { color: #ddd8d2; max-width: 70ch; }
.page h2 { font-size: 22px; margin: 32px 0 10px; }
.back { display: inline-flex; gap: 8px; margin-top: 30px; color: var(--orange); text-decoration: none; font-weight: 500; }

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .logo { font-size: 30px; }
  .hero { padding: 130px 0 130px; min-height: 0; }
  .hero-media {
    background:
      linear-gradient(90deg, rgba(11,10,9,.85) 0%, rgba(11,10,9,.45) 60%, rgba(11,10,9,.1) 100%),
      url("assets/hero.webp") 82% center / cover no-repeat;
  }
  .signup { margin-top: -80px; }
  .eyebrow { font-size: 12px; letter-spacing: 0.28em; }
  .eyebrow::before { left: -16px; top: -26px; }
  .card { padding: 28px 20px 26px; }
  .field { height: 56px; }
  .field-icon { margin: 0 12px 0 14px; }
  .cc { padding-right: 10px; margin-right: 10px; }
  .benefits li { font-size: 12.5px; padding: 6px 6px; }
  .benefits svg { width: 38px; height: 38px; }
}

@media (max-width: 380px) {
  .benefits li { font-size: 11.5px; letter-spacing: 0.05em; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* Honeypot field for bots; hidden from people */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
