@font-face { font-family: 'Satoshi'; src: url('/assets/fonts/Satoshi-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; font-style: normal; }
@font-face { font-family: 'Satoshi'; src: url('/assets/fonts/Satoshi-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; font-style: normal; }
@font-face { font-family: 'Satoshi'; src: url('/assets/fonts/Satoshi-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; font-style: normal; }
@font-face { font-family: 'Satoshi'; src: url('/assets/fonts/Satoshi-Black.woff2') format('woff2'); font-weight: 900; font-display: swap; font-style: normal; }

:root {
  --paper: #fbf9f3;
  --card: #ffffff;
  --ink: #16213a;
  --navy: #1c2f4e;
  --navy-deep: #12213a;
  --muted: #5b6473;
  --line: #e7e1d3;
  --gold: #c9a227;
  --gold-soft: #f6e7b0;
  --gold-deep: #8f7113;
  --link: #2c4a77;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Satoshi', ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
}
.sans { font-family: 'Satoshi', ui-sans-serif, system-ui, sans-serif; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.015em; }
a { color: var(--link); }

/* ---------- Nav ---------- */
nav.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
}
.nav-logo {
  color: var(--ink); font-weight: 900; font-size: 1.02rem;
  padding: 15px 0; text-decoration: none; letter-spacing: .2px;
}
.nav-logo span { color: var(--gold-deep); }
.nav-links { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; }
.nav-links a {
  display: block; padding: 15px 11px; color: var(--ink);
  text-decoration: none; font-size: .78rem; text-transform: uppercase;
  letter-spacing: 1.2px; font-weight: 700;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--gold-deep);
  text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--gold);
}

/* ---------- Heroes (bright) ---------- */
header.hero, header.page-hero {
  background:
    radial-gradient(680px 340px at 85% -10%, rgba(201,162,39,.16), rgba(201,162,39,0) 68%),
    var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
header.hero { padding: 84px 20px 64px; }
header.page-hero { padding: 52px 20px 46px; }
.hero-inner { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.3rem);
  font-weight: 900; letter-spacing: -0.025em;
  margin: 16px 0 10px; line-height: 1.06;
}
.page-hero .hero-inner h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 900; letter-spacing: -0.02em; margin: 12px 0 8px; line-height: 1.1; }
.hero h1 em, .page-hero .hero-inner h1 em {
  font-style: normal; color: var(--ink);
  background: linear-gradient(180deg, rgba(246,231,176,0) 52%, var(--gold-soft) 52%);
  padding: 0 .08em;
}
.hero p.sub, .page-hero p.sub {
  max-width: 620px; margin: 14px 0 0; font-size: 1.14rem;
  color: var(--muted);
}
.crumb {
  color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: 1.6px;
  font-weight: 700; text-decoration: none;
}
.crumb:hover { color: var(--gold-deep); }
.dateline {
  display: inline-block; margin-top: 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; color: var(--muted); font-size: .8rem; font-weight: 500;
}
.dateline::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-right: 8px; vertical-align: 1px; }

/* Verdict strip + jump chips (guide furniture) */
.verdicts {
  display: grid; gap: 12px; margin-top: 30px;
}
@media (min-width: 760px) { .verdicts { grid-template-columns: 1fr 1fr 1fr; max-width: 880px; } }
.verdict {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 18px; text-decoration: none; color: var(--ink);
  box-shadow: 0 1px 2px rgba(22,33,58,.05);
}
.verdict:hover { border-color: var(--gold); }
.verdict .k { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: 1.4px; color: var(--gold-deep); font-weight: 700; margin-bottom: 3px; }
.verdict .v { font-weight: 700; font-size: 1.02rem; }
.jumps { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.jumps .lbl { font-size: .78rem; text-transform: uppercase; letter-spacing: 1.4px; font-weight: 700; color: var(--muted); margin-right: 4px; }
.jumps a {
  display: inline-block; background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 15px; font-size: .86rem; font-weight: 500;
  color: var(--ink); text-decoration: none;
}
.jumps a:hover { border-color: var(--gold); color: var(--gold-deep); }

/* ---------- Sections ---------- */
section { max-width: 1160px; margin: 0 auto; padding: 66px 20px 20px; }
.section-head { margin-bottom: 34px; }
.section-head h2 { font-size: clamp(1.65rem, 3.8vw, 2.3rem); font-weight: 900; margin-top: 8px; }
.section-head p { color: var(--muted); max-width: 660px; margin: 10px 0 0; }

/* ---------- Rank cards ---------- */
.tutors { display: grid; gap: 20px; }
.card {
  background: var(--card); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(22,33,58,.04), 0 10px 28px rgba(22,33,58,.06);
  display: grid; grid-template-columns: 88px 1fr; overflow: hidden;
  border: 1px solid var(--line);
}
@media (max-width: 860px) {
  .card { grid-template-columns: 62px 1fr; }
  .card .num { font-size: 1.45rem; }
}
.card.top { border: 2px solid var(--gold); }
.card .photo { display: none; }
@media (min-width: 861px) {
  .card.feature { grid-template-columns: 88px 1fr 230px; }
  .card.feature .photo { display: block; }
  .card.feature .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
}
.card .brand { height: 30px; width: auto; display: block; margin-bottom: 10px; }
.card .num {
  display: flex; align-items: flex-start; justify-content: center; padding-top: 24px;
  font-size: 1.7rem; font-weight: 900; color: var(--muted);
  background: var(--paper); border-right: 1px solid var(--line);
}
.card.top .num { background: var(--gold); color: #fff; border-right-color: var(--gold); }
.card .body { padding: 22px 26px; }
.card h3 { font-size: 1.3rem; font-weight: 900; color: var(--ink); }
.card .tag {
  display: inline-block; margin-left: 8px; vertical-align: 2px;
  font-size: .66rem; text-transform: uppercase; letter-spacing: 1.1px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 999px; padding: 3px 10px; color: var(--muted); font-weight: 700;
}
.card .tag.gold, .card.top .tag { border-color: var(--gold); color: var(--gold-deep); background: #fdf7e3; }
.card p { margin-top: 8px; color: #333a4a; font-size: .98rem; }
.card .meta {
  margin-top: 12px; font-size: .8rem; color: var(--muted); font-weight: 500;
}
.card .meta a { color: var(--link); }
.card .rate {
  float: right; margin-left: 14px; text-align: right;
  color: var(--ink); font-weight: 900; font-size: 1.2rem; line-height: 1.25;
}
.card .rate small { display: block; font-weight: 700; color: var(--muted); font-size: .66rem; text-transform: uppercase; letter-spacing: 1.1px; }

/* ---------- Top-5 lists (navy band) ---------- */
.fives {
  background: var(--navy);
  margin-top: 66px; padding: 8px 0 30px;
}
.fives section { padding-top: 58px; }
.fives .section-head h2 { color: #f5f2ea; }
.fives .section-head p { color: #c2c6ce; }
.banner {
  width: 100%; height: 240px; object-fit: cover;
  border-radius: 14px; display: block; margin: 0 0 26px;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.five-grid { display: grid; gap: 16px; }
@media (min-width: 760px) {
  .five-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}
.five-item {
  background: rgba(245,242,234,.06);
  border: 1px solid rgba(245,242,234,.16);
  border-radius: 12px; padding: 20px 22px; color: #f5f2ea;
  display: flex; gap: 16px; align-items: flex-start;
}
.five-item .n {
  flex: 0 0 36px; height: 36px; border-radius: 50%;
  background: var(--gold); color: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.05rem;
}
.five-item h4 { font-size: 1.08rem; font-weight: 700; }
.five-item .where {
  font-size: .72rem; text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--gold); font-weight: 700;
}
.five-item p { font-size: .94rem; color: #d6d8dc; margin-top: 6px; }
.five-item a { color: #e9cf74; }

/* ---------- Tips (light variant) ---------- */
.tips .five-item { background: var(--card); border: 1px solid var(--line); color: var(--ink); }
.tips .five-item p { color: #333a4a; }
.tips .five-item .where { color: var(--gold-deep); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-list details {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 18px 22px;
}
.faq-list details[open] { border-color: var(--gold); }
.faq-list summary { cursor: pointer; font-size: 1.05rem; color: var(--ink); font-weight: 700; }
.faq-list details p { margin-top: 10px; color: #333a4a; }

/* ---------- Price tables ---------- */
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 2px rgba(22,33,58,.04), 0 10px 28px rgba(22,33,58,.06); }
table.prices { width: 100%; border-collapse: collapse; min-width: 620px; }
table.prices th, table.prices td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
table.prices th {
  font-size: .72rem; text-transform: uppercase; letter-spacing: 1.3px;
  color: var(--muted); background: var(--paper); font-weight: 700;
}
table.prices tr:last-child td { border-bottom: none; }
table.prices td.figure { font-weight: 900; color: var(--ink); white-space: nowrap; }
table.prices tr.hl td { background: #fdf7e3; }
.table-note { font-size: .82rem; color: var(--muted); margin-top: 12px; font-weight: 500; }

/* ---------- Article prose ---------- */
.prose { max-width: 720px; margin: 0 auto; padding: 52px 20px 20px; }
.prose > p { margin: 0 0 20px; font-size: 1.05rem; }
.prose h2 { font-size: 1.5rem; font-weight: 900; color: var(--ink); margin: 38px 0 14px; }
.prose ul, .prose ol { margin: 0 0 20px 22px; }
.prose li { margin-bottom: 8px; }
.prose blockquote.pull {
  border-top: 3px solid var(--gold); border-bottom: 1px solid var(--line);
  margin: 30px 0; padding: 22px 6px;
  font-size: 1.3rem; line-height: 1.5; font-weight: 700; color: var(--ink);
}
.prose .quote-cite { font-size: .82rem; color: var(--muted); margin-top: -18px; margin-bottom: 24px; font-weight: 500; }
.prose .sources {
  margin-top: 44px; padding: 18px 22px; background: var(--card);
  border: 1px solid var(--line); border-radius: 12px;
  font-size: .87rem; color: var(--muted); font-weight: 500;
}

/* ---------- News cards ---------- */
.news-grid { display: grid; gap: 18px; }
@media (min-width: 760px) { .news-grid { grid-template-columns: 1fr 1fr; } }
.news-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 28px; box-shadow: 0 1px 2px rgba(22,33,58,.04), 0 10px 28px rgba(22,33,58,.06);
  display: block; text-decoration: none; color: var(--ink);
}
.news-card:hover { border-color: var(--gold); }
.news-card .date { font-size: .74rem; text-transform: uppercase; letter-spacing: 1.3px; color: var(--muted); font-weight: 700; }
.news-card h3 { color: var(--ink); font-size: 1.28rem; font-weight: 900; margin: 8px 0 8px; line-height: 1.3; }
.news-card p { color: #333a4a; font-size: .96rem; }
.news-card .more { display: inline-block; margin-top: 12px; color: var(--gold-deep); font-weight: 700; font-size: .85rem; }

/* ---------- Cross-page teasers ---------- */
.teaser-band { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 66px; }
.teaser-band section { padding: 54px 20px 54px; }
.teaser-grid { display: grid; gap: 18px; }
@media (min-width: 860px) { .teaser-grid { grid-template-columns: 1fr 1fr 1fr; } }
.teaser {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 24px 26px; text-decoration: none; color: var(--ink); display: block;
}
.teaser:hover { border-color: var(--gold); }
.teaser .k { font-size: .72rem; text-transform: uppercase; letter-spacing: 1.3px; color: var(--gold-deep); font-weight: 700; }
.teaser h3 { color: var(--ink); font-size: 1.18rem; font-weight: 900; margin: 8px 0 6px; line-height: 1.3; }
.teaser p { font-size: .92rem; color: #333a4a; }

/* ---------- Footer ---------- */
footer {
  margin-top: 76px; background: var(--navy-deep); color: #a3a8b3;
  text-align: center; padding: 46px 20px; font-size: .85rem;
}
footer .site { color: #f5f2ea; font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
footer .site span { color: var(--gold); }
footer .foot-links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: center; margin: 16px 0 10px; padding: 0; }
footer .foot-links a { color: #c2c6ce; text-decoration: none; }
footer .foot-links a:hover { color: var(--gold); }
