:root {
  --canvas: #FAF7F2;
  --surface: #FFFFFF;
  --ink: #303B32;
  --muted: #6D736A;
  --accent: #AD533A;
  --accent-soft: #F3E2D9;
  --border: #E8E4DB;
  --sage: #E8F3EE;
  --sand: #F5EFEB;
  --terracotta: #FDF0ED;
  --lavender: #F1EEFA;
  --sunflower: #FEF9E7;
  --sky: #EDF5FD;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

section[id] {
  scroll-margin-top: 80px;
}

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

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 24px;
  letter-spacing: -1.2px;
  font-weight: 750;
  white-space: nowrap;
}

.brand-accent {
  font-weight: 450;
}

.brand i {
  font-style: normal;
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  font-weight: 650;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn.primary {
  background: var(--accent);
  color: white;
}

.btn.primary:hover {
  background: #94432d;
}

.btn.secondary {
  background: white;
  border: 1px solid var(--border);
  color: var(--ink);
}

.btn.secondary:hover {
  background: #f7f6f0;
}

.btn.small {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 13px;
}

.btn.large {
  min-height: 52px;
  padding: 14px 30px;
  font-size: 16px;
  border-radius: 16px;
}

/* Header */
.landing-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.landing-nav-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-anchor {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.nav-anchor:hover {
  color: var(--ink);
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-link-btn {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
}

/* Hero Section */
.hero-section {
  padding: 60px 24px 80px;
}

.hero-container {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #f0ebe1;
  border: 1px solid #e2ddd0;
  font-size: 12px;
  font-weight: 700;
  color: #575d43;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #84c095;
}

.hero-title {
  font-size: 54px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--ink);
}

.highlight-serif {
  font-family: Georgia, serif;
  font-weight: normal;
  font-style: italic;
  color: var(--accent);
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: #575d43;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-main-btn {
  box-shadow: 0 8px 24px rgba(173, 83, 58, 0.28);
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.icon.check {
  color: #3b6e49;
}

/* Hero Showcase Mockup */
.hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.showcase-card {
  width: 100%;
  max-width: 380px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(48, 59, 50, 0.08);
  transform: rotate(-1.5deg);
  transition: transform 0.2s ease;
}

.showcase-card:hover {
  transform: rotate(0);
}

.card-tag-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.card-category {
  font-size: 11px;
  font-weight: 750;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.card-badge-status {
  font-size: 10px;
  font-weight: 700;
  background: #e8f3ee;
  color: #285434;
  padding: 4px 10px;
  border-radius: 999px;
}

.card-title {
  font-size: 26px;
  font-family: Georgia, serif;
  margin-bottom: 16px;
  line-height: 1.2;
}

.card-progress-box {
  background: var(--sand);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 12px;
}

.progress-pct {
  color: var(--accent);
  font-weight: 800;
}

.progress-streak {
  font-size: 11px;
  color: #575d43;
  font-weight: 600;
}

.progress-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
}

.card-actions-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.action-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
}

.action-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e0f2e5;
  color: #285434;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-partner-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f7f6f0;
  border-radius: 14px;
  padding: 10px 14px;
  margin-bottom: 16px;
}

.partner-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #84c095;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.partner-meta strong {
  display: block;
  font-size: 12px;
}

.partner-meta small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}

.card-mini-matrix {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-bottom: 14px;
}

