/* Round 2 commit: D3 "A largada" across the whole homepage. Builds on ../site.css (nav, buttons, steps,
   features, case, about, foot). */
:root { --lane: #cfe3d6; }

.eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); font-weight: 600; }
.field { display: block; width: 100%; }
.field path { fill: none; stroke: var(--green-soft); stroke-width: 1; vector-effect: non-scaling-stroke; }
.field path.accent { stroke: var(--green); stroke-width: 1.6; }

/* ---- track (hero start line + closing finish line) ---- */
.track { position: relative; }
.track svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.band { fill: #fff; stroke: none; }
.band--green { fill: var(--lane); }
.lane { stroke: var(--green-soft); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.lane.edge { stroke: var(--ink); stroke-width: 1.5; }
.mark-line { stroke: var(--ink); stroke-width: 6; vector-effect: non-scaling-stroke; }
.trail { stroke: var(--green); stroke-width: 3; fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.trail.faint { stroke: var(--green-soft); stroke-width: 2; }
.lane-num { position: absolute; left: 7%; transform: translateY(-50%); font-weight: 800; font-stretch: 62%; font-size: clamp(16px, 2.2vw, 30px); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--green); }

.hero { position: relative; height: 100vh; min-height: 720px; padding: 104px var(--gutter) 40px; display: grid; grid-template-rows: auto 1fr auto; gap: 28px; overflow: hidden; }
.hero h1 { font-size: clamp(56px, 8.6vw, 148px); position: relative; z-index: 2; }
.hero .track svg { overflow: visible; }
.hero .track { min-height: 190px; margin: 0 calc(var(--gutter) * -1); }
.hero-foot { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; position: relative; z-index: 2; }
.big100 { display: flex; align-items: baseline; gap: 16px; }
.big100 b { font-weight: 800; font-stretch: 62%; font-size: clamp(72px, 10vw, 160px); line-height: .8; color: var(--green); }
.big100 span { max-width: 210px; font-weight: 600; line-height: 1.3; }
.hero-side { max-width: 390px; }
.hero-side p { color: var(--muted); font-size: 17px; margin-bottom: 18px; }
@media (max-width: 700px) { .hero { height: auto; min-height: 100svh; } .hero .track { min-height: 170px; } }

/* ---- fee ---- */
.fee { background: var(--ink); color: #e8efe9; padding: clamp(72px, 10vw, 128px) var(--gutter); }
.fee h2 { font-size: clamp(48px, 8vw, 120px); margin-top: 14px; }
.fee .calc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 56px 0 28px; border-top: 1px solid #2c3a31; padding-top: 28px; }
@media (max-width: 760px) { .fee .calc { grid-template-columns: 1fr; } }
.fee dt { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #7fd4a2; }
.fee dd { margin: 8px 0 0; font-weight: 800; font-stretch: 80%; font-size: clamp(36px, 4.4vw, 60px); line-height: 1; font-variant-numeric: tabular-nums; }
.fee dd span { display: block; font-weight: 400; font-stretch: 100%; font-size: 15px; line-height: 1.5; color: #9aa89f; margin-top: 10px; }
.fee .you dd { color: #7fd4a2; }
.fee .note { color: #9aa89f; max-width: 640px; }

/* ---- sports: one lane per sport ---- */
.sports { padding: clamp(72px, 10vw, 128px) var(--gutter) 0; }
.sports > h2 { font-size: clamp(44px, 6vw, 88px); margin-bottom: 40px; }
.sports-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.sports-list li { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.4fr); gap: 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.sports-list small { font-weight: 800; font-stretch: 62%; font-size: 40px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--green); }
.sports-list b { display: block; font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: clamp(24px, 2.6vw, 36px); line-height: 1; }
.sports-list p { color: var(--muted); font-size: 15px; }
.sports-list svg { height: 72px; order: 4; }
@media (max-width: 860px) { .sports-list li { grid-template-columns: 44px 1fr; } .sports-list li > p, .sports-list svg { grid-column: 2; } }

/* ---- prices + founders ---- */
.prices { padding: clamp(72px, 11vw, 140px) var(--gutter); background: var(--ink); color: #e8efe9; }
.prices h2 { font-size: clamp(44px, 6vw, 88px); margin-bottom: 48px; }
.plans-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .plans-cards { grid-template-columns: 1fr; } }
.plan { border: 1px solid #2c3a31; border-top: 3px solid #7fd4a2; padding: 28px; display: grid; gap: 18px; align-content: start; }
.plan h3 { margin: 0; font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: 34px; line-height: 1; }
.plan .lead { color: #9aa89f; }
.plan dl { margin: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
.plan dt { font: 600 12px/1.4 Archivo; letter-spacing: .14em; text-transform: uppercase; color: #7fd4a2; }
.plan dd { margin: 2px 0 0; font-weight: 800; font-stretch: 80%; font-size: 30px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.plan dd span { display: block; font: 400 14px/1.5 Archivo; color: #9aa89f; }
.min-note { color: #9aa89f; margin-top: 20px; max-width: 640px; }

.founders { margin-top: 72px; border: 1px solid #3c5a47; padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 48px; align-items: center; }
@media (max-width: 860px) { .founders { grid-template-columns: 1fr; } }
.founders h3 { margin: 10px 0 14px; font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: clamp(40px, 5vw, 72px); line-height: .95; }
.founders p { color: #b9c6bd; max-width: 520px; }
.founders .btn { margin-top: 22px; }
.founders .eyebrow { color: #7fd4a2; }
.count-caption { font-weight: 800; font-stretch: 72%; font-size: clamp(26px, 2.6vw, 36px); line-height: 1; text-transform: uppercase; color: #7fd4a2; margin-top: 18px; }
.count-caption.out { color: #9aa89f; }

/* counter: three race bibs */
.count-bibs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bib { background: #e8efe9; color: var(--ink); border-radius: 6px; padding: 14px 12px 12px; text-align: center; position: relative; }
.bib::before, .bib::after { content: ""; position: absolute; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.bib::before { left: 8px; } .bib::after { right: 8px; }
.bib small { display: block; font: 600 10px/1 Archivo; letter-spacing: .16em; text-transform: uppercase; color: #5f6a63; }
.bib b { display: block; font-weight: 800; font-stretch: 62%; font-size: clamp(48px, 6vw, 76px); line-height: 1; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.bib em { font: 600 11px/1 Archivo; font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.bib.taken { background: #26332a; color: #5f7a68; }
.bib.taken em { color: #9aa89f; }
.bib.taken b { text-decoration: line-through; text-decoration-thickness: 4px; }

/* ---- faq ---- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 96px); padding: clamp(72px, 11vw, 140px) var(--gutter); border-bottom: 1px solid var(--rule); }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }
.faq h2 { font-size: clamp(44px, 6vw, 88px); }
.faq dl { margin: 0; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 19px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-weight: 800; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 22px; max-width: 60ch; }

/* ---- closing: the finish line ---- */
.finish { position: relative; padding: clamp(72px, 10vw, 120px) var(--gutter) clamp(48px, 8vh, 80px); overflow: hidden; }
.finish .track { height: 170px; margin: 0 calc(var(--gutter) * -1) 48px; }
.finish-copy { display: flex; justify-content: space-between; align-items: end; gap: 28px; flex-wrap: wrap; }
.finish h2 { font-size: clamp(52px, 9vw, 144px); }

/* ---- reveals ---- */
html.motion .reveal { opacity: 0; translate: 0 18px; transition: opacity .7s ease, translate .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 70ms); }
html.motion .reveal.is-in { opacity: 1; translate: 0 0; }
