:root {
  --bg: #f1eee5;
  --bg-accent: #ede8dc;
  --ink: #141313;
  --muted: #5b534b;
  --line: #cbc2b2;
  --card: #f9f6ef;
  --primary: #005f56;
  --primary-ink: #f4fffd;
  --secondary: #d75d2b;
  --radius: 20px;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg-accent) 100%);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.bg-glow {
  pointer-events: none;
  position: fixed;
  border-radius: 999px;
  filter: blur(50px);
  opacity: 0.55;
  z-index: -1;
  animation: drift 10s ease-in-out infinite alternate;
}

.bg-glow-a {
  width: 360px;
  height: 360px;
  background: rgba(215, 93, 43, 0.25);
  top: -90px;
  right: -130px;
}

.bg-glow-b {
  width: 460px;
  height: 460px;
  background: rgba(0, 95, 86, 0.22);
  bottom: -120px;
  left: -160px;
  animation-delay: 1.2s;
}

.container {
  width: min(1080px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.section {
  padding: 3rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: rgba(241, 238, 229, 0.8);
  border-bottom: 1px solid rgba(203, 194, 178, 0.7);
  z-index: 20;
}

.nav-wrap {
  min-height: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
}

.chip-link {
  color: var(--primary);
  text-decoration: none;
  border: 1px solid var(--primary);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  transition: 0.2s ease;
}

.chip-link:hover,
.chip-link:focus-visible {
  background: var(--primary);
  color: var(--primary-ink);
}

.hero {
  padding-top: 4.25rem;
  padding-bottom: 2.4rem;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.6rem;
}

.display {
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 5.9vw, 4.55rem);
  line-height: 1.03;
  letter-spacing: -0.025em;
  margin: 0 0 1.15rem;
}

.display span {
  color: var(--primary);
}

.lede {
  margin: 0;
  max-width: 66ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.9vw, 1.2rem);
}

.hero-cta {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 0.72rem 1.15rem;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.96rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.btn-primary {
  background: var(--primary);
  color: var(--primary-ink);
  box-shadow: 0 10px 24px rgba(0, 95, 86, 0.2);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #004e46;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: #b3a892;
  box-shadow: 0 8px 20px rgba(20, 19, 19, 0.1);
}

.proof {
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
}

.proof li::before {
  content: "\2713";
  color: var(--primary);
  font-weight: 700;
  margin-right: 0.42rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.8vw, 2.2rem);
  line-height: 1.14;
  letter-spacing: -0.018em;
  margin: 0 0 1.2rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: color-mix(in srgb, var(--card), white 14%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
}

.card h3 {
  margin: 0 0 0.52rem;
  font-size: 1.07rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.comparison .table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: auto;
  background: var(--card);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

th,
td {
  text-align: left;
  padding: 0.8rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

tbody tr:last-child td {
  border-bottom: 0;
}

.waitlist-panel {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--card), white 10%) 0%,
    color-mix(in srgb, var(--card), var(--bg) 35%) 100%
  );
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

form {
  display: grid;
  gap: 0.46rem;
}

label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 0.35rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #bfb49f;
  border-radius: 10px;
  padding: 0.64rem 0.7rem;
  min-height: 42px;
  font: inherit;
  background: #fffdf8;
  color: var(--ink);
}

textarea {
  min-height: 108px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
.btn:focus,
.chip-link:focus {
  outline: 2px solid transparent;
  box-shadow: 0 0 0 2px rgba(0, 95, 86, 0.28);
}

.form-status {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  min-height: 1.25em;
  color: var(--muted);
}

.form-status.success {
  color: #0d5b21;
}

.form-status.error {
  color: #9d2118;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.1rem 0 2.1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 0.75s cubic-bezier(0.24, 1, 0.34, 1) forwards;
}

.reveal:nth-child(2) {
  animation-delay: 0.08s;
}

.reveal:nth-child(3) {
  animation-delay: 0.16s;
}

.reveal:nth-child(4) {
  animation-delay: 0.24s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translateY(-10px) scale(1);
  }
  to {
    transform: translateY(12px) scale(1.06);
  }
}

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

  .display {
    max-width: 15ch;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 2.2rem 0;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
