:root {
  --navy: #09132f;
  --blue: #315fe9;
  --sky: #edf3ff;
  --ink: #14203a;
  --muted: #59667c;
  --line: #dfe6f2;
}

body { background: #fff; }
.header { background: rgba(255,255,255,.97); border-bottom: 1px solid #e9edf5; }
.header-in { height: 78px; }
.brand { letter-spacing: -.07em; font-size: 23px; }
.brand span { color: #3769ef; }
.nav { gap: 23px; color: #26334d; }
.nav .nav-button { background: #315fe9; box-shadow: 0 5px 16px #315fe930; }
.nav .nav-button:hover { background: #234ccc; text-decoration: none; }

.hero {
  color: #fff;
  background: radial-gradient(circle at 50% 27%, #193eaa 0, #0d2363 24%, #080f31 56%, #050b20 100%);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -29% 12% auto;
  width: auto;
  height: 750px;
  border: 1px solid rgba(129,167,255,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 155px rgba(102,145,255,.035), 0 0 0 315px rgba(102,145,255,.025);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #a9c3ff 1.2px, transparent 2.4px);
  background-size: 83px 83px;
  background-position: 15px 7px;
  opacity: .23;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 26%, transparent 74%, #000);
  mask-image: linear-gradient(90deg, #000, transparent 26%, transparent 74%, #000);
  pointer-events: none;
}
.hero-nodes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.hero-nodes i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #dce9ff; box-shadow: 0 0 14px 5px #6e9fff99; opacity: .72; }
.hero-nodes i:nth-child(1) { left: 10%; top: 17%; }
.hero-nodes i:nth-child(2) { left: 21%; top: 58%; width: 5px; height: 5px; }
.hero-nodes i:nth-child(3) { right: 12%; top: 19%; }
.hero-nodes i:nth-child(4) { right: 21%; top: 53%; width: 5px; height: 5px; }
.hero-nodes i:nth-child(5) { left: 36%; bottom: 15%; width: 4px; height: 4px; }
.hero-nodes i:nth-child(6) { right: 34%; bottom: 18%; width: 4px; height: 4px; }
.hero-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  padding-top: 94px;
  padding-bottom: 88px;
  z-index: 1;
}
.hero-in > div:first-child { position: relative; z-index: 2; }
.hero .label { color: #a9c8ff; }
.hero .label::before { background: #83baff; }
.hero h1 {
  color: #fff;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 1.22;
  letter-spacing: -.075em;
  margin: 24px auto 24px;
  text-shadow: 0 0 30px rgba(90,142,255,.25);
}
.hero h1 em { color: #9bc4ff; }
.hero .lead { color: #d3def5; margin: 0 auto; max-width: 700px; font-size: 16px; line-height: 2; }
.hero-actions { justify-content: center; margin-top: 31px; }
.hero .btn { min-width: 220px; border-radius: 13px; background: #fff; border-color: #fff; color: #0b245d; box-shadow: 0 0 28px #7db5ff60; }
.hero .btn:hover { background: #eaf3ff; }
.hero .btn.ghost { background: #ffffff0c; border-color: #a9c7ff99; box-shadow: none; color: #fff; }
.hero .btn.ghost:hover { background: #ffffff20; }
.runner-mark {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 24px;
  border: 1px solid #91b8ff80;
  border-radius: 22px;
  background: linear-gradient(145deg, #ffffff36, #ffffff07);
  color: #fff;
  font-size: 35px;
  line-height: 1;
  transform: rotate(-12deg);
  box-shadow: 0 0 52px #6b9bff90, inset 0 0 25px #ffffff18;
}
.runner-mark span { transform: rotate(12deg); }
.hero-panel {
  width: min(100%, 900px);
  margin-top: 64px;
  border-radius: 22px;
  background: #0e1c46bf;
  border: 1px solid #779bfa63;
  box-shadow: 0 20px 70px #02081780, inset 0 1px #ffffff1b;
  backdrop-filter: blur(18px);
  text-align: left;
}
.panel-title { color: #aec4fb; margin-bottom: 18px; }
.flow { grid-template-columns: repeat(3, 1fr); gap: 12px; }
.flow-item, .flow-item:nth-child(2), .flow-item:nth-child(3) {
  margin-left: 0;
  border: 1px solid #7998e34a;
  background: #ffffff0d;
  color: #f7faff;
  min-height: 86px;
}
.flow-num { background: #345bc154; color: #b9d3ff; }
.panel-foot { color: #b2c5ed; margin-bottom: 0; }

.btn { background: #315fe9; border-color: #315fe9; border-radius: 10px; box-shadow: 0 8px 22px #315fe91d; }
.btn:hover { background: #234ccc; }
.btn.ghost { color: #254cc3; border-color: #b8c9ef; box-shadow: none; }
.btn.ghost:hover { background: #eff4ff; }
.label { color: #315fe9; }
.label::before { background: #315fe9; }
.section { border-color: #e5eaf4; }
.section.soft { background: #f5f7fc; }
.section h2 { color: #0c1837; }
.section-head { max-width: 790px; }
.feature { border-color: #e0e8f4; box-shadow: 0 12px 30px #122b6310; }
.feature .n { color: #315fe9; }
.feature h3 { color: #101d3b; }
.ribbon { background: #eef3ff; border-color: #4b71e9; }
.step b { background: #e8efff; color: #315fe9; }
.step strong { color: #0c1837; }
.plan.featured { background: linear-gradient(150deg, #f9fbff, #e8efff); border-color: #a9bff9; box-shadow: 0 20px 48px #152d741a; }
.plan .tiny, .amount { color: #183dba; }
.plan li::before { color: #315fe9; }
.plans { grid-template-columns: repeat(2, minmax(0,1fr)); }
.plan { display: flex; flex-direction: column; }
.plan .btn { margin-top: auto; }
.plan-desc { min-height: 52px; }
.automation-map { display: flex; align-items: stretch; gap: 10px; margin-top: 36px; }
.automation-map > b { display: grid; place-items: center; color: #4b71e9; font-size: 23px; font-weight: 500; }
.map-node { flex: 1; display: flex; flex-direction: column; min-height: 170px; padding: 23px; border: 1px solid #d9e4fa; border-radius: 16px; background: #fff; box-shadow: 0 12px 28px #1a367512; }
.map-node small { color: #315fe9; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.map-node strong { color: #0c1837; font-size: 18px; margin: 14px 0 4px; }
.map-node span { color: #59667c; font-size: 12px; }
.term { border-color: #e3e9f3; }
.footer { background: #070d24; }
.footer .brand span { color: #8fb2ff; }

.demo-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 65% 15%, #173a99, #091537 55%, #060d24 100%);
  color: #fff;
}
.demo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #91b9ff 1px, transparent 2px);
  background-size: 73px 73px;
  opacity: .18;
  pointer-events: none;
}
.demo-hero .wrap { position: relative; z-index: 1; }
.demo-hero h1, .demo-hero h1 em { color: #fff; }
.demo-hero h1 em { text-shadow: 0 0 30px #87b3ff; }
.demo-hero p { color: #d5e2fa; }
.demo-notice { color: #dce8ff; background: #ffffff12; border-color: #ffffff40; }
.demo-workspace { background: #f4f7fc; }
.demo-input, .demo-output { box-shadow: 0 16px 44px #11245a12; }
.choice:has(input:checked), .template-option:has(input:checked) { border-color: #577deb; background: #f0f4ff; }
.field input:focus, .field textarea:focus { outline-color: #d6e2ff; border-color: #315fe9; }

@media (max-width: 800px) {
  .hero-in { padding-top: 68px; padding-bottom: 60px; }
  .hero-panel { margin-top: 46px; max-width: 600px; }
  .flow { grid-template-columns: 1fr; }
  .flow-item, .flow-item:nth-child(2), .flow-item:nth-child(3) { min-height: auto; }
  .automation-map { flex-wrap: wrap; }
  .map-node { flex-basis: calc(50% - 20px); }
  .automation-map > b:nth-of-type(2) { display: none; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .header-in { height: 68px; }
  .nav .nav-button { padding: 9px 13px; font-size: 12px; }
  .hero h1 { font-size: clamp(42px, 11vw, 58px); }
  .hero .btn { width: 100%; }
  .runner-mark { width: 60px; height: 60px; font-size: 28px; }
  .hero-panel { padding: 22px; }
  .automation-map { display: grid; grid-template-columns: 1fr; }
  .automation-map > b { transform: rotate(90deg); line-height: 1; }
  .automation-map > b:nth-of-type(2) { display: grid; }
  .map-node { min-height: 130px; }
}
