:root {
  --ink: #1d1f24;
  --ink-2: #5f6670;
  --bg: #ffffff;
  --bg-alt: #f4f5f7;
  --rule: #e2e5ea;
  --navy: #0a1630;
  --navy-2: #13234a;
  --on-navy: #f2f5fb;
  --on-navy-2: #aab6cc;
  --blue: #2563eb;
  --blue-hover: #1d4fd0;
  --link: #1f5ce0;
  --teal: #2fc6b8;
  --violet: #7c5cf0;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: 70rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Global nav: thin translucent bar */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 22, 48, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3rem;
}
.nav .brand {
  color: var(--on-navy);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.nav .brand:hover { text-decoration: none; }
.nav ul {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav ul a {
  color: var(--on-navy-2);
  font-size: 0.8125rem;
}
.nav ul a:hover,
.nav ul a[aria-current="page"] { color: var(--on-navy); text-decoration: none; }
@media (max-width: 30rem) {
  .nav ul { gap: 1rem; }
  .nav .hide-sm { display: none; }
}

/* Buttons: pill, filled and outline */
.btn {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: background-color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn-fill { background: var(--blue); color: #fff; }
.btn-fill:hover { background: var(--blue-hover); }
.btn-line { border-color: currentColor; color: var(--on-navy); }
.btn-line:hover { background: rgba(255, 255, 255, 0.08); }
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
  margin-top: 2rem;
}

/* Hero: dark navy with sweeping gradient arcs */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, var(--navy-2) 0%, var(--navy) 62%);
  color: var(--on-navy);
  text-align: center;
  padding: clamp(5rem, 13vw, 9.5rem) 0 clamp(5rem, 12vw, 9rem);
}
.hero .arcs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero .container { position: relative; }
.hero .name {
  margin: 0 0 1rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  color: var(--on-navy-2);
  letter-spacing: 0.01em;
}
.hero h1 {
  max-width: 15ch;
  margin: 0 auto;
  font-size: clamp(2.6rem, 7.2vw, 5.25rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.hero .sub {
  max-width: 36rem;
  margin: 1.5rem auto 0;
  font-size: clamp(1.1rem, 2.1vw, 1.375rem);
  line-height: 1.45;
  color: var(--on-navy-2);
}

/* Section frames */
.band { padding: clamp(4rem, 9vw, 7rem) 0; }
.band-alt { background: var(--bg-alt); }
.band-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.band-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.band-head p {
  margin: 1.25rem auto 0;
  max-width: 38rem;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--ink-2);
}

/* Capability tiles */
.tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 56rem) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
}
.tile {
  background: var(--bg);
  border-radius: 1.5rem;
  padding: 2.25rem 2rem 2.25rem;
}
.tile .icon {
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1.5rem;
  display: block;
}
.tile h3 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.tile p { margin: 0 0 1.25rem; color: var(--ink-2); }
.tile ul {
  margin: 0;
  padding: 1.25rem 0 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}
.tile li { padding: 0.3rem 0; }

/* Lifecycle: a real sequence, so it is numbered */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
@media (min-width: 40rem) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .steps { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; } }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--blue) 55%, var(--violet));
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}
.steps h3 { margin: 0 0 0.5rem; font-size: 1.25rem; letter-spacing: -0.01em; }
.steps p { margin: 0; color: var(--ink-2); }

/* About: centered statement */
.statement {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}
.statement p {
  margin: 0 0 1.25rem;
  font-size: clamp(1.1rem, 1.9vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-2);
}
.statement p:last-child { margin-bottom: 0; }
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1.25rem;
  max-width: 52rem;
  margin: 3rem auto 0;
  padding: 0;
}
.facts div {
  background: var(--bg-alt);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
}
.band-alt .facts div { background: var(--bg); }
.facts dt { font-size: 0.875rem; color: var(--ink-2); margin-bottom: 0.25rem; }
.facts dd { margin: 0; font-weight: 600; }

/* Contact band */
.contact {
  background: var(--navy);
  color: var(--on-navy);
  text-align: center;
}
.contact .band-head h2 { color: var(--on-navy); }
.contact .band-head p { color: var(--on-navy-2); }
.contact .email {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: clamp(1.4rem, 3.5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--on-navy);
  background-image: linear-gradient(90deg, var(--teal), var(--blue), var(--violet));
  background-size: 100% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 0.2rem;
}
.contact .email:hover { text-decoration: none; color: #fff; }
.contact .note { margin: 1.5rem 0 0; color: var(--on-navy-2); font-size: 0.95rem; }

/* Long-form page */
.doc-hero {
  background: var(--bg-alt);
  text-align: center;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4rem);
}
.doc-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.doc-hero p { margin: 1rem 0 0; color: var(--ink-2); }
.doc {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}
.doc h2 {
  margin: 2.5rem 0 0.6rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.doc h2:first-child { margin-top: 0; }
.doc p, .doc ul { margin: 0 0 1rem; }
.doc li { margin-bottom: 0.4rem; }

/* Footer: small, quiet, Apple-style */
.footer {
  background: var(--bg-alt);
  color: var(--ink-2);
  font-size: 0.8125rem;
  line-height: 1.5;
  padding: 2rem 0 2.5rem;
}
.footer .cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.footer h4 { margin: 0 0 0.5rem; color: var(--ink); font-size: 0.8125rem; font-weight: 600; }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li { margin: 0.3rem 0; }
.footer a { color: var(--ink-2); }
.footer a:hover { color: var(--ink); }
.footer .legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-top: 1rem;
}
.footer .legal p { margin: 0; }

h1, h2, h3 { text-wrap: balance; }
.hero .sub, .band-head p, .statement p { text-wrap: pretty; }
