
:root {
  --bg: #f5f8fb;
  --surface: #ffffff;
  --surface-alt: #edf3f8;
  --surface-strong: #dce7f1;
  --text: #10202e;
  --text-soft: #2f4357;
  --text-muted: #61758a;
  --line: #d3dde8;
  --accent: #0f6b85;
  --accent-strong: #0a4f65;
  --accent-soft: #d7eef5;
  --hero-bg: radial-gradient(circle at top right, rgba(15, 107, 133, 0.08), transparent 34%), linear-gradient(180deg, #f9fbfe 0%, #eef4fa 100%);
  --shadow: 0 18px 42px rgba(15, 32, 46, 0.08);
  --radius: 20px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d141b;
    --surface: #111b24;
    --surface-alt: #16222d;
    --surface-strong: #1d2b37;
    --text: #eff5fb;
    --text-soft: #c3d1dd;
    --text-muted: #9eb0c1;
    --line: #273746;
    --accent: #63b8d0;
    --accent-strong: #8ad0e2;
    --accent-soft: #0f2831;
    --hero-bg: radial-gradient(circle at top right, rgba(99, 184, 208, 0.14), transparent 34%), linear-gradient(180deg, #0d141b 0%, #111b24 100%);
    --shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
    color-scheme: dark;
  }
}
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration-thickness: 0.08em; text-underline-offset: 0.16em; }
a:hover { color: var(--accent-strong); }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--surface);
  color: var(--text);
  padding: 0.75rem 1rem;
  z-index: 1000;
  box-shadow: var(--shadow);
  border-radius: 10px;
}
.skip-link:focus { top: 1rem; }
.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}
.narrow { width: min(820px, 100%); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 76%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 1rem;
}
.brand-logo { width: 220px; height: auto; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.site-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}
.site-nav a[aria-current="page"] { color: var(--accent); }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  padding: 0;
}
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin: 4px auto;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}
.hero,
.page-hero {
  background: var(--hero-bg);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.hero-grid,
.split-grid,
.intro-grid,
.footer-grid {
  display: grid;
  gap: 2rem;
}
.hero-grid {
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  padding: 4.5rem 0 4rem;
}
.page-hero .container {
  padding: 3.8rem 0 2.6rem;
}
.page-hero-compact .container { padding-bottom: 2.2rem; }
.hero-copy h1,
.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1.1rem;
}
.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.lead {
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  color: var(--text-soft);
  max-width: 62ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.75rem 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  background: var(--accent);
  color: white;
}
.button-primary:hover {
  background: var(--accent-strong);
  color: white;
}
.button-secondary {
  color: var(--accent);
  background: transparent;
}
.hero-panel-card,
.callout,
.info-card,
.stat-card,
.product-card,
.team-card,
.timeline-card,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-panel {
  display: grid;
  gap: 1rem;
}
.hero-mark {
  width: min(300px, 78%);
  justify-self: end;
  filter: drop-shadow(0 14px 40px rgba(15, 32, 46, 0.08));
}
.hero-panel-card,
.callout,
.info-card,
.product-card,
.contact-card {
  padding: 1.35rem 1.35rem 1.25rem;
}
.panel-label,
.product-kicker {
  margin: 0 0 0.45rem;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}
.panel-title {
  margin: 0 0 0.5rem;
  font-weight: 800;
  font-size: 1.18rem;
}
.credibility-list,
.feature-list,
.footer-links,
.contact-list {
  padding-left: 1.2rem;
  margin: 0.75rem 0 0;
}
.section .container { padding: 4.25rem 0; }
.section-alt { background: color-mix(in srgb, var(--surface-alt) 72%, transparent); }
.intro-grid,
.split-grid { grid-template-columns: 1.45fr 1fr; align-items: start; }
.card-grid,
.stats-grid,
.team-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-card {
  padding: 1.35rem;
  min-height: 190px;
}
.stat-value {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  font-weight: 900;
  margin: 0 0 0.9rem;
  letter-spacing: -0.04em;
  color: var(--text);
}
.stat-label {
  margin: 0;
  color: var(--text-soft);
}
.info-card h2,
.callout h3,
.product-card h2,
.timeline-card h2,
.contact-card h2 {
  margin-top: 0;
  line-height: 1.15;
}
.timeline-card {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.product-card-featured {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 82%, transparent), color-mix(in srgb, var(--accent-soft) 36%, var(--surface) 64%));
}
.architecture-diagram {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}
.diagram-stack {
  display: grid;
  gap: 0.9rem;
  margin: 1.25rem auto 0;
  max-width: 620px;
}
.diagram-box {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 80%, transparent), color-mix(in srgb, var(--accent-soft) 20%, var(--surface) 80%));
  border-radius: 16px;
  padding: 1rem 1.1rem;
}
.diagram-box strong { display: block; font-size: 1.06rem; }
.diagram-arrow {
  justify-self: center;
  color: var(--text-muted);
  font-size: 1.35rem;
  line-height: 1;
}
.diagram-note {
  margin-top: 1rem;
  color: var(--text-soft);
}
.team-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  overflow: hidden;
  align-items: start;
}
.team-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center top;
  background: var(--surface-strong);
  align-self: start;
  padding: 0.75rem;
}
.team-copy {
  padding: 1.3rem;
}
.team-role {
  margin-top: -0.35rem;
  color: var(--accent);
  font-weight: 700;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 60%, transparent);
}
.footer-grid {
  grid-template-columns: 1.3fr 1fr 0.8fr;
  align-items: start;
  padding: 3rem 0 1.75rem;
}
.footer-logo { width: 220px; margin-bottom: 1rem; }
.footer-heading {
  font-size: 1rem;
  margin-top: 0;
}
.footer-tagline {
  color: var(--text-soft);
  max-width: 52ch;
}
.footer-bottom {
  padding: 0 0 2rem;
  color: var(--text-muted);
}
.contact-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.2fr 1fr;
}
.contact-list li { margin-bottom: 0.4rem; }
.muted { color: var(--text-muted); }
.inline-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}
@media (max-width: 980px) {
  .hero-grid,
  .split-grid,
  .intro-grid,
  .footer-grid,
  .contact-grid,
  .timeline-card,
  .card-grid,
  .stats-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  .hero-mark { justify-self: start; width: min(260px, 72%); }
}
@media (max-width: 780px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute;
    right: 1rem;
    top: calc(100% + 0.5rem);
    width: min(320px, calc(100% - 2rem));
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 0.8rem;
    display: none;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .team-card { grid-template-columns: 1fr; }
  .team-photo {
  min-height: 280px;
  aspect-ratio: 4 / 3;
  object-position: center 18%;
}
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
