.home-page {
  --home-blue: #2359e6;
  --home-ink: #141f33;
  --home-muted: #52617a;
  color: var(--home-ink);
  background: #f8faff;
}

.home-page > header {
  background: #f8fafff2;
  border-color: #e1e8f5;
}

.home-frame {
  width: min(100% - 88px, 1184px);
  margin-inline: auto;
}

.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(ellipse at 79% 51%, #162c6a 0, transparent 52%),
    linear-gradient(123deg, #071020 13%, #0a1636 65%, #0d1943);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(#9ab2fb14 1px, transparent 1px),
    linear-gradient(90deg, #9ab2fb14 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(95deg, transparent 18%, #000 75%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  align-items: center;
  gap: 45px;
  padding-block: 80px 88px;
  min-height: 620px;
}

.home-kicker {
  margin: 0 0 16px;
  color: var(--home-blue);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .08em;
}

.intro-copy { animation: home-enter .7s cubic-bezier(.19, .8, .25, 1) both; }
.intro-copy .home-kicker { color: #b3c9ff; }
.intro-copy .home-kicker span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: #78aeff;
  box-shadow: 0 0 16px #76aaff;
}

.intro-copy h1 {
  margin: 0;
  font-size: clamp(47px, 5.55vw, 82px);
  font-weight: 720;
  line-height: 1.14;
  letter-spacing: -.06em;
}

.intro-copy h1 em {
  font-style: normal;
  color: #d2e3ff;
  background: linear-gradient(99deg, #f0f6ff 5%, #94baff 63%, #adb3ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-lead {
  max-width: 470px;
  margin: 25px 0 30px;
  color: #c2cce4;
  font-size: 16px;
  line-height: 1.9;
}

.home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; }

.home-cta {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 650;
  transition: transform .22s ease, box-shadow .22s ease;
}

.home-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 16px #0b2b5c30; }
.home-cta-light { background: #f2f6ff; color: #13234c; }
.home-cta-blue { background: #2255dc; color: #fff; }
.home-arrow-link, .home-inline { display: inline-flex; gap: 9px; align-items: center; font-size: 14px; font-weight: 625; }
.home-arrow-link { color: #d5e2ff; }
.home-inline { color: #234fce; }
.home-inline span, .home-arrow-link span { transition: transform .22s ease; }
.home-inline:hover span, .home-arrow-link:hover span { transform: translate(2px, -2px); }
.home-page :is(a, button):focus-visible { outline: 3px solid #5295ff; outline-offset: 5px; }

.hero-visual {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 402px;
  animation: home-enter .9s .09s cubic-bezier(.19, .8, .25, 1) both;
}

.hero-visual .orbit {
  position: absolute;
  inset: auto;
  z-index: -1;
  width: 93%;
  max-width: 470px;
  aspect-ratio: 1;
  height: auto;
  border: 1px solid #769aff52;
  border-radius: 50%;
  transform: none;
}

.orbit-outer { box-shadow: 0 0 80px #3059e255, inset 0 0 65px #2f49c944; }
.hero-visual .orbit-inner {
  width: 76%;
  max-width: 375px;
  background: radial-gradient(ellipse at 51% 59%, #3d6bf060, transparent 73%);
  border-style: dashed;
  animation: home-spin 32s linear infinite;
}

.orb {
  position: absolute;
  z-index: -1;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 24px #6ba9ff;
  background: #adc9ff;
  animation: home-glow 3.8s ease-in-out infinite;
}

.orb-one { top: 14%; right: 20%; }
.orb-two { bottom: 10%; left: 16%; width: 6px; height: 6px; animation-delay: 1.3s; }

.hero-glass {
  width: min(88%, 386px);
  overflow: hidden;
  border: 1px solid #9fb8ff55;
  border-radius: 22px;
  background: linear-gradient(150deg, #1e3262f5, #111e40f7 72%);
  box-shadow: 0 24px 70px #000629a8, 0 0 100px #4e75ff25;
}

.glass-header, .glass-footer { display: flex; align-items: center; gap: 10px; padding: 16px 20px; }
.glass-header { border-bottom: 1px solid #b6c8ff22; font-size: 14px; font-weight: 640; }
.glass-header img { border-radius: 8px; }
.glass-note { margin-left: auto; color: #c0ceeb; font-size: 11px; font-weight: 500; }
.glass-main { padding: 23px 20px 26px; }
.glass-label { display: block; color: #b9c8eb; font-size: 12px; margin-bottom: 5px; }
.glass-main strong { font-size: 21px; font-weight: 660; }

.glass-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  margin-top: 24px;
}

.glass-track::before {
  position: absolute;
  top: 5px;
  left: 5px;
  right: 24%;
  height: 1px;
  content: "";
  background: #84a6ff69;
}

.glass-track span { position: relative; display: grid; justify-items: start; gap: 9px; color: #d6e4fd; font-size: 12px; }
.glass-track b {
  width: 11px;
  height: 11px;
  border: 2px solid #acc8ff;
  border-radius: 50%;
  background: #3e67cc;
  animation: home-glow 3s ease-in-out infinite;
}
.glass-track span:nth-child(2) b { animation-delay: .5s; }
.glass-track span:nth-child(3) b { animation-delay: 1s; }
.glass-footer { border-top: 1px solid #b6c8ff22; color: #b9caed; font-size: 11px; }
.glass-footer span { width: 6px; height: 6px; border-radius: 50%; background: #83b3ff; }

.home-section { padding-block: 86px; }
.home-heading { margin-bottom: 28px; }
.home-heading h2, .product-tile h2, .home-bottom h2 {
  color: inherit;
  font-size: clamp(31px, 4.1vw, 51px);
  font-weight: 690;
  line-height: 1.23;
  letter-spacing: -.05em;
}
.home-heading > p:not(.home-kicker), .product-tile p:not(.home-kicker) { margin: 14px 0 0; color: var(--home-muted); font-size: 15px; }
.home-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 18px; }
.home-capabilities { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }

.capability {
  border: 1px solid #e0e8f6;
  border-radius: 22px;
  background: #fff;
  padding: 26px;
  box-shadow: 0 9px 38px #2e457008;
  transition: transform .22s ease, border-color .22s ease;
}
.capability:hover { transform: translateY(-4px); border-color: #9eb9fb; }
.capability h3 { margin: 19px 0 7px; font-size: 20px; line-height: 1.4; }
.capability p { margin: 0; color: var(--home-muted); font-size: 14px; }
.capability .home-inline { margin-top: 12px; font-size: 13px; }

.capability-mark {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #eaf1ff;
  color: #3565e9;
}

.capability-mark i { display: block; width: 6px; height: 12px; border: 1px solid currentColor; border-radius: 3px; }
.mark-agent i:nth-child(2) { height: 20px; background: #3565e9; }
.mark-agent i:nth-child(3) { height: 16px; }
.mark-skill i { width: 6px; height: 6px; transform: rotate(45deg); border-radius: 1px; }
.mark-skill i:nth-child(2) { width: 10px; height: 10px; background: #3565e9; margin-inline: 1px; }
.mark-calling i { width: 8px; height: 8px; border-radius: 50%; }
.mark-calling i:nth-child(2) { background: #3565e9; }

.home-evaluation { background: #edf3ff; border-block: 1px solid #dce7f9; }
.evaluation-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; padding-block: 78px; }
.evaluation-grid .home-heading { margin: 0; }
.evaluation-grid .home-heading p:last-child { max-width: 400px; }

.eval-board {
  min-width: 0;
  padding: 23px;
  border-radius: 24px;
  border: 1px solid #dbe6fa;
  background: #fff;
  box-shadow: 0 12px 46px #4360a015;
}
.eval-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; font-size: 16px; font-weight: 650; }
.eval-header span { color: #465d91; background: #edf3ff; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 550; }
.eval-tabs { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 5px; padding: 5px; border-radius: 13px; background: #edf2fd; }
.eval-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #475a7b;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 630;
  transition: color .2s, background .2s;
}
.eval-tabs button[aria-pressed="true"] { color: #173caa; background: #fff; box-shadow: 0 1px 5px #1f377d20; }
.eval-panel { min-height: 153px; padding: 16px 5px 0; }
.eval-meter { background: #e2eafa; height: 3px; overflow: hidden; border-radius: 3px; margin: 0 0 17px; }
.eval-meter span { display: block; width: 33.333%; height: 100%; border-radius: 3px; background: #4779f4; transition: width .32s ease; }
.eval-panel h3 { margin: 0 0 7px; font-size: 17px; line-height: 1.45; }
.eval-panel p { margin: 0; color: var(--home-muted); font-size: 14px; }

.product-feature { padding-block: 62px 6px; }
.product-tile {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 25px;
  padding: 27px 31px;
  background: linear-gradient(130deg, #eaf2ff, #f1f3ff 82%);
  border: 1px solid #dde7fb;
  border-radius: 25px;
}
.product-tile img { display: block; border-radius: 22px; }
.product-tile h2 { font-size: clamp(24px, 3.15vw, 38px); }
.product-tile p { margin-bottom: 7px; }
.product-tile p:not(.home-kicker) { margin-top: 8px; }
.product-tile .home-cta { white-space: nowrap; }

.home-team { padding-bottom: 66px; }
.home-team .person-card { border-color: #e0e8f6; transition: transform .22s ease, box-shadow .22s ease; }
.home-team .person-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px #294f8d16; }
.home-reading { padding-top: 55px; border-top: 1px solid #dce7f9; }
.home-article-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; }
.home-article-grid .article-row {
  height: 100%;
  padding: 22px;
  border: 1px solid #dfe8f5;
  border-radius: 17px;
  background: #fff;
}
.home-article-grid .article-row h3 { font-weight: 640; line-height: 1.45; }
.home-article-grid .article-row p { margin: 0; color: var(--home-muted); font-size: 13px; }
.home-article-grid .article-row:is(:hover, :focus-visible) { border-color: #9bb8fc; }
.home-bottom { background: #0b1733; color: #fff; }
.home-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding-block: 56px; }
.home-bottom h2 { font-size: clamp(27px, 3.75vw, 42px); }
.home-bottom p { margin: 10px 0 0; color: #c0cce4; font-size: 14px; }

@keyframes home-enter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes home-spin { to { transform: rotate(360deg); } }
@keyframes home-glow {
  0%, 100% { box-shadow: 0 0 4px #6ba9ff60; }
  50% { box-shadow: 0 0 18px #73aaffed; }
}
.reveal-ready [data-reveal].is-visible { animation: home-enter .52s cubic-bezier(.19, .8, .25, 1) both; }
.eval-panel.is-updating { animation: home-enter .25s ease both; }

@media (max-width: 1000px) {
  .home-frame { width: calc(100% - 60px); }
  .hero-inner { gap: 20px; min-height: 545px; padding-block: 67px; }
  .hero-visual { min-height: 340px; }
  .evaluation-grid { gap: 32px; }
}

@media (max-width: 740px) {
  .home-frame { width: calc(100% - 40px); }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; gap: 30px; padding-block: 46px 44px; }
  .intro-copy h1 { font-size: clamp(36px, 9.1vw, 64px); }
  .home-lead { font-size: 14px; margin: 18px 0 22px; }
  .hero-visual { min-height: 271px; }
  .hero-visual .orbit { max-width: 315px; }
  .hero-visual .orbit-inner { max-width: 268px; }
  .home-section { padding-block: 52px; }
  .home-capabilities, .home-article-grid { grid-template-columns: 1fr; gap: 13px; }
  .evaluation-grid { grid-template-columns: 1fr; gap: 22px; padding-block: 48px; }
  .evaluation-grid h2 br { display: none; }
  .product-feature { padding-top: 42px; }
  .product-tile { grid-template-columns: auto minmax(0,1fr); gap: 15px; padding: 20px; }
  .product-tile img { width: 55px; height: 55px; border-radius: 15px; }
  .product-tile .home-cta { grid-column: 1 / -1; justify-self: start; }
  .home-bottom-inner { align-items: start; flex-direction: column; gap: 18px; padding-block: 44px; }
}
@media (max-width: 390px) {
  .hero-glass { width: 100%; }
  .eval-board { padding: 16px; }
  .home-heading-row { align-items: start; flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page *, .home-page *::before, .home-page *::after { animation: none !important; transition: none !important; }
}
