:root {
  --green: #1f7a3f;
  --green-dark: #14301f;
  --green-soft: #e8f5ee;
  --green-mid: #2d9a55;
  --text: #1a2e24;
  --muted: #5a6b60;
  --border: rgba(20, 48, 31, 0.1);
  --card: #fff;
  --shadow: 0 18px 50px rgba(20, 48, 31, 0.08);
  --radius: 16px;
  --max: 1080px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color: var(--text);
  background: linear-gradient(165deg, var(--green-soft) 0%, #f7faf8 42%, #fff 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

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

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 24px);
  box-sizing: border-box;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
  min-width: 0;
  max-width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--green-dark);
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green-mid), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 0.95rem;
}

.nav-desktop {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 24px;
  min-width: 0;
}

.nav-desktop a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.nav-desktop a:hover {
  color: var(--green);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 24px rgba(31, 122, 63, 0.25);
}

.btn-primary:hover {
  background: var(--green-mid);
  color: #fff;
}

.btn-secondary {
  background: var(--green-soft);
  color: var(--green);
}

.btn-ghost {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--border);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--green-dark);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 12px 0 16px;
  border-top: 1px solid var(--border);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  padding: 4px 0;
}

/* Hero */
.hero {
  padding: 56px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  font-weight: 900;
  color: var(--green-dark);
  margin: 0 0 16px;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-note {
  font-size: 0.88rem;
  color: var(--muted);
}

.hero-visual {
  background: var(--card);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.story-section {
  padding-top: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.story-video-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: #0b1a12;
  box-sizing: border-box;
  min-width: 0;
  position: relative;
  aspect-ratio: 16 / 9;
}

.story-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  min-width: 0;
  border: 0;
  object-fit: contain;
  background: #0b1a12;
}

.phone-mock {
  background: linear-gradient(160deg, #f0f7f3, #fff);
  border-radius: 20px;
  padding: 20px;
  border: 1px solid var(--border);
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-weight: 800;
  color: var(--green);
}

.mock-store {
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
  border: 1px solid var(--border);
  display: flex;
  gap: 12px;
  align-items: center;
}

.mock-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--green-soft);
  flex-shrink: 0;
}

.mock-line {
  flex: 1;
}

.mock-line strong {
  display: block;
  font-size: 0.9rem;
}

.mock-line span {
  font-size: 0.8rem;
  color: var(--muted);
}

.mock-cta {
  margin-top: 14px;
  text-align: center;
  padding: 12px;
  background: var(--green);
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Sections */
.section {
  padding: 56px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--green-dark);
  margin: 0 0 10px;
  overflow-wrap: anywhere;
  padding-inline: 4px;
}

.section-title p {
  color: var(--muted);
  margin: 0;
  max-width: 36rem;
  margin-inline: auto;
}

.cards-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(20, 48, 31, 0.04);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  color: var(--green-dark);
}

.card .subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.steps strong {
  display: block;
  margin-bottom: 2px;
}

.steps span {
  font-size: 0.92rem;
  color: var(--muted);
}

/* Download */
.download-band {
  background: var(--green-dark);
  color: #fff;
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
}

.download-band h2 {
  margin: 0 0 10px;
  font-size: 1.75rem;
}

.download-band p {
  margin: 0 0 24px;
  opacity: 0.85;
  max-width: 32rem;
  margin-inline: auto;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.download-band .btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.download-band .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 12px;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--green-dark);
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Legal pages */
.legal-page {
  padding: 48px 0 64px;
}

.legal-page h1 {
  font-size: 2rem;
  color: var(--green-dark);
  margin: 0 0 8px;
}

.legal-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.legal-body {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  max-width: 720px;
}

.legal-body h2 {
  font-size: 1.1rem;
  color: var(--green-dark);
  margin: 28px 0 10px;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p,
.legal-body li {
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-body ul {
  padding-left: 1.25rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 32px;
  background: rgba(255, 255, 255, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 12px 0 0;
  max-width: 280px;
}

.footer-col h4 {
  margin: 0 0 12px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.footer-col a {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
  margin-bottom: 8px;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--green);
}

.footer-bottom {
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

/* Responsive */
@media (max-width: 800px) {
  .hero-grid,
  .cards-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-visual {
    order: -1;
  }

  .story-video-wrap {
    border-radius: 12px;
  }
}
