@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
  --green-900: #085041;
  --green-800: #0f6e56;
  --green-700: #177b61;
  --green-100: #e1f5ee;
  --green-050: #eef8f4;
  --cream: #f9f9f7;
  --white: #ffffff;
  --ink: #2a2a2a;
  --muted: #5f665f;
  --line: rgba(8, 80, 65, 0.12);
  --shadow: 0 18px 50px rgba(8, 80, 65, 0.10);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(225, 245, 238, 0.9);
  border: 1px solid rgba(15, 110, 86, 0.12);
  color: var(--green-800);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-800);
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.08;
  margin: 0 0 16px;
  color: var(--ink);
}

h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); }

p { margin: 0 0 16px; color: var(--muted); font-size: 1.06rem; }
.section { padding: 92px 0; }
.section.soft { background: linear-gradient(180deg, var(--green-050), rgba(225,245,238,0.35)); }
.section.dark {
  background: linear-gradient(180deg, var(--green-900), #06392f);
  color: var(--white);
}
.section.dark h2,
.section.dark h3,
.section.dark p,
.section.dark li,
.section.dark .section-intro { color: var(--white); }
.section-header {
  max-width: 780px;
  margin-bottom: 36px;
}
.section-intro { font-size: 1.12rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(249, 249, 247, 0.86);
  border-bottom: 1px solid rgba(8, 80, 65, 0.08);
}

.navbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand strong {
  color: var(--green-900);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.brand span {
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
}
.nav-links a:hover,
.nav-links a.active { color: var(--green-800); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--green-800);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(15, 110, 86, 0.22);
}
.btn-primary:hover { background: var(--green-900); }
.btn-secondary {
  background: transparent;
  color: var(--green-900);
  border-color: rgba(8, 80, 65, 0.18);
}
.btn-light {
  background: var(--white);
  color: var(--green-900);
}
.btn.full { width: 100%; }

.menu-button {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.menu-button span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--green-900);
  margin: 5px 0;
  border-radius: 999px;
}

.mobile-panel {
  display: none;
  padding: 0 0 18px;
}
.mobile-panel.open { display: block; }
.mobile-panel nav {
  display: grid;
  gap: 10px;
  padding-top: 8px;
}
.mobile-panel a {
  padding: 12px 10px;
  border-radius: 12px;
}
.mobile-panel a:hover { background: rgba(15, 110, 86, 0.06); }

.hero {
  padding: 66px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(15, 110, 86, 0.12), transparent 28%),
    radial-gradient(circle at left 20%, rgba(225, 245, 238, 0.7), transparent 35%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
  position: relative;
}
.hero-copy p {
  max-width: 700px;
  font-size: 1.12rem;
}
.hero-highlight {
  color: var(--green-800);
  font-style: italic;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 30px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.stat-card, .card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}
.stat-card {
  padding: 18px;
}
.stat-card strong {
  display: block;
  font-size: 1.8rem;
  color: var(--green-900);
  margin-bottom: 4px;
}
.stat-card span { color: var(--muted); font-size: 0.95rem; }

.hero-side {
  display: grid;
  gap: 18px;
}
.pain-card {
  padding: 26px;
}
.pain-card h3 { font-size: 1.45rem; }
.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--ink);
}
.check-list li::before {
  content: '✓';
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
  font-weight: 700;
}

.mockup-card {
  padding: 24px;
  background: linear-gradient(180deg, var(--green-900), #07382f);
  color: var(--white);
}
.mockup-card h3, .mockup-card p { color: var(--white); }
.mockup-stage {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 18px;
  align-items: end;
  margin-top: 18px;
}
.device {
  border-radius: 26px;
  background: #10352d;
  border: 8px solid #0d2a23;
  box-shadow: 0 16px 30px rgba(0,0,0,0.22);
  overflow: hidden;
}
.device.phone { max-width: 220px; justify-self: center; }
.device.tablet { max-width: 380px; }
.device-header {
  padding: 10px 14px;
  background: rgba(255,255,255,0.08);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.78);
}
.device-body {
  padding: 16px;
  display: grid;
  gap: 12px;
}
.kpi {
  background: rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 12px;
}
.kpi strong {
  display: block;
  font-size: 1.4rem;
}
.bar-set {
  display: grid;
  gap: 10px;
}
.bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
}
.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6ae2b8, #d8fff1);
}
.bar.one span { width: 78%; }
.bar.two span { width: 54%; }
.bar.three span { width: 91%; }
.bar.four span { width: 63%; }

