/* ============================================================
   Clearpath — plain CSS copy of the site's styles.
   No build step, no Tailwind: edit this file directly.
   All colours come from the variables in :root below.
   ============================================================ */

:root {
  --font-display: "Sora", sans-serif;
  --font-sans: "Manrope", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --background: oklch(0.155 0.004 165);
  --foreground: oklch(0.97 0.006 155);
  --card: oklch(0.205 0.005 165);
  --primary: oklch(0.88 0.145 158);
  --primary-foreground: oklch(0.19 0.025 160);
  --secondary: oklch(0.25 0.006 165);
  --muted-foreground: oklch(0.69 0.008 160);
  --border: oklch(0.98 0 0 / 12%);
  --destructive: oklch(0.74 0.17 25);

  --paper: oklch(0.972 0.004 150);
  --paper-ink: oklch(0.24 0.012 165);
  --paper-muted: oklch(0.52 0.01 165);
  --paper-border: oklch(0.86 0.012 160);
  --paper-card: oklch(0.995 0.002 150);

  --mint-wash: oklch(0.92 0.045 158);
  --safety-wash: oklch(0.94 0.04 85);
  --safety-ink: oklch(0.48 0.075 75);

  --shadow-card: 0 14px 34px oklch(0.2 0.02 160 / 7%);
  --shadow-button: 0 5px 24px oklch(0.88 0.145 158 / 12%);
}

/* --- reset (replaces Tailwind's preflight) --- */
* { border-color: var(--border); box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: var(--font-sans); }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: 0; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; }
a, button { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--primary); color: var(--primary-foreground); }
img { display: block; max-width: 100%; }

/* --- small utilities --- */
.overflow-x-hidden { overflow-x: hidden; }
.text-primary { color: var(--primary); }
.text-muted-foreground { color: var(--muted-foreground); }
.text-destructive { color: var(--destructive); }
.uppercase { text-transform: uppercase; }
.wide-only { display: none; }
@media (min-width: 1024px) { .wide-only { display: inline; } }

/* --- buttons (replaces the shared Button component) --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  white-space: nowrap; border-radius: 6px; font-size: 14px; font-weight: 500;
  height: 36px; padding: 0 16px; line-height: 1; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 16px; height: 16px; pointer-events: none; flex-shrink: 0; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 1px var(--primary); }
.btn-primary { background: var(--primary); color: var(--primary-foreground); box-shadow: 0 1px 2px oklch(0 0 0 / 5%); }
.btn-primary:hover { background: color-mix(in oklab, var(--primary) 90%, transparent); }
.btn-outline { border: 1px solid var(--border); background: transparent; color: var(--foreground); box-shadow: 0 1px 2px oklch(0 0 0 / 5%); }
.btn-outline:hover { background: var(--secondary); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--secondary); }
.btn-icon { width: 36px; height: 36px; padding: 0; }

/* --- market ticker --- */
.market-bar { height: 39px; display: flex; align-items: center; border-bottom: 1px solid var(--border); font-family: var(--font-mono); font-size: 10px; }
.market-label { padding: 0 25px; display: flex; gap: 9px; align-items: center; border-right: 1px solid var(--border); height: 100%; color: var(--muted-foreground); flex-shrink: 0; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
.market-window { overflow: hidden; flex: 1; }
.market-track { display: flex; width: max-content; gap: 44px; animation: marquee 55s linear infinite; padding-left: 28px; }
.market-coin { display: flex; gap: 11px; white-space: nowrap; }
.market-idle { display: flex; gap: 28px; white-space: nowrap; color: var(--muted-foreground); padding-left: 30px; }
.market-idle span { color: var(--primary); }
.market-source { display: flex; align-items: center; gap: 9px; padding: 0 24px; height: 100%; border-left: 1px solid var(--border); }

/* --- header --- */
.site-header { height: 100px; max-width: 1280px; padding: 0 48px; margin: auto; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 10; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 600; font-size: 24px; }
.brand > .text-primary { margin-left: -8px; }
.brand-mark { color: var(--primary); display: flex; margin-right: 3px; }
.desktop-nav { display: flex; gap: 34px; font-size: 12px; color: var(--muted-foreground); }
.desktop-nav a { display: flex; gap: 6px; align-items: center; transition: color .2s; }
.desktop-nav a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-cta { height: 40px; border-radius: 6px; background: transparent; font-size: 12px; padding: 0 19px; }
.menu-toggle { display: inline-flex; }
@media (min-width: 768px) { .menu-toggle { display: none; } }

/* --- hero --- */
.hero { position: relative; overflow: hidden; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; animation: artwork-enter 1.3s ease-out both; }
.hero-inner { position: relative; max-width: 1280px; margin: auto; padding: 65px 48px 85px; min-height: 665px; }
.hero-content { position: relative; width: 54%; animation: content-enter .8s ease-out both; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 9px; color: var(--muted-foreground); }
.hero h1 { font-size: 76px; line-height: 1.15; font-weight: 600; margin-top: 27px; }
.hero-headline { font-size: 33px; line-height: 1.4; margin-top: 19px; font-weight: 500; }
.hero-headline span { color: var(--primary); }
.hero-description { font-size: 14px; line-height: 1.9; color: var(--muted-foreground); margin-top: 22px; max-width: 440px; }
.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 29px; }
.primary-cta { height: 48px; padding: 0 23px; border-radius: 5px; gap: 28px; box-shadow: var(--shadow-button); transition: transform .2s, background .2s; }
.primary-cta:hover { transform: translateY(-3px); }
.secondary-cta { height: 48px; font-size: 12px; gap: 13px; padding: 0 12px; border-radius: 5px; box-shadow: var(--shadow-button); transition: transform .2s, background .2s; }
.secondary-cta:hover { transform: translateY(-3px); }
.art-caption { position: absolute; bottom: 126px; right: 93px; display: flex; align-items: center; gap: 11px; font-size: 11px; }
.caption-icon { width: 31px; height: 31px; border: 1px solid var(--primary); border-radius: 50%; display: grid; place-items: center; color: var(--primary); }
.art-caption strong { display: block; font-weight: 500; }
.art-caption div > span { display: block; color: var(--muted-foreground); font-size: 9px; margin-top: 3px; }
.scroll-cue { position: absolute; bottom: 28px; left: 48px; display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 8px; color: var(--muted-foreground); }
.scroll-cue svg { animation: nudge 2.5s ease-in-out infinite; }

