/* Loudmill marketing site. Loud by design (brand/BRAND.md §3 "In marketing: loud").
   Colours come from brand/tokens.css; repeated here because the site ships without a build step. */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --magenta: #D6175E;
  --magenta-hover: #B8124F;
  --magenta-active: #9A0F42;
  --pink: #F4719E;       /* dark-mode magenta: loud on ink */
  --yellow: #FFD23F;     /* volume yellow: marketing only */
  --ink: #0F172A;
  --ink-2: #1E293B;
  --muted: #475569;
  --grain: #FFF8F1;
  --blush: #FDE8F0;
  --line: #E7E1DA;
  --white: #FFFFFF;
  --radius: 18px;
  --wrap: 1180px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
html, body { overflow-x: clip; } /* the tilted band and ripples bleed past the edges on purpose; clip keeps the header sticky */
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; }
h2 { font-size: clamp(2.3rem, 5.5vw, 4.4rem); margin-bottom: 2.5rem; }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; line-height: 1.2; margin-bottom: .5rem; }
p { margin: 0 0 1rem; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.defs { position: absolute; }

/* The highlighter bar: one phrase per section, ink on yellow (12.36:1). */
mark {
  background: var(--yellow);
  color: var(--ink);
  padding: 0 .18em;
  border-radius: .12em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--yellow); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; text-decoration: none; border-radius: 999px;
  border: 3px solid transparent; letter-spacing: -0.01em;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .5rem 1.1rem; font-size: .95rem; }
