:root {
  --bg: #eef1f8;
  --white: #fff;
  --hero: #eef0ff;
  --primary: #6d5ef6;
  --primary-2: #5b4ce8;
  --ink: #1b2340;
  --body: #4a5168;
  --mute: #6b7388;
  --line: #dce2ee;
  --ok: #208a5a;
  --err: #c84545;
  --navy: #0b1020;
  --blue: #6d5ef6;
  --lav: #eeeafe;
  --soft: #eef0ff;
  --font: "Segoe UI", Inter, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --shadow: 0 12px 40px rgba(11, 16, 32, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--body); background: var(--bg); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.shell { width: min(1180px, calc(100% - 24px)); margin: 0 auto; padding: 12px 0 48px; }
.phone, .wide { width: min(1180px, calc(100% - 24px)); margin: 0 auto; padding: 12px 0 48px; }

.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 8px 12px; margin-bottom: 12px;
  background: var(--navy); border-radius: 16px;
}
.word { display: flex; align-items: center; min-width: 0; }
.word img, .word .logo { height: 88px; width: auto; max-width: min(380px, 78vw); object-fit: contain; display: block; }
.chip {
  font-size: 0.78rem; color: #c5c9d8; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 6px 12px; white-space: nowrap;
}
.slim {
  display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center;
  font-size: 0.9rem; font-weight: 600; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 8px 12px; margin-bottom: 14px;
}
.slim a { color: var(--ink); padding: 6px 8px; border-radius: 8px; }
.slim a:hover { background: var(--hero); color: var(--primary); }
a[href^="tel:"] { color: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }

