/* NAPOLEON — Ride & Rest | Sport Touring minimal */
:root {
  --red: #FF0000;
  --cta: #E60012;
  --red-dark: #B80018;
  --burgundy: #8C0032;
  --coral: #FF4D65;
  --yellow: #FFCC33;
  --success: #16B878;
  --bg: #FFFFFF;
  --bg-2: #F5F5F7;
  --bg-3: #EDEDF0;
  --ink: #171321;
  --ink-2: #282230;
  --muted: #66636D;
  --line: #E2E1E6;
  --radius: 14px;
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--red-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cta); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); color: var(--ink); padding: 8px 14px; z-index: 10; font-weight: 700; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(23, 19, 33, 0.96);
  border-bottom: 3px solid var(--red);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
}
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-word { font-weight: 900; font-size: 19px; letter-spacing: 0.16em; line-height: 1; }
.brand-word small { display: block; font-weight: 600; font-size: 10.5px; letter-spacing: 0.08em; color: var(--coral); margin-top: 4px; text-transform: none; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  color: #D8D5DE; text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 8px 12px; border-radius: 999px; transition: background .15s, color .15s;
}
.nav a:hover { color: #fff; background: var(--ink-2); }
.nav a[aria-current="page"] { color: #fff; background: var(--cta); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(255, 0, 0, 0.28), transparent 60%),
    radial-gradient(600px 300px at -10% 110%, rgba(140, 0, 50, 0.45), transparent 60%),
    var(--ink);
  color: #fff;
  padding: 72px 0 0;
}
.hero::before {
  /* speed stripes */
  content: ""; position: absolute; right: -60px; top: 40px; width: 340px; height: 120px;
  background: repeating-linear-gradient(115deg, transparent 0 18px, rgba(255, 77, 101, 0.18) 18px 24px);
  transform: skewX(-20deg); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--yellow);
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--yellow); border-radius: 2px; }
.hero h1 {
  font-size: clamp(44px, 9vw, 92px); line-height: 0.92; margin: 18px 0 8px;
  font-weight: 900; letter-spacing: 0.02em;
}
.hero h1 .accent { color: var(--red); }
.hero .sub { font-size: clamp(18px, 2.4vw, 22px); font-weight: 700; color: #fff; margin: 0 0 14px; }
.hero .sub span { color: var(--coral); }
.hero p.lead { color: #C9C5D1; max-width: 520px; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 12px; font-weight: 800; font-size: 16px;
  text-decoration: none; border: 2px solid transparent; line-height: 1.2;
}
.btn-cta { background: var(--cta); color: #fff; box-shadow: 0 10px 30px -10px rgba(230, 0, 18, 0.8); }
.btn-cta:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.btn-ghost:hover { color: #fff; border-color: #fff; }
.soon {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px; border-radius: 12px;
  background: #fff; color: var(--ink); font-weight: 800; font-size: 15px;
  cursor: default;
}
.soon .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 204, 51, 0.3); }

.route-card {
  background: linear-gradient(180deg, var(--ink-2), #1E1928);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px; padding: 18px; position: relative;
}
.route-card .rc-head { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #9D98A8; padding: 4px 6px 10px; }
.route-card .rc-head b { color: var(--yellow); }
.route-svg { width: 100%; height: auto; }
.legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.legend div { background: rgba(255, 255, 255, 0.04); border-radius: 10px; padding: 10px 12px; }
.legend b { display: block; font-size: 20px; line-height: 1.1; }
.legend span { font-size: 12px; color: #9D98A8; }

.hero-band {
  margin-top: 64px; background: var(--cta); color: #fff;
  font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 13px;
}
.hero-band .wrap { display: flex; gap: 10px 28px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.hero-band span::before { content: "/ "; color: var(--yellow); }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-alt { background: var(--bg-2); }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cta); margin: 0 0 10px; }
h2 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.05; margin: 0 0 16px; font-weight: 900; letter-spacing: -0.01em; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p { color: var(--muted); margin: 0; }

.features { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.feature {
  grid-column: span 2;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; position: relative; overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.feature:nth-child(4), .feature:nth-child(5) { grid-column: span 3; }
.feature:hover { transform: translateY(-3px); border-color: var(--coral); box-shadow: 0 18px 40px -24px rgba(184, 0, 24, 0.45); }
.feature .num { position: absolute; right: 18px; top: 14px; font-weight: 900; font-size: 44px; color: var(--bg-3); line-height: 1; }
.feature .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--ink); display: grid; place-items: center; margin-bottom: 18px; }
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { margin: 0 0 6px; font-size: 21px; font-weight: 800; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 6px;
  background: var(--success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat;
}
.privacy-panel {
  background: var(--ink); color: #fff; border-radius: 22px; padding: 32px; position: relative; overflow: hidden;
}
.privacy-panel::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; border: 22px solid var(--burgundy); opacity: .6; }
.privacy-panel h3 { margin: 0 0 14px; font-size: 22px; }
.privacy-panel .row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-size: 15px; position: relative; z-index: 1; }
.privacy-panel .row:last-child { border-bottom: 0; }
.privacy-panel .yes { color: var(--success); font-weight: 800; }
.privacy-panel .no { color: var(--coral); font-weight: 800; }

.langs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.lang { border: 2px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 15px; }
.lang b { color: var(--cta); margin-right: 6px; }

.note {
  border-left: 5px solid var(--yellow); background: #fff; border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 24px; max-width: 820px;
}
.note h3 { margin: 0 0 6px; font-size: 18px; }
.note p { margin: 0; color: var(--muted); }

.cta-strip { background: var(--ink); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.cta-strip::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--red), var(--burgundy) 60%, var(--yellow)); }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-in h2 { color: #fff; margin: 0; font-size: clamp(26px, 4vw, 38px); }
.cta-in p { margin: 6px 0 0; color: #C9C5D1; }

/* ---------- Page header (inner pages) ---------- */
.page-head { background: var(--ink); color: #fff; padding: 56px 0 48px; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -40px; bottom: 0; width: 300px; height: 6px; background: var(--red); transform: skewX(-30deg); }
.page-head h1 { margin: 8px 0 6px; font-size: clamp(34px, 6vw, 56px); line-height: 1.02; font-weight: 900; }
.page-head p { margin: 0; color: #C9C5D1; }
.page-head .eyebrow { color: var(--coral); }
.page-head .eyebrow::before { background: var(--coral); }

.doc { padding: 56px 0 84px; }
.doc-grid { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.toc { position: sticky; top: 96px; font-size: 14px; background: var(--bg-2); border-radius: var(--radius); padding: 18px; }
.toc strong { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--cta); }
.prose { max-width: 760px; min-width: 0; }
.prose h2 { font-size: 26px; margin: 44px 0 12px; padding-top: 4px; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 24px 0 8px; }
.prose p, .prose li { color: #35313D; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.summary {
  background: var(--bg-2); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 36px;
  border-top: 4px solid var(--cta);
}
.summary p { margin: 0; }
.table-wrap { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 460px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-2); font-weight: 800; }
tr:last-child td { border-bottom: 0; }
.tag { display: inline-block; font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.tag-no { background: #FFE5E9; color: var(--red-dark); }
.tag-local { background: #DDF6EC; color: #0C7A4F; }

/* ---------- Support ---------- */
.support-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 12px;
  transition: border-color .15s;
}
.faq details[open] { border-color: var(--coral); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 800; font-size: 17px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center;
  font-weight: 800; color: var(--cta); line-height: 26px; text-align: center;
}
.faq details[open] summary::after { content: "\2212"; background: var(--cta); color: #fff; }
.faq .ans { padding: 0 20px 18px; color: #35313D; }
.faq .ans p { margin: 0 0 10px; }
.faq .ans p:last-child { margin-bottom: 0; }
.faq ol { margin: 0 0 10px; padding-left: 20px; }
.contact-card { background: var(--ink); color: #fff; border-radius: 22px; padding: 28px; position: sticky; top: 96px; }
.contact-card h2 { color: #fff; font-size: 24px; margin-bottom: 8px; }
.contact-card p { color: #C9C5D1; font-size: 15px; }
.contact-card .mail { display: block; color: #fff; font-weight: 800; font-size: 18px; word-break: break-all; margin: 14px 0; text-decoration: none; }
.contact-card .mail:hover { color: var(--yellow); }
.contact-card .reply { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--yellow); }
.contact-card ul { padding-left: 18px; margin: 14px 0 0; color: #C9C5D1; font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: #0F0C16; color: #A8A3B2; padding: 44px 0 36px; font-size: 14px; border-top: 3px solid var(--red); }
.foot-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.foot-brand { color: #fff; font-weight: 900; letter-spacing: .16em; font-size: 17px; }
.foot-brand + p { margin: 4px 0 0; color: var(--coral); font-size: 13px; }
.foot-links { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.foot-links a, .site-footer .mail-link { color: #fff; text-decoration: none; font-weight: 600; }
.foot-links a:hover, .site-footer .mail-link:hover { color: var(--yellow); }
.foot-bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid #2A2433; display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split, .support-grid { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: 1fr; gap: 28px; }
  .toc, .contact-card { position: static; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature:nth-child(4), .feature:nth-child(5) { grid-column: span 1; }
  .feature:nth-child(5) { grid-column: span 2; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .header-in { justify-content: center; gap: 8px; }
  .nav { justify-content: center; }
  .nav a { padding: 7px 10px; font-size: 14px; }
  .hero { padding-top: 44px; }
  .hero::before { display: none; }
  .hero-band { margin-top: 44px; }
  section { padding: 60px 0; }
  .features { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(4), .feature:nth-child(5) { grid-column: span 1; }
  .legend b { font-size: 17px; }
  .route-card { padding: 12px; }
  .privacy-panel, .contact-card { padding: 22px; }
  .btn, .soon { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
