/* Supamodel marketing site
   Built from the Claude Design handoff (Supamodel Landing v2) and the
   Supamodel design system tokens, including the Landing v2 update spec.
   Inconsolata (mono) is loaded from Google Fonts via <link> in each page. */

/* ── Tokens ─────────────────────────────────────────────────────────── */
:root {
  /* Neutral ramp */
  --ink-950: #0a0a0a;
  --ink-900: #141414;
  --ink-800: #2a2a2a;
  --ink-500: #525252;
  --ink-400: #737373;
  --ink-300: #c4c4c4;
  --ink-200: #d4d4d4;
  --ink-100: #f0f0f0;
  --ink-50: #fafafa;
  --white: #ffffff;

  /* Neon accents (glyphs, marks, fills) */
  --neon-green: #23e499;
  --neon-blue: #00d4ff;
  --neon-pink: #ff0099;
  --neon-yellow: #ccff00;

  /* Readable accent text on light grounds */
  --accent-text-blue: #00a8cc;
  --accent-text-pink: #d6007f;

  /* Semantic */
  --text-primary: #0a0a0a;
  --text-secondary: #525252;
  --text-tertiary: #737373;
  --text-on-dark: #f0f0f0;
  --text-on-dark-2: #c4c4c4;
  --surface-page: #fafafa;
  --surface-raised: #f0f0f0;
  --surface-dark: #141414;
  --surface-veil: rgba(250, 250, 250, 0.85);
  --glass-on-dark: rgba(255, 255, 255, 0.03);
  --border-default: #d4d4d4;
  --border-strong: #0a0a0a;
  --border-on-dark: #2a2a2a;

  --gradient-hero: linear-gradient(90deg, #23e499, #00d4ff);
  --gradient-cta: linear-gradient(90deg, #ff0099, #ccff00);

  /* Type */
  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "Inconsolata", "SF Mono", ui-monospace, Menlo, monospace;

  /* Layout */
  --container-max: 1200px;
  --container-narrow-max: 800px;
  --container-gutter: 24px;
  --nav-height: 56px;
  --section-py: 110px;
  --border-accent-width: 3px;

  --duration-fast: 0.15s;
  --duration-base: 0.2s;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--text-primary); text-decoration: none; }
a:hover { color: var(--text-primary); background: var(--neon-green); }

h1, h2, h3, p, ul { margin: 0; }

.page { max-width: 100%; overflow-x: hidden; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 9px 18px;
  background: var(--ink-950);
  color: var(--neon-green);
}
.skip-link:focus { left: 8px; top: 8px; }

:focus-visible { outline: 2px solid var(--neon-green); outline-offset: 2px; }

/* ── Wordmark ───────────────────────────────────────────────────────── */
.wordmark {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.1;
  color: var(--text-primary);
}
.wordmark__dot { color: var(--neon-green); }
.wordmark--nav { font-size: 22px; }
.wordmark--footer { font-size: 18px; }

/* ── Gradient text ──────────────────────────────────────────────────── */
.gradient-text {
  font-style: normal;
  background-image: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gradient-text--cta { background-image: var(--gradient-cta); }

/* ── Eyebrow / mono labels ──────────────────────────────────────────── */
.eyebrow,
.label {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.eyebrow { display: inline-block; margin-bottom: 24px; }
.eyebrow--green,
.label--green { color: var(--neon-green); }
.eyebrow--green .eyebrow__slash { color: var(--neon-green); }
.eyebrow--blue,
.label--blue { color: var(--accent-text-blue); }
.eyebrow--blue .eyebrow__slash { color: var(--neon-blue); }
.eyebrow--pink,
.label--pink { color: var(--accent-text-pink); }
.eyebrow--pink .eyebrow__slash { color: var(--neon-pink); }
.label--muted { color: var(--text-secondary); }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  padding: 0;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background var(--duration-fast) ease, color var(--duration-fast) ease;
}
.btn--sm { font-size: 14px; }
.btn--green { background: var(--neon-green); color: var(--ink-950); }
.btn--green:hover { background: var(--ink-950); color: var(--neon-green); }

/* ── Nav ────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-height);
  background: var(--surface-veil);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px dotted var(--border-default);
}
.nav__inner {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand { display: inline-flex; }
.nav__links { display: flex; align-items: center; gap: 36px; }
.nav-link {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--text-primary);
  transition: background var(--duration-fast) ease;
}
.nav-link--green:hover { background: var(--neon-green); }
.nav-link--blue:hover { background: var(--neon-blue); }
.nav-link--pink:hover { background: var(--neon-pink); }

/* ── Sections & shared type ─────────────────────────────────────────── */
.section { padding: var(--section-py) 0; }
.section--raised { background: var(--surface-raised); }
.band-dark { background: var(--surface-dark); color: var(--text-on-dark); }

.h-section {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.02;
  text-wrap: balance;
}
.desc {
  font-size: 22px;
  letter-spacing: -0.022em;
  line-height: 1.4;
  color: var(--text-secondary);
  text-wrap: pretty;
}
.band-dark .desc { color: var(--text-on-dark-2); }

.statement {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.18;
  text-wrap: balance;
}
.body {
  font-size: 16px;
  letter-spacing: -0.012em;
  line-height: 1.55;
  color: var(--text-secondary);
  text-wrap: pretty;
}
.band-dark .body { color: var(--text-on-dark-2); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero { padding: 216px 0 120px; }
.hero__title {
  font-size: clamp(60px, 10.5vw, 144px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.94;
  max-width: 1152px;
  text-wrap: balance;
}

/* ── Proof bar ──────────────────────────────────────────────────────── */
.proof { padding: 0 0 110px; }
.proof__rule {
  border-top: 1px solid var(--border-strong);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

/* ── Platform ───────────────────────────────────────────────────────── */
.platform__title { margin-bottom: 56px; max-width: 1000px; }
.platform__grid { gap: 0 56px; }
.platform__item {
  border-left: var(--border-accent-width) solid var(--border-on-dark);
  padding: 4px 0 4px 24px;
  margin-bottom: 40px;
}
.platform__item .statement { margin-bottom: 12px; text-wrap: wrap; }
.platform__item .body { max-width: 520px; }

/* ── Your data + your AI ────────────────────────────────────────────── */
.ai { padding: 0 0 var(--section-py); }
.ai__intro { border-top: 1px dotted var(--border-on-dark); padding-top: 72px; }
.ai__title { margin-bottom: 24px; max-width: 960px; }
.ai__desc { max-width: 760px; margin-bottom: 56px; }

.ai-feature {
  border-left: var(--border-accent-width) solid var(--neon-green);
  background: var(--glass-on-dark);
  padding: 48px;
  margin-bottom: 8px;
}
.ai-feature .label { margin-bottom: 18px; }
.ai-feature__quote {
  font-size: clamp(28px, 2.4vw, 36px);
  font-weight: 500;
  letter-spacing: -0.024em;
  line-height: 1.08;
  margin-bottom: 18px;
  color: var(--text-on-dark);
  text-wrap: balance;
}
.ai-feature .body { font-size: 18px; max-width: 620px; }

.ai__grid { gap: 8px; }
.ai-card {
  border-left: var(--border-accent-width) solid var(--border-on-dark);
  background: var(--glass-on-dark);
  padding: 32px;
}
.ai-card .label { margin-bottom: 14px; }
.ai-card .statement { margin-bottom: 14px; text-wrap: wrap; }

/* ── How it works ───────────────────────────────────────────────────── */
.how__desc { margin: 20px 0 56px; max-width: 620px; }
.how__grid { gap: 48px; }
.step {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--text-primary);
  padding-top: 28px;
}
.step__label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}
.step__title {
  font-size: clamp(28px, 2.4vw, 36px);
  font-weight: 500;
  letter-spacing: -0.024em;
  line-height: 1.08;
  margin-bottom: 16px;
}
.step__body { font-size: 18px; line-height: 1.5; color: var(--text-secondary); }

/* ── Ownership ──────────────────────────────────────────────────────── */
.own__desc { margin: 20px 0 56px; max-width: 720px; }
.own__grid { gap: 32px; }
.own__item {
  border-left: var(--border-accent-width) solid var(--border-strong);
  padding: 4px 0 4px 24px;
}
/* Titles share two lines so the body copy lines up across columns. */
.own__item .statement { margin-bottom: 14px; min-height: 2.36em; }

/* ── Solutions ──────────────────────────────────────────────────────── */
.solutions__title { margin-bottom: 56px; max-width: 1040px; }
.solutions__list { display: flex; flex-direction: column; }
.solution {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  border-left: var(--border-accent-width) solid transparent;
  border-top: 1px dotted var(--border-default);
  padding: 28px 24px;
}
.solution:first-child { border-top: 1px solid var(--border-strong); }
.solution:last-child { border-bottom: 1px dotted var(--border-default); }
.solution .statement { margin-bottom: 12px; }
.solution .body { max-width: 720px; }

/* ── Trust ──────────────────────────────────────────────────────────── */
.trust__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}
.trust__desc { margin-top: 20px; }

.plus-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  font-size: 18px;
  color: var(--text-secondary);
}
.plus-list li {
  position: relative;
  padding: 20px 0 20px 32px;
  line-height: 1.4;
  border-top: 1px dotted var(--border-default);
  text-wrap: pretty;
}
.plus-list li:last-child { border-bottom: 1px dotted var(--border-default); }
.plus-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 17px;
  color: var(--neon-green);
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}
.plus-list strong { color: var(--text-primary); font-weight: 600; }

