:root {
  color-scheme: light;
  --bg: #eeede8;
  --paper: #f7f6f1;
  --paper-strong: #efeee8;
  --text: #1f282c;
  --muted: #6f7d82;
  --primary: #4c7b6d;
  --secondary: #5d8aa8;
  --tertiary: #9575cd;
  --neutral: #b4b4b4;
  --ink: #262829;
  --warning: #d98828;
  --primary-soft: rgba(76, 123, 109, 0.12);
  --secondary-soft: rgba(93, 138, 168, 0.12);
  --section-neutral: rgba(255, 255, 255, 0.22);
  --surface-soft: rgba(255, 255, 255, 0.42);
  --line-soft: rgba(31, 40, 44, 0.08);
  --line-strong: rgba(31, 40, 44, 0.16);
  --shadow: rgba(31, 40, 44, 0.08);
  --logo-surface: #ffffff;
  --logo-surface-line: rgba(31, 40, 44, 0.12);
  --social-surface: #1f282c;

  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  --radius-sm: 6px;
  --radius-md: 8px;
  --max-width: 72rem;
  --font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #121615;
    --paper: #181d1b;
    --paper-strong: #222a27;
    --text: #eef3ef;
    --muted: #9eaaa6;
    --primary: #83b6a5;
    --secondary: #86afd0;
    --tertiary: #b59adf;
    --neutral: #727b78;
    --ink: #f7faf8;
    --warning: #e7ac63;
    --primary-soft: rgba(131, 182, 165, 0.18);
    --secondary-soft: rgba(134, 175, 208, 0.16);
    --section-neutral: rgba(255, 255, 255, 0.04);
    --surface-soft: rgba(255, 255, 255, 0.07);
    --line-soft: rgba(238, 243, 239, 0.1);
    --line-strong: rgba(238, 243, 239, 0.2);
    --shadow: rgba(0, 0, 0, 0.28);
    --logo-surface: #f7f6f1;
    --logo-surface-line: rgba(238, 243, 239, 0.18);
    --social-surface: #121615;
  }
}

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

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, var(--surface-soft), transparent 24rem),
    var(--bg);
  font-family: var(--font-family);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(32, 36, 35, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 36, 35, 0.035) 1px, transparent 1px);
  background-size: 2rem 2rem;
}

a {
  color: inherit;
}

a:hover,
a:focus-visible {
  color: var(--primary);
}

img {
  display: block;
  max-width: 100%;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.site-page {
  display: flex;
  flex-direction: column;
}

.site-header,
.site-main,
.footer-inner {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 2.5rem;
  height: 3rem;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url("/img/1liftoff.svg") center / contain no-repeat;
  mask: url("/img/1liftoff.svg") center / contain no-repeat;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
}

.brand-slogan {
  max-width: 30rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: right;
}

.site-main {
  flex: 1;
  display: grid;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.hero {
  min-height: clamp(32rem, 82vh, 46rem);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(20rem, 1.08fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: 0 1.25rem 4rem var(--shadow);
}

.hero-media {
  min-height: 100%;
  background:
    linear-gradient(145deg, var(--primary-soft), var(--secondary-soft)),
    var(--paper-strong);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-lg);
  padding: clamp(2rem, 6vw, 5rem);
}

.eyebrow,
.product-kicker {
  margin-bottom: var(--space-xs);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 10ch;
  margin-bottom: 0;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.94;
}

.hero-copy {
  max-width: 34rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.55;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding-top: var(--space-sm);
}

.button {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.8rem 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

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

.button-primary:hover,
.button-primary:focus-visible {
  color: #fff;
  background: var(--text);
}

.button-secondary {
  color: var(--text);
  background: transparent;
  border-color: var(--line-strong);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--text);
  border-color: var(--primary);
}

.button-icon {
  width: 1rem;
  height: 1rem;
  object-fit: contain;
}

.intro-section,
.product-section {
  display: grid;
  grid-template-columns: minmax(12rem, 0.8fr) minmax(0, 1.2fr);
  gap: var(--space-2xl);
  align-items: start;
}

.section-heading h2 {
  max-width: 12ch;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

.intro-copy {
  max-width: 43rem;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.7;
}

.intro-copy p:last-child,
.product-content p:last-child {
  margin-bottom: 0;
}

.product-list {
  display: grid;
  gap: var(--space-md);
}

.product-card {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-lg);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--section-neutral);
}

.product-card-featured {
  background: var(--paper);
  box-shadow: 0 1rem 2.5rem var(--shadow);
}

.product-mark {
  display: grid;
  width: 10rem;
  min-height: 8rem;
  place-items: center;
  padding: 0;
}

.product-mark img {
  max-height: 7rem;
  object-fit: contain;
}

.product-mark img[src*="ppl/"] {
  width: 8rem;
  height: 8rem;
  object-fit: cover;
}

.product-mark-dark {
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  background: #121615;
}

.product-mark-dark img {
  width: 100%;
  max-height: 100%;
}

.product-content h3 {
  margin-bottom: var(--space-xs);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.1;
}

.product-content p {
  margin-bottom: var(--space-md);
  color: var(--muted);
  line-height: 1.65;
}

.check-list {
  display: grid;
  gap: var(--space-xs);
  margin: 0 0 var(--space-lg);
  padding: 0;
  color: var(--text);
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.45rem;
}

.check-list li::before {
  position: absolute;
  top: 0.52rem;
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--warning);
  content: "";
}

.text-link {
  color: var(--primary);
  font-weight: 800;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.22em;
}

.site-footer {
  margin-top: auto;
  color: var(--muted);
  background: var(--paper-strong);
  border-top: 1px solid var(--line-soft);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-xl) 0;
}

.footer-inner p {
  max-width: 36rem;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-md);
}

.footer-links a {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:has(.social-icon) {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--social-surface);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.social-icon {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
}

@media (max-width: 58rem) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-slogan {
    text-align: left;
  }

  .hero,
  .intro-section,
  .product-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-media {
    min-height: 16rem;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .section-heading h2 {
    max-width: 18ch;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 34rem) {
  .site-header,
  .site-main,
  .footer-inner {
    width: min(100% - 1rem, var(--max-width));
  }

  .hero-content,
  .product-card {
    padding: var(--space-lg);
  }

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

  .action-row,
  .button {
    width: 100%;
  }
}
