:root {
  color-scheme: light;
  --ink: #173536;
  --teal: #0f3d3e;
  --teal-deep: #092f30;
  --cream: #f7f1e3;
  --paper: #fdfaf4;
  --sand: #e8dfc8;
  --amber: #e8a33d;
  --coral: #9b4f3d;
  --muted: #736c60;
  --line: rgba(15, 61, 62, 0.16);
  --shadow: 0 24px 70px rgba(15, 61, 62, 0.12);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: var(--cream);
  background: var(--teal);
  border-radius: 999px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-header {
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family:
    Iowan Old Style,
    Palatino Linotype,
    Book Antiqua,
    Palatino,
    Georgia,
    serif;
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
}

.lantern-mark {
  position: relative;
  width: 24px;
  height: 30px;
  border: 2px solid var(--teal);
  border-radius: 8px 8px 11px 11px;
}

.lantern-mark::before,
.lantern-mark::after {
  position: absolute;
  left: 50%;
  content: "";
  transform: translateX(-50%);
}

.lantern-mark::before {
  top: -6px;
  width: 11px;
  height: 5px;
  border: 2px solid var(--teal);
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
}

.lantern-mark::after {
  bottom: -5px;
  width: 14px;
  height: 4px;
  background: var(--teal);
  border-radius: 99px;
}

.lantern-mark span {
  position: absolute;
  inset: 6px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 13px rgba(232, 163, 61, 0.75);
}

nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

nav a,
.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--teal);
}

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 670px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: 5vw;
}

.hero-copy {
  padding: 5rem 0 7rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--coral);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family:
    Iowan Old Style,
    Palatino Linotype,
    Book Antiqua,
    Palatino,
    Georgia,
    serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 820px;
  margin-bottom: 1.5rem;
  font-size: clamp(3.2rem, 6.6vw, 6.15rem);
}

h2 {
  font-size: clamp(2.4rem, 4.5vw, 4.4rem);
}

.hero-lede {
  max-width: 640px;
  margin-bottom: 2.1rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--cream);
  background: var(--teal);
  box-shadow: 0 10px 30px rgba(15, 61, 62, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--teal-deep);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(253, 250, 244, 0.68);
}

.beta-note {
  margin: 1.8rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.beta-note span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.45rem;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(232, 163, 61, 0.14);
}

.hero-art {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 50% 43%,
      rgba(232, 163, 61, 0.2),
      transparent 26%
    ),
    linear-gradient(145deg, #184e4f 0%, var(--teal-deep) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 48% 48% 28px 28px;
  box-shadow: var(--shadow);
}

.hero-art::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 25%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(3, 29, 30, 0.68));
}

.lantern {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 170px;
  transform: translate(-50%, -45%);
}

.lantern-cap,
.lantern-base {
  width: 105px;
  height: 20px;
  margin: 0 auto;
  background: #d7bf80;
  border-radius: 50%;
  box-shadow: 0 5px 0 #9f8652;
}

.lantern-cap::before {
  display: block;
  width: 45px;
  height: 25px;
  margin: -22px auto 0;
  content: "";
  border: 5px solid #d7bf80;
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
}

.lantern-body {
  position: relative;
  height: 210px;
  margin: -2px 0;
  background: linear-gradient(
    90deg,
    #9f8652 0 9%,
    transparent 9% 91%,
    #9f8652 91%
  );
  border: 6px solid #d7bf80;
  clip-path: polygon(18% 0, 82% 0, 100% 16%, 88% 100%, 12% 100%, 0 16%);
}

.lantern-body::before,
.lantern-body::after {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 5px;
  content: "";
  background: #d7bf80;
}

.lantern-body::before {
  left: 32%;
}

.lantern-body::after {
  right: 32%;
}

.lantern-light {
  position: absolute;
  inset: 28px 40px;
  background: radial-gradient(
    circle,
    #fff7bd 0 18%,
    #f2b64a 47%,
    rgba(232, 163, 61, 0.18) 70%
  );
  border-radius: 50%;
  filter: blur(1px);
  box-shadow: 0 0 80px 35px rgba(232, 163, 61, 0.36);
}

.orbit,
.halo {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(247, 241, 227, 0.17);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 340px;
  height: 340px;
}

.orbit-two {
  width: 460px;
  height: 460px;
}

