:root {
  color-scheme: light;
  --paper: #f4f2e8;
  --ink: #172520;
  --muted: #485a51;
  --stroke: #c5c9b8;
  --lime: #e1fc69;
  --dark: #1a3027;
  --heading: "Bahnschrift", "Aptos Display", "Trebuchet MS", sans-serif;
  --text: "Aptos", "Trebuchet MS", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.25rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--text); }
a { color: inherit; text-underline-offset: 0.23em; }
a:focus-visible { outline: 3px solid #397b62; outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--heading); line-height: 1; }
.wrap { width: min(72rem, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: fixed; z-index: 5; inset: 0 auto auto 0; background: var(--lime); padding: 0.75rem; transform: translateY(-120%); }
.skip:focus { transform: none; }

.masthead { min-height: 5.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--stroke); }
.wordmark { display: inline-flex; align-items: center; gap: 0.7rem; font: 700 1.06rem/0.95 var(--heading); text-decoration: none; }
.monogram { display: grid; place-content: center; grid-auto-flow: column; background: var(--dark); border-radius: 0.55rem; color: var(--paper); width: 2.55rem; aspect-ratio: 1; font-size: 1.55rem; letter-spacing: -0.08em; }
.monogram span { color: var(--lime); }
nav { display: flex; gap: clamp(0.8rem, 4vw, 2.5rem); font-weight: 700; }
nav a { text-decoration: none; }
nav a:hover, .footer a:hover { text-decoration: underline; }

.hero { display: grid; grid-template-columns: 1.28fr 1fr; align-items: stretch; gap: clamp(1.2rem, 5vw, 4rem); padding-block: clamp(2.75rem, 7vw, 6rem); }
.hero-copy { align-self: center; animation: arrive 480ms ease-out both; }
.kicker { font-size: 0.87rem; font-weight: 800; letter-spacing: 0.095em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.15rem; }
h1 { font-size: clamp(3.55rem, 7.4vw, 7.1rem); letter-spacing: -0.085em; }
h1 em { color: #39654d; font-family: Georgia, serif; font-weight: 400; letter-spacing: -0.075em; }
.intro { color: var(--muted); max-width: 35ch; margin: 1.5rem 0 1.6rem; font-size: clamp(1.08rem, 2vw, 1.25rem); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3rem; padding: 0.7rem 1.15rem; border: 1px solid transparent; border-radius: 0.32rem; color: var(--paper); background: var(--dark); font-weight: 800; text-decoration: none; transition: background-color 180ms, color 180ms; }
.button:hover { background: #305743; }
.lab-mark { display: grid; position: relative; place-items: center; align-self: stretch; isolation: isolate; min-height: 21rem; overflow: hidden; border: 1px solid #9ead49; border-radius: 0.45rem; background: var(--lime); }
.lab-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(#82964740 1px, transparent 1px), linear-gradient(90deg, #82964740 1px, transparent 1px), radial-gradient(ellipse at 60% 40%, #f1ffaf, transparent 65%); background-size: 28px 28px, 28px 28px, 100% 100%; mask-image: radial-gradient(ellipse, #000 45%, #0008 100%); }
.lab-mark > span { font: 800 clamp(9rem, 25vw, 19rem)/0.78 var(--heading); letter-spacing: -0.14em; transform: translate(-0.08em, -0.015em); }
.lab-mark > span span { color: #39654d; }

.apps { border-top: 1px solid var(--stroke); }
.section-head { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 1.5rem; padding-block: 1.65rem 1.15rem; }
h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); letter-spacing: -0.055em; }
.section-head p, .support p { color: var(--muted); }
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.25rem, 5vw, 4rem); background: radial-gradient(ellipse at 90% 10%, #2b5546, transparent 65%), var(--dark); color: #f5f4e9; border-radius: 0.5rem; overflow: hidden; }
.product-copy { align-self: center; padding: clamp(1.35rem, 4.8vw, 3.7rem); padding-right: 0; }
.product-kind { display: flex; align-items: center; gap: 0.65rem; font-weight: 700; color: #d8e7d8; }
.product-kind img { border-radius: 0.75rem; }
.product h3 { font-size: clamp(2.8rem, 6vw, 5.4rem); letter-spacing: -0.07em; margin-block: 0.85rem; }
.product h3 span { color: var(--lime); }
.product p { max-width: 43ch; color: #deeadb; font-size: 1.08rem; }
.product-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.2rem; margin-top: 1.5rem; }
.button-lime { background: var(--lime); color: var(--ink); }
.button-lime:hover { background: #f2ffb5; }
.store-link { font-weight: 700; }
.product a:focus-visible { outline-color: var(--lime); }
.product-preview { max-height: 27rem; overflow: hidden; align-self: stretch; margin: 1.6rem 1.6rem 0 0; border: 1px solid #7bab9666; border-radius: 0.45rem 0.45rem 0 0; background: #0a1825; }
.product-preview img { display: block; width: 100%; height: 100%; object-position: top center; object-fit: cover; }

.support { display: flex; gap: 1.25rem; flex-wrap: wrap; justify-content: space-between; align-items: center; border-block: 1px solid var(--stroke); padding-block: 2rem; margin-top: clamp(3rem, 7vw, 5rem); }
.support p { margin-top: 0.65rem; }
.footer { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 0.55rem 1rem; min-height: 5.5rem; color: var(--muted); padding-block: 1rem; }
.footer span { font-weight: 800; }

@keyframes arrive { from { opacity: 0; transform: translateY(0.65rem); } to { opacity: 1; transform: none; } }
@media (max-width: 660px) {
  .wrap { width: calc(100% - 2rem); }
  .masthead { min-height: 4.5rem; }
  .hero, .product { grid-template-columns: 1fr; }
  h1 { font-size: clamp(3.25rem, 10vw, 4.85rem); }
  .lab-mark { min-height: 9rem; max-height: 11rem; }
  .lab-mark > span { font-size: 8.25rem; }
  .product-copy { padding: 1.35rem; padding-bottom: 0; }
  .product-preview { max-height: 18rem; margin: 0 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
