/* ==========================================================================
   hero.css  -  HERO: THE FIRST SCREEN (CONTENT)
   Used by: <section id="top"> in index.html (big heading "Say it without saying a word").
   ========================================================================== */

/* The hero section box. "relative" lets us place things inside it; "hidden" cuts off anything that sticks out. */
#top { position: relative; overflow: hidden; background: #FFFFFF; }
/* LETTER RAIN: a grid of small grey letters behind the hero (filled by js/hero.js). It is switched off in the HTML right now. */
#letterRain { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(36, 1fr); align-content: space-around; font: 13px/1 var(--font-mono); text-align: center; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse 55% 48% at 50% 40%, transparent 40%, #000 88%); mask-image: radial-gradient(ellipse 55% 48% at 50% 40%, transparent 40%, #000 88%); }
/* Each letter is faint and twinkles slowly. */
#letterRain span { padding: 7px 0; opacity: .12; color: var(--text-small); animation: tw 8s ease-in-out infinite; }
/* Hide the letter rain on phones. */
@media (max-width: 700px) { #letterRain { display: none; } }
/* HERO: the centred box that holds the tag, heading, text and buttons. */
.hero { position: relative; max-width: 1320px; margin: 0 auto; padding: clamp(64px, 9vw, 120px) clamp(16px, 4vw, 40px) clamp(48px, 6vw, 80px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
/* TAG: the small pill above the heading. A light blue fill, a blue outline and blue text,
   so it belongs to the same family as the buttons (it used to be grey). */
.tag { display: inline-flex; align-items: center; gap: 10px; font: 500 12.5px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--brand-blue-dark); background: var(--brand-tint); padding: 8px 16px; border: 1px solid var(--brand-line); border-radius: 999px; }
/* The round blue dot before the tag text, with a soft pulse. */
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-blue); box-shadow: 0 0 0 0 rgba(10, 91, 255, .45); animation: tagPulse 2.4s ease-out infinite; }
/* Animation: a ring grows from the dot and fades. */
@keyframes tagPulse { 0% { box-shadow: 0 0 0 0 rgba(10, 91, 255, .45); } 70%, 100% { box-shadow: 0 0 0 8px rgba(10, 91, 255, 0); } }
/* The main page heading (very large, thin letters). */
h1 { font-weight: 300; font-size: clamp(3.2rem, 9.6vw, 8.8rem); line-height: .94; letter-spacing: -.055em; text-wrap: balance; }
/* The highlighted word in the main heading ("without"). */
h1 em { letter-spacing: -.03em; color: var(--brand-blue-dark); }
/* The second line of the heading in a softer grey. */
h1 span { color: var(--text-body); }
/* LEAD: the paragraph under the heading. */
.lead { max-width: 640px; font-size: clamp(17px, 1.5vw, 19px); color: var(--text-body); }
/* ACTIONS: the row holding the hero buttons. */
.actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 22px; }