.mini-day {
  aspect-ratio: 1;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

.mini-day.done { background: #e0f2e5; color: #285434; }
.mini-day.current { background: #fee8e5; color: var(--accent); border: 1.5px solid var(--accent); }
.mini-day.escape { background: #e5edf8; color: #2563eb; font-size: 8px; }
.mini-day.future { background: #f0ebe1; color: var(--muted); }

.card-footer-note {
  border-top: 1px dashed var(--border);
  padding-top: 10px;
  text-align: center;
  font-size: 10px;
  color: var(--muted);
}

.floating-badge {
  position: absolute;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 30px rgba(48, 59, 50, 0.12);
  z-index: 2;
}

.floating-badge.top-right {
  top: -15px;
  right: -20px;
}

.badge-icon.alert {
  color: var(--accent);
}

.floating-badge.bottom-left {
  bottom: -20px;
  left: -20px;
}

.badge-icon.fire {
  color: #e07a3c;
}

.floating-badge strong {
  display: block;
  font-size: 12px;
}

.floating-badge small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}

/* Sections Common */
.section-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-heading {
  margin-bottom: 56px;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}

.section-heading h2 {
  font-size: 38px;
  font-family: Georgia, serif;
  font-weight: normal;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: #575d43;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

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

/* Comparison Grid */
.comparison-section {
  padding: 80px 0;
  background: #f4efe6;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.comparison-card {
  background: white;
  border-radius: 24px;
  padding: 36px 32px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(48, 59, 50, 0.04);
}

.comparison-card.good {
  border-color: #84c095;
  box-shadow: 0 12px 32px rgba(59, 110, 73, 0.08);
}

.card-indicator {
  display: inline-block;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 6px;
  background: #fdf0ed;
  color: #ad533a;
  margin-bottom: 16px;
}

.card-indicator.good {
  background: #e8f3ee;
  color: #285434;
}

.comparison-card h3 {
  font-size: 22px;
  font-family: Georgia, serif;
  margin-bottom: 20px;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.list-icon-cross {
  color: #ad533a;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}

.list-icon-check {
  color: #285434;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}

/* Steps Section */
.steps-section {
  padding: 90px 0;
}

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

.step-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 28px;
  position: relative;
  transition: transform 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
}

.step-num {
  font-size: 38px;
  font-family: Georgia, serif;
  font-weight: 800;
  color: rgba(173, 83, 58, 0.18);
  margin-bottom: 8px;
}

.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f0ebe1;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-family: Georgia, serif;
}

.step-card p {
  font-size: 14px;
  color: #575d43;
  line-height: 1.6;
}

/* Features Grid */
.features-section {
  padding: 90px 0;
  background: #fbf9f5;
  border-top: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 26px;
}

.feature-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.feature-icon-badge.sage { background: #e0f2e5; }
.feature-icon-badge.terracotta { background: #fee8e5; }
.feature-icon-badge.lavender { background: #f0edf8; }
.feature-icon-badge.sunflower { background: #fdf5e2; }

.feature-box h3 {
  font-size: 18px;
  font-family: Georgia, serif;
  margin-bottom: 8px;
}

.feature-box p {
  font-size: 14px;
  color: #575d43;
  line-height: 1.6;
}

/* PWA Spotlight Card */
.pwa-section {
  padding: 60px 0;
}

.pwa-card {
  background: #303b32;
  color: white;
  border-radius: 28px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 40px;
}

.accent-light {
  color: #e2a898 !important;
}

.pwa-copy h2 {
  font-size: 34px;
  font-family: Georgia, serif;
  margin-bottom: 16px;
}

.pwa-copy p {
  font-size: 15px;
  color: #cdd4ce;
  line-height: 1.6;
  margin-bottom: 24px;
}

.pwa-instruction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
}

.instruction-col strong {
  display: block;
  font-size: 13px;
  color: white;
  margin-bottom: 4px;
}

.instruction-col p {
  font-size: 12px;
  color: #a4b0a6;
}

.pwa-cta-row {
  margin-top: 28px;
}

.pwa-action-btn {
  background: var(--accent);
  color: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.pwa-action-btn:hover {
  background: #94432d;
  transform: translateY(-2px);
}

.app-icon-preview-link {
  display: block;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.app-icon-preview-link:hover {
  transform: scale(1.04);
}

.preview-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: #fee8e5;
  padding: 4px 10px;
  border-radius: 999px;
  margin-top: 4px;
}
.pwa-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-icon-preview {
  background: white;
  border-radius: 24px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #303b32;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

/* Final CTA Section */
.final-cta-section {
  padding: 100px 0;
  background: #f4efe6;
  border-top: 1px solid var(--border);
}

.final-cta-section h2 {
  font-size: 42px;
  font-family: Georgia, serif;
  margin-bottom: 16px;
}

.final-cta-desc {
  font-size: 17px;
  color: #575d43;
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.final-btn {
  box-shadow: 0 10px 30px rgba(173, 83, 58, 0.3);
}

/* Footer */
.landing-footer {
  background: var(--canvas);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  transition: color 0.15s ease;
}

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

.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 24px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-subtitle {
    margin: 0 auto 32px;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-trust-badges {
    justify-content: center;
  }
  .hero-title {
    font-size: 42px;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .pwa-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .pwa-instruction-grid {
    grid-template-columns: 1fr;
  }
  .landing-nav-links {
    display: none;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 500px) {
  .hero-title {
    font-size: 34px;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-main-btn,
  .hero-sub-btn {
    width: 100%;
    justify-content: center;
  }
  .floating-badge {
    display: none;
  }
  .showcase-card {
    transform: none;
  }
}
