/* Turning Point Studio — shared site styles (root pages)
   v2.0 IDE-dark. Mirrors sku/styles.css tokens so the homepage, community
   page, and SKU pages read as one brand. Mark = the real brush ensō
   (brand/enso-mark.png), light on dark. See brand/brand-guide.md. */

:root {
  --bg:           #0d1117;
  --surface:      #161b22;
  --surface-2:    #1c2128;
  --rule:         #30363d;
  --rule-soft:    #21262d;
  --text:         #e6edf3;
  --text-2:       #b1bac4;
  --muted:        #7d8590;
  --cool:         #58a6ff;
  --cool-bright:  #79c0ff;
  --ok:           #3fb950;
  --warn:         #d29922;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  font-family: var(--font-sans);
  color: var(--text-2);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-mono); font-weight: 500; letter-spacing: -0.01em; line-height: 1.18; color: var(--text); }
a { color: var(--cool); text-decoration: none; }
a:hover { color: var(--cool-bright); }
.container { max-width: 880px; margin: 0 auto; padding: 0 28px; }
.mono { font-family: var(--font-mono); }

/* Header */
header {
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
  background: rgba(13,17,23,0.85);
  backdrop-filter: blur(6px);
  position: sticky; top: 0; z-index: 10;
}
.header-row { display: flex; justify-content: space-between; align-items: center; }
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-mono); font-size: 16px; font-weight: 500;
  color: var(--text); text-decoration: none; letter-spacing: 0;
}
.brand:hover { color: var(--text); }
.brand .brand-mark { width: 30px; height: 30px; display: block; flex-shrink: 0; }
.brand span { color: var(--cool); }
nav a {
  color: var(--text-2); text-decoration: none; margin-left: 26px;
  font-size: 13px; font-weight: 400; font-family: var(--font-mono);
}
nav a:hover { color: var(--cool); }

/* Hero */
.hero { padding: 104px 0 84px; border-bottom: 1px solid var(--rule); }
.eyebrow {
  font-family: var(--font-mono); font-size: 13px; font-weight: 400;
  color: var(--muted); margin-bottom: 26px; letter-spacing: 0;
}
.eyebrow::before { content: "// "; color: var(--cool); }
.hero h1 { font-size: 46px; margin-bottom: 30px; max-width: 760px; }
.hero .lede { font-size: 20px; color: var(--text-2); max-width: 680px; font-weight: 300; line-height: 1.55; }
.hero .lede strong { color: var(--text); font-weight: 500; }

/* Sections */
section { padding: 80px 0; border-bottom: 1px solid var(--rule); }
section h2 { font-size: 30px; margin-bottom: 24px; }
section > .container > p { margin-bottom: 18px; color: var(--text-2); max-width: 700px; }
section > .container > p:last-child { margin-bottom: 0; }

/* Practice areas */
.practice-list { list-style: none; margin-top: 36px; }
.practice-list li {
  padding: 22px 0; border-top: 1px solid var(--rule-soft);
  display: grid; grid-template-columns: 230px 1fr; gap: 32px; align-items: baseline;
}
.practice-list li:last-child { border-bottom: 1px solid var(--rule-soft); }
.practice-list .pa-title { font-family: var(--font-mono); font-size: 16px; font-weight: 500; color: var(--text); }
.practice-list .pa-title small { font-weight: 400; color: var(--muted); }
.practice-list .pa-desc { font-size: 15px; color: var(--text-2); line-height: 1.6; }

/* Principles */
.principles { display: grid; gap: 34px; margin-top: 40px; }
.principle { display: grid; grid-template-columns: 52px 1fr; gap: 24px; align-items: start; }
.principle .num { font-family: var(--font-mono); font-size: 22px; color: var(--cool); font-weight: 500; line-height: 1; padding-top: 4px; }
.principle h3 { font-size: 18px; margin-bottom: 8px; }
.principle p { font-size: 16px; margin: 0; color: var(--text-2); }

/* Credentials */
.credentials { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--rule-soft); display: grid; gap: 18px; }
.credentials .label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
.credentials .item { font-size: 15px; color: var(--text-2); }

/* Cards (contact / status) */
.card {
  background: var(--surface); border: 1px solid var(--rule);
  border-radius: 10px; padding: 36px 36px; margin-top: 28px;
}
.card .label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 10px; }
.card .card-title { font-family: var(--font-mono); font-size: 19px; font-weight: 500; color: var(--text); margin-bottom: 14px; }
.card p { color: var(--text-2); margin-bottom: 14px; max-width: none; }
.card p:last-of-type { margin-bottom: 0; }
.contact-link {
  display: inline-block; margin-top: 18px; font-family: var(--font-mono);
  font-size: 16px; color: var(--cool); text-decoration: none;
  border-bottom: 1px solid var(--rule); padding-bottom: 3px;
}
.contact-link::before { content: "$ "; color: var(--muted); }
.contact-link:hover { color: var(--cool-bright); border-bottom-color: var(--cool); }

/* Model previews */
.models { display: grid; gap: 30px; margin-top: 38px; }
.model-card { border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; background: var(--surface); }
.model-head {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--text-2);
  padding: 12px 16px; border-bottom: 1px solid var(--rule); background: var(--surface-2);
}
.model-head .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rule); flex-shrink: 0; }
.model-head .dot:first-child { background: #e06c5a; }
.model-head .name { margin-left: 4px; }
.model-head .file { margin-left: auto; color: var(--muted); font-size: 11.5px; }
.model-canvas { background: #ffffff; }
.model-canvas img { display: block; width: 100%; height: auto; }
.model-cap { font-size: 14px; color: var(--text-2); line-height: 1.55; padding: 14px 18px; border-top: 1px solid var(--rule); }

/* Footer */
footer { padding: 40px 0 64px; font-size: 13px; color: var(--muted); font-family: var(--font-mono); }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Responsive */
@media (max-width: 640px) {
  .hero { padding: 60px 0 52px; }
  .hero h1 { font-size: 32px; }
  .hero .lede { font-size: 18px; }
  section { padding: 52px 0; }
  section h2 { font-size: 24px; }
  nav a { margin-left: 16px; font-size: 12px; }
  .card { padding: 26px 22px; }
  .principle { grid-template-columns: 40px 1fr; gap: 16px; }
  .practice-list li { grid-template-columns: 1fr; gap: 6px; }
}
