:root {
  --bg: #101211;
  --surface: #191c1a;
  --line: #2a2e2b;
  --text: #f3f4ef;
  --muted: #a3a8a1;
  --accent: #d1f774;
  --accent-ink: #101211;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
img { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand span { font: 700 24px/1 var(--display); letter-spacing: 0.2px; }
header.site { padding: 24px 0; }

/* Landing */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  padding-block: 24px 56px;
}
.hero h1 {
  margin: 0;
  font: 700 clamp(52px, 11vw, 96px)/0.92 var(--display);
  letter-spacing: -0.5px;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { margin: 20px 0 0; max-width: 34ch; color: var(--muted); font-size: clamp(17px, 2.2vw, 20px); }

.cta { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; align-items: flex-start; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 16px;
  background: var(--accent); color: var(--accent-ink);
  font: 600 17px/1 var(--body); text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(209, 247, 116, .25); }
.button:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }
.button svg { width: 20px; height: 20px; }
.cta small { color: var(--muted); font-size: 13px; }

.compare { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.compare figure { margin: 0; }
.photo {
  aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.goal { border: 2px solid var(--accent); box-shadow: 0 0 40px rgba(209, 247, 116, .22); }
.compare figcaption { margin-top: 10px; font: 600 18px/1.2 var(--display); color: var(--muted); letter-spacing: .3px; }
.compare figure:last-child figcaption { color: var(--accent); }
.arrow {
  position: absolute; left: 50%; top: calc(50% - 16px); transform: translate(-50%, -50%);
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; border: 6px solid var(--bg);
}
.arrow svg { width: 24px; height: 24px; }
.note { margin: 14px 0 0; color: var(--muted); font-size: 12px; }

@media (min-width: 900px) {
  .hero { grid-template-columns: 1.05fr 1fr; gap: 56px; padding-block: 48px 80px; }
}

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
footer.site nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer.site a { color: var(--text); text-decoration: none; }
footer.site a:hover { color: var(--accent); }

/* Document pages */
.doc { max-width: 720px; padding: 16px 0 64px; }
.doc h1 { font: 700 clamp(40px, 8vw, 56px)/1 var(--display); margin: 8px 0 12px; }
.doc h2 { font: 700 26px/1.15 var(--display); margin: 40px 0 10px; letter-spacing: .2px; }
.doc p, .doc li { color: #d9dcd5; }
.doc strong { color: var(--text); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .table { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 12px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 14px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { color: var(--text); background: var(--surface); font-weight: 600; }
.doc tr:last-child td { border-bottom: 0; }
.doc .updated { color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin: 20px 0; }
.card p { margin: 0 0 8px; }
.card .email { font: 700 24px/1.2 var(--display); word-break: break-all; }
