:root {
  color-scheme: light dark;
  --paper: #f7f8f2;
  --surface: #ffffff;
  --panel: #ebf0e5;
  --ink: #132b24;
  --muted: #4d5e54;
  --accent: #356044;
  --accent-soft: #dfe9d3;
  --line: #d5ded0;
  --button-ink: #f7f8f2;
  --shadow: 0 1px 2px rgb(19 43 36 / .05), 0 12px 32px -12px rgb(19 43 36 / .18);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 1.25rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f221b;
    --surface: #152c23;
    --panel: #1a3329;
    --ink: #e8eedf;
    --muted: #a8b8a8;
    --accent: #a9cc8f;
    --accent-soft: #24402f;
    --line: #2a4436;
    --button-ink: #0f221b;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 32px -12px rgb(0 0 0 / .5);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: .25rem;
}

img { max-width: 100%; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  padding: .5rem .9rem;
  border-radius: .5rem;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
  z-index: 10;
}

.skip-link:focus { top: 1rem; }

.shell {
  width: min(70rem, calc(100% - 4rem));
  margin-inline: auto;
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.5rem;
}

.wordmark {
  display: inline-flex;
  gap: .65rem;
  align-items: center;
  font-size: 1.1875rem;
  font-weight: 650;
  letter-spacing: -.04em;
  text-decoration: none;
}

.wordmark img { border-radius: .5rem; box-shadow: 0 0 0 1px var(--line); }

nav {
  display: flex;
  align-items: center;
  gap: .35rem;
}

nav a {
  padding: .45rem .8rem;
  border-radius: 100vw;
  color: var(--muted);
  font-size: .9375rem;
  font-weight: 550;
  text-decoration: none;
  transition: color .15s, background .15s;
}

nav a:hover { color: var(--ink); background: var(--panel); }

nav .nav-cta {
  border: 1px solid var(--line);
  color: var(--ink);
}

/* Shared type */

.eyebrow {
  margin: 0 0 .75rem;
  color: var(--accent);
  font-size: .8125rem;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  text-wrap: balance;
}

h1 em, h2 em { color: var(--accent); }

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem);
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.hero .eyebrow span {
  width: 1.8rem;
  height: 1px;
  background: currentColor;
}

h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.6rem, 5.4vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.intro {
  max-width: 31rem;
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: clamp(1.125rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.5rem;
}

.hero-art {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  rotate: 1.25deg;
}

.hero-art img { display: block; width: 100%; height: auto; }

/* Buttons & links */

.button {
  display: inline-flex;
  align-items: center;
  padding: .75rem 1.25rem;
  border-radius: .75rem;
  background: var(--ink);
  color: var(--button-ink);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, transform .15s;
}

.button:hover { background: var(--accent); transform: translateY(-1px); }

.text-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.text-link span { display: inline-block; transition: transform .15s; }
.text-link:hover span { transform: translateX(3px); }

/* Sections */

.section {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}

.section-head { margin-bottom: 2rem; }

.section-head h2, .contact h2 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -.025em;
}

/* Product */

.product {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-icon {
  width: clamp(5.5rem, 12vw, 8rem);
  height: auto;
  filter: drop-shadow(0 8px 16px rgb(0 0 0 / .18));
}

.product-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1rem;
}

.product-title h3 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -.02em;
}

.badge {
  padding: .25rem .7rem;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: 100vw;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-platform {
  margin: .15rem 0 1rem;
  color: var(--muted);
  font-size: .9375rem;
  font-weight: 550;
}

.product-body > p:not(.product-platform) {
  max-width: 40rem;
  margin: 0 0 1.25rem;
  color: var(--muted);
  text-wrap: pretty;
}

.product-points {
  display: grid;
  gap: .5rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.product-points li {
  position: relative;
  padding-left: 1.6rem;
}

.product-points li::before {
  content: "";
  position: absolute;
  left: .2rem;
  top: .55em;
  width: .55rem;
  height: .55rem;
  border-radius: 0 50% 0 50%;
  background: var(--accent);
}

/* Launch list form */

.notify { max-width: 32rem; }

.notify-label {
  display: block;
  margin-bottom: .6rem;
  font-weight: 600;
}

.notify-row {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.notify input[type=email] {
  flex: 1 1 14rem;
  min-width: 0;
  padding: .7rem 1rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.notify input[type=email]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.notify .button { border: 0; cursor: pointer; font-family: inherit; }
.notify .button[disabled] { opacity: .7; cursor: progress; transform: none; }

.notify-status {
  min-height: 1.6em;
  margin: .6rem 0 0;
  color: var(--accent);
  font-weight: 600;
}

.notify-note {
  margin: 0;
  color: var(--muted);
  font-size: .875rem;
}

/* Principles */

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.principle {
  padding: 1.5rem 1.6rem 1.6rem;
  border-radius: var(--radius);
  background: var(--panel);
}

.principle-num {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 1.125rem;
}

.principle h3 {
  margin-bottom: .6rem;
  font-size: 1.375rem;
  line-height: 1.2;
}

.principle p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  text-wrap: pretty;
}

/* Contact */

.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}

.contact p:not(.eyebrow) {
  max-width: 30rem;
  margin: .75rem 0 0;
  color: var(--muted);
}

.contact-link {
  color: var(--accent);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  overflow-wrap: anywhere;
}

.contact-link:hover { color: var(--ink); }

/* Footer */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  padding-block: 1.5rem 2.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer small { font-size: .875rem; }

/* 404 */

.not-found {
  display: grid;
  place-content: center;
  justify-items: start;
  min-height: 60vh;
  padding-block: 4rem;
}

.not-found h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.not-found p { color: var(--muted); margin: 0 0 2rem; }

/* Responsive */

@media (max-width: 56rem) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { rotate: 0deg; max-width: 34rem; }
  .principles { grid-template-columns: 1fr; }
}

@media (max-width: 40rem) {
  .shell { width: calc(100% - 2rem); }
  .site-header { min-height: 4.5rem; }
  nav a:not(.nav-cta) { display: none; }
  .product { grid-template-columns: 1fr; }
  .contact { align-items: start; }
}
