/* =====================================================================
   Supreme Solutions — styles.css
   Plain CSS, mobile-first. No frameworks, no build step.
   Palette: Bitcoin black / orange / white.
   Sections: header, hero, perfect-fit, solutions, bitcoin, about,
             why/how, trust, contact, footer.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. DESIGN TOKENS
   --------------------------------------------------------------------- */
:root {
  /* Core palette */
  --black:        #0A0A0A;
  --black-2:      #111214;
  --black-3:      #16181B;
  --ink:          #1A1A1A;
  --white:        #FFFFFF;
  --off-white:    #F5F5F5;
  --paper:        #FAFAFA;

  /* Bitcoin orange + supporting shades */
  --orange:       #F7931A;   /* canonical Bitcoin orange */
  --orange-deep:  #E8830F;
  --orange-dark:  #C76E12;
  --orange-lite:  #FBB860;
  --orange-glow:  rgba(247, 147, 26, 0.45);

  /* Text */
  --text-dark:    #EDEDED;   /* on dark bg */
  --text-dim:     #A6A8AD;   /* muted on dark */
  --text-light:   #1C1D20;   /* on light bg */
  --text-muted:   #5B5E66;   /* muted on light */

  /* Lines / surfaces */
  --line-dark:    rgba(255,255,255,0.10);
  --line-light:   rgba(10,10,10,0.10);
  --card-dark:    #15171A;

  /* Layout */
  --maxw:         1180px;
  --gutter:       clamp(1.1rem, 4vw, 2.25rem);
  --radius:       14px;
  --radius-lg:    22px;
  --header-h:     68px;

  /* Type */
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Motion */
  --ease:         cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast:       0.18s;
  --t-med:        0.4s;
}

/* ---------------------------------------------------------------------
   2. RESET / BASE
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px); /* offset sticky header on anchor jumps */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1rem; }

/* Accessible focus ring */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 1000;
  background: var(--orange);
  color: var(--black);
  padding: 0.6rem 1rem;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------------------
   3. LAYOUT HELPERS
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { position: relative; }

/* Generous vertical rhythm per section */
.hero, .fit-section, .solutions, .ai-insight, .bitcoin,
.about, .why, .trust, .contact {
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

/* Light sections invert the palette */
.section-light {
  background: var(--off-white);
  color: var(--text-light);
}
.section-light p { color: var(--text-muted); }

/* Shared section heading block */
.section-head { max-width: 720px; margin: 0 auto clamp(2rem, 5vw, 3.25rem); text-align: center; }
.section-title { font-size: clamp(1.7rem, 4.5vw, 2.8rem); }
.section-intro { font-size: 1.05rem; }
.eyebrow {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 0.85rem;
}
.eyebrow-accent { color: var(--orange); }
.lead { font-size: 1.1rem; }
.accent { color: var(--orange); }

/* ---------------------------------------------------------------------
   4. BUTTONS
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--orange);
  color: #1A1206;
  box-shadow: 0 8px 24px -8px var(--orange-glow);
}
.btn-primary:hover {
  background: var(--orange-lite);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px var(--orange-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--line-dark);
}
.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------------
   4b. BRAND LOGO MARK (the "Bitcoin-style S")
   One <symbol id="logo-s"> drawn with currentColor, reused everywhere.
   Set `color` to recolour: orange (default) or white (on orange/photos).
   --------------------------------------------------------------------- */
.logo-sprite {            /* the hidden 0x0 sprite must not affect layout */
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.logo-mark {
  display: block;
  height: 30px;
  width: 24px;            /* keeps the 32:40 (4:5) glyph ratio */
  color: var(--orange);   /* drives currentColor inside the symbol */
}
.logo-mark--sm { height: 27px; width: 21.6px; }  /* footer size */

/* Subtle hero watermark of the mark (decorative, behind content) */
.hero-watermark {
  position: absolute;
  top: 50%;
  right: 3%;
  transform: translateY(-50%);
  width: min(300px, 32vw);
  height: auto;
  color: var(--orange);
  opacity: 0.07;
  z-index: 1;
  pointer-events: none;
}

/* ---------------------------------------------------------------------
   5. HEADER / NAV
   --------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease),
              backdrop-filter var(--t-med) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.55rem; }
.brand-mark { display: inline-flex; }
.brand-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  color: var(--white);
}
.brand-accent { color: var(--orange); }

.nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 0.35rem; }
.nav-menu a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dim);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  transition: color var(--t-fast) var(--ease);
}
.nav-menu a:hover,
.nav-menu a.active { color: var(--white); }
.nav-menu a.active { color: var(--orange); }
.nav-cta-li a { color: #1A1206 !important; }

/* Hamburger toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  cursor: pointer;
  padding: 0 11px;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------------
   6. HERO
   --------------------------------------------------------------------- */
.hero {
  padding-top: calc(var(--header-h) + clamp(2.5rem, 8vw, 5rem));
  background: radial-gradient(120% 90% at 80% -10%, #1c1407 0%, var(--black) 55%);
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; max-width: 880px; }

/* Decorative animated background */
.hero-bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-glow {
  position: absolute;
  top: -20%; right: -10%;
  width: 60vw; height: 60vw;
  max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 62%);
  filter: blur(20px);
  opacity: 0.55;
  animation: glow-pulse 9s ease-in-out infinite;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(110% 80% at 70% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(110% 80% at 70% 0%, #000 30%, transparent 75%);
  opacity: 0.7;
}
.float-block {
  position: absolute;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  opacity: 0.16;
  animation: drift 14s ease-in-out infinite;
}
.fb-1 { width: 70px; height: 70px; top: 18%; right: 12%; animation-delay: 0s; }
.fb-2 { width: 46px; height: 46px; top: 60%; right: 26%; opacity: 0.12; animation-delay: -3s; }
.fb-3 { width: 90px; height: 90px; top: 70%; right: 6%;  opacity: 0.1;  animation-delay: -6s; }
.fb-4 { width: 34px; height: 34px; top: 34%; right: 38%; opacity: 0.14; animation-delay: -9s; }

@keyframes glow-pulse {
  0%, 100% { transform: scale(1);   opacity: 0.5; }
  50%      { transform: scale(1.12); opacity: 0.7; }
}
@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-26px) rotate(8deg); }
}

/* As Seen On badge */
.as-seen {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.86rem;
  color: var(--text-dim);
  background: rgba(247,147,26,0.08);
  border: 1px solid rgba(247,147,26,0.3);
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}
.as-seen strong { color: var(--orange); font-weight: 600; }
.as-seen-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 var(--orange-glow);
  animation: ping 2.4s ease-out infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(247,147,26,0.6); }
  70%  { box-shadow: 0 0 0 9px rgba(247,147,26,0); }
  100% { box-shadow: 0 0 0 0 rgba(247,147,26,0); }
}

