:root {
  --brand: #0e7c66;
  --brand-dark: #0a5c4c;
  --brand-2: #14a085;
  --brand-soft: #e7f4f0;
  --ink: #0f1f1b;
  --muted: #55655f;
  --line: #e3ece8;
  --bg: #ffffff;
  --bg-alt: #f4f9f7;
  --amber: #d98e04;
  --amber-soft: #fff4de;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 40, 34, .05), 0 4px 12px rgba(15, 40, 34, .05);
  --shadow: 0 2px 4px rgba(15, 40, 34, .05), 0 14px 34px rgba(15, 40, 34, .08);
  --shadow-lg: 0 6px 16px rgba(15, 40, 34, .08), 0 30px 60px rgba(15, 40, 34, .14);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: none; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -.02em; margin: 0 0 .4em; font-weight: 800; color: var(--ink); }
p { margin-top: 0; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100;
}
.skip-link:focus { left: 8px; color: #fff; }

:focus-visible { outline: 3px solid rgba(14, 124, 102, .5); outline-offset: 2px; border-radius: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 800; }
.brand-mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-size: 12px; letter-spacing: .5px;
  box-shadow: 0 4px 12px rgba(14, 124, 102, .35);
}
.brand-name { font-size: 17px; letter-spacing: -.01em; }
.nav { margin-left: auto; display: flex; gap: 24px; }
.nav a { color: var(--muted); font-weight: 600; font-size: 15px; transition: color .15s; }
.nav a:hover { color: var(--brand); }
.lang-switch { display: flex; gap: 4px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 99px; padding: 3px; }
.lang-switch a { padding: 5px 14px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--muted); transition: all .15s; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.active { background: #fff; color: var(--brand-dark); box-shadow: var(--shadow-sm); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 12px;
  font-weight: 700; font-size: 15px; line-height: 1;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, border-color .15s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
  box-shadow: 0 8px 20px rgba(14, 124, 102, .32);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(14, 124, 102, .4); }
.btn-ghost { background: #fff; color: var(--brand-dark); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); background: var(--brand-soft); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 76px 0 68px;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(20, 160, 133, .12), transparent 60%),
    linear-gradient(180deg, #f7fbfa, #fff);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.hero-copy .eyebrow { margin-bottom: 18px; }
.hero-copy h1 { font-size: clamp(36px, 5.2vw, 58px); font-weight: 850; letter-spacing: -.03em; margin-bottom: 18px; line-height: 1.08; }
.hero-sub { color: var(--muted); font-size: 19px; max-width: 540px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-media img { display: block; width: 100%; }

.eyebrow {
  display: inline-block; color: var(--brand-dark); font-weight: 700; text-transform: uppercase;
  font-size: 12.5px; letter-spacing: .1em;
  background: var(--brand-soft); padding: 6px 13px; border-radius: 99px;
}

/* ---------- Stat strip ---------- */
.stat-strip {
  background: linear-gradient(135deg, #0a5c4c, #0e7c66);
  color: #fff; padding: 30px 0;
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { display: block; font-size: 34px; font-weight: 850; letter-spacing: -.02em; color: #fff; line-height: 1; }
.stat-label { display: block; margin-top: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .72); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head-row { max-width: 720px; margin-bottom: 36px; }
.section-head { font-size: clamp(26px, 3.4vw, 38px); font-weight: 850; letter-spacing: -.02em; }
.section-sub { color: var(--muted); font-size: 17px; margin-top: 10px; }
.lead { font-size: 19px; color: var(--muted); line-height: 1.75; }

/* ---------- Category grid (homepage) ---------- */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 24px; }
.cat-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); color: var(--ink);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(14, 124, 102, .4); }
.cat-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-alt); }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .6, .2, 1); }
.cat-card:hover .cat-media img { transform: scale(1.06); }
.cat-count {
  position: absolute; top: 12px; right: 12px;
  background: rgba(10, 30, 25, .6); color: #fff; backdrop-filter: blur(4px);
  border-radius: 99px; padding: 4px 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
  border: 1px solid rgba(255, 255, 255, .25);
}
.cat-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cat-title { font-size: 19px; margin: 0; }
.cat-short { color: var(--muted); font-size: 15px; margin: 0; flex: 1; }
.cat-cta { color: var(--brand-dark); font-weight: 700; font-size: 14.5px; margin-top: 6px; }
.cat-cta .arrow { display: inline-block; transition: transform .2s; }
.cat-card:hover .cat-cta .arrow { transform: translateX(4px); }

