/* ===================== RESET & TOKENS ===================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

:root {
  /* Official Arcus palette: warm cream + forest green */
  --bg: #F1EDE2;
  --bg-2: #E9E4D5;
  --surface: #FBF9F1;
  --surface-2: #FFFFFF;
  --border: rgba(30, 59, 37, 0.14);
  --border-2: rgba(30, 59, 37, 0.24);
  --text: #14180F;
  --muted: #59604F;
  --muted-2: #8A8E7C;

  --accent: #1E3B25;      /* forest green (primary CTA) */
  --accent-2: #5E7A40;    /* moss / olive */
  --accent-soft: rgba(30, 59, 37, 0.09);
  --grad: linear-gradient(100deg, #254C2E 0%, #5E7A40 100%);
  --cream-btn: #E4DEC9;
  --on-accent: #F3EFE3;   /* cream text on green */
  --footer-bg: #142A1B;

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1160px;

  --font-display: "Hedvig Letters Serif", Georgia, "Times New Roman", serif;
  --font-head: "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.015em; font-weight: 400; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.container-narrow { max-width: 820px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
}
.btn-arrow { transition: transform .2s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--accent); color: var(--on-accent);
  box-shadow: 0 8px 24px rgba(30, 59, 37, 0.22);
}
.btn-primary:hover { transform: translateY(-2px); background: #26492F; box-shadow: 0 12px 32px rgba(30, 59, 37, 0.32); }

.btn-ghost {
  background: var(--cream-btn); color: var(--text);
  border-color: var(--border-2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.btn-xl { font-size: 17px; padding: 18px 30px; }
.btn-lg { font-size: 16px; padding: 15px 26px; }
.btn-header { padding: 10px 18px; font-size: 14px; }

/* Stacked CTA: uppercase main label + small incentive below */
.btn-cta { flex-direction: column; align-items: center; gap: 4px; line-height: 1.15; padding: 16px 34px; }
.btn-cta .cta-main { font-size: 20px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.btn-cta .cta-sub { font-size: 13.5px; font-weight: 500; opacity: .85; }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(241, 237, 226, 0.6);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.site-header.scrolled { background: rgba(241, 237, 226, 0.92); border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; gap: 22px; height: 68px; }

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 400; font-size: 21px; letter-spacing: -.01em; }
.brand-mark { display: grid; place-items: center; }
.brand-accent { color: var(--accent-2); }

.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color .2s ease; }
.main-nav a:hover { color: var(--text); }
.btn-header { margin-left: 8px; }

/* ===================== HERO ===================== */
.hero { position: relative; padding: 82px 0 60px; overflow: hidden; text-align: center; }
.hero-glow {
  position: absolute; top: -160px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 640px; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, rgba(94,122,64,.28), rgba(30,59,37,.10) 45%, transparent 72%);
  filter: blur(12px);
}
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px; border-radius: 999px; font-size: 13px; font-weight: 500;
  color: var(--muted); background: var(--surface); border: 1px solid var(--border);
  margin-bottom: 26px;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 0 rgba(94,122,64,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(94,122,64,.5); } 70% { box-shadow: 0 0 0 8px rgba(94,122,64,0); } 100% { box-shadow: 0 0 0 0 rgba(94,122,64,0); } }

.hero-title { font-size: clamp(40px, 6.6vw, 78px); font-weight: 400; max-width: 16ch; margin-bottom: 22px; }
.hero-sub { font-size: clamp(16px, 2.2vw, 20px); color: var(--muted); max-width: 60ch; margin-bottom: 34px; }
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 52px; }
.cta-note { font-size: 13.5px; color: var(--muted-2); }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; width: 100%; max-width: 760px; }
.stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 22px 14px; display: flex; flex-direction: column; gap: 4px;
}
.stat-num { font-family: var(--font-head); font-size: clamp(26px, 4vw, 38px); font-weight: 700; color: var(--text); }
.stat-label { font-size: 12.5px; color: var(--muted); }

