/* GoLivePage — marketing lobby
   Concept D "One link" + Concept A warmth (storefront dusk hero)
   Tokens per DESIGN.md. Do not introduce a second visual system. */

:root {
  --bg: #f3efe6; /* warm paper */
  --bg-deep: #e7e0d2; /* section shift */
  --ink: #1c1914; /* near-black brown */
  --muted: #5c564c; /* secondary text */
  --line: rgba(28, 25, 20, 0.12);
  --go: #0f6b4c; /* go-live green — primary CTA */
  --go-deep: #0a4a35;
  --signal: #c45c26; /* sparse accent only */
  --white: #fffcf7;
  --shadow: 0 20px 50px rgba(28, 25, 20, 0.12);

  /* Outfit replaced Syne 2026-07-25 (Syne's g/G read wrong on "GoLivePage").
     No Syne fallback by design. */
  --font-brand: "Outfit", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --wrap: min(1100px, calc(100% - 2.5rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

/* ---------------------------------------------------------------
   HERO — full-bleed photo, dark veil, poster type
   --------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--ink);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  z-index: -2;
}

/* Veil: darkens toward bottom-left so white type always clears AA,
   while the lit storefront keeps its glow top-right. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      to top,
      rgba(18, 16, 13, 0.9) 0%,
      rgba(18, 16, 13, 0.72) 28%,
      rgba(18, 16, 13, 0.34) 62%,
      rgba(18, 16, 13, 0.22) 100%
    ),
    linear-gradient(
      to right,
      rgba(18, 16, 13, 0.6) 0%,
      rgba(18, 16, 13, 0.28) 55%,
      rgba(18, 16, 13, 0.1) 100%
    );
}

.hero-inner {
  position: relative;
  width: var(--wrap);
  margin-inline: auto;
  padding-block: 3.5rem 3.25rem;
  max-width: min(1100px, calc(100% - 2.5rem));
}

.brand {
  margin: 0;
  font-family: var(--font-brand);
  font-weight: 800;
  /* "GoLivePage" is one unbreakable word: it cannot wrap, so the size is
     tuned to the wordmark's MEASURED width against the --wrap gutter.
     Outfit renders ~5.27x font-size at this tracking (Syne was ~9.30x), so the
     font-size is nearly double to hold the same poster-width composition.
     Re-measure this coefficient if the display face ever changes again.
     Verified to fit 320px through 1440px. */
  font-size: clamp(3.15rem, 18vw - 7.2px, 12.3rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--white);
}

.hero-headline {
  margin: 0.55rem 0 0;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: clamp(1.45rem, 5.2vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--white);
  max-width: 22ch;
  text-wrap: balance;
}

.lede {
  margin: 1rem 0 0;
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  line-height: 1.5;
  color: rgba(255, 252, 247, 0.92);
  max-width: 46ch;
}

/* ---------------------------------------------------------------
   BUTTONS
   --------------------------------------------------------------- */

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 650;
  font-size: 1.03rem;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

.btn-primary {
  background: var(--go);
  color: var(--white);
  border: 1.5px solid var(--go);
  box-shadow: 0 10px 26px rgba(15, 107, 76, 0.32);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--go-deep);
  border-color: var(--go-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(10, 74, 53, 0.38);
}

.btn-ghost {
  background: rgba(255, 252, 247, 0.06);
  color: var(--white);
  border: 1.5px solid rgba(255, 252, 247, 0.6);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 252, 247, 0.16);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
}

/* ---------------------------------------------------------------
   BELOW FOLD — minimal
   --------------------------------------------------------------- */

.section {
  padding-block: clamp(3.25rem, 9vw, 5.25rem);
}

.included {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.example {
  background: var(--bg-deep);
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
}

.section h2 {
  margin: 0;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: clamp(1.6rem, 5vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 20ch;
  text-wrap: balance;
}

.section-line {
  margin: 0.85rem 0 0;
  font-size: clamp(1rem, 2.4vw, 1.12rem);
  color: var(--muted);
  max-width: 52ch;
}

.example .btn {
  margin-top: 1.6rem;
}

/* ---------------------------------------------------------------
   FOOTER — ink close bar, carries the last CTA
   --------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 252, 247, 0.86);
  padding-block: 2.1rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem 1.5rem;
}

.footer-brand {
  margin: 0;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(255, 252, 247, 0.86);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1.5px solid transparent;
  transition: color 200ms ease, border-color 200ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
  border-bottom-color: var(--signal);
}

/* ---------------------------------------------------------------
   MOTION — opacity fade on load only (Concept D)
   --------------------------------------------------------------- */

/* Pure CSS. Deliberately NOT driven by JS: a requestAnimationFrame-gated
   reveal never fires in a background tab, which is precisely how this link
   gets opened (tapped from Facebook, then the phone is switched away). A CSS
   animation cannot strand the copy at opacity 0 — if it never runs, the
   element simply keeps its natural opacity of 1. */
@keyframes gl-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade {
  animation: gl-fade-in 620ms ease-out both;
}

.fade[data-fade="1"] {
  animation-delay: 60ms;
}
.fade[data-fade="2"] {
  animation-delay: 200ms;
}
.fade[data-fade="3"] {
  animation-delay: 330ms;
}
.fade[data-fade="4"] {
  animation-delay: 450ms;
}

@media (prefers-reduced-motion: reduce) {
  .fade {
    animation: none;
    opacity: 1;
  }

  .btn,
  .footer-links a {
    transition: none;
  }

  .btn:hover,
  .btn:focus-visible {
    transform: none;
  }
}

/* ---------------------------------------------------------------
   LARGER SCREENS
   --------------------------------------------------------------- */

@media (min-width: 46rem) {
  .hero-inner {
    padding-block: 4.5rem 4.25rem;
  }

  .lede {
    font-size: 1.2rem;
  }
}

@media (min-width: 64rem) {
  .hero-photo {
    object-position: 55% 50%;
  }

  .hero-inner {
    padding-block: 5rem 5rem;
  }
}
