/* ==========================================================================
   VideoReals.com  ·  site.css  ·  one stylesheet for every page
   --------------------------------------------------------------------------
   BRAND VALUES: red and the logo are Flo's (29 Sep 2026). Blue and the font
   are still stand-ins.  [TBD: brand sheet]
   Replace them with the exact values from the brand sheet. Never sample
   colors from screenshots.
   Everything else in this file reads from these variables.
   ========================================================================== */

:root {
  /* Brand red from Flo's color file and logo (29 Sep 2026) */
  --vr-red: #D00B36;          /* header band, primary buttons (white text 5.5:1) */
  --vr-red-dark: #A8082B;     /* hover, red text on white (7.6:1) */
  --vr-red-tint: #FCF0F3;     /* light, airy section background */
  /* [TBD: brand sheet] Stand-in blue */
  --vr-blue: #1C4F9C;         /* links, secondary buttons (7.9:1 on white) */
  --vr-blue-dark: #133A75;    /* footer, headings accents */
  --vr-blue-tint: #EEF3FA;    /* light, airy section background */
  --vr-white: #FFFFFF;

  /* Neutrals (not brand colors) */
  --ink: #1B2230;
  --ink-soft: #465063;
  --line: #DCE2EC;
  --field-line: #6F7B8F;      /* 4.4:1 on white, meets 3:1 for form borders */
  --paper: #FFFFFF;

  /* [TBD: brand sheet] Stand-in font: Nunito Sans, the closest Google Font to Avenir */
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: var(--font-body);

  --radius: 14px;
  --shadow: 0 12px 32px rgba(19, 58, 117, 0.14);
  --wrap: 1120px;
  --wrap-narrow: 760px;
  --gutter: 20px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.18; color: var(--ink); }
