/* FreeWeight marketing site. Static, brand-matched to the app (dark + volt green,
   Anton display + Hanken Grotesk body). One stylesheet shared by every page. */

:root {
  --bg: #0a0a0c;
  --surface: #161619;
  --surface2: #1d1d22;
  --line: #2a2a31;
  --accent: #c8fa4b;
  --accent2: #a6e635;
  --ink: #0a0a0c;
  --text: #f5f5f4;
  --sub: #a1a1aa;
  --faint: #8a8a93;
  --max: 1040px;
  --display: 'Anton', system-ui, sans-serif;
  --body: 'Hanken Grotesk', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 9px; background: var(--accent);
  display: grid; place-items: center; color: var(--ink); font-weight: 900; font-size: 18px;
}
.brand .word { font-family: var(--display); letter-spacing: 2.5px; font-size: 17px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--sub); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--text); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--body); font-weight: 800; font-size: 16px;
  padding: 14px 22px; border-radius: 999px; border: none; cursor: pointer;
}
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent2); }
.btn-line { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn-line:hover { border-color: var(--sub); }
.btn[aria-disabled='true'] { opacity: 0.55; cursor: default; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 72px; text-align: center; }
.hero::before {
  content: ''; position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 760px; height: 760px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 250, 75, 0.16), transparent 62%);
  pointer-events: none;
}
.hero .eyebrow {
  font-family: var(--body); font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  font-size: 13px; color: var(--accent2);
}
.hero h1 {
  font-family: var(--display); font-weight: 400; line-height: 1.04;
  font-size: clamp(44px, 8vw, 88px); margin: 14px auto 0; max-width: 12ch;
}
.hero p.lead {
  color: var(--sub); font-size: clamp(17px, 2.2vw, 20px); line-height: 1.55;
  max-width: 620px; margin: 22px auto 0;
}
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.hero .note { color: var(--faint); font-size: 13px; margin-top: 16px; }

/* sections */
section { padding: 64px 0; }
.section-eyebrow {
  font-family: var(--body); font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  font-size: 12px; color: var(--accent2); text-align: center;
}
h2.section-title {
  font-family: var(--display); font-weight: 400; line-height: 1.1;
  font-size: clamp(30px, 5vw, 46px); text-align: center; margin-top: 10px;
}

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px;
}
.step .num { font-family: var(--display); font-size: 30px; color: var(--accent); line-height: 1.2; }
.step h3 { font-family: var(--body); font-weight: 800; font-size: 19px; margin-top: 12px; }
.step p { color: var(--sub); font-size: 15px; margin-top: 8px; }

/* swaps grid */
.swaps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.swap {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 20px; display: flex; flex-direction: column; gap: 4px;
}
.swap .from { color: var(--text); font-weight: 700; font-size: 16px; }
.swap .to { color: var(--accent2); font-weight: 700; font-size: 14px; }

/* closing cta */
.closer { text-align: center; }
.closer .card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 26px;
  padding: 56px 28px; margin-top: 12px;
}

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--faint); }
footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
footer .links { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { color: var(--sub); font-size: 14px; }
footer a:hover { color: var(--text); }
footer .copy { font-size: 13px; }

/* legal / doc pages */
.doc { padding: 56px 0 72px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 6vw, 52px); line-height: 1.1; }
.doc .updated { color: var(--faint); font-size: 14px; margin-top: 8px; }
.doc h2 { font-family: var(--body); font-weight: 800; font-size: 21px; margin-top: 34px; }
.doc p, .doc li { color: var(--sub); font-size: 16px; line-height: 1.7; margin-top: 12px; }
.doc ul { margin-top: 8px; padding-left: 22px; }
.doc a { color: var(--accent2); text-decoration: underline; }
.doc .back { display: inline-block; margin-top: 36px; color: var(--sub); font-weight: 700; }
.draft {
  background: rgba(255, 138, 61, 0.1); border: 1px solid rgba(255, 138, 61, 0.4);
  color: #ffb37a; border-radius: 14px; padding: 14px 16px; font-size: 14px; margin-top: 24px;
}

@media (max-width: 720px) {
  .nav-links { gap: 16px; }
  .nav-links .hide-sm { display: none; }
  .steps, .swaps { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
}
