/* =============================================================
   3x3 GIPPSLAND STREET HUSTLE — page styles
   Red-led street-energy page personality within the WBA system.
   Dark section: The Pathway. Prefix: .hx-
   ============================================================= */

.hx {
	--hx-red:    var(--wba-red,    #C1272D);
	--hx-orange: var(--wba-orange, #F7931E);
	--hx-dark:   var(--wba-dark,   #1A1A1A);
	--hx-white:  var(--wba-white,  #FFFFFF);
	--hx-cream:  var(--wba-cream,  #F8F8F6);
	--hx-border: var(--wba-border, #E6E6E2);
	--hx-muted:  var(--wba-muted,  #888888);
	background: var(--hx-white);
	color: var(--hx-dark);
}

/* =============================================================
   SHARED SECTION SHELL + TYPE
   ============================================================= */
.hx-section { padding: 88px 0; background: var(--hx-white); }
.hx-section--cream { background: var(--hx-cream); }
.hx-section__inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 32px;
}

.hx-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--hx-muted);
	margin-bottom: 18px;
}
.hx-eyebrow svg { width: 14px; height: 14px; color: var(--hx-red); }
.hx-eyebrow--white { color: rgba(255,255,255,0.65); }
.hx-eyebrow--white svg { color: var(--hx-red); }

.hx-h2 {
	font-size: clamp(1.9rem, 4vw, 2.8rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.015em;
	margin: 0 0 20px;
	color: var(--hx-dark);
}
.hx-h2 em {
	font-weight: 300;
	font-style: italic;
}
.hx-h2--white { color: var(--hx-white); }

.hx-lede {
	font-size: 1.02rem;
	line-height: 1.75;
	max-width: 720px;
	margin: 0 0 44px;
	color: var(--hx-dark);
}
.hx-lede em { font-style: italic; }
.hx-lede--white { color: rgba(255,255,255,0.82); }

/* =============================================================
   BUTTONS — geometry matched to .ah-btn (4px radius, lowercase,
   15px 28px). Red-led palette instead of AH's orange.
   ============================================================= */
.hx-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 15px 28px;
	font-family: inherit;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: lowercase;
	text-decoration: none;
	border-radius: 4px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}
.hx-btn svg { width: 14px; height: 14px; }
.hx-btn--primary {
	background: var(--hx-red);
	color: var(--hx-white);
	border-color: var(--hx-red);
	font-weight: 800;
}
.hx-btn--primary:hover {
	background: var(--hx-dark);
	color: var(--hx-white);
	border-color: var(--hx-dark);
	transform: translateY(-2px);
}
.hx-btn--ghost {
	background: transparent;
	color: var(--hx-dark);
	border-color: var(--hx-border);
}
.hx-btn--ghost:hover { background: var(--hx-cream); border-color: var(--hx-dark); }

/* =============================================================
   1. HERO — matched to .ah-hero (height, overlay, type scale).
   Red radial glow replaces AH's orange; red-tinted eyebrow pill.
   ============================================================= */
.hx-hero {
	position: relative;
	height: 58vh;
	min-height: 480px;
	background-size: cover;
	background-position: center 30%;
	background-repeat: no-repeat;
	color: var(--hx-white);
	display: flex;
	align-items: center;
	overflow: hidden;
}
.hx-hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient( 105deg, rgba(26,26,26,0.92) 0%, rgba(26,26,26,0.72) 50%, rgba(26,26,26,0.40) 100% ),
		radial-gradient( circle at 78% 50%, rgba(193,39,45,0.32) 0%, transparent 55% );
	z-index: 1;
}
.hx-hero__inner {
	position: relative; z-index: 2;
	max-width: 1240px; margin: 0 auto;
	padding: 0 var(--gutter-d, 64px); width: 100%;
}
.hx-hero__eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 0.7rem; font-weight: 700;
	letter-spacing: 0.22em; text-transform: uppercase;
	color: rgba(255,255,255,0.85);
	padding: 9px 18px;
	border: 1px solid rgba(193,39,45,0.55);
	border-radius: 999px;
	margin-bottom: 28px;
	background: rgba(193,39,45,0.12);
}
.hx-hero__eyebrow svg { width: 12px; height: 12px; color: var(--hx-red); }
.hx-hero__headline {
	font-size: clamp(2.6rem, 7.5vw, 6rem);
	font-weight: 800; line-height: 0.95;
	letter-spacing: -0.025em;
	margin: 0 0 22px;
	color: var(--hx-white);
}
.hx-hero__word { display: block; }
.hx-hero__qualifier {
	display: block;
	font-style: italic; font-weight: 300;
	color: var(--hx-red);
	letter-spacing: -0.012em; margin-top: 6px;
}
/* Logo-in-headline variant (matches newer .ah-hero__headline--logo) */
.hx-hero__headline--logo { line-height: 0; }
.hx-hero__logo {
	display: block;
	height: clamp(130px, 24vh, 210px);
	width: auto;
	max-width: min(560px, 82vw);
	object-fit: contain;
	object-position: left center;
}
.hx-hero__tagline {
	max-width: 600px;
	font-size: clamp(1rem, 1.4vw, 1.2rem);
	line-height: 1.5; color: rgba(255,255,255,0.85);
	margin: 0 0 36px;
}
.hx-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hx-hero .hx-btn--ghost {
	color: var(--hx-white);
	border-color: rgba(255,255,255,0.4);
}
.hx-hero .hx-btn--ghost:hover {
	background: rgba(255,255,255,0.1);
	border-color: var(--hx-white);
}

/* =============================================================
   2. STICKY ANCHOR NAV — matched to .ah-anchors (lowercase,
   animated underline, solid CTA right). Red instead of orange.
   ============================================================= */
.hx-anchors {
	position: sticky; top: 0; z-index: 30;
	background: var(--hx-white);
	border-bottom: 1px solid var(--hx-border);
	border-top: 3px solid var(--hx-red);
}
.hx-anchors__inner {
	max-width: 1240px; margin: 0 auto;
	padding: 0 var(--gutter-d, 64px);
	display: flex; gap: 28px;
	overflow-x: auto; scrollbar-width: none;
	align-items: center;
	-webkit-overflow-scrolling: touch;
}
.hx-anchors__inner::-webkit-scrollbar { display: none; }
.hx-anchors__inner a {
	position: relative;
	padding: 18px 2px;
	font-size: 0.72rem; font-weight: 700;
	letter-spacing: 0.14em; text-transform: lowercase;
	color: var(--hx-dark); text-decoration: none;
	white-space: nowrap; transition: color 0.2s;
}
.hx-anchors__inner a:not(.is-cta)::after {
	content: ""; position: absolute;
	left: 0; right: 0; bottom: -1px; height: 2px;
	background: var(--hx-red);
	transform: scaleX(0); transform-origin: left;
	transition: transform 0.25s;
}
.hx-anchors__inner a:not(.is-cta):hover { color: var(--hx-red); }
.hx-anchors__inner a:not(.is-cta):hover::after { transform: scaleX(1); }
.hx-anchors__inner a.is-cta {
	margin-left: auto;
	padding: 9px 18px;
	background: var(--hx-red); color: var(--hx-white);
	border-radius: 4px; font-weight: 800;
	transition: background 0.2s, transform 0.2s;
}
.hx-anchors__inner a.is-cta:hover {
	background: var(--hx-dark); color: var(--hx-white);
	transform: translateY(-1px);
}

/* =============================================================
   3. AT A GLANCE — 4 uniform cards (AH-style parent-scan)
   ============================================================= */
.hx-glance {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	margin-top: 12px;
}
.hx-glance__card {
	background: var(--hx-white);
	border: 1px solid var(--hx-border);
	border-radius: 14px;
	padding: 28px 24px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hx-glance__card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(26,26,26,0.07); }
.hx-glance__icon { display: inline-flex; margin-bottom: 8px; }
.hx-glance__icon svg { width: 22px; height: 22px; color: var(--hx-red); }
.hx-glance__label {
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--hx-muted);
}
.hx-glance__value {
	font-size: 1.4rem;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
}
.hx-glance__sub { font-size: 0.8rem; line-height: 1.5; color: var(--hx-muted); }

/* =============================================================
   4. WHAT IS 3x3 HUSTLE — copy + licensee co-brand panel
   ============================================================= */
.hx-what {
	display: grid;
	grid-template-columns: 7fr 5fr;
	gap: 56px;
	align-items: start;
}
.hx-what__copy p {
	font-size: 1rem;
	line-height: 1.8;
	margin: 0 0 20px;
}
.hx-what__copy p em { font-style: italic; }

.hx-licensee {
	background: var(--hx-white);
	border: 1px solid var(--hx-border);
	border-radius: 14px;
	padding: 36px 32px;
	text-align: center;
	position: sticky;
	top: 76px;
}
.hx-licensee__marks {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin-bottom: 22px;
}
.hx-licensee__marks img {
	height: 74px;
	width: auto;
	max-width: 140px;
	object-fit: contain;
}
.hx-licensee__x {
	font-size: 1.3rem;
	font-weight: 300;
	color: var(--hx-muted);
}
.hx-licensee__body {
	font-size: 0.88rem;
	line-height: 1.7;
	color: var(--hx-dark);
	margin: 0;
}

/* =============================================================
   5. THE GAME — rules, court diagram, clocks
   ============================================================= */
.hx-rules {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	margin-bottom: 56px;
}
.hx-rule {
	border: 1px solid var(--hx-border);
	border-radius: 14px;
	padding: 28px 24px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hx-rule:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(26,26,26,0.07); }
.hx-rule__num {
	display: block;
	font-size: 76px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--hx-cream);
	-webkit-text-stroke: 1.5px var(--hx-border);
	margin-bottom: 14px;
}
.hx-rule h3 {
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 10px;
	line-height: 1.3;
}
.hx-rule p { font-size: 0.86rem; line-height: 1.65; color: var(--hx-muted); margin: 0; }

