/* Aevos Inc. marketing site. One stylesheet, no external assets. */

:root {
  --ink: #14171c;
  --ink-soft: #3d4450;
  --paper: #ffffff;
  --wash: #f3f5f8;
  --rule: #d5dae2;
  --accent: #1f4fbf;
  --accent-ink: #163a8f;
  --content: 62rem;
  --narrow: 46rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent-ink);
}

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

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2rem, 1.2rem + 3vw, 3rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.45rem, 1.1rem + 1.5vw, 2rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.2rem;
  margin: 1.25rem 0 0.4rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.3rem;
}

li {
  margin-bottom: 0.45rem;
}

.wrap {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.narrow {
  max-width: var(--narrow);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 10;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: #ffffff;
  border-radius: 4px;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

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

.site-nav li {
  margin: 0;
}

.site-nav a {
  display: inline-block;
  min-height: 44px;
  padding: 0.6rem 0.1rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.site-nav a[aria-current="page"] {
  color: var(--accent-ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

/* Page sections */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.page-head {
  padding: 3.5rem 0 2rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.lead {
  max-width: 42rem;
  font-size: 1.2rem;
  color: var(--ink-soft);
}

.section {
  padding: 3.5rem 0;
}

.band {
  background: var(--wash);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.fineprint {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Buttons */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.3rem;
  border: 2px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: var(--accent-ink);
  border-color: var(--accent-ink);
  color: #ffffff;
}

.button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.button-secondary {
  background: var(--paper);
  color: var(--accent-ink);
}

.button-secondary:hover {
  background: var(--wash);
  color: var(--accent-ink);
}

/* Cards and facts */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0 0;
}

.card {
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 10px;
}

.card > :first-child {
  margin-top: 0;
}

.card > :last-child {
  margin-bottom: 0;
}

.price {
  margin: 0 0 0.9rem;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink);
}

.notice {
  margin: 1.5rem 0 2rem;
  padding: 1rem 1.25rem;
  background: var(--wash);
  border: 1px solid var(--rule);
  border-radius: 6px;
}

.notice p:last-child {
  margin-bottom: 0;
}

.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.6rem 1.5rem;
  margin: 1.5rem 0 0;
}

.facts dt {
  font-weight: 700;
}

.facts dd {
  margin: 0;
}

/* Legal pages */

.legal h2 {
  margin-top: 2.5rem;
  font-size: 1.4rem;
}

.legal h2:first-of-type {
  margin-top: 1.5rem;
}

/* Footer */

.site-footer {
  padding: 2rem 0;
  background: var(--wash);
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0 0 0.75rem;
}

.site-footer a {
  color: var(--accent-ink);
}

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

.site-footer li {
  margin: 0;
}

/* Small screens */

@media (max-width: 40rem) {
  .hero {
    padding-top: 2.75rem;
  }

  .page-head {
    padding-top: 2.25rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .actions .button {
    width: 100%;
  }

  .facts {
    grid-template-columns: 1fr;
    gap: 0.1rem 0;
  }

  .facts dt {
    margin-top: 0.8rem;
  }
}
