/* ═══ Hero above the fold · 1 Dec 2026 ═══
   Loaded after styleV23.css on the homepage only. Every rule hangs from .hero-atf (a wrapper around .hero and
   .hero-metrics), so it wins over styleV23.css without !important. Below 1000 px only: desktop is untouched.
   One rule, by height: the hero has fixed spacing and the page flows, so what shows on the first screen depends
   only on the visible height. Phones get one logo row; the space it frees goes into the hero's spacing. */
@media (max-width: 999.98px) {
	/* Eyebrow (stars + "Trusted by...") at the same distance from the nav and from the headline: one variable for both.
	   Measured on what you see: nav → top of the stars, baseline of the line → top of the headline's capitals. */
	.hero-atf { --atf-eyebrow-gap: 48px; --atf-h1-gap: 28px; --atf-cta-gap: 40px; --atf-band-gap: 64px; --atf-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 105.15 100'%3E%3Cpath d='M52.57 0L64.98 38.2H105.15L72.65 61.8L85.07 100L52.57 76.39L20.08 100L32.49 61.8L0 38.2H40.16Z'/%3E%3C/svg%3E"); }
	/* The hero's spacing, top to bottom: nav → stars and line → headline (eyebrow gap, twice), headline → subline,
	   subline → CTA, CTA → dark band. */
	.hero-atf .hero-content { padding: var(--atf-eyebrow-gap) 20px var(--atf-band-gap); }
	.hero-atf .trusted { margin-bottom: var(--atf-eyebrow-gap); }
	/* Stars drawn with a mask, not the ★ character. ★ isn't in the brand fonts, so every OS drew its own fallback glyph,
	   each at its own height; the mask is the same star everywhere and its box is its ink, so the gap above is exact.
	   13 px on every width below 1000 (live jumps to 16 px from 850). Same color and the same pop-in animation as live. */
	.hero-atf .trusted-stars { position: static; transform: none; display: flex; justify-content: center; gap: .32em; margin: 0 0 8px; font-size: 13px; line-height: 0; letter-spacing: 0; }
	.hero-atf .trusted-star { display: block; width: .9em; height: .86em; overflow: hidden; color: transparent; background-color: #B89C84; -webkit-mask: var(--atf-star) center / contain no-repeat; mask: var(--atf-star) center / contain no-repeat; }
	.hero-atf h1 { margin: 0 0 var(--atf-h1-gap); }
	.hero-atf .hero-text { margin: 0 auto; max-width: 34em; font-size: 15px; line-height: 22px; }
	.hero-atf .hero-row { margin-top: var(--atf-cta-gap); }
	/* 52.5 px tall (live: 79 px), still well over the 44 px tap target. Capped so it doesn't span a tablet. */
	.hero-atf .hero-button { margin: 0 auto; max-width: 400px; padding: 15px 24px; }
	/* text-box trims the line and the headline to their glyphs (baseline; cap height), so box gaps are visual gaps.
	   Safari 18.2+, Chrome 133+. */
	@supports (text-box: trim-both cap alphabetic) {
		.hero-atf .trusted { text-box: trim-end cap alphabetic; }
		.hero-atf h1 { text-box: trim-both cap alphabetic; }
	}
	/* Browsers without text-box (Firefox, older Safari/Chrome): the same trims as margins, from the fonts' metrics
	   (nText Medium: baseline to line-box bottom; Display Bold: line-box top to cap height, baseline to line-box bottom).
	   Fitted in Chrome with text-box off (#probe-notrim on the board): gaps 40/40 ±0.3 px, layout within 1 px of the trimmed one. */
	@supports not (text-box: trim-both cap alphabetic) {
		.hero-atf .trusted { margin-bottom: calc(var(--atf-eyebrow-gap) - .2045em); }
		.hero-atf h1 { margin-top: -.1967em; margin-bottom: calc(var(--atf-h1-gap) - .125em); }
	}
}
/* Phones (<767 px, the breakpoint where live switches to two logo rows): one row instead, the same strip desktop runs,
   at the phone logo size. Logos spaced with margin-right, not gap, so the -50% loop doesn't jump half a gap each cycle
   (same fix live uses for its two rows). 60 s for 26 logos = the same speed per logo as live. */
@media (max-width: 766.98px) {
	.hero-atf .logo-marquee--double { display: none; }
	.hero-atf .logo-marquee--single { display: block; }
	.hero-atf .logo-marquee--single .logo-marquee__track { gap: 0; }
	.hero-atf .logo-marquee--single .logo-slider__logo { margin-right: 96px; }
}
