/* ---------- colour scheme ----------
   Blueprint (light) is the chosen scheme. The four dark alternates are kept as
   data-theme overrides: put data-theme="brass" (or cobalt / verdigris / ember)
   on the <html> element of a page to preview that one. */
:root {
  --bg: #F3F0E8;
  --bg-2: #EBE7DC;
  --panel: #FFFDF8;
  --line: #D7D0C0;
  --line-soft: #E4DED0;
  --text: #17181C;
  --muted: #6A6A63;
  --accent: #1E4FA5;
  --accent-2: #B0562A;
  --on-accent: #FFFFFF;
  --accent-soft: rgba(30, 79, 165, 0.10);
  --glow-a: rgba(30, 79, 165, 0.07);
  --glow-b: rgba(176, 86, 42, 0.05);
}
html[data-theme="brass"] {
  --bg: #08090C;
  --bg-2: #0D0F14;
  --panel: #12141A;
  --line: #24272F;
  --line-soft: #1A1D24;
  --text: #EFEDE7;
  --muted: #A0A4AC;
  --accent: #E0A34B;
  --accent-2: #C9D3DF;
  --on-accent: #17120A;
  --accent-soft: rgba(224, 163, 75, 0.13);
  --glow-a: rgba(224, 163, 75, 0.10);
  --glow-b: rgba(120, 150, 210, 0.07);
}
html[data-theme="cobalt"] {
  --bg: #060910;
  --bg-2: #0A0E17;
  --panel: #0D1320;
  --line: #1D2637;
  --line-soft: #151C2A;
  --text: #E9EEF9;
  --muted: #8C9AB2;
  --accent: #5B8CFF;
  --accent-2: #2FD3C4;
  --on-accent: #05101F;
  --accent-soft: rgba(91, 140, 255, 0.14);
  --glow-a: rgba(91, 140, 255, 0.14);
  --glow-b: rgba(47, 211, 196, 0.08);
}
html[data-theme="verdigris"] {
  --bg: #070C0A;
  --bg-2: #0A100D;
  --panel: #0F1713;
  --line: #1F2A25;
  --line-soft: #17211C;
  --text: #E9F0EB;
  --muted: #91A59A;
  --accent: #5FD3A2;
  --accent-2: #C98A5B;
  --on-accent: #04120C;
  --accent-soft: rgba(95, 211, 162, 0.13);
  --glow-a: rgba(95, 211, 162, 0.12);
  --glow-b: rgba(201, 138, 91, 0.08);
}
html[data-theme="ember"] {
  --bg: #0A0708;
  --bg-2: #0E0A0C;
  --panel: #151013;
  --line: #2A2024;
  --line-soft: #201419;
  --text: #F4EAE9;
  --muted: #A69193;
  --accent: #FF7A4D;
  --accent-2: #FFC46B;
  --on-accent: #1A0703;
  --accent-soft: rgba(255, 122, 77, 0.13);
  --glow-a: rgba(255, 122, 77, 0.12);
  --glow-b: rgba(255, 196, 107, 0.07);
}

/* ---------- base ---------- */
:root {
  --font-ui: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "Cascadia Mono", Consolas, "SF Mono", monospace;
  --maxw: 1120px;
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 620px at 78% -12%, var(--glow-a), transparent 70%),
    radial-gradient(760px 520px at 4% 8%, var(--glow-b), transparent 72%);
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
.mono { font-family: var(--font-mono); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 82px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand .eye { width: 46px; height: 46px; flex: none; display: block; }
.brand .word {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  line-height: 1.12; white-space: nowrap;
}
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  color: var(--muted); font-size: 14.5px; text-decoration: none; white-space: nowrap;
  padding: 4px 0; border-bottom: 1px solid transparent;
}
.site-nav a:hover { color: var(--text); border-bottom-color: var(--line); }
.site-nav a.here { color: var(--text); border-bottom-color: var(--accent); }
.site-nav .ext::after { content: " \2197"; font-size: 11px; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px; border-radius: 9px;
  font-weight: 600; font-size: 15.5px; line-height: 1;
  text-decoration: none; border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { filter: brightness(1.07); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); }
.btn .arrow { font-size: 15px; opacity: 0.8; }

