:root {
  color-scheme: light;
  --ink: #10202f;
  --muted: #52616d;
  --paper: #fbf8f1;
  --surface: #ffffff;
  --line: #dcd7ca;
  --blue: #2458ff;
  --teal: #087c72;
  --rose: #b85b62;
  --gold: #c58a1b;
  --leaf: #557b44;
  --shadow: 0 22px 60px rgb(28 41 48 / 12%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.shell {
  min-height: 100vh;
  overflow: hidden;
}

.topbar {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  left: 0;
  margin: 0 auto;
  max-width: 1180px;
  padding: 22px 24px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 3;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  font-size: .95rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: #10234a;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nav a {
  border: 1px solid rgb(16 32 47 / 12%);
  border-radius: 999px;
  color: #172c3d;
  font-size: .85rem;
  font-weight: 750;
  padding: 8px 12px;
  text-decoration: none;
}

.hero {
  isolation: isolate;
  min-height: 82svh;
  padding: 108px 24px 52px;
  position: relative;
}

.hero::before {
  background:
    radial-gradient(circle at 18% 22%, rgb(255 255 255 / 78%) 0, rgb(255 255 255 / 0%) 38%),
    linear-gradient(130deg, #f8f0df 0%, #fdfaf4 44%, #e6f3ef 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: -2;
}

.hero-inner {
  align-items: end;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1180px;
  min-height: calc(82svh - 160px);
  position: relative;
}

.mascot {
  bottom: -54px;
  filter: drop-shadow(0 28px 42px rgb(20 28 44 / 20%));
  height: min(72vw, 780px);
  max-height: 82svh;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
  position: absolute;
  right: max(-92px, -8vw);
  width: min(74vw, 760px);
  z-index: -1;
}

.hero-copy {
  max-width: 690px;
  padding-bottom: 18px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--teal);
  font-size: .8rem;
  font-weight: 850;
  letter-spacing: .12em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3.3rem, 9vw, 7.6rem);
  line-height: .9;
  margin: 0;
  max-width: 780px;
}

.lede {
  color: #314454;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  margin: 24px 0 0;
  max-width: 610px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  text-decoration: none;
}

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

.button.secondary {
  background: rgb(255 255 255 / 66%);
  border-color: rgb(16 32 47 / 14%);
  color: var(--ink);
}

.signal-strip {
  align-items: center;
  border-top: 1px solid rgb(16 32 47 / 12%);
  bottom: 0;
  color: #465867;
  display: flex;
  flex-wrap: wrap;
  font-size: .9rem;
  gap: 10px;
  justify-content: space-between;
  left: 24px;
  margin: 0 auto;
  max-width: 1180px;
  padding: 16px 0 0;
  position: absolute;
  right: 24px;
}

.signal-strip strong {
  color: var(--ink);
}

.section {
  padding: 58px 24px;
}

.section-inner {
  margin: 0 auto;
  max-width: 1180px;
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-heading h2 {
  font-size: clamp(2rem, 5vw, 4.1rem);
  line-height: .98;
  margin: 0;
  max-width: 720px;
}

.section-heading p {
  color: var(--muted);
  margin: 0;
  max-width: 360px;
}

.app-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.app-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgb(45 39 30 / 7%);
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  overflow: hidden;
  padding: 18px;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.app-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.icon-wrap {
  align-items: center;
  background: color-mix(in srgb, var(--accent) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  border-radius: 8px;
  display: flex;
  height: 82px;
  justify-content: center;
  width: 82px;
}

.icon-wrap img {
  border-radius: 8px;
  display: block;
  height: 58px;
  object-fit: cover;
  width: 58px;
}

.app-card h3 {
  font-size: 1.2rem;
  line-height: 1.1;
  margin: 22px 0 10px;
}

.app-card p {
  color: var(--muted);
  font-size: .95rem;
  margin: 0;
}

.app-card .domain {
  color: color-mix(in srgb, var(--accent) 68%, #142536);
  font-size: .78rem;
  font-weight: 850;
  margin-top: auto;
  padding-top: 26px;
  word-break: break-word;
}

.closing {
  background: #10202f;
  color: #fff;
  padding: 46px 24px;
}

.closing-inner {
  align-items: center;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
}

.closing h2 {
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1;
  margin: 0;
  max-width: 720px;
}

@media (max-width: 980px) {
  .hero {
    min-height: 86svh;
  }

  .hero-inner {
    min-height: calc(86svh - 160px);
  }

  .mascot {
    opacity: .46;
    right: -24vw;
    width: min(96vw, 720px);
  }

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

  .section-heading,
  .closing-inner {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }

  .nav {
    justify-content: flex-start;
  }

  .nav a {
    font-size: .78rem;
    padding: 7px 10px;
  }

  .hero {
    min-height: 88svh;
    padding: 142px 18px 54px;
  }

  .hero-inner {
    min-height: calc(88svh - 196px);
  }

  .mascot {
    bottom: 34px;
    opacity: .25;
    right: -46vw;
    width: 126vw;
  }

  .lede {
    max-width: 96%;
  }

  .button {
    width: 100%;
  }

  .signal-strip {
    left: 18px;
    right: 18px;
  }

  .section {
    padding: 42px 18px;
  }

  .app-grid {
    grid-template-columns: 1fr;
  }

  .app-card {
    min-height: 238px;
  }
}
