/* HomeBase marketing landing page */
:root {
  --brand: #0f766e;
  --brand-dark: #0b5d57;
  --brand-light: #e2f1ef;
  --accent: #f59e0b;
  --text: #17252f;
  --muted: #5b6b78;
  --bg: #fdfefe;
  --alt: #f2f6f5;
  --line: #e3e9ee;
  --radius: 16px;
  --shadow: 0 2px 8px rgba(15, 23, 42, .07), 0 8px 30px rgba(15, 23, 42, .06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.2; }
a { color: var(--brand); }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  background: rgba(253, 254, 254, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-brand { font-weight: 800; font-size: 19px; color: var(--brand-dark); text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--muted); }
.nav-links a:hover { color: var(--brand-dark); }
.btn-nav {
  background: var(--brand); color: #fff !important;
  padding: 9px 16px; border-radius: 10px;
}
@media (max-width: 640px) { .nav-links a:not(.btn-nav) { display: none; } }

/* buttons */
.btn-primary, .btn-secondary {
  display: inline-block; text-decoration: none; text-align: center;
  font-weight: 700; font-size: 16px;
  padding: 14px 26px; border-radius: 12px;
  transition: transform .1s ease, filter .15s ease;
  border: none; cursor: pointer; font-family: inherit;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 4px 14px rgba(15, 118, 110, .35); }
.btn-secondary { background: #fff; color: var(--brand-dark); border: 2px solid var(--line); }
.btn-primary:hover, .btn-secondary:hover { filter: brightness(1.05); transform: translateY(-1px); }

/* hero */
.hero { padding: 72px 24px 84px; background: linear-gradient(180deg, var(--brand-light) 0%, var(--bg) 85%); }
.hero-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.hero-badge {
  display: inline-block; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 16px;
  font-weight: 700; font-size: 13.5px; color: var(--brand-dark);
  margin-bottom: 22px; box-shadow: var(--shadow);
}
.hero h1 { font-size: clamp(34px, 6vw, 56px); margin-bottom: 18px; }
.hero h1 em { color: var(--brand); font-style: normal; }
.hero-sub { font-size: clamp(16px, 2.3vw, 19px); color: var(--muted); max-width: 680px; margin: 0 auto 28px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }

.hero-demo {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  flex-wrap: wrap; margin-top: 52px; text-align: left;
}
.demo-doc, .demo-reminders {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px 20px; min-width: 260px; max-width: 320px;
}
.demo-doc { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; color: var(--muted); }
.demo-doc-title { font-weight: 700; color: var(--text); font-family: var(--font); font-size: 14px; margin-bottom: 8px; }
.demo-doc-line { padding: 2px 0; }
.demo-doc-line.highlight { background: #fef3d9; border-radius: 6px; padding: 2px 6px; color: #92400e; font-weight: 700; }
.demo-arrow { font-size: 30px; color: var(--brand); font-weight: 800; }
.demo-reminder { display: flex; gap: 8px; align-items: center; font-size: 14px; padding: 6px 0; }
.demo-reminder b { color: var(--brand-dark); }

/* sections */
.section { padding: 76px 24px; max-width: 1020px; margin: 0 auto; }
.section.alt { max-width: none; background: var(--alt); }
.section.alt > * { max-width: 1020px; margin-left: auto; margin-right: auto; }
.section h2 { font-size: clamp(26px, 4vw, 36px); text-align: center; margin-bottom: 10px; }
.section-sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 44px; font-size: 16.5px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.step { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; position: relative; }
.step-num {
  position: absolute; top: -14px; left: 22px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin: 6px 0 8px; font-size: 18px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.feature { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.feature span { font-size: 28px; }
.feature h3 { font-size: 17px; margin: 10px 0 6px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* digest promo */
.digest-promo-card {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff; border-radius: 22px; padding: 44px 34px; text-align: center;
  box-shadow: 0 14px 40px rgba(15, 118, 110, .35);
}
.digest-promo-card h2 { color: #fff; }
.digest-promo-card > p { opacity: .9; max-width: 560px; margin: 10px auto 24px; }
.digest-sample {
  display: inline-block; text-align: left;
  background: rgba(255, 255, 255, .12); border-radius: 14px; padding: 18px 24px;
}
.digest-sample div { padding: 4px 0; font-weight: 600; font-size: 15px; }

/* pricing */
.pricing { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.price-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px; width: 290px; text-align: center; position: relative;
  border: 2px solid transparent;
}
.price-card.featured { border-color: var(--brand); }
.price-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 800;
  border-radius: 999px; padding: 3px 14px;
}
.price-card h3 { font-size: 18px; }
.price { font-size: 40px; font-weight: 800; color: var(--brand-dark); margin: 8px 0; }
.price span { font-size: 15px; color: var(--muted); font-weight: 600; }
.price-card p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }

/* waitlist */
.waitlist {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px; max-width: 560px; margin: 0 auto; text-align: center;
}
.waitlist h3 { font-size: 19px; margin-bottom: 6px; }
.waitlist p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
#waitlist-form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
#waitlist-form input {
  flex: 1; min-width: 220px;
  font: inherit; font-size: 15px;
  padding: 13px 16px; border: 2px solid var(--line); border-radius: 12px;
}
#waitlist-form input:focus { outline: none; border-color: var(--brand); }
.waitlist-done { color: var(--brand-dark) !important; font-weight: 700; margin-top: 12px; }

/* faq */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-list details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 20px; margin-bottom: 10px;
}
.faq-list summary { font-weight: 700; cursor: pointer; font-size: 15.5px; }
.faq-list p { color: var(--muted); font-size: 14.5px; margin-top: 10px; }

/* footer */
.footer {
  text-align: center; padding: 44px 24px 54px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px;
}
.footer-links { margin: 10px 0; }
.footer-note { font-size: 13px; }
