:root {
  --paper: #f4f1ea;
  --paper-strong: #fffdf8;
  --ink: #141714;
  --muted: #666b64;
  --line: #d4d1c9;
  --red: #e1492f;
  --red-dark: #b82d19;
  --green: #124f45;
  --blue: #315f79;
  --amber: #c98b2f;
  --white: #ffffff;
  --radius: 6px;
  --shadow: 0 18px 50px rgba(20, 23, 20, .14);
  --content: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { width: 18px; height: 18px; stroke-width: 1.8; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; transform: translateY(-140%); padding: 8px 12px; background: var(--ink); color: white; }
.skip-link:focus { transform: none; }

.status-strip {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 4px 20px;
  background: var(--green);
  color: #eaf4ed;
  font-size: 12px;
}
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #8de7a7; box-shadow: 0 0 0 4px rgba(141, 231, 167, .12); }
.status-time { color: #b7d1c8; }

.site-header {
  height: 70px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  background: var(--paper-strong);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 80;
}
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; font-weight: 800; font-size: 18px; }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; background: var(--red); color: white; font-family: "Songti SC", Georgia, serif; font-weight: 700; }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 650; }
.main-nav a { position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 100%; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.header-actions { justify-self: end; display: flex; gap: 8px; }
.icon-button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); background: transparent; color: inherit; border-radius: var(--radius); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.icon-button:hover { background: var(--ink); color: white; border-color: var(--ink); }
.menu-button { display: none; height: 40px; align-items: center; gap: 7px; padding: 0 12px; border: 1px solid var(--line); background: transparent; border-radius: var(--radius); }

