:root {
  color-scheme: dark;
  --bg: #07111f;
  --surface: #101e31;
  --text: #f5f7fb;
  --muted: #a9b5c7;
  --accent: #58d6b3;
  --accent-rgb: 88, 214, 179;
  --accent-dark: #062c25;
  --body-glow: #183653;
  --line: #233a54;
  --line-strong: #35516e;
  --trust-start: #11253b;
  --trust-end: #0b1828;
  --brand-filter: brightness(0) invert(1);
  --menu-bg: rgba(12, 25, 40, .96);
  --menu-shadow: 0 20px 60px rgba(0, 0, 0, .32);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[data-theme="graphite"] { --bg: #151719; --surface: #202326; --text: #f5f6f6; --muted: #a4aaae; --accent: #75ddb4; --accent-rgb: 117, 221, 180; --accent-dark: #071b14; --body-glow: #303536; --line: #343a3d; --line-strong: #4c5658; --trust-start: #2b3130; --trust-end: #202426; --menu-bg: rgba(30, 33, 35, .97); }
html[data-theme="light"] { color-scheme: light; --bg: #f4f7f6; --surface: #ffffff; --text: #17201d; --muted: #607069; --accent: #168d62; --accent-rgb: 22, 141, 98; --accent-dark: #ffffff; --body-glow: #d9eee6; --line: #cddbd5; --line-strong: #a7bdb4; --trust-start: #dff3ea; --trust-end: #ffffff; --brand-filter: none; --menu-bg: rgba(255, 255, 255, .97); --menu-shadow: 0 20px 60px rgba(20, 49, 39, .16); }
html[data-theme="midnight"] { --bg: #060816; --surface: #10152a; --text: #f3f5ff; --muted: #9ca8c8; --accent: #91a7ff; --accent-rgb: 145, 167, 255; --accent-dark: #090d22; --body-glow: #1b2a55; --line: #273258; --line-strong: #46558c; --trust-start: #1b2a55; --trust-end: #10172e; --menu-bg: rgba(12, 16, 36, .97); }
html[data-theme="ocean"] { --bg: #06151c; --surface: #0d2530; --text: #effcff; --muted: #91b4bd; --accent: #52d9e8; --accent-rgb: 82, 217, 232; --accent-dark: #041b21; --body-glow: #124154; --line: #1c4653; --line-strong: #2b6573; --trust-start: #124154; --trust-end: #0d2834; --menu-bg: rgba(8, 30, 39, .97); }
html[data-theme="violet"] { --bg: #130d20; --surface: #211633; --text: #fbf7ff; --muted: #b9a5c9; --accent: #cea3ff; --accent-rgb: 206, 163, 255; --accent-dark: #1b092c; --body-glow: #40255b; --line: #422d5d; --line-strong: #65458a; --trust-start: #40255b; --trust-end: #28183d; --menu-bg: rgba(28, 17, 44, .97); }
html[data-theme="rose"] { --bg: #1c0d13; --surface: #2c1720; --text: #fff7fa; --muted: #c8a3b0; --accent: #ff91b5; --accent-rgb: 255, 145, 181; --accent-dark: #330817; --body-glow: #512337; --line: #553040; --line-strong: #78445a; --trust-start: #512337; --trust-end: #321723; --menu-bg: rgba(38, 17, 26, .97); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100dvh; background: radial-gradient(circle at 75% 10%, var(--body-glow) 0, var(--bg) 38%); color: var(--text); transition: background-color .2s ease, color .2s ease; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
button { font: inherit; color: inherit; }

.site-header, main, footer { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.site-header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; padding-block: 4px; }
.brand-logo { display: block; width: 160px; max-width: 100%; height: auto; object-fit: contain; filter: var(--brand-filter); }
.brand:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 3px; }
nav { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: .92rem; }
nav a { display: inline-flex; min-height: 44px; align-items: center; }
.nav-cta { padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text); }

.theme-picker { position: relative; }
.theme-toggle { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; cursor: pointer; }
.theme-toggle:hover, .theme-toggle[aria-expanded="true"] { color: var(--text); border-color: var(--accent); background: rgba(var(--accent-rgb), .09); }
.theme-toggle svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.7; }
.theme-toggle svg circle { fill: currentColor; stroke: none; }
.theme-menu { position: absolute; z-index: 10; top: calc(100% + 10px); right: 0; width: 276px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--menu-bg); box-shadow: var(--menu-shadow); backdrop-filter: blur(18px); }
.theme-menu[hidden] { display: none; }
.theme-menu p { margin: 0 0 12px; color: var(--text); font-size: .82rem; font-weight: 700; }
.theme-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.theme-options button { min-height: 44px; display: flex; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid transparent; border-radius: 11px; background: transparent; color: var(--muted); cursor: pointer; text-align: left; }
.theme-options button:hover { background: rgba(var(--accent-rgb), .08); color: var(--text); }
.theme-options button[aria-pressed="true"] { border-color: var(--accent); background: rgba(var(--accent-rgb), .12); color: var(--text); }
.theme-swatch { width: 18px; height: 18px; flex: 0 0 18px; border: 2px solid rgba(255,255,255,.56); border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,.2); }
.theme-swatch.emerald { background: #58d6b3; }
.theme-swatch.graphite { background: #747d7a; }
.theme-swatch.light { background: #f4f7f6; }
.theme-swatch.midnight { background: #91a7ff; }
.theme-swatch.ocean { background: #52d9e8; }
.theme-swatch.violet { background: #cea3ff; }
.theme-swatch.rose { background: #ff91b5; }

.hero { min-height: 560px; display: flex; flex-direction: column; justify-content: center; max-width: 820px; padding: 70px 0; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
h1 { font-size: clamp(3rem, 8vw, 6.8rem); line-height: .94; letter-spacing: -.07em; margin: 20px 0 28px; }
.hero-copy { max-width: 680px; font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.65; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.primary, .secondary { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border-radius: 14px; font-weight: 700; }
.primary { background: var(--accent); color: var(--accent-dark); }
.secondary { border: 1px solid var(--line-strong); }
.beta-note { color: var(--muted); font-size: .85rem; margin-top: 18px; }
.staff-entry { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 24px; }
.staff-entry .actions { font-size: .9rem; color: var(--muted); margin-top: 14px; gap: 12px 24px; }
.staff-entry .actions a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: underline; text-underline-offset: 4px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 80px 0; }
.feature-grid article { min-height: 250px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: color-mix(in srgb, var(--surface) 86%, transparent); }
.number { color: var(--accent); font-family: ui-monospace, monospace; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); letter-spacing: -.035em; margin: 52px 0 14px; }
.feature-grid p, .trust p { color: var(--muted); line-height: 1.65; }

.trust { margin: 40px 0 110px; padding: 46px; border-radius: 28px; background: linear-gradient(135deg, var(--trust-start), var(--trust-end)); display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: end; }
.trust h2 { margin: 18px 0 0; }
.trust p { margin: 0; }
footer { min-height: 90px; padding-block: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; align-items: center; color: var(--muted); }
footer > a { display: inline-flex; min-height: 44px; align-items: center; }
.footer-admin { min-height: 44px; font-size: .9rem; color: var(--text); }
.footer-admin:hover { color: var(--accent); border-color: var(--accent); }
.footer-admin:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

@media (max-width: 760px) {
  .site-header { gap: 16px; }
  .brand-logo { width: 136px; }
  .site-header, main, footer { width: min(100% - 28px, 1120px); }
  nav > a:not(.nav-cta) { display: none; }
  nav { gap: 10px; }
  .theme-toggle { padding-inline: 11px; }
  .theme-toggle span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .theme-menu { position: fixed; top: 70px; right: 14px; width: min(276px, calc(100vw - 28px)); }
  .hero { min-height: 520px; padding-top: 40px; }
  .feature-grid, .trust { grid-template-columns: 1fr; }
  .feature-grid { padding: 45px 0; }
  .feature-grid article { min-height: 210px; }
  .trust { padding: 28px; gap: 24px; margin-bottom: 70px; }
  .footer-admin { width: 100%; }
}
