@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

:root {
  --green: #00ed64;
  --green-dark: #00684a;
  --green-mid: #00a35c;
  --green-soft: #c3f0d2;
  --teal-deep: #001e2b;
  --teal: #003d4f;
  --teal-mid: #00684a;
  --canvas: #ffffff;
  --surface: #f9fbfa;
  --surface-soft: #f4f7f6;
  --surface-feature: #e3fcef;
  --hairline: #e1e5e8;
  --hairline-strong: #c1ccd6;
  --hairline-dark: #1c2d38;
  --ink: #001e2b;
  --charcoal: #1c2d38;
  --slate: #3d4f5b;
  --steel: #5c6c7a;
  --stone: #7c8c9a;
  --muted: #a8b3bc;
  --on-dark: #ffffff;
  --on-dark-muted: #a8b3bc;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--canvas);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 768px) { .container { padding: 0 16px; } }

/* HEADER */
.site-header {
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

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

.logo-svg { width: 36px; height: 36px; flex-shrink: 0; }

.logo-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--teal-deep);
  letter-spacing: -0.3px;
}

.top-nav { display: flex; align-items: center; gap: 4px; }

.top-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}

.top-nav a:hover { color: var(--ink); background: var(--surface); }
.top-nav a.active { color: var(--teal-deep); font-weight: 600; }

.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-md);
}

.burger-btn svg { display: block; }

@media (max-width: 1023px) {
  .top-nav { display: none; }
  .burger-btn { display: flex; }

  .top-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--canvas);
    padding: 24px 16px;
    gap: 4px;
    z-index: 99;
    overflow-y: auto;
  }

  .top-nav.open a {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: var(--radius-md);
  }

  body.nav-open { overflow: hidden; }
}

/* LAYOUT WITH SIDEBAR */
.page-layout {
  display: flex;
  gap: 32px;
  padding: 48px 0;
  align-items: flex-start;
}

.sidebar {
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: 84px;
}

.sidebar-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 12px;
  padding-left: 12px;
}

.sidebar-nav { display: flex; flex-direction: column; gap: 2px; }

.sidebar-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.sidebar-nav a:hover { color: var(--ink); background: var(--surface); }
.sidebar-nav a.active { color: var(--green-dark); background: var(--surface-feature); font-weight: 600; }

.page-content { flex: 1; min-width: 0; }

@media (max-width: 1023px) {
  .page-layout { flex-direction: column; padding: 32px 0; }
  .sidebar { width: 100%; position: static; }
  .sidebar-nav { flex-direction: row; flex-wrap: wrap; }
}

/* HERO BAND */
.hero-band {
  background: var(--teal-deep);
  color: var(--on-dark);
  padding: 80px 0;
}

.hero-band h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.hero-band .hero-sub {
  font-size: 18px;
  line-height: 1.5;
  color: var(--on-dark-muted);
  max-width: 580px;
  margin-bottom: 28px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: var(--teal-deep);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-primary:hover { background: #00d456; text-decoration: none; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--on-dark);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 1px solid var(--hairline-dark);
  cursor: pointer;
  transition: background 0.15s;
}

.btn-secondary:hover { background: rgba(255,255,255,0.08); text-decoration: none; }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* SECTIONS */
.section { padding: 64px 0; }
.section-sm { padding: 48px 0; }
.section-alt { background: var(--surface); }

.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 12px;
}

.section-sub {
  font-size: 16px;
  color: var(--slate);
  max-width: 600px;
  margin-bottom: 40px;
}

/* CARDS */
.card-grid { display: grid; gap: 20px; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1023px) { .card-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .card-grid-2, .card-grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.card-feature {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.card-dark {
  background: var(--teal-deep);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.tag-green { background: var(--green-soft); color: var(--green-dark); }
.tag-blue { background: #dce6f7; color: #3d4f9f; }
.tag-orange { background: #fdeee6; color: #b5420e; }

.card h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 8px;
}

.card p { font-size: 14px; color: var(--slate); line-height: 1.5; }
.card-dark h3 { color: var(--on-dark); }
.card-dark p { color: var(--on-dark-muted); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--green-dark);
  margin-top: 16px;
  text-decoration: none;
}

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

/* COMPARISON TABLE */
.comparison-wrap {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.comparison-table th {
  background: var(--teal-deep);
  color: var(--on-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: left;
  padding: 14px 20px;
}

.comparison-table th:first-child { width: 32%; }

.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--hairline-soft, #eceff1);
  color: var(--ink);
  vertical-align: top;
}

.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) td { background: var(--surface); }

.check-yes { color: var(--green-dark); font-weight: 600; }
.check-mid { color: var(--steel); }
.check-no { color: #d44; }

/* BREADCRUMB */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--steel);
  padding: 16px 0;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--steel); text-decoration: none; }
.breadcrumb a:hover { color: var(--green-dark); }
.breadcrumb span.sep { color: var(--muted); }
.breadcrumb span.current { color: var(--ink); font-weight: 500; }

/* TOC */
.toc {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 32px;
}

.toc-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 12px;
}

