:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --border: rgba(15, 23, 42, 0.12);
  --shadow: 0 12px 40px rgba(2, 6, 23, 0.08);
  --shadow-soft: 0 8px 24px rgba(2, 6, 23, 0.06);
  --primary: #2563eb;
  --primary-2: #1d4ed8;
  --focus: rgba(37, 99, 235, 0.35);
  --radius: 16px;
  --radius-sm: 12px;
  --max: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #070a12;
    --surface: #0b1220;
    --surface-2: #0f1a2b;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --border: rgba(148, 163, 184, 0.18);
    --shadow: 0 16px 52px rgba(0, 0, 0, 0.35);
    --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.25);
    --primary: #60a5fa;
    --primary-2: #3b82f6;
    --focus: rgba(96, 165, 250, 0.42);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #070a12;
  --surface: #0b1220;
  --surface-2: #0f1a2b;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --border: rgba(148, 163, 184, 0.18);
  --shadow: 0 16px 52px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.25);
  --primary: #60a5fa;
  --primary-2: #3b82f6;
  --focus: rgba(96, 165, 250, 0.42);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: radial-gradient(1200px 600px at 20% -10%, rgba(37, 99, 235, 0.16), transparent),
    radial-gradient(1000px 500px at 90% 10%, rgba(99, 102, 241, 0.12), transparent),
    var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration-color: rgba(37, 99, 235, 0.6);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: rgba(37, 99, 235, 1);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 10px;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: 0.95em;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 14px;
  box-shadow: var(--shadow-soft);
  transform: translateY(-160%);
  transition: transform 160ms ease;
  z-index: 1000;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

:root[data-theme="dark"] .site-header {
  background: rgba(11, 18, 32, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 240px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.22);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand-tag {
  font-size: 13px;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.nav a {
  padding: 10px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 550;
  font-size: 14px;
}

.nav a[aria-current="page"] {
  color: var(--text);
  background: var(--surface-2);
}

.nav a:hover {
  color: var(--text);
  background: var(--surface-2);
}

.icon-button {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 12px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
}

.icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  color: var(--text);
}

.icon-menu {
  background:
    linear-gradient(currentColor 0 0) 0 3px / 100% 2px,
    linear-gradient(currentColor 0 0) 0 8px / 100% 2px,
    linear-gradient(currentColor 0 0) 0 13px / 100% 2px;
  background-repeat: no-repeat;
  border-radius: 2px;
}

.icon-theme {
  position: relative;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.icon-theme::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(2px, 2px);
  opacity: 0.25;
}

.menu-toggle {
  display: none;
}

.hero {
  padding: 54px 0 28px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.eyebrow {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 12px;
  line-height: 1.05;
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
}

.lead {
  margin: 0 0 22px;
  font-size: 1.08rem;
  color: var(--muted);
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 22px;
}

.cta-row-tight {
  margin-top: 14px;
  margin-bottom: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 650;
  font-size: 14px;
  box-shadow: var(--shadow-soft);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0);
}

.button-primary:hover {
  filter: brightness(1.02);
}

.button-ghost {
  background: var(--surface);
  color: var(--text);
}

.button-ghost:hover {
  background: var(--surface-2);
}

.button-small {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
}

.facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.facts strong {
  color: var(--text);
  font-weight: 700;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.card-glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.92));
}

:root[data-theme="dark"] .card-glass {
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.58), rgba(11, 18, 32, 0.92));
}

.card-title {
  margin: 0 0 8px;
  font-size: 16px;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.92rem;
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 12px;
}

.link-list li {
  display: grid;
  gap: 2px;
}

.link-list a {
  font-weight: 700;
}

.section {
  padding: 56px 0;
}

.section-alt {
  background: rgba(241, 245, 249, 0.55);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

:root[data-theme="dark"] .section-alt {
  background: rgba(15, 26, 43, 0.55);
}

.section-head {
  max-width: 720px;
  margin-bottom: 18px;
}

h2 {
  margin: 0 0 8px;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-card-top p {
  margin: 0;
}

.product-card-actions {
  margin-top: auto;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: start;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: grid;
  gap: 10px;
}

.checklist li {
  position: relative;
  padding-left: 28px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.18);
}

.checklist li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  width: 7px;
  height: 4px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
}

.dl {
  margin: 0;
}

.dl-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.dl-row:last-child {
  border-bottom: 0;
}

dt {
  color: var(--muted);
  font-weight: 650;
}

dd {
  margin: 0;
  font-weight: 650;
}

.team-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.person-card p {
  margin: 0 0 6px;
}

.contact-card {
  margin-top: 12px;
}

.prose {
  max-width: 820px;
}

.prose ul {
  margin: 10px 0 16px;
}

.site-footer {
  padding: 26px 0 34px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.footer-title {
  margin: 0 0 8px;
}

@media (max-width: 920px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .dl-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .site-header.nav-open .nav {
    display: grid;
    position: absolute;
    top: 64px;
    right: 16px;
    left: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 10px;
    box-shadow: var(--shadow);
    gap: 4px;
  }

  .site-header.nav-open .nav a {
    padding: 12px 12px;
  }

  .header-inner {
    position: relative;
  }

  .brand {
    min-width: 0;
  }
}