.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 18px;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.story-block {
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.story-block p:last-child { margin-bottom: 0; }

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}
.compare-box {
  border-radius: var(--radius-lg);
  padding: 28px;
}
.compare-box h3 { margin-bottom: 20px; }
.compare-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.compare-box li {
  padding: 14px 16px;
  border-radius: 16px;
}
.compare-old {
  background: #eef0ee;
  border: 1px solid rgba(42,42,42,0.06);
}
.compare-old li {
  background: rgba(42,42,42,0.04);
  color: #4e5450;
}
.compare-new {
  background: linear-gradient(180deg, var(--green-900), #0b4f40);
  color: var(--white);
  box-shadow: 0 20px 40px rgba(8,80,65,0.18);
}
.compare-new h3, .compare-new p, .compare-new li { color: var(--white); }
.compare-new li { background: rgba(255,255,255,0.08); }

.simulator {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
  align-items: start;
}
.simulator-form,
.simulator-result,
.profile-card,
.authority-card,
.partner-card,
.step-card,
.footer-card {
  padding: 28px;
}
.simulator-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.option-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.option-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(8,80,65,0.10);
  background: #fcfcfb;
}
.option-item input {
  margin-top: 4px;
  accent-color: var(--green-800);
}
.simulator-result {
  background: linear-gradient(180deg, var(--green-900), #07372e);
  color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 50px rgba(8,80,65,0.22);
  min-height: 100%;
}
.simulator-result h3,
.simulator-result p,
.simulator-result strong,
.simulator-result li { color: var(--white); }
.result-pill {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.result-points {
  margin: 18px 0 22px;
  display: grid;
  gap: 10px;
}
.result-points li { list-style: none; }

.profile-card,
.authority-card,
.partner-card,
.step-card,
.footer-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.profile-card h3,
.authority-card h3,
.partner-card h3,
.step-card h3 { margin-bottom: 10px; }
.profile-tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-900);
  font-size: 0.9rem;
  font-weight: 700;
}

.step-card {
  position: relative;
  overflow: hidden;
}
.step-index {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--green-100);
  color: var(--green-900);
  font-weight: 700;
  margin-bottom: 16px;
}
.step-note {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15,110,86,0.08);
  color: var(--green-800);
  font-size: 0.9rem;
  font-weight: 700;
}

.quote-strip {
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
}
.quote-strip p {
  color: rgba(255,255,255,0.9);
  font-size: 1.08rem;
}

.cta-band {
  padding: 32px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--green-900), #09604d);
  color: var(--white);
  display: grid;
  grid-template-columns: 1.1fr auto;
  gap: 20px;
  align-items: center;
  box-shadow: 0 28px 45px rgba(8,80,65,0.2);
}
.cta-band h2,
.cta-band p { color: var(--white); }

.footer {
  padding: 40px 0 56px;
  background: #f1f4f1;
  border-top: 1px solid rgba(8,80,65,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: start;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 10px;
}
.footer small { color: var(--muted); }

@media (max-width: 1080px) {
  .hero-grid,
  .simulator,
  .cta-band,
  .footer-grid,
  .grid-4,
  .grid-3,
  .grid-2,
  .comparison,
  .mockup-stage {
    grid-template-columns: 1fr;
  }
  .device.phone,
  .device.tablet { max-width: 100%; }
}

@media (max-width: 860px) {
  .nav-links,
  .actions .btn-secondary,
  .actions .desktop-only {
    display: none;
  }
  .menu-button { display: block; }
  .stat-row { grid-template-columns: 1fr; }
  .hero { padding-top: 42px; }
}

@media (max-width: 640px) {
  .section { padding: 74px 0; }
  .story-block,
  .simulator-form,
  .simulator-result,
  .profile-card,
  .authority-card,
  .partner-card,
  .step-card,
  .footer-card,
  .pain-card,
  .mockup-card,
  .compare-box,
  .cta-band {
    padding: 22px;
  }
  .hero-actions,
  .actions {
    width: 100%;
  }
  .hero-actions .btn,
  .actions .btn,
  .cta-band .btn {
    width: 100%;
  }
  .container { width: min(var(--container), calc(100% - 22px)); }
}
