:root {
  color-scheme: light dark;
  --bg: #f7f5f0;
  --text: #171717;
  --muted: #66635d;
  --line: #d8d4cb;
  --accent: #075bd8;
  --focus: #075bd8;
}

* {
  box-sizing: border-box;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
}

p,
li,
footer {
  overflow-wrap: anywhere;
}

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

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

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--bg);
  background: var(--text);
  font-weight: 700;
  transform: translateY(-160%);
}

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

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

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

nav {
  display: flex;
  gap: 24px;
}

nav a,
footer a {
  color: var(--muted);
  text-decoration: none;
}

nav a {
  padding-block: 12px;
}

nav a:hover,
footer a:hover,
nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: underline;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(220px, 24vw, 320px);
  align-items: center;
  gap: clamp(40px, 7vw, 92px);
  padding: clamp(80px, 13vw, 170px) 0;
}

.hero-copy {
  max-width: 780px;
}

.hero-art {
  display: block;
  width: 100%;
  transform: rotate(1.5deg);
}

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22%;
  box-shadow: 0 24px 60px rgb(18 57 111 / 18%);
}

.eyebrow,
.feature-label {
  margin: 0;
  color: var(--accent);
  font-weight: 750;
}

.eyebrow {
  margin-bottom: 22px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  line-height: 0.88;
  letter-spacing: -0.065em;
}

.lede {
  max-width: 720px;
  margin: 38px 0 0;
  color: var(--muted);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  line-height: 1.45;
}

.availability {
  margin: 34px 0 0;
  font-weight: 700;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}

article {
  min-height: 270px;
  padding: 38px;
  background: var(--bg);
}

article h2 {
  margin: 48px 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.04em;
}

article p,
.legal p,
.legal li,
.statement-copy {
  color: var(--muted);
  line-height: 1.65;
}

article > p:last-child {
  max-width: 470px;
  margin-bottom: 0;
}

.statement {
  max-width: 900px;
  padding: 140px 0;
}

.statement > p:first-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.2rem;
}

.statement h2 {
  margin: 8px 0 0;
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  letter-spacing: -0.055em;
}

.statement-copy {
  max-width: 700px;
  margin: 28px 0 0;
  font-size: 1.1rem;
}

.legal {
  max-width: 760px;
  padding: 90px 0 130px;
}

.legal h1 {
  margin: 0 0 20px;
  font-size: clamp(3rem, 7vw, 5.5rem);
  letter-spacing: -0.055em;
}

.legal h2 {
  margin: 45px 0 0;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.legal p {
  font-size: 1rem;
}

.legal a {
  text-decoration-thickness: 1px;
}

.meta {
  color: var(--muted);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 50px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .site-header {
    min-height: 72px;
    flex-wrap: wrap;
    padding-block: 12px;
  }

  .site-header nav {
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 46px;
    padding: 82px 0 88px;
  }

  .hero-art {
    width: 112px;
    transform: rotate(2deg);
  }

  .lede {
    margin-top: 30px;
  }

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

  article {
    min-height: 0;
    padding: 34px;
  }

  article h2 {
    margin-top: 34px;
  }

  .statement {
    padding: 96px 0;
  }

  .legal {
    padding: 72px 0 96px;
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .site-header,
  main,
  footer {
    width: min(100% - 32px, 1120px);
  }

  nav {
    gap: 18px;
  }

  .brand {
    font-size: 1.12rem;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 14vw, 3.4rem);
  }

  article {
    padding: 30px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1721;
    --text: #f5f6f8;
    --muted: #a8b1bd;
    --line: #2c3a47;
    --accent: #ffbf2f;
    --focus: #76aaff;
  }

  .hero-art img {
    box-shadow: 0 24px 68px rgb(0 0 0 / 42%);
  }
}
