.kv {
  position: relative;
  overflow: hidden;
  padding: 54px 0 28px;
}
.kv-blob,
.kv-blob-2 {
  position: absolute;
  pointer-events: none;
}
.kv-blob {
  right: -9%;
  top: -26%;
  width: 58vw;
  height: 58vw;
  max-width: 760px;
  max-height: 760px;
  background: var(--lemon);
  border-radius: 46% 54% 42% 58% / 52% 38% 62% 48%;
  transform: rotate(-14deg);
}
.kv-blob-2 {
  left: -8%;
  bottom: -28%;
  width: 280px;
  height: 280px;
  background: var(--primary);
  opacity: 0.18;
  border-radius: 62% 38% 46% 54% / 48% 62% 38% 52%;
}
.kv-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.kv-kicker {
  color: var(--primary);
  letter-spacing: 0.22em;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
html.dark .kv-kicker { color: var(--ink); }
.kv h1 {
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.2;
  margin-bottom: 18px;
}
.odo-xl {
  font-size: clamp(2.6rem, 5.4vw, 4.8rem);
  letter-spacing: 0.02em;
  color: var(--ink);
}
.kv-note {
  margin-top: 18px;
  color: var(--gray);
}
.orbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 22px;
  padding: 12px 0 0 24px;
}
.orb {
  width: 176px;
  height: 176px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 22px 18px 18px;
  overflow: hidden;
}
.orb:nth-child(2) { width: 198px; height: 198px; margin-top: 22px; background: var(--primary); color: #fff; }
html.dark .orb:nth-child(2) { color: #1a1a1a; }
.orb:nth-child(3) { width: 220px; height: 220px; margin-left: -10px; }
.orb .lbl { font-size: 0.78rem; letter-spacing: 0.06em; color: var(--gray); line-height: 1.2; }
.orb:nth-child(2) .lbl { color: inherit; opacity: 0.86; }
.orb:nth-child(3) .lbl { font-size: 0.72rem; }
.orb .odo { font-size: 1.28rem; margin: 6px 0 4px; }
.orb:nth-child(2) .odo { font-size: 1.42rem; }
.orb:nth-child(3) .odo { font-size: 1.12rem; }
.orb .unit { font-size: 0.7rem; color: var(--gray2); }
.orb:nth-child(2) .unit { color: inherit; }

.band {
  position: relative;
  margin: 18px 0 8px;
}
.band-inner {
  background: var(--white);
  border-radius: 2.6rem 0.8rem 2.6rem 0.8rem;
  box-shadow: var(--shadow);
  padding: 34px 42px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}
.band-inner h3 {
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.query-form .query-err,
.query-form .query-msg,
.query-form .turnstile-slot,
.query-form .field { grid-column: 1 / -1; }
.query-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
}
.turnstile-slot {
  min-height: 65px;
  max-width: 100%;
}
.query-form .btn {
  justify-self: start;
}
.query-form .btn.is-wait,
.query-form .btn:disabled {
  opacity: 0.55;
  cursor: wait;
}
.query-msg {
  display: none;
  margin-top: 16px;
  padding: 14px 18px 14px 22px;
  border-left: 4px solid var(--primary);
  background: color-mix(in srgb, var(--primary) 8%, var(--white));
  border-radius: 0 18px 18px 0;
}
.query-msg.show { display: block; }
.query-err {
  display: none;
  margin-top: 12px;
  color: #b42318;
}
.query-err.show { display: block; }

.flow {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  padding: 54px 0 20px;
}
.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}
.section-title h2,
.section-title h3 {
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}
.section-title a { color: var(--primary); }

.news-list li {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
}
.news-date {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--lemon);
  color: #1a1a1a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
  font-weight: 500;
}
.news-date b { font-size: 1.35rem; }
.news-date span { font-size: 0.78rem; letter-spacing: 0.08em; }
.news-list a { display: block; }
.news-list em {
  display: block;
  color: var(--gray);
  font-style: normal;
  font-size: 0.88rem;
}

.city-preview li {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
}
.city-preview .n {
  color: var(--primary);
  font-weight: 500;
}
.bar {
  height: 10px;
  background: color-mix(in srgb, var(--primary) 16%, var(--page));
  border-radius: 999px;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-soft));
  border-radius: 999px;
}
.city-preview b { font-weight: 500; font-variant-numeric: tabular-nums; }

