@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --bg:     #F7F8F3;
  --green:  #344E41;
  --fern:   #588157;
  --sage:   #A3B18A;
  --hunter: #3A5A40;
  --muted:  #9CAA96;
  --border: #DDE4D4;
  --cream:  #ECF0E5;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--green); font-family: 'DM Sans', sans-serif; font-weight: 300; line-height: 1.6; overflow-x: hidden; }

nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 20px 48px; background: rgba(247,248,243,0.88); backdrop-filter: blur(12px); border-bottom: 0.5px solid var(--border); }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo svg { width: 32px; height: 32px; }
.nav-wordmark { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-style: italic; font-weight: 400; letter-spacing: 0.5px; color: var(--green); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 400; color: var(--muted); text-decoration: none; letter-spacing: 0.3px; transition: color 0.2s; }
.nav-links a:hover { color: var(--green); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.lang-group { display: flex; align-items: center; gap: 8px; }
.lang-btn { font-size: 11px; letter-spacing: 1px; color: var(--muted); cursor: pointer; background: none; border: none; padding: 2px 0; transition: color 0.2s; font-family: 'DM Sans', sans-serif; }
.lang-btn.active { color: var(--green); font-weight: 500; }
.lang-sep { color: var(--border); font-size: 11px; }

.cta-primary { display: inline-flex; align-items: center; gap: 10px; background: var(--hunter); color: var(--bg); padding: 14px 28px; border-radius: 40px; font-size: 13px; font-weight: 500; text-decoration: none; letter-spacing: 0.3px; transition: all 0.25s; border: 1px solid var(--hunter); font-family: 'DM Sans', sans-serif; }
.cta-primary:hover { background: var(--green); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(52,78,65,0.18); }
.cta-primary svg { width: 16px; height: 16px; }
.download-link { padding: 10px 20px; font-size: 12px; }

.hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 120px 48px 80px; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fern); margin-bottom: 32px; animation: pulse 3s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }
.hero-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(52px, 8vw, 96px); font-weight: 300; line-height: 1.05; text-align: center; letter-spacing: -1px; color: var(--green); max-width: 700px; margin-bottom: 24px; }
.hero-title em { font-style: italic; color: var(--fern); }
.hero-sub { font-size: 15px; color: var(--muted); text-align: center; max-width: 380px; margin-bottom: 48px; line-height: 1.7; font-style: italic; }
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cta-note { font-size: 11px; color: var(--muted); letter-spacing: 0.5px; }

.phone-frame { width: 220px; height: 440px; background: var(--cream); border-radius: 32px; border: 1px solid var(--border); overflow: hidden; box-shadow: 0 32px 64px rgba(52,78,65,0.12), 0 2px 8px rgba(52,78,65,0.06); margin-top: 72px; }
.phone-screen { padding: 20px 16px; }
.phone-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.phone-icon { width: 28px; height: 28px; border-radius: 8px; background: var(--hunter); display: flex; align-items: center; justify-content: center; }
.phone-title { font-size: 14px; font-weight: 500; color: var(--green); }
.phone-tabs { display: flex; gap: 12px; border-bottom: 0.5px solid var(--border); padding-bottom: 8px; margin-bottom: 14px; }
.phone-tab { font-size: 11px; color: var(--muted); padding-bottom: 6px; }
.phone-tab.active { color: var(--fern); border-bottom: 1.5px solid var(--fern); font-weight: 500; }
.phone-greeting { font-size: 18px; font-weight: 600; color: var(--green); margin-bottom: 3px; }
.phone-date { font-size: 10px; color: var(--muted); margin-bottom: 10px; }
.phone-progress { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.phone-progress-label { font-size: 10px; color: var(--fern); font-weight: 500; }
.progress-bar { flex: 1; height: 2px; background: var(--border); border-radius: 1px; overflow: hidden; }
.progress-fill { height: 100%; width: 33%; background: var(--fern); border-radius: 1px; }
.phone-card { background: var(--bg); border-radius: 10px; padding: 10px 12px; border: 0.5px solid var(--border); }
.phone-card-title { font-size: 11px; font-weight: 600; color: var(--green); margin-bottom: 8px; }
.phone-task { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-bottom: 0.5px solid var(--border); }
.phone-task:last-child { border-bottom: none; }
.task-check { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--border); flex-shrink: 0; }
.task-check.done { background: var(--fern); border-color: var(--fern); }
.task-name { font-size: 10px; color: var(--green); }
.task-name.done { text-decoration: line-through; color: var(--muted); }

.divider { width: 1px; height: 60px; background: var(--border); margin: 0 auto; }

