/* ================================================================
	 Sandman Edge — landing page styles (Phase 2)
	 ----------------------------------------------------------------
	 Loaded only by index.php (the public landing). Built on the v2
	 token set in style.css; nothing here should leak to other
	 pages because every selector is prefixed `.ld-`.
	 Sections in source order:
		 · Hero              .ld-hero / .ld-mock-card
		 · Sports tiles      .ld-sports / .ld-tile
		 · Final CTA         .ld-cta
	 ================================================================ */

.ld-main {
	/* Generic `main` rule in style.css already caps width at
		 var(--v2-max) and pads var(--v2-gutter). We just need vertical
		 rhythm between sections. */
	padding-top: clamp(24px, 4vw, 48px);
	padding-bottom: clamp(48px, 6vw, 96px);
}

.ld-main > section + section {
	margin-top: clamp(56px, 8vw, 120px);
}

/* ── Section 1 · Hero ─────────────────────────────────────────────── */

.ld-hero { position: relative; }

.ld-hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

@media (max-width: 880px) {
	.ld-hero-inner { grid-template-columns: 1fr; gap: 40px; }
}

.ld-hero-eyebrow {
	font-family: var(--v2-display);
	font-size: 0.7rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--v2-muted);
	margin: 0 0 16px;
}
.ld-hero-eyebrow span { color: var(--v2-sandman-blue); }

.ld-hero-title {
	font-family: var(--v2-display);
	font-weight: 700;
	font-size: clamp(2.4rem, 5vw, 4rem);
	line-height: 1.04;
	letter-spacing: -0.02em;
	color: var(--v2-text);
	margin: 0 0 14px;
}

.ld-hero-sub {
	font-family: var(--v2-display);
	font-weight: 500;
	font-size: clamp(1.3rem, 2.4vw, 1.9rem);
	line-height: 1.2;
	color: var(--v2-edge-green);
	margin: 0 0 20px;
}

.ld-hero-pitch {
	font-size: clamp(0.98rem, 1.2vw, 1.05rem);
	color: var(--v2-text-2);
	max-width: 52ch;
	margin: 0 0 28px;
	line-height: 1.6;
}

.ld-hero-cta {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

.ld-hero-note {
	font-size: 0.82rem;
	color: var(--v2-dim);
	margin: 0;
	letter-spacing: 0.01em;
}

/* Buttons (scoped to landing — don't fight the v2-btn rules elsewhere) */

.ld-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--v2-display);
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	padding: 12px 22px;
	border-radius: 10px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.08s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
	white-space: nowrap;
}
.ld-btn:active { transform: translateY(1px); }

