@font-face {
  font-family: Geist;
  src: url("assets/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #171813;
  --dark: #121310;
  --yellow: #ffdc39;
  --cream: #f3f1e8;
  --paper: #fffef9;
  --body: #454941;
  --light-text: #dedfd5;
  --line: #deded2;
  --gutter: clamp(1.25rem, 4.5vw, 4.5rem);
  font-family: Geist, system-ui, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #749854; outline-offset: 5px; }
figure { margin: 0; }
p { margin: 0; font-size: 1.0625rem; line-height: 1.6; }
p + p { margin-top: .85rem; }
h1, h2 { margin: 0; letter-spacing: -.055em; font-weight: 760; }
h2 { font-size: clamp(2rem, 4.2vw, 3.75rem); line-height: 1.04; text-wrap: balance; }
.wrap { width: min(100% - 2 * var(--gutter), 85rem); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 2;
  transform: translateY(-150%);
  padding: .65rem 1rem;
  color: var(--ink);
  background: var(--yellow);
}
.skip-link:focus { transform: translateY(0); }

.site-header { color: var(--paper); background: var(--dark); border-bottom: 1px solid #30312b; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 6.3rem; padding-block: .5rem; }
.brand { display: inline-flex; align-items: center; min-width: 0; gap: .75rem; color: var(--paper); text-decoration: none; }
.brand img { width: 4.5rem; height: 4.5rem; object-fit: contain; flex: 0 0 auto; }
.brand-copy { display: flex; align-items: center; gap: clamp(.5rem, 2.2vw, 1rem); min-width: 0; }
.brand-name { font-size: clamp(1.375rem, 2.15vw, 1.85rem); font-weight: 740; line-height: 1.12; letter-spacing: -.045em; white-space: nowrap; }
.brand-accent { margin-inline-start: .12em; color: var(--yellow); }
.brand-description { padding-inline-start: clamp(.5rem, 2.2vw, 1rem); border-inline-start: 1px solid #56584e; color: var(--light-text); font-size: .9rem; line-height: 1.3; }
.button { display: inline-flex; min-height: 2.75rem; align-items: center; justify-content: center; padding: .66rem 1.05rem; border: 1px solid transparent; border-radius: .6rem; text-align: center; text-decoration: none; font-weight: 650; line-height: 1.2; }
.button-outline { flex: 0 0 auto; border-color: #56584e; color: var(--paper); }
.button-outline:hover { background: #282a23; }
.button-primary { min-height: 3.2rem; padding-inline: 1.15rem; background: var(--yellow); color: var(--ink); }
.button-primary:hover { background: #ffe671; }

.hero {
  padding: clamp(2.5rem, 6vw, 6.4rem) 0 clamp(2.75rem, 6vw, 6.1rem);
  color: var(--paper);
  background: radial-gradient(ellipse at 88% 69%, #303020 0, var(--dark) 61%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .79fr) minmax(0, 1.21fr);
  align-items: center;
  column-gap: clamp(1.6rem, 3.2vw, 3rem);
  row-gap: 2rem;
}
.hero h1 { margin-bottom: 1.32rem; font-size: clamp(2.65rem, 4.25vw, 4.25rem); line-height: 1.02; }
.hero h1 span { display: inline-block; color: var(--yellow); text-wrap: balance; }
.hero p { max-width: 29rem; color: var(--light-text); font-size: clamp(1rem, 1.16vw, 1.125rem); }
.hero-action { display: flex; flex-wrap: wrap; align-items: flex-start; flex-direction: column; gap: .65rem; margin-top: 1.65rem; }
.hero-action span { color: var(--light-text); font-size: .875rem; }
.product-figure { min-width: 0; }
.product-frame {
  overflow: hidden;
  border: 1px solid #6a6b58;
  border-radius: 1rem;
  background: var(--cream);
  box-shadow: 0 1.2rem 2.8rem #0007;
}
.product-figure figcaption { margin-top: .72rem; color: var(--light-text); font-size: .875rem; }

.story, .about { padding: clamp(3rem, 7vw, 6.7rem) 0; }
.story-grid, .about-grid { display: grid; align-items: start; gap: clamp(1.5rem, 6vw, 6rem); grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.story h2 { max-width: 10em; text-wrap: pretty; }
.story-copy p, .about p { max-width: 38rem; color: var(--body); }
.story-copy .story-note { margin-top: 1.3rem; padding-left: 1rem; border-left: 4px solid #e1b700; color: var(--ink); font-weight: 640; }
.about { background: var(--cream); border-top: 1px solid var(--line); }
.about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.about h2 { margin-bottom: 1rem; text-wrap: pretty; }
.about-figure video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: .85rem; background: var(--dark); }
.about-figure figcaption { margin-top: .55rem; color: var(--body); font-size: .875rem; }
.site-footer { background: var(--dark); color: var(--paper); }
.footer-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: 1.5rem 2.5rem; padding-block: 1.6rem; font-size: .9375rem; }
.footer-brand { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .65rem; }
.footer-brand strong { white-space: nowrap; font-size: 1rem; }
.footer-brand span { padding-inline-start: .65rem; border-inline-start: 1px solid #56584e; color: var(--light-text); }
.footer-trial { display: inline-block; margin-top: .85rem; color: var(--yellow); text-underline-offset: .2em; }
.footer-contact { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; justify-content: flex-end; font-style: normal; }
.footer-contact div { min-width: 0; }
.footer-contact span { display: block; margin-bottom: .15rem; color: var(--light-text); font-size: .875rem; font-weight: 650; }
.footer-contact a { overflow-wrap: anywhere; text-underline-offset: .2em; }
.footer-contact a:hover { color: var(--yellow); }

@media (max-width: 800px) {
  .hero-grid, .story-grid, .about-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 17ch; }
  .story h2 { max-width: 17em; }
  .about-grid > div { order: -1; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-contact { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .35rem .75rem; padding-block: .6rem; }
  .brand { grid-column: 1 / -1; }
  .header-inner .button { grid-column: 2; justify-self: end; }
  .brand img { width: 3.5rem; height: 3.5rem; }
  .brand-description { font-size: .825rem; }
}

@media (max-width: 420px) {
  .brand { gap: .45rem; }
  .brand img { width: clamp(3.125rem, 13vw, 3.375rem); height: clamp(3.125rem, 13vw, 3.375rem); }
  .brand-name { font-size: clamp(1.125rem, 5.3vw, 1.375rem); }
  .brand-description { font-size: .75rem; }
  .button-outline { padding-inline: .55rem; font-size: .825rem; }
  .hero h1 { font-size: clamp(1.95rem, 9vw, 3rem); letter-spacing: -.052em; }
  .product-frame { border-radius: .65rem; }
}