.hero {
  min-height: min(690px, calc(100vh - 60px));
  position: relative;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
  background-image: url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=2200&q=88");
  background-position: center 42%;
  background-size: cover;
  color: white;
}
.hero-shade { position: absolute; inset: 0; z-index: -1; background: rgba(5, 14, 15, .62); }
.hero-content { width: var(--content); margin: 0 auto; padding: clamp(80px, 13vh, 150px) 0 155px; }
.eyebrow { margin: 0 0 16px; font-size: 12px; line-height: 1.3; font-weight: 800; text-transform: uppercase; letter-spacing: 0; color: #bad9ce; }
.eyebrow.dark { color: var(--red-dark); }
.hero h1 { margin: 0; max-width: 800px; font-family: "Songti SC", "STSong", Georgia, serif; font-size: clamp(70px, 10vw, 144px); font-weight: 700; line-height: .92; letter-spacing: 0; }
.hero-copy { max-width: 570px; margin: 26px 0 32px; color: #e5ebe7; font-size: clamp(17px, 2vw, 21px); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 17px; border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; font-size: 14px; font-weight: 750; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: white; }
.button-primary:hover { background: var(--red-dark); }
.button-ghost { border-color: rgba(255,255,255,.5); color: white; background: rgba(10, 18, 18, .22); }
.button-ghost:hover { background: white; color: var(--ink); }
.button-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.button-outline:hover { background: var(--ink); color: white; }
.hero-metrics { position: absolute; inset: auto 0 0; min-height: 108px; display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 max(24px, calc((100vw - 1180px) / 2)); border-top: 1px solid rgba(255,255,255,.28); background: rgba(6, 15, 16, .72); }
.hero-metrics div { display: flex; align-items: baseline; gap: 12px; padding: 25px 0; border-right: 1px solid rgba(255,255,255,.2); }
.hero-metrics div + div { padding-left: 34px; }
.hero-metrics div:last-child { border-right: 0; }
.hero-metrics strong { font-family: Georgia, serif; font-size: 28px; }
.hero-metrics span { font-size: 12px; color: #c3d0cb; }
.photo-credit { position: absolute; right: 12px; top: 12px; margin: 0; font-size: 9px; color: rgba(255,255,255,.55); writing-mode: vertical-rl; }

.section { width: var(--content); margin: 0 auto; padding: 106px 0; }
.section-heading { display: grid; grid-template-columns: 1fr minmax(300px, 470px); gap: 48px; align-items: end; margin-bottom: 42px; }
.section-heading h2, .recommend-copy h2, .method-intro h2, .newsletter-section h2 { margin: 0; font-family: "Songti SC", "STSong", Georgia, serif; font-size: clamp(38px, 5vw, 64px); line-height: 1.12; font-weight: 700; }
.section-heading > p { margin: 0 0 5px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.ranking-toolbar { display: flex; justify-content: space-between; gap: 18px; padding: 12px; border: 1px solid var(--line); background: var(--paper-strong); margin-bottom: 14px; }
.segments { display: flex; gap: 4px; }
.segment { min-height: 38px; padding: 6px 15px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 700; cursor: pointer; }
.segment.is-active { background: var(--ink); color: white; }
.sort-control { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }
.sort-control select { height: 38px; border: 1px solid var(--line); border-radius: 4px; background: white; padding: 0 30px 0 10px; color: var(--ink); }
.ranking-list { border-top: 1px solid var(--ink); }
.provider-row { display: grid; grid-template-columns: 55px minmax(240px, 1.3fr) minmax(410px, 1.8fr) auto; gap: 22px; align-items: center; min-height: 132px; padding: 20px 10px 20px 0; border-bottom: 1px solid var(--line); transition: background .2s, transform .2s; }
.provider-row:hover { background: var(--paper-strong); transform: translateX(4px); }
.rank-number { align-self: start; padding-top: 5px; font-family: Georgia, serif; font-size: 13px; color: var(--muted); }
.provider-main { display: flex; align-items: center; gap: 15px; min-width: 0; }
.provider-logo { flex: 0 0 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: white; font-family: "Songti SC", Georgia, serif; font-size: 11px; font-weight: 700; }
.logo-red { background: var(--red); }.logo-green { background: var(--green); }.logo-blue { background: var(--blue); }.logo-amber { background: var(--amber); color: var(--ink); }
.provider-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.provider-name h3 { margin: 0; font-size: 17px; line-height: 1.3; }
.provider-main p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.tag { display: inline-flex; padding: 2px 6px; border: 1px solid #b8b8af; border-radius: 3px; color: var(--muted); font-size: 10px; font-weight: 700; white-space: nowrap; }
.tag-best { border-color: #e9b1a8; color: var(--red-dark); background: #fff3ef; }
.provider-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; gap: 16px; }
.provider-stats div { min-width: 0; }
.provider-stats dt { color: var(--muted); font-size: 10px; white-space: nowrap; }
.provider-stats dd { margin: 4px 0 0; font-family: Georgia, serif; font-size: 16px; font-weight: 700; white-space: nowrap; }
.provider-actions { display: flex; gap: 7px; align-items: center; }
.favorite-button.is-saved { background: var(--red); color: white; border-color: var(--red); }
.data-note { display: flex; align-items: flex-start; gap: 7px; margin: 18px 0 0; color: var(--muted); font-size: 11px; }
.data-note svg { flex: 0 0 15px; width: 15px; height: 15px; margin-top: 1px; }

.recommend-section { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 680px; background: var(--green); color: white; }
.recommend-image { min-height: 560px; background-image: url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1400&q=85"); background-size: cover; background-position: center; filter: saturate(.78) contrast(1.05); }
.recommend-copy { align-self: center; max-width: 590px; padding: 80px 9vw 80px 7vw; }
.recommend-copy > p:not(.eyebrow) { margin: 26px 0 34px; color: #c9ddd6; font-size: 15px; }
.use-cases { border-top: 1px solid rgba(255,255,255,.3); }
.use-cases a { display: grid; grid-template-columns: 45px 1fr 24px; align-items: center; min-height: 62px; border-bottom: 1px solid rgba(255,255,255,.3); transition: padding .2s, background .2s; }
.use-cases a:hover { padding: 0 10px; background: rgba(255,255,255,.06); }
.use-cases span { font-family: Georgia, serif; font-size: 12px; color: #9fc1b6; }
.use-cases strong { font-size: 14px; }

.knowledge-section { padding-bottom: 120px; }
.knowledge-heading { grid-template-columns: 1fr auto; }
.text-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 750; }
.text-link.light { color: white; }
.editorial-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 48px; }
.feature-story { min-height: 560px; position: relative; overflow: hidden; display: flex; align-items: flex-end; color: white; }
.story-image { position: absolute; inset: 0; z-index: -2; background: url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1400&q=88") center/cover; transition: transform .6s ease; }
.feature-story:hover .story-image { transform: scale(1.025); }
.feature-story::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(5, 12, 12, .58); }
.story-copy { padding: clamp(28px, 5vw, 58px); max-width: 680px; }
.article-label { color: var(--red); font-size: 11px; font-weight: 800; }
.story-copy .article-label { color: #ffd0c8; }
.story-copy h3 { margin: 12px 0 14px; max-width: 620px; font-family: "Songti SC", Georgia, serif; font-size: clamp(28px, 4vw, 43px); line-height: 1.2; }
.story-copy p { max-width: 560px; color: #dde5e0; font-size: 14px; }
.article-list { border-top: 1px solid var(--ink); }
.article-list article { min-height: 140px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.article-list h3 { margin: 8px 0 0; font-family: "Songti SC", Georgia, serif; font-size: 20px; line-height: 1.4; }
.article-button { flex: 0 0 40px; }

.method-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; padding: 105px max(24px, calc((100vw - 1180px) / 2)); background: var(--ink); color: white; }
.method-intro { max-width: 440px; }
.method-intro > p:not(.eyebrow) { margin: 24px 0 32px; color: #b9bdb8; }
.method-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #434743; border-left: 1px solid #434743; }
.method-grid div { min-height: 180px; padding: 28px; border-right: 1px solid #434743; border-bottom: 1px solid #434743; }
.method-grid span { color: #ed745f; font-family: Georgia, serif; font-size: 26px; }
.method-grid h3 { margin: 18px 0 5px; font-size: 15px; }
.method-grid p { margin: 0; color: #989d98; font-size: 12px; }

.newsletter-section { width: var(--content); margin: 0 auto; display: grid; grid-template-columns: 1fr minmax(340px, 480px); align-items: end; gap: 60px; padding: 100px 0; position: relative; }
.newsletter-section h2 { max-width: 680px; font-size: clamp(34px, 4.5vw, 56px); }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid #aaa99f; border-radius: var(--radius); background: var(--paper-strong); color: var(--ink); }
.newsletter-form input:focus { outline: 2px solid var(--red); outline-offset: 2px; }
.form-status { position: absolute; right: 0; bottom: 70px; margin: 0; font-size: 12px; color: var(--green); }

.site-footer { display: grid; grid-template-columns: 2fr 1fr 1fr 2fr; gap: 46px; padding: 64px max(24px, calc((100vw - 1180px) / 2)); background: #e5e1d8; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.site-footer > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.site-footer strong { color: var(--ink); }
.footer-brand { flex-direction: row !important; display: grid !important; grid-template-columns: 32px 1fr; align-items: center !important; }
.footer-brand p { grid-column: 1 / -1; margin: 5px 0 0; }
.legal { margin: 0; max-width: 360px; align-self: end; }

.search-panel { position: fixed; inset: 0; z-index: 150; background: rgba(20,23,20,.58); padding: 70px 24px 24px; }
.search-dialog { width: min(760px, 100%); margin: 0 auto; padding: 28px; background: var(--paper-strong); border-radius: var(--radius); box-shadow: var(--shadow); }
.search-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.search-top h2 { margin: 0; font-family: "Songti SC", Georgia, serif; }
.search-field { height: 56px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border: 1px solid var(--ink); }
.search-field input { width: 100%; height: 100%; border: 0; outline: 0; background: transparent; font-size: 16px; }
.search-results { min-height: 90px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 18px; }
.search-results p { width: 100%; margin: 0; color: var(--muted); font-size: 11px; }
.search-results button { border: 1px solid var(--line); background: transparent; border-radius: 3px; padding: 6px 9px; cursor: pointer; }

/* Section background variation */
.section-alt { background: var(--paper-strong); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 auto; width: 100%; padding-left: max(24px, calc((100vw - 1180px) / 2)); padding-right: max(24px, calc((100vw - 1180px) / 2)); }

/* Header Navigation & Dropdown */
.main-nav { gap: 20px; font-size: 13.5px; }
.main-nav a, .dropdown-trigger { color: var(--ink); display: inline-flex; align-items: center; gap: 4px; font-weight: 600; white-space: nowrap; }
.nav-warning { color: var(--red-dark) !important; font-weight: 700 !important; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); display: inline-block; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(225,73,47,0.7); } 70% { box-shadow: 0 0 0 7px rgba(225,73,47,0); } 100% { box-shadow: 0 0 0 0 rgba(225,73,47,0); } }

.github-link { padding: 4px 6px; border-radius: 4px; transition: background .2s; }
.github-link:hover { background: rgba(0,0,0,0.06); }
.telegram-link { display: inline-flex; align-items: center; gap: 5px; color: #168acd; white-space: nowrap; }
.telegram-link svg { width: 16px; height: 16px; }
.telegram-link:hover { color: #0877b7; }

.nav-dropdown { position: relative; }
.dropdown-trigger { border: 0; background: transparent; cursor: pointer; padding: 0; font: inherit; }
.dropdown-arrow { width: 14px; height: 14px; transition: transform .2s; }
.nav-dropdown:hover .dropdown-arrow, .nav-dropdown.is-active .dropdown-arrow { transform: rotate(180deg); }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 180px; padding: 8px 0; background: white; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); z-index: 100; margin-top: 8px; }
.nav-dropdown:hover .dropdown-menu, .nav-dropdown.is-active .dropdown-menu { display: flex; flex-direction: column; }
.dropdown-menu a { padding: 8px 14px; color: var(--ink); font-size: 13px; gap: 8px; font-weight: 500; }
.dropdown-menu a:hover { background: var(--paper); color: var(--red); }

/* 1. Recommend Section Cards */
.recommend-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.recommend-card { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 24px; position: relative; display: flex; flex-direction: column; justify-content: space-between; transition: transform .2s, box-shadow .2s; }
.recommend-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.recommend-card.featured { border-color: var(--red); border-width: 2px; }
.card-badge { position: absolute; top: -12px; right: 20px; background: var(--red); color: white; font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 12px; }
.card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.card-header h3 { margin: 0; font-size: 18px; }
.subtitle { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.card-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px; background: var(--paper); border-radius: 6px; margin-bottom: 16px; font-size: 12px; }
.card-metrics span { color: var(--muted); display: block; font-size: 11px; }
.card-metrics strong { color: var(--ink); font-size: 13.5px; font-family: Georgia, serif; }
.card-desc { color: var(--muted); font-size: 13px; line-height: 1.6; margin-bottom: 20px; }
.card-footer { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* 2. Budget Section Cards */
.budget-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.budget-card { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 28px; position: relative; display: flex; flex-direction: column; }
.featured-budget { border-color: var(--green); background: #f0f7f4; }
.budget-ribbon { position: absolute; top: 12px; right: 12px; background: var(--green); color: white; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.price-tag { font-family: Georgia, serif; font-size: 24px; font-weight: 700; color: var(--red-dark); display: block; margin-bottom: 8px; }
.price-tag small { font-family: inherit; font-size: 13px; color: var(--muted); }
.budget-rank { width: fit-content; margin-bottom: 10px; padding: 4px 8px; border-radius: 999px; background: #f5eee9; color: var(--red-dark); font-size: 11px; font-weight: 750; }
.budget-spec { color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.budget-features { list-style: none; padding: 0; margin: 0 0 24px; }
.budget-features li { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 10px; color: var(--ink); }
.budget-features svg { color: var(--green); width: 16px; height: 16px; }
.budget-card .button { align-self: flex-start; margin-top: auto; }

/* 3. Compare Table */
.table-wrapper { overflow-x: auto; background: white; border: 1px solid var(--line); border-radius: 8px; }
.compare-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
.compare-table th, .compare-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.compare-table th { background: var(--paper); font-weight: 700; color: var(--ink); }
.compare-table tbody tr:hover { background: #faf9f6; }
.compare-note { margin: 12px 0 0; font-size: 12px; line-height: 1.65; color: var(--muted); text-align: left; }
.speed-high { color: var(--green); font-weight: 700; font-family: Georgia, serif; }
.speed-mid { color: var(--blue); font-weight: 700; font-family: Georgia, serif; }
.status-yes { color: var(--green); font-weight: 600; }
.status-partial { color: var(--amber); }
.risk-low { font-size: 12px; font-weight: 600; }

/* 4. Coupons Section */
.coupons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.coupon-card { background: white; border: 1px dashed #b5b2aa; border-radius: 8px; display: flex; overflow: hidden; }
.coupon-left { width: 90px; background: var(--red); color: white; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px; text-align: center; }
.discount-red { background: var(--red-dark); }
.discount-blue { background: var(--blue); }
.discount-green { background: var(--green); }
.coupon-discount { font-size: 18px; font-weight: 800; font-family: Georgia, serif; }
.coupon-type { font-size: 10px; opacity: 0.9; margin-top: 4px; }
.coupon-body { padding: 16px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.coupon-body h3 { margin: 0 0 4px; font-size: 14px; }
.coupon-body p { margin: 0 0 12px; font-size: 12px; color: var(--muted); }
.coupon-code-box { display: flex; align-items: center; gap: 8px; background: var(--paper); padding: 4px 8px; border-radius: 4px; }
.coupon-code-box code { font-weight: 700; font-size: 14px; letter-spacing: 1px; color: var(--red-dark); flex: 1; }
.copy-btn { padding: 4px 10px; font-size: 11px; min-height: 28px; }
.coupon-expire { font-size: 10px; color: var(--muted); margin-top: 8px; display: block; }

/* 5. Directory Section */
.directory-filter-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.filter-group { display: flex; gap: 8px; flex-wrap: wrap; }
.dir-btn { border: 1px solid var(--line); background: white; padding: 6px 14px; border-radius: 4px; font-size: 12px; cursor: pointer; font-weight: 600; color: var(--muted); }
.dir-btn.active, .dir-btn:hover { background: var(--ink); color: white; border-color: var(--ink); }
.dir-search-input { height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 4px; width: 220px; font-size: 12px; }
.directory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.dir-item { background: white; border: 1px solid var(--line); border-radius: 6px; padding: 16px; }
.dir-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.dir-tag { font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 3px; }
.tag-iepl { background: #fee2e2; color: #991b1b; }
.tag-bgp { background: #e0f2fe; color: #075985; }
.tag-nothertime { background: #fef3c7; color: #92400e; }
.dir-status { font-size: 11px; }
.dir-item h3 { margin: 4px 0 2px; font-size: 15px; }
.dir-item p { margin: 0 0 12px; font-size: 11px; color: var(--muted); }
.dir-meta { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); border-top: 1px solid #f0eeea; padding-top: 8px; }

/* 6. Warning Section */
.warning-container { display: flex; flex-direction: column; gap: 20px; }
.warning-status-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.status-card { background: white; border-radius: 6px; padding: 16px; border-left: 4px solid var(--line); display: flex; flex-direction: column; font-size: 12px; }
.status-card.danger { border-color: var(--red); }
.status-card.warning { border-color: var(--amber); }
.status-card.info { border-color: var(--blue); }
.status-count { font-size: 24px; font-family: Georgia, serif; font-weight: 700; }
.warning-list { display: flex; flex-direction: column; gap: 14px; }
.warning-item { background: white; border: 1px solid var(--line); border-radius: 6px; padding: 20px; display: flex; gap: 16px; }
.warning-badge { min-width: 140px; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 4px; height: fit-content; text-align: center; }
.warning-badge.red { background: #fee2e2; color: #991b1b; }
.warning-badge.yellow { background: #fef3c7; color: #92400e; }
.warning-badge.green { background: #dcfce7; color: #166534; }
.warning-info h3 { margin: 0 0 6px; font-size: 16px; }
.warning-reason { margin: 0 0 10px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.warning-meta { display: flex; gap: 16px; font-size: 11px; color: var(--muted); }

/* 7. Blog Section */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.blog-card { background: white; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.blog-thumb { height: 160px; background-size: cover; background-position: center; }
.thumb-1 { background-image: url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=600&q=80"); }
.thumb-2 { background-image: url("https://images.unsplash.com/photo-1544197150-b99a580bb7a8?auto=format&fit=crop&w=600&q=80"); }
.thumb-3 { background-image: url("https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=600&q=80"); }
.thumb-4 { background-image: url("https://images.unsplash.com/photo-1607082348824-0a96f2a4b9da?auto=format&fit=crop&w=600&q=80"); }
.thumb-5 { background-image: url("https://images.unsplash.com/photo-1563986768609-322da13575f3?auto=format&fit=crop&w=600&q=80"); }
.thumb-6 { background-image: url("https://images.unsplash.com/photo-1555066931-4365d14bab8c?auto=format&fit=crop&w=600&q=80"); }
.thumb-7 { background-image: url("https://images.unsplash.com/photo-1629654297299-c8506221ca97?auto=format&fit=crop&w=600&q=80"); }
.thumb-8 { background-image: url("https://images.unsplash.com/photo-1512941937669-90a1b58e7e9c?auto=format&fit=crop&w=600&q=80"); }
.thumb-9 { background-image: url("https://images.unsplash.com/photo-1526374965328-7f61d4dc18c5?auto=format&fit=crop&w=600&q=80"); }
.thumb-10 { background-image: url("https://images.unsplash.com/photo-1620712943543-bcc4688e7485?auto=format&fit=crop&w=600&q=80"); }
.thumb-11 { background-image: url("https://images.unsplash.com/photo-1593784991095-a205069470b6?auto=format&fit=crop&w=600&q=80"); }
.thumb-12 { background-image: url("https://images.unsplash.com/photo-1526778548025-fa2f459cd5c1?auto=format&fit=crop&w=600&q=80"); }
.thumb-13 { background-image: url("https://images.unsplash.com/photo-1614064641938-3bbee52942c7?auto=format&fit=crop&w=600&q=80"); }
.thumb-14 { background-image: url("https://images.unsplash.com/photo-1544717297-fa95b6ee9643?auto=format&fit=crop&w=600&q=80"); }
.thumb-15 { background-image: url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=600&q=80"); }
.thumb-16 { background-image: url("https://images.unsplash.com/photo-1506784983877-45594efa4cbe?auto=format&fit=crop&w=600&q=80"); }
.thumb-17 { background-image: url("https://images.unsplash.com/photo-1544716278-ca5e3f4abd8c?auto=format&fit=crop&w=600&q=80"); }
.thumb-18 { background-image: url("https://images.unsplash.com/photo-1542751371-adc38448a05e?auto=format&fit=crop&w=600&q=80"); }
.thumb-19 { background-image: url("https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=600&q=80"); }
.thumb-20 { background-image: url("https://images.unsplash.com/photo-1581092160607-ee22621dd758?auto=format&fit=crop&w=600&q=80"); }
.blog-content { padding: 20px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.blog-tag { font-size: 10px; font-weight: 700; color: var(--red); text-transform: uppercase; margin-bottom: 6px; display: block; }
.blog-content h3 { margin: 0 0 10px; font-size: 16px; line-height: 1.4; }
.blog-content p { margin: 0 0 16px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.blog-meta { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--muted); border-top: 1px solid #f0eeea; padding-top: 12px; }
.blog-content h3 a:hover { color: var(--red); }

/* Blog Pagination */
.blog-pagination { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pagination-controls { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.page-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 38px; height: 38px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--line); background: white; color: var(--ink); font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s ease; }
.page-btn:hover:not(:disabled) { border-color: var(--ink); background: var(--paper); }
.page-btn.active { background: var(--ink); color: white; border-color: var(--ink); }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.page-btn svg { width: 15px; height: 15px; }
.pagination-info { font-size: 12.5px; color: var(--muted); text-align: center; }

/* Standalone SEO article pages */
.article-page { background: var(--paper); color: var(--ink); }
.article-header { min-height: 72px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.article-shell { width: min(860px, calc(100% - 32px)); margin: 54px auto 80px; }
.article-detail { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: clamp(28px, 6vw, 68px); box-shadow: 0 18px 60px rgba(22,25,23,.06); }
.article-detail h1 { font-family: Georgia, 'Noto Serif SC', serif; font-size: clamp(34px, 5vw, 58px); line-height: 1.13; margin: 12px 0 22px; letter-spacing: -.02em; }
.article-summary, .article-lead { color: var(--muted); font-size: 17px; line-height: 1.9; }
.article-summary { padding-bottom: 26px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.article-detail h2 { font-family: Georgia, 'Noto Serif SC', serif; font-size: 27px; line-height: 1.35; margin: 42px 0 16px; }
.article-detail h3 { font-size: 18px; margin: 26px 0 10px; }
.article-detail p, .article-detail li { font-size: 16px; line-height: 1.95; }
.article-detail ul, .article-detail ol { padding-left: 24px; display: grid; gap: 8px; }
.article-detail li::marker { color: var(--red); font-weight: 700; }
.article-cta { margin-top: 48px; padding: 28px; background: var(--paper); border-left: 4px solid var(--red); }
.article-cta h2 { margin-top: 0; }
.article-footer { padding: 32px 20px; text-align: center; color: var(--muted); border-top: 1px solid var(--line); }

@media (max-width: 640px) {
  .article-header { padding: 12px 16px; }
  .article-header .button { padding: 10px 12px; }
  .article-shell { margin-top: 24px; }
  .article-detail { padding: 24px 20px; }
  .article-detail p, .article-detail li { font-size: 15px; }
}

/* 8. Resource Section */
.resources-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.resource-box { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 24px; }
.res-icon { width: 40px; height: 40px; background: var(--paper); border-radius: 50%; display: grid; place-items: center; margin-bottom: 14px; color: var(--red); }
.resource-box h3 { margin: 0 0 6px; font-size: 16px; }
.resource-box p { margin: 0 0 16px; font-size: 12px; color: var(--muted); }
.res-links { list-style: none; padding: 0; margin: 0; }
.res-links li { border-bottom: 1px solid #f0eeea; }
.res-links li:last-child { border-bottom: 0; }
.res-links a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: 13px; color: var(--ink); font-weight: 600; }
.res-links a:hover { color: var(--red); }

/* 9. FAQ Section */
.faq-accordion { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: white; border: 1px solid var(--line); border-radius: 6px; padding: 16px 20px; transition: border-color .2s; }
.faq-item[open] { border-color: var(--ink); }
.faq-question { font-weight: 700; font-size: 15px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; list-style: none; }
.faq-question::-webkit-details-marker { display: none; }
.faq-icon { transition: transform .2s; }
.faq-item[open] .faq-icon { transform: rotate(180deg); }
.faq-answer { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); line-height: 1.7; }

.red-eyebrow { color: var(--red) !important; }

.modal { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: 24px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15, 17, 15, .68); }
.modal-card { position: relative; width: min(640px, 100%); max-height: min(720px, calc(100vh - 48px)); overflow: auto; padding: clamp(28px, 5vw, 52px); background: var(--paper-strong); border-radius: var(--radius); box-shadow: var(--shadow); }
.modal-card h2 { margin: 0 50px 22px 0; font-family: "Songti SC", Georgia, serif; font-size: 34px; line-height: 1.2; }
.modal-card h3 { margin: 25px 0 8px; font-size: 15px; }
.modal-card p, .modal-card li { color: var(--muted); font-size: 14px; }
.modal-card ul { padding-left: 20px; }
.modal-close { position: absolute; right: 20px; top: 20px; }
[hidden] { display: none !important; }

@media (max-width: 1040px) {
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav { display: none; position: absolute; inset: 70px 0 auto; padding: 20px 24px; flex-direction: column; align-items: stretch; background: var(--paper-strong); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .menu-button { display: flex; }
  .provider-row { grid-template-columns: 45px 1fr auto; }
  .provider-stats { grid-column: 2 / -1; }
  .provider-actions { grid-column: 3; grid-row: 1; }
  .recommend-section { grid-template-columns: .85fr 1.15fr; }
  .recommend-copy { padding: 70px 6vw; }
  .editorial-grid { grid-template-columns: 1.1fr .9fr; gap: 28px; }
}

@media (max-width: 760px) {
  :root { --content: calc(100% - 32px); }
  .status-strip { justify-content: flex-start; overflow: hidden; white-space: nowrap; }
  .status-time { overflow: hidden; text-overflow: ellipsis; }
  .site-header { height: 62px; padding: 0 16px; }
  .main-nav { top: 62px; }
  .hero { min-height: 640px; background-position: 63% center; }
  .hero-content { padding: 90px 0 188px; }
  .hero h1 { font-size: clamp(68px, 25vw, 104px); }
  .hero-copy { font-size: 16px; line-height: 1.7; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 320px; }
  .hero-metrics { grid-template-columns: repeat(3, 1fr); min-height: 132px; padding: 0 16px; }
  .hero-metrics div, .hero-metrics div + div { padding: 21px 10px; flex-direction: column; gap: 2px; align-items: flex-start; }
  .hero-metrics strong { font-size: 22px; }
  .hero-metrics span { font-size: 10px; line-height: 1.35; }
  .section { padding: 74px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 28px; }
  .ranking-toolbar { align-items: stretch; flex-direction: column; overflow: hidden; }
  .segments { overflow-x: auto; padding-bottom: 3px; }
  .segment { flex: 0 0 auto; }
  .sort-control { justify-content: space-between; }
  .provider-row { grid-template-columns: 34px 1fr; gap: 12px; padding: 22px 0; }
  .provider-main { align-items: flex-start; }
  .provider-logo { flex-basis: 42px; height: 42px; }
  .provider-stats { grid-column: 2; grid-template-columns: repeat(2, 1fr); gap: 13px 8px; }
  .provider-actions { grid-column: 2; grid-row: auto; justify-content: space-between; }
  .provider-actions .button { flex: 1; }
  .recommend-section { grid-template-columns: 1fr; }
  .recommend-image { min-height: 330px; }
  .recommend-copy { padding: 60px 24px 72px; }
  .editorial-grid { grid-template-columns: 1fr; }
  .feature-story { min-height: 510px; }
  .article-list article { min-height: 125px; }
  .method-section { grid-template-columns: 1fr; gap: 50px; padding: 76px 16px; }
  .method-grid div { min-height: 160px; padding: 22px 18px; }
  .newsletter-section { grid-template-columns: 1fr; gap: 28px; padding: 75px 0 95px; }
  .newsletter-form { flex-direction: column; }
  .form-status { left: 0; right: auto; bottom: 65px; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 35px 24px; padding: 52px 16px; }
  .footer-brand, .legal { grid-column: 1 / -1; }
  .search-panel { padding: 30px 12px; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: 66px; }
  .hero-metrics strong { font-size: 18px; }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid div { min-height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
