:root {
  --bark: #16241C;
  --slate: #46564A;
  --haze: #5F6E63;
  --moss: #2E6B4C;
  --fern: #57996F;
  --sprout: #DCE9DD;
  --honey: #B8762E;
  --honey-ink: #8A5A1E;
  --clay: #A8402F;
  --clay-tint: #FBEDEA;
  --bone: #FCFCF9;
  --wash: #EEF3EC;
  --line: #DCE4DA;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Karla", -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--wash);
  color: var(--bark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; }

/* ---- Nav ---- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.nav .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.4px;
  color: var(--bark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.nav-cta {
  background: var(--moss);
  color: var(--bone);
  border: none;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: 64px 0 72px;
  background-image: url("hero-background.svg");
  background-repeat: no-repeat;
  background-position: center 22%;
  background-size: cover;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(238, 243, 236, 0.88) 0%,
    rgba(238, 243, 236, 0.7) 28%,
    rgba(238, 243, 236, 0.28) 50%,
    rgba(238, 243, 236, 0.04) 66%
  );
  pointer-events: none;
}

.hero .wrap {
  width: 100%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 540px;
  margin: 0;
}

/* ---- Glass surfaces ---- */
.glass {
  background: rgba(252, 252, 249, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-tag {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 10px 18px 10px 10px;
  box-shadow: 0 16px 40px rgba(22, 36, 28, 0.12);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--bark);
}

.hero-tag .avatars {
  display: flex;
}

.hero-tag .avatars span {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 2px solid var(--bone);
  background: var(--sprout);
  margin-left: -8px;
}

.hero-tag .avatars span:first-child { margin-left: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--moss);
  background: rgba(220, 233, 221, 0.85);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

h1.headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: -1.4px;
  margin: 0 0 20px;
  color: var(--bark);
}

.subhead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--slate);
  max-width: 480px;
  margin: 0 0 32px;
}

/* ---- Waitlist form ---- */
.waitlist-form {
  border-radius: 20px;
  padding: 20px;
  max-width: 480px;
  box-shadow: 0 20px 50px rgba(22, 36, 28, 0.12);
}

.form-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.form-row:last-of-type { margin-bottom: 0; }

input[type="email"],
select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(22, 36, 28, 0.12);
  background: rgba(252, 252, 249, 0.8);
  color: var(--bark);
  appearance: none;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2346564A' stroke-width='1.5' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 36px;
}

input[type="email"]:focus,
select:focus {
  outline: none;
  border-color: var(--fern);
}

.submit-btn {
  width: 100%;
  background: var(--moss);
  color: var(--bone);
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  margin-top: 4px;
}

.submit-btn:hover { background: var(--fern); }
.submit-btn:disabled { opacity: 0.6; cursor: default; }

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate);
  margin: 2px 2px 12px;
  cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--moss);
  cursor: pointer;
  flex-shrink: 0;
}

.form-note {
  font-size: 13px;
  color: var(--haze);
  margin: 12px 0 0;
  text-align: center;
}

.form-message {
  display: none;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 14px;
  border-radius: 10px;
  margin-top: 10px;
  text-align: center;
}

.form-message.show { display: block; }
.form-message.success { background: var(--sprout); color: var(--moss); }
.form-message.error { background: var(--clay-tint); color: var(--clay); }

/* ---- Phone mockup ---- */
.phone-frame {
  width: 230px;
  height: 480px;
  margin: 0 auto;
  background: var(--bark);
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 24px 60px rgba(22, 36, 28, 0.28);
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bone);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 22px 18px;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: var(--bark);
  border-radius: 999px;
  z-index: 2;
}

.phone-greeting {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--haze);
  margin: 26px 0 2px;
}

.phone-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  color: var(--bark);
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}

.phone-card {
  background: var(--wash);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 10px;
}

.phone-card.accent {
  background: var(--sprout);
}

.phone-card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 6px;
}

.phone-card-value {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--bark);
}

.phone-row {
  display: flex;
  gap: 8px;
}

.phone-chip {
  flex: 1;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  font-size: 11px;
  color: var(--slate);
  font-weight: 600;
}

.phone-tabbar {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.phone-tab {
  font-size: 9px;
  font-weight: 700;
  color: var(--haze);
  text-align: center;
}

.phone-tab.active { color: var(--moss); }

.phone-tab-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  margin: 0 auto 4px;
}

/* ---- Problem statement ---- */
.statement {
  padding: 72px 0;
  text-align: center;
}

.statement p {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.4;
  letter-spacing: -0.4px;
  max-width: 760px;
  margin: 0 auto;
  color: var(--bark);
}

.statement .highlight { color: var(--moss); }

/* ---- App preview ---- */
.app-preview {
  padding: 24px 0 80px;
}

.app-preview-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 56px;
}

.app-preview-visual { display: flex; justify-content: center; }

.app-preview-copy h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -0.5px;
  margin: 16px 0 14px;
  color: var(--bark);
}

.app-preview-copy p {
  color: var(--slate);
  font-size: 16px;
  line-height: 1.7;
  max-width: 440px;
  margin: 0;
}

/* ---- Circles (lead section) ---- */
.circles {
  padding: 24px 0 72px;
}

.pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--moss);
  background: var(--sprout);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.circle-block {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 20px;
}

.circle-block-head h3,
.circle-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.4px;
  margin: 0 0 12px;
  color: var(--bark);
}

.circle-block-head p,
.circle-card p {
  color: var(--slate);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  max-width: 620px;
}

.circle-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.circle-chip {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--bark);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 18px;
}

.circle-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.circle-card {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 32px;
}

.circle-card h3 { font-size: 22px; }

/* ---- Features ---- */
.features {
  padding: 40px 0 80px;
}

.section-heading {
  text-align: center;
  margin-bottom: 44px;
}

.section-heading h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 34px;
  letter-spacing: -0.6px;
  margin: 0 0 12px;
}

.section-heading p {
  color: var(--slate);
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sprout);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 20px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  margin: 0 0 8px;
  letter-spacing: -0.2px;
}

.feature-card p {
  color: var(--slate);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* ---- FAQ ---- */
.faq {
  padding: 40px 0 88px;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 4px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: var(--bark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question .icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--moss);
  font-size: 20px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question .icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  color: var(--slate);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 4px 20px;
  max-width: 620px;
}

/* ---- Final CTA ---- */
.final-cta {
  background: var(--bark);
  padding: 80px 0;
  text-align: center;
  border-radius: 32px;
  margin: 0 24px 64px;
}

.final-cta .wrap { max-width: 560px; }

.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 34px;
  color: var(--bone);
  letter-spacing: -0.6px;
  margin: 0 0 14px;
}

.final-cta p {
  color: var(--sprout);
  font-size: 16px;
  margin: 0 0 32px;
}

.final-cta .waitlist-form {
  background: var(--wash);
  margin: 0 auto;
  text-align: left;
}

/* ---- Footer ---- */
footer {
  padding: 32px 0 48px;
  text-align: center;
}

.footer-mark {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
}

footer .logo {
  display: inline-flex;
  margin-bottom: 8px;
}

footer .tagline {
  color: var(--haze);
  font-size: 13px;
  margin: 0 0 16px;
}

footer .copyright {
  color: var(--haze);
  font-size: 12px;
  margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .hero {
    min-height: 0;
    padding: 32px 0 40px;
    background-position: center top;
  }
  .hero-inner {
    max-width: none;
  }
  .waitlist-form { padding: 20px 16px; }
  .hero-tag { margin: 24px 0 0; width: fit-content; }
  h1.headline { font-size: 38px; }
  .statement p { font-size: 24px; }
  .app-preview-grid {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    gap: 32px;
    text-align: center;
  }
  .app-preview-copy p { margin: 0 auto; }
  .phone-frame { width: 220px; height: 460px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .circle-two { grid-template-columns: 1fr; }
  .circle-block { padding: 32px 24px; }
  .circle-block-head h3 { font-size: 22px; }
  .final-cta { margin: 0 16px 48px; padding: 56px 24px; }
}

@media (max-width: 520px) {
  .feature-grid { grid-template-columns: 1fr; }
  .circle-card { padding: 28px 22px; }
  .circle-chip { font-size: 13px; padding: 10px 15px; }
  .form-row { flex-direction: column; }
  h1.headline { font-size: 32px; letter-spacing: -1px; }
  .final-cta h2 { font-size: 26px; }
  .survey-modal-art { max-height: 160px; }
  .survey-modal-body { padding: 22px 22px 26px; }
}

/* ---- Survey modal ---- */
.survey-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.survey-modal[hidden] {
  display: none;
}

.survey-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 36, 28, 0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.survey-modal-card {
  position: relative;
  z-index: 1;
  background: var(--bone);
  border-radius: 24px;
  overflow: hidden;
  max-width: 440px;
  width: 100%;
  max-height: calc(100vh - 40px);
  box-shadow: 0 30px 70px rgba(22, 36, 28, 0.28);
  text-align: left;
  animation: survey-pop 0.25s ease;
  display: flex;
  flex-direction: column;
}

.survey-modal-art {
  background: var(--wash);
  max-height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}

.survey-modal-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.survey-modal-body {
  padding: 28px 32px 32px;
  overflow-y: auto;
}

@media (min-width: 640px) {
  .survey-modal-card {
    flex-direction: row;
    max-width: 680px;
    max-height: min(520px, calc(100vh - 40px));
  }

  .survey-modal-art {
    max-height: none;
    width: 42%;
  }

  .survey-modal-body {
    flex: 1;
    padding: 40px 40px 40px 36px;
  }
}

@keyframes survey-pop {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.survey-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: rgba(252, 252, 249, 0.9);
  backdrop-filter: blur(6px);
  color: var(--slate);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(22, 36, 28, 0.18);
}

.survey-modal-close:hover { background: var(--sprout); color: var(--moss); }

.survey-modal-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.4px;
  margin: 14px 0 10px;
  color: var(--bark);
}

.survey-modal-card p {
  color: var(--slate);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0 0 22px;
}

.survey-modal-cta {
  display: block;
  text-align: center;
  text-decoration: none;
}

.survey-modal-dismiss {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: var(--haze);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  padding: 14px 0 0;
  cursor: pointer;
  text-align: center;
}

.survey-modal-dismiss:hover { color: var(--moss); }
