/* Valen homepage. Loaded after styles.css, which still owns navbar, ribbon and footer. */
:root {
    --h-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --h-brand: 'Anton', 'Inter', sans-serif;
    --h-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --h-mono: 'JetBrains Mono', 'DM Mono', ui-monospace, monospace;
    --h-teal: #1EA8AD;
    --h-ink: #04090c;
}

body.home { font-family: var(--h-body); font-size: 18px; line-height: 1.6; }
body.home::before {
    content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .05;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}

.h-wrap { width: min(1180px, calc(100% - 2.5rem)); margin: 0 auto; position: relative; z-index: 1; }
.h-section { padding: 110px 0; position: relative; }
.h-section.alt { background: linear-gradient(180deg, rgba(12,23,29,.9), rgba(8,19,23,.98)); border-top: 1px solid rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.04); }

.h-eyebrow { font-family: var(--h-mono); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--h-teal); font-weight: 700; }
.h-h2 { font-family: var(--h-display); font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.04; letter-spacing: -.02em; color: #fff; margin: 14px 0 20px; text-wrap: balance; }
.h-lead { font-size: 1.16rem; color: var(--text-soft); max-width: 62ch; }
.h-note { font-family: var(--h-mono); font-size: .8rem; color: var(--text-faint); line-height: 1.6; margin-top: 18px; max-width: 70ch; }
.h-pro { display: inline-block; font-family: var(--h-mono); font-size: .68rem; letter-spacing: .12em; font-weight: 700; padding: 3px 9px; border-radius: 99px; border: 1px solid rgba(211,179,86,.5); color: var(--yellow); vertical-align: middle; margin-left: 8px; }
.h-free { border-color: rgba(30,168,173,.5); color: var(--h-teal); }

/* buttons */
.h-btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px; border-radius: 99px; font-weight: 700; font-size: 1.02rem; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.h-btn-primary { background: var(--h-teal); color: #071015; box-shadow: 0 12px 34px rgba(30,168,173,.22); }
.h-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(30,168,173,.32); }
.h-btn-ghost { border: 1px solid rgba(255,255,255,.18); color: #fff; }
.h-btn-ghost:hover { border-color: var(--h-teal); color: var(--h-teal); }
.h-btn svg { width: 22px; height: 22px; }

/* hero */
.h-hero { padding: 70px 0 90px; overflow: hidden; }
.h-hero::before { content: ""; position: absolute; inset: 0; background: url("assets/gym-hero.jpg") center/cover; opacity: .16; filter: saturate(.7); }
.h-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 600px at 20% 30%, rgba(30,168,173,.13), transparent 70%), linear-gradient(180deg, rgba(4,9,12,.55), var(--bg) 96%); }
.h-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.h-hero h1 { font-family: var(--h-display); font-size: clamp(2.7rem, 6.2vw, 5.1rem); line-height: .98; letter-spacing: -.03em; color: #fff; margin: 18px 0 26px; text-wrap: balance; }
.h-hero h1 em { font-style: normal; color: var(--h-teal); }
.h-sub { font-size: 1.25rem; color: var(--text-soft); max-width: 56ch; }
.h-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.h-micro { margin-top: 18px; font-family: var(--h-mono); font-size: .8rem; color: var(--text-muted); letter-spacing: .03em; }
.h-phones { position: relative; height: 640px; }
.h-phone { position: absolute; padding: 9px; border-radius: 40px; background: linear-gradient(160deg, #2a3750, #0d1524 62%); box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 0 1px rgba(30,168,173,.2); }
.h-phone img { border-radius: 32px; width: 100%; height: auto; }
.h-phones .p1 { width: 290px; left: 6%; top: 10px; z-index: 2; transform: rotate(-3deg); }
.h-phones .p2 { width: 260px; right: 0; top: 96px; transform: rotate(4deg); }

/* proof bar */
.h-proof { border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); background: rgba(4,9,12,.6); }
.h-proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.h-proof-item { padding: 28px 22px; border-right: 1px solid rgba(255,255,255,.06); }
.h-proof-item:last-child { border-right: 0; }
.h-proof-num { font-family: var(--h-display); font-size: 2.3rem; color: #fff; line-height: 1; }
.h-proof-num small { font-family: var(--h-mono); font-size: .9rem; color: var(--h-teal); }
.h-proof-label { margin-top: 8px; font-size: .95rem; color: var(--text-muted); }

/* problem compare */
.h-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 44px; }
.h-card { background: linear-gradient(180deg, rgba(18,38,48,.85), rgba(14,28,36,.85)); border: 1px solid var(--border); border-radius: 26px; padding: 30px; }
.h-card h3 { font-family: var(--h-mono); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 22px; }
.h-card.win { border-color: var(--accent-border); box-shadow: 0 0 60px rgba(30,168,173,.1); }
.h-card.win h3 { color: var(--h-teal); }
.h-row { display: grid; grid-template-columns: 110px 1fr 48px; gap: 14px; align-items: center; margin: 12px 0; font-size: .98rem; }
.h-row .hbar { display: block; height: 10px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.h-row .hbar i { display: block; height: 100%; border-radius: 99px; }
.h-row b { font-family: var(--h-mono); font-size: .86rem; text-align: right; }
.g { background: #4ade80; } .y { background: #f5b83d; } .r { background: #ef5a45; } .t { background: var(--h-teal); }

/* how it works */
.h-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.h-step { position: relative; padding: 30px; border-radius: 26px; background: rgba(16,33,43,.7); border: 1px solid var(--border); }
.h-step .n { font-family: var(--h-display); font-size: 3.2rem; color: rgba(30,168,173,.28); line-height: 1; }
.h-step h3 { font-family: var(--h-display); font-size: 1.32rem; line-height: 1.15; color: #fff; margin: 12px 0 12px; }
.h-step p { color: var(--text-soft); font-size: 1rem; }
.h-half { margin-top: 22px; border: 1px solid var(--border); border-radius: 26px; padding: 26px 30px; background: rgba(8,19,23,.7); display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: center; }
.h-half h4 { font-family: var(--h-mono); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.h-half-bars { display: grid; gap: 9px; }
.h-half-bars div { display: grid; grid-template-columns: 90px 1fr 60px; gap: 12px; align-items: center; font-size: .9rem; color: var(--text-soft); }
.h-half-bars i { display: block; height: 9px; border-radius: 99px; background: linear-gradient(90deg, var(--h-teal), #1EA8AD88); }
.h-half-bars span { font-family: var(--h-mono); font-size: .82rem; color: #fff; text-align: right; }

/* feature rows */
.h-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: 60px 0; }
.h-feature.flip .h-fcopy { order: 2; }
.h-fcopy h3 { font-family: var(--h-display); font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.06; letter-spacing: -.02em; color: #fff; margin: 12px 0 18px; text-wrap: balance; }
.h-fcopy p { color: var(--text-soft); margin-bottom: 14px; }
.h-facts { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.h-facts li { padding-left: 26px; position: relative; color: var(--text-soft); font-size: 1rem; }
.h-facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 2px; background: var(--h-teal); }
.h-fvisual { display: flex; justify-content: center; position: relative; }
.h-fvisual::before { content: ""; position: absolute; inset: 8% 10%; background: radial-gradient(closest-side, rgba(30,168,173,.18), transparent); filter: blur(30px); }
.h-fvisual .h-phone { position: relative; width: 300px; }
.h-fvisual.pair { gap: 0; }
.h-fvisual.pair .h-phone { width: 240px; }
.h-fvisual.pair .h-phone + .h-phone { margin: 60px 0 0 -30px; }

/* card grid */
.h-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.h-grid .h-card { padding: 26px; }
.h-grid .h-card h3 { font-family: var(--h-display); font-size: 1.15rem; letter-spacing: -.01em; text-transform: none; color: #fff; margin-bottom: 10px; }
.h-grid .h-card p { color: var(--text-soft); font-size: .98rem; }

/* pricing */
.h-price { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 44px; }
.h-price .h-card { padding: 34px; }
.h-price h3 { font-family: var(--h-display); font-size: 1.7rem; text-transform: none; letter-spacing: -.01em; color: #fff; margin-bottom: 6px; }
.h-price .cost { font-family: var(--h-mono); color: var(--h-teal); font-size: .95rem; margin-bottom: 18px; }
.h-price ul { list-style: none; display: grid; gap: 9px; }
.h-price li { padding-left: 26px; position: relative; color: var(--text-soft); font-size: .98rem; }
.h-price li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 9px; height: 5px; border-left: 2px solid var(--h-teal); border-bottom: 2px solid var(--h-teal); transform: rotate(-45deg); }
.h-price .lead-in { color: var(--text-muted); font-size: .92rem; margin-bottom: 4px; font-family: var(--h-mono); }

/* compare links */
.h-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.h-links a { padding: 12px 20px; border-radius: 99px; border: 1px solid var(--border); color: var(--text-soft); font-size: .95rem; }
.h-links a:hover { border-color: var(--h-teal); color: var(--h-teal); }

/* faq */
.h-faq { margin-top: 40px; display: grid; gap: 12px; max-width: 860px; }
.h-faq details { border: 1px solid var(--border); border-radius: 20px; background: rgba(16,33,43,.55); padding: 4px 24px; }
.h-faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 1.06rem; color: #fff; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.h-faq summary::-webkit-details-marker { display: none; }
.h-faq summary::after { content: "+"; font-family: var(--h-mono); color: var(--h-teal); font-size: 1.3rem; line-height: 1; }
.h-faq details[open] summary::after { content: "-"; }
.h-faq details p { padding: 0 0 20px; color: var(--text-soft); font-size: 1rem; }

/* final cta */
.h-final { text-align: center; padding: 120px 0; background: radial-gradient(800px 420px at 50% 100%, rgba(30,168,173,.16), transparent 70%); }
.h-final .h-h2 { max-width: 20ch; margin-left: auto; margin-right: auto; }
.h-final .h-cta-row { justify-content: center; }

/* reveal */
.js-enabled .rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js-enabled .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js-enabled .rv { opacity: 1; transform: none; transition: none; } }

@media (max-width: 960px) {
    .h-section { padding: 76px 0; }
    .h-hero-grid, .h-feature, .h-compare, .h-price, .h-half { grid-template-columns: 1fr; }
    .h-feature { gap: 34px; padding: 40px 0; }
    .h-feature.flip .h-fcopy { order: 0; }
    .h-steps, .h-grid { grid-template-columns: 1fr; }
    .h-proof-grid { grid-template-columns: 1fr 1fr; }
    .h-proof-item:nth-child(2) { border-right: 0; }
    .h-proof-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.06); }
    .h-phones { height: 560px; max-width: 460px; margin: 0 auto; width: 100%; }
    .h-phones .p1 { width: 240px; left: 0; }
    .h-phones .p2 { width: 210px; }
    .h-row { grid-template-columns: 96px 1fr 44px; }
}

/* Type system: Inter for headings and body, Anton only for the Valen wordmark, mono for eyebrows, labels and support text. */
.h-h2, .h-hero h1, .h-proof-num, .h-step .n, .h-step h3, .h-fcopy h3, .h-grid .h-card h3, .h-price h3 { font-weight: 800; }
.h-hero h1 { letter-spacing: -.035em; line-height: 1; }
.h-h2, .h-fcopy h3 { letter-spacing: -.03em; }
.h-proof-label, .h-half-bars div { font-family: var(--h-mono); font-size: .8rem; letter-spacing: .01em; }
.h-half-bars div { font-size: .82rem; }
.h-brand { font-family: var(--h-brand); text-transform: uppercase; letter-spacing: .06em; font-weight: 400; color: var(--h-teal); font-size: 1.9rem; display: block; margin-bottom: 14px; }

/* example scenario card */
.h-scenario { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; margin-top: 40px; border: 1px solid var(--accent-border); border-radius: 30px; overflow: hidden; background: linear-gradient(135deg, rgba(18,38,48,.92), rgba(10,22,28,.95)); }
.h-scenario-copy { padding: 40px; }
.h-tag { display: inline-block; font-family: var(--h-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; padding: 6px 12px; border-radius: 99px; border: 1px dashed rgba(211,179,86,.6); color: var(--yellow); }
.h-scenario h3 { font-weight: 800; font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.12; letter-spacing: -.02em; color: #fff; margin: 18px 0 14px; }
.h-scenario p { color: var(--text-soft); font-size: 1.02rem; margin-bottom: 14px; }
.h-scenario-data { padding: 40px; border-left: 1px solid var(--divider); background: rgba(4,9,12,.4); display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.h-scenario-data h4 { font-family: var(--h-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.h-scenario-data .h-row { grid-template-columns: 96px 1fr 44px; }
.h-scenario-data .h-note { margin-top: 10px; }
@media (max-width: 960px) { .h-scenario { grid-template-columns: 1fr; } .h-scenario-data { border-left: 0; border-top: 1px solid var(--divider); } .h-scenario-copy, .h-scenario-data { padding: 28px; } }

.h-fcopy, .h-fvisual { min-width: 0; }
@media (max-width: 960px) {
    .h-fvisual .h-phone { width: min(300px, 78vw); }
    .h-fvisual.pair .h-phone { width: 44%; max-width: 240px; }
    .h-fvisual.pair .h-phone + .h-phone { margin: 40px 0 0 -14px; }
}

/* screenshot strips */
.h-strip { display: flex; gap: 26px; overflow-x: auto; padding: 44px 4px 8px; margin-top: 8px; justify-content: center; scroll-snap-type: x mandatory; }
.h-shot { flex: 0 0 auto; width: 232px; margin: 0; scroll-snap-align: center; }
.h-shot .h-phone { position: relative; width: 100%; }
.h-shot figcaption { margin-top: 16px; font-family: var(--h-mono); font-size: .78rem; line-height: 1.5; color: var(--text-muted); text-align: center; }
@media (max-width: 960px) { .h-strip { justify-content: flex-start; } .h-shot { width: 200px; } }
