:root {
  color-scheme: light;
  --ink: #10201a;
  --ink-soft: #485c53;
  --paper: #f6f1e6;
  --paper-deep: #e9e0ce;
  --surface: #fffcf5;
  --line: rgba(16, 32, 26, 0.18);
  --teal: #006b5a;
  --teal-dark: #06483e;
  --mint: #bfe3d5;
  --peach: #f2a083;
  --gold: #efc14e;
  --shadow: 0 24px 70px rgba(16, 32, 26, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 280px;
  margin: 0;
  background:
    radial-gradient(circle at 84% 5%, rgba(242, 160, 131, 0.22), transparent 24rem),
    radial-gradient(circle at 10% 26%, rgba(191, 227, 213, 0.42), transparent 30rem),
    var(--paper);
  color: var(--ink);
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.18em;
}

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--surface);
  transform: translateY(-160%);
}

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

.site-header,
main,
.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.2rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px 11px 14px 14px;
  background: var(--ink);
  color: var(--surface);
  font-family: ui-serif, Georgia, serif;
  font-size: 1.2rem;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.site-header nav a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 720;
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--teal);
}

section[id] {
  scroll-margin-top: 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.82fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
  min-height: min(710px, calc(100vh - 92px));
  padding: 64px 0 96px;
}

.eyebrow,
.section-label,
.status-label,
.target-label {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span {
  width: 30px;
  height: 2px;
  background: var(--peach);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 790px;
  margin-bottom: 24px;
  font: 800 clamp(3.25rem, 7.5vw, 6.7rem)/0.93 ui-serif, Georgia, Cambria, serif;
}

h2 {
  margin-bottom: 18px;
  font: 780 clamp(2.2rem, 4.5vw, 4.1rem)/1 ui-serif, Georgia, Cambria, serif;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.lede {
  max-width: 690px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.link-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.64);
  font-size: 0.9rem;
  font-weight: 780;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.link-button:hover {
  transform: translateY(-2px);
  background: var(--surface);
}

.link-button-primary {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
}

.link-button-primary:hover {
  background: var(--teal-dark);
}

.status-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.status-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: linear-gradient(90deg, var(--teal), var(--mint), var(--gold), var(--peach));
  content: "";
}

.pet-frame {
  display: grid;
  min-height: 245px;
  place-items: end center;
  background:
    radial-gradient(circle at center 58%, rgba(255, 252, 245, 0.08) 0 28%, transparent 29%),
    var(--teal-dark);
}

.pet-frame img {
  display: block;
  width: min(74%, 256px);
  height: auto;
}

.status-copy {
  padding: clamp(24px, 4vw, 38px);
}

.status-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.55rem);
}

.status-copy > p:not(.status-label) {
  color: var(--ink-soft);
}

.status-disclosure {
  margin: 24px 0 0;
  padding: 16px 18px;
  border-left: 4px solid var(--peach);
  background: #fff3e9;
  color: var(--ink) !important;
  font-weight: 780;
}

.capabilities {
  padding: 112px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px 80px;
  align-items: end;
}

.section-heading .section-label {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section-heading h2,
.section-heading > p:last-child {
  margin-bottom: 0;
}

.section-heading > p:last-child {
  max-width: 570px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 58px;
}

.capability-grid article {
  min-height: 310px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 252, 245, 0.68);
}

.capability-grid article:nth-child(2) {
  background: rgba(191, 227, 213, 0.38);
}

.capability-grid article:nth-child(3) {
  background: rgba(242, 160, 131, 0.2);
}

.capability-number {
  margin: 0 0 76px;
  color: var(--teal);
  font: 800 0.78rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.12em;
}

.capability-grid article > p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.journey {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(44px, 8vw, 110px);
  padding: 112px clamp(24px, 6vw, 78px);
  border-radius: 38px;
  background: var(--ink);
  color: var(--surface);
}

.target-label {
  color: var(--mint);
}

.journey-intro > p:last-child {
  color: #c7d2cd;
}

.journey-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-steps li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 252, 245, 0.22);
}

.journey-steps li:last-child {
  border-bottom: 1px solid rgba(255, 252, 245, 0.22);
}

.journey-steps li > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 252, 245, 0.4);
  border-radius: 50%;
  color: var(--mint);
  font-weight: 800;
}

.journey-steps h3 {
  margin-bottom: 8px;
}

.journey-steps p {
  margin: 0;
  color: #c7d2cd;
}

.explore {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 8vw, 100px);
  align-items: start;
  padding: 132px 0 112px;
}

.explore h2 {
  font-size: clamp(2.25rem, 4.5vw, 4rem);
}

.explore > div:first-child > p:last-child {
  color: var(--ink-soft);
}

.explore-links {
  border-top: 1px solid var(--line);
}

.explore-links a {
  display: grid;
  gap: 4px;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding-left 160ms ease;
}

.explore-links a:hover {
  padding-left: 12px;
}

.explore-links span {
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.explore-links strong {
  font-size: 1.08rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.site-footer p {
  margin: 0;
}

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

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

  .hero {
    padding-top: 40px;
  }

  .status-card {
    display: grid;
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  }

  .pet-frame {
    min-height: 100%;
    align-items: end;
  }

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

  .capability-grid article {
    min-height: 0;
  }

  .capability-number {
    margin-bottom: 42px;
  }
}

@media (max-width: 650px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    align-items: flex-start;
  }

  .site-header nav {
    display: grid;
    gap: 5px;
    justify-items: end;
  }

  .hero {
    min-height: 0;
    padding: 52px 0 76px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .hero-links {
    display: grid;
  }

  .status-card,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .pet-frame {
    min-height: 220px;
  }

  .capabilities,
  .explore {
    padding-block: 82px;
  }

  .journey {
    padding: 76px 24px;
    border-radius: 26px;
  }

  .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
