:root {
  --accent: #0b5fff;
  --accent-ink: #0847c2;
  --accent-soft: #eaf1ff;
  --ink: #121826;
  --muted: #5c6578;
  --line: #e6e8ee;
  --bg: #ffffff;
  --soft: #f5f7fb;
  --footer: #101624;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16, 22, 36, 0.04), 0 12px 32px rgba(16, 22, 36, 0.05);
  --max: 1120px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Hiragino Sans", "Yu Gothic", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 17px;
  text-decoration: none;
}
.logo:hover { text-decoration: none; }
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}
.nav-burger {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
}
.nav a, .has-sub > a {
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
}
.nav a:hover, .has-sub > a:hover { background: var(--soft); text-decoration: none; }
.has-sub { position: relative; }
.sub {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 240px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.sub a { display: block; padding: 10px 12px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.langs { display: flex; gap: 2px; align-items: center; }
.langs a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 6px;
  text-decoration: none;
}
.langs a[aria-current="page"] { color: var(--accent); }
.langs a:hover { color: var(--ink); text-decoration: none; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.2;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--soft); color: var(--ink); }
.btn-block { width: 100%; }
.hero { padding: 72px 0 28px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-ink);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.038em;
  font-weight: 600;
  margin: 16px 0 14px;
}
.lede { font-size: 18.5px; color: var(--muted); max-width: 680px; margin: 0 0 26px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.hero-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  margin-top: 8px;
}
.panel {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.panel h2, .section h2 {
  letter-spacing: -0.03em;
  font-size: 22px;
  margin: 0 0 8px;
  line-height: 1.25;
}
.panel p, .prose p { color: var(--muted); }
.panel .price-start { color: var(--ink); font-size: 28px; letter-spacing: -0.03em; font-weight: 700; margin: 8px 0; }
.section { padding: 28px 0 10px; }
.section-head { margin-bottom: 16px; max-width: 720px; }
.section-head h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.03em; margin: 0 0 8px; }
.grid-3, .grid-2, .price-grid { display: grid; gap: 14px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }
.price-grid { grid-template-columns: repeat(4, 1fr); margin: 8px 0 22px; }
.card, .price-card, .faq details, .summary, .paybox {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.card, .step { padding: 18px 18px 16px; }
.step strong { display: block; letter-spacing: -0.02em; margin-bottom: 4px; }
.step span, .card p, .fine { color: var(--muted); }
.num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; margin-bottom: 10px;
}
.price-card { padding: 18px 16px 16px; display: flex; flex-direction: column; min-height: 230px; box-shadow: var(--shadow); }
.price-card:hover { border-color: #c5d6ff; }
.kicker { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin: 0; }
.qty { font-size: 20px; letter-spacing: -0.03em; font-weight: 700; margin: 10px 0 0; }
.qty span { display: block; font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.amt { font-size: 32px; letter-spacing: -0.04em; font-weight: 700; margin: 8px 0 0; }
.unit { color: var(--muted); font-size: 13px; margin: 4px 0 14px; }
.price-card .btn { margin-top: auto; }
.callout {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--muted);
  font-size: 14.5px;
  margin: 0 0 18px;
}
.page { padding: 42px 0 24px; }
.page h1 { font-size: clamp(34px, 4vw, 46px); }
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; letter-spacing: -0.03em; margin: 28px 0 8px; }
.prose p, .prose li { color: #3c4456; }
.prose ul { padding-left: 18px; }
.faq { display: grid; gap: 10px; }
.faq details { padding: 4px 16px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 12px 0; letter-spacing: -0.01em; }
.faq details p { margin: 0 0 14px; color: var(--muted); }
.checkout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}
.summary, .paybox { padding: 22px; box-shadow: var(--shadow); }
.rows { margin: 12px 0 0; }
.rows div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.rows dt { color: var(--muted); }
.rows dd { margin: 0; font-weight: 700; text-align: right; }
.paybox p { color: var(--muted); font-size: 14.5px; }
.note {
  font-size: 13px;
  color: #3c4456;
  background: #fff8e8;
  border: 1px solid #f0e0b0;
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 12px;
}
.addr { white-space: pre-line; }
.site-footer { background: var(--footer); color: #c9d0de; margin-top: 56px; padding: 42px 0 28px; }
.site-footer a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 22px; }
.site-footer h2 { color: #fff; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.foot-brand { color: #fff; font-weight: 700; letter-spacing: -0.03em; font-size: 18px; }
.legal-line { border-top: 1px solid rgba(255,255,255,.08); margin-top: 26px; padding-top: 14px; font-size: 13px; color: #9aa3b5; }
@media (max-width: 980px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-panel, .checkout, .grid-3, .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .nav-burger { display: inline-flex; }
  .nav, .header-actions { display: none; }
  .nav-toggle:checked ~ .nav,
  .nav-toggle:checked ~ .header-actions { display: flex; }
  .header-inner { flex-wrap: wrap; padding: 10px 0; }
  .nav, .header-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding-bottom: 8px;
  }
  .header-actions { align-items: flex-start; gap: 10px; }
  .sub { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 8px; min-width: 0; }
  .langs { flex-wrap: wrap; }
  .hero { padding-top: 36px; }
  .hero-panel, .checkout, .grid-3, .grid-2, .price-grid, .foot-grid { grid-template-columns: 1fr; }
  .wrap { width: min(var(--max), calc(100% - 28px)); }
}

.crumb { color: var(--muted); font-size: 13px; margin: 0 0 10px; }
.crumb a { color: var(--muted); }
.logo-mark { width: 28px; height: 28px; display: block; }
h1, h2, h3 { font-weight: 600; }
.amt, .qty, .price-start { font-weight: 600; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}
.lang-menu { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  padding: 6px 10px 6px 12px;
  cursor: pointer;
  line-height: 1.2;
}
.lang-btn svg { width: 12px; height: 12px; display: block; }
.lang-btn:hover { background: var(--soft); }
.lang-btn[aria-expanded="true"] { border-color: #c5d6ff; background: var(--accent-soft); color: var(--accent-ink); }
.lang-list {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 168px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 40;
}
.lang-list[hidden] { display: none; }
.lang-list a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.lang-list a[aria-current="true"] { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.lang-list a:hover, .lang-list a:focus { background: var(--soft); text-decoration: none; outline: none; }
.lang-list a:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .check { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select {
  font: inherit;
  font-size: 15px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
.field input:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.hint { color: var(--muted); font-size: 12.5px; margin: 0; font-weight: 400; }
.phone-row { display: grid; grid-template-columns: minmax(140px, 0.9fr) 1.1fr; gap: 8px; }
.pw-row { display: flex; gap: 8px; align-items: center; }
.pw-row input { flex: 1; }
.pw-toggle { padding: 10px 12px; border-radius: 10px; white-space: nowrap; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; }
.check input { margin-top: 3px; }
.auth-switch { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 800px) {
  .lang-list { right: auto; left: 0; }
}

/* Homepage: one column, no illustration set */
.home-hero { padding: 48px 0 8px; }
.home-hero .lede { max-width: 640px; }
.home-block { padding: 36px 0 8px; }
.home-block .section-head p { margin-bottom: 0; }
.product-card { padding: 22px 22px 20px; display: flex; flex-direction: column; border-top: 3px solid var(--accent); }
.product-card .price-start { margin: 14px 0 2px; }
.product-card .price-start span { display: block; margin-top: 2px; font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.product-card .btn { margin-top: 16px; align-self: flex-start; }
.check-list { list-style: none; margin: 0; padding: 0; max-width: 760px; border-top: 1px solid var(--line); }
.check-list li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.check-list strong { color: var(--ink); font-weight: 600; }
.snap-grid { align-items: start; }
.snap-card { padding: 8px 16px 16px; }
.snap-card h3 { margin: 12px 0 4px; font-size: 18px; letter-spacing: -0.02em; }
.snap-wrap { overflow-x: auto; }
.snap { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.snap th, .snap td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.snap th { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.snap td:last-child, .snap th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.snap a { font-weight: 600; }
.more-link { margin: 14px 0 0; font-weight: 600; }
.rate-note { margin-top: 16px; }
.home-faq { max-width: 760px; }
.close-band { background: var(--accent); color: #fff; margin-top: 40px; padding: 48px 0; }
.close-band h2 { color: #fff; margin: 0 0 8px; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.03em; }
.close-band p { color: rgba(255,255,255,.88); max-width: 640px; margin: 0 0 18px; font-size: 17px; }
.close-band .btn-primary { background: #fff; color: var(--accent-ink); }
.close-band .btn-primary:hover { background: var(--accent-soft); color: var(--accent-ink); }
.close-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.close-band .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