.core {
  padding: 10px 0 70px;
}
.core-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 0.9fr;
  gap: 18px;
}
.core a {
  display: block;
  min-height: 168px;
  padding: 28px 24px;
  background: var(--white);
  border-radius: 42% 18px 32px 18px / 28px 36px 18px 42%;
  box-shadow: var(--shadow);
  position: relative;
}
.core a:nth-child(1) {
  background: var(--primary);
  color: #fff;
  border-radius: 18px 48% 18px 36% / 28px 32px 48px 18px;
}
html.dark .core a:nth-child(1) { color: #1a1a1a; }
.core a:nth-child(3) { margin-top: 22px; }
.core a:nth-child(4) { margin-top: -12px; }
.core small {
  display: block;
  letter-spacing: 0.16em;
  opacity: 0.7;
  margin-bottom: 10px;
}
.core b {
  display: block;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}
.core p { margin-top: 10px; color: var(--gray); }
.core a:nth-child(1) p { color: inherit; opacity: 0.9; }

.article p { margin-bottom: 14px; }
.article h3 {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin: 28px 0 10px;
}
.soft {
  background: var(--white);
  border-radius: 28px 12px 28px 12px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
  margin-top: 18px;
}
.contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 16px;
  color: var(--gray);
}

.rank-list li {
  display: grid;
  grid-template-columns: 48px 88px 1fr 140px;
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
}
.rank-list .idx {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--page);
  color: var(--primary);
  font-weight: 500;
}
.rank-list li:nth-child(-n+3) .idx { background: var(--lemon); color: #1a1a1a; }
.rank-list .bar { height: 12px; }
.rank-list b { text-align: right; font-size: 1.15rem; font-weight: 500; }

.news-page li {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--line);
}
.news-page .when { color: var(--primary); letter-spacing: 0.08em; }
.news-page h3 { font-size: 1.15rem; font-weight: 500; }

.map-note {
  margin: 8px 0 22px;
  color: var(--gray);
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.sitemap-grid a { display: block; padding: 4px 0; }

@media (max-width: 1100px) {
  .kv-grid, .band-inner, .flow, .core-grid, .query-form, .rank-list li, .sitemap-grid {
    grid-template-columns: 1fr;
  }
  .orbs { padding-left: 0; }
  .core a:nth-child(3),
  .core a:nth-child(4) { margin: 0; }
  .rank-list li { grid-template-columns: 42px 72px 1fr; }
  .rank-list b { grid-column: 2 / -1; text-align: left; }
}

.invite-kpis {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 16px;
  margin: 4px 0 28px;
  align-items: stretch;
}
.invite-kpis > article {
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 28px 12px 28px 12px;
  padding: 18px 20px 16px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.invite-kpis > article:first-child {
  background: var(--primary);
  color: #fff;
  border-radius: 18px 42% 18px 28px / 28px 22px 42px 16px;
}
html.dark .invite-kpis > article:first-child { color: #1a1a1a; }
.invite-kpis span,
.invite-kpis em {
  display: block;
  color: var(--gray);
  font-size: 0.82rem;
  font-style: normal;
  letter-spacing: 0.04em;
}
.invite-kpis > article:first-child span,
.invite-kpis > article:first-child em { color: inherit; opacity: 0.86; }
.invite-kpis .odo {
  display: inline-flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  font-size: clamp(1.05rem, 1.35vw, 1.45rem);
  line-height: 1;
  margin: 10px 0 6px;
  max-width: 100%;
}
.invite-kpis > article:first-child .odo {
  font-size: clamp(1.25rem, 1.8vw, 1.85rem);
}
.invite-kpis .odo-digit { width: 0.62em; }

.make-box textarea { width: 100%; min-height: 180px; }
.make-table { overflow-x: auto; margin-top: 22px; }
.make-table table { width: 100%; border-collapse: collapse; }
.make-table th, .make-table td {
  padding: 8px 10px;
  border-bottom: 1px dashed var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 0.95rem;
}
.make-table a { word-break: break-all; }
.make-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.look-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
@media (max-width: 1100px) {
  .invite-kpis, .look-filters { grid-template-columns: 1fr; }
}