.toc ol { padding-left: 20px; }
.toc li { margin-bottom: 6px; }
.toc a { font-size: 14px; color: var(--green-dark); }
.toc a:hover { text-decoration: underline; }

/* ARTICLE CONTENT */
.article h2 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  margin-top: 40px;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.article h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 28px;
  margin-bottom: 10px;
}

.article p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 18px;
}

.article ul, .article ol {
  padding-left: 24px;
  margin-bottom: 18px;
}

.article li {
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.article img {
  border-radius: var(--radius-lg);
  margin: 24px 0;
  width: 100%;
}

.article figcaption {
  font-size: 13px;
  color: var(--steel);
  text-align: center;
  margin-top: -16px;
  margin-bottom: 24px;
}

.disclaimer-note {
  background: var(--surface);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--slate);
  margin: 24px 0;
}

/* RELATED CONTENT */
.related-block {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}

.related-block h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 20px;
}

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 767px) { .related-grid { grid-template-columns: 1fr; } }

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--teal-deep);
  color: var(--on-dark);
  padding: 16px 24px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}

.cookie-banner p { flex: 1; min-width: 200px; line-height: 1.5; }
.cookie-banner p a { color: var(--green); }
.cookie-banner-btns { display: flex; gap: 8px; flex-shrink: 0; }

.btn-cookie-accept {
  background: var(--green);
  color: var(--teal-deep);
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.btn-cookie-reject {
  background: transparent;
  color: var(--on-dark-muted);
  border: 1px solid var(--hairline-dark);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.hidden { display: none; }

/* FOOTER */
.site-footer {
  background: var(--teal-deep);
  color: var(--on-dark);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--hairline-dark);
}

@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand-col .logo-name { color: var(--on-dark); }
.footer-brand-col p {
  font-size: 13px;
  color: var(--on-dark-muted);
  line-height: 1.6;
  margin-top: 12px;
  max-width: 280px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: 16px;
}

.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 13px;
  color: var(--on-dark-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--on-dark); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-copy {
  font-size: 12px;
  color: var(--on-dark-muted);
  line-height: 1.6;
}

.footer-legal-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  font-size: 12px;
  color: var(--on-dark-muted);
  text-decoration: none;
}

.footer-legal-links a:hover { color: var(--on-dark); }

/* CONTACT FORM */
.contact-form { max-width: 580px; }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  height: 44px;
  background: var(--canvas);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-md);
  padding: 0 16px;
  font-size: 16px;
  color: var(--ink);
  font-family: inherit;
  transition: border-color 0.15s;
  outline: none;
}

.form-group input:focus { border: 2px solid var(--green-dark); }

.form-submit-btn {
  background: var(--green);
  color: var(--teal-deep);
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}

.form-submit-btn:hover { background: #00d456; }
.form-submit-btn:disabled { background: var(--hairline); color: var(--muted); cursor: not-allowed; }

.form-confirm {
  display: none;
  background: var(--surface-feature);
  border: 1px solid var(--green);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 15px;
  color: var(--green-dark);
  font-weight: 500;
  margin-top: 16px;
}

.form-error { font-size: 12px; color: #c0392b; margin-top: 4px; display: none; }

/* PAGE HEADER */
.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--hairline);
  padding: 40px 0 32px;
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 8px;
}

.page-hero .page-sub {
  font-size: 16px;
  color: var(--slate);
}

/* BADGE */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.badge-green { background: var(--green); color: var(--teal-deep); }
.badge-soft { background: var(--green-soft); color: var(--green-dark); }

/* HIGHLIGHT BAND */
.highlight-band {
  background: var(--teal-deep);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 32px 0;
}

.highlight-band h2 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 8px;
}

.highlight-band p { color: var(--on-dark-muted); font-size: 15px; margin-bottom: 20px; }

/* CHECKLIST */
.checklist { list-style: none; padding: 0; }
.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 15px;
  color: var(--charcoal);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: "✓";
  color: var(--green-dark);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--hairline);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: inherit;
}

.faq-icon { color: var(--green-dark); font-size: 20px; flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 0 18px;
  font-size: 15px;
  color: var(--slate);
  line-height: 1.6;
}

.faq-item.open .faq-answer { display: block; }