/* Court diagram */
.hx-court { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.hx-court__diagram svg { width: 100%; height: auto; display: block; }
.hx-court__note {
	font-size: 0.86rem;
	line-height: 1.6;
	color: var(--hx-muted);
	margin: 18px auto 0;
	max-width: 480px;
}

/* Clock stat tiles */
.hx-clocks {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}
.hx-clocks__tile {
	border: 1px solid var(--hx-border);
	border-radius: 14px;
	padding: 34px 24px;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.hx-clocks__tile--accent { border-color: var(--hx-red); }
.hx-clocks__value {
	font-size: clamp(2.6rem, 5vw, 3.6rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}
.hx-clocks__tile--accent .hx-clocks__value { color: var(--hx-red); }
.hx-clocks__label {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	margin-top: 8px;
}
.hx-clocks__sub { font-size: 0.8rem; color: var(--hx-muted); }

/* =============================================================
   6. THE TOURNAMENT — asymmetric 1 hero + 4 supporting
   ============================================================= */
.hx-tourn {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-auto-rows: minmax(110px, auto);
	gap: 18px;
	margin-bottom: 40px;
}
.hx-tourn__hero {
	grid-column: span 6;
	grid-row: span 2;
	background: var(--hx-dark);
	background-image: radial-gradient(circle at 30% 25%, rgba(193,39,45,0.45), transparent 60%);
	border-radius: 14px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 44px;
	color: var(--hx-white);
}
.hx-tourn__hero-value {
	font-size: clamp(3.4rem, 7vw, 5.4rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
}
.hx-tourn__hero-sub {
	margin-top: 10px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.6);
}
.hx-tourn__cell {
	grid-column: span 3;
	background: var(--hx-white);
	border: 1px solid var(--hx-border);
	border-radius: 14px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
}
.hx-tourn__cell .k {
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--hx-muted);
}
.hx-tourn__cell .v { font-size: 0.92rem; font-weight: 600; line-height: 1.45; }
.hx-tourn__cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hx-tourn__note {
	font-size: 0.84rem;
	line-height: 1.65;
	color: var(--hx-muted);
	max-width: 560px;
	margin: 0;
}

/* =============================================================
   7. WHY PLAY — 6 icon cards
   ============================================================= */
.hx-why {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-top: 12px;
}
.hx-why__card {
	border: 1px solid var(--hx-border);
	border-radius: 14px;
	padding: 30px 26px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hx-why__card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(26,26,26,0.07); }
.hx-why__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: var(--hx-cream);
	margin-bottom: 18px;
	transition: background 0.2s ease;
}
.hx-why__icon svg { width: 20px; height: 20px; color: var(--hx-red); transition: color 0.2s ease; }
.hx-why__card:hover .hx-why__icon { background: var(--hx-red); }
.hx-why__card:hover .hx-why__icon svg { color: var(--hx-white); }
.hx-why__card h3 { font-size: 1rem; font-weight: 700; margin: 0 0 10px; }
.hx-why__card p { font-size: 0.86rem; line-height: 1.65; color: var(--hx-muted); margin: 0; }

/* =============================================================
   8. THE PATHWAY — dark section, 5-tier ladder
   ============================================================= */
.hx-pathway {
	padding: 96px 0;
	background: var(--hx-dark);
	background-image: radial-gradient(circle at 85% 15%, rgba(193,39,45,0.18), transparent 55%);
}
.hx-tiers {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 14px;
	counter-reset: none;
	position: relative;
}
.hx-tier {
	position: relative;
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 14px;
	padding: 26px 20px;
	color: var(--hx-white);
	transition: border-color 0.2s ease, background 0.2s ease;
}
.hx-tier:hover { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.07); }
.hx-tier::after {
	/* connecting arrow between tiers */
	content: "→";
	position: absolute;
	top: 50%;
	right: -14px;
	transform: translateY(-50%);
	font-size: 0.9rem;
	color: rgba(255,255,255,0.35);
	z-index: 1;
}
.hx-tier:last-child::after { content: none; }
.hx-tier__flag {
	position: absolute;
	top: -11px;
	left: 18px;
	background: var(--hx-red);
	color: var(--hx-white);
	font-size: 0.58rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	padding: 4px 12px;
	border-radius: 999px;
}
.hx-tier--start { border-color: var(--hx-red); background: rgba(193,39,45,0.14); }
.hx-tier__num {
	display: block;
	font-size: 0.6rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.5);
	margin-bottom: 12px;
}
.hx-tier--start .hx-tier__num { color: rgba(255,255,255,0.75); }
.hx-tier h3 { font-size: 0.95rem; font-weight: 700; margin: 0 0 8px; line-height: 1.3; }
.hx-tier p { font-size: 0.78rem; line-height: 1.55; color: rgba(255,255,255,0.6); margin: 0; }

