:root {
  color-scheme: dark;
  --surface: #0E1512;
  --surface-soft: #121C18;
  --ink: #F2F6F3;
  --body: #C8D6CF;
  --muted: #8FA29A;
  --primary: #91C7B0;
  --primary-strong: #DDEFE7;
  --line: rgba(221, 239, 231, .12);
  --button-text: #0E1512;
}

@font-face {
  font-family: "Tend Fraunces";
  src: url("/fonts/fraunces.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Tend Hanken";
  src: url("/fonts/hanken_grotesk.ttf") format("truetype");
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 8%, rgba(145, 199, 176, .16), transparent 28rem),
    radial-gradient(circle at 15% 34%, rgba(113, 167, 62, .10), transparent 24rem),
    var(--surface);
  color: var(--body);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.58;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
  border-radius: 8px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 10px 14px;
  background: var(--primary-strong);
  color: var(--button-text);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus-visible {
  left: 0;
}

.site-shell,
.wrap {
  width: min(100% - 48px, 1120px);
  margin: 0 auto;
}

.site-header,
header {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: -.03em;
  text-decoration: none;
}

.brand img,
.brand .mark {
  width: 30px;
  height: 30px;
}

nav,
.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: nowrap;
}

nav a,
.site-nav a,
.link {
  color: var(--ink);
  font-size: .9rem;
  font-weight: 760;
  text-decoration: none;
}

.nav-cta {
  color: var(--primary);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--primary-strong);
  color: var(--button-text);
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 18px 42px rgba(145, 199, 176, .16);
}

.button:active {
  transform: translateY(1px);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(340px, .85fr);
  align-items: center;
  gap: clamp(38px, 7vw, 94px);
  padding: clamp(48px, 6vw, 76px) 0 clamp(34px, 5vw, 56px);
}

.hero-copy {
  max-width: 600px;
}

.hero-copy h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.45rem, 4.8vw, 4.35rem);
  line-height: .98;
  letter-spacing: -.07em;
}

.hero-copy p {
  max-width: 520px;
  margin: 20px 0 0;
  color: var(--body);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-principles {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
  color: var(--muted);
  font-size: .9rem;
}

.hero-art {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 8% 0 2%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 55% 45%, rgba(145, 199, 176, .18), transparent 42%),
    linear-gradient(135deg, rgba(113, 167, 62, .09), transparent 70%);
  filter: blur(12px);
}

.hero-art img {
  position: relative;
  object-fit: contain;
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, .24));
}

.hero-art-main {
  width: min(90%, 460px);
}

.hero-art-small {
  display: none;
}

.section {
  padding: clamp(52px, 7vw, 92px) 0;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: .88rem;
  font-weight: 850;
}

.section h2 {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.75rem, 3.1vw, 2.7rem);
  line-height: 1.04;
  letter-spacing: -.055em;
}

.section > p,
.section-intro {
  max-width: 650px;
  margin: 16px 0 0;
  color: var(--body);
}

.story-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 44px);
  margin-top: clamp(30px, 4vw, 44px);
}

.story-list.compact {
  gap: clamp(20px, 3vw, 34px);
}

.story-list article {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.story-list h3,
.safety-panel h2,
.final-cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.16;
  letter-spacing: -.02em;
}

.story-list p,
.safety-panel p,
.final-cta p {
  margin: 10px 0 0;
  color: var(--muted);
}

.safety-panel h2,
.final-cta h2 {
  max-width: 600px;
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  line-height: 1.08;
}

.pro-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.pro-list li {
  color: var(--body);
}

.pro-list strong {
  color: var(--ink);
}

.final-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0 0;
  margin: 16px 0 54px;
}

footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
  padding: 18px 0 44px;
  color: var(--muted);
  font-size: .95rem;
}

footer a {
  color: var(--muted);
  text-decoration: none;
}

html.app-embed header,
html.app-embed footer {
  display: none;
}

html.app-embed.app-theme-light {
  color-scheme: light;
}

html.app-embed.app-theme-dark {
  color-scheme: dark;
}

html.app-embed body {
  background: transparent;
  background-image: none;
  font-family: "Tend Hanken", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html.app-embed .wrap {
  width: min(100% - 28px, 780px);
  padding: 0 0 34px;
}

html.app-embed .document {
  padding: 18px 0 0;
}

html.app-embed .document h1 {
  display: block;
  font-family: "Tend Fraunces", Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 8vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}

html.app-embed .document h2:first-of-type {
  margin-top: 8px;
}

html.app-embed .lede,
html.app-embed .notice,
html.app-embed .step {
  background: var(--surface);
  border-color: var(--line);
}

.wrap {
  padding: 0 0 64px;
}

.document {
  max-width: 780px;
  padding: 24px 0 0;
  box-shadow: none;
}

.document h1 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.document h2 {
  margin: 32px 0 8px;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
  line-height: 1.18;
  letter-spacing: -.02em;
}

.document h3 {
  color: var(--ink);
}

.caps {
  color: var(--ink);
  font-weight: 800;
  text-transform: uppercase;
}

.document p,
.document li,
.document td,
.document th {
  color: var(--body);
}

.document .meta,
.meta,
.muted {
  color: var(--muted);
}

.lede,
.notice,
.step {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(18, 28, 24, .78);
  padding: 15px 17px;
}

table {
  border-color: var(--line);
}

th,
td {
  border-color: var(--line);
}

th {
  background: var(--surface-soft);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .button,
  nav a,
  .site-nav a,
  footer a {
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
  }

  .hero-art img {
    transition: filter .25s ease, transform .25s ease;
  }

  .hero-art:hover img {
    filter: saturate(1.04) contrast(1.02);
    transform: translateY(-1px);
  }
}

@media (max-width: 900px) {
  .site-shell,
  .wrap {
    width: min(100% - 32px, 1120px);
  }

  .hero-section {
    grid-template-columns: 1fr;
    padding: 34px 0 38px;
  }

  .hero-art {
    min-height: 260px;
    max-width: 520px;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
  }

  .site-header,
  header {
    padding: 14px 0;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 10vw, 2.85rem);
  }

  .section {
    padding: 42px 0;
  }

  .story-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .story-list article {
    padding-top: 0;
    border-top: 0;
  }

  .hero-art {
    min-height: 118px;
    justify-content: flex-start;
    margin-top: -8px;
  }

  .hero-art-main {
    width: min(52%, 190px);
  }
}
