/* Freedom 2026 booth giveaway — advancedmarketers.co/freedom/ */
@font-face { font-family: 'Bebas Neue'; src: url('/assets/fonts/bebas-neue/BebasNeue-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('/assets/fonts/geist/Geist-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('/assets/fonts/geist/Geist-Medium.ttf') format('truetype'); font-weight: 500 700; font-display: swap; }

:root {
  --bg: #000;
  --surface: #0f0f0f;
  --surface-2: #161616;
  --line: #3a3a3a;
  --text: #fff;
  --muted: #b5b5b0;
  --lime: #B9D53F;           /* Trova lime (hellotrova.com) */
  --lime-ink: #000;
  --error: #ff8a80;
  --radius: 14px;
  --display: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --body: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --trova: 'Chakra Petch', var(--body);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.5 var(--body); }
img, svg { max-width: 100%; }
a { color: var(--lime); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--lime-ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; z-index: 10; }
.skip:focus { left: 16px; }
.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; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.site-header { border-bottom: 1px solid #1d1d1d; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.am-logo img { display: block; height: 22px; width: auto; }
.call-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.call-btn:hover { border-color: var(--lime); }

/* Hero + form */
.hero { padding: clamp(20px, 4vh, 48px) 0 40px; }
.hero .wrap { display: grid; gap: clamp(20px, 3vw, 48px); align-items: start; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1fr 480px; align-items: center; min-height: calc(100svh - 65px - 80px); } }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin: 0 0 10px; }
h1 { font-family: var(--display); font-weight: 400; font-size: clamp(52px, min(11vw, 10vh), 112px); line-height: .9; letter-spacing: .01em; margin: 0 0 14px; text-transform: uppercase; }
h1 em { font-style: normal; color: var(--lime); }
.sub { font-size: clamp(17px, 2vw, 21px); color: var(--text); margin: 0 0 18px; max-width: 34em; }
.sub strong { color: var(--lime); font-weight: 600; }
.sponsor { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin: 0; }
.trova { display: inline-flex; align-items: center; gap: 6px; color: var(--lime); font-family: var(--trova); font-weight: 700; letter-spacing: .08em; font-size: 18px; }
.trova svg { width: 24px; height: 24px; }
.fine { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

.card { background: var(--surface); border: 1px solid #262626; border-radius: 20px; padding: clamp(18px, 3vw, 28px); }
.steps-meta { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.progress { height: 6px; border-radius: 6px; background: #262626; overflow: hidden; margin-bottom: 18px; }
.progress span { display: block; height: 100%; width: 50%; background: var(--lime); transition: width .3s ease; }
.step[hidden] { display: none; }
.step h2 { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; margin: 0 0 14px; letter-spacing: .01em; }

.field { margin-bottom: 12px; }
.field label, legend { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.req { color: var(--muted); font-weight: 400; font-size: 13px; }
input[type=text], input[type=tel], input[type=email] {
  width: 100%; min-height: 52px; padding: 12px 14px; font: 500 17px var(--body); color: var(--text);
  background: var(--surface-2); border: 1px solid #6b6b6b; border-radius: 12px;
}
input::placeholder { color: #8a8a85; }
input:focus-visible { outline: 3px solid var(--lime); outline-offset: 1px; border-color: var(--lime); }
input[aria-invalid=true] { border-color: var(--error); }
.err { color: var(--error); font-size: 14px; margin: 6px 0 0; }
.err:empty { display: none; }
.two { display: grid; gap: 12px; }
@media (min-width: 520px) { .two { grid-template-columns: 1fr 1fr; } .two .field { margin-bottom: 0; } .two { margin-bottom: 12px; } }

fieldset { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.taps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.taps.three { grid-template-columns: repeat(3, 1fr); }
.tap { position: relative; }
.tap input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.tap span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 54px; padding: 8px 10px; border: 1px solid #6b6b6b; border-radius: 12px; background: var(--surface-2); font-weight: 600; font-size: 15px; line-height: 1.2; transition: background .15s, border-color .15s; }
.tap input:checked + span { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.tap input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }
fieldset[aria-invalid=true] .tap span { border-color: var(--error); }

.check { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; margin: 0 0 12px; font-size: 15px; }
.check input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--lime); }
.check.small { font-size: 12.5px; color: var(--muted); line-height: 1.45; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 58px; padding: 0 20px; border: 0; border-radius: 14px; background: var(--lime); color: var(--lime-ink); font: 700 19px var(--body); cursor: pointer; text-decoration: none; }
.btn:hover { filter: brightness(1.06); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn.ghost { background: transparent; color: var(--text); border: 2px solid var(--lime); }
.link-btn { background: none; border: 0; color: var(--muted); font: 500 15px var(--body); padding: 10px 0; min-height: 44px; cursor: pointer; text-decoration: underline; }
.or-call { text-align: center; font-size: 15px; color: var(--muted); margin: 12px 0 0; }
.or-call a { color: var(--text); font-weight: 600; }
.status { margin: 12px 0 0; padding: 12px 14px; border-radius: 10px; background: #2a1414; border: 1px solid var(--error); color: #ffd6d2; font-size: 15px; }
.status[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Entered page */
.done { padding: clamp(28px, 6vh, 64px) 0 48px; text-align: center; }
.done .wrap { max-width: 720px; }
.entry-label { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 18px 0 4px; }
.entry-no { font-family: var(--display); font-size: clamp(72px, 20vw, 140px); line-height: .9; color: var(--lime); margin: 0; letter-spacing: .03em; }
.draw { font-size: 18px; margin: 14px 0 0; }
.draw strong { color: var(--lime); }
.diag { margin-top: 36px; text-align: left; }
.diag h2 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 6vw, 48px); line-height: 1; margin: 0 0 16px; text-align: center; }
.diag .btns { display: grid; gap: 12px; }
@media (min-width: 620px) { .diag .btns { grid-template-columns: 1fr 1fr; } }
.cal { margin-top: 16px; border-radius: 14px; overflow: hidden; background: #fff; }
.cal iframe { display: block; width: 100%; height: 760px; border: 0; }
.notice { margin-top: 16px; padding: 16px; border-radius: 12px; border: 1px solid var(--lime); background: #141a05; text-align: center; font-size: 17px; }
.audit { margin: 28px 0 0; font-size: 18px; text-align: center; }

/* Legal pages */
.legal { padding: 32px 0 56px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(44px, 8vw, 72px); }
.legal h2 { font-size: 20px; margin: 28px 0 8px; }
.legal p, .legal li { color: #e6e6e1; }
.legal .updated { color: var(--muted); font-size: 14px; }

.site-footer { border-top: 1px solid #1d1d1d; padding: 22px 0 28px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-footer a { color: var(--muted); display: inline-block; padding: 6px 0; }

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

/* ---- Entry page: header, hero, form and footer fit one screen (no scroll) ---- */
.entry-page { min-height: 100svh; display: flex; flex-direction: column; }
.entry-page main { flex: 1 0 auto; display: flex; }
.entry-page .hero { flex: 1; display: flex; padding: clamp(6px, 1.2svh, 24px) 0; }
.entry-page .hero .wrap { min-height: 0; gap: clamp(8px, 1.6svh, 40px); align-content: center; }
.entry-page .site-header .wrap { min-height: 48px; }
.entry-page .am-logo img { height: 18px; }
.entry-page .eyebrow { font-size: 12px; margin-bottom: 4px; }
.entry-page h1 { font-size: clamp(34px, min(10.4vw, 7svh), 104px); margin-bottom: clamp(4px, 1svh, 14px); }
.entry-page .sub { font-size: clamp(14px, min(3.8vw, 2.3svh), 21px); line-height: 1.35; margin-bottom: clamp(4px, 1svh, 16px); }
.entry-page .sponsor { font-size: 13px; }
.entry-page .trova { font-size: 15px; }
.entry-page .trova svg { width: 20px; height: 20px; }

.entry-page .card { padding: clamp(10px, 1.6svh, 24px) clamp(12px, 3.5vw, 24px); border-radius: 16px; }
.entry-page .steps-meta { font-size: 13px; margin-bottom: 4px; min-height: 24px; }
.entry-page .steps-meta .link-btn { min-height: 24px; padding: 0 6px; font-size: 14px; color: var(--text); }
.entry-page .progress { height: 5px; margin-bottom: clamp(6px, 1.2svh, 14px); }
.entry-page .step h2 { font-size: clamp(22px, 3.4svh, 30px); margin-bottom: clamp(6px, 1svh, 12px); }
.entry-page .field { margin-bottom: clamp(6px, 1.1svh, 12px); }
.entry-page .field label, .entry-page legend { font-size: 13px; line-height: 1.25; margin-bottom: 2px; }
.entry-page input[type=text], .entry-page input[type=tel], .entry-page input[type=email] { min-height: clamp(42px, 6svh, 50px); padding: 8px 12px; font-size: 16px; border-radius: 10px; }
.entry-page .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 0; }
.entry-page .two .field { margin-bottom: clamp(6px, 1.1svh, 12px); }
.entry-page .err { font-size: 12.5px; margin-top: 3px; }
.entry-page .btn { min-height: clamp(44px, 6.4svh, 56px); font-size: 18px; border-radius: 12px; }

.entry-page fieldset { margin-bottom: clamp(4px, 0.9svh, 12px); }
.entry-page .taps { gap: 6px; }
.entry-page .taps.four { grid-template-columns: repeat(4, 1fr); }
.entry-page .tap span { min-height: clamp(34px, 5.2svh, 50px); padding: 2px 4px; font-size: 13.5px; border-radius: 10px; }
.entry-page .taps.four .tap span { font-size: 12.5px; white-space: nowrap; letter-spacing: -.01em; }
.entry-page .check { grid-template-columns: 24px 1fr; gap: 8px; margin-bottom: 6px; font-size: 14px; }
.entry-page .check input { width: 22px; height: 22px; }
.entry-page .check.small { font-size: 10.5px; line-height: 1.25; margin-bottom: clamp(6px, 1.2svh, 12px); }
.entry-page .or-call { font-size: 13px; margin-top: clamp(6px, 1svh, 10px); }
.entry-page .or-call .fine { font-size: 12px; margin: 0; }
.entry-page .site-footer { padding: 0 0 2px; font-size: 12px; line-height: 1.2; }
.entry-page .site-footer a { padding: 5px 0; }
.entry-page .site-footer nav { gap: 0 14px; }

@media (max-width: 959px) {
  .entry-page .eyebrow { display: none; }
  .entry-page .site-footer .wrap > span { display: none; }
  .entry-page .site-footer .wrap { justify-content: center; }
  /* Step 2 needs the whole screen on phones: hide the hero copy visually (H1 stays for screen readers). */
  .on-step-2 .hero-copy { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 960px) {
  .entry-page .hero .wrap { grid-template-columns: 1fr 460px; min-height: 0; }
  .entry-page h1 { font-size: clamp(56px, min(6.4vw, 12svh), 116px); }
  .entry-page .sub { font-size: clamp(17px, 2.6svh, 21px); }
  .entry-page .sponsor { font-size: 15px; }
  .entry-page .trova { font-size: 18px; }
}

/* GHL survey embed */
.entry-page .survey-card iframe { display: block; min-height: 380px; border-radius: 12px; }
.entry-page .survey-card .or-call { margin: 8px 0 0; line-height: 1.45; }
