:root {
  --ink: #102033;
  --muted: #5f6d80;
  --blue: #0b58b8;
  --red: #e31924;
  --paper: #ffffff;
  --soft: #f4f8fd;
  --line: rgba(13, 48, 90, .13);
  --shadow: 0 24px 70px rgba(16, 42, 78, .13);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  background:
    radial-gradient(circle at 8% 0%, rgba(227,25,36,.11), transparent 24rem),
    radial-gradient(circle at 90% 12%, rgba(11,88,184,.18), transparent 28rem),
    linear-gradient(135deg, #fff 0%, #f4f8fd 58%, #eef5ff 100%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.nav-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.logo img { width: clamp(160px, 18vw, 230px); filter: drop-shadow(0 8px 14px rgba(11,36,77,.22)); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue);
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(16,42,78,.08);
}
.btn.primary { color: #fff; border: 0; background: linear-gradient(135deg, var(--red), #ff3742 45%, var(--blue)); }
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 10vw, 126px) 0 56px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.94), rgba(255,255,255,.82) 48%, rgba(255,255,255,.28)),
    var(--hero-image),
    linear-gradient(135deg, #f6f9fe, #e9f2ff);
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% 0 -10%;
  height: 120px;
  background: linear-gradient(90deg, rgba(227,25,36,.16), rgba(11,88,184,.18));
  filter: blur(40px);
  z-index: -1;
}
.kicker { color: var(--red); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 900; }
h1, h2, h3 { margin: 0; font-family: "Playfair Display", Georgia, serif; line-height: 1; letter-spacing: 0; }
h1 { max-width: 820px; margin-top: 14px; font-size: clamp(2.9rem, 8vw, 6.3rem); }
.lead { max-width: 760px; color: rgba(16,32,51,.76); font-size: clamp(1.02rem, 2vw, 1.25rem); line-height: 1.8; }
.meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; color: var(--muted); font-size: .9rem; }
.meta span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.78); }
.layout { display: grid; gap: 30px; padding: 54px 0 80px; }
.article {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(22px, 5vw, 54px);
}
.article p, .article li { color: rgba(16,32,51,.78); line-height: 1.8; }
.article h2 { margin-top: 38px; font-size: clamp(2rem, 5vw, 3.3rem); }
.article h3 { margin-top: 26px; font-size: clamp(1.35rem, 3vw, 2rem); }
.article a { color: var(--blue); font-weight: 800; }
.toc, .cta-box, .source-box {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  background: linear-gradient(145deg, #fff, #f4f8fd);
}
.toc strong, .cta-box strong, .source-box strong { display: block; margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 20px; }
.route-card {
  display: grid;
  gap: 14px;
  margin: 26px 0;
  padding: 20px;
  border: 1px solid rgba(11,88,184,.16);
  border-radius: 18px;
  background: rgba(11,88,184,.06);
}
.route-card b { color: var(--blue); }
.tip {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--red);
  border-radius: 14px;
  background: rgba(227,25,36,.06);
  color: rgba(16,32,51,.82);
}
.cards { display: grid; gap: 16px; margin-top: 20px; }
.mini-card { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.mini-card h3 { margin-top: 0; }
.footer { padding: 34px 0; border-top: 1px solid var(--line); color: var(--muted); background: rgba(255,255,255,.72); }
.footer-inner { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
@media (min-width: 860px) {
  .layout { grid-template-columns: minmax(0, 1fr) 310px; align-items: start; }
  .sidebar { position: sticky; top: 96px; display: grid; gap: 18px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .nav-inner { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .nav-actions { justify-content: flex-start; }
  .btn { min-height: 40px; padding: 0 13px; font-size: .84rem; }
}