.hero-title {
  font-size: clamp(2.3rem, 7vw, 4.4rem);
  margin-bottom: 1.1rem;
}
.hero-sub {
  font-size: clamp(1.05rem, 2.3vw, 1.3rem);
  color: var(--text-dim);
  max-width: 640px;
  margin-bottom: 1.9rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2.6rem; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.2rem, 5vw, 3rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-dark);
}
.hero-stats li { display: flex; flex-direction: column; }
.stat-k {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}
.stat-v { font-size: 0.86rem; color: var(--text-dim); margin-top: 0.3rem; max-width: 14ch; }

/* ---------------------------------------------------------------------
   7. PERFECT-FIT SECTION (animated board)
   --------------------------------------------------------------------- */
.fit-section { background: var(--black-2); }
.fit-grid {
  display: grid;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}
.fit-copy .section-title { margin-bottom: 0.9rem; }
.fit-points { margin-top: 1.4rem; display: grid; gap: 0.7rem; }
.fit-points li { display: flex; gap: 0.6rem; color: var(--text-dim); }
.fit-points .tick { color: var(--orange); font-weight: 700; }

/* The board: 6 cols x 4 rows, perfectly tiled by tagged cells */
.fit-board-wrap { display: flex; flex-direction: column; align-items: center; }
.fit-board {
  position: relative;
  width: min(440px, 92%);
  aspect-ratio: 6 / 4;
  overflow: hidden;          /* clip the sliding pieces to the board so they
                                never travel over the caption or the copy */
  border-radius: 12px;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.5));
}
.fit-cell {
  position: absolute;
  left: calc(var(--c) * (100% / 6));
  top: calc(var(--r) * (100% / 4));
  width: calc(100% / 6);
  height: calc(100% / 4);
  padding: 4px; /* creates the gap between blocks via inner box */
}
.fit-cell::after {
  content: "";
  display: block;
  width: 100%; height: 100%;
  border-radius: 7px;
  background: var(--orange);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
/* Per-piece colours */
.fit-cell[data-piece="A"]::after  { background: var(--orange); }
.fit-cell[data-piece="B"]::after  { background: var(--orange-lite); }
.fit-cell[data-piece="P1"]::after { background: var(--orange-deep); }
.fit-cell[data-piece="P2"]::after { background: var(--off-white); }   /* the "fit" piece */
.fit-cell[data-piece="P3"]::after { background: var(--orange); }
.fit-cell[data-piece="P4"]::after { background: var(--orange-dark); }

.fit-caption {
  position: relative;        /* sit in a clear zone below the board… */
  z-index: 2;                /* …and always paint above the decorative blocks */
  margin-top: 1.6rem;
  font-size: 0.92rem;
  color: var(--text-dim);
  text-align: center;
  font-style: italic;
}

/* ---------------------------------------------------------------------
   8. SOLUTIONS CARDS
   --------------------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(247,147,26,0.5);
  box-shadow: 0 18px 40px -22px rgba(10,10,10,0.45);
}
.card h3 { color: var(--text-light); font-size: 1.2rem; }
.card p { color: var(--text-muted); margin: 0; font-size: 0.98rem; }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(247,147,26,0.12);
  color: var(--orange-dark);
  margin-bottom: 1rem;
}
.card-feature {
  background: linear-gradient(160deg, #161718 0%, #0f1011 100%);
  border-color: rgba(247,147,26,0.4);
}
.card-feature h3 { color: var(--white); }
.card-feature p { color: var(--text-dim); }
.card-feature .card-icon { background: rgba(247,147,26,0.2); color: var(--orange); }
.card-link {
  display: inline-block;
  margin-top: 0.9rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--orange);
  transition: gap var(--t-fast);
}
.card-link:hover { color: var(--orange-lite); }

/* ---------------------------------------------------------------------
   9. BITCOIN EDGE
   --------------------------------------------------------------------- */
.bitcoin {
  background:
    radial-gradient(90% 70% at 12% 10%, #1d1305 0%, transparent 60%),
    var(--black);
  overflow: hidden;
}
.bitcoin-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.bitcoin-glow {
  position: absolute;
  bottom: -25%; left: -10%;
  width: 55vw; height: 55vw; max-width: 640px; max-height: 640px;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 65%);
  opacity: 0.4; filter: blur(10px);
  animation: glow-pulse 11s ease-in-out infinite;
}
.btc-coin {
  position: absolute;
  top: 8%; right: 4%;
  opacity: 0.5;
  animation: drift 16s ease-in-out infinite;
}
.bitcoin-inner {
  position: relative; z-index: 2;
  display: grid;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: start;
}
.bitcoin-tease {
  font-size: 1.08rem;
  color: var(--text-dark);
  font-weight: 500;
}
.bitcoin-tease a { color: var(--orange); border-bottom: 1px solid rgba(247,147,26,0.5); }
.bitcoin-tease a:hover { color: var(--orange-lite); }

.disclaimer {
  margin-top: 1.6rem;
  padding: 1rem 1.15rem;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-dim);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-dark);
  border-left: 3px solid var(--orange);
  border-radius: 0 10px 10px 0;
}
.disclaimer strong { color: var(--text-dark); }