.win {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); overflow: hidden; margin-bottom: 14px;
}
.win-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; background: linear-gradient(180deg, #f7f8ff, #ecefff);
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem; font-weight: 800; letter-spacing: .06em; color: var(--mute);
}
.dots { display: flex; gap: 5px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #c9cedc; display: block; }
.dots i:nth-child(1) { background: #ff6b6b; }
.dots i:nth-child(2) { background: #f5c542; }
.dots i:nth-child(3) { background: #3dcc8a; }
.win-body { padding: 18px; }

.hero-grid { display: grid; gap: 16px; }
.hero-copy h1 {
  margin: 10px 0 10px; color: var(--ink);
  font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.15; letter-spacing: -0.03em; font-weight: 800;
}
.lede { margin: 0 0 16px; color: var(--mute); font-size: 1.05rem; line-height: 1.5; max-width: 38rem; }
.eyebrow {
  display: inline-block; background: #fff; color: var(--primary);
  font-size: 0.68rem; font-weight: 800; letter-spacing: .04em;
  border-radius: 999px; padding: 7px 12px;
}
.hero-copy { display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.hero-points { margin: 4px 0 12px; padding-left: 1.15rem; color: var(--ink); }
.hero-points li { margin: 7px 0; line-height: 1.4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 10px; }
.hero-art { background: #eef0ff; border-radius: 0 0 12px 12px; overflow: hidden; }
.hero-art img { width: 100%; height: auto; max-height: 420px; object-fit: contain; object-position: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 18px; border: 0; border-radius: 12px;
  font-weight: 700; font-family: inherit; cursor: pointer;
}
.btn-go, .btn-blue { background: var(--primary); color: #fff; }
.btn-go:hover, .btn-blue:hover { background: var(--primary-2); }
.btn-wide { width: 100%; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-navy { background: var(--ink); color: #fff; }
.btn-outline { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); width: 100%; }

.grid-2, .pair, .split, .cfg-grid, .stats { display: grid; gap: 12px; }
.grid-3, .plans, .apps, .tlds, .size-grid { display: grid; gap: 12px; }
.pair article, .price-card, .panel, .sheet, .card, .app, .plan, .tld, .stat, .search, .config, .due {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
}
.pair article, .card, .app, .plan, .stat { padding: 16px; }
.ico { width: 28px; height: 28px; color: var(--primary); margin-bottom: 8px; }
h3 { margin: 0 0 6px; color: var(--ink); }
.pair p, .price-card p, .app p, .card p { margin: 0; color: var(--mute); line-height: 1.4; }
.price-card { padding: 16px; }
.rowline { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; gap: 8px; }
.rowline span { color: var(--ink); font-weight: 700; }
.rowline a { color: var(--primary); font-weight: 800; }

.block { margin-bottom: 8px; }
.kicker { color: var(--primary); font-weight: 800; letter-spacing: .1em; font-size: .7rem; margin: 0 0 6px; }
h2, h2.sec { color: var(--ink); font-size: clamp(1.25rem, 2.4vw, 1.7rem); margin: 0 0 8px; letter-spacing: -0.02em; }
.sub { color: var(--mute); margin: 0 0 14px; line-height: 1.45; }
.tiny { font-size: 0.8rem; color: var(--mute); }

.opt { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 14px; }
.opt label {
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer;
  font-weight: 700; color: var(--ink); background: #fff; font-size: .88rem;
}
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt label:has(input:checked) { border-color: var(--primary); background: #f3f0ff; color: var(--primary); }
.config, .search, .panel { padding: 16px; }
.due { padding: 16px; background: var(--hero); border: 0; }
.due dt { color: var(--mute); font-size: .82rem; }
.due dd { margin: 0 0 10px; font-weight: 800; color: var(--ink); font-size: 1.15rem; }

.plan.rec { border: 2px solid var(--primary); }
.badge { display: inline-flex; font-size: .68rem; font-weight: 800; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; background: #efeaff; color: var(--primary); }
.save { color: var(--ok); font-weight: 800; font-size: .85rem; }
.price { font-size: 2rem; font-weight: 800; color: var(--ink); margin: 6px 0; letter-spacing: -0.03em; }
.price span { font-size: 1rem; font-weight: 600; color: var(--mute); }
.was { text-decoration: line-through; color: var(--mute); font-size: .9rem; }
.plan ul { padding-left: 1.1rem; margin: 10px 0 14px; }
.plan li { margin: 5px 0; color: var(--ink); }
.tld { padding: 14px 8px; text-align: center; }
.tld strong { display: block; color: var(--ink); }
.note { font-size: .85rem; color: var(--mute); background: #eef8f2; border-radius: 12px; padding: 10px 12px; }

.search form { display: flex; gap: 8px; flex-wrap: wrap; }
.search input, .sheet input, .sheet select, .sheet textarea, .panel input, .panel select, .panel textarea {
  width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 12px;
  padding: 8px 12px; font-family: inherit; font-size: 1rem;
}
.search input { flex: 1; min-width: 180px; }
.search button { flex-shrink: 0; }
.results { margin-top: 10px; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.ok { color: var(--ok); }
.no { color: var(--err); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
table.compare { width: 100%; border-collapse: collapse; min-width: 520px; }
.compare th, .compare td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); font-size: .88rem; }
.compare th { background: var(--hero); color: var(--ink); }
.size-grid button {
  text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px; cursor: pointer; font-family: inherit;
}
.size-grid button.on { border-color: var(--primary); background: #f3f0ff; }
.size-grid strong { display: block; color: var(--ink); }
.faq details { border-top: 1px solid var(--line); padding: 12px 0; }
summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.status-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); margin-right: 8px; }

.foot { margin-top: 20px; color: var(--mute); font-size: .85rem; line-height: 1.5; display: grid; gap: 8px; }
@media (min-width: 800px) { .foot { grid-template-columns: 1.6fr 1fr 1fr; } }
.foot a { color: var(--primary); font-weight: 700; }

.modal {
  display: none; position: fixed; inset: 0; background: rgba(27,35,64,.4);
  z-index: 50; align-items: center; justify-content: center; padding: 16px;
}
.modal.open { display: flex; }
.sheet { padding: 18px; width: min(420px, 100%); }
.sheet.wide { width: min(720px, 100%); }
.sheet label { display: block; font-weight: 700; font-size: .82rem; margin: 10px 0 4px; color: var(--ink); }
.sheet textarea { min-height: 80px; }
#site-brief { min-height: 140px; }
.site-frame { width: 100%; min-height: 640px; border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-top: 14px; }
.auth-card { margin-top: 8px; max-width: 420px; }

.desk { display: grid; gap: 14px; }
@media (min-width: 880px) { .desk { grid-template-columns: 200px 1fr; align-items: start; } }
.desk-nav { display: flex; flex-wrap: wrap; gap: 6px; }
@media (min-width: 880px) { .desk-nav { flex-direction: column; position: sticky; top: 12px; } }
.desk-nav a { padding: 8px 12px; border-radius: 10px; font-weight: 700; font-size: .88rem; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.desk-nav a.on { background: var(--primary); color: #fff; border-color: var(--primary); }
.stat-n { font-size: 1.3rem; font-weight: 800; color: var(--ink); margin: 4px 0 0; }
.docs nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.docs nav a { padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .86rem; }
.docs nav a.on { background: var(--primary); color: #fff; border-color: var(--primary); }
pre { background: #1b2340; color: #e8eefc; padding: 12px; border-radius: 12px; overflow-x: auto; }

.burger { display: none; }
.links { display: flex; }
.nav { display: contents; }
.nav-inner { display: contents; }
.brand { display: none; }

@media (min-width: 720px) {
  .pair, .split, .grid-2, .stats { grid-template-columns: 1fr 1fr; }
  .tlds { grid-template-columns: repeat(3, 1fr); }
  .size-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (min-width: 880px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; align-items: stretch; }
  .plans, .apps { grid-template-columns: repeat(3, 1fr); }
  .cfg-grid { grid-template-columns: 1.2fr 0.8fr; }
  .tlds { grid-template-columns: repeat(6, 1fr); }
  .btn-wide.hero-cta { width: auto; min-width: 240px; }
}

.cookie-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  max-width: 720px; margin: 0 auto;
  background: #0b1020; color: #e8eefc;
  border-radius: 16px; padding: 14px 16px;
  box-shadow: 0 12px 40px rgba(11,16,32,.28);
  font-size: 0.9rem; line-height: 1.45;
}
.cookie-bar a { color: #c4b8ff; font-weight: 700; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.g-recaptcha { margin: 12px 0; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
