/* THINKING ROX LLC: one stylesheet for every page. The design is the original thinkingrox.com page
   (Downloads/publish/index.html, Oct 2026): Geist and Geist Mono, deep navy, cyan accent, mono section labels. */

/* Geist and Geist Mono (SIL Open Font License), self-hosted: variable fonts, one file covers every weight. */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/geist-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("/fonts/geist-mono-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("/fonts/geist-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: oklch(0.16 0.015 250);
  --text: oklch(0.95 0.01 250);
  --body: oklch(0.88 0.01 250);
  --lede: oklch(0.78 0.02 250);
  --muted: oklch(0.75 0.02 250);
  --dim: oklch(0.70 0.02 250);
  --foot: oklch(0.68 0.02 250);
  --line: oklch(0.28 0.02 250);
  --grid: oklch(0.24 0.02 250);
  --accent: oklch(0.82 0.13 200);
  --accent-hover: oklch(0.88 0.11 200);
  --link-hover: oklch(0.9 0.1 200);
  --pad: clamp(20px, 5vw, 64px);
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; text-wrap: pretty; background: var(--bg); color: var(--text); font-family: "Geist", system-ui, -apple-system, sans-serif; }
a { color: var(--accent); }
a:hover { color: var(--link-hover); }
::selection { background: oklch(0.82 0.13 200 / 0.3); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
img { max-width: 100%; height: auto; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: var(--accent); color: var(--bg); padding: 8px 12px; border-radius: 6px; }

.site { min-height: 100vh; display: flex; flex-direction: column; }
.top, .page, .foot { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.page { flex: 1; }

/* Nav */
.top { padding-top: 22px; padding-bottom: 22px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; border-bottom: 1px solid var(--line); }
.brand { font-family: var(--mono); font-weight: 500; letter-spacing: 0.08em; margin-right: auto; display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand::before { content: ""; width: 10px; height: 10px; background: var(--accent); border-radius: 2px; }
.top nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--text); }
.top nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* Hero, with the faint grid fading out downward */
.hero { padding: 128px 0 112px; position: relative; }
.hero.sub { padding: 96px 0 80px; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px; background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent); mask-image: linear-gradient(to bottom, black 40%, transparent); }
.hero > * { position: relative; z-index: 1; }
h1 { font-size: clamp(44px, 7vw, 96px); line-height: 0.98; letter-spacing: -0.04em; font-weight: 600; margin: 0; }
.hero.sub h1 { font-size: clamp(40px, 6vw, 72px); }
.lede { font-size: 19px; line-height: 1.6; max-width: 50ch; margin: 32px 0 0; color: var(--lede); }
.kicker { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 24px; }

/* Buttons */
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.btn { text-decoration: none; font-weight: 600; padding: 13px 20px; border-radius: 6px; border: 1px solid var(--accent); }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--bg); }
.btn-secondary { color: var(--accent); }
.btn-secondary:hover { color: var(--link-hover); border-color: var(--link-hover); }

/* Rows: a mono label on the left, content on the right; they stack on narrow screens */
.row { padding: 48px 0 88px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px 72px; }
.row.tight { padding-bottom: 64px; }
.label { font-size: 14px; font-family: var(--mono); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; margin: 0; color: var(--muted); }
.prose { font-size: 18px; line-height: 1.7; color: var(--body); max-width: 56ch; }
.prose p { margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }
.prose h3 { font-size: 20px; color: var(--text); font-weight: 600; letter-spacing: -0.01em; margin: 32px 0 8px; }
.prose ul { margin: 0 0 18px; padding-left: 1.1em; }
.prose li { margin: 0 0 8px; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--text); font-weight: 600; }

/* Detail lists: bordered rows, term above or beside its value */
.info { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); }
.info > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 6px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info dt { font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; color: var(--dim); }
.info dd { margin: 0; font-size: 17px; line-height: 1.55; }
.info dd a { color: var(--text); }
.info dd a:hover { color: var(--accent); }
.info dd .note { display: block; font-size: 15px; color: var(--lede); margin-top: 4px; }
.info.wide > div { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }

/* Product */
.product-head { display: flex; align-items: center; gap: 20px; margin: 0 0 24px; }
.product-head img { width: 72px; height: 72px; border-radius: 16px; flex: none; }
.product-head .name { font-size: clamp(28px, 4vw, 40px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; color: var(--text); margin: 0; }
.prose .actions { margin-top: 28px; }
.tag { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; margin: 0 0 10px; }

/* Footer */
.foot { padding-top: 28px; padding-bottom: 48px; font-size: 13px; color: var(--foot); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; border-top: 1px solid var(--line); }
.foot address { font-style: normal; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; width: 100%; }
.foot a { color: var(--foot); }
.foot a:hover { color: var(--text); }