/* ---------- Featured / editors' picks ---------- */
.featured-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.featured-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); color: var(--ink);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.featured-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(14, 124, 102, .4); }
.featured-card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-alt); }
.featured-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .6, .2, 1); }
.featured-card:hover .featured-card-media img { transform: scale(1.06); }
.ribbon {
  position: absolute; top: 12px; left: 12px;
  background: var(--amber); color: #3a2700;
  border-radius: 99px; padding: 5px 12px; font-size: 12px; font-weight: 800; letter-spacing: .02em;
  box-shadow: var(--shadow-sm);
}
.featured-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.cat-tag {
  align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--brand-dark);
  background: var(--brand-soft); padding: 4px 11px; border-radius: 99px; margin-bottom: 10px;
}
.featured-card-body h3 { font-size: 18px; margin: 0 0 6px; }
.featured-card-body p { color: var(--muted); font-size: 14.5px; margin: 0; flex: 1; }
.mini-score { margin-top: 12px; font-weight: 800; font-size: 15px; color: var(--ink); }
.mini-score .star { color: var(--amber); margin-right: 2px; }
.mini-score .muted { color: var(--muted); font-weight: 600; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 18px 24px 4px; font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { color: var(--muted); }

/* ---------- Category hero ---------- */
.cat-hero { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 44px 0 52px; }
.cat-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.cat-hero-text h1 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 850; letter-spacing: -.025em; margin-bottom: 14px; }
.cat-hero-text > p { color: var(--muted); font-size: 17px; margin-bottom: 8px; }
.cat-quick { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.cat-hero-img { width: 100%; border-radius: 20px; box-shadow: var(--shadow-lg); display: block; }

.chip {
  display: inline-flex; align-items: center; padding: 7px 15px; border-radius: 99px;
  background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted);
}
.chip-price { background: var(--brand); color: #fff; border-color: var(--brand); font-weight: 700; }

/* ---------- Notice (emerging) ---------- */
.notice {
  background: var(--amber-soft); border: 1px solid #f0ddb0; color: #6f5310;
  padding: 14px 18px; border-radius: 14px; font-size: 15px; margin-bottom: 8px;
}

/* ---------- Ranked list ---------- */
.ranked-list { list-style: none; padding: 0; margin: 28px 0; display: flex; flex-direction: column; gap: 18px; }
.rank-item {
  display: flex; gap: 22px; padding: 24px 26px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.rank-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.rank-first { border-color: #ecd9a0; background: linear-gradient(180deg, #fffdf6, #fff); }
.rank-first:hover { border-color: var(--amber); }
.rank-num { flex: 0 0 54px; font-size: 46px; font-weight: 850; line-height: 1; color: #dbe5e1; letter-spacing: -.03em; }
.rank-first .rank-num { color: var(--amber); }
.rank-second .rank-num { color: #9fb0aa; }
.rank-third .rank-num { color: #c98a5b; }
.rank-body { flex: 1; min-width: 0; }
.rank-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.rank-title { font-size: 21px; margin: 2px 0 0; }
.rank-title a { color: var(--ink); }
.rank-title a:hover { color: var(--brand); }
.score-badge {
  background: var(--brand-soft); color: var(--brand-dark); border-radius: 12px;
  padding: 8px 13px; text-align: center; line-height: 1.1; white-space: nowrap;
}
.score-badge b { font-size: 21px; font-weight: 850; display: block; }
.score-badge small { font-size: 11.5px; opacity: .72; font-weight: 600; }
.rank-reason { color: var(--muted); margin: 8px 0 14px; font-size: 15.5px; }
.rank-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }

/* ---------- Product page ---------- */
.product { padding: 4px 0 56px; }
.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; padding: 24px 0 8px; align-items: start; }
.product-hero-media { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.product-hero-media img { display: block; width: 100%; }
.rank-flag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(14, 124, 102, .9); color: #fff; backdrop-filter: blur(4px);
  padding: 7px 15px; border-radius: 99px; font-size: 14px; font-weight: 700;
  border: 1px solid rgba(255, 255, 255, .25);
}
.product-hero-info .eyebrow { margin-bottom: 14px; }
.product-hero-info h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 850; letter-spacing: -.03em; }
.tagline { color: var(--brand-dark); font-weight: 600; font-size: 18px; margin: 4px 0 22px; }

.score-panel { padding: 20px 22px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 16px; }
.score-top { display: flex; align-items: baseline; gap: 6px; }
.score-num { font-size: 56px; font-weight: 850; color: var(--brand); letter-spacing: -.03em; line-height: 1; }
.score-out { color: var(--muted); font-size: 18px; font-weight: 600; }
.score-bar { height: 10px; background: #dbe7e2; border-radius: 99px; overflow: hidden; margin: 14px 0 8px; }
.score-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.score-label { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }

.fact-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0; margin: 22px 0 0; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.fact dt { font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; }
.fact dd { margin: 5px 0 0; font-weight: 700; font-size: 16px; }

/* ---------- Panels / sections ---------- */
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 30px; box-shadow: var(--shadow-sm); margin-top: 22px;
}
.panel h2 { font-size: 21px; margin-bottom: 12px; }
.verdict-text { font-size: 19px; color: var(--ink); margin: 0; }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 22px; }
.pros-cons > .panel { margin-top: 0; }
.pros { background: var(--brand-soft); border-color: #cfe6df; }
.cons { background: #fdf1f1; border-color: #f2d7d7; }
.pros h2, .cons h2 { display: flex; align-items: center; gap: 10px; }
.pros h2 { color: var(--brand-dark); }
.cons h2 { color: #a2332d; }
.mark { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 99px; font-size: 13px; font-weight: 800; flex: 0 0 auto; }
.mark-good { background: var(--brand); color: #fff; }
.mark-bad { background: #cf4444; color: #fff; }
.pros ul, .cons ul { margin: 10px 0 0; padding-left: 20px; }
.pros li, .cons li { margin-bottom: 8px; }

.spec-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); }
.spec-table th { width: 42%; color: var(--muted); font-weight: 600; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-note { color: var(--muted); font-size: 13px; margin: 14px 0 0; }

.rank-sentence { font-weight: 600; }
.related-list { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.related-list li a { display: block; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-size: 15px; transition: border-color .15s, background .15s; }
.related-list li a:hover { border-color: var(--brand); background: var(--brand-soft); }
.related-list span { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { margin-top: 8px; display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.faq summary { cursor: pointer; padding: 17px 22px; font-weight: 700; font-size: 16px; list-style: none; position: relative; padding-right: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--brand); font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

.how-we-chose { margin-top: 40px; padding: 28px 30px; background: var(--bg-alt); border-radius: var(--radius); border: 1px solid var(--line); }
.how-we-chose p { color: var(--muted); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #0c1f1a; color: #cfe0da; margin-top: 0; padding: 56px 0 0; }
.site-footer a { color: #b8d3cc; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand { font-weight: 800; font-size: 19px; color: #fff; margin: 0 0 8px; }
.footer-about p { color: #9fb7b0; font-size: 15px; }
.footer-heading { color: #fff; font-weight: 700; margin: 0 0 14px; font-size: 15px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; font-size: 15px; }
.footer-bottom {
  margin-top: 44px; padding: 22px 24px; border-top: 1px solid rgba(255, 255, 255, .1);
  color: #829a93; font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { margin: 0; }

/* ---------- Animations (decorative only) ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.hero-copy, .hero-media { animation: fadeUp .6s ease both; }
.hero-media { animation-delay: .08s; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .cat-hero-grid, .product-hero { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 56px 0; }
  .hero-media { order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .pros-cons { grid-template-columns: 1fr; }
  .fact-list { grid-template-columns: 1fr; }
  .related-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 680px) {
  .nav { display: none; }
  .brand-name { font-size: 15px; }
  .header-inner { gap: 12px; }
  .section { padding: 56px 0; }
  .rank-item { padding: 20px; gap: 16px; }
  .rank-num { flex-basis: 40px; font-size: 36px; }
  .rank-head { flex-direction: column; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .category-grid, .featured-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}