body[data-page="index"] {
  --blue: #1759b6;
  --ink: #10243c;
  --ink-2: #425a72;
  --silver: #dce6ed;
  --gray-50: #f5f8fb;
}

.mhero { --blue: #296BEF; --ink: #181818; --ink-2: #555B66; --silver: #EBEDF0; --gray-50: #F7FBFE; }

.official-proof { border-bottom: 1px solid var(--silver); background: #fff; }
.official-proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-block: 0; }
.official-proof-grid > div {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
  padding: 24px 18px;
  border-right: 1px solid var(--silver);
  text-align: center;
}
.official-proof-grid > div:last-child { border-right: 0; }
.official-proof-grid dt { color: var(--ink-2); font-size: 13px; }
.official-proof-grid dd { margin: 0; color: var(--ink); font-size: clamp(22px, 3vw, 38px); line-height: 1.2; font-weight: 750; font-variant-numeric: tabular-nums; }
.official-proof-grid dd span { color: #187164; font-size: .55em; }

#official-main .section { padding-block: clamp(42px, 6vw, 80px); }
#official-main .section-head { margin: 0 0 30px; text-align: left; }
#official-main .section-title { font-size: clamp(25px, 3.3vw, 38px); }
#official-main .section-sub { font-size: 15px; margin-top: 10px; }
#official-main .section--ink { background: #eaf2f8; }
#official-main .tabs { justify-content: flex-start; gap: 8px; margin-bottom: 22px; }
#official-main .tab { background: #fff; border: 1px solid var(--silver); padding: 8px 15px; border-radius: 8px; }
#official-main .tab.active { background: var(--blue); border-color: var(--blue); box-shadow: none; }
#official-main .scene__item { border-left-color: #2e8d82; }
#official-main .scene__item .dot { background: #2e8d82; }
#official-main .news__cover { height: 60px; justify-items: start; padding: 0 20px; background: #e8f1f8; }
#official-main .news__cover::before { display: none; }
#official-main .cta-band { background: #102d49; }

@media (max-width: 760px) {
  body[data-page="index"] { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .official-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .official-proof-grid > div { padding: 16px 6px; }
  .official-proof-grid > div:nth-child(even) { border-right: 0; }
  .official-proof-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--silver); }
  body[data-page="index"] .floats {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    transform: none;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 0;
    background: #fff;
    border-top: 1px solid var(--silver);
    padding: 4px 6px calc(4px + env(safe-area-inset-bottom));
  }
  body[data-page="index"] .float-item {
    width: auto;
    min-width: 56px;
    min-height: 46px;
    padding: 4px;
    border: 0;
    border-radius: 8px;
    box-shadow: none;
  }
  body[data-page="index"] .float-ic { width: 19px; height: 19px; }
  body[data-page="index"] .float-qr {
    top: auto;
    right: auto;
    left: 0;
    bottom: calc(100% + 8px);
    transform: translateY(6px);
  }
  body[data-page="index"] .float-qr.open { transform: none; }
  body[data-page="index"] .float-qr::after { display: none; }
}

.mhero__grid[hidden], .ai-demo .mslide[hidden] { display: none; }
.hero-switch { display: flex; justify-content: center; gap: 24px; margin-top: 22px; }
.hero-switch button {
  padding: 7px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #495d7e;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.hero-switch button[aria-pressed="true"] { border-bottom-color: #2863cc; color: #174ea8; font-weight: 650; }
.ai-hero { min-height: 390px; }
.ai-hero__label { margin: 0 0 14px; color: #265cb5; font-size: 14px; font-weight: 650; }
.mhero .ai-hero__title { margin: 0; color: #132c56; font-size: clamp(32px, 3.8vw, 56px); line-height: 1.18; letter-spacing: -.035em; }
.mhero .ai-hero__title span { color: #275fdd; }
.ai-hero__intro { max-width: 34em; margin: 19px 0 23px; color: #455d7e; font-size: 16px; line-height: 1.75; }
.ai-hero__note { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 16px 0 0; color: #506787; font-size: 12px; }
.ai-hero__note strong { color: #2257b2; font-size: 16px; }

.ai-demo { min-width: 0; }
.mhero__visual.ai-demo .mockup { animation: mockIn .55s var(--ease) both; }
.ai-demo .mockup__body { grid-template-columns: minmax(104px, 26%) minmax(0, 1fr); }
.ai-demo .mockup__main { min-width: 0; }
.ai-demo__nav span { padding: 8px 10px; border-radius: 8px; color: var(--ink-2); font-size: 12px; }
.ai-demo__nav span.on { background: #e8f0ff; color: var(--blue); }
.ai-demo__summary .mockup__kpi { padding: 9px; }
.ai-demo__summary .mockup__kpi b { font-size: clamp(12px, 1.2vw, 16px); }
.ai-demo__slides .mslide.on { animation: ai-panel-in .38s ease-out both; }
.ai-demo__systems { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 0; padding: 0; list-style: none; }
.ai-demo__systems li { padding: 8px 9px; border: 1px solid #e2ebfa; border-radius: 7px; background: #fff; color: #345882; font-size: 12px; }
.ai-demo__systems li:nth-child(2) { border-color: #b5cdfd; background: #eef4ff; color: #2357b7; }
.ai-demo__messages { display: grid; gap: 8px; }
.ai-demo__messages p { margin: 0; padding: 7px 9px; border-radius: 7px; background: #fff; color: #335576; font-size: 12px; }
.ai-demo__messages p:first-child { justify-self: end; background: #e5efff; }
.ai-demo__messages b { color: #366de0; }
.ai-demo__result { padding: 4px 9px; border: 1px solid #e1ebf8; border-radius: 8px; background: #fff; color: #345776; font-size: 11px; }
.ai-demo__result div, .ai-demo__result p { display: flex; justify-content: space-between; gap: 6px; margin: 0; padding: 5px 0; }
.ai-demo__result div span { color: #285cb7; }
.ai-demo__result p { border-top: 1px solid #edf2fa; }
.ai-demo__result small { flex: none; }
.ai-demo__steps { margin-top: 3px; }
.ai-demo__steps button { position: relative; width: 20px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.ai-demo__steps button::after { position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; border-radius: 6px; transform: translate(-50%, -50%); background: #cdd9ee; transition: width .2s, background .2s; content: ""; }
.ai-demo__steps button[aria-pressed="true"]::after { width: 18px; background: var(--blue); }
.ai-demo__badge { pointer-events: none; right: -14px; bottom: 13%; }
@keyframes ai-panel-in { from { opacity: .4; transform: translateY(6px); } }
@media (max-width: 768px) {
  .ai-demo .mockup__body { grid-template-columns: minmax(0, 1fr); }
  .ai-demo__badge { display: none; }
}
@media (max-width: 540px) {
  .hero-switch { margin-top: 19px; }
  .ai-hero__intro { font-size: 14px; }
  .ai-demo .mockup__main { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-demo__slides .mslide.on, .mhero__visual.ai-demo .mockup, .ai-demo__badge { animation: none; transform: none; }
}
