/* Zen Monkey brand tokens (J:\ZenMonkey\BRAND.md, v1 30 Oct 2026).
   Palette is amber + blue + light/dark only (Jay is red-green colour blind). */
:root {
  --night: #16131A;  /* background */
  --ink:   #221D24;  /* panels, cards */
  --line:  #3A3240;  /* hairlines, dial ticks at rest */
  --cream: #F1E4CC;  /* main text */
  --sand:  #B8A68A;  /* secondary text, mono labels */
  --amber: #E7A548;  /* the dial glow: logo, needle, one accent per frame */
  --dusk:  #7C9CC0;  /* second accent */

  --bg: var(--night);
  --fg: var(--cream);
  --muted: var(--sand);
  --panel: var(--ink);
  --hair: var(--line);
  --accent: var(--amber);
  --accent-2: var(--dusk);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Fraunces", Georgia, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;

  --radius: 14px;
  --gutter: 20px;
  --measure: 42rem;
}

/* Fraunces: instanced from the variable font (SOFT=100, WONK=0 pinned; wght + opsz still variable) and
   subset to Latin + punctuation with fontTools (scratch script, 21 Nov 2026). Originals: J:/ZenMonkey/_kit/assets/fonts. */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/fraunces-zm-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Base faces carry an explicit Latin range so the rupee-only faces below win for U+20B9 (loaded only on pages with a price). */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/fraunces-zm-rupee.woff2) format("woff2");
  unicode-range: U+20B9;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-zm-rupee-400.woff2) format("woff2");
  unicode-range: U+20B9;
}

/* Zen Monkey hub styles. Mobile first, no JavaScript, no inline styles (CSP: style-src 'self'). */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-optical-sizing: auto;
  background:
    radial-gradient(70% 42% at 12% -6%, rgba(231, 165, 72, 0.14), transparent 70%),
    var(--night);
}
main { flex: 1; }
img, svg { display: block; max-width: 100%; }
a { color: var(--amber); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--cream); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 520;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 7vw, 4.25rem); }
h2 { font-size: clamp(1.65rem, 4.2vw, 2.5rem); }
h3 { font-size: 1.35rem; line-height: 1.2; }
p { margin: 0 0 1em; }
small { font-size: 0.85em; }
.wrap { width: 100%; max-width: 1060px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  margin: 0 0 0.9em;
}
.label--amber { color: var(--amber); }
.muted { color: var(--sand); }
.lead { font-size: clamp(1.1rem, 2.4vw, 1.3rem); color: var(--sand); max-width: 36em; }
.skip {
  position: absolute; left: -999px; top: 8px; z-index: 10;
  background: var(--amber); color: var(--night); padding: 8px 12px; border-radius: 8px; text-decoration: none;
}
.skip:focus { left: 8px; }

/* Header */
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--cream); text-decoration: none;
  font-family: var(--font-display); font-weight: 520; font-size: 1.2rem;
}
.brand svg { width: 36px; height: 36px; flex: none; }
.brand span { white-space: nowrap; }
.site-nav { display: flex; gap: 2px 16px; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sand); text-decoration: none; padding: 6px 0;
}
.site-nav a:hover { color: var(--cream); }

/* The tuning dial: thin ticks, one amber needle. The brand device from BRAND.md. */
.dial {
  height: 30px; position: relative; margin: 0;
  background:
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 10px) 0 50% / 100% 10px no-repeat,
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 60px) 0 0 / 100% 100% no-repeat;
}
.dial::after {
  content: ""; position: absolute; top: -5px; bottom: -5px; left: 37%; width: 2px; border-radius: 1px;
  background: var(--amber); box-shadow: 0 0 14px 2px rgba(231, 165, 72, 0.45);
}
.dial--foot::after { left: 63%; }

/* Hero */
.hero { padding-top: clamp(40px, 8vw, 96px); padding-bottom: clamp(32px, 6vw, 64px); }
.hero .lead { margin-bottom: 1.6em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  font-size: 1rem; line-height: 1; font-weight: 500; text-decoration: none;
}
.btn-primary { background: var(--amber); color: var(--night); }
.btn-primary:hover { background: #F0B45E; color: var(--night); }
.btn-ghost { border-color: var(--line); color: var(--cream); background: transparent; }
.btn-ghost:hover { border-color: var(--sand); color: var(--cream); }

/* Sections */
.section { padding-top: clamp(40px, 7vw, 80px); padding-bottom: clamp(40px, 7vw, 80px); }
.section + .section { border-top: 1px solid var(--line); }
.section .intro { max-width: 36em; color: var(--sand); margin-bottom: 2em; }

/* About */
.about { display: grid; gap: 28px; align-items: start; }
.about img { width: 100%; max-width: 280px; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.cred { color: var(--sand); }
.proof { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.2em 0 0; padding: 0; list-style: none; }
.proof li {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; background: var(--ink);
}
@media (min-width: 720px) {
  .about { grid-template-columns: 280px 1fr; gap: 48px; }
}

/* Venture cards */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); margin: 0; padding: 0; list-style: none; }
.card {
  background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; display: flex; flex-direction: column; gap: 8px;
}
.card .label { margin: 0 0 0.3em; }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--sand); }
.card .meta {
  margin-top: auto; padding-top: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.06em; color: var(--cream);
}
.card .meta .soon { color: var(--sand); }
.card .meta a { color: var(--amber); text-decoration: none; }
.card .meta a:hover { color: var(--cream); text-decoration: underline; }
.card--next { border-color: rgba(231, 165, 72, 0.45); }