/* =============================================================
   9. HUSTLE PASS — copy + info panel
   ============================================================= */
.hx-pass {
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: 56px;
	align-items: start;
}
.hx-pass__copy p {
	font-size: 1rem;
	line-height: 1.8;
	margin: 0 0 28px;
}
.hx-pass__copy p em { font-style: italic; }
.hx-pass__panel {
	background: var(--hx-cream);
	border: 1px solid var(--hx-border);
	border-radius: 14px;
	padding: 34px 32px;
}
.hx-pass__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.64rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--hx-red);
	margin-bottom: 22px;
}
.hx-pass__badge svg { width: 14px; height: 14px; }
.hx-pass__rows { margin: 0; }
.hx-pass__row {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 20px;
	padding: 16px 0;
	border-top: 1px solid var(--hx-border);
}
.hx-pass__row dt {
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hx-muted);
	padding-top: 2px;
}
.hx-pass__row dd { margin: 0; font-size: 0.9rem; line-height: 1.6; }
.hx-pass__row dd a { color: var(--hx-red); font-weight: 600; text-decoration: none; }
.hx-pass__row dd a:hover { text-decoration: underline; }

/* =============================================================
   10. GET INVOLVED — 4 numbered steps
   ============================================================= */
.hx-steps {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.hx-step {
	background: var(--hx-white);
	border: 1px solid var(--hx-border);
	border-radius: 14px;
	padding: 28px 24px;
}
.hx-step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--hx-red);
	color: var(--hx-white);
	font-size: 1rem;
	font-weight: 800;
	margin-bottom: 16px;
}
.hx-step h3 { font-size: 0.98rem; font-weight: 700; margin: 0 0 10px; }
.hx-step p { font-size: 0.86rem; line-height: 1.65; color: var(--hx-muted); margin: 0; }

