/* ==========================================================================
   Local Titans · Claim Page
   Navy-dominant, orange-accent. Display: Bricolage Grotesque. Body: Archivo.
   ========================================================================== */

:root {
  --navy-950: #010b24;
  --navy-900: #011442;   /* brand navy */
  --navy-800: #06215c;
  --navy-700: #0b2e75;
  --navy-line: rgba(114, 165, 255, 0.14);
  --blue: #149fce;       /* brand blue */
  --blue-soft: #7cc6e8;
  --orange: #ef9321;     /* brand orange */
  --orange-hot: #ffa83a;
  --ink: #eaf1ff;
  --ink-dim: #a9b8d8;
  --ink-faint: #7385ab;
  --display: "Bricolage Grotesque", "Archivo", sans-serif;
  --body: "Archivo", sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --radius: 14px;
  --bar-h: 58px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background:
    radial-gradient(1100px 600px at 85% -5%, rgba(20, 159, 206, 0.14), transparent 60%),
    radial-gradient(900px 700px at -10% 30%, rgba(239, 147, 33, 0.07), transparent 55%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  background-color: var(--navy-950);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* faint blueprint grid over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--navy-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--navy-line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 15%, black 0%, transparent 75%);
  z-index: 0;
}

main, .site-header, .capacity-bar, .site-footer { position: relative; z-index: 1; }

::selection { background: var(--orange); color: var(--navy-950); }

img { max-width: 100%; }

/* ============ CAPACITY BAR ============ */
.capacity-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, #2a1503, #3b1d02 40%, #2a1503);
  border-bottom: 1px solid rgba(239, 147, 33, 0.55);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}
.capacity-inner {
  max-width: 1280px;
  margin: 0 auto;
  min-height: var(--bar-h);
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}
.capacity-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-hot);
  white-space: nowrap;
}
.pulse-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(239, 147, 33, 0.6);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(239, 147, 33, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(239, 147, 33, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 147, 33, 0); }
}
.capacity-timer {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--mono);
}
.capacity-timer .seg { text-align: center; }
.capacity-timer .seg b {
  display: block;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  background: rgba(1, 11, 36, 0.6);
  border: 1px solid rgba(239, 147, 33, 0.4);
  border-radius: 7px;
  padding: 2px 8px;
  min-width: 46px;
  font-variant-numeric: tabular-nums;
}
.capacity-timer .seg i {
  display: block;
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 200, 130, 0.75);
  margin-top: 3px;
}
.capacity-timer .colon { color: var(--orange); font-size: 20px; font-weight: 600; align-self: flex-start; margin-top: 2px; }
.capacity-note {
  font-size: 12.5px;
  color: rgba(255, 222, 178, 0.85);
  max-width: 300px;
  line-height: 1.35;
}

/* ============ HEADER ============ */
.site-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 26px 32px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo { height: 34px; width: auto; }
.header-note { font-size: 14px; color: var(--ink-dim); }
.header-note b { color: var(--ink); }

/* ============ HERO ============ */
.hero { padding: 26px 32px 60px; }
.hero-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 48px;
  align-items: start;
}

/* left: the site */
.site-col { position: relative; padding-top: 26px; }
.site-badge {
  position: absolute;
  top: 0;
  left: -10px;
  z-index: 5;
  transform: rotate(-3deg);
  background: var(--orange);
  color: var(--navy-950);
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(239, 147, 33, 0.35);
}
.site-badge span { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 3px; }

.browser-frame {
  border: 1px solid rgba(124, 198, 232, 0.32);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-950);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(1, 11, 36, 0.8),
    0 0 60px rgba(20, 159, 206, 0.12);
}
.browser-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: linear-gradient(180deg, #0a1d4d, #071740);
  border-bottom: 1px solid rgba(124, 198, 232, 0.18);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.url-pill {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
  background: rgba(1, 11, 36, 0.65);
  border: 1px solid rgba(124, 198, 232, 0.2);
  border-radius: 99px;
  padding: 5px 14px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--blue-soft);
  white-space: nowrap;
  overflow: hidden;
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #35e07c; flex: none; box-shadow: 0 0 8px rgba(53, 224, 124, 0.9); }
#siteFrame {
  display: block;
  width: 100%;
  height: 560px;
  border: 0;
  background: #fff;
}
.site-caption {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-dim);
}
.site-caption a { color: var(--blue-soft); font-weight: 600; text-decoration: none; margin-left: 6px; }
.site-caption a:hover { color: #fff; }

/* right: offer */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-hot);
  margin-bottom: 14px;
}
h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}
h1 em {
  font-style: normal;
  color: var(--orange);
  position: relative;
  white-space: nowrap;
}
.lede { font-size: 16.5px; color: var(--ink-dim); max-width: 56ch; margin-bottom: 22px; }