.btn-lg { padding: .95rem 1.8rem; font-size: 1.1rem; }
.btn-xl { padding: 1.2rem 2.6rem; font-size: 1.35rem; }
.btn-magenta { background: var(--magenta); color: var(--white); box-shadow: 0 6px 0 var(--magenta-active); }
.btn-magenta:hover { background: var(--magenta-hover); }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 0 #C9A01F; }
.btn-ink { background: var(--ink); color: var(--white); box-shadow: 0 6px 0 #000; }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-quiet { background: var(--white); color: var(--ink); border: 2px solid var(--line); }
.btn-sm.btn-magenta, .btn-sm.btn-yellow { box-shadow: 0 4px 0 var(--magenta-active); }
.btn-sm.btn-yellow { box-shadow: 0 4px 0 #C9A01F; }

/* ── Header ──────────────────────────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 23, 42, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.top-row { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand .icon { width: 38px; height: 38px; }
.wordmark { font-weight: 800; font-size: 1.75rem; letter-spacing: -0.06em; color: var(--white); line-height: 1; }
.wordmark b { color: var(--pink); font-weight: 800; }
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:hover { color: var(--yellow); }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 600px at 85% 20%, rgba(214, 23, 94, .45), transparent 60%),
    radial-gradient(700px 500px at 5% 100%, rgba(244, 113, 158, .25), transparent 60%),
    var(--ink);
  color: var(--white);
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(4rem, 9vw, 8rem);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  padding: .4rem .95rem; border-radius: 999px; font-weight: 700; font-size: .92rem;
  margin-bottom: 1.6rem;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(255,210,63,.7); animation: pulse 2s infinite; }
.hero h1 { font-size: clamp(3.6rem, 10vw, 7.4rem); letter-spacing: -0.055em; margin-bottom: 1.6rem; }
.hero h1 mark { display: inline-block; margin-top: .08em; transform: rotate(-1.5deg); padding: 0 .12em .04em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #E2E8F0; max-width: 36rem; }
.lede strong { color: var(--pink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 1.2rem; }
.promise { color: var(--yellow); font-weight: 700; margin: 0; }

/* Sound ripples: rings spreading from the mill, fading out. */
.ripples { position: absolute; right: -180px; bottom: -220px; width: 900px; height: 900px; z-index: 1; pointer-events: none; }
.ripples i {
  position: absolute; inset: 0; border-radius: 50%;
  border: 28px solid var(--magenta);
  animation: ripple 6s linear infinite; opacity: 0;
}
.ripples i:nth-child(2) { animation-delay: 1.5s; }
.ripples i:nth-child(3) { animation-delay: 3s; }
.ripples i:nth-child(4) { animation-delay: 4.5s; }
.ripples-light i { border-color: var(--yellow); }

/* The mill itself, big and cropped, always turning. */
.mill {
  position: absolute; right: -60px; bottom: -80px; width: 460px; height: 460px; z-index: 1;
  fill: rgba(255,255,255,.07); animation: spin 28s linear infinite;
}

/* The product mock. */
.queue {
  margin: 0; background: var(--white); color: var(--ink);
  border-radius: 24px; padding: 1.3rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 8px rgba(255,255,255,.06);
  transform: rotate(1.6deg);
}
.queue-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.queue-title { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; }
.count { background: var(--magenta); color: var(--white); font-weight: 800; border-radius: 999px; padding: .1rem .7rem; }
.draft { border: 2px solid var(--line); border-radius: 14px; padding: .8rem .95rem; margin-bottom: .7rem; background: var(--grain); }
.draft p { margin: .45rem 0; font-size: .96rem; line-height: 1.45; }
.draft-meta { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; color: var(--muted); font-weight: 600; }
.chip { color: var(--white); font-weight: 700; font-size: .78rem; padding: .15rem .6rem; border-radius: 999px; }
.chip-linkedin { background: #0A66C2; }
.chip-instagram { background: linear-gradient(90deg, #F58529, #DD2A7B, #8134AF); }
.chip-email { background: var(--ink); }
.check { display: inline-block; font-size: .8rem; font-weight: 700; padding: .15rem .55rem; border-radius: 8px; }
.check.ok { background: #DCFCE7; color: #14532D; }
.check.warn { background: #FEF3C7; color: #78350F; }
.queue-actions { display: flex; gap: .6rem; margin-top: 1rem; flex-wrap: wrap; }
.queue figcaption { margin-top: .9rem; font-size: .78rem; color: var(--muted); text-align: center; }

/* ── The loud band: a scrolling slogan strip ─────────────────────────── */
.band { background: var(--yellow); color: var(--ink); overflow: hidden; border-block: 4px solid var(--ink); transform: rotate(-1.2deg); margin: -18px -10px 0; position: relative; z-index: 3; }
.band-track { display: flex; gap: 2.4rem; width: max-content; padding: 1.05rem 0; animation: marquee 38s linear infinite; font-weight: 800; font-size: clamp(1.3rem, 2.6vw, 2rem); letter-spacing: -0.03em; white-space: nowrap; }
.band em { font-style: normal; color: var(--magenta); }
.star { color: var(--magenta); }

/* ── Who we are ──────────────────────────────────────────────────────── */
.proud {
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(255, 210, 63, .35), transparent 60%),
    var(--magenta);
  color: var(--white);
  padding: clamp(5rem, 10vw, 8.5rem) 0 clamp(4rem, 8vw, 7rem);
}
.kicker { text-transform: uppercase; letter-spacing: .16em; font-weight: 800; font-size: .85rem; margin-bottom: 1rem; opacity: .9; }
.mega { font-size: clamp(2.8rem, 7.5vw, 6.2rem); letter-spacing: -0.05em; max-width: 15ch; }
.proud-sub { font-size: clamp(1.15rem, 1.8vw, 1.4rem); max-width: 44rem; color: #FFF1F6; }
.proud-sub strong { color: var(--yellow); }
.stamps { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.stamp { font-weight: 800; padding: .6rem 1.15rem; border-radius: 999px; font-size: 1rem; box-shadow: 0 5px 0 rgba(0,0,0,.25); }
.stamp:nth-child(odd) { transform: rotate(-2deg); }
.stamp:nth-child(even) { transform: rotate(2deg); }
.s-yellow { background: var(--yellow); color: var(--ink); }
.s-ink { background: var(--ink); color: var(--white); }
.s-pink { background: var(--pink); color: var(--ink); }
.s-white { background: var(--white); color: var(--magenta); }

/* ── How it works ────────────────────────────────────────────────────── */
.how { background: var(--grain); padding: clamp(4.5rem, 9vw, 8rem) 0; }
.how .kicker { color: var(--magenta); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; counter-reset: none; }
.step { background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius); padding: 1.6rem 1.4rem; box-shadow: 8px 8px 0 var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.step:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--ink); }
.step p { color: var(--muted); margin: 0; }
.num { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; font-weight: 800; font-size: 2.1rem; margin-bottom: 1.1rem; border: 3px solid var(--ink); }
.st-1 .num { background: var(--magenta); color: var(--white); }
.st-2 .num { background: var(--yellow); color: var(--ink); }
.st-3 .num { background: var(--pink); color: var(--ink); }
.st-4 .num { background: var(--ink); color: var(--yellow); }

/* ── Why ─────────────────────────────────────────────────────────────── */
.why { background: var(--ink); color: var(--white); padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; overflow: hidden; }
.why .kicker { color: var(--pink); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.card { border-radius: var(--radius); padding: 1.8rem 1.6rem; transition: transform .2s ease; }
.card:hover { transform: translateY(-6px) rotate(-.4deg); }
.card p { margin: 0; }
.card-icon { font-size: 2.1rem; display: block; margin-bottom: .9rem; }
.c-magenta { background: var(--magenta); color: var(--white); }
.c-yellow { background: var(--yellow); color: var(--ink); }
.c-pink { background: var(--pink); color: var(--ink); }
.c-white { background: var(--white); color: var(--ink); }
.c-white p, .c-grain p { color: var(--muted); }
.c-ink-lite { background: var(--ink-2); color: var(--white); border: 2px solid rgba(255,255,255,.14); }
.c-ink-lite p { color: #CBD5E1; }
.c-grain { background: var(--grain); color: var(--ink); }

/* ── Channels ────────────────────────────────────────────────────────── */
.channels {
  background:
    radial-gradient(800px 400px at 0% 100%, rgba(15, 23, 42, .35), transparent 60%),
    linear-gradient(135deg, var(--magenta) 0%, #E23D78 55%, var(--pink) 100%);
  color: var(--white); padding: clamp(4.5rem, 9vw, 8rem) 0;
}
.chan-list { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.chan {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.14); border: 2px solid rgba(255,255,255,.35);
  padding: .8rem 1.3rem; border-radius: 999px; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em;
}
.chan small { font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; opacity: .85; }
.chan.live { background: var(--yellow); color: var(--ink); border-color: var(--yellow); box-shadow: 0 6px 0 #C9A01F; }
.pip { width: 12px; height: 12px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 0 0 rgba(22,163,74,.6); animation: pulse-green 2s infinite; }
.chan-note { font-size: 1.15rem; max-width: 46rem; color: #FFF1F6; }
.chan-note strong { color: var(--yellow); }

/* ── Pricing ─────────────────────────────────────────────────────────── */
.pricing { background: var(--yellow); padding: clamp(4.5rem, 9vw, 8rem) 0; }
.pricing .kicker { color: var(--magenta-active); }
.pricing mark { background: var(--white); }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-bottom: 1.8rem; }
.price { border: 3px solid var(--ink); border-radius: var(--radius); padding: 2rem 1.6rem; box-shadow: 8px 8px 0 var(--ink); display: flex; flex-direction: column; }
.amount { font-weight: 800; font-size: clamp(3rem, 6vw, 4.6rem); letter-spacing: -0.05em; line-height: 1; }
.per { font-weight: 700; margin-top: .4rem; }
.p1 { background: var(--white); }
.p2 { background: var(--magenta); color: var(--white); }
.p3 { background: var(--ink); color: var(--yellow); }
.price-note { font-size: 1.1rem; max-width: 42rem; margin-bottom: 1.8rem; }

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq { background: var(--white); padding: clamp(4.5rem, 9vw, 8rem) 0; }
.faq .kicker { color: var(--magenta); }
.faq h2 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
details { border: 3px solid var(--ink); border-radius: 16px; margin-bottom: 1rem; background: var(--grain); overflow: hidden; }
details[open] { background: var(--blush); }
summary { cursor: pointer; list-style: none; padding: 1.15rem 1.4rem; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--magenta); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 1.4rem 1.2rem; margin: 0; color: var(--ink); }
details a { color: var(--magenta-active); font-weight: 700; }

/* ── Finale ──────────────────────────────────────────────────────────── */
.finale {
  position: relative; overflow: hidden; text-align: center;
  background: radial-gradient(900px 500px at 50% 120%, rgba(255,210,63,.35), transparent 60%), var(--magenta);
  color: var(--white); padding: clamp(5rem, 11vw, 9rem) 0;
}
.finale .mega { margin: 0 auto 2.6rem; max-width: 14ch; }
.finale .ripples { right: auto; left: 50%; bottom: -560px; transform: translateX(-50%); width: 1100px; height: 1100px; }
.finale .wrap { position: relative; z-index: 2; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.foot { background: var(--ink); color: #CBD5E1; padding: 3.5rem 0 2rem; }
.foot-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: flex-start; }
.tagline { margin: .8rem 0 0; font-weight: 700; color: var(--yellow); }
.foot-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.foot-links a { text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: var(--yellow); }
.foot-legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .88rem; color: #94A3B8; }
.foot-legal p { margin: 0 0 .3rem; }

/* ── Motion ──────────────────────────────────────────────────────────── */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ripple { 0% { transform: scale(.2); opacity: .55; } 100% { transform: scale(1); opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,210,63,.7); } 70% { box-shadow: 0 0 0 12px rgba(255,210,63,0); } 100% { box-shadow: 0 0 0 0 rgba(255,210,63,0); } }
@keyframes pulse-green { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.6); } 70% { box-shadow: 0 0 0 10px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .ripples i { opacity: .18; }
  .ripples i:nth-child(1) { transform: scale(.35); }
  .ripples i:nth-child(2) { transform: scale(.55); }
  .ripples i:nth-child(3) { transform: scale(.75); }
  .ripples i:nth-child(4) { transform: scale(.95); }
  .band-track { flex-wrap: wrap; width: auto; justify-content: center; }
}

/* ── Smaller screens ─────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .nav { display: none; }
  .top-row { justify-content: space-between; }
  .hero-grid { grid-template-columns: 1fr; }
  .queue { transform: none; max-width: 560px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wordmark { font-size: 1.45rem; }
  .brand .icon { width: 32px; height: 32px; }
  .steps, .cards, .prices { grid-template-columns: 1fr; }
  .mill { width: 300px; height: 300px; }
  .ripples { width: 600px; height: 600px; right: -260px; bottom: -260px; }
  .btn-lg { width: 100%; }
  .chan { font-size: 1.05rem; padding: .65rem 1rem; }
  .finale .ripples { width: 700px; height: 700px; bottom: -380px; }
}
.lost { min-height: 100vh; display: grid; place-items: center; }