.halo-one {
  width: 250px;
  height: 250px;
  border-color: rgba(232, 163, 61, 0.2);
  box-shadow: 0 0 70px rgba(232, 163, 61, 0.1);
}

.halo-two {
  width: 110px;
  height: 110px;
  background: rgba(232, 163, 61, 0.08);
}

.star {
  position: absolute;
  color: #f7d99d;
}

.star-one {
  top: 19%;
  left: 19%;
  font-size: 1.5rem;
}

.star-two {
  top: 28%;
  right: 16%;
  font-size: 0.9rem;
}

.star-three {
  right: 24%;
  bottom: 18%;
  font-size: 1.2rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip p {
  margin: 0;
  padding: 1.45rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-strip p + p {
  border-left: 1px solid var(--line);
}

.rhythm,
.closing {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 8rem 0;
}

.section-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: end;
}

.section-intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -2.8rem;
}

.section-intro h2 {
  margin-bottom: 0;
}

.section-intro > p:last-child {
  max-width: 420px;
  margin-bottom: 0.6rem;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 4rem;
}

.feature-grid article {
  min-height: 260px;
  padding: 2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.feature-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 3.5rem;
  place-items: center;
  color: var(--teal);
  background: var(--sand);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

.feature-grid h3 {
  margin-bottom: 0.55rem;
  font-family:
    Iowan Old Style,
    Palatino Linotype,
    Book Antiqua,
    Palatino,
    Georgia,
    serif;
  font-size: 1.5rem;
}

.feature-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 8rem max(20px, calc((100vw - 1180px) / 2));
  color: var(--cream);
  background: var(--teal);
}

.principles h2 {
  max-width: 580px;
  margin-bottom: 0;
}

.eyebrow-light {
  color: #f2c87f;
}

.principle-list {
  align-self: end;
}

.principle-list p {
  margin-bottom: 0;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(247, 241, 227, 0.2);
  font-size: 1.05rem;
  font-weight: 600;
}

.closing {
  max-width: 900px;
  text-align: center;
}

.closing h2 {
  margin-bottom: 2rem;
}

footer {
  min-height: 120px;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

footer > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.legal-shell {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: 5rem 0 8rem;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 4rem;
}

.legal-sidebar {
  position: sticky;
  top: 2rem;
  align-self: start;
}

.legal-sidebar p {
  color: var(--muted);
  font-size: 0.85rem;
}

.legal-content {
  min-width: 0;
}

.legal-content h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
}

.legal-content h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-size: 1.65rem;
  letter-spacing: -0.015em;
}

.legal-content p,
.legal-content li {
  color: #3f514f;
}

.legal-content li + li {
  margin-top: 0.55rem;
}

.legal-meta {
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.support-card {
  padding: 2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.support-card .button {
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
    padding: 1rem 0;
  }

  .site-header nav {
    width: 100%;
    justify-content: flex-start;
    padding-bottom: 0.35rem;
    overflow-x: auto;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 1rem;
  }

  .hero-art {
    min-height: 430px;
    margin-bottom: 4rem;
  }

  .section-intro,
  .principles {
    grid-template-columns: 1fr;
  }

  .section-intro .eyebrow {
    margin-bottom: -2rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: auto;
  }

  .feature-number {
    margin-bottom: 2rem;
  }

  footer {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .site-header,
  footer,
  .hero,
  .rhythm,
  .closing,
  .legal-shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 72px;
  }

  .hero-copy {
    padding-top: 3.5rem;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4rem);
  }

  .hero-art {
    min-height: 360px;
    border-radius: 44% 44% 24px 24px;
  }

  .lantern {
    width: 128px;
  }

  .lantern-body {
    height: 165px;
  }

  .orbit-one {
    width: 260px;
    height: 260px;
  }

  .orbit-two {
    width: 340px;
    height: 340px;
  }

  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }

  .trust-strip p + p {
    border-left: 0;
  }

  .trust-strip p:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .trust-strip p:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .rhythm,
  .closing,
  .principles {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .section-intro {
    gap: 2rem;
  }

  .section-intro .eyebrow {
    margin-bottom: -1rem;
  }

  .principles {
    padding-right: 20px;
    padding-left: 20px;
  }

  .legal-shell {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 3rem;
  }

  .legal-sidebar {
    position: static;
  }

  .footer-links {
    width: 100%;
    order: 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
