:root {
  --accent: #2D9B4E;
  --accent-hover: #3AB85E;
  --accent-light: rgba(45, 155, 78, 0.08);
  --accent-dark: #1B6B35;
  --text: #1A2E1A;
  --text-muted: rgba(26, 46, 26, 0.6);
  --text-subtle: rgba(26, 46, 26, 0.38);
  --bg-page: #F4F0EA;
  --bg-100: #FFFBF5;
  --bg-200: #FFFDFB;
  --bg-300: #F6F2EC;
  --border: #D6CDBC;
  --border-light: rgba(214, 205, 188, 0.5);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Fira Code", monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-page);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: rgba(45, 155, 78, 0.2); color: var(--text); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Navigation */
.nav {
  border-bottom: 1px solid var(--border);
  background: var(--bg-100);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.logo-icon { font-size: 28px; line-height: 1; }

.logo-text { display: flex; flex-direction: column; }

.logo-sublabel {
  font-size: 8px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  line-height: 1;
}

.logo-main {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  display: none;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 9999px;
  transition: color 0.15s, background 0.15s;
}

.nav-link:hover { color: var(--text); background: var(--accent-light); }

@media (min-width: 768px) {
  .nav-link { display: inline-block; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.16s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  white-space: nowrap;
}

.btn:active { transform: scale(0.98) translateY(1px); }

.btn-primary {
  background: var(--bg-100);
  color: var(--accent);
  border-color: var(--bg-100);
}

.btn-primary:hover { background: transparent; border-color: var(--accent); }

.btn-secondary {
  background: var(--accent);
  color: white;
  border-color: transparent;
}

.btn-secondary:hover { opacity: 0.92; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover { background: var(--bg-300); border-style: dashed; }

.btn-lg { padding: 14px 28px; font-size: 15px; }

/* Hero */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-dark) 0%, #0D3B1E 50%, #1A2E1A 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(45, 155, 78, 0.15) 0%, transparent 60%),
                    radial-gradient(circle at 80% 20%, rgba(45, 155, 78, 0.08) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  color: white;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-title {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-accent { color: #4ADE80; }

.hero-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin-bottom: 32px;
}

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

.hero-actions .btn-ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-actions .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-style: dashed; }

.hero-footnote {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-mono);
}

/* Trust Bar */
.trust-bar {
  border-bottom: 1px solid var(--border);
  background: var(--bg-100);
}

.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
  font-family: var(--font-mono);
}

.trust-logos {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-logo {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

/* Section */
.section {
  padding: 64px 24px;
}

.section-alt { background: var(--bg-300); }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--accent-light);
  color: var(--accent);
  font-family: var(--font-mono);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }

.benefit-card {
  position: relative;
  background: var(--bg-200);
  border: 1px solid var(--border);
  padding: 28px;
  transition: background 0.2s, box-shadow 0.2s;
}

.benefit-card:hover { background: var(--bg-100); box-shadow: 0 4px 12px rgba(0,0,0,0.03); }

.card-corner {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid var(--border);
  border-radius: 1.5px;
  background: var(--bg-page);
  pointer-events: none;
}

.top-left { top: -4px; left: -4px; }
.top-right { top: -4px; right: -4px; }
.bottom-left { bottom: -4px; left: -4px; }
.bottom-right { bottom: -4px; right: -4px; }

.benefit-icon {
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--accent);
}

.benefit-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.benefit-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.benefit-stat {
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.stat-value {
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

/* Mechanism Section */
.mech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) { .mech-grid { grid-template-columns: 1fr 1fr; } }

.mech-diagram {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px;
}

.mech-node {
  padding: 14px 24px;
  border: 1px solid var(--border);
  background: var(--bg-200);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
}

.mech-node.central {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  font-size: 15px;
  padding: 18px 32px;
}

.mech-node.sub {
  font-size: 12px;
  color: var(--text-muted);
  padding: 10px 18px;
}

.mech-connector {
  width: 1px;
  height: 24px;
  background: var(--border);
}

.mech-nodes, .mech-nodes-bottom {
  display: flex;
  gap: 12px;
}

.mech-text { max-width: 520px; }

.mech-text .section-title { text-align: left; }
.mech-text .section-desc { text-align: left; }

.mech-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}

.mech-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.mech-point-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  width: 24px;
  flex-shrink: 0;
  padding-top: 2px;
}

.mech-point strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.mech-point p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Research */
.research-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) { .research-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .research-grid { grid-template-columns: repeat(3, 1fr); } }

.research-card {
  position: relative;
  background: var(--bg-200);
  border: 1px solid var(--border);
  padding: 28px;
  transition: background 0.2s;
}

.research-card:hover { background: var(--bg-100); }

.research-source {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.research-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-bottom: 10px;
}

.research-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.research-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}

.research-link:hover { text-decoration: underline; }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
  position: relative;
  background: var(--bg-200);
  border: 1px solid var(--border);
  padding: 28px;
}

.quote-icon { margin-bottom: 16px; color: var(--text); }

.testimonial-quote {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
  font-style: normal;
}

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

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}

.testimonial-meta strong {
  display: block;
  font-size: 14px;
}

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

/* CTA */
.cta-section {
  padding: 80px 24px;
}

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.cta-card {
  position: relative;
  background: linear-gradient(135deg, var(--accent-dark) 0%, #0D3B1E 100%);
  padding: 48px 40px;
  text-align: center;
  color: white;
}

.cta-card .card-corner { background: var(--bg-page); }

.cta-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.cta-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 28px;
}

.cta-form {
  display: flex;
  gap: 8px;
  max-width: 440px;
  margin: 0 auto;
}

.cta-input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
}

.cta-input::placeholder { color: rgba(255, 255, 255, 0.4); }
.cta-input:focus { border-color: rgba(255, 255, 255, 0.5); }

.cta-footnote {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 16px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-100);
  padding: 48px 24px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

@media (min-width: 768px) { .footer-top { grid-template-columns: 1.5fr 2fr; } }

.footer-brand .logo-icon { display: inline-block; }
.footer-brand .logo-text { display: inline-flex; vertical-align: top; margin-left: 8px; }

.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 14px;
  max-width: 300px;
}

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

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

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.15s;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-subtle);
}

/* Animations */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content { animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}