h1 { font-weight: 800; letter-spacing: -0.01em; }
h2 { font-weight: 800; }
h3 { font-weight: 800; }
p { margin: 0 0 1em; }
a { color: var(--vr-blue); text-underline-offset: 0.16em; }
a:hover { color: var(--vr-blue-dark); }
:focus-visible { outline: 3px solid var(--vr-blue); outline-offset: 3px; border-radius: 4px; }
strong { font-weight: 800; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: #fff; color: var(--vr-blue-dark); padding: 10px 16px; border-radius: 8px;
  font-weight: 800; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: var(--wrap-narrow); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header band (identical on every page) ---------- */
.site-header { background: var(--vr-red); color: var(--vr-white); }
.site-header :focus-visible { outline-color: var(--vr-white); }
.header-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px;
}
.brand { display: flex; flex-direction: column; flex: 1 1 0; min-width: 0; color: var(--vr-white); text-decoration: none; }
.brand:hover { color: var(--vr-white); }
.wordmark { display: block; width: 190px; height: auto; }
.tagline { font-size: 0.86rem; font-weight: 700; line-height: 1.3; margin-top: 7px; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
  background: transparent; color: var(--vr-white); border: 2px solid rgba(255,255,255,0.85);
  border-radius: 999px; font: 800 0.95rem/1 var(--font-body); cursor: pointer;
}
.nav-toggle[hidden] { display: none; }
.nav-toggle-bars { width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.site-nav { width: 100%; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.site-nav a {
  display: block; padding: 12px 4px; color: var(--vr-white); text-decoration: none;
  font-weight: 800; border-top: 1px solid rgba(255,255,255,0.28);
}
.site-nav a:hover { text-decoration: underline; color: var(--vr-white); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; }
.js .site-nav.is-collapsible:not(.is-open) { display: none; }

@media (min-width: 900px) {
  .header-inner { flex-direction: column; justify-content: center; text-align: center; padding: 22px var(--gutter) 6px; gap: 12px; }
  .brand { align-items: center; flex: 0 0 auto; }
  .wordmark { width: 300px; }
  .tagline { font-size: 1rem; }
  .nav-toggle { display: none !important; }
  .js .site-nav.is-collapsible:not(.is-open) { display: block; }
  .site-nav ul { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 2px 6px; }
  .site-nav a { border-top: 0; padding: 10px 12px 12px; }
  .site-nav a[aria-current="page"] { text-decoration: none; box-shadow: inset 0 -4px 0 var(--vr-white); }
}

/* ---------- Hero: centered 16:9 video, buttons directly under it ---------- */
.hero { background: linear-gradient(180deg, var(--vr-red-tint) 0%, var(--paper) 100%); padding: 22px 0 40px; text-align: center; }
.hero h1 { font-size: clamp(1.45rem, 5.2vw, 2.65rem); margin: 0 auto 10px; max-width: 30ch; }
.lede { font-size: clamp(1rem, 2.1vw, 1.2rem); line-height: 1.5; color: var(--ink-soft); max-width: 62ch; margin: 0 auto 20px; }
.hero-note { margin: 14px auto 0; }
.hero .lede { margin-bottom: 18px; }

.video { max-width: 800px; margin: 0 auto; }
.video-frame {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  background: #0E1420; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.video-frame > a, .video-frame > iframe, .video-frame > .video-placeholder {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.video-play { display: block; color: var(--vr-white); text-decoration: none; }
.video-play img { width: 100%; height: 100%; object-fit: cover; }
.play-badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 78px; height: 78px; border-radius: 50%; background: var(--vr-red);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35); border: 3px solid var(--vr-white);
  transition: transform 0.15s ease;
}
.play-badge::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%);
  border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent var(--vr-white);
}
.video-play:hover .play-badge, .video-play:focus-visible .play-badge { transform: translate(-50%, -50%) scale(1.08); }
.play-label {
  position: absolute; left: 12px; bottom: 12px; padding: 5px 12px; border-radius: 999px;
  background: rgba(10, 14, 22, 0.8); color: var(--vr-white); font-weight: 800; font-size: 0.9rem;
}
.video figcaption { font-size: 0.95rem; color: var(--ink-soft); margin-top: 10px; text-align: center; }
.video-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 18px; text-align: center; color: var(--ink-soft); font-weight: 700;
  background: repeating-linear-gradient(45deg, #EEF3FA, #EEF3FA 14px, #E5ECF6 14px, #E5ECF6 28px);
  border: 2px dashed #8FA3C2; border-radius: var(--radius);
}
.video-frame.is-placeholder { background: transparent; box-shadow: none; }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }
.actions.left { justify-content: flex-start; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 50px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font: 800 1.02rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--vr-red); color: var(--vr-white); }
.btn-primary:hover { background: var(--vr-red-dark); color: var(--vr-white); }
.btn-secondary { background: var(--vr-white); color: var(--vr-blue); border-color: var(--vr-blue); }
.btn-secondary:hover { background: var(--vr-blue-tint); color: var(--vr-blue-dark); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; }
@media (max-width: 559px) {
  .actions .btn { width: 100%; }
}

/* ---------- Sections ---------- */
.section { padding: 52px 0; }
.section.tint-blue { background: var(--vr-blue-tint); }
.section.tint-red { background: var(--vr-red-tint); }
.section h2 { font-size: clamp(1.45rem, 3.3vw, 2.05rem); margin: 0 0 14px; }
.section h3 { font-size: 1.2rem; margin: 0 0 8px; }
.section-intro { max-width: 64ch; color: var(--ink-soft); font-size: 1.08rem; }
.prose { max-width: 66ch; }
.prose h3 { margin-top: 26px; }
.center { text-align: center; }
.center .section-intro, .center .prose { margin-left: auto; margin-right: auto; }
.more-link { font-weight: 800; }

.cards { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 22px; }
.cards > *, .steps > *, .stats > *, .footer-grid > * { min-width: 0; }
@media (min-width: 760px) {
  .cards.three { grid-template-columns: repeat(3, 1fr); }
  .cards.two { grid-template-columns: repeat(2, 1fr); }
}
.card {
  background: var(--vr-white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 18px; box-shadow: 0 1px 0 rgba(27, 34, 48, 0.04);
}
.card-kicker {
  display: inline-block; margin-bottom: 8px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--vr-red-dark);
}
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card ul { padding-left: 1.1em; margin: 0 0 1em; }