/* ── Closing CTA ────────────────────────────────────────────────────── */
.cta { padding: 140px 0; }
.cta__inner { max-width: 1000px; margin: 0 auto; padding: 0 var(--container-gutter); text-align: center; }
.cta__title {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin-bottom: 28px;
  text-wrap: balance;
}
.cta__desc { margin: 0 auto 40px; max-width: 640px; }
.cta__actions { display: flex; justify-content: center; margin-bottom: 28px; }

/* ── Footer ─────────────────────────────────────────────────────────── */
.footer { border-top: 1px dotted var(--border-default); padding: 32px 0 48px; }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}
.footer__brand { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.footer__tagline { font-size: 15px; letter-spacing: -0.012em; color: var(--text-secondary); }
.footer__links { display: flex; gap: 24px; align-items: center; }
.footer__link {
  font-size: 14px;
  letter-spacing: -0.012em;
  color: var(--text-secondary);
  padding: 0;
  transition: background var(--duration-fast) ease;
}
.footer__link--yellow:hover { background: var(--neon-yellow); }
.footer__link--green:hover { background: var(--neon-green); }
.footer__copy { font-size: 14px; letter-spacing: -0.012em; color: var(--text-tertiary); }

/* ── Legal pages ────────────────────────────────────────────────────── */
.legal-hero { padding: 160px 0 56px; }
.legal-hero__title {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin-bottom: 28px;
}
.legal-hero__meta { border-top: 1px solid var(--border-strong); padding-top: 22px; }

.legal { padding: 0 0 var(--section-py); }
.legal__layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.legal__toc {
  position: sticky;
  top: calc(var(--nav-height) + 32px);
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.legal__toc a {
  display: block;
  font-size: 14px;
  letter-spacing: -0.012em;
  color: var(--text-secondary);
  padding: 6px 10px;
  border-left: var(--border-accent-width) solid var(--border-default);
  transition: background var(--duration-fast) ease, color var(--duration-fast) ease;
}
.legal__toc a:hover { color: var(--text-primary); }

.prose { max-width: var(--container-narrow-max); }
.prose section { border-top: 1px dotted var(--border-default); padding: 40px 0; }
.prose section:first-child { border-top: none; padding-top: 0; }
.prose h2 {
  font-size: clamp(28px, 2.4vw, 36px);
  font-weight: 500;
  letter-spacing: -0.024em;
  line-height: 1.08;
  margin-bottom: 20px;
}
.prose h2 .label { display: block; margin-bottom: 12px; }
.prose h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.3;
  margin: 28px 0 10px;
}
.prose p,
.prose li {
  font-size: 17px;
  letter-spacing: -0.012em;
  line-height: 1.6;
  color: var(--text-secondary);
  text-wrap: pretty;
}
.prose p + p { margin-top: 14px; }
.prose strong { color: var(--text-primary); font-weight: 600; }
.prose ul { padding-left: 0; list-style: none; margin: 14px 0; }
.prose ul li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.prose ul li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--neon-green);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}
.prose a:not(.btn) {
  color: var(--text-primary);
  box-shadow: inset 0 -1px 0 var(--neon-green);
  transition: background var(--duration-fast) ease;
}
.prose dl { margin: 14px 0; display: grid; grid-template-columns: 200px minmax(0, 1fr); border-top: 1px dotted var(--border-default); }
.prose dt,
.prose dd {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px dotted var(--border-default);
  font-size: 16px;
  line-height: 1.5;
}
.prose dt { font-weight: 600; color: var(--text-primary); padding-right: 16px; }
.prose dd { color: var(--text-secondary); }

.table-wrap { overflow-x: auto; margin: 18px 0; }
.prose table { width: 100%; border-collapse: collapse; min-width: 560px; }
.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 12px 16px 12px 0;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -0.012em;
  border-bottom: 1px dotted var(--border-default);
}
.prose th {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-strong);
}
.prose td { color: var(--text-secondary); }
.prose td:first-child { color: var(--text-primary); font-weight: 500; }


/* ── Scroll reveal ──────────────────────────────────────────────────── */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .trust__grid,
  .solution,
  .legal__layout { grid-template-columns: 1fr; }

  .nav__links { display: none; }

  .own__item .statement { min-height: 0; }
  .solution { gap: 12px; }
  .legal__toc { position: static; }
  .prose dl { grid-template-columns: 1fr; }
  .prose dt { padding-bottom: 0; border-bottom: none; }
}

@media (max-width: 600px) {
  .ai-feature { padding: 32px 24px; }
  .ai-card { padding: 28px 24px; }
}
