:root {
  --bg: #5C6576;
  --cream: #FAF3D1;
  --border: rgba(250, 243, 209, 0.25);
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

html {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}

main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

main > section:last-child {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.site-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: -6px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  opacity: 0;
  animation: fadeIn 1.4s ease forwards;
}

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

.site-nav a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover {
  text-decoration: underline;
}

.logo {
  height: 40px;
  width: auto;
}

.wordmark {
  color: var(--cream);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero {
  text-align: center;
  margin-top: 1rem;
  padding: 2.5rem 0 5rem;
}

.hero-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin: 0 0 0.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: fadeIn 1.4s ease 0.15s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.subline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin: 0 0 1.75rem;
  opacity: 0.85;
  font-weight: 500;
}

.intro {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
  opacity: 0.9;
}

.intro-sub {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  font-style: italic;
}

.waitlist-section {
  background: var(--cream);
  color: var(--bg);
  min-height: 22rem;
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.waitlist-section-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.waitlist-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 640px) {
  .waitlist-cards {
    grid-template-columns: 1fr;
  }
}

.waitlist-card {
  display: flex;
  flex-direction: column;
}

.waitlist-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.3rem;
}

.waitlist-card p {
  margin: 0 0 1.25rem;
  opacity: 0.85;
  font-size: 0.95rem;
  flex-grow: 1;
}

.btn {
  border: none;
  border-radius: 0;
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: scale(1.03);
}

.btn-primary {
  background: var(--cream);
  color: var(--bg);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--cream);
  margin-top: 0.75rem;
  width: 100%;
}

.btn-secondary:hover {
  background: rgba(250, 243, 209, 0.1);
}

.waitlist-form {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.waitlist-form[hidden] {
  display: none;
}

.waitlist-form label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  opacity: 0.85;
}

.waitlist-form input[type="email"] {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--cream);
  font-size: 1rem;
  font-family: inherit;
}

.waitlist-form input[type="email"]::placeholder {
  color: rgba(250, 243, 209, 0.5);
}

.waitlist-form input[type="email"]:focus {
  outline: 2px solid var(--cream);
  outline-offset: 2px;
}

.form-status {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  min-height: 1.2em;
}

.form-status.success {
  color: #cdeecb;
}

.form-status.error {
  color: #f3b3b3;
}

.waitlist-section .btn-primary {
  background: var(--bg);
  color: var(--cream);
}

.waitlist-section .btn-secondary {
  color: var(--bg);
  border-color: var(--bg);
}

.waitlist-section .btn-secondary:hover {
  background: rgba(92, 101, 118, 0.1);
}

.waitlist-section .waitlist-form {
  border-top-color: rgba(92, 101, 118, 0.3);
}

.waitlist-section .waitlist-form input[type="email"] {
  border-color: rgba(92, 101, 118, 0.3);
}

.waitlist-section .form-status.success {
  color: #2f6b3a;
}

.waitlist-section .form-status.error {
  color: #a33a3a;
}

.explainer-section {
  background: var(--bg);
  color: var(--cream);
  min-height: 22rem;
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.explainer-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 640px) {
  .explainer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.explainer h2 {
  font-size: 1.3rem;
  margin: 0 0 0.75rem;
}

.explainer p {
  opacity: 0.85;
  margin: 0 0 0.5rem;
  font-size: 0.98rem;
}

.difference-section {
  background: var(--cream);
  color: var(--bg);
  padding: 3rem 0 4rem;
  text-align: center;
}

.difference-section-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.difference-section h2 {
  font-size: 1.6rem;
  margin: 0 0 1.25rem;
}

.difference-section p {
  max-width: 520px;
  margin: 0 auto 0.5rem;
  opacity: 0.9;
}

.site-footer {
  background: var(--cream);
  color: var(--bg);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
}

.site-footer.dark {
  background: var(--bg);
  color: var(--cream);
}

.about-copy p + p {
  margin-top: 1rem;
}

.hero-accent-image {
  display: block;
  height: 180px;
  width: auto;
  margin: 1.5rem auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  opacity: 0.85;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid rgba(92, 101, 118, 0.3);
  background: var(--bg);
  color: var(--cream);
  font-size: 1rem;
  font-family: inherit;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(250, 243, 209, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--bg);
  outline-offset: 2px;
}

.contact-form .btn {
  align-self: flex-start;
}

.contact-alt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  max-width: 480px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(92, 101, 118, 0.2);
}

.contact-alt-logo {
  height: 22px;
  width: auto;
  flex-shrink: 0;
}

.contact-alt p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.85;
}

.contact-alt a {
  font-weight: 600;
}

.content-section.light .form-status.success {
  color: #2f6b3a;
}

.content-section.light .form-status.error {
  color: #a33a3a;
}

.content-section {
  padding: 4rem 0;
  text-align: center;
}

.contact-section {
  padding-top: 2.5rem;
}

.content-section-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.content-section.light {
  background: var(--cream);
  color: var(--bg);
}

.content-section.dark {
  background: var(--bg);
  color: var(--cream);
}

.content-section h2 {
  font-size: 1.75rem;
  margin: 0 0 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}


.section-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.section-heading.center {
  justify-content: center;
}

.section-heading h2 {
  margin: 0;
}

.section-icon {
  height: 58px;
  width: auto;
  display: block;
}

.section-icon--arrow {
  height: 70px;
}

.content-section p {
  margin: 0 0 1rem;
  opacity: 0.9;
  font-size: 1.05rem;
}

.content-section .btn {
  display: inline-block;
  margin-top: 0.5rem;
  text-decoration: none;
}

.content-section.light a {
  color: var(--bg);
}

.content-section.light .btn-primary {
  background: var(--bg);
  color: var(--cream);
}

.content-section.dark .btn-primary {
  background: var(--cream);
  color: var(--bg);
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 1100;
  }

  .site-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--bg);
    padding: 1.5rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    max-width: 280px;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1.25rem;
    text-align: center;
  }

  .site-nav a:last-child {
    border-bottom: none;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .logo {
    height: 34px;
  }

  .wordmark {
    font-size: 1.25rem;
  }

  .section-icon {
    height: 44px;
  }

  .section-icon--arrow {
    height: 54px;
  }

  .hero-accent-image {
    height: 140px;
  }

  .content-section h2 {
    font-size: 1.5rem;
  }
}
