/* Fohun — built on the Auros system.
   Abyssal teal terminal. Elevation comes from the surface stack, never shadow.
   Two weights only (400/500). Aurora gradient is reserved for primary CTAs. */

:root {
  /* Surfaces — the whole background vocabulary. Nothing gray, black or blue. */
  --liquid-deep:   #011d1c;  /* recessed: footer, deeper panels */
  --liquid-abyss:  #012624;  /* canvas */
  --liquid-kelp:   #003734;  /* raised: cards, panels */
  --slate-deep:    #707777;

  /* Text */
  --platinum:      #ffffff;  /* headings and nav only */
  --liquid-mist:   #edfffe;  /* emphasised body */
  --silver-mist:   #bbc7c6;  /* body, links at rest */
  --ash:           #f2f2f2;  /* pull quotes */

  /* Accent — large figures only, never body text or controls */
  --lavender-phosphor: #fde9ff;

  --bioluminescent: linear-gradient(90deg, rgb(0,130,124) 0%, rgb(203,255,252) 100%);
  --aurora: linear-gradient(90deg, rgb(203,255,252) 0%, rgb(237,255,254) 26.25%,
                            rgb(255,253,250) 47.57%, rgb(250,209,255) 88.96%);

  /* Matter is the licensed face; these are the documented geometric-grotesk stand-ins. */
  --font: Inter, "DM Sans", Satoshi, system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --font-ui: system-ui, -apple-system, Arial, sans-serif;

  --radius-card: 16px;
  --radius-small: 6px;
  --max: 1440px;
  --section-gap: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--liquid-abyss);
  color: var(--silver-mist);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 720px) { .wrap { padding: 0 24px; } }

/* Headings: weight 500 only, line-height 1 above 36px, negative tracking at scale. */
h1, h2, h3 { color: var(--platinum); font-weight: 500; margin: 0; }
h1 { font-size: clamp(44px, 7vw, 96px); line-height: 1; letter-spacing: -0.04em; }
h2 { font-size: clamp(30px, 4vw, 61px); line-height: 1; letter-spacing: -0.04em; }
h3 { font-size: 24px; line-height: 1.3; letter-spacing: -0.02em; }

p { margin: 0 0 20px; max-width: 62ch; }
a { color: var(--silver-mist); text-decoration: none; }
a:hover { color: var(--liquid-mist); }

/* Uppercase tracked labels — 0.15em at 10px, 0.12em at 12px, 0.08em at 20px. */
.label {
  font-size: 12px; line-height: 1.4; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--silver-mist);
  font-weight: 500; display: block; margin-bottom: 20px;
}
.caption { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--slate-deep); }
.lede { font-size: 20px; line-height: 1.4; color: var(--liquid-mist); max-width: 60ch; }
.muted { color: var(--silver-mist); font-size: 14px; }

/* Header */
header.site { border-bottom: 1px solid rgba(255,255,255,0.07); background: var(--liquid-abyss); }
header.site .inner {
  max-width: 1180px; margin: 0 auto; padding: 24px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
@media (max-width: 720px) { header.site .inner { padding: 20px 24px; } }
.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--platinum); font-size: 20px; font-weight: 500; letter-spacing: -0.02em;
}
.brand svg { width: 22px; height: 22px; color: var(--liquid-mist); }
nav.site { display: flex; gap: 28px; font-family: var(--font-ui); font-size: 14px; line-height: 1.43; }

