:root {
  --bg-dark: #0f172a;
  --bg-card-dark: #1e293b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --brand-green: #5c8a3a;
  --brand-green-dark: #466d2b;
  --brand-orange: #ff7f2a;
  --brand-orange-dark: #e06310;
  --brand-orange-soft: #fff7ed;
  --border-color: #e2e8f0;
  --radius-md: 12px;
  --radius-lg: 18px;
}

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

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.65;
}

body {
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--bg-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--brand-orange);
}

.nav-cta {
  background: var(--brand-green);
  color: #fff;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--brand-green-dark);
}

.guide-hero {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 46px 0 52px;
}

.breadcrumb {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 14px;
}

.breadcrumb a {
  color: #cbd5e1;
  text-decoration: underline;
}

.guide-tag {
  display: inline-block;
  background: rgba(255, 127, 42, 0.16);
  border: 1px solid rgba(255, 209, 138, 0.35);
  color: #ffd18a;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.guide-hero h1 {
  font-size: clamp(26px, 3.8vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}

.guide-lead {
  font-size: 16.5px;
  color: #cbd5e1;
  max-width: 780px;
}

.guide-meta {
  margin-top: 16px;
  font-size: 12.5px;
  color: #94a3b8;
}

.guide-main {
  padding: 42px 0 64px;
}

.article-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.aeo-answer-box {
  background: #f4fbf0;
  border-left: 4px solid var(--brand-green);
  border-radius: 10px;
  padding: 20px 22px;
  margin-bottom: 28px;
}

.aeo-answer-box strong {
  display: block;
  color: var(--brand-green-dark);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.aeo-answer-box p {
  font-size: 15.5px;
  color: #1e293b;
  margin: 0;
}

.article-card h2 {
  font-size: 23px;
  color: var(--bg-dark);
  margin: 30px 0 12px;
  font-weight: 800;
}

.article-card h3 {
  font-size: 18px;
  color: var(--bg-dark);
  margin: 22px 0 10px;
  font-weight: 700;
}

.article-card p {
  font-size: 15.5px;
  color: #334155;
  margin-bottom: 14px;
}

.article-card ul,
.article-card ol {
  margin: 0 0 18px 22px;
  color: #334155;
  font-size: 15px;
}

.article-card li {
  margin-bottom: 8px;
}

.article-card code {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 13.5px;
  color: #0f172a;
}

.table-wrap {
  overflow-x: auto;
  margin: 20px 0 26px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
}

table.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #ffffff;
}

table.comp-table th,
table.comp-table td {
  padding: 13px 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
}

table.comp-table thead th {
  background: #0f172a;
  color: #ffffff;
  font-weight: 700;
  font-size: 13.5px;
}

table.comp-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

table.comp-table tbody tr:last-child td {
  border-bottom: none;
}

.highlight-col {
  background: #f4fbf0 !important;
  font-weight: 600;
  color: #14532d;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

details.faq-item {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 15px 18px;
}

details.faq-item summary {
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item p {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
  font-size: 14.5px;
  margin-bottom: 0;
}

.cta-banner {
  margin-top: 32px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cta-banner h3 {
  color: #ffffff;
  margin: 0 0 6px;
  font-size: 20px;
}

.cta-banner p {
  color: #cbd5e1;
  margin: 0;
  font-size: 14px;
  max-width: 560px;
}

.btn-orange {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
  color: #ffffff;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14.5px;
  display: inline-block;
  white-space: nowrap;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.guide-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.guide-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.guide-card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--brand-orange-dark);
  background: var(--brand-orange-soft);
  padding: 3px 10px;
  border-radius: 999px;
  width: fit-content;
}

.guide-card h2 {
  font-size: 18px;
  margin: 0;
  color: var(--bg-dark);
}

.guide-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.guide-card-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-green-dark);
}

.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 36px 0;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

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

.footer-links-inline a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 780px) {
  .nav-links {
    display: none;
  }
  .article-card {
    padding: 22px 18px;
  }
  .guides-grid {
    grid-template-columns: 1fr;
  }
}
