/* ==========================================================================
   ABE KLATE / ABE GOLDY FIBO — STYLES (mobile first)
   ========================================================================== */
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); }

:root {
  --bg: #111114;
  --bg-2: #18181c;
  --surface: #1f1f24;
  --line: #36363d;
  --text: #faf7f2;
  --muted: #b8b4b5;
  --red: #dc2438;
  --red-deep: #b51224;
  --ink-soft: #4b4749;
  --sticky-h: 72px;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  /* Keeps the footer text clear of the sticky CTA and the home indicator */
  padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px));
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px));
}

/* Brand */
.brand { display: flex; align-items: baseline; gap: 10px; padding-block: 12px 0; position: relative; z-index: 3; }
.brand__name { font: 800 21px/1 var(--display); letter-spacing: .04em; }
.brand__sub { font: 600 15px/1 var(--display); letter-spacing: .03em; color: var(--muted); }

/* Button */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 12px 10px;
  border-radius: 12px;
  background: var(--red);
  color: var(--text);
  font: 800 clamp(16px, 5vw, 22px)/1.1 var(--display);
  letter-spacing: .02em;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 28px -12px rgba(220, 36, 56, .8);
  transition: background .15s ease, transform .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--red-deep); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, summary:focus-visible, .shot:focus-visible, .lightbox__close:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 3px;
}

/* Hero */
.hero { position: relative; }
.hero__stage {
  position: relative;
  height: clamp(186px, 34vh, 340px);
  height: clamp(186px, 34svh, 340px);
  margin-top: -33px;
  overflow: hidden;
  background: radial-gradient(60% 70% at 55% 42%, rgba(181, 18, 36, .5), transparent 72%);
}
.hero__photo {
  position: absolute;
  top: 40px;
  left: 50%;
  width: 300px;
  max-width: none;
  transform: translateX(-46%);
  -webkit-mask-image: linear-gradient(#000 170px, transparent 300px);
  mask-image: linear-gradient(#000 170px, transparent 300px);
}
.hero__stage::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 64px;
  background: linear-gradient(transparent, var(--bg));
}
.fib { position: absolute; inset: 0; width: 100%; height: 100%; }
.fib__lines line { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 5; opacity: .24; }
.fib__lines .key { stroke: var(--red); stroke-dasharray: none; opacity: .85; }
.fib__labels text { fill: var(--muted); font: 600 10px var(--display); letter-spacing: .04em; opacity: .75; }
.fib__candles { opacity: .34; }
.fib__candles .wick { stroke: var(--muted); stroke-width: 1; fill: none; }
.fib__candles .up { fill: var(--muted); }
.fib__candles .dn { fill: #55525a; }

.hero__copy { position: relative; z-index: 2; margin-top: -2px; }
.eyebrow { display: flex; align-items: center; gap: 9px; font: 800 16px/1.2 var(--display); letter-spacing: .08em; color: var(--text); }
.flag { flex: none; width: 44px; height: 22px; outline: 1px solid rgba(250, 247, 242, .35); }
.hero__title { margin-top: 6px; font-family: var(--display); font-weight: 800; line-height: 1.02; letter-spacing: .005em; }
.hero__title span { display: block; }
.hero__title .l1 { font-size: clamp(28px, 9.4vw, 42px); }
.hero__title .l2 { font-size: clamp(25px, 7.9vw, 35px); }
.hero__title em {
  display: inline-block;
  padding: .03em .14em .01em;
  border-radius: 4px;
  background: var(--red-deep);
  font-style: normal;
}
.hero__lead { margin-top: 10px; font-size: 15.5px; line-height: 1.45; color: var(--muted); }
.hero .btn { margin-top: 14px; }
.micro { margin-top: 9px; font-size: 13px; line-height: 1.4; color: var(--muted); text-align: center; }

/* Offer terms */
.terms { margin-top: 28px; }
.terms h2 { font: 800 21px/1.2 var(--display); letter-spacing: .01em; }
.terms ul { margin-top: 10px; padding: 14px 16px 14px 32px; list-style: disc; border: 1px solid var(--red); border-radius: 12px; background: var(--surface); }
.terms li + li { margin-top: 6px; }

/* Sections */
.section { padding-block: 52px; }
.section--alt { background: var(--bg-2); }
.section--steps { background: var(--text); color: var(--bg); }
.section--steps .btn:focus-visible { outline-color: var(--bg); }
.h2 { font: 800 clamp(30px, 8.6vw, 44px)/1.05 var(--display); letter-spacing: .005em; text-wrap: balance; }

/* Cards */
.cards { display: grid; gap: 12px; margin-top: 22px; }
.card {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.card--key { border-color: var(--red); }
.card__ico { grid-row: span 2; width: 34px; height: 34px; fill: none; stroke: var(--red); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font: 800 22px/1.15 var(--display); letter-spacing: .005em; }
.card p { margin-top: 3px; font-size: 15px; line-height: 1.45; color: var(--muted); }

/* Channel screenshots */
.shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(74vw, 300px);
  gap: 12px;
  margin: 22px -16px 0;
  padding: 0 16px 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.shots li { scroll-snap-align: center; }
.shot { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); cursor: zoom-in; }
.shot--ph { display: flex; align-items: center; justify-content: center; aspect-ratio: 9 / 16; padding: 16px; border: 2px dashed var(--muted); color: var(--muted); font: 600 15px/1.4 var(--body); text-align: center; cursor: default; }
.caption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.lightbox { width: 100vw; max-width: none; height: 100%; max-height: none; margin: 0; padding: 16px; border: 0; background: rgba(8, 8, 10, .94); }
.lightbox::backdrop { background: rgba(8, 8, 10, .94); }
.lightbox img { width: 100%; height: 100%; object-fit: contain; }
.lightbox__close { position: fixed; top: max(10px, env(safe-area-inset-top, 0px)); right: 10px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--surface); color: var(--text); font-size: 28px; line-height: 1; cursor: pointer; }

/* Steps */
.steps { margin-block: 24px 26px; counter-reset: step; }
.steps li {
  position: relative;
  padding: 7px 0 24px 58px;
  min-height: 42px;
  counter-increment: step;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red-deep);
  color: var(--text);
  font: 800 23px/1 var(--display);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 20px; top: 42px; bottom: 0; border-left: 2px dashed var(--ink-soft); }