.bitcoin-points { display: grid; gap: 1rem; }
.bitcoin-points li {
  background: var(--card-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.bitcoin-points li:hover { border-color: rgba(247,147,26,0.45); transform: translateX(4px); }
.bp-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--orange);
  letter-spacing: 0.05em;
}
.bitcoin-points h3 { font-size: 1.1rem; margin: 0.4rem 0 0.35rem; color: var(--white); }
.bitcoin-points p { margin: 0; color: var(--text-dim); font-size: 0.96rem; }

/* ---------------------------------------------------------------------
   9b. AI-DRIVEN INSIGHT
   --------------------------------------------------------------------- */
.ai-insight {
  background:
    radial-gradient(85% 65% at 85% 8%, #12161c 0%, transparent 60%),
    var(--black-2);
  overflow: hidden;
}
.ai-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ai-glow {
  position: absolute;
  top: -18%; right: -12%;
  width: 50vw; height: 50vw; max-width: 560px; max-height: 560px;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 62%);
  opacity: 0.22; filter: blur(14px);
  animation: glow-pulse 12s ease-in-out infinite;
}
.ai-inner {
  position: relative; z-index: 2;
  display: grid;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}
.ai-copy .lead a {
  color: var(--orange);
  border-bottom: 1px solid rgba(247,147,26,0.5);
}
.ai-copy .lead a:hover { color: var(--orange-lite); }

.ai-points { display: grid; gap: 1rem; }
.ai-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 1rem;
  background: var(--card-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.ai-points li:hover { border-color: rgba(247,147,26,0.45); transform: translateX(4px); }
.ai-step-ic {
  grid-column: 1;
  grid-row: 1 / 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(247,147,26,0.14);
  color: var(--orange);
}
.ai-points h3 { grid-column: 2; grid-row: 1; font-size: 1.1rem; margin: 0 0 0.2rem; color: var(--white); }
.ai-points p { grid-column: 2; grid-row: 2; margin: 0; color: var(--text-dim); font-size: 0.96rem; }
.ai-points li a { color: var(--orange); border-bottom: 1px solid rgba(247,147,26,0.5); }
.ai-points li a:hover { color: var(--orange-lite); }

/* ---------------------------------------------------------------------
   10. ABOUT
   --------------------------------------------------------------------- */
.about-grid {
  display: grid;
  gap: clamp(2rem, 6vw, 3.5rem);
  align-items: center;
}
.headshot {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-light);
  box-shadow: 0 30px 60px -30px rgba(10,10,10,0.4);
  background: #e9e9ea;
}
.headshot img { width: 100%; aspect-ratio: 13 / 16; object-fit: cover; }
.headshot figcaption {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.8rem 1rem;
  background: var(--white);
  text-align: center;
}
.about-copy p { color: var(--text-muted); }
.pull-quote {
  max-width: 35ch;
  margin: 1.5rem 0;
  padding: 1rem 0 1rem 1.3rem;
  border-left: 4px solid var(--orange);
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 500;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.35;
}
.pull-quote cite {
  display: block;
  margin-top: 0.7rem;
  text-align: right;
  font-size: 0.92rem;
  font-weight: 600;
  font-style: normal;
  color: var(--text-muted);
}
.press-line a {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--orange-dark);
}
.press-line a:hover { color: var(--orange); }