.section { padding: 100px 48px; max-width: 900px; margin: 0 auto; }
.section-label { font-size: 10px; letter-spacing: 3px; color: var(--muted); text-transform: uppercase; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.section-label::after { content: ''; flex: 1; max-width: 40px; height: 0.5px; background: var(--border); }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(32px, 4vw, 48px); font-weight: 300; color: var(--green); margin-bottom: 48px; line-height: 1.2; }
.section-title em { font-style: italic; color: var(--fern); }
.section-title--compact { margin-bottom: 24px; }
.section-copy { font-size: 14px; color: var(--muted); margin-bottom: 32px; max-width: 420px; line-height: 1.7; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.feature-card { padding: 32px 28px; background: var(--cream); transition: background 0.2s; }
.feature-card:hover { background: #E4EAD8; }
.feature-card:first-child { border-radius: 16px 0 0 16px; }
.feature-card:last-child { border-radius: 0 16px 16px 0; }
.feature-icon { width: 36px; height: 36px; margin-bottom: 20px; opacity: 0.7; }
.feature-title { font-size: 14px; font-weight: 500; color: var(--green); margin-bottom: 8px; }
.feature-desc { font-size: 12px; color: var(--muted); line-height: 1.7; }

.apps-grid { display: flex; flex-direction: column; gap: 2px; }
.app-card { display: flex; align-items: center; gap: 20px; padding: 28px 32px; background: var(--cream); border-radius: 16px; text-decoration: none; transition: background 0.2s, transform 0.2s; }
.app-card:hover { background: #E4EAD8; transform: translateY(-1px); }
.app-card-icon { width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0; overflow: hidden; }
.app-card-icon svg { width: 100%; height: 100%; }
.app-card-body { flex: 1; min-width: 0; }
.app-card-name { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-style: italic; color: var(--green); margin-bottom: 4px; }
.app-card-desc { font-size: 12px; color: var(--muted); line-height: 1.6; }
.app-card-status { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); padding: 6px 14px; border: 1px solid var(--border); border-radius: 20px; flex-shrink: 0; white-space: nowrap; }
.app-card-status--live { color: var(--fern); border-color: var(--fern); }

.tagline { padding: 100px 48px; text-align: center; }
.tagline-text { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px, 4vw, 52px); font-weight: 300; font-style: italic; color: var(--green); max-width: 600px; margin: 0 auto 24px; line-height: 1.3; }
.tagline-sub { font-size: 12px; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; }

.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 640px; }
.legal-title { font-size: 13px; font-weight: 500; color: var(--green); margin-bottom: 8px; }
.legal-text { font-size: 12px; color: var(--muted); line-height: 1.8; }

footer { border-top: 0.5px solid var(--border); padding: 32px 48px; display: flex; align-items: center; justify-content: space-between; }
.footer-left { display: flex; align-items: center; gap: 8px; }
.footer-wordmark { font-family: 'Cormorant Garamond', serif; font-size: 16px; font-style: italic; color: var(--green); }
.footer-dot { color: var(--border); }
.footer-tagline { font-size: 11px; color: var(--muted); font-style: italic; }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { font-size: 11px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--green); }
.footer-copy { font-size: 11px; color: var(--muted); }

@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
.hero-dot { animation: fadeUp 0.6s ease forwards, pulse 3s 0.6s ease-in-out infinite; }
.hero-title { animation: fadeUp 0.7s 0.1s ease both; }
.hero-sub { animation: fadeUp 0.7s 0.2s ease both; }
.hero-cta { animation: fadeUp 0.7s 0.3s ease both; }
.phone-frame { animation: fadeUp 0.8s 0.4s ease both; }

/* ── TABLET — 768px ──────────────────────────────────────── */
@media (max-width: 768px) {

  nav {
    padding: 16px 24px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 100px 24px 60px;
  }

  .hero-title {
    font-size: clamp(40px, 10vw, 64px);
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .feature-card:first-child { border-radius: 16px 16px 0 0; }
  .feature-card:last-child  { border-radius: 0 0 16px 16px; }

  .section {
    padding: 60px 24px;
  }

  .tagline {
    padding: 60px 24px;
  }

  .app-card {
    padding: 22px 20px;
    gap: 14px;
  }

  .app-card-icon {
    width: 44px;
    height: 44px;
  }

  .app-card-status {
    font-size: 9px;
    padding: 5px 10px;
  }

  .legal-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  footer {
    flex-direction: column;
    gap: 20px;
    padding: 24px;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

/* ── MOBILE — 480px ──────────────────────────────────────── */
@media (max-width: 480px) {

  nav {
    padding: 14px 20px;
  }

  .nav-wordmark {
    font-size: 18px;
  }

  .cta-primary {
    padding: 12px 20px;
    font-size: 12px;
  }

  .hero {
    padding: 90px 20px 48px;
  }

  .hero-title {
    font-size: clamp(36px, 11vw, 52px);
    letter-spacing: -0.5px;
  }

  .hero-sub {
    font-size: 14px;
    max-width: 300px;
  }

  .phone-frame {
    width: 190px;
    height: 380px;
    border-radius: 28px;
    margin-top: 48px;
  }

  .phone-greeting {
    font-size: 15px;
  }

  .section {
    padding: 48px 20px;
  }

  .section-title {
    font-size: clamp(26px, 7vw, 36px);
    margin-bottom: 32px;
  }

  .features-grid {
    gap: 2px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .tagline {
    padding: 48px 20px;
  }

  .tagline-text {
    font-size: clamp(22px, 6vw, 36px);
  }

  .app-card {
    flex-wrap: wrap;
    padding: 20px;
  }

  .app-card-status {
    margin-left: 66px;
  }

  .legal-grid {
    gap: 20px;
  }

  footer {
    padding: 20px;
    gap: 16px;
  }

  .footer-links {
    gap: 16px;
  }
}