:root {
  --ink: #17333a;
  --ink-soft: #3d5a5f;
  --teal: #0f5963;
  --teal-dark: #0a3941;
  --leaf: #5d8a52;
  --coral: #c7654f;
  --gold: #dca84f;
  --paper: #fffaf0;
  --cream: #f5ead7;
  --stone: #d8c6ae;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(18, 44, 50, 0.22);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-140%);
  border-radius: 6px;
  background: var(--white);
  color: var(--teal-dark);
  padding: 10px 14px;
  font-weight: 800;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 28px;
  color: var(--white);
}

.brand-link,
.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-link {
  text-decoration: none;
  font-weight: 900;
}

.brand-link img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.site-nav a {
  border-radius: 6px;
  padding: 8px 10px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:focus-visible,
.site-nav a:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  outline: none;
}

.site-nav__short {
  display: none;
}

.hero {
  position: relative;
  min-height: 86vh;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
}

.hero__art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 32, 38, 0.82) 0%, rgba(8, 32, 38, 0.58) 42%, rgba(8, 32, 38, 0.18) 78%),
    linear-gradient(0deg, rgba(8, 32, 38, 0.42) 0%, rgba(8, 32, 38, 0.02) 48%);
}

.hero__content {
  width: min(100% - 48px, var(--max-width));
  min-height: 86vh;
  margin: 0 auto;
  padding: 120px 0 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}

.hero__wordmark {
  width: min(520px, 88vw);
  margin: 0 0 22px -10px;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.28));
}

.hero h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hero__headline {
  max-width: 740px;
  margin: 0;
  font-size: 3.35rem;
  line-height: 1.04;
  font-weight: 900;
}

.hero__copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.16rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 12px 18px;
  font-size: 0.96rem;
  font-weight: 900;
  text-decoration: none;
}

.button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.72);
  outline-offset: 3px;
}

.button--primary {
  background: var(--gold);
  color: #251b0a;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.button--primary:hover {
  background: #f0bd66;
}

.button--secondary {
  border-color: rgba(255, 255, 255, 0.68);
  color: var(--white);
  background: rgba(12, 50, 58, 0.2);
}

.button--secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.art-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 700;
}

.section-inner {
  width: min(100% - 48px, var(--max-width));
  margin: 0 auto;
}

.intro-section,
.status-section {
  background: var(--paper);
  padding: 74px 0;
}

.intro-grid,
.status-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1fr);
  gap: 54px;
  align-items: start;
}

.intro-grid {
  grid-template-columns: minmax(320px, 0.82fr) minmax(360px, 0.78fr);
  justify-content: space-between;
  align-items: center;
  gap: 42px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  font-size: 2.28rem;
  line-height: 1.12;
}

h3 {
  margin: 16px 0 10px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.intro-copy,
.status-layout p:last-child,
.waitlist-panel p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.intro-copy {
  border-left: 4px solid rgba(204, 86, 65, 0.34);
  padding-left: 24px;
  font-size: 1.12rem;
  line-height: 1.64;
}

.promise-section {
  background: #eaf0db;
  padding: 84px 0;
}

.section-heading {
  max-width: 680px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.feature-card {
  border: 1px solid rgba(23, 51, 58, 0.12);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.78);
  padding: 24px;
  box-shadow: 0 10px 28px rgba(23, 51, 58, 0.08);
}

.feature-card__number {
  color: var(--teal);
  font-weight: 900;
}

.feature-card p {
  margin: 0;
  color: var(--ink-soft);
}

.phrase-section {
  overflow: hidden;
  border-top: 1px solid rgba(23, 51, 58, 0.1);
  border-bottom: 1px solid rgba(23, 51, 58, 0.1);
  background:
    linear-gradient(90deg, rgba(7, 43, 50, 0.98), rgba(14, 81, 91, 0.98), rgba(7, 43, 50, 0.98)),
    var(--teal-dark);
  color: var(--cream);
}

.phrase-rail {
  width: 100%;
  padding: 20px 0;
}

.phrase-rail__track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: phrase-ribbon 96s linear infinite;
  will-change: transform;
}

.phrase-rail__group {
  display: flex;
  flex: 0 0 auto;
  gap: 14px;
}

.phrase-rail span {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.12),
    0 8px 20px rgba(0, 0, 0, 0.12);
}

@keyframes phrase-ribbon {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 7px));
  }
}

.status-section {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.62), rgba(255, 250, 240, 0.88)),
    var(--paper);
}