.video-shell {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(239, 147, 33, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(239, 147, 33, 0.1);
  background: #000;
  margin-bottom: 22px;
}
.video-shell video { display: block; width: 100%; aspect-ratio: 16 / 9; }

.offer-box {
  background: linear-gradient(180deg, rgba(6, 33, 92, 0.55), rgba(1, 20, 66, 0.75));
  border: 1px solid rgba(124, 198, 232, 0.22);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.offer-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.offer-price .price {
  font-family: var(--display);
  font-weight: 800;
  font-size: 44px;
  color: #fff;
  letter-spacing: -0.02em;
}
.offer-price .per { font-size: 15px; color: var(--ink-dim); font-weight: 600; }
.offer-points { list-style: none; margin-bottom: 18px; }
.offer-points li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 7px;
  font-size: 14.5px;
  color: var(--ink-dim);
}
.offer-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 14px; height: 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--orange), #d97a06);
  clip-path: polygon(14% 44%, 0 60%, 40% 100%, 100% 16%, 84% 0%, 40% 68%);
}

.btn-primary {
  display: block;
  text-align: center;
  background: linear-gradient(180deg, var(--orange-hot), var(--orange));
  color: var(--navy-950);
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 16px 28px;
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(239, 147, 33, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(239, 147, 33, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary.big { display: inline-block; font-size: 20px; padding: 18px 40px; }

.terms {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--ink-faint);
  text-align: center;
}
.free-files {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 14px;
  color: var(--blue-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(124, 198, 232, 0.45);
}
.free-files:hover { color: #fff; }

/* ============ SECTIONS ============ */
.section { padding: 76px 32px; }
.wrap { max-width: 1120px; margin: 0 auto; }
.wrap.narrow { max-width: 780px; }
.center { text-align: center; }

.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.prose p { margin-bottom: 14px; color: var(--ink-dim); font-size: 16.5px; }
.prose b { color: var(--ink); }

.why-free { border-top: 1px solid var(--navy-line); }

/* value stack */
.stack-section { border-top: 1px solid var(--navy-line); }
.stack {
  border: 1px solid rgba(124, 198, 232, 0.22);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(1, 15, 48, 0.55);
}
.stack-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--navy-line);
}
.stack-row h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 4px;
}
.stack-row p { font-size: 14px; color: var(--ink-dim); max-width: 62ch; }
.stack-value {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 20px;
  color: var(--blue-soft);
  white-space: nowrap;
}
.stack-value small { font-size: 12px; color: var(--ink-faint); }
.stack-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  background: linear-gradient(90deg, rgba(239, 147, 33, 0.12), rgba(239, 147, 33, 0.03));
}
.stack-total span:first-child {
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--orange-hot);
}
.total-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 30px;
  color: var(--orange-hot);
}
.stack-cta { text-align: center; margin-top: 34px; }
.stack-cta .btn-primary { display: inline-block; }
.stack-vs { font-size: 18px; color: var(--ink-dim); margin-bottom: 16px; }
.stack-vs b { color: #fff; }

/* steps */
.steps-section { border-top: 1px solid var(--navy-line); }
.steps { list-style: none; counter-reset: step; max-width: 820px; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 16px 0 16px 66px;
  color: var(--ink-dim);
  font-size: 16px;
  border-bottom: 1px dashed var(--navy-line);
}
.steps li b { color: var(--ink); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 14px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 15px;
  color: var(--orange);
  border: 1px solid rgba(239, 147, 33, 0.45);
  border-radius: 9px;
  padding: 6px 10px;
}

/* objections */
.objections-section { border-top: 1px solid var(--navy-line); }
.objections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.obj-card {
  background: rgba(1, 15, 48, 0.55);
  border: 1px solid rgba(124, 198, 232, 0.18);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.obj-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  color: var(--blue-soft);
  margin-bottom: 8px;
}
.obj-card p { font-size: 14.5px; color: var(--ink-dim); }

/* founder note */
.founder-section { border-top: 1px solid var(--navy-line); }
.founder-note {
  border-left: 4px solid var(--orange);
  background: rgba(1, 15, 48, 0.55);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 30px 34px;
}
.founder-note p { margin-bottom: 14px; color: var(--ink-dim); font-size: 16.5px; }
.founder-note .kicker { color: var(--orange-hot); }
.signature {
  font-family: var(--display);
  font-weight: 700;
  color: var(--ink) !important;
  margin-top: 6px;
}

/* faq */
.faq-section { border-top: 1px solid var(--navy-line); }
.faq details {
  border: 1px solid rgba(124, 198, 232, 0.18);
  border-radius: 12px;
  background: rgba(1, 15, 48, 0.55);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 17px 22px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  position: relative;
  padding-right: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orange);
  font-size: 22px;
  font-weight: 600;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 18px; color: var(--ink-dim); font-size: 15px; }

