/* Landing v2 - shared foundation for both candidates.
   Self-hosted fonts (skill rule: never <link> Google Fonts in production)
   + the pieces that are identical across candidates: reset, reveal motion,
   the iMessage bubble (the product IS a text message, so the bubble is the
   honest product shot in both designs), form states, reduced-motion. */

@font-face {
  font-family: "Archivo Black";
  src: url("/fonts/archivo-black-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
html { overflow-x: hidden; }
body { line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }

/* --- Scroll reveal: storytelling motion, sections enter as you read.
       JS adds .in when the element crosses the viewport (IntersectionObserver). */
.reveal { opacity: 1; transform: none;
          transition: opacity .6s cubic-bezier(.16,1,.3,1),
                      transform .6s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* --- The snitch text: rendered as a real iMessage thread.
       Feedback motion: the message "arrives" (pop-in) when scrolled to. */
.imsg { max-width: 21rem; font-family: -apple-system, "SF Pro Text", system-ui, sans-serif; }
.imsg .meta { font-size: .72rem; text-align: center; margin-bottom: .5rem; opacity: .55; }
.imsg .row { display: flex; }
.imsg .b { padding: .65rem 1rem; border-radius: 1.15rem; font-size: .95rem;
           line-height: 1.4; max-width: 88%;
           background: #3b3b3d; color: #fff; border-bottom-left-radius: .3rem; }
.imsg .row + .row { margin-top: .35rem; }
.imsg .arrive { opacity: 1; transform: none; transform-origin: bottom left; }
.in .imsg .arrive,
.imsg.in .arrive { animation: msg-pop .45s cubic-bezier(.34,1.4,.64,1) forwards; }
.in .imsg .arrive:nth-child(2) { animation-delay: .5s; }
@keyframes msg-pop { to { opacity: 1; transform: none; } }

/* --- Waitlist form: full state cycle (idle / done), label above input. */
.wl-form { display: flex; flex-direction: column; gap: .6rem; margin-top: 1.5rem; }
.wl-form label { font-size: .85rem; font-weight: 600; }
.wl-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.wl-row input { flex: 1 1 14rem; padding: .95rem 1.1rem; font-size: 1rem; }
[data-waitlist-done] { margin-top: 1rem; }

/* --- Tactile press on every button */
button, .btn { cursor: pointer; }
button:active, .btn:active { transform: translateY(1px) scale(.99); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .imsg .arrive { opacity: 1; transform: none; animation: none !important; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Loud candidate styles */
/* CANDIDATE 1 · LOUD - brutalist meme-native. Committed design, not a palette swap.
   Shape lock: all-sharp (radius 0). Accent lock: one yellow, everywhere.
   Type: Archivo Black display / Space Grotesk body. */
:root {
  --ink: #0d0d0d;        /* off-black, never #000 */
  --paper: #f4f2ec;      /* off-white */
  --yellow: #ffd60a;
  --line: #0d0d0d;
}
body { font-family: "Space Grotesk", system-ui, sans-serif;
       background: var(--ink); color: var(--paper); }
h1, h2 { font-family: "Archivo Black", system-ui, sans-serif;
         font-weight: 400; text-transform: uppercase;
         line-height: .95; letter-spacing: -.01em; }

/* Sticky nav: one line, slim, brand + single CTA intent ("early access" everywhere) */
nav { position: sticky; top: 0; z-index: 10; display: flex;
      justify-content: space-between; align-items: center;
      padding: .8rem 1.25rem; background: var(--ink);
      border-bottom: 3px solid var(--yellow); }
nav .brand { font-family: "Archivo Black", sans-serif; font-size: 1rem;
             text-transform: uppercase; color: var(--paper); text-decoration: none; }
nav .btn { font-size: .8rem; padding: .55rem 1rem; }

.btn { display: inline-block; background: var(--yellow); color: var(--ink);
       font-family: "Archivo Black", sans-serif; text-transform: uppercase;
       font-size: .95rem; padding: 1rem 1.8rem; text-decoration: none;
       border: none; letter-spacing: .02em; }
.btn:hover { background: var(--paper); }

/* HERO: asymmetric split. Left: type block. Right: the snitch text (the product).
   Collapses to stacked single column under 768px. */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem;
        max-width: 72rem; margin: 0 auto; padding: 3.5rem 1.25rem 4.5rem; }
.hero h1 { font-size: clamp(1.7rem, 6.6vw, 3.4rem); }
.hero h1 .hl { display: block; }
.hero h1 .hl { color: var(--yellow); }
.hero .sub { margin: 1.4rem 0 2rem; font-size: 1.1rem; max-width: 26rem;
             color: #b8b5ac; }
.hero .sub b { color: var(--paper); }
.hero-msg { align-self: center; justify-self: start; }
.hero-msg .imsg { transform: rotate(2deg); }
.hero-msg .imsg .meta { color: #b8b5ac; }
@media (min-width: 768px) {
  .hero { grid-template-columns: 3fr 2fr; padding-top: 5rem; align-items: center; }
  .hero-msg { justify-self: center; }
}

/* MARQUEE: the one allowed kinetic strip - it carries the actual pitch. */
.tape { overflow: hidden; background: var(--yellow); color: var(--ink);
        border-block: 3px solid var(--ink); white-space: nowrap;
        font-family: "Archivo Black", sans-serif; text-transform: uppercase;
        font-size: 1rem; padding: .7rem 0; }
.tape span { display: inline-block; padding-right: 3rem;
             animation: tape 22s linear infinite; }
@media (prefers-reduced-motion: reduce) { .tape span { animation: none; } }
@keyframes tape { to { transform: translateX(-50%); } }

/* HOW IT WORKS: giant numbered rows, hairline separated. Not cards. */
.steps { max-width: 72rem; margin: 0 auto; padding: 4.5rem 1.25rem; }
.steps h2 { font-size: clamp(1.5rem, 6.5vw, 3rem); margin-bottom: 1rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem;
        padding: 1.6rem 0; border-bottom: 1px solid #2c2c2c; align-items: start; }
.step:last-of-type { border-bottom: none; }
.step .n { font-family: "Archivo Black", sans-serif; font-size: 2.6rem;
           color: var(--yellow); line-height: 1; min-width: 3.2rem; }
.step b { display: block; font-size: 1.15rem; margin-bottom: .2rem; }
.step p { color: #b8b5ac; max-width: 38rem; }
.step p b { display: inline; font-size: inherit; color: var(--paper); }

/* GHOST CLAUSE: full-width yellow slab. Different layout family on purpose. */
.slab { background: var(--yellow); color: var(--ink); }
.slab .inner { max-width: 72rem; margin: 0 auto; padding: 3.5rem 1.25rem; }
.slab h2 { font-size: clamp(1.6rem, 4.5vw, 2.6rem); }
.slab h2 br { display: none; }
@media (min-width: 640px) { .slab h2 br { display: inline; } }
.slab p { margin-top: 1rem; max-width: 38rem; font-weight: 500; }

/* WHY: single focused message, vertical stack, quiet. */
.why { max-width: 42rem; margin: 0 auto; padding: 4.5rem 1.25rem; }
.why h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); margin-bottom: 1.2rem; }
.why p { color: #b8b5ac; }
.why p + p { margin-top: 1rem; }
.why b { color: var(--paper); }

/* PRICING: earnest zone (spec/08). Drops the shouting: no uppercase, calm. */
.pricing { background: var(--paper); color: var(--ink); }
.pricing .inner { max-width: 42rem; margin: 0 auto; padding: 4.5rem 1.25rem; }
.pricing h2 { text-transform: none; font-family: "Space Grotesk", sans-serif;
              font-weight: 700; font-size: clamp(1.6rem, 4.5vw, 2.2rem); }
.pricing .lead { margin-top: .8rem; color: #55524a; }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 1.6rem 0 1rem; }
@media (max-width: 480px) { .prices { grid-template-columns: 1fr; } }
.price { border: 2px solid var(--ink); padding: 1.2rem; text-align: center; }
.price.pick { background: var(--ink); color: var(--paper); }
.price b { display: block; font-size: 1.4rem; }
.price span { font-size: .85rem; opacity: .7; }
.pricing .fine { font-size: .9rem; color: #55524a; }

/* WAITLIST */
/* CLOSE: the last slab. Brand big, one line of status, the four links. */
footer { background: var(--ink); border-top: 3px solid var(--yellow); }
footer .inner { max-width: 72rem; margin: 0 auto; padding: 4rem 1.25rem 2.5rem; }
footer .close { display: flex; flex-direction: column; gap: .8rem; }
@media (min-width: 640px) {
  footer .close { flex-direction: row; align-items: baseline;
                  justify-content: space-between; gap: 1rem 2rem; }
}
footer .brand { font-family: "Archivo Black", sans-serif; text-transform: uppercase;
                font-size: clamp(2.6rem, 9vw, 5.5rem); line-height: .9;
                letter-spacing: -.02em; color: var(--paper); }
footer .soon { font-family: "Archivo Black", sans-serif; text-transform: uppercase;
               font-size: 1rem; letter-spacing: .06em; color: var(--yellow); }
footer .links { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 3rem;
                padding-top: 1.2rem; border-top: 1px solid #2c2c2c; font-size: .9rem; }
footer a { color: #b8b5ac; text-decoration: none; }
footer a:hover { color: var(--yellow); }