/* ---------------------------------------------------------------------
   11. WHY / HOW IT WORKS
   --------------------------------------------------------------------- */
.why { background: var(--black-2); }
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--card-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem 1.6rem;
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.step:hover { border-color: rgba(247,147,26,0.4); transform: translateY(-4px); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--orange);
  color: #1A1206;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.18rem; color: var(--white); }
.step p { color: var(--text-dim); margin: 0; }

.why-banner {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(247,147,26,0.14), rgba(247,147,26,0.04));
  border: 1px solid rgba(247,147,26,0.35);
}
.why-banner p { margin: 0; max-width: 60ch; color: var(--text-dark); }
.why-banner strong { color: var(--orange); }

/* ---------------------------------------------------------------------
   12. TRUST / AS SEEN ON
   --------------------------------------------------------------------- */
.feature-tv { max-width: 880px; margin: 0 auto 3rem; }
.tv-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  background: var(--white);
  border: 1px solid var(--line-light);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.tv-badge strong { color: var(--orange-dark); }
.tv-dot { width: 8px; height: 8px; border-radius: 50%; background: #e0245e; }

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(45deg, #1a1c1f 0 14px, #161719 14px 28px);
  border: 1px solid var(--line-light);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.video-inner { text-align: center; }
.play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--orange);
  margin-bottom: 0.8rem;
  box-shadow: 0 0 0 0 var(--orange-glow);
  animation: ping 2.6s ease-out infinite;
}
.video-caption {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--text-dim);
  margin: 0;
}

.trust-logos { text-align: center; margin-bottom: 3rem; }
.trust-logos-label {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}
.logo-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  max-width: 760px;
  margin: 0 auto 0.9rem;
}
.logo-slot {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-muted);
  background: var(--white);
  border: 1px dashed rgba(10,10,10,0.18);
  border-radius: 10px;
  padding: 1.1rem 0.8rem;
}
.trust-fineprint { font-size: 0.82rem; color: var(--text-muted); }

.testimonials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.1rem;
}
.testimonial {
  position: relative;
  flex: 1 1 300px;
  max-width: 360px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.3rem;
}
.testimonial p { color: var(--text-muted); font-style: italic; }
.quote-mark {
  font-family: var(--font-head);
  font-size: 3rem;
  line-height: 0.5;
  color: var(--orange);
  opacity: 0.45;
  height: 1.2rem;
}
.testimonial footer { display: flex; flex-direction: column; margin-top: 0.6rem; }
.t-name { font-family: var(--font-head); font-weight: 600; color: var(--text-light); }
.t-meta { font-size: 0.83rem; color: var(--text-muted); }
.testimonials-note {
  max-width: 640px;
  margin: 1.4rem auto 0;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ---------------------------------------------------------------------
   13. CONTACT
   --------------------------------------------------------------------- */
.contact { background: var(--black); }
.contact-grid {
  display: grid;
  gap: clamp(2rem, 6vw, 3.5rem);
  align-items: start;
}
.contact-direct { margin-top: 1.6rem; display: grid; gap: 0.9rem; }
.contact-direct li { display: flex; align-items: center; gap: 0.75rem; }
.cd-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(247,147,26,0.12);
  color: var(--orange);
  flex-shrink: 0;
}
.contact-direct a {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--text-dark);
}
.contact-direct a:hover { color: var(--orange); }

.contact-form {
  background: var(--card-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 4vw, 2.2rem);
}
.form-row { margin-bottom: 1.1rem; }
.form-row label {
  display: block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}
