:root {
  --bg: #f6f2ea;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-contrast: #13231d;
  --text: #102018;
  --muted: #536258;
  --line: rgba(16, 32, 24, 0.12);
  --line-strong: rgba(16, 32, 24, 0.2);
  --brand: #0f6c52;
  --brand-deep: #0d4d3c;
  --accent: #f3c969;
  --shadow: 0 24px 60px rgba(27, 38, 31, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Instrument Sans", "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(243, 201, 105, 0.28), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(15, 108, 82, 0.14), transparent 24%),
    linear-gradient(180deg, #fbf8f2 0%, #f4efe6 100%);
  color: var(--text);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(246, 242, 234, 0.82);
  border-bottom: 1px solid rgba(16, 32, 24, 0.08);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.brand-word {
  font-size: 1.05rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--muted);
}

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

.nav-cta {
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  width: 2.8rem;
  height: 2.8rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.menu-toggle span {
  width: 1.1rem;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.hero {
  padding: 4rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

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

.hero-copy h1,
.split-card h2,
.section-heading h2,
.cta-copy h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero-copy h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  max-width: 12ch;
}

.hero-text,
.section-copy p,
.section-heading p,
.feature-card p,
.preview-card p,
.cta-copy p,
.faq-item p,
.footer-copy,
.form-note,
.form-message {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 58ch;
  margin: 1.25rem 0 0;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  box-shadow: 0 14px 32px rgba(15, 108, 82, 0.26);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.78);
}

.hero-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
}

.hero-points li::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--brand));
  flex: 0 0 auto;
}

.hero-card {
  position: relative;
}

.phone-frame {
  width: min(100%, 420px);
  margin-left: auto;
  padding: 1rem;
  border-radius: 2.8rem;
  background: linear-gradient(180deg, rgba(18, 34, 28, 0.96), rgba(15, 23, 20, 0.92));
  box-shadow: var(--shadow);
}

.phone-screen {
  border-radius: 2.1rem;
  padding: 1.2rem;
  background:
    radial-gradient(circle at top, rgba(243, 201, 105, 0.2), transparent 32%),
    linear-gradient(180deg, #183229 0%, #0f1a16 100%);
  color: #eef7f1;
}

.status-row,
.screen-grid {
  display: grid;
  gap: 1rem;
}

.status-row {
  grid-template-columns: 1fr auto;
  font-size: 0.82rem;
  color: rgba(238, 247, 241, 0.72);
  margin-bottom: 1rem;
}

.screen-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1rem 0;
}

.screen-panel {
  padding: 1rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.accent-panel {
  background: linear-gradient(135deg, rgba(243, 201, 105, 0.18), rgba(15, 108, 82, 0.28));
}

.muted-panel {
  color: rgba(238, 247, 241, 0.78);
}

.screen-panel h2,
.screen-panel strong,
.preview-card h3,
.feature-card h3 {
  margin: 0;
  letter-spacing: -0.03em;
}

.screen-panel h2 {
  margin-top: 0.15rem;
  font-size: 1.55rem;
}

.screen-panel p {
  margin: 0.4rem 0 0;
  line-height: 1.55;
}

.panel-label,
.preview-label,
.note-kicker {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(238, 247, 241, 0.7);
}

.floating-note {
  position: absolute;
  left: -1.2rem;
  bottom: 1.4rem;
  max-width: 220px;
  padding: 1rem 1.1rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(16, 32, 24, 0.08);
  box-shadow: 0 18px 40px rgba(16, 32, 24, 0.12);
}

.floating-note strong {
  display: block;
  line-height: 1.45;
}

.note-kicker {
  color: var(--brand);
}

.section {
  padding: 2.5rem 0 5rem;
}

.section-contrast {
  padding-top: 4.5rem;
}

.split-card,
.cta-panel {
  display: grid;
  gap: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.split-card {
  grid-template-columns: 1fr 1fr;
  padding: 2.2rem;
}

.split-card h2,
.section-heading h2,
.cta-copy h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.section-copy p {
  margin: 0 0 1rem;
}

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

.section-heading p {
  margin-top: 1rem;
}

.feature-grid,
.preview-grid {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.preview-card,
.faq-item,
.waitlist-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
}

.feature-card {
  padding: 1.5rem;
  min-height: 100%;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(15, 108, 82, 0.1);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 700;
}

.feature-card h3 {
  margin-top: 1rem;
  font-size: 1.2rem;
}

.preview-grid {
  grid-template-columns: 1.25fr 1fr 1fr;
}

.preview-card {
  min-height: 260px;
  padding: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 242, 234, 0.92)),
    linear-gradient(135deg, rgba(243, 201, 105, 0.2), rgba(15, 108, 82, 0.08));
}

.preview-tall {
  min-height: 360px;
}

.preview-label {
  color: var(--brand);
}

.cta-panel {
  grid-template-columns: 1fr 420px;
  padding: 2rem;
  background:
    radial-gradient(circle at top right, rgba(243, 201, 105, 0.16), transparent 25%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 243, 235, 0.92));
}

.waitlist-form {
  padding: 1.5rem;
  display: grid;
  gap: 0.8rem;
}

.waitlist-form label {
  font-size: 0.92rem;
  font-weight: 600;
}

.waitlist-form input,
.waitlist-form select {
  width: 100%;
  min-height: 3.2rem;
  border-radius: 1rem;
  border: 1px solid var(--line-strong);
  background: #fff;
  padding: 0.9rem 1rem;
  color: var(--text);
}

.waitlist-form input:focus,
.waitlist-form select:focus {
  outline: 2px solid rgba(15, 108, 82, 0.16);
  border-color: rgba(15, 108, 82, 0.4);
}

.form-note,
.form-message {
  margin: 0;
  font-size: 0.92rem;
}

.form-message {
  min-height: 1.5rem;
  color: var(--brand-deep);
  font-weight: 600;
}

.faq-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 1.4rem;
  font-weight: 600;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  font-size: 1.2rem;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 1.4rem 1.4rem;
}

.site-footer {
  padding: 0 0 2.5rem;
}

.footer-row {
  display: grid;
  grid-template-columns: 1.2fr auto auto;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.78);
}

.footer-brand {
  margin-bottom: 0.9rem;
}

.footer-copy {
  max-width: 40ch;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
}

.footer-meta {
  margin: 0;
  color: var(--muted);
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-card,
  .cta-panel,
  .feature-grid,
  .preview-grid,
  .footer-row {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 10ch;
  }

  .phone-frame {
    margin: 0 auto;
  }

  .floating-note {
    left: 1rem;
    bottom: -1.2rem;
  }
}

@media (max-width: 760px) {
  .site-header {
    backdrop-filter: blur(12px);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 1.4rem;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 40px rgba(16, 32, 24, 0.12);
  }

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

  .nav-cta {
    text-align: center;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }

  .split-card,
  .cta-panel,
  .footer-row {
    padding: 1.35rem;
  }

  .section {
    padding: 2rem 0 3.6rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .floating-note {
    position: static;
    max-width: none;
    margin-top: 1rem;
  }
}
