/* Hamelton Software site styles
   Tokens first, then base, layout, components, page parts. */

@font-face {
  font-family: 'Figtree';
  src: url('../fonts/figtree-latin-wght-normal.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --frame: #081731;
  --card: #ffffff;
  --ink: #0a1a33;
  --muted: #4a5c7a;
  --line: #dce4f0;
  --soft: #e4edff;
  --panel: #f2f6fc;
  --accent: #2f6bff;
  --accent-ink: #1f55e0;
  --btn: #2f6bff;
  --chip: #d6e4ff;
  --chip-ink: #0a1a33;
  --hero: #0f2f73;
  --cta: #2f6bff;
  --shadow: 0 18px 50px -22px rgba(8, 23, 49, .35);
  --pill-beta-bg: #e4edff;   --pill-beta-fg: #1241a8;
  --pill-early-bg: #fff1d6;  --pill-early-fg: #7a4a00;
  --pill-plan-bg: #e6ecf5;   --pill-plan-fg: #44546f;
  --ok-bg: #e3f6ec;          --ok-fg: #0d5a35;
  --err-bg: #fde8ea;         --err-fg: #8a1626;
  --r: 28px;
  --r-md: 20px;
  --r-sm: 12px;
  --font: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, Menlo, monospace;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --frame: #03070f;
  --card: #0d1a31;
  --ink: #ffffff;
  --muted: #a9b8d1;
  --line: #1f3050;
  --soft: #16336a;
  --panel: #112343;
  --accent: #4f83ff;
  --accent-ink: #8fb4ff;
  --btn: #2f6bff;
  --chip: #1b3d86;
  --chip-ink: #eaf1ff;
  --hero: #0a2155;
  --cta: #1b46b8;
  --shadow: 0 18px 50px -22px rgba(0, 0, 0, .8);
  --pill-beta-bg: #14305f;   --pill-beta-fg: #a9c6ff;
  --pill-early-bg: #3a2b0b;  --pill-early-fg: #f5c970;
  --pill-plan-bg: #1a2740;   --pill-plan-fg: #a9b8d1;
  --ok-bg: #0e2f21;          --ok-fg: #8fe0b4;
  --err-bg: #3a1219;         --err-fg: #ffb3bd;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--frame);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; font-weight: 800; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: #fff; color: #0a1a33; font-weight: 700; padding: 12px 18px; border-radius: 999px;
}
.skip-link:focus { top: 16px; }

/* Layout */
.wrap { max-width: 1480px; margin: 0 auto; padding: 12px; }
.main-stack { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.panel { background: var(--card); border-radius: var(--r); position: relative; overflow: hidden; }
.container { max-width: 1240px; margin: 0 auto; padding: 88px clamp(20px, 4vw, 56px); display: flex; flex-direction: column; gap: 44px; }
.container--tight { padding-block: 56px; gap: 24px; }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 740px; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; font-weight: 500; color: var(--accent-ink); margin: 0; }
.section-head h2, .h2 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.1; font-weight: 800; }
.lead { color: var(--muted); font-size: 18px; line-height: 1.6; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; }
.split--reverse { flex-wrap: wrap-reverse; }
.stack { display: flex; flex-direction: column; gap: 24px; }

/* Navigation */
.site-header { position: sticky; top: 12px; z-index: 50; }
.nav-pill {
  background: var(--card); border-radius: 999px; padding: 10px 12px 10px 28px; min-height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; flex: none; }
.logo { height: 38px; width: auto; display: block; }
.logo--dark { display: none; }
:root[data-theme="dark"] .logo--light { display: none; }
:root[data-theme="dark"] .logo--dark { display: block; }
.nav-links { display: flex; gap: 34px; font-weight: 600; font-size: 16px; }
.nav-links a { padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--accent-ink); }
.nav-links a[aria-current="page"] { border-bottom-color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; font-size: 16px;
}
.icon-btn:hover { background: var(--soft); }
.theme-icon { display: none; }
.theme-icon--moon { display: inline; }
:root[data-theme="dark"] .theme-icon--moon { display: none; }
:root[data-theme="dark"] .theme-icon--sun { display: inline; }
.nav-burger { display: none; }
.mobile-menu {
  background: var(--card); border-radius: 24px; margin-top: 8px; padding: 12px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 14px 16px; border-radius: 12px; font-weight: 700; }