.req { color: var(--orange); }
.opt { color: var(--text-dim); font-weight: 400; font-size: 0.85em; }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--white);
  background: #0e0f11;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.form-row textarea { resize: vertical; min-height: 110px; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(247,147,26,0.18);
}
.form-row select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.form-row input::placeholder,
.form-row textarea::placeholder { color: #6a6d73; }

/* Invalid state + inline errors */
.form-row.invalid input,
.form-row.invalid textarea {
  border-color: #e0573e;
  box-shadow: 0 0 0 3px rgba(224,87,62,0.16);
}
.field-error {
  display: block;
  font-size: 0.82rem;
  color: #f08b76;
  margin-top: 0.35rem;
  min-height: 1em;
}

/* Honeypot — visually hidden but present in DOM */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  min-height: 1.2em;
}
.form-status.success { color: #57d08a; }
.form-status.error   { color: #f08b76; }
#submitBtn[disabled] { opacity: 0.6; cursor: progress; }

/* ---- Submit-button loading state (spinner) ---- */
.btn.is-loading { pointer-events: none; }
.btn.is-loading::after {
  content: "";
  width: 16px; height: 16px;
  border: 2px solid rgba(26, 18, 6, 0.35);
  border-top-color: #1A1206;
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* =====================================================================
   "SWISH" CELEBRATION — basketball flight + success panel
   All contained inside .contact-form-wrap (position: relative).
   ===================================================================== */
.contact-form-wrap { position: relative; }

/* Persistent mute toggle (top-right of the form card) */
.sound-toggle {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: 9px;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.sound-toggle:hover { color: var(--orange); border-color: rgba(247, 147, 26, 0.5); }
.sound-toggle .ic-sound-off { display: none; }
.sound-toggle.is-muted .ic-sound-on { display: none; }
.sound-toggle.is-muted .ic-sound-off { display: inline; }

/* The form fades/locks out while the success panel is shown */
.contact-form.is-hidden { visibility: hidden; }

/* ---- The scene: a contained, overflow-clipped "mini arena" ----
   Timing tokens (mirrored by the JS orchestrator — keep in sync). */
.swish-scene {
  --lead: 0.46s;     /* dribble lead-in before the ball launches */
  --flight: 1.5s;    /* ball flight duration */
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 80% at 42% 10%, rgba(247, 147, 26, 0.10), transparent 55%),
    var(--card-dark);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0s linear 0.45s;
}
.swish-scene.is-shooting {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.22s var(--ease);
}
.swish-scene.is-finishing { opacity: 0; transition: opacity 0.5s var(--ease); }

/* Studio light beams sweeping in from the edges toward the hoop */
.stage-light {
  position: absolute;
  top: -16%;
  width: 44%;
  height: 138%;
  pointer-events: none;
  opacity: 0;
  filter: blur(17px);
  mix-blend-mode: screen;
  background: linear-gradient(180deg,
    rgba(247, 147, 26, 0) 0%,
    rgba(255, 238, 210, 0.30) 46%,
    rgba(247, 147, 26, 0) 100%);
  transform-origin: top center;
}
.light-left  { left: -10%;  transform: rotate(22deg); }
.light-right { right: -10%; transform: rotate(-22deg); }
.swish-scene.is-shooting .light-left {
  animation: light-left calc(var(--lead) + var(--flight) + 0.2s) ease-out both;
}
.swish-scene.is-shooting .light-right {
  animation: light-right calc(var(--lead) + var(--flight) + 0.2s) ease-out both;
}
@keyframes light-left {
  0%   { opacity: 0;    transform: translateX(-32%) rotate(28deg); }
  30%  { opacity: 0.55; transform: translateX(0) rotate(18deg); }
  78%  { opacity: 0.62; }
  100% { opacity: 0;    transform: translateX(0) rotate(15deg); }
}
@keyframes light-right {
  0%   { opacity: 0;    transform: translateX(32%) rotate(-28deg); }
  30%  { opacity: 0.55; transform: translateX(0) rotate(-18deg); }
  78%  { opacity: 0.62; }
  100% { opacity: 0;    transform: translateX(0) rotate(-15deg); }
}

/* The hand-drawn hoop (backboard + rim + net) — the arc's target */
.hoop {
  position: absolute;
  top: 5%;
  left: 50%;                 /* horizontally centered in the scene */
  transform: translateX(-50%);
  width: clamp(104px, 32%, 142px);
}
/* Two overlaid layers so the ball passes BETWEEN them: the back (backboard +
   rim) sits behind the ball; the front (net) sits in front of it — so the
   ball drops THROUGH the hoop and the net overlaps it on the make, instead
   of vanishing behind the board. */
.hoop-back  { z-index: 2; }
.hoop-front { z-index: 4; }
.hoop svg { width: 100%; height: auto; display: block; overflow: visible; }
.hoop .rim-glow { opacity: 0; }
.hoop .net { transform-box: fill-box; transform-origin: top center; }

/* "The make": rim flashes, net sways, a soft scene flash */
.swish-scene.is-made .rim-glow { animation: rim-flash 0.55s ease-out both; }
.swish-scene.is-made .net      { animation: net-sway 0.7s cubic-bezier(0.3, 0.7, 0.4, 1) both; }
.swish-scene.is-made .scene-flash { animation: scene-flash 0.5s ease-out both; }
@keyframes rim-flash {
  0%   { opacity: 0; }
  18%  { opacity: 0.95; }
  100% { opacity: 0; }
}
@keyframes net-sway {
  0%   { transform: scaleY(1)    translateY(0); }
  28%  { transform: scaleY(1.22) translateY(2px); }
  60%  { transform: scaleY(0.95); }
  100% { transform: scaleY(1); }
}
.scene-flash {
  position: absolute;
  inset: 0;
  z-index: 6;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(46% 34% at 50% 14%,
    rgba(255, 255, 255, 0.55), rgba(247, 147, 26, 0.22) 42%, transparent 72%);
}
@keyframes scene-flash {
  0%   { opacity: 0; }
  22%  { opacity: 1; }
  100% { opacity: 0; }
}

/* ---- The ball: ONE smooth parabola via nested transforms ----
   Outer = horizontal (linear, constant rate); middle = vertical
   (ease-out up, ease-in down -> true projectile); inner = spin (linear).
   Each axis is monotonic, so the path never stalls. JS sets the start
   position (left/top) and the --dx / --apexY / --endY targets. */
.swish-shot {
  position: absolute;
  top: 0; left: 0;
  width: 56px; height: 56px;
  z-index: 3;                 /* between hoop-back (2) and hoop-front/net (4) */
  will-change: transform;
}
.swish-bounce,
.swish-ball-y { width: 100%; height: 100%; will-change: transform; }
.basketball {
  width: 100%; height: 100%;
  will-change: transform;
  filter: drop-shadow(0 7px 11px rgba(0, 0, 0, 0.5));
}
/* Pre-shot dribble bounce during the lead-in, then settles to rest (0). */
.swish-scene.is-shooting .swish-bounce {
  animation: prebounce var(--lead) ease-in-out both;
}
@keyframes prebounce {
  0%   { transform: translateY(-12px); }
  16%  { transform: translateY(7px); }
  34%  { transform: translateY(-12px); }
  52%  { transform: translateY(7px); }
  72%  { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}
.swish-scene.is-shooting .swish-shot {
  animation: shot-x var(--flight) linear var(--lead) forwards;
}
.swish-scene.is-shooting .swish-ball-y {
  animation: shot-y var(--flight) linear var(--lead) forwards;
}
.swish-scene.is-shooting .basketball {
  animation: shot-spin var(--flight) linear var(--lead) forwards;
}
@keyframes shot-x {
  from { transform: translateX(0); }
  to   { transform: translateX(var(--dx, -40px)); }
}
@keyframes shot-y {
  0%   { transform: translateY(0) scale(1);
         animation-timing-function: cubic-bezier(0.18, 0.55, 0.35, 1); }   /* up, decelerating to apex */
  46%  { transform: translateY(var(--apexY, -300px)) scale(0.72);
         animation-timing-function: cubic-bezier(0.5, 0.05, 0.85, 0.6); }  /* down, accelerating */
  100% { transform: translateY(var(--endY, -150px)) scale(0.58); }
}
@keyframes shot-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-415deg); }
}

/* Team-color confetti burst from the hoop on the make (single play) */
.confetti { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.confetti span {
  position: absolute;
  top: 12%;
  left: 50%;
  width: 8px; height: 8px;
  opacity: 0;
}
.confetti span:nth-child(odd) { background: var(--orange); }
.confetti span:nth-child(3n)  { background: var(--orange-lite); border-radius: 50%; }
.confetti span:nth-child(4n)  { background: #FFFFFF; }
.swish-scene.is-made .confetti span { animation: confetti-burst 1.15s ease-out forwards; }
.confetti span:nth-child(1)  { --cx: -96px; animation-delay: 0.00s; }
.confetti span:nth-child(2)  { --cx:  84px; animation-delay: 0.05s; }
.confetti span:nth-child(3)  { --cx: -62px; animation-delay: 0.10s; }
.confetti span:nth-child(4)  { --cx:  58px; animation-delay: 0.02s; }
.confetti span:nth-child(5)  { --cx: -34px; animation-delay: 0.12s; }
.confetti span:nth-child(6)  { --cx:  30px; animation-delay: 0.07s; }
.confetti span:nth-child(7)  { --cx: -12px; animation-delay: 0.15s; }
.confetti span:nth-child(8)  { --cx:  14px; animation-delay: 0.03s; }
.confetti span:nth-child(9)  { --cx: -78px; animation-delay: 0.18s; }
.confetti span:nth-child(10) { --cx:  72px; animation-delay: 0.09s; }
.confetti span:nth-child(11) { --cx: -48px; animation-delay: 0.20s; }
.confetti span:nth-child(12) { --cx:  44px; animation-delay: 0.13s; }
.confetti span:nth-child(13) { --cx: -22px; animation-delay: 0.06s; }
.confetti span:nth-child(14) { --cx:  20px; animation-delay: 0.16s; }
@keyframes confetti-burst {
  0%   { opacity: 0; transform: translate(0, 0) rotate(0deg); }
  12%  { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--cx, 0), 230px) rotate(560deg); }
}

/* ---- Mobile: lower the whole "make the shot" scene ----
   On phones the form/scene is tall and the submit button (the ball's launch
   point) sits low, so the default hoop near the top arced up behind the fixed
   header and off-screen. Drop the hoop into the lower-middle of the card so it
   clears the nav and the arc + swish play in view. The ball re-aims itself —
   runSwishSuccess() measures the hoop's live position — so the make still lands
   cleanly through the lowered, centered rim. Confetti origin + studio lights
   shift down to match. Desktop/tablet are untouched. */
@media (max-width: 768px) {
  .hoop { top: 52%; }              /* was 5% — now lower-middle, below the nav */
  .confetti span { top: 59%; }     /* burst origin follows the lowered rim */
  .stage-light { top: -5%; }       /* beams' glow re-centers on the lowered hoop */
}

/* Thank-you panel overlays the form within the wrapper */
.swish-success {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(1.4rem, 4vw, 2.2rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(247, 147, 26, 0.16), transparent 60%),
    var(--card-dark);
  border: 1px solid rgba(247, 147, 26, 0.45);
  box-shadow: 0 0 70px -16px var(--orange-glow);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.97);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease),
              visibility 0s linear 0.5s;
}
.swish-success.is-visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.swish-success-inner {
  position: relative;
  z-index: 2;
  max-width: 30rem;
  outline: none;
}
.swish-emoji { font-size: 2.6rem; line-height: 1; margin-bottom: 0.5rem; }
.swish-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--orange);
  margin-bottom: 0.55rem;
}
.swish-copy { color: var(--text-dark); font-size: 1.05rem; margin-bottom: 0.7rem; }
.swish-copy--sub { color: var(--text-dim); font-size: 0.97rem; margin-bottom: 1.4rem; }

