/* Serenity Research — Stablecoin Analytics landing page.
   Reuses the dashboard design language (tokens, fonts, accent) from
   templates/style.css so the public front door matches the product. */
:root {
  color-scheme: light;
  --bg: #fff;
  --paper: #f7f8fa;
  --ink: #2f343f;
  --text: #2f343f;
  --muted: #7d8490;
  --line: #e2e5ec;
  --line-strong: #c9ced8;
  --accent: #faaf3a;
  --good: #067647;
  --serif: "Noe Display", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 500 15px/1.6 AvenirNext, "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--serif); color: var(--ink); font-weight: 700; line-height: 1.08; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

/* ---------- Header ---------- */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 68px);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(226, 229, 236, .8);
}
.lp-logo img { width: 148px; height: 60px; object-fit: contain; object-position: left center; }
.lp-header-actions { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); }
.header-link {
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.header-link:hover { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn svg { flex: 0 0 auto; }
.btn-primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 10px 24px -12px rgba(250, 175, 58, .9);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(250, 175, 58, 1); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 10px 18px; font-size: 12px; }
.btn-lg { padding: 17px 30px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 0; }
.hero-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); margin-top: 16px; }
.hero-lead { margin: 22px auto 0; max-width: 600px; color: #4a515d; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.66; }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-cta .btn { min-width: 248px; justify-content: center; }
.hero-note {
  display: inline-block;
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  border-bottom: 1px dashed var(--line-strong);
  padding-bottom: 2px;
}
.hero-note:hover { color: var(--accent); border-color: var(--accent); }
.visual-band {
  margin-top: clamp(44px, 6vw, 76px);
  width: 100%;
  aspect-ratio: 1714 / 612;   /* natural ratio of the banner → shows the full image, no crop */
  max-height: 520px;
  background: center/cover no-repeat url("assets/serenity/bg-img-01-2x-1903x533.png");
}

/* Anchor offset so the sticky header doesn't cover jumped-to sections */
#access, #contact, #included { scroll-margin-top: 90px; }

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); margin-top: 12px; }
.section-head p { margin-top: 16px; color: #4a515d; font-size: 16px; line-height: 1.65; }

/* ---------- Feature rows ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.feature + .feature { margin-top: clamp(48px, 7vw, 88px); }
.feature.reverse .feature-media { order: 2; }
.feature-eyebrow { color: var(--accent); }
.feature h3 { font-size: clamp(24px, 3vw, 34px); margin-top: 10px; }
.feature-desc { margin-top: 16px; color: #4a515d; font-size: 16px; line-height: 1.66; }
.feature-list { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.feature-list li { position: relative; padding-left: 28px; color: #3c434e; line-height: 1.55; }
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 12px;
  border: 2px solid var(--accent);
  border-radius: 3px;
}
.feature-list li strong { color: var(--ink); }
.feature-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Browser-window screenshot frame */
.shot {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 26px 54px -28px rgba(47, 52, 63, .38);
}
.shot-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: #f1f3f6;
  border-bottom: 1px solid var(--line);
}
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d4d8e0; display: block; }
.shot-bar .url {
  margin-left: 12px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: .02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shot img { width: 100%; display: block; }
.shot-tall img { max-height: 460px; object-fit: cover; object-position: top center; }

/* ---------- Access / how-to ---------- */
.access-card {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 30px 60px -34px rgba(47, 52, 63, .35);
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 30px 0; }
.step { position: relative; padding-top: 6px; }
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: var(--ink);
  font-weight: 800; font-size: 15px; margin-bottom: 14px;
}
.step h4 { margin: 0 0 6px; font-family: var(--serif); font-size: 19px; color: var(--ink); }
.step p { color: #4a515d; font-size: 14px; line-height: 1.55; }
.access-note {
  margin-top: 4px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--paper);
  color: #3c434e;
  font-size: 14px;
  line-height: 1.6;
  border-radius: 4px;
}
.access-cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Footer (mirrors dashboard footer) ---------- */
.site-footer { margin-top: 0; padding: 46px 0 54px; border-top: 1px solid var(--line); background: var(--paper); }
.footer-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: 40px; align-items: start; }
.footer-label { display: block; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-link { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 600; width: fit-content; }
.footer-link svg { flex: 0 0 auto; color: var(--muted); transition: color .2s ease; }
.footer-link:hover { color: var(--accent); }
.footer-link:hover svg { color: var(--accent); }
.footer-copy { color: var(--ink); font-weight: 800; letter-spacing: .04em; margin: 0 0 12px; }
.footer-disclaimer { color: var(--muted); font-size: 11px; line-height: 1.65; margin: 0; max-width: 760px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 26px; }
  .feature.reverse .feature-media { order: 0; }
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 620px) {
  .lp-header { padding: 12px 16px; }
  .header-link { display: none; }
  .hero h1 { font-size: 34px; }
  .btn { padding: 13px 20px; }
}
