:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --text: #0f172a;
  --text-soft: #334155;
  --primary: #12304a;
  --primary-strong: #0e2538;
  --accent: #2c6e7f;
  --border: #d9e2ec;
  --focus: #2c6e7f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--primary);
}

a:hover {
  color: var(--primary-strong);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  z-index: 1000;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.98);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 0.45rem;
  background: black;
}

.brand-logo {
  max-height: 3.7rem;
  width: auto;
  display: block;
}

.brand-text {
  display: grid;
  line-height: 1.2;
  color: var(--text);
}

.brand-text strong {
  font-size: 1.04rem;
}

.brand-text span {
  font-size: 0.76rem;
  color: var(--text-soft);
}

.site-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 1rem;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--primary);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--primary-strong);
}

.hero {
  padding: 5rem 0 3.5rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 900px;
}

.hero-logo-panel {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  margin-bottom: 0.9rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--primary-strong);
  border-radius: 0.55rem;
  background: var(--primary);
}

.hero-logo {
  max-height: 5.8rem;
  width: auto;
  display: block;
}

.hero-brand-name {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.8rem;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.25;
  color: var(--primary);
}

h1 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  margin-bottom: 0.9rem;
}

h2 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.lead {
  max-width: 72ch;
  color: var(--text-soft);
}

.hero-cta {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.7rem;
}

.btn {
  display: inline-block;
  width: fit-content;
  text-decoration: none;
  border-radius: 0.35rem;
  padding: 0.7rem 1.1rem;
  font-weight: 700;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-strong);
  color: #fff;
}

.section {
  padding: 3rem 0;
}

.section-alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pill-list,
.proof-list,
.bullet-columns,
.inline-list {
  margin: 0;
  padding-left: 1.1rem;
}

.pill-list li,
.proof-list li,
.bullet-columns li {
  margin-bottom: 0.45rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.45rem;
  padding: 1rem;
}

.card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.step-list {
  margin: 0;
  padding-left: 1.25rem;
}

.step-list li {
  margin-bottom: 1rem;
}

.step-list p {
  margin: 0;
  color: var(--text-soft);
}

.note {
  margin-top: 1rem;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.inline-list li {
  position: relative;
  padding-left: 0.8rem;
}

.inline-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--accent);
}

.contact-panel {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.55rem;
  padding: 2rem;
}

.site-footer {
  background: var(--primary);
  color: #dbe7f1;
  margin-top: 2rem;
}

.footer-inner {
  padding: 1.5rem 0;
  display: grid;
  gap: 0.4rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a {
  color: #fff;
}

.site-footer p {
  margin: 0;
  line-height: 1.25;
}

@media (min-width: 901px) {
  .site-header {
    overflow: visible;
  }

  .header-inner {
    padding-top: 0;
    padding-bottom: 0.35rem;
  }

  .brand-logo-wrap {
    position: relative;
    top: 0;
    margin-bottom: -70px;
    z-index: 2;
  }

  .brand-logo {
    max-height: 150px;
  }

  .site-nav {
    padding-top: 0.35rem;
  }
}

@media (max-width: 900px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .brand-text {
    display: none;
  }
  
  .brand-logo-wrap {
    position: relative;
    top: 0;
    margin-bottom: -70px;
    z-index: 2;
  }

  .brand-logo {
    max-height: 130px;
  }

  .hero-logo {
    max-height: 5rem;
  }

  .site-nav ul {
    gap: 0.7rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 700px) {
  .header-inner {
    flex-direction: column;
  }

  .brand {
    order: 1;
  }

  .site-nav {
    order: 2;
    margin-top: 0.35rem;
  }

  .brand-logo-wrap {
    margin-bottom: 0;
  }

  .brand-text span {
    font-size: 0.72rem;
  }

  .brand-logo {
    max-height: 100px;
  }

  .hero-logo-panel {
    padding: 0.75rem 0.85rem;
  }

  .hero-logo {
    max-height: 4.4rem;
  }

  .hero {
    padding-top: 3.8rem;
  }
}