:root {
  color-scheme: light;
  --bg: #f3f6f5;
  --paper: #ffffff;
  --ink: #0c1715;
  --muted: #5e6d69;
  --line: #cfd9d6;
  --line-dark: #273a36;
  --panel: #101d1a;
  --panel-soft: #172723;
  --signal: #2fd39a;
  --signal-deep: #087f60;
  --blue: #91b8ff;
  --warn: #f0bd63;
  --shell: 1180px;
  --display: "SF Pro Display", "Segoe UI Variable Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
button { font: inherit; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; letter-spacing: -.025em; }
h1 { font-size: clamp(2.85rem, 4.4vw, 4.25rem); font-weight: 650; }
h2 { font-size: clamp(2rem, 3.25vw, 3.35rem); font-weight: 640; }
h3 { font-size: clamp(1.25rem, 1.6vw, 1.65rem); font-weight: 650; }
p { margin-bottom: 1rem; }

.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--signal); color: var(--ink); padding: 10px 14px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(207, 217, 214, .9);
  background: rgba(243, 246, 245, .92);
  backdrop-filter: blur(16px) saturate(130%);
}
.topbar .shell { min-height: 74px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-weight: 780; letter-spacing: -.02em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand small { display: block; font-family: var(--mono); font-size: 9px; font-weight: 500; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }
.mainnav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.mainnav a { position: relative; color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 640; }
.mainnav a::after { content: ""; position: absolute; inset: auto 0 -8px; height: 2px; background: var(--signal-deep); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.mainnav a:hover, .mainnav a.is-active { color: var(--ink); }
.mainnav a:hover::after, .mainnav a.is-active::after { transform: scaleX(1); }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 43px; height: 43px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 50%; cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 17px; height: 1.5px; margin: auto; background: currentColor; content: ""; transition: transform .18s ease; }
.menu-toggle span { position: relative; }
.menu-toggle span::before { position: absolute; top: -5px; }
.menu-toggle span::after { position: absolute; top: 5px; }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; font-family: var(--mono); font-size: .74rem; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; color: var(--signal-deep); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--signal); }
.lede { color: var(--muted); font-size: clamp(1.04rem, 1.8vw, 1.24rem); line-height: 1.62; }
.section { padding: clamp(76px, 10vw, 132px) 0; }
.section--white { background: var(--paper); }
.section--dark { background: var(--panel); color: #eef8f5; }
.section-head { display: grid; grid-template-columns: 1fr minmax(280px, .62fr); align-items: end; gap: 48px; margin-bottom: 54px; }
.section-head h2 { margin-bottom: 0; }
.section-head p { margin: 0; color: var(--muted); }
.section--dark .section-head p { color: #aebfba; }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 14px; padding: 11px 18px; border: 1px solid var(--ink); background: var(--ink); color: #fff; text-decoration: none; font-size: .92rem; font-weight: 720; transition: background .18s, color .18s, transform .18s; }
.button::after { content: "\2192"; font-size: 1.15em; }
.button:hover { background: var(--signal); color: var(--ink); transform: translateY(-2px); }
.button--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.button--ghost:hover { border-color: var(--ink); background: var(--paper); }
.button--signal { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.button--signal:hover { background: #fff; border-color: #fff; }
.button[aria-disabled="true"] { cursor: default; opacity: .68; transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.foot { background: #091310; color: #d9e5e1; border-top: 1px solid var(--line-dark); padding: 66px 0 26px; }
.foot-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 46px; }
.foot .brand { color: #fff; }
.foot-intro { max-width: 390px; margin-top: 18px; color: #91a39e; font-size: .9rem; }
.foot h4 { margin: 0 0 14px; color: #78908a; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin: 8px 0; }
.foot a { color: #d9e5e1; text-decoration: none; font-size: .9rem; }
.foot a:hover { color: var(--signal); }
.foot-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 52px; padding-top: 21px; border-top: 1px solid #24352f; color: #6f8580; font-family: var(--mono); font-size: .7rem; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }

@media (max-width: 960px) {
  .topbar .shell { min-height: 66px; }
  .menu-toggle { display: grid; place-items: center; }
  .mainnav { position: fixed; inset: 66px 0 auto; display: grid; gap: 0; padding: 12px 20px 26px; border-bottom: 1px solid var(--line); background: var(--bg); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .18s ease; }
  .mainnav.is-open { opacity: 1; visibility: visible; transform: none; }
  .mainnav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .mainnav a::after { display: none; }
  .topbar-actions .button { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 580px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  h1 { font-size: clamp(2.65rem, 12vw, 3.6rem); }
  .section { padding: 72px 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .foot-bottom { flex-direction: column; }
}
