/* Forge Fitness website: carbon base, Forge lime only where something is "on" */
@font-face { font-family: 'Barlow'; src: url('fonts/barlow-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('fonts/barlow-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('fonts/barlow-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --bg: #0A0E0C;
  --bg-raised: #0F1512;
  --surface: #141B17;
  --surface-2: #1A231E;
  --line: #233029;
  --line-strong: #31413A;
  --text: #EEF4F0;
  --text-2: #A3B2A9;
  --text-3: #6E7E75;
  --lime: #B8FF3D;
  --lime-mid: #8BCB22;
  --lime-wash: rgba(184, 255, 61, .08);
  --lime-glow: rgba(184, 255, 61, .35);
  --on-lime: #0E1600;
  --display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1120px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: .98; letter-spacing: .005em; }
h2 { font-size: clamp(2.4rem, 6vw, 4rem); }
h3 { font-size: 1.6rem; line-height: 1.1; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lime); color: var(--on-lime); }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.skip { position: absolute; left: -999px; top: 0; padding: .6rem 1rem; background: var(--lime); color: var(--on-lime); z-index: 100; font-weight: 600; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: .8rem 1.4rem;
  border-radius: 12px; border: 1px solid transparent; font: 600 1.02rem var(--body); text-decoration: none; cursor: pointer;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.btn:active { transform: scale(.98); }
.btn-lime { background: var(--lime); color: var(--on-lime); }
.btn-lime:hover { box-shadow: 0 10px 30px -10px var(--lime-glow); }
.btn-line { border-color: var(--line-strong); color: var(--text); }
.btn-line:hover { background: var(--surface); }
.btn-small { min-height: 40px; padding: .45rem .95rem; font-size: .95rem; border-radius: 10px; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(10, 14, 12, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.logo svg { width: 42px; height: 42px; flex: none; }
.logo-word { display: flex; flex-direction: column; line-height: 1; }
.logo-word b { font: 700 1.55rem/1 var(--display); letter-spacing: .01em; }
.logo-word span { font: 600 .62rem/1 var(--body); letter-spacing: .5em; color: var(--text-2); margin-top: .35rem; }
.nav { display: flex; align-items: center; gap: .3rem; }
.nav a:not(.btn) { padding: .5rem .7rem; border-radius: 8px; color: var(--text-2); text-decoration: none; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--text); }
.nav .btn { margin-left: .4rem; }
.menu-btn { display: none; min-height: 44px; padding: .4rem .9rem; border-radius: 10px; border: 1px solid var(--line-strong); background: none; color: var(--text); font: 600 .95rem var(--body); cursor: pointer; }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; align-items: center; gap: .5rem; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: .2rem; padding: .8rem 1.25rem 1.2rem; background: var(--bg-raised); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .8rem .2rem; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: .8rem 0 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 6rem); }
.hero::before { content: ''; position: absolute; right: -10%; top: 0; width: min(760px, 90vw); height: 640px; background: radial-gradient(closest-side, rgba(184, 255, 61, .11), transparent 72%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.where { display: inline-flex; align-items: center; gap: .7rem; color: var(--text-2); font-weight: 500; margin-bottom: 1.4rem; }
.where::before { content: ''; width: 36px; height: 3px; border-radius: 2px; background: var(--lime); }
.hero h1 { font-size: clamp(3.6rem, 7.6vw, 5.8rem); line-height: .9; text-transform: uppercase; letter-spacing: -.005em; margin-bottom: 1.6rem; }
.hero h1 .l { display: block; }
.hero h1 .on { color: var(--lime); }
@media (min-width: 961px) { .hero h1 .l { white-space: nowrap; } }
.lead { font-size: clamp(1.15rem, 2.4vw, 1.4rem); line-height: 1.45; max-width: 34ch; margin-bottom: .8rem; }
.hero .muted { max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1.8rem; }
.proof { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--text-2); font-size: .95rem; }
.proof li { display: flex; align-items: center; gap: .45rem; }
.tick { width: 18px; height: 18px; flex: none; stroke: var(--lime); fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } }

/* ---------- Phone: a real look at the Forge app ---------- */
.phone-col { display: flex; flex-direction: column; align-items: center; }
.phone {
  width: min(330px, 100%); padding: 12px; border-radius: 44px; background: linear-gradient(160deg, #2A3530, #121815 40%, #1B2420);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px #31413A, 0 0 80px -30px var(--lime-glow);
}
.screen { border-radius: 34px; overflow: hidden; background: var(--bg); padding: 26px 16px 18px; }
.screen-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.screen-top b { font: 700 1.9rem/1 var(--display); }
.screen-top span { width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font: 700 .85rem var(--display); color: var(--text-2); }
.card { border-radius: 18px; background: linear-gradient(160deg, #18221B, var(--surface) 60%); border: 1px solid var(--line); padding: 14px; }
.card + .card { margin-top: 10px; }
.card small { display: block; font-size: .72rem; color: var(--text-2); }
.count { font: 700 3.1rem/.85 var(--display); }
.count i { font: 600 .82rem var(--body); font-style: normal; color: var(--text-2); margin-left: .3rem; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-top: 12px; }
.days div { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .62rem; color: var(--text-3); font-weight: 600; }
.days i { display: block; width: 100%; aspect-ratio: 1; border-radius: 9px; background: #212C26; }
.days .lit i { background: var(--lime); box-shadow: 0 0 12px -2px var(--lime-glow); animation: light .5s var(--ease) both; }
.days .lit:nth-child(1) i { animation-delay: .5s; }
.days .lit:nth-child(3) i { animation-delay: .75s; }
.days .lit:nth-child(5) i { animation-delay: 1s; }
.days .today i { background: transparent; border: 1px solid var(--lime-mid); }
.days .today { color: var(--text); }
@keyframes light { from { background: #212C26; box-shadow: none; } }
.next { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.next b { display: block; font: 700 1.2rem/1.1 var(--display); }
.next em { font-style: normal; padding: .45rem .8rem; border-radius: 9px; background: var(--lime); color: var(--on-lime); font-weight: 600; font-size: .8rem; }
.habit { display: flex; align-items: center; gap: .6rem; font-size: .82rem; font-weight: 600; padding: 6px 0; }
.habit i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; display: grid; place-items: center; }
.habit.done i { background: var(--lime); border-color: var(--lime); }
.habit.done i::after { content: ''; width: 9px; height: 5px; border-left: 2px solid var(--on-lime); border-bottom: 2px solid var(--on-lime); transform: rotate(-45deg) translate(1px, -1px); }
.phone-note { margin-top: 1rem; font-size: .82rem; color: var(--text-3); }

/* ---------- Sections ---------- */
.band { padding: clamp(4rem, 9vw, 7.5rem) 0; border-top: 1px solid var(--line); }
.band.raised { background: var(--bg-raised); }
.intro { max-width: 640px; margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.intro h2 { margin-bottom: 1.1rem; }
.intro p { color: var(--text-2); font-size: 1.15rem; }

.approach { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; }
.approach h2 { font-size: clamp(2.8rem, 7vw, 5rem); }
.trio { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .3rem; font-size: 1.2rem; }
.trio li strong { color: var(--text); font-weight: 600; }
@media (max-width: 860px) { .approach { grid-template-columns: 1fr; } }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 1.7rem 1.5rem 1.5rem; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.plan.best { border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime), 0 30px 70px -40px var(--lime-glow); background: linear-gradient(170deg, #1A2410, var(--surface) 45%); }
.flag { position: absolute; top: -13px; left: 1.5rem; padding: .2rem .7rem; border-radius: 999px; background: var(--lime); color: var(--on-lime); font-weight: 600; font-size: .82rem; }
.plan .for { color: var(--text-2); font-size: .95rem; margin-bottom: .2rem; }
.plan h3 { font-size: 2rem; margin-bottom: .7rem; }
.plan > p { color: var(--text-2); }
.price { display: flex; align-items: baseline; gap: .4rem; margin: .6rem 0 .1rem; }
.price b { font: 700 4rem/.9 var(--display); }
.price span { color: var(--text-2); }
.founding { color: var(--text-3); font-size: .88rem; margin-bottom: 1.2rem; }
.includes { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .6rem; }
.includes li { display: flex; gap: .6rem; align-items: flex-start; line-height: 1.4; }
.includes .tick { margin-top: .15rem; }
.plan .btn { margin-top: auto; }
.plans-note { margin-top: 1.4rem; color: var(--text-3); font-size: .92rem; max-width: 70ch; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; gap: 1.6rem; } }

/* Steps: a real sequence, so numbered */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 0; max-width: 820px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 4.2rem 1fr; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step); font: 700 2.6rem/1 var(--display); color: var(--lime); }
.steps h3 { margin-bottom: .4rem; }
.steps p { color: var(--text-2); margin: 0; max-width: 60ch; }

/* App features */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.4rem 3rem; max-width: 900px; }
.features div { padding-left: 1.1rem; border-left: 3px solid var(--line-strong); }
.features h3 { margin-bottom: .35rem; }
.features p { color: var(--text-2); margin: 0; }
@media (max-width: 700px) { .features { grid-template-columns: 1fr; } }

/* Why Forge */
.why { display: grid; gap: 0; max-width: 900px; }
.why div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 1.5rem; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.why div:last-child { border-bottom: 1px solid var(--line); }
.why p { margin: 0; }
.why p:first-child { color: var(--text-3); }
.why p:last-child { font-size: 1.2rem; font-weight: 500; }
@media (max-width: 700px) { .why div { grid-template-columns: 1fr; gap: .4rem; } }

/* Coach */
.coach { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.coach-card { padding: 2.2rem; border-radius: 22px; background: var(--surface); border-left: 4px solid var(--lime); }
.coach-card b { display: block; font: 700 clamp(3.4rem, 9vw, 5.4rem)/.9 var(--display); text-transform: uppercase; margin-bottom: 1rem; }
.coach-card p { margin: 0; color: var(--text-2); font-size: 1.15rem; }
.coach h2 { margin-bottom: 1.2rem; }
.coach p { color: var(--text-2); font-size: 1.1rem; max-width: 56ch; }
@media (max-width: 860px) { .coach { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.3rem 0; font-size: 1.2rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 14px; height: 14px; flex: none; border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); border-color: var(--lime); }
.faq details > div { padding: 0 0 1.4rem; color: var(--text-2); max-width: 68ch; }
.faq details > div p:last-child { margin: 0; }

/* Final call */
.final { padding: clamp(4.5rem, 10vw, 8rem) 0; border-top: 1px solid var(--line); background: radial-gradient(ellipse 60% 70% at 20% 100%, rgba(184, 255, 61, .09), transparent 70%), var(--bg-raised); }
.final h2 { font-size: clamp(3rem, 8vw, 5.6rem); text-transform: uppercase; max-width: 12ch; margin-bottom: 1.2rem; }
.final p { color: var(--text-2); font-size: 1.15rem; max-width: 52ch; }

/* Footer */
.foot { padding: 3.5rem 0 2.5rem; border-top: 1px solid var(--line); color: var(--text-2); font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.foot h2 { font: 600 1rem var(--body); color: var(--text); margin-bottom: .9rem; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot address { font-style: normal; display: grid; gap: .35rem; margin-top: 1.2rem; }
.legal-line { margin-top: 2.8rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; color: var(--text-3); font-size: .88rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* Legal pages */
.doc { padding: clamp(3rem, 7vw, 5rem) 0 5rem; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(3rem, 9vw, 4.8rem); margin-bottom: .6rem; }
.doc .updated { color: var(--text-3); margin-bottom: 2.5rem; }
.doc h2 { font-size: 1.9rem; margin: 2.6rem 0 .8rem; }
.doc p, .doc li { color: var(--text-2); }
.doc ul { padding-left: 1.2rem; margin: 0 0 1rem; display: grid; gap: .4rem; }
.doc strong { color: var(--text); font-weight: 600; }
.doc a { color: var(--lime); text-underline-offset: 3px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.5rem; padding: 1.3rem 1.4rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 1rem; }
.facts dt { color: var(--text-3); }
.facts dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .facts dd { margin-bottom: .5rem; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
