:root {
  color-scheme: light;
  --aubergine: #3a2748;
  --aubergine-deep: #24182e;
  --teal: #0e7c78;
  --sea-glass: #cde7e2;
  --ground: #f8f6ef;
  --graphite: #1f2326;
  --muted: #62686b;
  --line: #d9d6ce;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--graphite);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 10; padding: .75rem 1rem; background: white; color: var(--graphite); }
.skip-link:focus { top: 1rem; }
.site-header {
  align-items: center;
  background: var(--aubergine-deep);
  color: white;
  display: flex;
  justify-content: space-between;
  min-height: 76px;
  padding: 1rem max(1.5rem, calc((100vw - var(--max)) / 2));
}
.brand img { width: 156px; }
nav { display: flex; gap: clamp(1rem, 3vw, 2.25rem); }
nav a { color: #f8f6ef; font-size: .92rem; font-weight: 600; text-decoration: none; }
nav a:hover, nav a:focus-visible { text-decoration: underline; text-underline-offset: .35rem; }
.hero {
  align-items: center;
  background: var(--aubergine);
  color: white;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  min-height: 640px;
  overflow: hidden;
  padding: clamp(4rem, 9vw, 8rem) max(1.5rem, calc((100vw - var(--max)) / 2));
  position: relative;
}
.hero::after { background: var(--teal); content: ""; height: 4px; inset: auto 0 0; position: absolute; }
.hero-copy { max-width: 760px; position: relative; z-index: 1; }
.eyebrow { color: var(--teal); font-size: .78rem; font-weight: 800; letter-spacing: .14em; margin: 0 0 1rem; text-transform: uppercase; }
.hero .eyebrow { color: #8ed6ce; }
h1, h2, h3 { letter-spacing: -.035em; line-height: 1.08; margin-top: 0; }
h1 { font-size: clamp(3rem, 7.4vw, 6.5rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 3.7rem); margin-bottom: 1.25rem; max-width: 780px; }
h3 { font-size: 1.35rem; margin-bottom: .7rem; }
.lede { color: #e7e0eb; font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 700px; }
.actions { align-items: center; display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.button { border: 2px solid transparent; border-radius: .25rem; display: inline-block; font-weight: 750; padding: .78rem 1.15rem; text-decoration: none; }
.button.primary { background: var(--teal); color: white; }
.button.secondary { border-color: #aa9ab5; color: white; }
.button:hover, .button:focus-visible { box-shadow: 0 0 0 4px rgba(205,231,226,.35); transform: translateY(-1px); }
.hero-mark { filter: drop-shadow(0 26px 36px rgba(0,0,0,.26)); justify-self: end; opacity: .95; width: min(34vw, 410px); }
.proof { background: white; display: grid; gap: 0; grid-template-columns: repeat(3, 1fr); margin: 0 auto; max-width: var(--max); }
.proof p { border-right: 1px solid var(--line); margin: 0; padding: 1.75rem; }
.proof p:last-child { border: 0; }
.proof strong, .proof span { display: block; }
.proof span { color: var(--muted); font-size: .92rem; margin-top: .2rem; }
.section { margin: 0 auto; max-width: var(--max); padding: clamp(5rem, 9vw, 8rem) 1.5rem; }
.cards { display: grid; gap: 1px; grid-template-columns: repeat(2, 1fr); background: var(--line); border: 1px solid var(--line); margin-top: 3rem; }
.cards article { background: var(--ground); min-height: 240px; padding: clamp(1.5rem, 4vw, 3rem); }
.cards p { color: var(--muted); max-width: 480px; }
.number { color: var(--teal); display: block; font: 700 .8rem ui-monospace, monospace; margin-bottom: 2.25rem; }
.terminal-section { background: var(--graphite); color: white; display: grid; gap: clamp(2rem, 8vw, 7rem); grid-template-columns: .8fr 1.2fr; padding: clamp(5rem, 9vw, 8rem) max(1.5rem, calc((100vw - var(--max)) / 2)); }
.terminal-section p:not(.eyebrow) { color: #cbd0d2; }
pre { background: #111416; border-left: 4px solid var(--teal); border-radius: .25rem; margin: 0; overflow-x: auto; padding: clamp(1.25rem, 4vw, 2rem); }
code { color: var(--aubergine); font: .9rem/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; }
pre code { color: #e7ecec; }
pre code span { color: #73cbc3; }
.status { text-align: left; }
.status > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; max-width: 850px; }
.status .primary { background: var(--aubergine); }
.text-link { color: var(--aubergine); font-weight: 750; text-underline-offset: .3rem; }
footer { align-items: center; background: var(--aubergine-deep); color: #d6cedb; display: flex; justify-content: space-between; padding: 2rem max(1.5rem, calc((100vw - var(--max)) / 2)); }
footer img { width: 120px; }
footer p { font-size: .85rem; margin: 0; }

@media (max-width: 760px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: .75rem; }
  .brand img { width: 132px; }
  nav { flex-wrap: wrap; gap: .5rem 1rem; }
  nav a { font-size: .8rem; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { min-width: 0; }
  h1 { font-size: clamp(2.55rem, 12vw, 3.4rem); overflow-wrap: anywhere; }
  .actions { align-items: stretch; flex-direction: column; }
  .button { text-align: center; width: 100%; }
  .hero-mark { display: none; }
  .proof, .cards, .terminal-section { grid-template-columns: 1fr; }
  .terminal-section > *, pre { max-width: 100%; min-width: 0; }
  .proof p { border-bottom: 1px solid var(--line); border-right: 0; }
  footer { align-items: flex-start; flex-direction: column; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media (forced-colors: active) {
  .hero::after, .number { color: LinkText; }
  .button { border-color: ButtonText; }
}