/* final cta */
.final-cta {
  border-top: 1px solid var(--navy-line);
  padding-bottom: 110px;
  background: radial-gradient(700px 340px at 50% 100%, rgba(239, 147, 33, 0.12), transparent 70%);
}
.final-cta .lede { margin-left: auto; margin-right: auto; }
.final-buttons { margin-top: 26px; }

/* footer */
.site-footer {
  border-top: 1px solid var(--navy-line);
  padding: 40px 32px 54px;
  text-align: center;
  color: var(--ink-faint);
  font-size: 13px;
}
.logo-small { height: 26px; margin-bottom: 14px; opacity: 0.9; }
.disclaimer { max-width: 640px; margin: 8px auto 0; font-size: 12px; }

/* ============ VSL GATE ============
   Before the video reaches the price reveal, the offer box + all below-fold
   sections are hidden and a short nudge stands in for the offer. JS swaps
   body.pre-reveal -> body.revealed once the threshold is crossed. */
.gate-nudge { display: none; }
body.pre-reveal .gate-nudge {
  display: block;
  background: linear-gradient(180deg, rgba(6, 33, 92, 0.55), rgba(1, 20, 66, 0.75));
  border: 1px solid rgba(124, 198, 232, 0.22);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.gate-nudge .gate-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-hot);
  margin-bottom: 8px;
}
.gate-nudge .gate-badge::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #35e07c;
  box-shadow: 0 0 8px rgba(53, 224, 124, 0.9);
}
.gate-nudge p { color: var(--ink-dim); font-size: 15.5px; margin: 0; }

/* Gated elements are removed from flow until reveal. */
body.pre-reveal .gated { display: none !important; }
body.revealed .gated { animation: gateIn 0.6s ease both; }
@keyframes gateIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  body.revealed .gated { animation: none; }
}

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }
.reveal.d4 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .pulse-dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  #siteFrame { height: 430px; }
  .objections { grid-template-columns: 1fr; }
  .capacity-note { display: none; }
}
@media (max-width: 560px) {
  .hero { padding: 18px 18px 44px; }
  .section { padding: 56px 18px; }
  .site-header { padding: 20px 18px 4px; }
  .header-note { display: none; }
  #siteFrame { height: 360px; }
  .capacity-inner { gap: 12px; padding: 8px 12px; }
  .capacity-label { font-size: 10.5px; }
  .capacity-timer .seg b { font-size: 17px; min-width: 38px; padding: 2px 6px; }
  .stack-row { flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 20px; }
  .stack-total { padding: 18px 20px; }
  .total-num { font-size: 24px; }
  .founder-note { padding: 24px 22px; }
  .site-badge { font-size: 13px; left: -4px; }
  .btn-primary.big { font-size: 17px; padding: 16px 28px; }
}

/* ============ FREE-FILES MODAL ============ */
.ff-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(1, 8, 26, 0.78);
  backdrop-filter: blur(4px);
  animation: ffFade 0.2s ease both;
}
.ff-overlay[hidden] { display: none; }
@keyframes ffFade { from { opacity: 0; } to { opacity: 1; } }

.ff-dialog {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: linear-gradient(180deg, #0a2154, var(--navy-900));
  border: 1px solid rgba(124, 198, 232, 0.28);
  border-radius: 16px;
  padding: 32px 30px 28px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 60px rgba(20, 159, 206, 0.12);
  animation: ffPop 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes ffPop { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }

.ff-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--ink-faint);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}
.ff-close:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }

.ff-eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-hot);
  margin-bottom: 8px;
}
.ff-dialog h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.ff-sub { color: var(--ink-dim); font-size: 14.5px; margin-bottom: 20px; }
.ff-sub b { color: var(--ink); }

.ff-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-dim);
  margin-bottom: 6px;
}
.ff-label span { color: var(--ink-faint); font-weight: 400; }
.ff-input {
  width: 100%;
  background: rgba(1, 11, 36, 0.6);
  border: 1px solid rgba(124, 198, 232, 0.28);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  margin-bottom: 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ff-input::placeholder { color: var(--ink-faint); }
.ff-input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(239, 147, 33, 0.18);
}

