/* SPDX-FileCopyrightText: 2026 M. Pauline Peters */
/* SPDX-License-Identifier: GPL-3.0-or-later */

:root {
  --green: #2a6b3f;
  --green-soft: #d5edb5;
  --text: #222222;
  --muted: #5c5c5c;
  --background: #ffffff;
  --surface: #f7f7f7;
  --border: #e1e1e1;
  --link: #1a56c4;
  --max-width: 68rem;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --green: #8fcf7a;
    --green-soft: #2a3d24;
    --text: #ececec;
    --muted: #a8a8a8;
    --background: #161816;
    --surface: #1f221f;
    --border: #333833;
    --link: #8ab4f8;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

a {
  color: var(--link);
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

header.top {
  border-bottom: 1px solid var(--border);
}

header.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}

.brand {
  color: var(--green);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
}

nav.top {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9375rem;
}

nav.top a {
  color: var(--muted);
  text-decoration: none;
}

nav.top a:hover,
nav.top a[aria-current="true"] {
  color: var(--text);
}

.hero {
  padding: 4rem 0 3rem;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.hero .lead {
  margin: 0 0 1rem;
  max-width: 40rem;
  font-size: 1.25rem;
  color: var(--muted);
}

.tagline {
  margin: 0 0 2rem;
  color: var(--green);
  font-weight: 600;
}

.button {
  display: inline-block;
  padding: 0.625rem 1.125rem;
  border-radius: 0.5rem;
  background: var(--green);
  color: var(--background);
  font-weight: 600;
  text-decoration: none;
}

.features {
  padding: 1rem 0 2rem;
}

.feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

@media (min-width: 52rem) {
  .feature {
    grid-template-columns: 5fr 6fr;
    gap: 3rem;
  }

  .feature:nth-child(even) .text {
    order: 2;
  }
}

.feature h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  line-height: 1.25;
}

.feature p {
  margin: 0 0 0.75rem;
}

.feature ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

/* Stand-ins until the screenshots and clips are recorded in ChemKova. */
.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 15rem;
  padding: 1.5rem;
  border: 2px dashed var(--border);
  border-radius: 0.75rem;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9375rem;
  text-align: center;
}

.hero .placeholder {
  min-height: 22rem;
  margin-top: 3rem;
}

figure {
  margin: 0;
}

figure img,
figure video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
}

.status {
  padding: 3rem 0 4rem;
  border-top: 1px solid var(--border);
}

.status .box {
  padding: 1.75rem;
  border-radius: 0.75rem;
  background: var(--green-soft);
}

.status h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.status p {
  margin: 0 0 0.75rem;
  max-width: 44rem;
}

.status p:last-child {
  margin-bottom: 0;
}

footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.875rem;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

footer a {
  color: var(--muted);
}

.legal {
  max-width: 44rem;
  padding: 3rem 1rem 4rem;
}

.legal h1 {
  margin-top: 0;
}

.fill {
  background: var(--green-soft);
  padding: 0 0.25rem;
  border-radius: 0.25rem;
}
