:root {
  --primary: #3aa856;
  --primary-dark: #2e8a45;
  --primary-foreground: #ffffff;
  --bg: #ffffff;
  --fg: #1f2a23;
  --muted: #f3f7f4;
  --muted-fg: #6b7a70;
  --border: #d9e6dd;
  --gradient-hero: linear-gradient(135deg, #4cb86a 0%, #2e8a45 100%);
  --footer-bg: #1c2a22;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--fg); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* HERO */
.hero { background: var(--gradient-hero); color: #fff; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; }
.nav__brand { font-size: 1.5rem; font-weight: 700; }
.nav__links { display: none; gap: 32px; font-size: 0.9rem; font-weight: 500; }
.nav__links a { opacity: 0.9; }
.nav__links a:hover { opacity: 1; }
@media (min-width: 768px) { .nav__links { display: flex; } }

.hero__content { text-align: center; padding: 64px 0 96px; max-width: 720px; margin: 0 auto; }
.hero__title { font-size: 3rem; font-weight: 700; line-height: 1.1; }
@media (min-width: 768px) { .hero__title { font-size: 3.5rem; } }
.hero__subtitle { margin-top: 24px; font-size: 1.125rem; opacity: 0.95; }

.search { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; padding: 8px; background: rgba(255,255,255,0.1); backdrop-filter: blur(6px); border-radius: 8px; }
@media (min-width: 600px) { .search { flex-direction: row; } }
.search input { flex: 1; padding: 16px 20px; border: none; border-radius: 6px; background: #fff; color: var(--fg); font-size: 1rem; outline: none; }
.search button { background: var(--primary-dark); color: #fff; padding: 16px 32px; border-radius: 6px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: filter 0.2s; }
.search button:hover { filter: brightness(1.1); }

.hero__actions { margin-top: 32px; display: flex; gap: 12px; justify-content: center; }
.btn-white { background: #fff; color: var(--primary); padding: 12px 24px; border-radius: 6px; font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,0.05); transition: box-shadow 0.2s; }
.btn-white:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; padding: 10px 22px; border-radius: 6px; font-weight: 600; transition: all 0.2s; }
.btn-outline:hover { background: #fff; color: var(--primary); }

/* SECTIONS */
section { padding: 80px 0; }
.section-title { text-align: center; font-size: 1.875rem; font-weight: 700; color: var(--primary); }
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }

.steps { display: grid; gap: 40px; margin-top: 56px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { text-align: center; }
.step__icon { width: 96px; height: 96px; margin: 0 auto; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; }
.step__icon svg { width: 40px; height: 40px; }
.step__title { margin-top: 24px; font-size: 1.25rem; font-weight: 700; color: var(--primary); }
.step__desc { margin-top: 12px; color: var(--muted-fg); }

/* RESOURCES */
.resources { background: #f3f7f4; }
.resources__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 768px) { .resources__grid { grid-template-columns: 1fr 1fr; } }
.resources h2 { font-size: 1.875rem; font-weight: 700; color: var(--primary); }
@media (min-width: 768px) { .resources h2 { font-size: 2.25rem; } }
.resources p.lead { margin-top: 20px; font-size: 1.125rem; color: var(--muted-fg); }
.feature-list { margin-top: 24px; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feature-list li { display: flex; align-items: center; gap: 12px; }
.check { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 0.75rem; font-weight: 700; }

.tracking-card { background: #fff; border-radius: 16px; padding: 32px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); border: 1px solid var(--border); }
.tracking-row { display: flex; align-items: center; justify-content: space-between; padding: 16px; border: 1px solid var(--border); border-radius: 8px; }
.tracking-row + .tracking-row { margin-top: 16px; }
.tracking-row__left { display: flex; align-items: center; gap: 12px; font-family: ui-monospace, SFMono-Regular, monospace; font-size: 0.875rem; }
.tracking-row__left svg { width: 20px; height: 20px; color: var(--primary); }
.badge { padding: 4px 12px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; color: #fff; }
.badge--green { background: var(--primary); }
.badge--amber { background: #c98a14; }
.badge--gray { background: #6b7a70; }

/* CTA */
.cta { background: var(--gradient-hero); color: #fff; text-align: center; }
.cta h2 { font-size: 1.875rem; font-weight: 700; }
@media (min-width: 768px) { .cta h2 { font-size: 2.25rem; } }
.cta p { margin-top: 16px; font-size: 1.125rem; opacity: 0.95; }
.cta button { margin-top: 32px; }

/* FOOTER */
footer { background: var(--footer-bg); color: rgba(255,255,255,0.85); }
.footer__grid { display: grid; gap: 40px; padding: 64px 0; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: repeat(3, 1fr); } }
.footer__title { color: #fff; font-weight: 600; margin-bottom: 16px; }
.footer__brand { color: #fff; font-size: 1.5rem; font-weight: 700; }
.footer__list { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 0.875rem; }
.footer__list li { display: flex; align-items: flex-start; gap: 12px; }
.footer__list svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.footer__copy { border-top: 1px solid rgba(255,255,255,0.1); text-align: center; padding: 24px 0; font-size: 0.75rem; opacity: 0.7; }

/* PRIVACY PAGE */
.privacy-header { background: var(--primary); color: #fff; padding: 20px 0; border-bottom: 1px solid var(--border); }
.privacy-header .container { display: flex; align-items: center; justify-content: space-between; }
.privacy-main { max-width: 760px; margin: 0 auto; padding: 64px 24px; }
.privacy-main h1 { font-size: 2.25rem; color: var(--primary); font-weight: 700; }
.privacy-main .updated { margin-top: 12px; color: var(--muted-fg); font-size: 0.875rem; }
.privacy-section { margin-top: 32px; }
.privacy-section h2 { font-size: 1.5rem; color: var(--primary); font-weight: 600; }
.privacy-section p, .privacy-section li { margin-top: 8px; color: var(--muted-fg); }
.privacy-section ul { padding-left: 24px; margin-top: 8px; }
.privacy-section a { color: var(--primary); text-decoration: underline; }