.mobile-menu a:hover, .mobile-menu a[aria-current="page"] { background: var(--soft); }

/* Buttons and pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; padding: 14px 26px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer; text-align: center;
}
.btn--primary { background: var(--btn); color: #fff; }
.btn--primary:hover { filter: brightness(1.1); }
.btn--light { background: #fff; color: #0a1a33; }
.btn--light:hover { background: #dce8ff; }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn--outline { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn--outline:hover { background: var(--soft); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { color: var(--accent-ink); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.link-arrow:hover { text-decoration: underline; }
.pill { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 20px; white-space: nowrap; }
.pill--beta { background: var(--pill-beta-bg); color: var(--pill-beta-fg); }
.pill--early { background: var(--pill-early-bg); color: var(--pill-early-fg); }
.pill--plan { background: var(--pill-plan-bg); color: var(--pill-plan-fg); }
.version { font-family: var(--mono); font-size: 12.5px; color: var(--muted); border: 1px solid var(--line); background: var(--card); padding: 4px 12px; border-radius: 999px; }

/* Hero with photo */
.hero { background: var(--hero); color: #fff; min-height: 680px; display: flex; align-items: center; }
.hero__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 62%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.hero__tint { position: absolute; inset: 0; background: var(--hero); opacity: .18; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, var(--hero) 0%, var(--hero) 36%, rgba(0, 0, 0, 0) 78%); }
.hero__content { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; padding: 100px clamp(20px, 4vw, 56px); display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.hero h1 { font-size: clamp(40px, 5vw, 68px); line-height: 1.05; max-width: 660px; }
.hero .accent, .page-hero .accent { color: #9dbeff; }
.hero p.lead { color: #e3ecff; max-width: 540px; font-size: clamp(17px, 1.6vw, 20px); }
.tag { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; font-weight: 500; color: #c9daff; background: rgba(255, 255, 255, .12); padding: 7px 14px; border-radius: 999px; }
.tag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #8fb4ff; }

/* Page hero (inner pages) */
.page-hero { background: var(--hero); color: #fff; }
.page-hero .container { padding-block: 72px; gap: 0; }
.page-hero__grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.page-hero__text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.page-hero__visual { flex: 1 1 420px; min-width: 0; }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.06; max-width: 680px; }
.page-hero .lead { color: #e3ecff; max-width: 560px; }
.page-hero--photo { min-height: 460px; display: flex; align-items: center; }
.page-hero--photo .container { position: relative; width: 100%; }
.page-hero__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.page-hero__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, var(--hero) 0%, var(--hero) 38%, rgba(0, 0, 0, 0) 80%); }
.page-hero__tint { position: absolute; inset: 0; background: var(--hero); opacity: .25; }
.crumbs { font-family: var(--mono); font-size: 12.5px; color: #b9cbee; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* Strip */
.strip { text-align: center; align-items: center; padding-block: 44px; gap: 24px; }
.strip__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: var(--muted); }

/* Cards */
.card { background: var(--panel); border-radius: var(--r-md); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-size: 22px; line-height: 1.2; }
.card p { color: var(--muted); font-size: 15.5px; }
.card--product { padding: 32px; gap: 18px; }
.card--product h3 { font-size: 26px; }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card .push { margin-top: auto; }
.card-icon { font-size: 26px; color: var(--accent-ink); }
.spec { border-top: 1px solid var(--line); margin: 0; }
.spec > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec dt { font-family: var(--mono); font-size: 12.5px; color: var(--muted); flex: none; padding-top: 2px; }
.spec dd { margin: 0; text-align: right; }
.spec--stack > div { display: grid; grid-template-columns: minmax(96px, 150px) minmax(0, 1fr); gap: 14px; }
.spec--stack dd { text-align: left; }
.panel .spec > div { border-color: var(--line); }

/* Feature sections */
.hl-list { display: flex; flex-direction: column; gap: 14px; font-size: 17px; }
.hl {
  background: var(--chip); color: var(--chip-ink); font-weight: 700; font-size: 12.5px; letter-spacing: .04em;
  text-transform: uppercase; padding: 2px 7px; border-radius: 4px; margin-right: 8px; white-space: nowrap;
}
.mock-stage { background: var(--panel); border-radius: 22px; padding: clamp(16px, 3vw, 34px); }
.features { display: grid; gap: 28px 34px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.feature { display: flex; flex-direction: column; gap: 8px; }
.feature h3 { font-size: 18px; display: flex; align-items: center; gap: 12px; }
.feature h3 i { color: var(--accent-ink); width: 22px; text-align: center; }
.feature p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.check-list { display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 15.5px; }
.check-list li { display: flex; gap: 12px; }
.check-list i { color: var(--accent-ink); margin-top: 5px; flex: none; }
.dash-list li i { color: var(--muted); }

/* Photo band with stats */
.band { background: var(--hero); color: #fff; }
.band__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.band__scrim { position: absolute; inset: 0; background: var(--hero); opacity: .88; }
.band .container { position: relative; }
.band .eyebrow { color: #9dbeff; }
.band .lead { color: #d5e1f7; }
.stat-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.stat { background: var(--card); color: var(--ink); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.stat strong { font-size: 60px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.stat span { font-weight: 700; font-size: 18px; }

/* Snippet cards */
.snippet-card { display: flex; flex-direction: column; gap: 16px; }
.snippet { background: var(--panel); border-radius: var(--r-md); padding: 30px; min-height: 300px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.snip-row { background: var(--card); border-radius: 10px; padding: 12px 14px; font-size: 13.5px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.snip-row--muted { color: var(--muted); font-weight: 500; }
.snip-row--soft { background: var(--soft); }
.snip-row small { font-family: var(--mono); font-size: 11px; color: var(--muted); font-weight: 400; }
.snip-row small.on { color: var(--accent-ink); }
.snip-col { flex-direction: column; align-items: flex-start; gap: 3px; }
.switch { width: 36px; height: 20px; border-radius: 10px; background: var(--accent); position: relative; flex: none; }
.switch::after { content: ''; position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.snippet-text { background: var(--panel); border-radius: var(--r-md); padding: 30px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.snippet-text h3 { font-size: 22px; }
.snippet-text p { color: var(--muted); }

/* CTA band with photo */
.cta { background: var(--cta); color: #fff; }
.cta__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.cta__tint { position: absolute; inset: 0; background: var(--cta); opacity: .4; }
.cta__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, var(--cta) 0%, var(--cta) 42%, rgba(0, 0, 0, 0) 85%); }
.cta .container { position: relative; }
.cta .eyebrow { color: #d6e4ff; }
.cta .lead { color: #e3ecff; max-width: 620px; }
.cta__cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 680px; }
.cta__card { background: rgba(255, 255, 255, .13); border-radius: var(--r-md); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.cta__card header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cta__card h3 { font-size: 24px; color: #fff; }
.cta__card .mono { font-size: 12.5px; color: #e3ecff; }
.cta__card p { color: #e3ecff; font-size: 15.5px; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); }
table.data { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 15.5px; }
table.data th, table.data td { text-align: left; padding: 16px 24px; vertical-align: top; border-bottom: 1px solid var(--line); }
table.data thead th { background: var(--hero); color: #fff; font-size: 17px; font-weight: 800; border-bottom: 0; }
table.data thead th.eyebrow-th { font-family: var(--mono); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; font-weight: 500; color: #b5c4de; }
table.data tbody th { font-family: var(--mono); font-weight: 400; font-size: 12.5px; color: var(--muted); width: 190px; }
table.data tbody tr:last-child th, table.data tbody tr:last-child td { border-bottom: 0; }
table.data td + td { border-left: 1px solid var(--line); }
table.data--status thead th { background: var(--panel); color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; font-weight: 500; }
table.data--status tbody th { font-family: var(--font); font-size: 15.5px; color: var(--ink); font-weight: 700; width: auto; }
table.data--status td + td { border-left: 0; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 880px; }
.faq details { background: var(--panel); border-radius: 16px; padding: 0 24px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; padding: 20px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--mono); font-size: 22px; color: var(--accent-ink); flex: none; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { color: var(--muted); padding-bottom: 22px; max-width: 720px; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 700; font-size: 15px; }
.field .hint { color: var(--muted); font-size: 13.5px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--card); border: 1.5px solid var(--line);
  border-radius: 12px; padding: 14px 16px; width: 100%;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field .err { color: var(--err-fg); font-size: 14px; font-weight: 600; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--err-fg); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 16px 20px; border-radius: 14px; font-weight: 600; display: flex; gap: 12px; align-items: flex-start; }
.alert i { margin-top: 4px; }
.alert--ok { background: var(--ok-bg); color: var(--ok-fg); }
.alert--err { background: var(--err-bg); color: var(--err-fg); }
.photo-card { border-radius: var(--r-md); overflow: hidden; position: relative; min-height: 360px; }
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-card--tall { min-height: 520px; }

/* Prose pages */
.prose { max-width: 780px; display: flex; flex-direction: column; gap: 18px; }
.prose h2 { font-size: 28px; margin-top: 24px; }
.prose h3 { font-size: 20px; margin-top: 8px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose a { color: var(--accent-ink); text-decoration: underline; }

/* Browser mockups (illustrations, not screenshots) */
.mock { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); height: 400px; display: flex; flex-direction: column; position: relative; text-align: left; color: var(--ink); }
.mock__bar { height: 36px; background: var(--panel); border-bottom: 1px solid var(--line); padding: 0 12px; display: flex; align-items: center; gap: 6px; flex: none; font-size: 11px; font-weight: 700; }
.mock__tab { height: 24px; padding: 0 12px; border-radius: 6px; font-size: 11px; color: var(--muted); display: flex; align-items: center; }
.mock__tab.is-active { background: var(--card); border: 1px solid var(--line); color: var(--ink); font-weight: 700; }
.mock__toolbar { height: 40px; padding: 0 12px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); flex: none; }
.mock__address { flex: 1; height: 26px; border-radius: 13px; background: var(--panel); font-size: 11px; color: var(--muted); display: flex; align-items: center; padding: 0 12px; }
.mock__body { flex: 1; display: flex; min-height: 0; }
.mock__rail { width: 96px; background: var(--panel); border-right: 1px solid var(--line); padding: 10px 8px; display: flex; flex-direction: column; gap: 5px; font-size: 11px; font-weight: 600; flex: none; }
.mock__rail div { padding: 7px 8px; border-radius: 6px; color: var(--muted); }
.mock__rail div.is-active { background: var(--card); color: var(--ink); }
.mock__main { flex: 1; min-width: 0; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.mock__search { height: 30px; border-radius: 15px; background: var(--soft); font-size: 11px; color: var(--muted); display: flex; align-items: center; padding: 0 14px; }
.mock__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mock__tile { background: var(--soft); border-radius: 9px; height: 62px; padding: 9px; font-size: 11px; font-weight: 700; }
.mock__skins { background: var(--panel); border-radius: 9px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 11px; font-weight: 700; }
.mock__dots { display: flex; gap: 6px; }
.mock__dots span { width: 15px; height: 15px; border-radius: 50%; }
.dot-blue { background: #2f6bff; } .dot-green { background: #0f9d74; } .dot-amber { background: #e0902b; }
.dot-rose { background: #c23d5a; } .dot-slate { background: #6b7a99; }
.mock__popover { position: absolute; right: 14px; bottom: 14px; width: 190px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 12px 14px; display: flex; flex-direction: column; gap: 7px; font-size: 11px; }
.mock__popover strong { font-size: 12px; font-weight: 800; }
.mock__popover div { padding: 6px 9px; border-radius: 6px; background: var(--panel); color: var(--muted); }
.mock__popover div.is-active { background: var(--soft); color: var(--ink); font-weight: 600; }
.mock__popover small { font-family: var(--mono); color: var(--muted); font-size: 10.5px; }
.mock--sill .mock__bar { height: 32px; }
.sill__stage { flex: 1; position: relative; min-height: 0; }
.sill__page { padding: 24px 28px 24px 214px; display: flex; flex-direction: column; gap: 11px; }
.sill__line { height: 9px; background: var(--panel); border-radius: 3px; }
.sill__line--title { height: 18px; width: 58%; background: var(--line); }
.sill__line--short { width: 84%; }
.sill__line--last { width: 70%; }
.sill__hero { height: 90px; background: var(--soft); border-radius: 9px; margin-top: 6px; }
.sill__panel { position: absolute; top: 0; bottom: 0; left: 0; width: 198px; background: #081731; color: #fff; padding: 16px 12px; display: flex; flex-direction: column; gap: 8px; font-size: 12px; }
.sill__panel .label { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #b5c4de; }
.sill__panel .label--gap { margin-top: 10px; }
.sill__item { padding: 8px 10px; border-radius: 6px; color: #b5c4de; display: flex; justify-content: space-between; gap: 6px; }
.sill__item.is-active { background: rgba(255, 255, 255, .16); color: #fff; font-weight: 700; }
.sill__item small { font-family: var(--mono); font-size: 10px; color: #8fb4ff; }
.sill__edge { position: absolute; top: 96px; right: 0; width: 6px; height: 70px; border-radius: 3px 0 0 3px; background: var(--accent); }
.mock-caption { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.page-hero .mock-caption { color: #b9cbee; }

/* Footer */
.site-footer { color: #b5c4de; margin-top: 12px; }
.footer-inner { max-width: 1240px; margin: 0 auto; padding: 56px clamp(20px, 4vw, 56px) 28px; display: flex; flex-direction: column; gap: 44px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px 64px; justify-content: space-between; }
.footer-brand { flex: 1 1 280px; max-width: 360px; display: flex; flex-direction: column; gap: 16px; font-size: 15px; line-height: 1.65; }
.footer-brand img { height: 44px; width: auto; align-self: flex-start; }
.footer-brand a:hover { color: #fff; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px 64px; font-size: 15.5px; }
.footer-cols > div { display: flex; flex-direction: column; gap: 11px; }
.footer-cols .eyebrow { color: #7f92b3; }
.footer-cols a { color: #fff; }
.footer-cols a:hover { text-decoration: underline; }
.footer-note { display: inline-flex; gap: 8px; align-items: center; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 13.5px; }

/* Responsive */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-pill { padding-left: 20px; }
  .hero { min-height: 0; }
  .hero__photo { width: 100%; opacity: .32; }
  .hero__scrim { display: none; }
  .hero__content { padding-block: 72px; }
  .page-hero__photo { width: 100%; opacity: .3; }
  .page-hero__scrim { display: none; }
  .cta__photo { width: 100%; opacity: .3; }
  .cta__scrim { display: none; }
  .container { padding-block: 64px; }
  table.data tbody th { width: 150px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 8px; }
  .panel, .hero, .page-hero { border-radius: 22px; }
  .stat strong { font-size: 48px; }
  .sill__page { padding-left: 150px; }
  .sill__panel { width: 136px; }
  .mock__popover { width: 160px; }
  .spec > div { flex-direction: column; gap: 2px; }
  .spec dd { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