.status-layout {
  border: 1px solid rgba(23, 51, 58, 0.12);
  border-radius: 10px;
  background: rgba(255, 250, 240, 0.86);
  padding: 42px;
  box-shadow: 0 18px 42px rgba(23, 51, 58, 0.08);
}

.status-layout p:last-child {
  border-left: 4px solid rgba(15, 89, 99, 0.22);
  padding-left: 24px;
  font-size: 1.12rem;
  line-height: 1.62;
}

.waitlist-section {
  padding: 88px 0;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.94), rgba(255, 250, 240, 0.94)),
    var(--paper);
}

.waitlist-panel {
  border: 1px solid rgba(23, 51, 58, 0.12);
  border-radius: 8px;
  background: var(--white);
  padding: 42px;
  box-shadow: var(--shadow);
}

.waitlist-panel h2 {
  max-width: 720px;
}

.waitlist-panel p {
  max-width: 640px;
  margin-top: 16px;
}

.waitlist-panel .button {
  margin-top: 24px;
}

.mailer-lite-form {
  margin-top: 28px;
}

.mailer-lite-form:empty,
.ml-embedded:empty {
  min-height: 148px;
}

.ml-embedded {
  color: var(--ink);
}

.waitlist-submit-frame {
  display: none;
  width: 0;
  height: 0;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .phrase-rail {
    width: min(100% - 48px, var(--max-width));
    margin: 0 auto;
  }

  .phrase-rail__track {
    width: auto;
    animation: none;
  }

  .phrase-rail__group {
    flex-wrap: wrap;
  }

  .phrase-rail__group + .phrase-rail__group {
    display: none;
  }
}

.site-footer {
  background: var(--teal-dark);
  color: rgba(255, 255, 255, 0.74);
  padding: 26px 24px;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
}

.success-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(8, 32, 38, 0.84), rgba(8, 32, 38, 0.28)),
    url("assets/hero-key-art.jpg") center / cover no-repeat;
}

.success-header {
  position: absolute;
}

.success-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 104px 24px 48px;
}

.success-panel {
  width: min(100%, 660px);
  border: 1px solid rgba(23, 51, 58, 0.12);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.96);
  padding: 42px;
  box-shadow: var(--shadow);
}

.success-wordmark {
  width: min(360px, 88vw);
  margin: 0 0 24px -8px;
}

.success-panel h1 {
  margin: 0;
  color: var(--ink);
  font-size: 2.9rem;
  line-height: 1.04;
}

.success-panel p:not(.eyebrow) {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--ink-soft);
}

.success-panel .button {
  margin-top: 28px;
}

@media (max-width: 860px) {
  body {
    font-size: 17px;
  }

  .site-header {
    gap: 12px;
    padding: 12px 18px;
  }

  .site-nav {
    display: flex;
    gap: 6px;
    margin-left: auto;
  }

  .site-nav a {
    border: 1px solid rgba(255, 255, 255, 0.36);
    background: rgba(8, 32, 38, 0.36);
    padding: 7px 9px;
    font-size: 0.76rem;
  }

  .site-nav a[href="#how-it-works"] {
    display: none;
  }

  .hero,
  .hero__content {
    min-height: auto;
  }

  .hero__content {
    width: min(100% - 32px, var(--max-width));
    justify-content: flex-start;
    padding: 74px 0 34px;
  }

  .hero__wordmark {
    width: min(340px, 92vw);
    margin: 0 0 16px -8px;
  }

  .hero__art {
    object-position: 54% 35%;
  }

  .hero__headline {
    font-size: 2.45rem;
  }

  .hero__copy {
    font-size: 1rem;
  }

  .section-inner,
  .phrase-rail {
    width: min(100% - 32px, var(--max-width));
  }

  .intro-grid,
  .status-layout,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .status-layout {
    gap: 18px;
  }

  h2 {
    font-size: 1.82rem;
  }

  .intro-section,
  .promise-section,
  .status-section,
  .waitlist-section {
    padding: 58px 0;
  }

  .waitlist-panel {
    padding: 28px 22px;
  }

  .success-main {
    padding: 92px 16px 32px;
  }

  .success-panel {
    padding: 28px 22px;
  }

  .success-panel h1 {
    font-size: 2.25rem;
  }
}

@media (max-width: 480px) {
  .hero__headline {
    font-size: 2rem;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .button {
    padding-inline: 14px;
  }

  .brand-link span {
    display: none;
  }
}