/* ---------- home hero ---------- */
.hero { padding: clamp(52px, 8vw, 96px) 0 clamp(26px, 3.4vw, 40px); }
.hero .eyebrow { margin-bottom: 24px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.028em;
  font-weight: 650;
  max-width: 19ch;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .sub {
  margin-top: 26px; max-width: 58ch; font-size: 19px; color: var(--muted);
}
.hero .cta-row { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- product cards ---------- */
.section { padding: clamp(34px, 4.6vw, 58px) 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-head h2 {
  font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 31px);
  font-weight: 650; letter-spacing: -0.02em;
}
.section-head p { color: var(--muted); font-size: 15px; }

.cards { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
.card {
  position: relative;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, color-mix(in srgb, var(--panel) 92%, transparent), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 30px 26px;
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
a.card:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); transform: translateY(-2px); text-decoration: none; }
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 260px at 88% -30%, var(--accent-soft), transparent 70%);
  opacity: 0; transition: opacity 0.25s ease;
}
a.card:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.card .kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.17em; text-transform: uppercase; color: var(--muted); }
.card h3 {
  font-family: var(--font-display); font-size: 24px; font-weight: 640; letter-spacing: -0.015em;
  margin: 12px 0 10px;
}
.card p { color: var(--muted); font-size: 16px; max-width: 46ch; }
.card .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.chip {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em;
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; color: var(--muted);
}
.chip.live { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); color: var(--accent); }
.card .go { margin-top: auto; padding-top: 24px; font-size: 14.5px; color: var(--accent); display: flex; align-items: center; gap: 8px; }
.card .go .arrow { transition: transform 0.2s ease; }
a.card:hover .go .arrow { transform: translateX(4px); }
.card .logo-lt { width: 210px; height: auto; }
/* the LT wordmark is cream: it gets a dark plate so it stays legible on a light card */
.card .logo-lt {
  background: #14161A; border-radius: 8px; padding: 10px 12px; width: 232px;
}

.card.quiet { background: none; border-style: dashed; border-color: var(--line); }
.card.quiet h3 { font-size: 21px; }

/* workbench strip */
.bench {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; margin-top: 20px;
}
.bench div { background: var(--bg-2); padding: 24px 26px; }
.bench dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.bench dd { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ---------- footer ---------- */
.site-foot {
  border-top: 1px solid var(--line-soft);
  margin-top: 40px; padding: 34px 0 46px;
  color: var(--muted); font-size: 14.5px;
}
.site-foot .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; }
.site-foot a { color: var(--muted); }
.site-foot a:hover { color: var(--text); }
.site-foot .links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- SSMS page ---------- */
.page-head { padding: clamp(48px, 7vw, 84px) 0 10px; }
.page-head .crumb { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.page-head .crumb a { color: var(--muted); }
.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 50px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 650;
  max-width: 22ch;
}
.page-head .sub { margin-top: 20px; max-width: 62ch; color: var(--muted); font-size: 18.5px; }
.page-head .cta-row { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.page-head .fine { margin-top: 14px; font-size: 13.5px; color: var(--muted); max-width: 64ch; }

.tool {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 46px;
  padding: 44px 0; border-top: 1px solid var(--line-soft);
}
.tool:first-of-type { border-top: 0; }
.tool h2 { font-family: var(--font-display); font-size: 26px; font-weight: 640; letter-spacing: -0.02em; }
.tool .num { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.17em; color: var(--accent); text-transform: uppercase; }
.tool p { color: var(--muted); margin-top: 14px; max-width: 52ch; }
.tool ul { list-style: none; margin-top: 4px; }
.tool li {
  color: var(--muted); font-size: 15.5px; padding: 9px 0 9px 22px; position: relative;
  border-bottom: 1px solid var(--line-soft);
}
.tool li:last-child { border-bottom: 0; }
.tool li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: 0.75; }
.tool li b { color: var(--text); font-weight: 600; }

.table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.table th {
  text-align: left; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; padding: 10px 16px 10px 0; border-bottom: 1px solid var(--line);
}
.table td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line-soft); color: var(--muted); font-size: 15px; vertical-align: top; }
.table td:first-child { color: var(--text); }

.note {
  border: 1px solid var(--line); border-left: 3px solid var(--accent);
  background: var(--panel); border-radius: 10px; padding: 18px 22px; margin-top: 22px; max-width: 70ch;
}
.note p { color: var(--muted); font-size: 15px; }
.note p + p { margin-top: 8px; }
.note b { color: var(--text); }

@media (max-width: 860px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .cards { grid-template-columns: 1fr; }
  .bench { grid-template-columns: 1fr; }
  .tool { grid-template-columns: 1fr; gap: 20px; padding: 34px 0; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 13.5px; }
  .brand .word { font-size: 12px; letter-spacing: 0.13em; }
  .brand .eye { width: 40px; height: 40px; }
}
@media (max-width: 520px) {
  .brand .word { font-size: 11px; letter-spacing: 0.12em; }
  .brand .eye { width: 36px; height: 36px; }
  .brand { gap: 9px; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .site-head .wrap { min-height: 68px; }
  .site-nav a.mobile-hide { display: none; }
}
@media print {
  .site-head { position: static; }
}
