/* SteveisIT — shared base (tokens, nav, buttons, section scaffold, footer) */
:root {
  --bg: #faf7f1;
  --bg-2: #f1ece2;
  --surface: #ffffff;
  --ink: #1a1814;
  --ink-2: #4f4a42;
  --ink-3: #8a8377;
  --line: #e4ddd0;
  --accent: #0f77b4;
  --accent-soft: #d6eaf6;
  --on-accent: #ffffff;
  --maxw: 1180px;
  --disp: "Space Grotesk", system-ui, sans-serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
html[data-accent="ocean"]  { --accent: #14679f; --accent-soft: #d8e8f3; }
html[data-accent="sky"]    { --accent: #0a86c9; --accent-soft: #d4ecf8; }

html[data-theme="dark"] {
  --bg: #161412;
  --bg-2: #1f1c19;
  --surface: #211e1a;
  --ink: #f3eee5;
  --ink-2: #b8b0a3;
  --ink-3: #837b6e;
  --line: #322e28;
  --accent: #4fb0e8;
  --accent-soft: #0e2738;
  --on-accent: #07151f;
}
html[data-theme="dark"][data-accent="ocean"]  { --accent: #57a6dd; --accent-soft: #112636; --on-accent: #08161f; }
html[data-theme="dark"][data-accent="sky"]    { --accent: #4fb3ee; --accent-soft: #0e2738; --on-accent: #07151f; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--sans); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background .4s ease, color .4s ease;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
::selection { background: var(--accent); color: var(--on-accent); }
.disp { font-family: var(--disp); }
.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-weight: 500; font-size: 12.5px; letter-spacing: .06em; color: var(--accent); display: inline-flex; align-items: center; gap: 7px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

/* status strip */
.statusbar { background: var(--ink); color: var(--bg); font-family: var(--mono); font-size: 12px; letter-spacing: .02em; }
.statusbar .sb-in { display: flex; align-items: center; gap: 20px; height: 34px; flex-wrap: wrap; overflow: hidden; }
.statusbar .sb-in .live { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); }
.statusbar .sb-in .live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.statusbar .sb-in .sep { opacity: .35; }
.statusbar .sb-in .muted { opacity: .7; }

/* nav */
nav { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; height: 70px; gap: 28px; }
.logo { font-family: var(--disp); font-weight: 800; font-size: 21px; letter-spacing: -.5px; display: flex; align-items: center; gap: 9px; }
.logo .mark { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 14px; font-weight: 800; }

/* typemark / brand logo */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand .chip { width: 36px; height: 36px; border-radius: 10px; background: var(--accent); color: var(--on-accent); display: inline-flex; align-items: center; justify-content: center; gap: 1px; font-family: var(--mono); font-weight: 700; font-size: 15px; letter-spacing: -.5px; box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 40%, transparent); transition: transform .2s; }
.brand:hover .chip { transform: translateY(-1px) rotate(-3deg); }
.brand .chip .cur { width: 7px; height: 15px; background: var(--on-accent); display: inline-block; margin-left: 1px; animation: blink 1.15s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.brand .word { font-family: var(--disp); font-weight: 700; font-size: 20px; letter-spacing: -.5px; color: var(--ink); line-height: 1; }
.brand .word .is { color: var(--ink-3); font-weight: 500; }
.brand .word .it { color: var(--accent); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { font-weight: 600; font-size: 14px; color: var(--ink-2); padding: 9px 16px; border-radius: 999px; transition: .18s; }
.nav-links a:hover { color: var(--ink); background: var(--bg-2); }
.nav-links a.active { background: var(--accent); color: var(--on-accent); }
.nav-tools { display: flex; align-items: center; gap: 14px; }
.swatches { display: flex; gap: 7px; }
.sw { width: 16px; height: 16px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; transition: .15s; }
.sw[data-c="blend"] { background: #0f77b4; } .sw[data-c="ocean"] { background: #14679f; }
.sw[data-c="sky"] { background: #0a86c9; }
.sw.active { border-color: var(--ink); transform: scale(1.18); }
.toggle { cursor: pointer; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-2); width: 40px; height: 40px; border-radius: 50%; font-size: 16px; transition: .18s; display:grid; place-items:center; }
.toggle:hover { border-color: var(--accent); color: var(--accent); }

/* buttons */
.btn { font-family: var(--sans); font-weight: 700; font-size: 15px; cursor: pointer; padding: 13px 22px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: var(--bg); transition: .2s; display: inline-flex; align-items: center; gap: 9px; }
.btn:hover { transform: translateY(-2px); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); }
.btn.sm { padding: 9px 16px; font-size: 14px; }

/* section scaffold */
section { padding: 80px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.sec-head h2 { font-family: var(--disp); font-weight: 800; font-size: clamp(32px, 5vw, 54px); letter-spacing: -.03em; line-height: 1; }
.sec-head .lead { color: var(--ink-2); font-size: 17px; max-width: 42ch; margin-top: 14px; }
.sec-head .num { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .02em; color: var(--accent); }

footer { padding: 30px 0 40px; border-top: 1px solid var(--line); }
.foot-in { display: flex; justify-content: space-between; align-items: center; color: var(--ink-3); font-family: var(--mono); font-size: 12.5px; flex-wrap: wrap; gap: 10px; }

@media (max-width: 900px) { .nav-links { display: none; } }