/* FAQ */
.faq { margin-top: 20px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 60px;
  padding-block: 12px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 22px;
  color: var(--red);
  font: 800 28px/1 var(--display);
  text-align: center;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding-bottom: 18px; color: var(--muted); }

/* Final CTA */
.final {
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: radial-gradient(70% 55% at 50% 0, rgba(181, 18, 36, .34), transparent 72%), var(--bg-2);
}
.final__inner { padding-top: 26px; text-align: center; }
.final__photo { width: 190px; margin-inline: auto; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.final__copy { position: relative; margin-top: -14px; padding-bottom: 42px; }
.final__copy p { margin-block: 8px 18px; color: var(--muted); }

/* Footer */
.foot { padding-block: 20px; color: var(--muted); font-size: 13px; line-height: 1.5; text-align: center; }
.foot__credit { margin-top: 8px; font-size: 12px; }
.foot__credit a { color: inherit; }

/* Sticky CTA */
.sticky {
  position: fixed;
  z-index: 20;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  padding-left: max(12px, env(safe-area-inset-left, 0px));
  padding-right: max(12px, env(safe-area-inset-right, 0px));
  background: rgba(17, 17, 20, .96);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform .22s ease, visibility .22s;
}
.sticky.is-on { transform: none; visibility: visible; }
.sticky .btn { min-height: 54px; font-size: clamp(17px, 5.1vw, 21px); box-shadow: none; }

/* Quiet entrance: hero only, nothing tied to scroll */
@keyframes rise { from { opacity: 0; transform: translateX(-46%) translateY(10px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes draw { from { stroke-dashoffset: 420; } }
.hero__photo { animation: rise .55s ease-out both; }
.fib__candles { animation: fade .9s ease-out both; }
.fib__lines .key { stroke-dasharray: 420; animation: draw 1s ease-out both; }

/* Desktop */
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .sticky { display: none; }

  .brand { position: absolute; left: 0; right: 0; top: 16px; padding-top: 0; }
  .hero {
    display: grid;
    align-items: center;
    min-height: min(720px, 100vh);
    max-width: 1120px;
    margin-inline: auto;
    padding-inline: 16px;
    grid-template-columns: minmax(0, 1fr) clamp(340px, 40vw, 500px);
    gap: 40px;
  }
  .hero__stage { grid-column: 2; grid-row: 1; align-self: stretch; height: auto; min-height: 640px; margin-top: 0; overflow: visible; }
  .hero__stage::after { display: none; }
  .fib { inset: 60px auto auto -60px; width: 640px; height: 518px; }
  .hero__photo { top: 56px; width: 100%; transform: translateX(-50%); -webkit-mask-image: linear-gradient(#000 62%, transparent 92%); mask-image: linear-gradient(#000 62%, transparent 92%); }
  @keyframes rise { from { opacity: 0; transform: translateX(-50%) translateY(10px); } }
  .hero__copy { grid-column: 1; grid-row: 1; margin-top: 0; padding-inline: 0; max-width: 560px; }
  .eyebrow { font-size: 20px; }
  .hero__title { margin-top: 12px; }
  .hero__title .l1 { font-size: clamp(44px, 5.1vw, 58px); }
  .hero__title .l2 { font-size: clamp(38px, 4.5vw, 50px); }
  .hero__lead { margin-top: 18px; font-size: 18px; max-width: 500px; }
  .hero .btn { margin-top: 24px; width: auto; display: inline-flex; padding-inline: 30px; font-size: 22px; }
  .micro { font-size: 14px; text-align: left; }

  .terms { margin-top: 0; }
  .section { padding-block: 84px; }
  .h2 { font-size: 46px; }

  .cards { grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
  .card { display: block; padding: 22px; }
  .card__ico { margin-bottom: 18px; }
  .card h3 { font-size: 25px; }

  .shots { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); margin-inline: 0; padding-inline: 0; overflow: visible; }

  .section--steps .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; }
  .section--steps .h2, .section--steps .steps { grid-column: 1 / -1; }
  .section--steps .btn { grid-column: 1 / -1; justify-self: start; width: auto; padding-inline: 34px; font-size: 22px; }
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-block: 36px; }
  .steps li { padding: 58px 0 0; font-size: 18px; }
  .steps li:not(:last-child)::after { left: 54px; right: 0; top: 21px; bottom: auto; border-left: 0; border-top: 2px dashed var(--ink-soft); }

  .faq { max-width: 760px; }

  .final__inner { display: grid; grid-template-columns: 320px minmax(0, 1fr); align-items: end; gap: 56px; padding-top: 44px; text-align: left; }
  .final__photo { width: 320px; margin: 0; }
  .final__copy { margin-top: 0; padding-bottom: 72px; max-width: 520px; }
  .final .btn { width: auto; display: inline-flex; padding-inline: 34px; font-size: 22px; }
  .foot { font-size: 14px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