/* --- trust strip --- */
.trust-strip { display: flex; align-items: center; justify-content: center; gap: 76px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 26px 24px; }
.trust-strip span { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 9px; color: var(--muted-foreground); }
.trust-strip svg { width: 17px; height: 17px; color: var(--primary); }

/* --- sections --- */
.section-inner { max-width: 1280px; margin: auto; padding: 0 48px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-kicker { display: flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 9px; }
.section-kicker > span { width: 17px; height: 1px; background: currentColor; }
.section-heading h2 { font-size: 39px; line-height: 1.25; font-weight: 500; margin-top: 17px; }
.section-heading > p { font-size: 13px; line-height: 1.9; color: var(--paper-muted); }

/* --- issues --- */
.issues-section { background: var(--paper); color: var(--paper-ink); padding: 85px 0 37px; }
.issues-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-top: 38px; }
.issue-card { background: var(--paper-card); border: 1px solid var(--paper-border); border-radius: 7px; padding: 23px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.issue-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: var(--paper-muted); }
.issue-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 27px; }
.issue-icon { width: 46px; height: 46px; border-radius: 7px; display: grid; place-items: center; background: var(--mint-wash); }
.issue-icon-safety { background: var(--safety-wash); color: var(--safety-ink); }
.issue-number { font-family: var(--font-mono); color: var(--paper-muted); font-size: 9px; }
.issue-category { font-family: var(--font-mono); font-size: 8px; color: var(--paper-muted); }
.issue-card h3 { font-size: 16px; font-weight: 500; margin-top: 9px; }
.issue-card p { font-size: 11px; line-height: 1.85; color: var(--paper-muted); margin-top: 10px; }
.issues-note { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 10px; color: var(--paper-muted); margin-top: 29px; }

/* --- process --- */
.process-section { padding: 90px 0; }
.process-section .section-kicker { color: var(--primary); }
.process-section .section-heading > p { color: var(--muted-foreground); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 49px; }
.step { padding: 0 35px; border-left: 1px solid var(--border); }
.step:first-child { border-left: 0; padding-left: 0; }
.step:last-child { padding-right: 0; }
.step-top { display: flex; justify-content: space-between; align-items: center; color: var(--primary); margin-bottom: 32px; }
.step-top > span { font-family: var(--font-mono); font-size: 13px; }
.step h3 { font-weight: 500; font-size: 19px; }
.step p { font-size: 12px; color: var(--muted-foreground); line-height: 1.9; max-width: 290px; margin-top: 13px; }

/* --- promise + footer --- */
.promise-line { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 18px 24px; border-top: 1px solid var(--border); font-size: 11px; color: var(--muted-foreground); }
.promise-line svg { color: var(--primary); flex-shrink: 0; }
.site-footer { padding: 43px 0 24px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 30px; }
.footer-top > span { color: var(--muted-foreground); font-size: 12px; }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 21px; font-size: 9px; color: var(--muted-foreground); }