/* (Confetti now lives in the scene above as a make-triggered burst.) */

/* ---------------------------------------------------------------------
   14. FOOTER
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--black-3);
  border-top: 1px solid var(--line-dark);
  padding-top: clamp(2.5rem, 6vw, 4rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2.4rem;
}
.footer-tag { color: var(--text-dim); font-size: 0.95rem; margin: 0.8rem 0 1rem; max-width: 30ch; }
.socials { display: flex; gap: 0.6rem; }
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  color: var(--text-dim);
  border: 1px solid var(--line-dark);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.socials a:hover { color: var(--orange); border-color: var(--orange); }

.footer-nav h4, .footer-contact h4 {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}
.footer-nav ul, .footer-contact ul { display: grid; gap: 0.6rem; }
.footer-nav a, .footer-contact a {
  color: var(--text-dark);
  font-size: 0.96rem;
  transition: color var(--t-fast) var(--ease);
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 1.6rem 2.2rem;
}
.footer-disclaimer {
  font-size: 0.8rem;
  color: var(--text-dim);
  max-width: 90ch;
  margin: 0 0 0.8rem;
  line-height: 1.55;
}
.footer-disclaimer strong { color: var(--text-dark); }
.footer-copy { font-size: 0.85rem; color: var(--text-dim); margin: 0; }

/* Legal entity / d/b/a disclosure — small + muted, but legible.
   Deliberately separate from .footer-disclaimer (educational note). */
