/* Verdetto — Siti Non AAMS guide. Light-green modern theme. */

:root {
  --bg: #f4faf6;
  --surface: #ffffff;
  --surface-soft: #eef8f1;
  --ink: #0e2117;
  --ink-soft: #4b6358;
  --ink-faint: #7c9488;
  --border: #dbeee1;
  --green-50: #eafbf1;
  --green-100: #d3f3e0;
  --green-500: #22b573;
  --green-600: #189a5f;
  --green-700: #147a4c;
  --green-900: #0c2e1e;
  --header-bg: #0c2818;
  --header-ink: #eafbf1;
  --accent: #f7883c;
  --accent-dark: #e06a1f;
  --gold: #d8a01d;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(12, 46, 30, 0.08);
  --shadow-sm: 0 2px 10px rgba(12, 46, 30, 0.06);
  --max: 960px;
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; border-style: none; }
a { color: var(--green-700); }
h1, h2, h3, h4 { font-family: "Plus Jakarta Sans", sans-serif; color: var(--ink); line-height: 1.22; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.7rem, 4.2vw, 2.7rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 800; margin: 3rem 0 0.9rem; }
h3 { font-size: 1.15rem; font-weight: 700; margin: 1.6rem 0 0.5rem; }
h4 { font-size: 0.98rem; font-weight: 700; margin: 1.2rem 0 0.5rem; color: var(--green-700); }
p { margin: 0 0 1rem; color: var(--ink); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; font-weight: 700; color: var(--green-700); }

/* Header */
.site-header {
  background: var(--header-bg);
  color: var(--header-ink);
  padding: 0.85rem 0;
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.brand-name { font-weight: 800; font-size: 1.15rem; color: #fff; letter-spacing: -0.01em; }
.brand-tag { display: inline-block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em; background: var(--green-500); color: #04180d; padding: 0.15rem 0.45rem; border-radius: 999px; margin-left: 0.4rem; vertical-align: middle; }
.header-cta { background: var(--accent); color: #2a1102; font-weight: 700; font-size: 0.85rem; padding: 0.55rem 1rem; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.header-cta:hover { background: var(--accent-dark); }

/* Hero */
.hero { padding: 2.2rem 0 1.4rem; }
.hero .tagline { font-size: 1.08rem; color: var(--ink-soft); max-width: 62ch; margin-bottom: 1.1rem; }
.meta-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin: 1rem 0 1.4rem; padding: 0.75rem 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.85rem; color: var(--ink-soft); }
.meta-bar .author { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--ink); }
.author-avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--green-500), var(--green-700)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 0.8rem; }

/* Toplist wrapper */
.toplist-section { padding: 0.2rem 0 1rem; }
.toplist-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem; box-shadow: var(--shadow); }
.toplist-card h2 { margin-top: 0; font-size: 1.15rem; display: flex; align-items: center; gap: 0.5rem; }
.toplist-card h2::before { content: "🏆"; font-size: 1rem; }

.badge-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0 0.4rem; font-size: 0.78rem; color: var(--ink-soft); }
.badge-row span { display: flex; align-items: center; gap: 0.35rem; background: var(--green-50); border: 1px solid var(--green-100); padding: 0.35rem 0.7rem; border-radius: 999px; }
.disclaimer-strip { font-size: 0.72rem; color: var(--ink-faint); text-align: center; margin-top: 0.6rem; }

/* Layout with TOC */
.layout { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 1080px) {
  .layout { grid-template-columns: 210px minmax(0,1fr); }
}
.toc { position: sticky; top: 5.2rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem; font-size: 0.82rem; max-height: calc(100vh - 7rem); overflow-y: auto; }
.toc-title { font-weight: 800; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green-700); margin-bottom: 0.6rem; }
.toc ol { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); }
.toc li { margin-bottom: 0.45rem; }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--green-700); }
@media (max-width: 1079px) {
  .toc { display: none; }
}

