/* Titans application funnel. Seven Figure Agency design system tokens.
   Headlines: Barlow Black 900, uppercase, tight leading. Body: Montserrat.
   SFA Red is an accent, not a wash: one red element doing real work per view. */

@font-face { font-family: "Barlow"; font-weight: 900; font-style: normal; font-display: swap; src: url("../fonts/Barlow-Black.ttf") format("truetype"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/Barlow-Bold.ttf") format("truetype"); }

:root {
  --red: #cf1f36;
  --red-dark: #a81729;
  --ink: #0a0a0a;
  --charcoal: #32373c;
  --gray: #6b7177;
  --gray-light: #b9b9b4;
  --off-white: #ededea;
  --white: #ffffff;
  --dark-raised: #16181a;
  --text-on-dark: #d6d6d2;
  --hairline: rgba(10, 10, 10, 0.12);
  --hairline-dark: rgba(255, 255, 255, 0.16);
  --input-border: rgba(10, 10, 10, 0.24);
  --display: "Barlow", "Arial Narrow", Impact, sans-serif;
  --body: "Montserrat", "Segoe UI", Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--white); }
body.page--app { background: var(--off-white); }
body.page--dark { background: var(--ink); color: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

/* Layout */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.section { padding-top: 96px; padding-bottom: 96px; }
.section--dark { background: var(--ink); color: var(--white); }
.section--light { background: var(--off-white); }
.section--white { background: var(--white); }
.stack { display: flex; flex-direction: column; gap: 32px; }
.two-col { display: flex; flex-wrap: wrap; gap: 48px; }
.two-col > * { flex: 1 1 440px; min-width: 0; }
.grid { display: flex; flex-wrap: wrap; gap: 24px; }
.grid > * { flex: 1 1 250px; min-width: 0; }

/* Type */
h1, h2, h3, .display { margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: 0.98; letter-spacing: -0.01em; }
h1 { font-size: clamp(44px, 6.5vw, 76px); }
h2 { font-size: clamp(36px, 4.6vw, 52px); }
h3 { font-size: clamp(28px, 3.2vw, 40px); }
h4 { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray); }
.section--dark .eyebrow, .page--dark .eyebrow { color: var(--gray-light); }
.bar { width: 56px; height: 6px; background: var(--red); }
.lead { max-width: 760px; font-size: 20px; line-height: 1.6; color: var(--charcoal); }
.section--dark .lead, .section--dark .body, .page--dark .lead { color: var(--text-on-dark); }
.body { font-size: 17px; line-height: 1.6; color: var(--charcoal); }
.accent { color: var(--red); }
.fine { font-size: 14px; line-height: 1.55; color: var(--gray); }
.section--dark b, .page--dark b { color: var(--white); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 32px; background: var(--red); color: var(--white); font-family: var(--body); font-size: 15px; font-weight: 700; line-height: 1; letter-spacing: 0.06em; text-transform: uppercase; border: 0; border-radius: 4px; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--red-dark); color: var(--white); }
.btn--lg { min-height: 60px; padding: 0 40px; font-size: 16px; }
.btn--sm { min-height: 48px; padding: 0 24px; font-size: 14px; }
.btn--ghost { background: transparent; border: 2px solid var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--ink); }

/* Header and footer */
.site-header { background: var(--ink); border-bottom: 1px solid var(--hairline-dark); }
.site-header .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.brand span { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-light); }
.steps { display: flex; gap: 12px; }
.step { display: flex; flex-direction: column; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-light); }
.step::before { content: ""; display: block; width: 72px; height: 4px; background: rgba(255, 255, 255, 0.24); }
.step.is-done::before, .step.is-active::before { background: var(--red); }
.step.is-active { color: var(--white); }
.site-footer { background: var(--ink); border-top: 1px solid var(--hairline-dark); color: var(--gray-light); }
.site-footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.site-footer img { height: 28px; width: auto; }
.site-footer p { max-width: 560px; font-size: 14px; line-height: 1.5; }

