:root {
  --ink: #0b1111;
  --ink-soft: #111918;
  --ink-raised: #16201e;
  --paper: #e8ede7;
  --paper-bright: #f4f6f1;
  --white: #f3f6f2;
  --text: #c5d4d2;
  --muted: #93a7a3;
  --line: #2d3e3a;
  --line-paper: #bdc9c1;
  --accent: #36d6c5;
  --accent-dark: #08786d;
  --display: "Helvetica Neue", "Neue Haas Grotesk Display", "Arial Nova", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shell: 1360px;
  --gutter: clamp(20px, 4vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}
body, button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
img, svg { display: block; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.shell { width: min(calc(100% - (2 * var(--gutter))), var(--shell)); margin-inline: auto; }
.section { padding: clamp(96px, 10vw, 152px) 0; }
.section--paper { background: var(--paper); color: #111817; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 20px; height: 1px; background: currentColor; }
.section--paper .eyebrow { color: #53665f; }
.eyebrow--accent { color: var(--accent); }
.display {
  margin: 0;
  font-size: clamp(46px, 5.2vw, 76px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1.02;
}
.lead { margin: 0; color: var(--text); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; }
.section--paper .lead { color: #41534d; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 0 19px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  background: var(--accent);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.button:hover { background: #64e2d4; border-color: #64e2d4; }
.button svg { width: 15px; height: 15px; transition: transform 180ms ease; }
.button:hover svg { transform: translate(2px, -2px); }
.button--small { min-height: 42px; gap: 20px; padding-inline: 16px; font-size: 13px; }
.button--dark { background: #111817; border-color: #111817; color: var(--paper-bright); }
.button--dark:hover { background: #263832; border-color: #263832; }
.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}
.text-link span { border-bottom: 1px solid #60736e; padding-bottom: 2px; }
.text-link:hover { color: var(--white); }
.text-link:hover span { border-color: var(--accent); }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); }
.site-header__inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark { width: 25px; height: 25px; color: var(--accent); }
.brand__name { font-size: 24px; font-weight: 600; letter-spacing: -.055em; line-height: 1; }
.nav { display: flex; align-items: center; gap: clamp(22px, 2.2vw, 38px); margin-left: auto; }
.nav a { position: relative; color: var(--text); font-size: 14px; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--accent); transition: right 180ms ease; }
.nav a:hover { color: var(--white); }
.nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 24px; }
.login { color: var(--text); font-size: 14px; }
.login:hover { color: var(--white); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; }
.menu-toggle span { display: block; width: 22px; height: 1px; margin: 6px auto; background: var(--white); transition: transform 180ms ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.site-footer { padding: 52px 0 30px; }
.site-footer__top { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; padding-bottom: 72px; }
.site-footer__brand p { max-width: 270px; margin: 20px 0 0; color: var(--muted); font-size: 12px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-links__group { display: flex; flex-direction: column; gap: 12px; }
.footer-links__group strong { margin-bottom: 6px; color: #758a85; font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.footer-links__group a { width: max-content; color: var(--text); font-size: 13px; }
.footer-links__group a:hover { color: var(--accent); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 25px; border-top: 1px solid var(--line); color: #758a85; font-size: 11px; }


.site-header, .site-footer { background: var(--ink); color: var(--white); }
.site-header .brand, .site-footer .brand { color: var(--white); }
.mobile-login { display: none; }
.site-footer { border-top: 1px solid var(--line); }
@media (max-width: 1120px) {
  .nav { gap: 20px; }
  .header-actions { gap: 18px; }
}
@media (max-width: 900px) {
  .site-header__inner { min-height: 74px; flex-wrap: wrap; gap: 10px 18px; }
  .header-actions { margin-left: auto; }
  .nav { order: 3; width: 100%; margin: 0; flex-wrap: wrap; padding: 10px 0 18px; }
  .has-menu .menu-toggle { display: block; }
  .has-menu .nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none;
    padding: 18px var(--gutter); border-bottom: 1px solid var(--line); background: var(--ink-soft);
  }
  .has-menu .nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding-block: 8px; }
  .site-footer__top { grid-template-columns: 1fr; padding-bottom: 44px; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  html { scroll-padding-top: 20px; }
  .header-actions { gap: 8px; }
  .header-actions .login { display: none; }
  .mobile-login { display: block; }
  .header-actions .button { padding-inline: 12px; }
  .brand { gap: 8px; }
  .brand__name { font-size: 23px; }
  .display { font-size: clamp(42px, 12vw, 58px); }
  .footer-links { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .site-footer__bottom { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