/* =============================================================
   11. PULL QUOTE
   ============================================================= */
.hx-quote { padding: 72px 0; background: var(--hx-white); }
.hx-quote blockquote { margin: 0; text-align: center; }
.hx-quote p {
	font-size: clamp(1.5rem, 3.4vw, 2.2rem);
	font-weight: 300;
	line-height: 1.4;
	letter-spacing: -0.01em;
	margin: 0 0 18px;
}
.hx-quote p em { font-style: italic; }
.hx-quote cite {
	font-style: normal;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--hx-muted);
}

/* =============================================================
   12. FAQ ACCORDION — matches JD pattern
   ============================================================= */
.hx-faq { max-width: 820px; margin-top: 12px; }
.hx-faq details { border-bottom: 1px solid var(--hx-border); }
.hx-faq details:first-of-type { border-top: 1px solid var(--hx-border); }
.hx-faq summary {
	cursor: pointer;
	padding: 20px 44px 20px 4px;
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.4;
	list-style: none;
	position: relative;
	transition: color 0.2s;
}
.hx-faq summary::-webkit-details-marker { display: none; }
.hx-faq summary::after {
	content: "+";
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.3rem;
	font-weight: 300;
	color: var(--hx-muted);
	transition: transform 0.2s;
}
.hx-faq details[open] summary { color: var(--hx-red); }
.hx-faq details[open] summary::after { content: "–"; }
.hx-faq summary:hover { color: var(--hx-red); }
.hx-faq__ans {
	padding: 0 4px 24px;
	font-size: 0.9rem;
	line-height: 1.75;
	color: var(--hx-dark);
	max-width: 720px;
}
.hx-faq__ans a { color: var(--hx-red); font-weight: 600; }

