:root {
  color-scheme: light;
  --bg: #f5f8fd;
  --surface: #ffffff;
  --surface-2: #f8faff;
  --text: #19243c;
  --muted: #77849a;
  --line: #e4e9f2;
  --primary: #5d45e7;
  --blue: #22a9ed;
  --violet: #8d5bed;
  --green: #1eb37c;
  --red: #e7566c;
  --shadow: 0 25px 75px rgba(50, 66, 104, .12);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(228,233,242,.88); background: rgba(255,255,255,.9); backdrop-filter: blur(18px); }
.header-inner { height: 80px; display: flex; align-items: center; gap: 30px; }
.brand { display: flex; direction: ltr; align-items: center; gap: 11px; user-select: none; }
.brand-mark { width: 47px; height: 47px; display: grid; place-items: center; border-radius: 15px; color: #fff; background: linear-gradient(145deg, #20bce8, #5869ef 62%, #925fea); box-shadow: 0 12px 28px rgba(84,79,224,.22); font-size: 23px; font-weight: 950; }
.brand-mark img,.core-logo img{display:block;width:100%;height:100%;object-fit:contain}.brand-mark{overflow:visible;background:transparent;box-shadow:none}.brand-mark img{filter:drop-shadow(0 6px 10px rgba(86,68,204,.22))}.core-logo{padding:5px;background:#fff}.core-logo img{filter:drop-shadow(0 7px 11px rgba(86,68,204,.22))}
.brand b, .brand small { display: block; }
.brand b { font-size: 15px; letter-spacing: .12em; white-space: nowrap; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 7px; letter-spacing: .08em; }
.site-header nav { display: flex; gap: 25px; margin-right: auto; color: #77839a; font-size: 13px; font-weight: 750; }
.site-header nav a:hover { color: var(--primary); }

.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border-radius: 13px; font-size: 13px; font-weight: 850; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(135deg, #5d45e7, #6967ef 55%, #2faee9); box-shadow: 0 13px 32px rgba(88,70,222,.23); }
.button-secondary, .button-ghost { border: 1px solid var(--line); background: #fff; }
.button-secondary:hover, .button-ghost:hover { border-color: #bbb0f4; box-shadow: 0 10px 25px rgba(52,65,100,.08); }

.hero { min-height: 680px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; position: relative; padding-block: 74px; }
.hero::before { content: ""; width: 520px; height: 520px; position: absolute; z-index: -1; right: -230px; top: -150px; border-radius: 50%; background: rgba(57,156,238,.11); filter: blur(22px); }
.status-pill { width: max-content; display: flex; align-items: center; gap: 9px; margin-bottom: 27px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); box-shadow: 0 8px 23px rgba(52,65,100,.06); font-size: 10px; }
.status-pill i { width: 8px; height: 8px; border-radius: 50%; background: #a8b1bf; }
.status-pill i.ok { background: var(--green); box-shadow: 0 0 0 5px rgba(30,179,124,.1); }
.status-pill i.bad { background: var(--red); }
.eyebrow { margin: 0; color: var(--primary); font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.hero h1 { max-width: 710px; margin: 12px 0 20px; font-size: clamp(42px,6vw,69px); line-height: 1.14; letter-spacing: -.055em; }
.hero h1 span { background: linear-gradient(90deg, #259eea, #615be8, #a65edf); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { max-width: 690px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.95; }
.hero-actions { display: flex; gap: 12px; margin-top: 29px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 27px; color: #8b96a8; font-size: 10px; }
.trust-row span::before { content: "✓"; margin-left: 6px; color: var(--green); }

.hero-visual { height: 500px; display: grid; place-items: center; position: relative; border: 1px solid rgba(255,255,255,.9); border-radius: 38px; background: linear-gradient(145deg, rgba(255,255,255,.75), rgba(239,244,255,.78)); box-shadow: var(--shadow); }
.hero-visual::before { content: ""; width: 310px; height: 310px; position: absolute; border-radius: 50%; background: radial-gradient(circle,rgba(71,142,235,.15),rgba(139,88,237,.06) 55%,transparent 73%); }
.orbit { position: absolute; border: 1px solid rgba(91,74,226,.13); border-radius: 50%; }
.orbit-one { width: 340px; height: 340px; }
.orbit-two { width: 435px; height: 435px; border-style: dashed; }
.core-card { z-index: 2; width: 222px; height: 255px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #e4e1fb; border-radius: 29px; background: #fff; box-shadow: 0 28px 70px rgba(58,68,112,.16); }
.core-logo { width: 65px; height: 65px; display: grid; place-items: center; margin-bottom: 19px; border-radius: 20px; background: linear-gradient(145deg,#21b7e6,#5d61e9,#955eeb); color: #fff; font-size: 33px; font-weight: 950; }
.core-card small { color: var(--primary); font-size: 9px; letter-spacing: .16em; }
.core-card strong { margin: 8px 0; font-size: 21px; }
.core-card p { margin: 0; color: var(--muted); font-size: 11px; }
.float-card { min-width: 185px; display: flex; align-items: center; gap: 11px; position: absolute; z-index: 3; padding: 13px 14px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.96); box-shadow: 0 16px 38px rgba(55,67,105,.13); }
.float-card i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: #eeebff; color: var(--primary); font-size: 10px; font-style: normal; font-weight: 900; }
.float-card b, .float-card small { display: block; }
.float-card b { font-size: 12px; }
.float-card small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.fc-one { right: 13px; top: 58px; }
.fc-two { left: 8px; top: 220px; }
.fc-three { right: 25px; bottom: 39px; }

.strip { border-block: 1px solid var(--line); background: #fff; }
.strip-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.strip-grid > div { min-height: 118px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-left: 1px solid var(--line); }
.strip-grid > div:last-child { border-left: 0; }
.strip strong { color: var(--primary); font-size: 27px; }
.strip span { margin-top: 7px; color: var(--muted); font-size: 11px; }

.section { padding-block: 105px; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head h2, .integration h2, .cta h2 { margin: 10px 0 13px; font-size: clamp(29px,4vw,43px); letter-spacing: -.04em; }
.section-head > p:last-child, .integration-copy > p, .cta p { color: var(--muted); font-size: 15px; line-height: 1.8; }
.flow-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.flow-grid article, .feature-grid article { position: relative; overflow: hidden; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 12px 35px rgba(49,62,99,.07); }
.flow-grid article:not(:last-child)::after { content: "←"; width: 24px; height: 24px; display: grid; place-items: center; position: absolute; left: -12px; top: 30px; z-index: 2; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 900; }
.flow-grid span { color: var(--primary); font-size: 11px; font-weight: 900; }
.flow-grid b { display: block; margin: 19px 0 10px; font-size: 16px; }
.flow-grid p, .feature-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }

.feature-section { border-block: 1px solid var(--line); background: linear-gradient(145deg,#f0f5ff,#f9f7ff); }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.feature-grid article { min-height: 215px; }
.feature-grid article:nth-child(3n+1) { border-top: 3px solid #28a8eb; }
.feature-grid article:nth-child(3n+2) { border-top: 3px solid #765ae9; }
.feature-grid article:nth-child(3n) { border-top: 3px solid #ee668e; }
.feature-grid i { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 14px; background: #eeeaff; color: var(--primary); font-size: 20px; font-style: normal; }
.feature-grid h3 { margin: 21px 0 10px; font-size: 17px; }

.integration { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 68px; }
.integration code { font-family: Consolas,"Courier New",monospace; }
.integration pre { overflow: auto; margin: 0; padding: 27px; border: 1px solid #dfe3f0; border-radius: 22px; background: #16223d; color: #dce9ff; box-shadow: var(--shadow); direction: ltr; text-align: left; line-height: 1.75; }
code { color: #7562dc; }
.integration pre code { color: #dce9ff; }
.text-link { display: inline-block; margin-top: 12px; color: var(--primary); font-weight: 850; }

.cta { padding-block: 48px; border-block: 1px solid var(--line); background: linear-gradient(110deg,#eef7ff,#f2edff 55%,#fff2f6); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta h2 { font-size: 32px; }
.cta p { margin: 0; }
footer { padding-block: 38px; background: #fff; color: var(--muted); }
footer > .shell { display: flex; align-items: center; gap: 30px; }
footer p { margin-right: auto; font-size: 11px; }
footer > .shell > span { font-family: Consolas,monospace; font-size: 11px; }

@media (max-width: 960px) {
  .site-header nav { display: none; }
  .header-inner > .button { margin-right: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 62px; }
  .hero-visual { height: 440px; }
  .flow-grid, .feature-grid { grid-template-columns: repeat(2,1fr); }
  .integration { grid-template-columns: 1fr; gap: 35px; }
  .strip-grid { grid-template-columns: repeat(2,1fr); }
  .strip-grid > div:nth-child(2) { border-left: 0; }
  .strip-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px,1180px); }
  .header-inner { height: 70px; }
  .brand-mark { width: 42px; height: 42px; }
  .site-header .brand b { font-size: 14px; }
  .header-inner > .button { min-height: 40px; padding: 0 13px; font-size: 11px; }
  .hero { min-height: 0; gap: 28px; padding-block: 54px; }
  .hero h1 { font-size: 40px; }
  .hero-lead { font-size: 14px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .trust-row { gap: 10px; }
  .hero-visual { height: 390px; transform: none; border-radius: 27px; }
  .core-card { width: 190px; height: 225px; }
  .orbit-one { width: 290px; height: 290px; }
  .orbit-two { width: 345px; height: 345px; }
  .float-card { min-width: 154px; padding: 10px; }
  .fc-one { right: -8px; top: 45px; }
  .fc-two { left: -8px; top: 195px; }
  .fc-three { right: 5px; bottom: 31px; }
  .flow-grid, .feature-grid { grid-template-columns: 1fr; }
  .flow-grid article:not(:last-child)::after { display: none; }
  .section { padding-block: 73px; }
  .strip strong { font-size: 22px; }
  .strip span { padding-inline: 6px; text-align: center; }
  .cta-inner { align-items: stretch; flex-direction: column; }
  .cta-inner .button { width: 100%; }
  footer > .shell { align-items: flex-start; flex-direction: column; }
  footer p { margin: 0; }
}