/* honeypot: visually removed, still in the DOM for bots */
.ff-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ff-error {
  color: #ff9b8a;
  font-size: 13.5px;
  margin-bottom: 12px;
}
.ff-error[hidden] { display: none; }

.ff-submit { width: 100%; margin-top: 4px; }
.ff-submit[disabled] { opacity: 0.6; cursor: default; transform: none; }
.ff-terms { text-align: center; font-size: 12.5px; color: var(--ink-faint); margin-top: 10px; }

.ff-success { text-align: center; padding: 8px 4px 4px; }
.ff-success[hidden] { display: none; }
.ff-check {
  width: 62px;
  height: 62px;
  margin: 4px auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 30px;
  color: var(--navy-950);
  background: linear-gradient(135deg, #35e07c, #16a34a);
  box-shadow: 0 10px 30px rgba(53, 224, 124, 0.35);
}
.ff-success h2 { margin-bottom: 8px; }
.ff-success p { color: var(--ink-dim); font-size: 14.5px; margin-bottom: 20px; }
.ff-success b { color: var(--ink); }
.ff-success .btn-primary { display: inline-block; padding: 12px 34px; }

@media (prefers-reduced-motion: reduce) {
  .ff-overlay, .ff-dialog { animation: none; }
}
@media (max-width: 480px) {
  .ff-dialog { padding: 28px 20px 24px; }
  .ff-dialog h2 { font-size: 23px; }
}

/* ==========================================================================
   Preview-ended state (takedown gate). body.preview-ended swaps the whole
   page for the comeback path: capacity bar and <main> hidden, #previewEnded
   shown. Same brand system as the rest of the page.
   ========================================================================== */

body.preview-ended .capacity-bar,
body.preview-ended main { display: none; }

.pe-wrap {
  min-height: calc(100vh - 140px);
  display: grid;
  place-items: center;
  padding: 48px 20px;
}

/* display:grid above beats the [hidden] UA default; without this the
   ended-screen shows for every visitor */
.pe-wrap[hidden] { display: none; }

.pe-card {
  max-width: 560px;
  width: 100%;
  text-align: center;
}

.pe-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}

.pe-headline {
  font-family: var(--display);
  font-size: clamp(26px, 4.4vw, 38px);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 14px;
}

.pe-sub {
  color: var(--ink-dim);
  margin-bottom: 26px;
}

.pe-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
  padding: 26px 24px;
  text-align: left;
}

.pe-box h2 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.pe-box p {
  color: var(--ink-dim);
  font-size: 15px;
  margin-bottom: 16px;
}

#peForm {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* display:flex above would defeat the hidden attribute after a successful
   reactivation; keep [hidden] winning. */
#peForm[hidden] { display: none; }

.pe-input {
  flex: 1 1 220px;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1px solid rgba(114, 165, 255, 0.3);
  background: rgba(1, 11, 36, 0.6);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
}

.pe-input::placeholder { color: var(--ink-faint); }

.pe-submit { white-space: nowrap; }

.pe-error {
  margin-top: 12px;
  color: #ffb4a8;
  font-size: 14px;
}

.pe-success {
  margin-top: 12px;
  color: #9ff0b4;
  font-size: 15px;
  line-height: 1.5;
}

.pe-foot {
  margin-top: 26px;
  color: var(--ink-faint);
  font-size: 13px;
}

/* ============================================================
   FREE-WEBSITE INTAKE FORM (/free-website) + hosting downsell step
   ============================================================ */
.in-page { background: var(--navy-950); color: var(--ink); }
.in-page .site-header { position: static; }
.in-main { max-width: 860px; margin: 0 auto; padding: 32px 20px 80px; }
.in-hero { margin-bottom: 28px; }
.in-hero h1 { font-family: var(--display); font-size: clamp(30px, 4.6vw, 46px); line-height: 1.05; margin: 8px 0 14px; }
.in-hero h1 em { color: var(--orange-hot); font-style: normal; }
.in-hero .lede { color: var(--ink-dim); font-size: 17px; max-width: 640px; }
.in-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 16px 0 0; padding: 0; color: var(--ink-dim); font-size: 14.5px; }
.in-steps b { color: var(--blue-soft); font-family: var(--mono); margin-right: 4px; }