/* =============================================================
   13. REGISTER — Formspree Registration of Interest form
   ============================================================= */
.hx-register { padding: 96px 0; background: var(--hx-cream); }
.hx-register__head { max-width: 720px; margin-bottom: 44px; }
.hx-register__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--hx-muted);
}

.hx-form {
	background: var(--hx-white);
	border: 1px solid var(--hx-border);
	border-radius: 14px;
	padding: 44px;
	max-width: 880px;
}

/* Honeypot — off-screen, never display:none (some bots skip those) */
.hx-form__honeypot {
	position: absolute !important;
	left: -10000px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.hx-form__adult-note {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	background: var(--hx-cream);
	border: 1px solid var(--hx-border);
	border-left: 3px solid var(--hx-red);
	border-radius: 10px;
	padding: 16px 18px;
	font-size: 0.84rem;
	line-height: 1.65;
	margin: 0 0 28px;
}
.hx-form__adult-note svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--hx-red); margin-top: 2px; }

.hx-form__success,
.hx-form__error {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	border-radius: 10px;
	padding: 16px 18px;
	font-size: 0.88rem;
	line-height: 1.6;
	font-weight: 600;
	margin: 0 0 24px;
}
.hx-form__success { background: #F0F7F1; border: 1px solid #BCDDC2; color: #1E5A2A; }
.hx-form__error   { background: #FBF0F0; border: 1px solid #E7BFC1; color: #8C1E23; }
.hx-form__success svg, .hx-form__error svg { flex-shrink: 0; margin-top: 1px; }
/* The hidden attribute must beat display:flex above */
.hx-form__success[hidden],
.hx-form__error[hidden] { display: none !important; }

.hx-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px 22px;
}
.hx-form__field { display: flex; flex-direction: column; gap: 8px; }
.hx-form__field--wide { grid-column: 1 / -1; }
.hx-form__field label {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.hx-form__field label span[aria-hidden] { color: var(--hx-red); }
.hx-form__opt { font-weight: 500; text-transform: none; letter-spacing: 0.02em; color: var(--hx-muted); }
.hx-form__field input,
.hx-form__field select,
.hx-form__field textarea {
	font-family: inherit;
	font-size: 0.92rem;
	padding: 13px 16px;
	border: 1px solid var(--hx-border);
	border-radius: 10px;
	background: var(--hx-white);
	color: var(--hx-dark);
	transition: border-color 0.2s;
	width: 100%;
	box-sizing: border-box;
}
.hx-form__field textarea { resize: vertical; }
.hx-form__field input:focus,
.hx-form__field select:focus,
.hx-form__field textarea:focus {
	outline: none;
	border-color: var(--hx-red);
	box-shadow: 0 0 0 3px rgba(193,39,45,0.12);
}

.hx-form__consent {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 26px 0 30px;
	font-size: 0.86rem;
	line-height: 1.6;
	cursor: pointer;
}
.hx-form__consent input {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: var(--hx-red);
	cursor: pointer;
}
.hx-form__consent span[aria-hidden] { color: var(--hx-red); }

.hx-form__submit {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 16px 32px;
	background: var(--hx-red);
	color: var(--hx-white);
	border: 1px solid var(--hx-red);
	border-radius: 4px;
	font-family: inherit;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: lowercase;
	cursor: pointer;
	transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.hx-form__submit svg { width: 14px; height: 14px; }
.hx-form__submit:hover:not(:disabled) { transform: translateY(-2px); background: var(--hx-dark); border-color: var(--hx-dark); }
.hx-form__submit:disabled { opacity: 0.6; cursor: wait; }

.hx-form__footnote {
	margin: 24px 0 0;
	font-size: 0.8rem;
	line-height: 1.6;
	color: var(--hx-muted);
}
.hx-form__footnote a { color: var(--hx-red); font-weight: 600; text-decoration: none; }
.hx-form__footnote a:hover { text-decoration: underline; }

/* =============================================================
   REDUCED MOTION
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
	.hx *, .hx *::before, .hx *::after { transition: none !important; }
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1100px) {
	.hx-glance { grid-template-columns: repeat(2, 1fr); }
	.hx-rules { grid-template-columns: repeat(2, 1fr); }
	.hx-steps { grid-template-columns: repeat(2, 1fr); }
	.hx-tiers { grid-template-columns: repeat(2, 1fr); }
	.hx-tier::after { content: none; }
	.hx-tourn__hero { grid-column: span 12; grid-row: span 1; padding: 36px; }
	.hx-tourn__cell { grid-column: span 6; }
}

@media (max-width: 860px) {
	.hx-section { padding: 60px 0; }
	.hx-pathway, .hx-register { padding: 64px 0; }
	.hx-section__inner, .hx-hero__inner, .hx-anchors__inner { padding: 0 20px; }
	.hx-what, .hx-pass { grid-template-columns: 1fr; gap: 36px; }
	.hx-licensee { position: static; }
	.hx-why { grid-template-columns: repeat(2, 1fr); }
	.hx-form { padding: 30px 22px; }
	.hx-anchors__inner { padding: 0 var(--gutter-m, 20px); gap: 22px; }
	.hx-anchors__inner a.is-cta { margin-left: 0; }
}

@media (max-width: 640px) {
	.hx-hero { min-height: 440px; }
	.hx-hero__inner { padding: 0 var(--gutter-m, 20px); }
	.hx-hero__logo { height: clamp(110px, 20vh, 160px); max-width: 88vw; }
	.hx-hero__ctas { flex-direction: column; align-items: stretch; }
	.hx-hero__ctas .hx-btn { justify-content: center; }
	.hx-glance, .hx-rules, .hx-clocks, .hx-why, .hx-steps, .hx-tiers { grid-template-columns: 1fr; }
	.hx-tourn__cell { grid-column: span 12; }
	.hx-form__grid { grid-template-columns: 1fr; }
	.hx-pass__row { grid-template-columns: 1fr; gap: 6px; }
	.hx-tourn__cta { align-items: flex-start; flex-direction: column; }
}