/* Hero */
.hero .container { display: flex; flex-direction: column; gap: 32px; padding-top: 96px; padding-bottom: 88px; }
.hero h1 { max-width: 1000px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.hero-cta p { color: var(--gray-light); }

/* Video slot: replace the inner markup with the embed; keep the wrapper */
.video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--dark-raised); border: 1px solid var(--hairline-dark); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.video--hero { max-width: 960px; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .play { width: 80px; height: 80px; padding: 0; border: 0; border-radius: 50%; background: var(--red); color: var(--white); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.video .play:hover { background: var(--red-dark); }
.video .play svg { width: 32px; height: 32px; margin-left: 4px; }
.video p { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-light); text-align: center; padding: 0 16px; }

/* Stats strip */
.stats { background: var(--off-white); border-bottom: 1px solid var(--hairline); }
.stats .container { display: flex; flex-wrap: wrap; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
.stat { flex: 1 1 220px; }
.stat b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(40px, 4.5vw, 56px); line-height: 1; color: var(--ink); }
.stat b.accent { color: var(--red); }
.stat span { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); }

/* Section heads */
.section-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.section-head p { max-width: 720px; font-size: 18px; line-height: 1.6; color: var(--charcoal); }
.section--dark .section-head p { color: var(--text-on-dark); }

/* Cards */
.card { background: var(--white); border: 1px solid var(--hairline); border-radius: 8px; padding: 28px; }
.card--accent { border-top: 4px solid var(--red); }
.card--outline { background: transparent; }
.member .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--off-white); margin-bottom: 12px; object-fit: cover; }
.member h4 { margin-bottom: 4px; }
.member p { font-size: 15px; color: var(--charcoal); }
.member small { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); }

/* Numbered items */
.num { flex: none; width: 48px; font-family: var(--display); font-weight: 900; font-size: 40px; line-height: 1; color: var(--red); }
.num--lg { width: auto; font-size: 48px; }
.agenda { display: flex; flex-direction: column; gap: 28px; }
.agenda li { display: flex; gap: 20px; align-items: flex-start; }
.agenda p { font-size: 17px; line-height: 1.55; color: var(--text-on-dark); }
.panel { background: var(--dark-raised); border: 1px solid var(--hairline-dark); border-radius: 8px; padding: 40px; display: flex; flex-direction: column; gap: 24px; }
.steps-grid .card { display: flex; flex-direction: column; gap: 14px; padding: 32px; }
.steps-grid p { font-size: 16px; line-height: 1.55; color: var(--charcoal); }

/* Checklists */
.checklist { display: flex; flex-direction: column; gap: 18px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 1.5; color: var(--charcoal); }
.checklist svg { flex: none; width: 22px; height: 22px; margin-top: 3px; }
.card .checklist { margin-top: 6px; }
.card .eyebrow + .checklist { margin-top: 18px; }
.fit .card { padding: 36px; }

/* Price panel */
.price-row { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--hairline-dark); font-size: 16px; }
.price-row + .price-row { padding-top: 0; }
.price-row:last-of-type { border-bottom: 0; padding-bottom: 0; }
.price-row b { color: var(--white); }
.panel .btn { margin-top: 12px; }

/* FAQ */
.faq { border-top: 1px solid var(--hairline); }
.faq-item { display: flex; flex-wrap: wrap; gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--hairline); }
.faq-item h4 { flex: 1 1 320px; }
.faq-item p { flex: 2 1 440px; font-size: 17px; line-height: 1.55; color: var(--charcoal); }

/* Final CTA */
.cta .container { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; padding-top: 112px; padding-bottom: 112px; }
.cta h2 { max-width: 900px; font-size: clamp(40px, 5.5vw, 64px); }
.cta p { max-width: 640px; font-size: 18px; line-height: 1.6; color: var(--text-on-dark); }

