:root {
  --paper: #fbf4e2;
  --paper-deep: #eedbad;
  --ink: #211612;
  --muted: #695342;
  --wine: #621317;
  --wine-light: #8d2224;
  --gold: #d99e18;
  --gold-light: #ffe29a;
  --forest: #1f5b43;
  --line: rgba(78, 42, 24, .18);
  --shadow: 0 18px 46px rgba(66, 35, 20, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-body, Arial, sans-serif);
  line-height: 1.55; font-size: 17px;
  background-image: radial-gradient(circle at 4% 0, rgba(255,255,255,.7), transparent 30%), radial-gradient(circle at 100% 20%, rgba(217,158,24,.1), transparent 32%);
  overflow-x: hidden;
}
a { color: inherit; text-underline-offset: .18em; }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.topline { background: var(--wine); color: var(--gold-light); font-size: 14px; }
.topline .shell { display: flex; justify-content: center; padding: 8px 0; text-align: center; }
.site-header { position: sticky; z-index: 20; top: 0; background: rgba(251,244,226,.95); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header__row { min-height: 74px; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--wine); text-decoration: none; min-width: max-content; }
.brand__mark { width: 34px; height: 42px; }
.brand__name { font: 600 25px/1 var(--font-display, Georgia, serif); letter-spacing: .04em; }
.brand__note { display: block; color: var(--muted); font: 14px/1.1 var(--font-script, cursive); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; font-size: 15px; }
.nav a { text-decoration: none; color: #4c3327; }
.nav a:hover { color: var(--wine); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 10px; padding: 12px 18px; min-height: 45px; font: 700 15px/1.1 var(--font-body, Arial); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { color: #fff5d8; background: var(--wine); box-shadow: 0 4px 0 #420b0e; }
.btn--primary:hover { background: var(--wine-light); }
.btn--gold { color: #2f1b08; background: var(--gold); box-shadow: 0 4px 0 #a6720d; }
.btn--quiet { border-color: var(--line); color: var(--wine); background: rgba(255,255,255,.38); }
.menu-button { display: none; border: 0; background: none; color: var(--wine); font: inherit; padding: 8px; }
.hero { overflow: hidden; position: relative; padding: 92px 0 76px; background: #151411 url('/assets/images/knyaz-hero-path-20260903.png') center/cover no-repeat; color: #fff5e1; }
.hero:before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,15,17,.93) 0%, rgba(19,19,17,.79) 41%, rgba(21,18,13,.22) 78%, rgba(21,18,13,.1)); }
.hero:after { content: ""; position: absolute; inset: auto -100px -160px auto; width: 560px; height: 560px; border: 1px solid rgba(255,226,154,.2); border-radius: 50%; box-shadow: 0 0 0 40px rgba(217,158,24,.06), 0 0 0 90px rgba(141,34,36,.035); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr); align-items: center; gap: 60px; position: relative; z-index: 1; }
.hero__grid > *, .tariff, .link-card { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--forest); font-weight: 700; letter-spacing: .05em; font-size: 13px; text-transform: uppercase; }
.hero .eyebrow { color: #e8bf5c; }
.eyebrow:before { content: ""; display: inline-block; width: 22px; border-top: 2px solid var(--gold); }
h1,h2,h3 { font-family: var(--font-display, Georgia, serif); color: var(--wine); line-height: 1.02; margin: 0; }
h1 { margin-top: 14px; font-size: clamp(48px, 6.2vw, 78px); max-width: 760px; }
h2 { font-size: clamp(34px, 4vw, 51px); }
h3 { font-size: 29px; }
.lead { max-width: 680px; font-size: 20px; margin: 24px 0; color: #48352a; }
.hero h1 { color: #fff2cf; max-width: 730px; text-shadow: 0 2px 18px rgba(0,0,0,.32); }
.hero .lead { color: #f2e4cf; max-width: 650px; }
.hero .small-note { color: #decdb3; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 15px; }
.small-note { color: var(--muted); font-size: 14px; margin: 0; }
.hero-card { background: rgba(31,20,17,.86); backdrop-filter: blur(7px); color: #fff7e6; padding: 32px; border-radius: 22px; box-shadow: var(--shadow); border: 1px solid rgba(255,226,154,.3); position: relative; }
.hero-card h2 { color: var(--gold-light); font-size: 34px; }
.hero-card p { color: #f0dfc5; margin: 9px 0 21px; }
.hero-card__rows { display: grid; gap: 12px; }
.hero-card__row { display: flex; gap: 12px; align-items: flex-start; border-top: 1px solid rgba(255,255,255,.16); padding-top: 12px; }
.hero-card__icon { color: var(--gold); font-size: 20px; line-height: 1; }
.hero-card__row b { display: block; font-size: 15px; }
.hero-card__row span { display: block; font-size: 14px; color: #decdb3; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.36); }
.fact { padding: 20px 20px 18px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact b { display: block; color: var(--wine); font: 600 27px/1 var(--font-display, Georgia); }
.fact span { color: var(--muted); font-size: 14px; }
.section { padding: 86px 0; }
.section--deep { background: #281815; color: #f9efd8; }
.section--deep h2, .section--deep h3 { color: var(--gold-light); }
.section-intro { max-width: 720px; margin: 16px 0 34px; color: var(--muted); font-size: 19px; }
.section--deep .section-intro { color: #e0ceb0; }
.step-grid, .benefit-grid, .link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step, .benefit, .link-card { border: 1px solid var(--line); background: rgba(255,255,255,.46); border-radius: 16px; padding: 25px; }
.step__num { display: inline-grid; width: 34px; height: 34px; place-items: center; margin-bottom: 18px; border-radius: 50%; background: var(--wine); color: var(--gold-light); font-weight: bold; }
.step p, .benefit p, .link-card p { color: var(--muted); margin: 10px 0 0; font-size: 16px; }
.section--deep .step { background: rgba(255,255,255,.06); border-color: rgba(255,226,154,.19); }
.section--deep .step p { color: #e0ceb0; }
.price-panel { background: #fffaf0; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.period-switch { display: flex; gap: 8px; flex-wrap: wrap; margin: 28px 0 20px; }
.period-switch button { padding: 10px 14px; background: transparent; border: 1px solid var(--line); border-radius: 9px; color: var(--wine); font: 700 14px var(--font-body, Arial); cursor: pointer; }
.period-switch button[aria-pressed="true"] { color: #fff7e8; background: var(--wine); border-color: var(--wine); }
.tariff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tariff { display: flex; flex-direction: column; padding: 22px 18px; border: 1px solid var(--line); border-radius: 13px; background: #fffdf8; }
.tariff--featured { border: 2px solid var(--gold); box-shadow: 0 8px 25px rgba(217,158,24,.18); }
.tariff__tag { min-height: 22px; color: var(--forest); font-size: 13px; font-weight: 700; }
.tariff h3 { font-size: 25px; margin: 2px 0 15px; }
.tariff__price { color: var(--wine); font: 600 38px/1 var(--font-display, Georgia); }
.tariff__details { margin: 8px 0 18px; min-height: 45px; color: var(--muted); font-size: 14px; }
.tariff .btn { margin-top: auto; width: 100%; }
.payment-note { display: flex; flex-wrap: wrap; gap: 10px 16px; color: #5f493a; font-size: 14px; margin: 18px 0 0; }
.payment-note span { display: inline-flex; align-items: center; gap: 6px; }
.route { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 16px; margin-top: 34px; }
.route__item { text-align: center; padding: 22px 16px; border-radius: 15px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,226,154,.19); }
.route__item b { display: block; font-size: 16px; }
.route__item span { font-size: 14px; color: #e0ceb0; }
.route__arrow { color: var(--gold); font-size: 26px; }
.server-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.server { border-radius: 999px; padding: 8px 12px; background: rgba(255,255,255,.52); border: 1px solid var(--line); font-size: 14px; }
.server::before { content: "●"; color: var(--forest); padding-right: 7px; font-size: 11px; }
.comparison { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.5); }
.comparison table { border-collapse: collapse; width: 100%; min-width: 620px; text-align: left; }
.comparison th, .comparison td { padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.comparison th { color: var(--wine); font-family: var(--font-display, Georgia, serif); font-size: 20px; background: rgba(217,158,24,.1); }
.comparison tbody tr:last-child td { border-bottom: 0; }
.comparison td:first-child { color: var(--muted); width: 30%; }
.comparison td:nth-child(2) { color: var(--forest); font-weight: 700; }
.story-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; align-items: stretch; }
.story-card { border-radius: 18px; padding: 30px; border: 1px solid var(--line); background: linear-gradient(140deg,#fff9eb,rgba(239,218,174,.66)); }
.story-card--dark { background: #261713; color: #f4e7ca; border-color: rgba(255,226,154,.23); }
.story-card--dark h3 { color: var(--gold-light); }
.story-card p { color: var(--muted); }
.story-card--dark p { color: #e5d2b4; }
.story-card ul { padding-left: 20px; }
.story-card li { margin: 9px 0; }
.cta-strip { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 38px; border-radius: 20px; background: linear-gradient(125deg, var(--wine), #3e0b0d); color: #fff5d8; box-shadow: var(--shadow); }
.cta-strip h2 { color: var(--gold-light); font-size: 40px; }
.cta-strip p { margin: 10px 0 0; color: #f0dfc5; }
.footer { background: #1f1411; color: #e7d4b7; padding: 44px 0 28px; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 30px; }
.footer a { display: block; color: #e7d4b7; text-decoration: none; margin: 7px 0; font-size: 15px; }
.footer a:hover { color: var(--gold-light); }
.footer h3 { font: 700 14px var(--font-body, Arial); color: var(--gold-light); text-transform: uppercase; letter-spacing: .06em; }
.footer__copy { padding-top: 24px; margin-top: 24px; border-top: 1px solid rgba(255,255,255,.14); color: #bca78a; font-size: 13px; }
.page-hero { padding: 70px 0 48px; background: linear-gradient(125deg, #f5e6c0, var(--paper)); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 860px; }
.page-hero .lead { margin-bottom: 0; }
.faq { display: grid; gap: 10px; max-width: 840px; }
details { background: rgba(255,255,255,.52); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
summary { cursor: pointer; color: var(--wine); font-weight: 700; }
details p, details ul { color: var(--muted); margin: 12px 0 0; }
.notice { padding: 17px 19px; background: #f8e6b0; border-left: 4px solid var(--gold); border-radius: 8px; color: #513a18; }
.mobile-only { display: none; }
@media (max-width: 900px) {
  .nav { display: none; } .menu-button { display: block; margin-left: auto; } .site-header__row { gap: 12px; }
  .header-actions .btn--quiet { display: none; } .hero { padding-top: 54px; } .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .facts, .tariff-grid { grid-template-columns: repeat(2, 1fr); } .fact:nth-child(2) { border-right: 0; } .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .step-grid, .benefit-grid, .story-grid { grid-template-columns: 1fr; } .route { grid-template-columns: 1fr; gap: 8px; } .route__arrow { transform: rotate(90deg); text-align: center; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); } .cta-strip { display: block; padding: 28px; } .cta-strip .btn { margin-top: 20px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; } .shell { width: min(100% - 28px, 1160px); } .topline .shell { font-size: 12px; }
  .site-header__row { min-height: 64px; } .brand__name { font-size: 21px; } .brand__mark { width: 28px; height: 36px; } .brand__note { font-size: 12px; }
  .header-actions .btn { display: none; } .mobile-only { display: inline-flex; } h1 { font-size: 47px; } .lead { font-size: 18px; } .hero__actions .btn { width: 100%; }
  .hero-card { padding: 24px; max-width: 100%; } .facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .fact { padding: 16px; overflow-wrap: anywhere; } .fact b { font-size: 24px; }
  .section { padding: 60px 0; } .tariff-grid { grid-template-columns: 1fr; } .tariff { padding: 21px; } .price-panel { padding: 16px; }
  .footer__grid { grid-template-columns: 1fr; gap: 18px; }
}