.in-form { display: block; }
.in-section {
  border: 1px solid var(--navy-line); border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025); padding: 20px 22px 22px; margin: 0 0 18px;
}
.in-section legend {
  font-family: var(--display); font-weight: 700; font-size: 20px; padding: 0 8px; color: #fff;
}
.in-help { color: var(--ink-dim); font-size: 14px; margin: 0 0 14px; }
.in-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.in-span2 { grid-column: 1 / -1; }
.in-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.in-form .ff-label { display: block; margin: 0; }
.in-form .ff-input { margin-top: 6px; margin-bottom: 0; width: 100%; }
.in-form textarea.ff-input { resize: vertical; min-height: 64px; font-family: inherit; }
.in-form select.ff-input { appearance: auto; }
.in-services { display: grid; gap: 10px; }
.in-services .ff-input { margin-top: 0; }
.in-add {
  margin-top: 10px; background: none; border: 1px dashed var(--navy-line); color: var(--blue-soft);
  border-radius: 8px; padding: 8px 14px; font: inherit; font-size: 14px; cursor: pointer;
}
.in-add:hover { border-color: var(--blue-soft); }

.in-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.in-swatch { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; font-size: 12px; color: var(--ink-dim); }
.in-swatch input { position: absolute; opacity: 0; width: 0; height: 0; }
.in-swatch span {
  width: 40px; height: 40px; border-radius: 50%; background: var(--sw);
  border: 3px solid transparent; box-shadow: 0 0 0 1px rgba(255,255,255,0.15);
  transition: transform .12s ease, border-color .12s ease;
}
.in-swatch input:checked + span { border-color: #fff; transform: scale(1.1); }
.in-swatch input:focus-visible + span { outline: 2px solid var(--blue-soft); outline-offset: 2px; }
.in-custom { margin-top: 12px; }
.in-custom input[type="color"] { display: block; margin-top: 6px; width: 64px; height: 40px; border: 1px solid var(--navy-line); border-radius: 8px; background: none; padding: 2px; cursor: pointer; }
.in-file { padding: 10px 12px; }
.in-logo-preview { margin-top: 12px; display: flex; align-items: center; gap: 14px; }
.in-logo-preview[hidden] { display: none; }
.in-logo-preview img { max-height: 72px; max-width: 220px; background: #fff; padding: 6px; border-radius: 8px; }
.in-logo-preview .in-add { margin-top: 0; }

.in-consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; font-size: 13.5px; color: var(--ink-dim); cursor: pointer; }
.in-consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.in-submit { width: 100%; margin-top: 6px; }
.in-submit[disabled] { opacity: 0.6; cursor: default; transform: none; }
.in-form .ff-error { margin-bottom: 12px; }

.in-success { text-align: center; padding: 40px 20px; border: 1px solid var(--navy-line); border-radius: var(--radius); background: rgba(255,255,255,0.03); }
.in-success h2 { font-family: var(--display); font-size: 28px; margin: 12px 0 10px; }
.in-success p { color: var(--ink-dim); max-width: 520px; margin: 0 auto; }
.in-success b { color: var(--ink); }

@media (max-width: 640px) {
  .in-grid { grid-template-columns: 1fr; }
  .in-section { padding: 16px 14px 18px; }
}

/* Hosting downsell step inside the free-files modal */
.ff-step { text-align: left; }
.ff-step[hidden] { display: none; }
.ff-price { font-family: var(--display); font-size: 34px; font-weight: 800; color: #fff; margin: 4px 0 2px; }
.ff-price small { font-size: 15px; font-weight: 500; color: var(--ink-dim); margin-left: 4px; }
.ff-price small.ff-act { display: block; font-size: 13.5px; font-family: var(--body, inherit); line-height: 1.3; margin: 2px 0 0; }
.ff-points { list-style: none; padding: 0; margin: 12px 0 18px; display: grid; gap: 8px; color: var(--ink-dim); font-size: 14.5px; }
.ff-points li::before { content: "\2713"; color: var(--blue-soft); margin-right: 8px; font-weight: 700; }
.ff-choice { display: block; width: 100%; text-align: center; }
.ff-choice-secondary {
  display: block; width: 100%; margin-top: 10px; background: none; border: 1px solid var(--navy-line);
  color: var(--ink-dim); border-radius: 10px; padding: 12px 16px; font: inherit; font-size: 14.5px; cursor: pointer;
}
.ff-choice-secondary:hover { color: #fff; border-color: var(--blue-soft); }

/* archetype picker on the intake form */
.in-arch { display: grid; gap: 8px; margin-top: 8px; }
.in-arch-opt { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--navy-line); border-radius: 10px; cursor: pointer; }
.in-arch-opt:has(input:checked) { border-color: var(--blue-soft); background: rgba(124, 198, 232, 0.06); }
.in-arch-opt input { margin-top: 4px; flex: none; }
.in-arch-opt b { display: block; color: var(--ink); font-size: 14.5px; }
.in-arch-opt small { display: block; color: var(--ink-faint); font-size: 12.5px; margin-top: 2px; }
