/* ==========================================================================
   SHARK Futures, shared landing-page stylesheet
   Tokens are verbatim from ~/.claude/design-tokens/shark.design.md (Color
   System v1.0). Green-400 #0CF25D is the primary accent at ALL times; cyan is
   strictly secondary and is not used on these pages at all.

   Deliberate deviation from the live Kit page: the Kit build declares
   `Inter, Helvetica, Arial` and never loads Inter, so it actually renders in
   Arial Black. We load Inter Tight, which is the real brand face. Same
   layout, same copy, same colours, correct typography.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800;900&display=swap');

:root {
  --sf-green-50:#E8F5ED; --sf-green-100:#7BFFB2; --sf-green-200:#38FF7E; --sf-green-300:#2DDA66;
  --sf-green-400:#0CF25D; --sf-green-500:#15BA5C; --sf-green-600:#0A8F3D; --sf-green-700:#0B6B30;
  --sf-bg-page:#050E09; --sf-bg-card:#08120C;
  --sf-border:#0FF25D1A; --sf-border-subtle:#0FF25D0F; --sf-border-strong:#0FF25D33;
  --sf-text-primary:#FFFFFF; --sf-text-secondary:#B9B7BB; --sf-text-muted:#E8F5ED80; --sf-text-faint:#E8F5ED40;
  --sf-error:#FF4D4D; --sf-warning:#F5A623;
  --sf-gradient-button:linear-gradient(90deg,#15BA5C,#7BFFB2);
  --sf-gradient-text:linear-gradient(180deg,#FFF 18%,#38FF7E);
  --sf-gradient-icon:linear-gradient(160deg,#0A8F3D,#15BA5C);
  --sf-font:'Inter Tight', system-ui, -apple-system, sans-serif;
  --sf-max:1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--sf-bg-page);
  color: var(--sf-text-secondary);
  font-family: var(--sf-font);
  font-size: 20px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: var(--sf-max); margin: 0 auto; padding: 0 18px; }

/* The ambient green glow the brand doc calls for. Pointer-events off so it can
   never eat a click on the form sitting above it.

   max-width caps it at the viewport. Without it the 720px hero glow, centred
   with translateX(-50%), hangs ~165px past the right edge of a phone and every
   page in here scrolls sideways (measured: 390px viewport, 555px scroll width,
   on the live pages too). Desktop is untouched, the viewport is wider than the
   glow there. */
.glow {
  position: absolute; pointer-events: none; z-index: 0;
  max-width: 100vw;
  border-radius: 50%; filter: blur(120px);
}
.glow-hero { top: -180px; left: 50%; transform: translateX(-50%);
  width: 720px; height: 420px; background: rgba(10,143,61,0.45); }
.glow-soft { width: 520px; height: 320px; background: rgba(12,242,93,0.08); }

h1, h2, h3, h4 {
  color: var(--sf-text-primary);
  font-family: var(--sf-font);
  letter-spacing: -0.3px;
  margin: 0;
}
h1, h2 { font-weight: 900; line-height: 1.1; }
h4 { font-weight: 800; line-height: 1.2; font-size: 28px; }

.accent { color: var(--sf-green-400); }

p { margin: 0; }

hr.rule { height: 1px; border: 0; background: var(--sf-green-400); border-radius: 0.5px; margin: 24px 0; }

/* Header ------------------------------------------------------------------ */
.site-head { position: relative; z-index: 1; padding-top: 28px; }
/* `height: auto` is load-bearing, not tidiness. The <img> carries width/height
   attributes, and a CSS width with no CSS height lets the height ATTRIBUTE win
   as a presentational hint: the 3.5:1 wordmark rendered 261x571, stretched to
   nearly 8x its real height. Never set one axis here without the other. */
.site-head img {
  display: block;
  width: 100%;
  max-width: 210px;
  height: auto;
  margin: 0 auto;
}
@media (max-width: 1000px) { .site-head img { max-width: 160px; } }

/* Form -------------------------------------------------------------------- */
/* Every page POSTs to the SAME Kit form (9837702) with the SAME two field
   names, so leads keep landing where they already land. Do not rename these
   inputs: `fields[first_name]` and `email_address` are Kit's contract, not
   ours. The hidden `fields[lp_variant]` is additive and is what makes the A/B
   test attributable without standing up four separate forms. */
.lead-form { display: flex; flex-direction: column; gap: 12px; }
.lead-form.row { flex-direction: row; flex-wrap: wrap; }
.lead-form input[type="text"],
.lead-form input[type="email"] {
  padding: 14px 16px;
  font-family: var(--sf-font);
  font-size: 16px;
  color: #000;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 12px;
}
/* Growth belongs to the ROW variant only. flex-basis runs along the MAIN axis,
   and the default .lead-form is a COLUMN flex, so an unscoped `flex:1 1 200px`
   reads as a 200px minimum HEIGHT per input, not a width. */
.lead-form.row input[type="text"],
.lead-form.row input[type="email"] { flex: 1 1 200px; min-width: 0; }

.lead-form input::placeholder { color: #000; opacity: 0.7; }
.lead-form input:focus-visible { outline: 2px solid var(--sf-green-400); outline-offset: 2px; }

/* Marketing consent checkbox. flex-basis:100% forces its own line inside a
   ROW form (b, c), where the email input and button would otherwise share
   the row with it. */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-basis: 100%;
  text-align: left;
  font-size: 13px;
  line-height: 1.4;
  color: var(--sf-text-muted);
}
.consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--sf-green-400);
}

.btn {
  display: inline-block;
  padding: 14px 22px;
  font-family: var(--sf-font);
  font-size: 16px;
  font-weight: 700;
  color: #0b0b0b;
  background: var(--sf-gradient-button);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--sf-green-200); outline-offset: 3px; }
.btn-block { width: 100%; }

.privacy { margin-top: 8px; font-size: 13px; color: var(--sf-text-muted); }

/* Cards ------------------------------------------------------------------- */
.card {
  background: var(--sf-bg-card);
  border: 1px solid var(--sf-border-strong);
  border-radius: 24px;
  padding: 24px;
}
.icon-chip {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 4px; background: var(--sf-bg-page); border-radius: 12px;
}
.icon-chip svg { width: 36px; height: 36px; fill: var(--sf-green-400); display: block; }

.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }

.eyebrow {
  font-size: 14px; font-weight: 600; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--sf-green-400);
}

/* Footer ------------------------------------------------------------------ */
.site-foot { padding-bottom: 48px; text-align: center; }
.socials { display: flex; justify-content: center; gap: 8px; }
.socials a { display: block; }
.socials img { width: 32px; height: 32px; border-radius: 4px; display: block; }
.foot-label { font-size: 16px; font-weight: 900; text-transform: uppercase; color: var(--sf-text-primary); margin-bottom: 12px; }
.disclaimer { margin-top: 24px; font-size: 13px; color: var(--sf-text-faint); }

/* Responsive -------------------------------------------------------------- */
/* Kit's own breakpoint is 1000px; matching it keeps the clone honest and the
   variants consistent with it. */
@media (max-width: 1000px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 20px; }
  .lead-form.row { flex-direction: column; }
  body { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