.footer-entity {
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0 0 0.55rem;
  max-width: 92ch;
}
.footer-legal-links {
  font-size: 0.8rem;
  margin: 0.7rem 0 0;
  color: var(--text-dim);
}
.footer-legal-links a { color: var(--text-dim); transition: color var(--t-fast) var(--ease); }
.footer-legal-links a:hover { color: var(--orange); }
.footer-legal-links span { margin: 0 0.4rem; opacity: 0.6; }

/* ---------------------------------------------------------------------
   15. SCROLL-REVEAL (only when JS present)
   --------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------------------------------------------------------------------
   16. FIT-BOARD ANIMATION (only when JS present)
   Cells start offset+faded per piece; .is-revealed snaps them home.
   --------------------------------------------------------------------- */
.js .fit-board .fit-cell {
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.45s var(--ease);
}
.js .fit-board.is-revealed .fit-cell {
  opacity: 1;
  transform: translate(0, 0);
}
/* Per-piece entry direction + stagger (initial offset states).
   Kept modest now that the board clips overflow — pieces slide in from the
   board's own edges and snap home (they never spill onto surrounding text). */
.js .fit-board .fit-cell[data-piece="A"]  { transform: translateY(-75%);            transition-delay: 0.05s; }
.js .fit-board .fit-cell[data-piece="B"]  { transform: translateX(75%);             transition-delay: 0.20s; }
.js .fit-board .fit-cell[data-piece="P2"] { transform: translate(-80%, -28%);       transition-delay: 0.35s; }
.js .fit-board .fit-cell[data-piece="P1"] { transform: translate(-75%, 50%);        transition-delay: 0.50s; }
.js .fit-board .fit-cell[data-piece="P3"] { transform: translate(75%, 28%);         transition-delay: 0.65s; }
.js .fit-board .fit-cell[data-piece="P4"] { transform: translateY(75%);             transition-delay: 0.80s; }