/* Comparison table + generic data tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
table.data th { background: var(--green-900); color: #eafbf1; text-align: left; padding: 0.75rem 1rem; font-weight: 700; white-space: nowrap; }
table.data td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
table.data tbody tr:last-child td { border-bottom: none; }
table.data tbody tr:nth-child(even) { background: var(--green-50); }
.rating-pill { display: inline-block; background: var(--green-100); color: var(--green-900); font-weight: 700; padding: 0.15rem 0.55rem; border-radius: 999px; font-size: 0.85rem; }

@media (max-width: 700px) {
  table.data thead { display: none; }
  table.data, table.data tbody, table.data tr, table.data td { display: block; width: 100%; }
  table.data tr { margin-bottom: 0.9rem; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
  table.data td { display: flex; justify-content: space-between; gap: 1rem; text-align: right; border-bottom: 1px solid var(--border); }
  table.data td:last-child { border-bottom: none; }
  table.data td::before { content: attr(data-label); font-weight: 700; color: var(--ink-soft); text-align: left; }
  table.data tbody tr:nth-child(even) { background: var(--surface); }
}

/* Calculation callout */
.calc-box { background: var(--green-900); color: #eafbf1; border-radius: var(--radius); padding: 1.3rem 1.4rem; margin: 1.3rem 0; }
.calc-box h4 { color: var(--green-100); margin-top: 0; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.calc-box p { color: #dff3e6; margin-bottom: 0.6rem; }
.calc-box .calc-line { display: flex; justify-content: space-between; padding: 0.35rem 0; border-bottom: 1px dashed rgba(255,255,255,0.15); font-size: 0.92rem; }
.calc-box .calc-line strong { color: #fff; }
.calc-box .calc-result { margin-top: 0.6rem; font-size: 1.05rem; font-weight: 800; color: var(--accent); }

/* Brand review cards */
.brand-review { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.3rem; margin: 1.4rem 0; box-shadow: var(--shadow-sm); }
.brand-review-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem; margin-bottom: 0.5rem; }
.brand-review-head h3 { margin: 0; }
.brand-photo { width: 100%; border-radius: var(--radius-sm); overflow: hidden; margin: 0.7rem 0 0.9rem; border: 1px solid var(--border); aspect-ratio: 16/7; }
.brand-photo img { width: 100%; height: 100%; object-fit: cover; }
.brand-photo-cap { font-size: 0.72rem; color: var(--ink-faint); margin-top: 0.35rem; }

.verify-meter { display: flex; align-items: center; gap: 0.5rem; font-size: 0.74rem; color: var(--ink-soft); margin: 0.5rem 0 0.9rem; }
.verify-track { flex: 1; max-width: 180px; height: 6px; background: var(--green-50); border-radius: 999px; overflow: hidden; }
.verify-fill { height: 100%; background: linear-gradient(90deg, var(--green-500), var(--green-700)); }

.pros-cons { display: grid; grid-template-columns: 1fr; gap: 0.8rem; margin: 0.9rem 0; }
@media (min-width: 620px) { .pros-cons { grid-template-columns: 1fr 1fr; } }
.pc-box { border-radius: var(--radius-sm); padding: 0.85rem 1rem; font-size: 0.88rem; }
.pc-box.pro { background: var(--green-50); border: 1px solid var(--green-100); }
.pc-box.con { background: #fdf3ea; border: 1px solid #f6ddc2; }
.pc-box strong { display: block; margin-bottom: 0.4rem; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; }
.pc-box.pro strong { color: var(--green-700); }
.pc-box.con strong { color: var(--accent-dark); }
.pc-box ul { margin: 0; padding-left: 1.1rem; }
.pc-box li { margin-bottom: 0.25rem; }

.fit-line { font-size: 0.9rem; font-style: italic; color: var(--ink-soft); border-left: 3px solid var(--green-500); padding-left: 0.7rem; margin: 0.9rem 0 0.3rem; }

.btn-cta { display: inline-block; background: var(--accent); color: #2a1102; font-weight: 800; padding: 0.6rem 1.2rem; border-radius: 999px; text-decoration: none; font-size: 0.88rem; margin-top: 0.6rem; }
.btn-cta:hover { background: var(--accent-dark); }

/* Guide module small tables already covered by .table-wrap */
ul.bullet, ol.steps { padding-left: 1.2rem; }
ul.bullet li, ol.steps li { margin-bottom: 0.45rem; }

/* FAQ accordion */
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 0.7rem; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 0.9rem 1.1rem; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--green-600); font-weight: 400; flex-shrink: 0; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-a { padding: 0 1.1rem 1rem; color: var(--ink-soft); font-size: 0.92rem; }

/* Author box */
.author-box { display: flex; gap: 1rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem; margin: 2.2rem 0; }
.author-box .author-avatar { width: 52px; height: 52px; font-size: 1.2rem; flex-shrink: 0; }
.author-box h4 { margin: 0 0 0.2rem; color: var(--ink); }
.author-box p { margin: 0; font-size: 0.86rem; color: var(--ink-soft); }

/* Footer */
footer.site-footer { background: var(--header-bg); color: #b9d3c4; margin-top: 3rem; padding: 2.4rem 0 6rem; font-size: 0.85rem; }
footer.site-footer a { color: #eafbf1; }
footer.site-footer .foot-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; margin-bottom: 1.6rem; }
@media (min-width: 700px) { footer.site-footer .foot-grid { grid-template-columns: 2fr 1fr 1fr; } }
footer.site-footer h5 { color: #eafbf1; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 0.6rem; }
footer.site-footer .legal { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.2rem; line-height: 1.6; color: #9db8aa; font-size: 0.78rem; }

/* Sticky mobile CTA */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--green-900); padding: 0.7rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; box-shadow: 0 -4px 18px rgba(0,0,0,0.18); }
.mobile-cta span { color: #eafbf1; font-size: 0.8rem; font-weight: 600; }
.mobile-cta a { background: var(--accent); color: #2a1102; font-weight: 800; padding: 0.55rem 1.1rem; border-radius: 999px; text-decoration: none; font-size: 0.85rem; white-space: nowrap; }
@media (min-width: 720px) { .mobile-cta { display: none; } }
body { padding-bottom: 3.6rem; }
@media (min-width: 720px) { body { padding-bottom: 0; } }

section[id] { scroll-margin-top: 4.5rem; }