.ld-btn-primary {
	background: linear-gradient(135deg, var(--v2-edge-green) 0%, #6ec43a 100%);
	color: #06140a;
}
.ld-btn-primary:hover { filter: brightness(1.06); color: #06140a; }

.ld-btn-ghost {
	background: transparent;
	color: var(--v2-text);
	border-color: var(--v2-hair-2);
}
.ld-btn-ghost:hover { border-color: var(--v2-sandman-blue); color: var(--v2-sandman-blue); }

.ld-btn-lg { padding: 15px 28px; font-size: 1.05rem; }

/* Hero visual — Phase 2 mock prediction card. Replaced in Phase 3
	 with an annotated screenshot. Self-contained styles below. */

.ld-hero-visual { display: flex; justify-content: center; }

.ld-mock-card {
	width: 100%;
	max-width: 380px;
	background: linear-gradient(180deg, var(--v2-panel) 0%, var(--v2-panel-2) 100%);
	border: 1px solid var(--v2-hair-2);
	border-radius: 16px;
	padding: 22px 22px 18px;
	box-shadow:
		0 1px 0 rgba(255,255,255,0.04) inset,
		0 18px 60px -20px rgba(0,0,0,0.55);
	font-family: var(--v2-sans);
	position: relative;
}
.ld-mock-card::before {
	content: '';
	position: absolute;
	inset: -1px;
	border-radius: 17px;
	padding: 1px;
	background: linear-gradient(135deg, rgba(143,220,78,0.4), rgba(88,194,230,0.2), transparent 60%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor; mask-composite: exclude;
	pointer-events: none;
}

.ld-mock-head {
	display: flex; justify-content: space-between; align-items: center;
	font-size: 0.78rem; letter-spacing: 0.08em;
	color: var(--v2-muted); margin-bottom: 14px;
}
.ld-mock-sport {
	background: rgba(143,220,78,0.12);
	color: var(--v2-edge-green);
	padding: 3px 8px; border-radius: 4px;
	font-weight: 600; letter-spacing: 0.1em;
}
.ld-mock-time { font-family: var(--v2-mono); font-size: 0.74rem; }

.ld-mock-teams {
	display: flex; justify-content: space-between; align-items: center;
	font-family: var(--v2-display);
	margin-bottom: 18px;
}
.ld-mock-teams > div {
	display: flex; flex-direction: column; gap: 4px; align-items: center;
}
.ld-mock-tm  { font-size: 1.6rem; font-weight: 700; color: var(--v2-text); }
.ld-mock-rec { font-size: 0.65rem; color: var(--v2-pos); background: var(--v2-pos-soft); padding: 1px 6px; border-radius: 3px; letter-spacing: 0.08em; }
.ld-mock-at  { font-size: 0.85rem; color: var(--v2-dim); }

.ld-mock-row {
	display: grid;
	grid-template-columns: 40px 1fr auto;
	align-items: center;
	padding: 10px 0;
	border-top: 1px solid var(--v2-hairline);
	font-size: 0.92rem;
}
.ld-mock-row > span:first-child {
	color: var(--v2-dim);
	font-family: var(--v2-mono);
	font-size: 0.72rem;
	letter-spacing: 0.06em;
}
.ld-mock-pick { color: var(--v2-edge-green); font-weight: 600; }
.ld-mock-pct  { font-family: var(--v2-mono); color: var(--v2-text); font-size: 0.85rem; }

.ld-mock-edge {
	margin-top: 12px; padding-top: 12px;
	border-top: 1px solid var(--v2-hairline);
	display: flex; align-items: center; gap: 8px;
	font-size: 0.78rem; color: var(--v2-warn-amber);
	letter-spacing: 0.04em;
}
.ld-mock-edge-dot {
	width: 6px; height: 6px; border-radius: 50%;
	background: var(--v2-warn-amber);
	box-shadow: 0 0 0 4px rgba(244,176,61,0.16);
}

/* ── Section heading (shared by sports + future sections) ────────── */

.ld-section-head {
	text-align: center;
	margin-bottom: clamp(28px, 4vw, 48px);
}
.ld-section-head h2 {
	font-family: var(--v2-display);
	font-weight: 700;
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	letter-spacing: -0.01em;
	color: var(--v2-text);
	margin: 0 0 10px;
}
.ld-section-head p {
	color: var(--v2-text-2);
	margin: 0 auto;
	max-width: 60ch;
	font-size: 1rem;
}

/* ── Section 6 · Sports tiles ────────────────────────────────────── */

.ld-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}

.ld-tile {
	--tile-accent: var(--v2-sandman-blue);
	background: linear-gradient(180deg, var(--v2-panel) 0%, var(--v2-panel-2) 100%);
	border: 1px solid var(--v2-hairline);
	border-radius: 14px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	position: relative;
	transition: border-color 0.15s ease, transform 0.15s ease;
	min-height: 200px;
}
.ld-tile:hover { border-color: var(--tile-accent); transform: translateY(-2px); }

/* Per-sport accent — uses the sport color tokens already defined
	 in style.css (--nba, --ncaab, --nhl, --mlb, --golf). */
.ld-tile-nba   { --tile-accent: var(--nba,   #3D931B); }
.ld-tile-ncaab { --tile-accent: var(--ncaab, #5a9fd4); }
.ld-tile-nhl   { --tile-accent: var(--nhl,   #5bc8af); }
.ld-tile-mlb   { --tile-accent: var(--mlb,   #c44569); }
.ld-tile-golf  { --tile-accent: var(--golf,  #f0b429); }
.ld-tile-nfl   { --tile-accent: #4f7df4; }
.ld-tile-ncaaf { --tile-accent: #ea580c; }

.ld-tile-head {
	display: flex; align-items: center; gap: 10px;
}
.ld-tile-dot {
	width: 10px; height: 10px; border-radius: 50%;
	background: var(--tile-accent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--tile-accent) 18%, transparent);
}
.ld-tile-name {
	font-family: var(--v2-display);
	font-weight: 700;
	font-size: 1.1rem;
	letter-spacing: 0.02em;
	color: var(--v2-text);
	flex: 1;
}
.ld-tile-status {
	font-family: var(--v2-mono);
	font-size: 0.65rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 3px 7px;
	border-radius: 4px;
	background: color-mix(in srgb, var(--tile-accent) 14%, transparent);
	color: var(--tile-accent);
}
.ld-tile-status-off {
	background: rgba(126,136,159,0.12);
	color: var(--v2-dim);
}

.ld-tile-body { flex: 1; display: flex; flex-direction: column; gap: 6px; }

.ld-tile-stat {
	font-family: var(--v2-display);
	font-weight: 700;
	font-size: clamp(1.6rem, 2.4vw, 2rem);
	line-height: 1.1;
	color: var(--v2-text);
	letter-spacing: -0.01em;
}
.ld-tile-stat span {
	font-weight: 500;
	font-size: 0.9rem;
	color: var(--v2-muted);
	margin-left: 4px;
	letter-spacing: 0;
}
.ld-tile-countdown { color: var(--v2-warn-amber); }
.ld-tile-countdown span { color: var(--v2-muted); }

.ld-tile-sub {
	font-size: 0.85rem;
	color: var(--v2-text-2);
	line-height: 1.45;
}

.ld-tile-foot {
	margin-top: auto;
	padding-top: 8px;
}
.ld-tile-cta {
	font-family: var(--v2-display);
	font-weight: 600;
	font-size: 0.88rem;
	color: var(--tile-accent);
	letter-spacing: 0.02em;
}
.ld-tile-cta:hover { color: var(--tile-accent); filter: brightness(1.15); }
.ld-tile-cta-quiet { color: var(--v2-muted); }

/* ── Section 2 · Trust block ─────────────────────────────────────── */

.ld-trust-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}
@media (max-width: 760px) {
	.ld-trust-grid { grid-template-columns: 1fr; }
}

.ld-trust-col {
	background: linear-gradient(180deg, var(--v2-panel) 0%, var(--v2-panel-2) 100%);
	border: 1px solid var(--v2-hairline);
	border-radius: 14px;
	padding: 24px 26px 28px;
	position: relative;
}
.ld-trust-are   { border-top: 2px solid var(--v2-edge-green); }
.ld-trust-arent { border-top: 2px solid var(--v2-neg); }

.ld-trust-col-head { margin-bottom: 16px; }
.ld-trust-badge {
	display: inline-block;
	font-family: var(--v2-display);
	font-weight: 700;
	font-size: 0.7rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 5px 11px;
	border-radius: 4px;
}
.ld-trust-badge-are   { background: var(--v2-pos-soft); color: var(--v2-edge-green); }
.ld-trust-badge-arent { background: var(--v2-neg-soft); color: var(--v2-neg); }

.ld-trust-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.ld-trust-list li {
	font-size: 0.95rem;
	color: var(--v2-text-2);
	line-height: 1.55;
	padding-left: 22px;
	position: relative;
}
.ld-trust-are .ld-trust-list li::before {
	content: '';
	position: absolute; left: 0; top: 9px;
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--v2-edge-green);
	box-shadow: 0 0 0 3px rgba(143,220,78,0.16);
}
.ld-trust-arent .ld-trust-list li::before {
	content: '';
	position: absolute; left: 0; top: 9px;
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--v2-neg);
	box-shadow: 0 0 0 3px rgba(248,113,113,0.16);
}
.ld-trust-list strong {
	color: var(--v2-text);
	font-weight: 600;
}

/* ── Section 4 · How it works ────────────────────────────────────── */

.ld-how-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 18px;
}

.ld-how-card {
	background: linear-gradient(180deg, var(--v2-panel) 0%, var(--v2-panel-2) 100%);
	border: 1px solid var(--v2-hairline);
	border-radius: 14px;
	padding: 26px 24px 24px;
	position: relative;
}

.ld-how-num {
	font-family: var(--v2-mono);
	font-size: 0.78rem;
	letter-spacing: 0.16em;
	color: var(--v2-sandman-blue);
	margin-bottom: 14px;
}

.ld-how-card h3 {
	font-family: var(--v2-display);
	font-weight: 700;
	font-size: 1.2rem;
	letter-spacing: -0.005em;
	color: var(--v2-text);
	margin: 0 0 10px;
}

.ld-how-card p {
	font-size: 0.93rem;
	color: var(--v2-text-2);
	line-height: 1.55;
	margin: 0;
}

/* ── Section 5 · What you get ────────────────────────────────────── */

.ld-features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
}

.ld-feature {
	background: linear-gradient(180deg, var(--v2-panel) 0%, var(--v2-panel-2) 100%);
	border: 1px solid var(--v2-hairline);
	border-radius: 14px;
	padding: 22px 22px 24px;
}

.ld-feature-icon {
	width: 40px; height: 40px;
	border-radius: 10px;
	background: rgba(88,194,230,0.10);
	border: 1px solid rgba(88,194,230,0.24);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	margin-bottom: 14px;
}

.ld-feature h3 {
	font-family: var(--v2-display);
	font-weight: 700;
	font-size: 1.05rem;
	letter-spacing: -0.005em;
	color: var(--v2-text);
	margin: 0 0 8px;
}

.ld-feature p {
	font-size: 0.9rem;
	color: var(--v2-text-2);
	line-height: 1.55;
	margin: 0;
}

/* ── FAQ page ─────────────────────────────────────────────────────── */

.ld-faq-head {
	text-align: center;
	margin-bottom: clamp(40px, 6vw, 64px);
}
.ld-faq-eyebrow {
	font-family: var(--v2-mono);
	font-size: 11px;
	letter-spacing: 0.22em;
	color: var(--v2-edge-green);
	margin: 0 0 14px;
}
.ld-faq-head h1 {
	font-family: var(--v2-display);
	font-weight: 700;
	font-size: clamp(2rem, 4.5vw, 3.4rem);
	letter-spacing: -0.02em;
	line-height: 1.05;
	color: var(--v2-text);
	margin: 0 0 14px;
}
.ld-faq-sub {
	font-size: 1.05rem;
	color: var(--v2-text-2);
	margin: 0 auto;
	line-height: 1.55;
}

/* Anchor TOC — sticky on desktop, inline on mobile */
.ld-faq-toc {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	padding: 14px;
	background: linear-gradient(180deg, var(--v2-panel) 0%, var(--v2-panel-2) 100%);
	border: 1px solid var(--v2-hairline);
	border-radius: 12px;
	margin-bottom: clamp(40px, 6vw, 64px);
	/* Sticks below the site header (~65px) + sport-nav (~40px). The sport-nav's
		 own top is JS-computed in header.php; 120px is a safe combined offset
		 for desktop. Mobile drops sticky entirely (see breakpoint below). */
	position: sticky;
	top: 120px;
	z-index: 5;
	backdrop-filter: blur(8px);
}
.ld-faq-toc a {
	font-family: var(--v2-mono);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--v2-muted);
	padding: 6px 12px;
	border-radius: 6px;
	border: 1px solid transparent;
	transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.ld-faq-toc a:hover {
	color: var(--v2-edge-green);
	border-color: rgba(143,220,78,0.3);
	background: rgba(143,220,78,0.08);
}

@media (max-width: 720px) {
	.ld-faq-toc { position: static; padding: 10px; }
	.ld-faq-toc a { font-size: 0.66rem; padding: 5px 9px; }
}

/* Category block */
.ld-faq-block {
	margin-bottom: clamp(48px, 7vw, 80px);
	scroll-margin-top: 180px;
}
.ld-faq-block h2 {
	font-family: var(--v2-display);
	font-weight: 700;
	font-size: clamp(1.5rem, 3vw, 2rem);
	letter-spacing: -0.01em;
	color: var(--v2-text);
	margin: 0 0 28px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--v2-hairline);
}

/* Single Q+A */
.ld-faq-q {
	margin-bottom: 24px;
	scroll-margin-top: 180px;
}
.ld-faq-q h3 {
	font-family: var(--v2-display);
	font-weight: 600;
	font-size: clamp(1.05rem, 1.8vw, 1.25rem);
	letter-spacing: -0.005em;
	color: var(--v2-text);
	margin: 0 0 10px;
	line-height: 1.35;
}
.ld-faq-q p {
	color: var(--v2-text-2);
	font-size: 0.96rem;
	line-height: 1.65;
	margin: 0 0 0.75rem;
}
.ld-faq-q p:last-child { margin-bottom: 0; }
.ld-faq-q p strong { color: var(--v2-text); font-weight: 600; }
.ld-faq-q a {
	color: var(--v2-edge-green);
	font-weight: 600;
}
.ld-faq-q a:hover { text-decoration: underline; }

/* "Read more" link below the landing's how-it-works teaser */
.ld-how-more {
	text-align: center;
	margin-top: 28px;
}
.ld-how-more a {
	font-family: var(--v2-display);
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--v2-edge-green);
	letter-spacing: 0.02em;
}
.ld-how-more a:hover { text-decoration: underline; }

/* ── Offseason countdown page ────────────────────────────────────── */

.ld-offseason { padding-top: clamp(40px, 6vw, 80px); }

.ld-os-hero {
	--os-accent: var(--v2-sandman-blue);
	text-align: center;
	max-width: 760px;
	margin: 0 auto;
	padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 40px);
	background:
		radial-gradient(600px 280px at 50% 0%, color-mix(in srgb, var(--os-accent) 14%, transparent), transparent 70%),
		linear-gradient(180deg, var(--v2-panel) 0%, var(--v2-panel-2) 100%);
	border: 1px solid var(--v2-hairline);
	border-top: 2px solid var(--os-accent);
	border-radius: 18px;
}

.ld-os-icon {
	height: clamp(72px, 10vw, 112px);
	margin: 0 auto 18px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.ld-os-icon img {
	height: 100%;
	width: auto;
	max-width: clamp(160px, 22vw, 240px);
	object-fit: contain;
	filter: drop-shadow(0 6px 24px color-mix(in srgb, var(--os-accent) 45%, transparent));
}

.ld-os-eyebrow {
	font-family: var(--v2-mono);
	font-size: 11px;
	letter-spacing: 0.22em;
	color: var(--os-accent);
	margin-bottom: 18px;
}

.ld-os-title {
	font-family: var(--v2-display);
	font-weight: 700;
	font-size: clamp(1.8rem, 4vw, 3rem);
	letter-spacing: -0.02em;
	line-height: 1.1;
	color: var(--v2-text);
	margin: 0 0 20px;
}

.ld-os-days {
	font-family: var(--v2-display);
	font-size: 1.3em;
	color: var(--os-accent);
	letter-spacing: -0.02em;
	margin: 0 6px;
	font-variant-numeric: tabular-nums;
}

.ld-os-when {
	font-size: 1rem;
	color: var(--v2-text-2);
	line-height: 1.55;
	max-width: 52ch;
	margin: 0 auto 32px;
}
.ld-os-when strong { color: var(--v2-text); font-weight: 600; }

.ld-os-cta {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 28px;
}

.ld-os-foot {
	font-size: 0.85rem;
	color: var(--v2-dim);
	margin: 0;
	letter-spacing: 0.01em;
}
.ld-os-link {
	color: var(--v2-edge-green);
	font-weight: 600;
}
.ld-os-link:hover { text-decoration: underline; }

/* ── Section 7 · Final CTA + disclaimer ──────────────────────────── */

.ld-cta {
	background:
		radial-gradient(600px 240px at 50% 10%, rgba(143,220,78,0.10), transparent 70%),
		linear-gradient(180deg, var(--v2-panel) 0%, var(--v2-panel-2) 100%);
	border: 1px solid var(--v2-hairline);
	border-radius: 18px;
	padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 48px);
	text-align: center;
}
.ld-cta--mt {margin-top: clamp(56px, 8vw, 96px);}

.ld-cta-inner { max-width: 720px; margin: 0 auto; }

.ld-cta h2 {
	font-family: var(--v2-display);
	font-weight: 700;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	letter-spacing: -0.01em;
	color: var(--v2-text);
	margin: 0 0 14px;
}

.ld-cta-sub {
	color: var(--v2-text-2);
	font-size: 1.05rem;
	margin: 0 0 28px;
}

.ld-cta-buttons {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 28px;
}

.ld-cta-foot {
	font-size: 0.78rem;
	color: var(--v2-dim);
	line-height: 1.6;
	margin: 0;
	letter-spacing: 0.01em;
}