/* Application pages */
.app-main .container { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 72px; padding-bottom: 96px; }
.intro { flex: 1 1 360px; max-width: 460px; display: flex; flex-direction: column; gap: 24px; }
.intro h1 { font-size: clamp(40px, 4.6vw, 56px); }
.intro .body { font-size: 17px; }
.note { background: var(--white); border: 1px solid var(--hairline); border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.note p { font-size: 15px; line-height: 1.55; color: var(--charcoal); }
.form-card { flex: 2 1 520px; min-width: 0; background: var(--white); border: 1px solid var(--hairline); border-radius: 8px; padding: 40px; display: flex; flex-direction: column; gap: 24px; box-shadow: 0 1px 2px rgba(10, 10, 10, 0.04); }
.form-card h2 { font-size: 28px; line-height: 1; }
.row { display: flex; flex-wrap: wrap; gap: 20px; }
.row > * { flex: 1 1 240px; min-width: 0; }
.row--3 > * { flex: 1 1 160px; }
.field { display: flex; flex-direction: column; gap: 8px; }
label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--charcoal); }
input, select, textarea { width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--input-border); border-radius: 4px; font-family: var(--body); font-size: 16px; color: var(--ink); background: var(--white); }
textarea { height: auto; min-height: 120px; padding: 14px 16px; line-height: 1.5; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--gray); }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--red); outline-offset: 0; border-color: var(--red); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding-top: 8px; }
.form-foot p { font-size: 14px; color: var(--gray); }

/* Deposit page */
.summary { display: flex; flex-direction: column; }
.summary .line { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--hairline); font-size: 16px; color: var(--charcoal); }
.summary .line--total { border-bottom: 1px solid var(--hairline); font-weight: 700; color: var(--ink); }
.summary .line--total b { font-family: var(--display); font-weight: 900; font-size: 28px; line-height: 1; color: var(--red); }
.payment-element { min-height: 180px; border: 1px dashed rgba(10, 10, 10, 0.3); border-radius: 4px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--gray); font-size: 14px; line-height: 1.5; }

/* Thank-you page */
.thanks .container { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; padding-top: 112px; padding-bottom: 120px; }
.thanks .intro { flex: 1 1 440px; max-width: none; gap: 28px; }
.thanks h1 { font-size: clamp(48px, 6.5vw, 80px); }
.thanks .lead { max-width: 560px; font-size: 19px; }
.thanks .panel { flex: 1 1 380px; gap: 20px; }
.thanks .panel li { display: flex; gap: 20px; align-items: flex-start; }
.thanks .panel p { font-size: 16px; line-height: 1.55; color: var(--text-on-dark); }
.thanks .num { width: 44px; font-size: 36px; }

/* Utilities */
.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; }

/* Mobile */
@media (max-width: 640px) {
  .container { padding-left: 24px; padding-right: 24px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .hero .container { padding-top: 64px; padding-bottom: 56px; gap: 24px; }
  .stats .container { padding-top: 40px; padding-bottom: 40px; }
  .cta .container { padding-top: 72px; padding-bottom: 72px; }
  .app-main .container { padding-top: 48px; padding-bottom: 64px; gap: 32px; }
  .thanks .container { padding-top: 72px; padding-bottom: 80px; gap: 40px; }
  .panel, .form-card, .fit .card { padding: 24px; }
  .lead { font-size: 18px; }
  .steps { display: none; }
  .btn--lg { width: 100%; }
}

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

/* --- Viktor additions --- */
.site-footer .legal { margin-top: 8px; font-size: 13px; }
.site-footer .legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #fbe9eb; border-left: 4px solid #cf1f36; color: #0a0a0a; padding: 12px 16px; border-radius: 4px; font-size: 15px; line-height: 1.5; }
.form-error[hidden] { display: none; }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.cal-alt { margin-top: -12px; }
.cal-alt a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
ol.grid.steps-grid { padding-left: 0; }

.members-more{text-align:center;max-width:640px;margin:28px auto 0;font-size:17px;opacity:.85;font-style:italic}
.video.video--embed{position:relative;padding-top:56.25%;height:auto;background:#000}
.video.video--embed iframe{position:absolute;inset:0;width:100%;height:100%}
.form-card--ghl{padding:12px;background:#fff}

/* on-page GHL payment embed */
.form-card .pay-embed{display:block;width:100%;height:1150px;border:0;border-radius:12px;background:#fff;margin:8px 0 12px}
@media (max-width:640px){.form-card .pay-embed{height:1300px}}
.pay-fallback a{color:#cf1f36;text-decoration:underline}
