:root {
  --bg:        #F3EEE0;
  --surface:   #FBF8EE;
  --line:      #E6E0CF;
  --text:      #2B2823;
  --text-soft: #6F6A5E;
  --text-mute: #9A9482;
  --text-inv:  #FBF9F0;
  --brand:     #0E6F68;
  --brand-dk:  #0A524D;
  --brand-tint:#D6E8E5;
  --accent:    #C8DDD8;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow:    0 2px 8px rgba(28,24,16,0.06), 0 12px 32px rgba(28,24,16,0.04);
  --font:      Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brand);
  text-decoration: none;
}

/* ── Layout ── */

.landing-section {
  width: 100%;
  padding: 64px 24px;
}

.landing-container {
  max-width: 1080px;
  margin: 0 auto;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-soft);
  max-width: 560px;
}

/* ── Hero ── */

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 64px;
}

.hero-inner {
  max-width: 640px;
}

.launch-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  margin: 0 auto 24px;
  border-radius: 999px;
  background: var(--brand-tint);
  border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
  color: var(--brand-dk);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}

.launch-pill:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.launch-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 60%, transparent);
  animation: launch-pulse 2s ease-out infinite;
  flex-shrink: 0;
}

.launch-pill-arrow {
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  transition: transform 0.15s;
}

.launch-pill:hover .launch-pill-arrow {
  transform: translateX(2px);
}

@keyframes launch-pulse {
  0%   { box-shadow: 0 0 0 0    color-mix(in srgb, var(--brand) 60%, transparent); }
  70%  { box-shadow: 0 0 0 8px  color-mix(in srgb, var(--brand) 0%,  transparent); }
  100% { box-shadow: 0 0 0 0    color-mix(in srgb, var(--brand) 0%,  transparent); }
}

@media (prefers-reduced-motion: reduce) {
  .launch-pill-dot { animation: none; }
}

.hero-mascot {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--brand-tint);
  padding: 8px;
  margin: 0 auto 32px;
  box-shadow: var(--shadow);
}

.hero-mascot img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.hero h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.appstore-badge {
  display: inline-block;
  transition: opacity 0.15s;
}

.appstore-badge:hover {
  opacity: 0.85;
}

.appstore-badge img {
  height: 48px;
  width: auto;
}

.cta-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
  transition: color 0.15s;
}

.cta-text:hover {
  color: var(--brand-dk);
}

/* ── Social proof strip ── */

.social-proof {
  padding: 32px 24px;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.social-proof p {
  font-size: 15px;
  color: var(--text-mute);
  max-width: 560px;
  margin: 0 auto;
}

/* ── How it works ── */

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 48px;
}

.step {
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--text-inv);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
}

.step-screenshot {
  width: 220px;
  margin: 0 auto 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 15px;
  color: var(--text-soft);
  max-width: 320px;
  margin: 0 auto;
}

/* ── Features ── */

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 48px;
}

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

.feature-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.5;
}

/* ── Pricing ── */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 48px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  position: relative;
}

.pricing-card.highlighted {
  border: 2px solid var(--brand);
  box-shadow: var(--shadow);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: var(--text-inv);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-plan {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-mute);
}

.pricing-note {
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 20px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--text-soft);
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
}

.pricing-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.pricing-cta {
  display: inline-block;
  width: 100%;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  transition: background 0.15s, color 0.15s;
}

.pricing-cta-primary {
  background: var(--brand);
  color: var(--text-inv);
}

.pricing-cta-primary:hover {
  background: var(--brand-dk);
  color: var(--text-inv);
}

.pricing-cta-secondary {
  background: var(--brand-tint);
  color: var(--brand);
}

.pricing-cta-secondary:hover {
  background: var(--accent);
}

/* ── FAQ ── */

.faq-list {
  margin-top: 48px;
  max-width: 720px;
}

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

.faq-list summary {
  cursor: pointer;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

.faq-list summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--text-mute);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-list details[open] summary::after {
  content: "\2212";
}

.faq-list .faq-answer {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.65;
  padding-bottom: 20px;
}

.faq-list .faq-answer a {
  text-decoration: underline;
}

/* ── Testimonials ── */

.testimonials {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.testimonial-card blockquote {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 20px;
  font-weight: 500;
}

.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--text-inv);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-meta strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.testimonial-meta span {
  font-size: 13px;
  color: var(--text-mute);
}

/* ── Comparison table ── */

.comparison-table-wrap {
  margin-top: 48px;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.comparison-table thead th {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  background: var(--bg);
  border-bottom: 2px solid var(--line);
}

.comparison-table thead th.comparison-us {
  color: var(--text-inv);
  background: var(--brand);
}

.comparison-table tbody th {
  font-weight: 600;
  color: var(--text);
  width: 30%;
}

.comparison-table td {
  color: var(--text-soft);
}

.comparison-table td.comparison-us {
  background: var(--brand-tint);
  color: var(--text);
  font-weight: 600;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table .comparison-feature-col {
  width: 30%;
}

.comparison-yes,
.comparison-no,
.comparison-partial {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.comparison-yes::before {
  content: "\2713";
  color: var(--brand);
  font-size: 15px;
}

.comparison-no::before {
  content: "\2013";
  color: var(--text-mute);
  font-size: 15px;
}

.comparison-partial::before {
  content: "\25CB";
  color: var(--text-mute);
  font-size: 13px;
}

.comparison-footnote {
  font-size: 12px;
  color: var(--text-mute);
  margin-top: 16px;
  text-align: center;
  line-height: 1.5;
}

/* ── Footer ── */

.landing-footer {
  border-top: 1px solid var(--line);
  padding: 32px 24px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.footer-brand span {
  font-size: 13px;
  color: var(--text-mute);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-mute);
  transition: color 0.15s;
}

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

/* ── Responsive: tablet+ ── */

@media (min-width: 640px) {
  .hero h1 {
    font-size: 48px;
  }

  .hero-mascot {
    width: 112px;
    height: 112px;
  }

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

  .step-screenshot {
    width: 200px;
  }

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

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .section-title {
    font-size: 36px;
  }
}

/* ── Responsive: desktop ── */

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 56px;
  }

  .hero-mascot {
    width: 128px;
    height: 128px;
  }

  .landing-section {
    padding: 96px 40px;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}
