/* ---------------------------------------------------------------------
   send.css — the loud layer.

   The sibling Sirek sites share style.css, which is restrained and
   editorial and correct for a protein tracker. SEND? is not that: the app
   sets its headlines in compressed black, stamps a verdict across the
   screen and puts stickers on things, and a product page that whispers
   about it is describing a different app.

   So this sits on top of the shared sheet rather than replacing it. The
   structure, the nav, the footer and the dark-mode plumbing all still come
   from style.css; everything here is about turning the volume up.

   ── WHAT IT DELIBERATELY DOES NOT COPY ───────────────────────────────
   The four biggest apps in this category all look identical: pink-purple
   gradients, floating phone mockups, laurel wreaths, "#1" badges, press
   logos. Loud is not the same as that. The type gets bigger and the colour
   gets used with intent; nothing here pretends to an award.
   --------------------------------------------------------------------- */

:root {
  --send: #0e8f4d;
  --dont: #ce3232;
  --paper: #f7f5f1;
  --pro: #7c3aed;
  --display: -apple-system-condensed, "SF Pro Display", "Helvetica Neue",
             Impact, system-ui, sans-serif;
}

/* Compressed, because the app is. Falls back to a heavy stack that at
   least keeps the proportion when the system face is unavailable. */
.loud {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: condensed;
  letter-spacing: -0.035em;
  line-height: 0.92;
  text-transform: none;
}

/* ── HERO ──────────────────────────────────────────────────────────── */

.hero-loud {
  position: relative;
  padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.hero-loud h1 {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: condensed;
  font-size: clamp(56px, 13vw, 148px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  margin: 0 0 clamp(20px, 3vw, 34px);
  text-wrap: balance;
}
.hero-loud h1 .hit { color: var(--dont); }

/* The stamp. The one object no competitor in this category has, because
   none of them produces an opinion — they produce text. */
.stamp {
  display: inline-block;
  transform: rotate(-3deg);
  background: var(--dont);
  color: #fff;
  font-family: var(--display);
  font-weight: 900;
  font-stretch: condensed;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 5.6vw, 58px);
  padding: 0.32em 0.62em;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 24px 60px rgba(206, 50, 50, 0.32);
}
.stamp.go { background: var(--send); box-shadow: 0 24px 60px rgba(14, 143, 77, 0.3); }

/* Drifting colour behind the hero, masked so body copy keeps its
   contrast — the same rule the app's own wash follows. */
.wash {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 120%;
  z-index: -1;
  background:
    radial-gradient(42% 38% at 18% 22%, rgba(206, 50, 50, 0.20), transparent 70%),
    radial-gradient(38% 34% at 82% 12%, rgba(35, 64, 255, 0.16), transparent 70%),
    radial-gradient(46% 40% at 60% 58%, rgba(124, 58, 237, 0.14), transparent 72%);
  -webkit-mask-image: linear-gradient(#000 0%, #000 52%, transparent 96%);
  mask-image: linear-gradient(#000 0%, #000 52%, transparent 96%);
  pointer-events: none;
}

.kicker {
  display: inline-block;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--canvas);
  margin-bottom: 20px;
}

/* ── SECTION HEADINGS ──────────────────────────────────────────────── */

.section h2.loud,
.section-close h2.loud {
  font-size: clamp(38px, 7.2vw, 84px);
  margin-bottom: 0.36em;
}
.hl {
  background: linear-gradient(transparent 62%, rgba(35, 64, 255, 0.28) 62%);
  padding: 0 0.06em;
}
.hl-red { background: linear-gradient(transparent 62%, rgba(206, 50, 50, 0.3) 62%); }

/* ── THE SIXTEEN ───────────────────────────────────────────────────── */

.types {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: clamp(18px, 3vw, 34px) clamp(12px, 2vw, 22px);
  margin-top: clamp(28px, 4vw, 48px);
}
.type { text-align: center; }

/* The pin, in CSS rather than sixteen exported images: same geometry as
   the app's badge, so the two cannot drift apart, and it stays sharp at
   any size on any screen. Three light sources, as on a real curved
   surface — ambient from above, a specular hotspot up and to the left,
   and bounce catching the far edge. */
.pin {
  position: relative;
  width: 100%;
  max-width: 124px;
  aspect-ratio: 1;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--tint);
  box-shadow:
    inset 0 0 0 2px rgba(0, 0, 0, 0.16),
    0 14px 30px -8px var(--glow);
  display: grid;
  place-items: center;
  font-size: clamp(30px, 6vw, 42px);
  line-height: 1;
}
.pin::before {
  content: "";
  position: absolute;
  inset: 11%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.42);
}
.pin::after {
  content: "";
  position: absolute;
  inset: 3%;
  border-radius: 50%;
  background:
    radial-gradient(38% 34% at 32% 26%, rgba(255, 255, 255, 0.62), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 46%),
    linear-gradient(135deg, transparent 52%, rgba(255, 255, 255, 0.3));
  pointer-events: none;
}
.type-name {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: condensed;
  letter-spacing: -0.01em;
  font-size: 15px;
  line-height: 1.1;
  text-transform: uppercase;
}
.type-line {
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink-2);
  margin-top: 5px;
  text-wrap: balance;
}

/* ── PULL QUOTE ────────────────────────────────────────────────────── */

.shout {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: condensed;
  font-size: clamp(30px, 5.4vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin: clamp(28px, 4vw, 44px) 0;
}

@media (prefers-reduced-motion: no-preference) {
  .pin { transition: transform 0.25s ease; }
  .type:hover .pin { transform: translateY(-4px) rotate(-3deg); }
}