/* marquee */
.marquee { position: relative; margin-top: 60px; overflow: hidden; border-block: 1px solid var(--border); padding: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: scroll 34s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-weight: 400; font-size: 19px; color: var(--muted-2); letter-spacing: .03em; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ===================== SECTIONS ===================== */
.section { padding: 92px 0; position: relative; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--border); }

.section-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.eyebrow { display: inline-block; font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(30px, 4.6vw, 48px); margin-bottom: 16px; }
.section-lead { color: var(--muted); font-size: clamp(15px, 2vw, 18px); }
.section-lead strong { color: var(--text); }

/* feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: 0 12px 30px rgba(30,59,37,.08); }
.card-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted); }

/* split section */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.split-text h2 { font-size: clamp(30px, 4.2vw, 46px); margin-bottom: 18px; }
.split-text > p { color: var(--muted); font-size: 17px; margin-bottom: 24px; }
.split-text > p strong { color: var(--text); }
.check-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.check-list li { position: relative; padding-left: 32px; color: var(--muted); font-size: 15px; }
.check-list li strong { color: var(--text); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px;
  background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 700;
}

/* chain visual */
.split-visual { display: flex; justify-content: center; }
.chain-card { width: 100%; max-width: 360px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.chain-node {
  width: 100%; text-align: center; padding: 22px; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 400; font-size: 22px;
  border: 1px solid var(--border-2); position: relative; background: var(--surface);
}
.node-badge { display: block; font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 6px; }
.node-chain { background: linear-gradient(180deg, rgba(94,122,64,.16), rgba(94,122,64,.05)); border-color: rgba(94,122,64,.45); }
.node-arcus { background: linear-gradient(180deg, rgba(30,59,37,.15), rgba(30,59,37,.05)); border-color: rgba(30,59,37,.5); color: var(--accent); }
.chain-arrow { font-size: 12px; color: var(--muted-2); letter-spacing: .05em; }

/* ===================== STEPS ===================== */
.steps { display: flex; flex-direction: column; gap: 20px; }
.step {
  display: grid; grid-template-columns: 64px 1fr 300px; gap: 26px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; transition: border-color .25s ease, box-shadow .25s ease;
}
.step:hover { border-color: var(--border-2); box-shadow: 0 12px 30px rgba(30,59,37,.07); }
.step-index { font-family: var(--font-display); font-size: 40px; font-weight: 400; color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.step-body h3 { font-size: 23px; margin-bottom: 8px; }
.step-body p { color: var(--muted); font-size: 15px; }
.step-body p strong { color: var(--text); }
.step-cta { display: inline-block; margin-top: 12px; color: var(--accent); font-weight: 600; font-size: 14.5px; }
.step-cta:hover { text-decoration: underline; }

/* step mock visuals */
.step-visual { display: flex; justify-content: flex-end; }
.mock {
  width: 100%; max-width: 280px; background: var(--surface-2); border: 1px solid var(--border-2);
  border-radius: 14px; padding: 16px; font-size: 13px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 8px 24px rgba(30,59,37,.06);
}
.mock-bar { display: flex; gap: 6px; margin-bottom: 2px; }
.mock-bar span { width: 9px; height: 9px; border-radius: 50%; background: #DDD8C8; }
.mock-title { font-weight: 700; font-size: 14px; }
.mock-btn { padding: 10px; border-radius: 9px; text-align: center; font-weight: 600; font-size: 13px; }
.mock-google { background: #fff; color: #111; border: 1px solid var(--border-2); }
.mock-wallet { background: var(--bg); border: 1px solid var(--border); color: var(--text); }
.mock-or { text-align: center; color: var(--muted-2); font-size: 11px; }
.mock-tag { background: var(--accent-soft); color: var(--accent); border-radius: 8px; padding: 7px 10px; text-align: center; font-weight: 600; font-size: 12px; }
.mock-row { display: flex; align-items: center; justify-content: space-between; padding: 9px 11px; background: var(--bg); border-radius: 9px; }
.mock-amt { font-weight: 600; }
.tk { font-weight: 700; font-size: 12px; padding: 3px 8px; border-radius: 6px; }
.tk-usdc { background: rgba(39,117,202,.16); color: #2b6fb0; }
.tk-usdt { background: rgba(38,161,123,.16); color: #1f8a63; }
.tk-btc { background: rgba(214,124,20,.16); color: #b8690f; }
.tk-tsla { background: rgba(200,30,30,.14); color: #c0322f; }
.mock-confirm { background: var(--accent); color: var(--on-accent); }
.mock-pair { margin-bottom: 2px; }
.mock-up { color: var(--accent-2); font-weight: 700; }
.mock-chart { background: var(--bg); border-radius: 9px; padding: 10px; }
.mock-chart svg { width: 100%; height: 44px; }
.mock-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mock-buy, .mock-sell { text-align: center; padding: 9px; border-radius: 8px; font-weight: 600; }
.mock-buy { background: var(--accent-soft); color: var(--accent); }
.mock-sell { background: rgba(200,30,30,.10); color: #c0322f; }
.mock-check { padding: 8px 11px; background: var(--bg); border-radius: 8px; color: var(--accent); font-weight: 500; }
.mock-rank { text-align: center; font-weight: 600; padding: 8px; color: var(--muted); }
.mock-rank.up { color: var(--accent-2); }
.mock-refbox { display: flex; align-items: center; justify-content: space-between; background: var(--bg); border-radius: 8px; padding: 9px 11px; font-size: 12px; }
.mock-copy { background: var(--accent-soft); color: var(--accent); padding: 3px 9px; border-radius: 6px; font-weight: 600; }

/* qualify CTA */
.qualify-cta {
  margin-top: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(94,122,64,.14), rgba(30,59,37,.06));
  border: 1px solid var(--border-2); border-radius: var(--radius); padding: 30px 34px;
}
.qualify-cta h3 { font-size: 24px; margin-bottom: 6px; }
.qualify-cta p { color: var(--muted); font-size: 15px; }

/* ===================== PERKS ===================== */
.perk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.perk { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; text-align: center; }
.perk-big { font-family: var(--font-display); font-size: 56px; font-weight: 400; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 8px; }
.perk p { color: var(--muted); font-size: 15px; }
.perk p strong { color: var(--text); }

/* ===================== FAQ ===================== */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-family: var(--font-display); font-weight: 400; font-size: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 24px; color: var(--accent-2); transition: transform .25s ease; font-weight: 400; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }
.faq-a a { color: var(--accent); font-weight: 600; }
.faq-a a:hover { text-decoration: underline; }

/* ===================== FINAL CTA ===================== */
.final-cta { position: relative; overflow: hidden; text-align: center; padding: 100px 0; border-top: 1px solid var(--border); }
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 { font-size: clamp(30px, 4.8vw, 50px); max-width: 20ch; margin: 0 auto 18px; }
.final-cta p { color: var(--muted); font-size: 17px; max-width: 56ch; margin: 0 auto 32px; }

/* ===================== FOOTER ===================== */
.site-footer { border-top: 1px solid var(--border); background: var(--footer-bg); color: var(--on-accent); padding: 56px 0 40px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(243,239,227,.15); }
.footer-brand { max-width: 340px; }
.footer-brand .brand-text { font-family: var(--font-display); font-weight: 400; font-size: 22px; }
.site-footer .brand-accent { color: #9CBE77; }
.footer-brand p { color: rgba(243,239,227,.7); font-size: 14px; margin-top: 10px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.footer-nav a { color: rgba(243,239,227,.75); font-size: 14.5px; }
.footer-nav a:hover { color: var(--on-accent); }
.footer-legal { padding-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.footer-legal p { color: rgba(243,239,227,.5); font-size: 12.5px; line-height: 1.7; }
.footer-legal strong { color: rgba(243,239,227,.72); }
.copyright { padding-top: 8px; }

/* ===================== REVEAL ANIM ===================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 940px) {
  .main-nav { display: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .step { grid-template-columns: 48px 1fr; }
  .step-visual { display: none; }
  .perk-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .hero { padding: 54px 0 40px; }
  .feature-grid { grid-template-columns: 1fr; }
  .btn-header { display: none; }
  .qualify-cta { padding: 24px; }
  .btn-cta { padding: 15px 24px; }
  .btn-cta .cta-main { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .pill-dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===================== ARTICLE / GUIDE PAGES ===================== */
.article-wrap { max-width: 800px; margin: 0 auto; }
.article-hero { padding: 56px 0 8px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--accent-2); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--muted-2); margin: 0 6px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.updated { background: var(--accent-soft); color: var(--accent); padding: 5px 12px; border-radius: 999px; font-weight: 600; font-size: 12.5px; }
.reading { font-size: 12.5px; color: var(--muted-2); }
.article-hero h1 { font-size: clamp(34px, 5.4vw, 56px); margin-bottom: 18px; }
.article-hero .lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); }
.article-hero .lead strong { color: var(--text); }

.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; margin: 36px 0 8px; }
.toc-title { font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.toc a { color: var(--text); font-size: 15px; }
.toc a:hover { color: var(--accent); text-decoration: underline; }

.prose { padding-bottom: 20px; }
.prose h2 { font-size: clamp(27px, 3.6vw, 38px); margin: 52px 0 16px; scroll-margin-top: 90px; }
.prose h3 { font-size: 22px; margin: 30px 0 10px; }
.prose p { color: var(--muted); font-size: 16.5px; margin-bottom: 18px; }
.prose p strong, .prose li strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { color: var(--muted); font-size: 16.5px; margin: 0 0 18px; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.prose a { color: var(--accent); font-weight: 600; }
.prose a:hover { text-decoration: underline; }

.callout { border-left: 3px solid var(--accent-2); background: var(--surface); padding: 16px 22px; border-radius: 0 12px 12px 0; margin: 24px 0; }
.callout p { margin: 0; font-size: 15.5px; }

.cmp-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; overflow: hidden; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.cmp-table th, .cmp-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--border); }
.cmp-table thead th { background: var(--surface); font-family: var(--font-head); font-weight: 700; color: var(--text); }
.cmp-table td { color: var(--muted); }
.cmp-table td:first-child { color: var(--text); font-weight: 600; }
.cmp-table tr:last-child td { border-bottom: none; }
.cmp-scroll { overflow-x: auto; }

.cta-inline {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(94,122,64,.14), rgba(30,59,37,.06));
  border: 1px solid var(--border-2); border-radius: var(--radius); padding: 26px 30px; margin: 40px 0;
}
.cta-inline h3 { font-size: 21px; margin-bottom: 4px; }
.cta-inline p { color: var(--muted); font-size: 14.5px; margin: 0; }

.related { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.related-card { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; transition: border-color .2s ease, box-shadow .2s ease; }
.related-card:hover { border-color: var(--border-2); box-shadow: 0 10px 26px rgba(30,59,37,.07); }
.related-card span { font-size: 12.5px; color: var(--accent-2); font-weight: 600; }
.related-card h3 { font-size: 18px; margin: 6px 0 4px; }
.related-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* Buttons & cards inside .prose must not inherit the green link color */
.prose a.btn { text-decoration: none; }
.prose a.btn-primary { color: var(--on-accent); }
.prose a.btn-ghost { color: var(--text); }
.prose a.related-card,
.prose a.related-card:hover { color: var(--text); text-decoration: none; }
.prose a.related-card h3 { color: var(--text); }

@media (max-width: 640px) {
  .related { grid-template-columns: 1fr; }
  .cta-inline { padding: 22px; }
}