/* Buttons. Aurora gradient on the primary CTA only; dark text on it. */
.btn {
  display: inline-block; font-family: var(--font-ui); font-size: 14px; line-height: 1.43;
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500;
  padding: 16px 22px; border-radius: var(--radius-small); border: 1px solid transparent;
  cursor: pointer; background: var(--aurora); color: #222222;
}
.btn:hover { color: #222222; filter: saturate(1.15); }
.btn.secondary { background: var(--liquid-kelp); color: var(--liquid-mist); }
.btn.secondary:hover { background: #004a46; color: var(--platinum); }
.btn.quiet { background: transparent; border-color: rgba(255,255,255,0.16); color: var(--liquid-mist); }

/* Sections */
section { padding: var(--section-gap) 0; }
section + section { border-top: 1px solid rgba(255,255,255,0.07); }
.hero { padding: 140px 0 120px; }
.hero p.lede { margin-top: 24px; }
.actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-top: 40px; }

/* Keycaps */
.keys { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 32px; align-items: center; }
kbd {
  font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--liquid-kelp); color: var(--liquid-mist);
  border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-small);
  padding: 10px 14px;
}

/* Cards — surface lift, never shadow. */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 40px; }
.card {
  background: var(--liquid-kelp); border-radius: var(--radius-card);
  padding: 36px; border: 1px solid rgba(255,255,255,0.05);
}
.card h3 { margin-bottom: 12px; }
.card p { font-size: 16px; margin: 0; color: var(--silver-mist); }

/* Large figures — the one place lavender phosphor appears. */
.stat { font-size: 61px; line-height: 1; letter-spacing: -0.04em; color: var(--lavender-phosphor); font-weight: 500; }

/* Pricing */
.tiers { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 40px; }
.tier { background: var(--liquid-kelp); border-radius: var(--radius-card); padding: 40px; border: 1px solid rgba(255,255,255,0.05); }
.tier.lead { border-color: rgba(203,255,252,0.28); }
.tier .amount { font-size: 61px; line-height: 1; letter-spacing: -0.04em; color: var(--platinum); font-weight: 500; }
.tier .per { font-size: 14px; color: var(--silver-mist); margin-top: 12px; }
.tier ul { list-style: none; padding: 0; margin: 28px 0 0; }
.tier li { padding: 8px 0 8px 24px; position: relative; font-size: 16px; color: var(--silver-mist); }
.tier li::before {
  content: ""; position: absolute; left: 0; top: 15px;
  width: 10px; height: 1px; background: var(--bioluminescent);
}
.tier .btn { margin-top: 32px; }

/* Notes */
.note {
  background: var(--liquid-deep); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-card); padding: 36px; margin-top: 40px;
}
.note p { margin: 0; color: var(--silver-mist); }
.note strong { color: var(--liquid-mist); font-weight: 500; }

/* Forms */
.field { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0 20px; }
input[type="text"], input[type="email"] {
  flex: 1 1 280px; padding: 16px 18px; font-size: 16px; font-family: var(--font);
  background: var(--liquid-deep); color: var(--liquid-mist);
  border: 1px solid rgba(255,255,255,0.10); border-radius: var(--radius-small);
}
input::placeholder { color: var(--slate-deep); }
input:focus { outline: 1px solid rgb(203,255,252); outline-offset: 0; border-color: transparent; }

.keybox {
  font-family: ui-monospace, "SF Mono", monospace; font-size: 24px; letter-spacing: 0.12em;
  color: var(--liquid-mist); background: var(--liquid-deep);
  border: 1px solid rgba(255,255,255,0.10); border-radius: var(--radius-card);
  padding: 32px 36px; margin: 32px 0; word-break: break-all;
}
.status { font-size: 16px; margin-top: 20px; color: var(--silver-mist); }
.status.good { color: rgb(203,255,252); }
.status.bad { color: var(--lavender-phosphor); }

/* Footer */
footer.site { background: var(--liquid-deep); border-top: 1px solid rgba(255,255,255,0.06); margin-top: 80px; }
footer.site .inner {
  max-width: 1180px; margin: 0 auto; padding: 48px 40px;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: 14px; font-family: var(--font-ui); color: var(--slate-deep);
}
@media (max-width: 720px) { footer.site .inner { padding: 40px 24px; } }

/* Legal */
.legal h2 { font-size: 24px; line-height: 1.3; letter-spacing: -0.02em; margin: 48px 0 16px; }
.legal p, .legal li { color: var(--silver-mist); }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 12px; }
