:root {
  --ink: #1f3029;
  --ink-soft: #53615b;
  --cream: #f5f2eb;
  --paper: #fbfaf6;
  --line: rgba(31, 48, 41, 0.14);
  --sage: #b8d1c0;
  --sage-dark: #5f7d6d;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

html {
  background: var(--cream);
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 32%, rgba(184, 209, 192, 0.32), transparent 23rem),
    var(--cream);
  font-family: "Work Sans", Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page-shell {
  width: 100%;
  height: 100dvh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
}

.shell-width {
  width: min(calc(100% - 32px), 720px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 4px;
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(245, 242, 235, 0.88);
  padding-top: env(safe-area-inset-top);
  backdrop-filter: blur(12px);
}

.topbar-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.brand-mark {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.topbar-proof {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 55%;
  padding-block: 8px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  text-align: right;
  white-space: normal;
}

.topbar-proof strong {
  color: var(--ink);
  font-size: 11px;
}

.single-screen {
  min-height: 0;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-block: clamp(10px, 2.2dvh, 22px);
}

.hero-card {
  position: relative;
  display: grid;
  gap: clamp(11px, 1.8dvh, 18px);
  isolation: isolate;
}

.hero-card::after {
  content: "MG";
  position: absolute;
  z-index: -1;
  top: -5%;
  right: -7%;
  color: rgba(31, 48, 41, 0.035);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(140px, 52vw, 280px);
  line-height: 1;
  pointer-events: none;
}

.hero-copy {
  display: grid;
  gap: clamp(7px, 1.2dvh, 12px);
}

.eyebrow {
  margin: 0;
  color: var(--sage-dark);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.19em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1 {
  max-width: 650px;
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(43px, 12vw, 68px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.92;
}

.hero-lede {
  max-width: 610px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(13.5px, 3.7vw, 16px);
  line-height: 1.48;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-grid li {
  min-width: 0;
  min-height: 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(251, 250, 246, 0.72);
}

.proof-grid span {
  color: var(--sage-dark);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.proof-grid strong {
  font-size: clamp(10px, 2.8vw, 12px);
  line-height: 1.25;
}

.primary-action {
  display: grid;
  gap: 6px;
}

.button {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 18px;
  border: 1px solid var(--ink);
  border-radius: 9px;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button-primary {
  color: var(--paper);
  background: var(--ink);
  font-size: clamp(11px, 3vw, 13px);
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1.25;
  text-transform: uppercase;
}

.button-primary > span:first-child {
  text-align: left;
}

.button-arrow {
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 400;
}

.button:hover {
  color: var(--ink);
  background: var(--sage);
  transform: translateY(-1px);
}

.primary-action p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.35;
}

.site-footer {
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid var(--line);
}

.footer-inner {
  min-height: 31px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

a:focus-visible {
  outline: 3px solid #8baa96;
  outline-offset: 3px;
}

@media (min-width: 760px) {
  .shell-width {
    width: min(calc(100% - 64px), 900px);
  }

  .hero-card {
    padding: clamp(28px, 4vh, 44px);
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(251, 250, 246, 0.56);
  }
}

@media (max-height: 700px) {
  .topbar-inner {
    min-height: 50px;
  }

  .single-screen {
    padding-block: 7px;
  }

  .hero-card,
  .hero-copy {
    gap: 7px;
  }

  h1 {
    font-size: clamp(36px, 8.4dvh, 48px);
  }

  .hero-lede {
    font-size: 13px;
    line-height: 1.38;
  }

  .proof-grid li {
    min-height: 49px;
    padding: 6px 8px;
  }

  .button {
    min-height: 52px;
    padding-block: 9px;
  }

  .primary-action {
    gap: 3px;
  }

  .primary-action p {
    font-size: 10px;
  }
  .footer-inner {
    min-height: 25px;
  }
}

@media (max-height: 580px) {
  .topbar-inner {
    min-height: 46px;
  }

  .brand {
    font-size: 14px;
  }

  .brand-mark {
    width: 22px;
    height: 22px;
  }

  .eyebrow {
    font-size: 9px;
  }

  h1 {
    font-size: clamp(33px, 8.3dvh, 40px);
  }

  .proof-grid span,
  .primary-action p {
    display: none;
  }

  .proof-grid li {
    min-height: 39px;
    justify-content: center;
  }

  .proof-grid strong {
    font-size: 9.5px;
  }

  .site-footer {
    display: none;
  }
}

@media (max-width: 340px) {
  .shell-width {
    width: min(calc(100% - 24px), 720px);
  }

  .topbar-proof {
    font-size: 8px;
  }

  .topbar-proof strong {
    font-size: 10px;
  }

  .button {
    padding-inline: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
