:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-alt: #f5f6fa;
  --surface: #ffffff;
  --text: #12162a;
  --muted: #565d75;
  --rule: #e2e5ee;
  --accent: #4545d8;
  --header: rgb(255 255 255 / 85%);
  --ink-dark: #0b0e1a;
  --on-dark: #f4f5fb;
  --on-dark-muted: #b9bfd4;
  --radius: 1rem;
  --font: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0e1a;
    --bg-alt: #11152a;
    --surface: #151a31;
    --text: #eef0f8;
    --muted: #a8aec4;
    --rule: #272d47;
    --accent: #a5adff;
    --header: rgb(11 14 26 / 85%);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: .18em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: .25rem; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); font-weight: 650; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 650; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }

.wrap { width: min(72rem, 100% - 2rem); margin-inline: auto; }
.eyebrow {
  margin: 0 0 .75rem;
  color: var(--accent);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.muted { color: var(--muted); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(11 14 26 / 92%); /* dark in both themes: the logo is made for a dark background */
  border-bottom: 1px solid rgb(255 255 255 / 10%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .25rem 1.5rem;
  padding-block: .6rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--on-dark);
  font-weight: 600;
  letter-spacing: -.01em;
  text-decoration: none;
}
.brand img { width: 4.25rem; }
.site-nav { display: flex; gap: 1.5rem; }
.site-nav a { color: var(--on-dark-muted); font-size: .975rem; font-weight: 500; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--on-dark); }
.site-header a:focus-visible { outline-color: var(--on-dark); }

/* Buttons */
.button {
  display: inline-block;
  padding: .7rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.button.primary { background: var(--on-dark); color: var(--ink-dark); }
.button.primary:hover { background: #fff; }
.button.ghost { border: 1px solid rgb(255 255 255 / 35%); color: var(--on-dark); }
.button.ghost:hover { border-color: var(--on-dark); }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--ink-dark); color: var(--on-dark); }
.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  opacity: .4;
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(4rem, 9vw, 7.5rem);
}
.hero h1 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); }
.hero .lede { max-width: 34rem; margin: 1.5rem 0 0; color: var(--on-dark-muted); font-size: 1.25rem; }
.hero .hero-logo { width: 100%; }
@media (max-width: 50rem) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero .hero-logo { order: -1; width: min(17rem, 80%); margin-inline: auto; }
}

/* Sections */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.section-head h2 + p { margin: 1rem 0 0; color: var(--muted); font-size: 1.15rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; }
.card {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.card svg { width: 2rem; height: 2rem; margin-bottom: 1rem; fill: none; stroke: var(--accent); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-bottom: .5rem; }
.card p { margin: 0; color: var(--muted); }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split img { width: 100%; border-radius: var(--radius); }
.split h2 { margin-bottom: 1rem; }
.split .reverse-first { order: 2; }
@media (max-width: 50rem) { .split .reverse-first { order: 0; } }

.feature-list { margin: 1.25rem 0; padding: 0; list-style: none; }
.feature-list li { position: relative; margin-bottom: .6rem; padding-left: 1.5rem; }
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .6rem;
  height: .6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5b7, #a855f7);
}
.steps { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.steps h3 { margin-bottom: .25rem; }
.steps p { margin: 0; color: var(--muted); }

/* Call to action */
.cta { background: linear-gradient(115deg, #0b3a4d, #27278f 55%, #5b2293); color: var(--on-dark); }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 3.5rem; }

/* Inner pages */
.page-banner { position: relative; overflow: hidden; background: var(--ink-dark); color: var(--on-dark); }
.page-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner .wrap { position: relative; padding-block: clamp(3.5rem, 8vw, 5.5rem); }
.page-banner p { max-width: 36rem; margin: 1rem 0 0; color: var(--on-dark-muted); font-size: 1.2rem; }
.prose { max-width: 44rem; padding-block: 3rem 4rem; }
.prose h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }
.prose h2 { font-size: 1.5rem; margin: 2.5rem 0 .5rem; }
.prose ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.prose li { margin-bottom: .4rem; }
.draft { border: 1px solid var(--accent); border-radius: .5rem; padding: .5rem .75rem; color: var(--accent); }

/* Contact form */
.contact-form { max-width: 36rem; }
.field { margin-bottom: 1.25rem; }
.field label { display: block; margin-bottom: .35rem; font-weight: 600; font-size: .975rem; }
.field .optional { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%;
  padding: .7rem .85rem;
  border: 1px solid var(--rule);
  border-radius: .6rem;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.trap { position: absolute; left: -100vw; width: 1px; height: 1px; overflow: hidden; }
.button.submit { border: 0; background: var(--accent); color: var(--bg); font: inherit; font-weight: 600; cursor: pointer; }
.button.submit:hover { opacity: .9; }
.button.submit:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.form-note { margin: 1rem 0 0; color: var(--muted); font-size: .9rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); background: var(--bg-alt); color: var(--muted); font-size: .95rem; }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 2rem;
}
.site-footer p { margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-nav a { color: inherit; text-decoration: none; }
.footer-nav a:hover { color: var(--text); text-decoration: underline; }
