*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color tokens */
  --color-bg: #FBF7F2;
  --color-bg-alt: #F3EDE4;
  --color-text: #1A1A1A;
  --color-text-secondary: #4A4A4A;
  --color-text-muted: #8A8A8A;
  --color-accent: #05472A;
  --color-accent-hover: #063D25;
  --color-accent-soft: #6B816D;
  --color-text-accent: #FC8EAC;
  --color-emphasis: #6E2C3A;
  --color-error: #8A3E3A;
  --color-error-soft: rgba(138, 62, 58, 0.08);
  --color-border-soft: rgba(26, 26, 26, 0.04);
  --color-border-muted: rgba(26, 26, 26, 0.06);
  --color-divider: rgba(26, 26, 26, 0.12);
  --color-surface: #FFFFFF;
  --color-surface-overlay: rgba(251, 247, 242, 0.92);

  /* Typography tokens */
  --font-family-display: 'DM Serif Display', Georgia, serif;
  --font-family-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --font-size-label: 0.75rem;
  --font-size-meta: 0.8125rem;
  --font-size-body-sm: 0.96875rem;
  --font-size-body: 1rem;
  --font-size-body-lg: 1.0625rem;
  --font-size-logo: 1.375rem;
  --font-size-section-heading: clamp(2rem, 3.5vw, 2.25rem);
  --font-size-hero: clamp(2.5rem, 4.6vw, 4.25rem);
  --font-size-hero-mobile: clamp(3rem, 11vw, 3.75rem);

  --font-weight-regular: 600;
  --font-weight-medium: 500;

  --line-height-body: 1.6;
  --line-height-copy: 1.65;
  --line-height-hero: 1.25;
  --line-height-hero-mobile: 1.25;

  --tracking-tight: -0.01em;
  --tracking-meta: 0.02em;
  --tracking-wide: 0.04em;
  --tracking-label: 0.1em;

  /* Spacing tokens */
  --space-1: 0.375rem;
  --space-2: 0.5rem;
  --space-3: 0.875rem;
  --space-4: 1rem;
  --space-5: 1.125rem;
  --space-6: 1.25rem;
  --space-7: 1.5rem;
  --space-8: 2rem;
  --space-9: 2.5rem;
  --space-10: 3rem;
  --space-11: 13rem;
  --space-12: 4.25rem;
  --space-13: 4.5rem;
  --space-14: 15rem;
  --space-15: 5.75rem;
  --space-16: 6.5rem;

  /* Component-specific spacing */
  --hero-padding-top: calc(var(--nav-height) + var(--space-8));
  --hero-padding-bottom: var(--space-13);
  --hero-gap-heading: var(--space-10);
  --hero-gap-cta: var(--space-11);
  --hero-gap-heading-mobile: 2.25rem;
  --hero-gap-cta-mobile: var(--space-10);

  /* Layout tokens */
  --nav-height: 72px;
  --container-content: 760px;
  --container-different: 1080px;
  --container-form: 560px;
  --container-footer: 960px;
  --different-illustration-width: 420px;
  --different-illustration-height: 260px;

  /* Shape tokens */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-control: 16px;
  --radius-pill: 999px;

  /* Motion tokens */
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: var(--line-height-body);
  font-size: 16px;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  min-height: var(--nav-height);
  padding: 0 var(--space-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-surface-overlay);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-soft);
}

.logo {
  font-family: var(--font-family-display);
  font-size: var(--font-size-logo);
  color: var(--color-text);
  letter-spacing: 0.01em;
  text-decoration: none;
}

.nav-cta {
  font-family: var(--font-family-body);
  font-size: var(--font-size-meta);
  font-weight: var(--font-weight-medium);
  color: var(--color-accent-soft);
  text-decoration: none;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: var(--space-2) 0;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base);
}

.nav-cta:hover {
  border-bottom-color: var(--color-accent-soft);
}

.hero {
  min-height: calc(100vh - var(--nav-height));
  min-height: calc(100svh - var(--nav-height));
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--hero-padding-top) var(--space-8) var(--hero-padding-bottom);
  width: 100%;
  margin: 0 auto;
}

.hero-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-headline {
  font-family: var(--font-family-display);
  font-size: var(--font-size-hero);
  line-height: var(--line-height-hero);
  color: var(--color-text);
  margin-bottom: var(--hero-gap-heading);
  letter-spacing: var(--tracking-tight);
}

.headline-line {
  display: block;
  white-space: nowrap;
}

.headline-emphasis {
  color: var(--color-text-accent);
  font-style: normal;
}

.hero-sub {
  font-family: var(--font-family-body);
  font-size: clamp(1rem, 0.8vw + 0.75rem, 1.2rem);
  line-height: 1.55;
  color: var(--color-text-secondary);
  margin-bottom: var(--hero-gap-cta);
}

.sub-line {
  display: block;
  white-space: nowrap;
}