/* Buying steps */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; margin: 0 0 2em; padding: 0; list-style: none; }
.steps li { counter-increment: step; padding-top: 18px; border-top: 1px solid var(--line); }
.steps li::before {
  content: "0" counter(step); display: block; margin-bottom: 10px;
  font-family: var(--font-mono); color: var(--amber); font-size: 0.78rem; letter-spacing: 0.2em;
}
.steps strong { display: block; margin-bottom: 4px; color: var(--cream); font-family: var(--font-display); font-weight: 520; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--sand); }

/* Inner pages (policies, links, contact) */
.page-head { padding-top: clamp(32px, 6vw, 64px); padding-bottom: 8px; }
.page-head h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
.prose { max-width: var(--measure); padding-bottom: clamp(40px, 7vw, 80px); }
.prose h2 { font-size: 1.5rem; margin: 2em 0 0.5em; }
.prose h3 { font-size: 1.15rem; margin: 1.6em 0 0.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: 0.35em 0; }
.prose .muted { color: var(--sand); }
.note { border: 1px solid rgba(231, 165, 72, 0.5); background: rgba(231, 165, 72, 0.07); border-radius: var(--radius); padding: 14px 18px; margin: 0 0 2em; }
.note p { margin: 0; }
.summary { background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 2em; }
.summary .label { margin-bottom: 0.6em; }
.summary ul { margin: 0; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0 0 1.5em; }
.kv dt { color: var(--sand); }
.kv dd { margin: 0; }

.linklist, .prose .linklist { list-style: none; margin: 0 0 2em; padding: 0; max-width: 34rem; }
.linklist li { margin: 0 0 12px; }
.linklist a, .linklist .soon {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--ink); color: var(--cream); text-decoration: none;
}
.linklist a:hover { border-color: var(--amber); color: var(--cream); }
.linklist .soon { color: var(--sand); }
.linklist small { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sand); text-align: right; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding-bottom: 40px; color: var(--sand); font-size: 0.95rem; }
.site-foot .wrap { padding-top: 28px; }
.foot-grid { display: grid; gap: 20px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; align-content: start; }
.foot-nav a { color: var(--sand); text-decoration: none; }
.foot-nav a:hover { color: var(--cream); }
.fine { font-size: 0.85rem; margin: 16px 0 0; }
@media (min-width: 640px) {
  .foot-grid { grid-template-columns: 1fr auto; }
}
@media print {
  body { background: #fff; color: #000; }
  .site-head, .site-foot, .dial, .skip { display: none; }
}

/* Link-tree home (21 Nov, Jay: visual, tappable, minimal reading) */
.tree { max-width: 560px; padding-top: clamp(28px, 6vw, 56px); padding-bottom: clamp(28px, 5vw, 48px); }
.tree-head { text-align: center; margin-bottom: 28px; }
.tree-logo { margin: 0 auto 10px; width: 96px; height: 96px; }
.tree-head h1 { font-size: clamp(2rem, 7vw, 2.6rem); margin: 0 0 6px; }
.tree-head .label { margin: 0; }
.tiles { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 12px; }
.tile {
  display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px;
  padding: 14px 16px; min-height: 76px;
  background: var(--ink); border: 1px solid var(--line); border-radius: 18px;
  color: var(--cream); text-decoration: none;
}
.tile--next { border-color: rgba(231, 165, 72, 0.45); }
.tile-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(231, 165, 72, 0.12); color: var(--amber);
}
.tile-icon svg { width: 28px; height: 28px; }
.tile:not(.tile--next):not(.tile--email) .tile-icon { background: rgba(124, 156, 192, 0.14); color: var(--dusk); }
.tile-text { display: flex; flex-direction: column; min-width: 0; }
.tile-text strong { font-family: var(--font-display); font-weight: 520; font-size: 1.25rem; line-height: 1.15; }
.tile-text small { color: var(--sand); font-size: 0.95rem; line-height: 1.3; }
.tile-tag {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sand); text-align: right; white-space: nowrap; text-decoration: none;
}
a.tile-tag { color: var(--amber); border: 1px solid rgba(231, 165, 72, 0.5); border-radius: 999px; padding: 7px 12px; }
a.tile-tag:hover { background: var(--amber); color: var(--night); }
.tile--email { margin-top: 4px; grid-template-columns: 52px 1fr; }
.tile--email:hover { border-color: var(--amber); color: var(--cream); }
.jay { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center; max-width: 560px; }
.jay img { width: 96px; height: auto; border-radius: 14px; border: 1px solid var(--line); }
.jay .label { margin-bottom: 6px; }
.jay-line { margin: 0 0 10px; color: var(--cream); }
.jay .proof { margin-top: 0; }

/* Home shows the big logo in the tree head, so the header brand is hidden there. */
.page-home .brand { visibility: hidden; }