.callout {
  border-left: 6px solid var(--vr-red); background: var(--vr-white); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 20px; margin: 24px 0 0; max-width: 70ch;
}
.callout p:last-child { margin-bottom: 0; }

/* Kit price columns */
.price-list { list-style: none; margin: 0 0 12px; padding: 0; }
.price-list li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.price-list li:last-child { border-bottom: 0; }
.price-list .price { font-weight: 800; text-align: right; }
.price-total { font-size: clamp(2rem, 6vw, 2.8rem); font-weight: 800; color: var(--vr-blue-dark); line-height: 1; margin: 2px 0 10px; }
.fine { font-size: 0.92rem; color: var(--ink-soft); }

/* Tips */
.tips { margin: 0 0 8px; padding-left: 1.6em; }
.tips li { margin-bottom: 12px; padding-left: 4px; }
.tips li::marker { color: var(--vr-red); font-weight: 800; }
.tips strong { display: block; }

/* Guide chapters */
.chapters { list-style: decimal-leading-zero; padding-left: 2.4em; margin: 18px 0 0; }
.chapters li { margin-bottom: 12px; padding-left: 6px; }
.chapters li::marker { color: var(--vr-red); font-weight: 800; }
.chapters strong { display: block; }

/* Steps */
.steps { list-style: none; counter-reset: step; margin: 22px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps > li { counter-increment: step; background: var(--vr-white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps > li::before {
  content: counter(step); display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 10px;
  border-radius: 50%; background: var(--vr-red); color: var(--vr-white); font-weight: 800;
}
.steps p:last-child { margin-bottom: 0; }

/* Proof numbers */
.stats { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 24px 0 18px; }
@media (min-width: 620px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--vr-white); border-radius: var(--radius); padding: 18px 20px; border-left: 6px solid var(--vr-blue); }
.stat-num { font-size: clamp(1.55rem, 4.4vw, 2.2rem); font-weight: 800; color: var(--vr-blue-dark); line-height: 1.1; margin: 0 0 4px; }
.stat-label { color: var(--ink-soft); margin: 0; }
.headline-proof { font-size: clamp(1.15rem, 2.6vw, 1.4rem); font-weight: 800; max-width: 44ch; }

/* FAQ */
.faq h3 { font-size: 1.18rem; margin: 28px 0 6px; }
.faq h3:first-of-type { margin-top: 10px; }

/* Team */
.person { display: flex; flex-direction: column; gap: 14px; }
.person-photo {
  aspect-ratio: 1 / 1; width: 120px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: var(--vr-blue-tint); border: 2px dashed #8FA3C2; color: var(--ink-soft); font-size: 0.78rem; font-weight: 700; padding: 10px;
}
.person-role { color: var(--vr-red-dark); font-weight: 800; margin: -4px 0 8px; }
img.person-photo { height: 120px; padding: 0; border: 0; background: var(--vr-blue-tint); object-fit: cover; }

/* A video inside a section, followed by text */
.section .video + .prose { margin-top: 28px; }

/* Meet Flo portrait */
.with-portrait { display: grid; gap: 22px; }
.portrait { width: 100%; max-width: 300px; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 760px) {
  .with-portrait { grid-template-columns: minmax(0, 66ch) 300px; gap: 40px; align-items: start; }
  .with-portrait .portrait { order: 2; }
}

/* Contact list */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }

/* ---------- Forms (MailerLite raw HTML goes inside .ml-embed) ---------- */
.form-card { background: var(--vr-white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; max-width: 640px; box-shadow: var(--shadow); }
.form-card fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-row { margin-bottom: 16px; }
.form-row label, .ml-embed .ml-field-group label { display: block; font-weight: 800; margin-bottom: 6px; }
.form-row .hint { font-weight: 400; color: var(--ink-soft); }
.form-card input, .form-card textarea, .ml-embed input[type="text"], .ml-embed input[type="email"], .ml-embed input[type="tel"], .ml-embed textarea, .ml-embed select {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; color: var(--ink);
  background: var(--vr-white); border: 1.5px solid var(--field-line); border-radius: 10px;
}
.form-card textarea, .ml-embed textarea { min-height: 120px; resize: vertical; }
.form-card input:disabled, .form-card textarea:disabled { background: #F3F5F9; color: #5B6474; }
.form-status { margin-top: 12px; }
/* MailerLite raw HTML embed, restyled to match the site */
.ml-embed .ml-form-embedContainer, .ml-embed .ml-form-embedWrapper, .ml-embed .ml-form-embedBody { all: unset; display: block; }
.ml-embed .ml-form-fieldRow { margin-bottom: 16px; }
.ml-embed .ml-error input, .ml-embed .ml-error textarea { border-color: var(--vr-red); }
.ml-embed .ml-form-embedSubmit button.primary {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 26px;
  border: 0; border-radius: 999px; background: var(--vr-red); color: var(--vr-white); font: 800 1.02rem/1.2 var(--font-body); cursor: pointer;
}
.ml-embed .ml-form-embedSubmit button.primary:hover { background: var(--vr-red-dark); }
.ml-embed .ml-form-successBody { padding: 8px 0; }
.ml-embed .ml-form-successBody h4 { font-size: 1.2rem; margin: 0 0 6px; }

.spaced-top { margin-top: 28px; }

/* ---------- Editorial markers: [TBD] ---------- */
.tbd {
  display: inline-block; margin: 2px 0; padding: 2px 8px; border-radius: 6px;
  font: 700 0.82rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: #FFF6D6; color: #5A4500; border: 1px dashed #B58900; text-align: left;
}
p.tbd, div.tbd { display: block; width: fit-content; max-width: 100%; }
.notice { background: #FFF8E1; border: 1px solid #E0B94A; border-radius: 10px; padding: 12px 14px; margin: 0 0 18px; }

/* ---------- Footer (identical on every page) ---------- */
.site-footer { background: var(--vr-blue-dark); color: var(--vr-white); padding: 44px 0 26px; }
.site-footer a { color: var(--vr-white); }
.site-footer a:hover { color: var(--vr-white); text-decoration-thickness: 2px; }
.site-footer :focus-visible { outline-color: var(--vr-white); }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-wordmark { margin: 0 0 12px; }
.footer-wordmark img { width: 180px; height: auto; }
.footer-title { font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem; margin: 0 0 10px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0 0 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.3); margin-top: 30px; padding-top: 16px; font-size: 0.92rem; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

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

/* Utility */
.spaced { margin-top: 24px; }

/* MailerLite embed: loader, errors, success (MailerLite's own styles are not loaded) */
.ml-embed .ml-form-embedSubmit { margin-top: 8px; }
.ml-embed .ml-form-embedSubmit .btn { gap: 10px; }
.ml-embed .ml-form-embedSubmitLoad { display: inline-block; width: 20px; height: 20px; }
.ml-embed .ml-form-embedSubmitLoad::after {
  content: " "; display: block; width: 11px; height: 11px; margin: 1px; border-radius: 50%;
  border: 4px solid #fff; border-color: #fff #fff #fff transparent; animation: ml-spin 1.2s linear infinite;
}
@keyframes ml-spin { to { transform: rotate(360deg); } }
.ml-embed .ml-error label { color: var(--vr-red-dark); }
.ml-embed .ml-field-email.ml-error label::after { content: " Enter a valid email address."; font-weight: 700; }
.ml-embed .ml-form-successContent h3 { font-size: 1.3rem; margin: 0 0 6px; }
.ml-embed .ml-form-successContent p:last-child { margin-bottom: 0; }
.ml-embed .hint { font-weight: 400; color: var(--ink-soft); }