.hero-cta,
.form-submit {
  display: inline-block;
  font-family: var(--font-family-body);
  font-size: var(--font-size-body-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-bg);
  background-color: var(--color-accent);
  padding: 0.9375rem 2.5rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  letter-spacing: var(--tracking-meta);
  transition: background-color var(--transition-base), transform var(--transition-fast);
}

.hero-cta:hover,
.form-submit:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-1px);
}

.divider {
  width: 48px;
  height: 1px;
  background-color: var(--color-divider);
  margin: 0 auto;
}

.different {
  padding: var(--space-14) var(--space-8);
  max-width: var(--container-different);
  margin: 0 auto;
}

.different-label {
  font-family: var(--font-family-body);
  font-size: var(--font-size-label);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--color-accent-soft);
  margin-bottom: var(--space-8);
}

.different-featured-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-11);
  margin-bottom: var(--space-11);
}

.different-feature {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(320px, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.different-feature--pending {
  grid-template-columns: minmax(0, 620px);
}

.different-feature-copy {
  min-width: 0;
}

.different-illustration-wrap {
  justify-self: end;
  width: var(--different-illustration-width);
  height: var(--different-illustration-height);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.different-illustration {
  display: block;
  width: auto;
  height: inherit;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
}

.different-secondary-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  max-width: 620px;
}

.different-feature-item,
.different-item {
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
}

.different-feature-item .different-icon,
.different-item .different-icon {
  margin-top: 0.125rem;
}

.different-icon {
  flex-shrink: 0;
  width: 3px;
  height: 100%;
  min-height: 40px;
  background-color: var(--color-accent-soft);
  border-radius: 2px;
  opacity: 0.4;
}

.different-feature-item h3 {
  font-family: var(--font-family-display);
  font-size: clamp(1.625rem, 2vw, 1.95rem);
  line-height: 1.12;
  margin-bottom: var(--space-2);
  color: var(--color-text);
  font-weight: var(--font-weight-regular);
}

.different-feature-item p {
  font-size: clamp(1rem, 0.4vw + 0.9rem, 1.125rem);
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 26ch;
}

.different-item h3 {
  font-family: var(--font-family-display);
  font-size: 1.375rem;
  margin-bottom: var(--space-2);
  color: var(--color-text);
  font-weight: var(--font-weight-regular);
}

.different-item p {
  font-size: var(--font-size-body);
  color: var(--color-text-secondary);
  line-height: var(--line-height-copy);
}

.waitlist {
  padding: var(--space-15) var(--space-8) var(--space-16);
  max-width: var(--container-form);
  margin: 0 auto;
}

.waitlist-heading {
  font-family: var(--font-family-display);
  font-size: var(--font-size-section-heading);
  text-align: center;
  margin-bottom: 0.875rem;
  color: var(--color-text);
}

.waitlist-sub {
  text-align: center;
  font-size: var(--font-size-body);
  color: var(--color-text-secondary);
  margin-bottom: 2.75rem;
  line-height: var(--line-height-copy);
}

.form-group {
  margin-bottom: var(--space-5);
}

.autocomplete-group {
  position: relative;
}

.form-label {
  display: block;
  font-size: var(--font-size-meta);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  margin-bottom: var(--space-1);
  letter-spacing: var(--tracking-meta);
}

.form-label-optional {
  font-weight: var(--font-weight-regular);
  color: var(--color-text-muted);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-input,
.form-select {
  width: 100%;
  font-family: var(--font-family-body);
  font-size: var(--font-size-body-sm);
  padding: 0.875rem 1rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-control);
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition-base);
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder {
  color: var(--color-text-muted);
}

.form-input:focus,
.form-select:focus {
  border-color: var(--color-accent);
}

.form-input.is-invalid,
.form-select.is-invalid {
  border-color: var(--color-error);
  background-color: var(--color-error-soft);
}

.form-input.is-invalid:focus,
.form-select.is-invalid:focus {
  border-color: var(--color-error);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238A8A8A' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.autocomplete-list {
  position: absolute;
  top: calc(100% + 0.375rem);
  left: 0;
  right: 0;
  z-index: 30;
  display: none;
  padding: 0.375rem 0;
  background-color: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-control);
  box-shadow: 0 10px 24px rgba(26, 26, 26, 0.06);
}

.autocomplete-list.visible {
  display: block;
}

.autocomplete-option {
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  padding: 0.75rem 1rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.autocomplete-option:hover,
.autocomplete-option.active {
  background-color: rgba(5, 71, 42, 0.05);
}

.autocomplete-option-label {
  font-family: var(--font-family-body);
  font-size: var(--font-size-body-sm);
  color: var(--color-text);
  line-height: 1.4;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  border: none;
  cursor: pointer;
  margin-top: var(--space-2);
}

.form-submit::after {
  content: '';
  display: none;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 999px;
  border: 2px solid rgba(251, 247, 242, 0.32);
  border-top-color: var(--color-bg);
  animation: form-submit-spin 0.7s linear infinite;
}

.form-submit.is-loading::after {
  display: block;
}

.form-submit:disabled {
  opacity: 0.72;
  cursor: wait;
}

.form-submit.is-success {
  background-color: var(--color-text);
}

.form-submit.is-success:hover,
.form-submit.is-success:disabled {
  background-color: var(--color-text);
  opacity: 1;
  cursor: default;
  transform: none;
}

.form-submit:active {
  transform: translateY(0);
}

.field-error {
  margin-top: var(--space-1);
  font-size: var(--font-size-label);
  line-height: 1.45;
  color: var(--color-error);
}

.form-submit-error {
  margin-top: var(--space-3);
  text-align: center;
  font-size: var(--font-size-label);
  line-height: 1.45;
  color: var(--color-error);
}

@keyframes form-submit-spin {
  to {
    transform: rotate(360deg);
  }
}

.form-footer {
  text-align: center;
  margin-top: var(--space-6);
  font-size: var(--font-size-label);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.form-link {
  color: var(--color-text-muted);
  text-decoration: underline;
}

.form-success {
  display: none;
  text-align: center;
  padding: 0;
}

.form-success.visible {
  display: block;
}

.form-success h3 {
  font-family: var(--font-family-display);
  font-size: var(--font-size-section-heading);
  margin-bottom: 0.875rem;
  color: var(--color-text);
}

.form-success p {
  font-size: var(--font-size-body);
  color: var(--color-text-secondary);
  line-height: var(--line-height-copy);
  max-width: none;
  margin: 0 auto;
}

footer {
  padding: var(--space-9) var(--space-8);
  border-top: 1px solid var(--color-border-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-footer);
  margin: 0 auto;
}

.footer-left {
  font-family: var(--font-family-display);
  font-size: var(--font-size-body);
  color: var(--color-text);
}

.footer-links {
  display: flex;
  gap: var(--space-7);
}

.footer-links a {
  font-size: var(--font-size-meta);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: var(--color-text);
}

.utility-page {
  min-height: 100vh;
  background-color: var(--color-bg);
  color: var(--color-text);
}

.utility-shell {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
}

.utility-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border-muted);
}

.utility-brand,
.utility-back {
  color: var(--color-text);
  text-decoration: none;
}

.utility-brand {
  font-family: var(--font-family-display);
  font-size: var(--font-size-logo);
}

.utility-back {
  font-size: var(--font-size-meta);
  letter-spacing: var(--tracking-meta);
  color: var(--color-text-secondary);
}

.utility-main {
  padding-top: 4rem;
}

.utility-kicker {
  display: inline-block;
  margin-bottom: var(--space-4);
  font-size: var(--font-size-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.utility-title {
  font-family: var(--font-family-display);
  font-size: var(--font-size-section-heading);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.utility-intro {
  font-size: var(--font-size-body);
  line-height: var(--line-height-copy);
  color: var(--color-text-secondary);
  margin-bottom: 2.5rem;
}

.utility-section {
  margin-top: 2rem;
}

.utility-section h2 {
  font-family: var(--font-family-display);
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.utility-section p,
.utility-section li {
  font-size: var(--font-size-body);
  line-height: var(--line-height-copy);
  color: var(--color-text-secondary);
}

.utility-list {
  padding-left: 1.25rem;
}

.utility-list li + li,
.utility-section p + p {
  margin-top: 0.875rem;
}

.utility-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  margin-top: 1rem;
}

.utility-contact-links a {
  color: var(--color-accent);
  text-decoration: none;
}

.utility-contact-links a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  :root {
    --nav-height: 64px;
    --hero-padding-top: calc(var(--nav-height) + 1.25rem);
    --hero-padding-bottom: 3rem;
    --hero-gap-heading: var(--hero-gap-heading-mobile);
    --hero-gap-cta: var(--hero-gap-cta-mobile);
  }

  nav {
    padding: 0 1.25rem;
  }

  .hero {
    min-height: calc(100svh - var(--nav-height));
    padding: var(--hero-padding-top) 1.25rem var(--hero-padding-bottom);
  }

  .hero-headline {
    font-size: var(--font-size-hero-mobile);
    line-height: var(--line-height-hero-mobile);
    max-width: 10ch;
  }

  .headline-line,
  .sub-line {
    white-space: normal;
  }

  .hero-sub {
    font-size: var(--font-size-body-lg);
    max-width: 30ch;
  }

  .different {
    padding: var(--space-12) 1.25rem;
  }

  .different-feature {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    margin-bottom: var(--space-9);
  }

  .different-illustration-wrap {
    justify-self: start;
    width: min(100%, 420px);
    height: 240px;
  }

  .different-secondary-items {
    max-width: none;
  }

  .waitlist {
    padding: var(--space-13) 1.25rem 5rem;
  }

  .utility-main {
    padding-top: 3rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
    padding: var(--space-8) 1.25rem;
  }
}