/* --- mobile menu --- */
.mobile-nav { position: absolute; top: 76px; left: 20px; right: 20px; background: var(--card); border: 1px solid var(--border); padding: 15px 20px; border-radius: 7px; }
.mobile-nav a { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; font-size: 13px; }

/* --- animations --- */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes nudge { 50% { transform: translateY(4px); } }
@keyframes content-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes artwork-enter { from { opacity: 0; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }

/* --- responsive --- */
@media (min-width: 1600px) { .hero-art { object-fit: contain; } }

@media (max-width: 1024px) {
  .site-header, .section-inner { padding-left: 32px; padding-right: 32px; }
  .hero-inner { padding: 60px 32px 80px; min-height: 650px; }
  .hero h1 { font-size: 64px; }
  .hero-headline { font-size: 27px; }
  .hero-content { width: 58%; }
  .hero-art { object-position: 56% center; opacity: .8; }
  .hero-description { max-width: 360px; }
  .art-caption { right: 38px; bottom: 112px; }
  .trust-strip { gap: 36px; }
  .issues-grid { grid-template-columns: repeat(2, 1fr); }
  .issue-card { padding: 24px; }
  .issue-card p { font-size: 12px; }
}

@media (max-width: 767px) {
  .market-label { padding: 0 15px; font-size: 8px; }
  .market-source { display: none; }
  .market-bar { height: 33px; }
  .site-header { height: 80px; padding: 0 22px; }
  .brand { font-size: 21px; }
  .desktop-nav { display: none; }
  .header-cta { font-size: 10px; padding: 0 12px; height: 35px; }
  .header-cta svg { width: 13px; }
  .hero-inner { padding: 27px 24px 325px; min-height: 795px; }
  .hero-content { width: 100%; }
  .eyebrow { font-size: 8px; }
  .hero h1 { font-size: 58px; margin-top: 22px; }
  .hero-headline { font-size: 25px; margin-top: 14px; line-height: 1.4; }
  .hero-description { font-size: 13px; max-width: 350px; margin-top: 18px; }
  .hero-actions { gap: 8px; margin-top: 23px; }
  .primary-cta { padding: 0 18px; gap: 18px; font-size: 12px; height: 45px; }
  .secondary-cta { font-size: 10px; padding: 0 8px; gap: 8px; }
  .hero-art { inset: auto 0 36px; height: 335px; object-fit: cover; object-position: 89% center; opacity: 1; width: 100%; }
  .art-caption { right: 25px; bottom: 49px; font-size: 10px; }
  .scroll-cue { left: 24px; bottom: 13px; font-size: 7px; }
  .trust-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 23px 15px; padding: 23px 25px; }
  .trust-strip span { font-size: 8px; justify-content: center; gap: 7px; }
  .section-inner { padding: 0 24px; }
  .issues-section { padding: 54px 0 30px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .section-heading h2 { font-size: 30px; margin-top: 14px; }
  .section-heading > p { font-size: 12px; }
  .section-kicker { font-size: 8px; }
  .issues-grid { margin-top: 27px; gap: 11px; }
  .issue-card { padding: 17px 14px; }
  .issue-top { margin-bottom: 22px; }
  .issue-icon { width: 38px; height: 38px; }
  .issue-icon svg { width: 21px; }
  .issue-card h3 { font-size: 13px; line-height: 1.5; }
  .issue-card p { font-size: 10px; }
  .issue-category { font-size: 7px; }
  .issues-note { font-size: 9px; align-items: flex-start; line-height: 1.7; }
  .issues-note svg { flex-shrink: 0; margin-top: 2px; }
  .process-section { padding: 55px 0; }
  .steps-grid { grid-template-columns: 1fr; margin-top: 34px; gap: 30px; }
  .step, .step:first-child, .step:last-child { padding: 0 0 25px; border-left: 0; border-bottom: 1px solid var(--border); }
  .step:last-child { border-bottom: 0; padding-bottom: 0; }
  .step-top { margin-bottom: 17px; }
  .step h3 { font-size: 19px; }
  .step p { max-width: none; font-size: 12px; }
  .site-footer { padding-top: 28px; }
  .footer-top { flex-wrap: wrap; row-gap: 17px; }
  .footer-top > span { order: 3; width: 100%; font-size: 11px; }
  .footer-bottom { flex-direction: column; gap: 9px; font-size: 8px; }
}

@media (max-width: 767px) {
  .hero-inner { min-height: 685px; padding-bottom: 230px; }
  .hero-art { height: 255px; bottom: 31px; }
  .art-caption { bottom: 41px; }
}

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