/* ---------------------------------------------------------------------
   17. RESPONSIVE BREAKPOINTS
   --------------------------------------------------------------------- */

/* --- Tablet / small laptop --- */
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .logo-strip { grid-template-columns: repeat(4, 1fr); }
}

/* --- Desktop --- */
@media (min-width: 900px) {
  .cards { grid-template-columns: repeat(3, 1fr); }

  .fit-grid { grid-template-columns: 1.05fr 0.95fr; }
  .ai-inner { grid-template-columns: 1.05fr 0.95fr; }
  .bitcoin-inner { grid-template-columns: 1.1fr 0.9fr; }
  .about-grid { grid-template-columns: 0.85fr 1.15fr; }
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
}

/* Hide the hero watermark on small screens to keep the headline clean */
@media (max-width: 768px) {
  .hero-watermark { display: none; }
}

/* --- Mobile nav (collapse menu under header) --- */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: rgba(10,10,10,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line-dark);
    padding: 1rem var(--gutter) 1.4rem;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-menu a { padding: 0.85rem 0.6rem; font-size: 1.05rem; }
  .nav-cta-li { margin-top: 0.5rem; }
  .nav-cta-li a { display: block; text-align: center; }
}

/* ---------------------------------------------------------------------
   18. REDUCED MOTION — honor user preference
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  /* Ensure revealed content & board are simply shown, not animated in */
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .js .fit-board .fit-cell { opacity: 1 !important; transform: none !important; }
  /* Swish: skip the whole arena scene (ball, lights, confetti); the
     success panel just appears. (JS also skips the scene + sound here.) */
  .swish-scene { display: none !important; }
}

/* ---------------------------------------------------------------------
   19. LEGAL PAGES (terms.html, privacy.html) — branded document layout
   --------------------------------------------------------------------- */
.legal-body { min-height: 100vh; display: flex; flex-direction: column; }

/* Clear, always-visible "back to site" control, top-left */
.legal-back {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-dark);
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-dark);
  padding: 0.6rem 1.05rem;
  border-radius: 999px;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.legal-back:hover { color: var(--orange); border-color: var(--orange); }

.legal-header {
  text-align: center;
  padding: 4.75rem 1.25rem 1.6rem;   /* top padding clears the fixed back button */
  border-bottom: 1px solid var(--line-dark);
}
.legal-header .brand { justify-content: center; }

.legal-main { flex: 1; padding: clamp(2rem, 5vw, 3.5rem) var(--gutter); }
.legal-doc { max-width: 760px; margin: 0 auto; }
.legal-doc .eyebrow { text-align: left; }
.legal-doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 0.5rem; }
.legal-meta { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 1.6rem; }

.legal-draft {
  display: block;
  background: rgba(247, 147, 26, 0.1);
  border: 1px solid rgba(247, 147, 26, 0.45);
  border-left: 3px solid var(--orange);
  border-radius: 0 10px 10px 0;
  padding: 0.95rem 1.15rem;
  color: var(--text-dark);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 2.4rem;
}
.legal-draft strong { color: var(--orange); }

.legal-doc section { margin-bottom: 1.8rem; }
.legal-doc h2 {
  font-size: 1.2rem;
  color: var(--white);
  margin: 0 0 0.5rem;
  padding-top: 0.3rem;
}
.legal-doc p { color: var(--text-dim); line-height: 1.7; margin: 0 0 0.7rem; }
.legal-doc ul { padding-left: 1.2rem; list-style: disc; display: grid; gap: 0.35rem; margin: 0.4rem 0 0.9rem; }
.legal-doc li { color: var(--text-dim); line-height: 1.6; }
.legal-doc a { color: var(--orange); }
.legal-doc a:hover { color: var(--orange-lite); }
/* Bracketed placeholder copy the attorney replaces */
.legal-ph { color: #8a8d93; font-style: italic; }

.legal-footer {
  border-top: 1px solid var(--line-dark);
  padding: 1.8rem var(--gutter) 2.4rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.6;
}
.legal-footer-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 0.8rem; }
.legal-footer a { color: var(--text-dim); transition: color var(--t-fast) var(--ease); }
.legal-footer a:hover { color: var(--orange); }
