/* Conduit — token layer (shared across the core owner site + campaign pages).
   Tokens only: colour, type, buttons, cards, pills, bands, footer.
   Page-specific layout stays inline in each page. See docs/design-system.md.
   NOTE: lives in public/v2/ while v2 is the working root; moves to
   public/tokens.css when v2 is promoted to /. */

:root {
  /* Palette: Tailwind CSS — Slate (neutral) + Teal (accent). tailwindcss.com/docs/colors */
  --accent:      #0F766E; /* teal-700 */
  --accent-dark: #115E59; /* teal-800 */

  --paper:   #F8FAFC; /* slate-50  */
  --paper-2: #F1F5F9; /* slate-100 */
  --ink:     #0F172A; /* slate-900 */
  --slate:   #475569; /* slate-600 */
  --border:  #E2E8F0; /* slate-200 */
  --tan:     #94A3B8; /* slate-400 */
  --white:   #FFFFFF;

  /* legacy accent aliases — pages still reference var(--clay) / var(--ocean) */
  --clay:      var(--accent);
  --clay-dark: var(--accent-dark);
  --ocean:     var(--accent);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.tnum { font-feature-settings: "tnum"; }

/* ---- nav ---- */
nav {
  position: sticky; top: 0; z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.logo { font-weight: 700; font-size: 18px; letter-spacing: -.01em; text-decoration: none; }
.logo span { color: var(--clay); }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14.5px; }
.nav-links a { text-decoration: none; color: var(--slate); }
.nav-links a:hover { color: var(--ink); }

/* ---- buttons ---- */
.btn {
  display: inline-block; background: var(--clay); color: #fff !important;
  padding: 10px 18px; border-radius: 8px; text-decoration: none;
  font-size: 14.5px; font-weight: 600; transition: background .15s, transform .05s;
}
.btn:hover { background: var(--clay-dark); }
.btn:active { transform: scale(.98); }
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 10px; }
.btn-ghost {
  background: transparent; color: var(--ink) !important;
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--paper-2); }

/* ---- type helpers ---- */
.eyebrow, .kicker {
  font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase;
  font-weight: 600; color: var(--clay); margin-bottom: 16px;
}
h1 { font-size: clamp(32px, 4.6vw, 50px); line-height: 1.1; letter-spacing: -.02em; font-weight: 700; }
h2 { font-size: clamp(24px, 3.2vw, 34px); line-height: 1.15; letter-spacing: -.015em; font-weight: 700; }
h3 { font-size: 20px; letter-spacing: -.01em; font-weight: 700; }
.lede { font-size: 18.5px; color: var(--slate); max-width: 48ch; }
.sub  { font-size: 17px; color: var(--slate); max-width: 62ch; }
.price { color: var(--clay); font-weight: 600; font-feature-settings: "tnum"; }

section { padding: 84px 0; }

/* ---- cards ---- */
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  padding: 28px; transition: transform .12s, box-shadow .12s;
  text-decoration: none; color: inherit; display: block;
}
a.card:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(33,31,28,.06); }

/* ---- tool pills (illustrative system names) ---- */
.pill {
  font-size: 13.5px; padding: 7px 13px; border: 1px solid var(--border);
  background: var(--white); border-radius: 999px; color: var(--slate);
}

/* ---- dark band (the one deliberate rhythm break) ---- */
.band { background: var(--ink); color: var(--paper); }
.band h2 { color: var(--white); }
.band .sub { color: #94A3B8; }                 /* slate-400 on slate-900 */
.band .kicker { color: #94A3B8; }
.band .btn { background: var(--paper); color: var(--ink) !important; }  /* invert CTA on dark */
.band .btn:hover { background: var(--paper-2); }

/* ---- footer ---- */
footer { padding: 34px 0 48px; font-size: 13px; color: var(--slate); border-top: 1px solid var(--border); }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 860px) {
  section { padding: 60px 0; }
  .nav-links a:not(.btn) { display: none; }
}
