:root {
  --ink: #0a2540;
  --muted: #53627a;
  --purple: #635bff;
  --purple-dark: #4b45d6;
  --purple-pale: #f4f2ff;
  --line: rgba(10, 37, 64, 0.12);
  --soft: #f6f9fc;
  --navy: #0b1739;
  --white: #fff;
  --max: 1264px;
  --shadow: 0 24px 70px rgba(50, 50, 93, 0.18), 0 8px 18px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro Display", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }

.frame {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
  position: relative;
}
.rail-frame { border-inline: 1px solid var(--line); }
.section-pad { padding: 104px 16px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--purple);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
}
.display {
  margin: 0;
  font-size: clamp(44px, 6vw, 82px);
  font-weight: 550;
  line-height: .98;
  letter-spacing: -.055em;
}
.section-title {
  margin: 0;
  max-width: 880px;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 530;
  line-height: 1.05;
  letter-spacing: -.04em;
}
.section-title .muted, .muted { color: #6b778c; font-weight: 420; }
.lead {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}
.button-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: var(--purple);
  color: #fff;
  font-size: 16px;
  font-weight: 650;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn:hover { background: var(--purple-dark); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(99,91,255,.22); }
.btn.secondary { color: var(--purple); background: #fff; border-color: rgba(99,91,255,.28); }
.btn.secondary:hover { background: #f8f7ff; }
.btn.dark { background: var(--ink); }
.btn.dark:hover { background: #183c5b; }
.text-link { color: var(--purple); font-weight: 650; }

/* Shared navigation */
.site-header {
  position: relative;
  z-index: 50;
  height: 76px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
}
.home .site-header { position: absolute; inset: 0 0 auto; background: rgba(255,255,255,.08); }
.header-inner {
  width: min(var(--max), calc(100% - 48px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.055em;
}
.brand-mark {
  width: 25px;
  height: 25px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px 3px 7px 3px;
  background: var(--purple);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}
.desktop-nav { display: flex; align-items: center; gap: 4px; }
.nav-trigger, .nav-link {
  height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 20px;
  background: transparent;
  color: #12263a;
  cursor: pointer;
  font-size: 14px;
  font-weight: 620;
}
.nav-trigger { display: inline-flex; align-items: center; gap: 7px; }
.nav-trigger img { width: 10px; height: 6px; transition: transform .16s ease; }
.nav-trigger[aria-expanded="true"] img { transform: rotate(180deg); }
.nav-trigger:hover, .nav-trigger[aria-expanded="true"], .nav-link:hover { background: rgba(255,255,255,.56); color: var(--purple); }
.header-actions { margin-left: auto; display: flex; gap: 9px; }
.header-actions .btn { min-height: 40px; padding-inline: 19px; font-size: 14px; }
.header-actions .signin { color: #996121; background: #fff; }
.header-actions .sales { background: #5146ed; }
.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 0;
  border-radius: 5px;
  background: #fff;
  color: var(--purple);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.mobile-toggle img { width: 40px; height: 40px; object-fit: contain; }
.mega-menu {
  display: none;
  position: absolute;
  top: 62px;
  left: 50%;
  width: min(1120px, calc(100vw - 48px));
  max-height: calc(100vh - 92px);
  overflow: auto;
  transform: translateX(-50%);
  padding: 26px;
  border: 1px solid rgba(10,37,64,.09);
  border-radius: 12px;
  background: rgba(255,255,255,.985);
  box-shadow: var(--shadow);
}
.mega-menu.open { display: block; animation: menuIn .16s ease-out; }
@keyframes menuIn { from { opacity: 0; transform: translate(-50%, -7px); } }
.mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.mega-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega-group h3 {
  margin: 0 0 13px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 650;
}
.mega-group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.mega-group a { display: block; color: #343f58; font-size: 14px; line-height: 1.25; }
.mega-group a:hover { color: var(--purple); }
.mega-group a strong { display: block; color: var(--purple); font-weight: 650; }
.mega-group a span { display: block; margin-top: 2px; color: #778197; font-size: 12px; }
.mega-promo { padding: 18px; border-radius: 8px; background: linear-gradient(135deg, #f4f1ff, #fdf4fb); }
.mega-promo b { display: block; margin-bottom: 7px; }
.mega-promo p { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.45; }

/* Mobile drill-down menu */
.mobile-menu { display: none; }
.mobile-menu-inner { height: 100%; display: flex; flex-direction: column; }
.mobile-menu-head { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.mobile-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 5px;
  background: #f0efff;
  color: var(--purple);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}
.mobile-views { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.mobile-view { display: none; height: 100%; overflow-y: auto; padding: 12px 0 112px; scrollbar-width: thin; }
.mobile-view.active { display: block; animation: slideView .2s ease-out; }
@keyframes slideView { from { opacity: .4; transform: translateX(12px); } }
.mobile-main-list { list-style: none; margin: 0; padding: 0; }
.mobile-main-list li { border-bottom: 1px dotted rgba(10,37,64,.16); }
.mobile-main-list button, .mobile-main-list a {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border: 0;
  background: transparent;
  color: #14263b;
  text-align: left;
  font-size: 18px;
  cursor: pointer;
}
.mobile-main-list button { color: #14263b; }
.mobile-main-list .chev {
  width: 16px;
  height: 16px;
  transform: rotate(-90deg);
  filter: invert(31%) sepia(96%) saturate(3790%) hue-rotate(243deg) brightness(91%) contrast(91%);
}
.mobile-back {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--purple);
  cursor: pointer;
  font-size: 16px;
  font-weight: 650;
}
.mobile-back img { width: 9px; height: 13px; display: inline-block; margin-right: 7px; vertical-align: -1px; }
.mobile-group { margin: 0 8px 30px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.mobile-group:last-child { border-bottom: 0; }
.mobile-group h3 { margin: 0 0 15px; color: #13283d; font-size: 14px; font-weight: 520; }
.mobile-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.mobile-group a { display: block; color: var(--purple); font-size: 15px; line-height: 1.25; }
.mobile-group a span { display: block; margin-top: 3px; color: #647189; font-size: 14px; }
.mobile-cta {
  position: absolute;
  z-index: 2;
  inset: auto 0 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 18px;
  background: linear-gradient(transparent, #fff 24%);
}
.mobile-cta .btn { width: 100%; }

/* Homepage */
.hero {
  min-height: 830px;
  position: relative;
  overflow: hidden;
  padding-top: 76px;
  border-bottom: 1px solid var(--line);
}
.hero-wave {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  width: 100%;
  height: 830px;
  object-fit: cover;
  object-position: center 0;
  opacity: .56;
}
.hero-inner { min-height: 680px; padding: 160px 104px 80px; display: flex; flex-direction: column; justify-content: center; }
.gdp { margin-bottom: 44px; color: #11283e; font-size: 14px; }
.gdp b { font-weight: 650; }
.gdp span { color: #68758b; font-variant-numeric: tabular-nums; }
.hero-title {
  max-width: 1040px;
  margin: 0 0 36px;
  color: #06172f;
  font-size: clamp(48px, 4.35vw, 66px);
  font-weight: 430;
  line-height: 1.05;
  letter-spacing: -.045em;
}
.hero-title .hero-soft { color: rgba(36,54,87,.65); }
.hero-title .hero-purple { color: #5b49d7; }
.demo-mark { color: var(--purple); font-weight: 800; }

@media (min-width: 961px) {
  .hero-wave { transform: none; }
  .hero-title {
    max-width: 950px;
    font-size: 52px;
    line-height: 1.08;
  }
}

.logo-band { height: 74px; overflow: hidden; border-top: 1px solid var(--line); }
.logo-track { height: 100%; display: flex; align-items: center; gap: 78px; width: max-content; animation: logoRoll 36s linear infinite; }
.logo-track span { min-width: 98px; color: #0e2339; text-align: center; font-size: 18px; font-weight: 720; letter-spacing: -.03em; }
.logo-track .accent { color: #4f6ee8; }
@keyframes logoRoll { to { transform: translateX(-50%); } }

.solutions-intro { padding: 96px 16px 58px; }
.solutions-intro .section-title { max-width: 950px; font-size: clamp(34px, 3.2vw, 47px); }
.bento { padding: 0 16px 112px; display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
.bento-card { min-height: 510px; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.bento-card h3 { position: relative; z-index: 2; margin: 0; padding: 28px; max-width: 620px; font-size: 26px; font-weight: 470; line-height: 1.14; letter-spacing: -.025em; }
.bento-card .card-link { position: absolute; z-index: 3; top: 16px; right: 16px; color: var(--purple); font-size: 13px; }
.bento-card.payments { background: #101b46 url("assets/demo-images/transaction-workspace.png") center / cover no-repeat; }
.bento-card.payments h3, .bento-card.payments .card-link { color: #fff; text-shadow: 0 2px 22px rgba(5,10,36,.45); }
.terminal-img { position: absolute; left: 4%; bottom: 24px; width: 28%; height: 52%; object-fit: cover; border: 1px solid rgba(255,255,255,.42); border-radius: 12px; box-shadow: 0 22px 44px rgba(24,17,55,.28); }
.checkout-ui {
  position: absolute;
  left: 37%;
  right: -6%;
  bottom: -15px;
  height: 62%;
  padding: 24px 30px;
  border: 1px solid rgba(10,37,64,.1);
  border-radius: 10px 10px 0 0;
  background: rgba(255,255,255,.95);
  box-shadow: 0 20px 60px rgba(38,27,74,.14);
}
.checkout-bar { width: 70%; height: 9px; margin: 11px 0; border-radius: 5px; background: #e9edf2; }
.checkout-bar.short { width: 38%; }
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 22px; }
.pay-methods span { padding: 10px; border: 1px solid #e1e6ec; border-radius: 4px; font-size: 12px; }
.billing { background: linear-gradient(165deg, #fff 24%, #fff4d9 62%, #b65aff 110%); }
.billing-panel { width: 76%; margin: 58px auto 0; padding: 18px; border-radius: 8px; background: rgba(255,255,255,.95); box-shadow: 0 20px 50px rgba(63,41,96,.14); }
.metric-line { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 16px; font-size: 12px; }
.usage-meter { height: 8px; border-radius: 4px; background: linear-gradient(90deg, #7837f4, #ec83bc); }
.bar-chart { height: 160px; display: flex; align-items: end; gap: 5px; padding-top: 22px; }
.bar-chart i { flex: 1; min-width: 3px; border-radius: 2px 2px 0 0; background: #7569ed; }
.bento-row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bento-row .bento-card { min-height: 370px; }
.product-art { position: absolute; inset: 95px 0 0; display: grid; place-items: center; }
.product-art img { width: 82%; max-height: 270px; object-fit: cover; border-radius: 14px; box-shadow: 0 18px 40px rgba(22,15,58,.16); }
.agentic { background: linear-gradient(145deg, #140c3c, #6634d9 55%, #f181cd); color: #fff; }
.crypto { background: #eff6ff; }
.connect { background: linear-gradient(145deg, #edf4ff, #f5ecff); }

.sessions { padding: 0 16px 80px; }
.sessions-card { min-height: 405px; position: relative; overflow: hidden; padding: 38px; border-radius: 6px; background: #1f0c3c; color: #fff; }
.sessions-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .68; }
.sessions-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,3,25,.88), transparent 62%); }
.sessions-card .content { position: relative; z-index: 2; max-width: 520px; }
.sessions-card h2 { margin: 0 0 28px; font-size: 48px; line-height: 1.03; font-weight: 430; letter-spacing: -.04em; }

.backbone { background: linear-gradient(135deg, #101b46, #201d63); color: #fff; }
.backbone .section-pad { padding-block: 86px 105px; }
.backbone h2 { max-width: 640px; margin: 0 auto 70px; text-align: center; font-size: 58px; line-height: 1.05; font-weight: 440; letter-spacing: -.045em; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.16); }
.stat { min-height: 170px; padding: 44px 30px 20px; border-right: 1px solid rgba(255,255,255,.12); text-align: center; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 46px; font-weight: 440; }
.stat span { display: block; margin-top: 10px; color: #98a5c4; font-size: 15px; line-height: 1.35; }

.business { padding: 104px 16px; }
.business-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; margin-bottom: 64px; }
.business-head .lead { margin: 0; }
.story-card { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; }
.story-visual { height: 430px; position: relative; overflow: hidden; background: #e9f0ff; }
.story-visual img { width: 100%; height: 100%; object-fit: cover; }
.story-caption { display: grid; grid-template-columns: .8fr .8fr 1.3fr; gap: 25px; padding: 24px 0; font-size: 15px; }
.story-caption div { padding-inline: 24px; }
.story-list { margin-top: 20px; border-top: 1px dotted var(--line); }
.story-list button { width: 100%; min-height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border: 0; border-bottom: 1px dotted var(--line); background: #fff; text-align: left; font-size: 20px; cursor: pointer; }
.expert-title { margin: 78px 0 32px; font-size: 27px; font-weight: 480; }
.expert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.expert-grid h3 { margin: 0 0 8px; font-size: 16px; }
.expert-grid p { margin: 0 0 16px; color: var(--muted); line-height: 1.5; }

.models { padding: 100px 16px; background: #fbfcfe; }
.model-row { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; padding-block: 44px; }
.model-row h3 { margin: 0 0 22px; font-size: 28px; font-weight: 500; line-height: 1.2; }
.model-art { min-height: 420px; overflow: hidden; border-radius: 7px; background: linear-gradient(135deg, #d895ff, #ffb63d 58%, #ffe469); }
.model-art img { width: 100%; height: 100%; object-fit: cover; }
.model-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 28px; }
.model-benefits strong { display: block; margin-bottom: 7px; }
.model-benefits span { color: var(--muted); line-height: 1.45; }

.developer { background: var(--navy); color: #fff; }
.developer .section-pad { padding-block: 100px; }
.developer .section-title { max-width: 940px; }
.developer .section-title .muted { color: #8290b6; }
.dev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 68px; }
.dev-copy h3 { margin: 0 0 16px; font-size: 27px; font-weight: 480; }
.dev-copy p { color: #93a0bf; font-size: 20px; line-height: 1.48; }
.code-window { overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; background: #07112c; box-shadow: 0 28px 70px rgba(0,0,0,.22); }
.code-head { padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.1); color: #8391b6; font-size: 13px; }
.code-window pre { margin: 0; padding: 24px; overflow: auto; color: #b8c2e4; font: 14px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; }
.code-window .code-purple { color: #a991ff; }

.happenings { padding: 100px 16px; }
.news-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; margin-top: 48px; }
.news-card { min-height: 285px; display: flex; flex-direction: column; justify-content: end; padding: 24px; border: 1px solid var(--line); border-radius: 6px; background: #f3f6fb; }
.news-card.featured { min-height: 410px; grid-row: span 2; background: linear-gradient(135deg, #6643f3, #d46fea 54%, #fa9d57); color: #fff; }
.news-card h3 { margin: 0 0 10px; font-size: 23px; font-weight: 480; line-height: 1.2; }
.news-card p { margin: 0; color: inherit; opacity: .76; line-height: 1.45; }

/* Inner pages */
.inner .site-header { position: sticky; top: 0; }
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #f8fafc url("assets/demo-images/inner-orbit.png") right center / cover no-repeat;
}
.page-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(90deg, rgba(248,250,252,.98) 0%, rgba(248,250,252,.91) 42%, rgba(248,250,252,.22) 74%, rgba(248,250,252,.05) 100%);
  pointer-events: none;
}
.page-hero-grid { min-height: 650px; position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; padding: 90px 72px; }
.page-hero h1 { margin: 0 0 24px; max-width: 720px; font-size: clamp(52px, 5.5vw, 78px); line-height: .98; font-weight: 530; letter-spacing: -.055em; }
.page-hero .lead { max-width: 650px; margin: 0 0 32px; }
.product-demo { min-height: 420px; display: flex; flex-direction: column; justify-content: center; padding: 30px; border: 1px solid rgba(255,255,255,.58); border-radius: 13px; background: rgba(255,255,255,.88); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.demo-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; color: #657187; font-size: 13px; }
.demo-dot { width: 9px; height: 9px; border-radius: 50%; background: #65d6ad; box-shadow: 16px 0 #ffca62, 32px 0 #ff7c89; }
.demo-total { font-size: 52px; font-weight: 520; letter-spacing: -.05em; }
.demo-total small { color: #71809a; font-size: 16px; letter-spacing: 0; }
.demo-progress { height: 12px; margin: 24px 0 30px; overflow: hidden; border-radius: 7px; background: #edf0f5; }
.demo-progress span { display: block; width: 72%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #635bff, #d859da, #ff9d52); }
.demo-list { display: grid; gap: 12px; }
.demo-row { display: grid; grid-template-columns: 1fr auto; gap: 15px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.trust-line { padding: 25px 72px; border-bottom: 1px solid var(--line); color: #68758c; font-size: 14px; text-align: center; }
.trust-line b { margin-right: 34px; color: var(--ink); }
.feature-section { padding: 112px 72px; }
.feature-head { display: grid; grid-template-columns: 1fr .82fr; gap: 90px; align-items: end; margin-bottom: 62px; }
.feature-head p { margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.feature-card { min-height: 280px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.feature-number { color: var(--purple); font: 13px ui-monospace, SFMono-Regular, Menlo, monospace; }
.feature-card h3 { margin: auto 0 12px; font-size: 24px; font-weight: 510; letter-spacing: -.025em; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.5; }
.operations { background: var(--navy); color: #fff; }
.operations-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; padding: 112px 72px; }
.operations h2 { margin: 0 0 24px; font-size: 48px; line-height: 1.05; font-weight: 500; letter-spacing: -.04em; }
.operations p { color: #9aa7c6; font-size: 19px; line-height: 1.5; }
.operations ul { padding: 0; list-style: none; display: grid; gap: 16px; color: #dae0f0; }
.operations li { padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.13); }
.related { padding: 94px 72px; }
.related h2 { margin: 0 0 34px; font-size: 36px; font-weight: 500; letter-spacing: -.035em; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-card { min-height: 150px; padding: 24px; border: 1px solid var(--line); border-radius: 6px; }
.related-card span { display: block; margin-bottom: 38px; color: #71809a; font-size: 13px; }
.related-card strong { color: var(--purple); font-size: 18px; }

.pricing-hero { padding: 105px 72px 70px; text-align: center; }
.pricing-hero h1 { margin: 0 auto 24px; max-width: 820px; font-size: 76px; line-height: 1; font-weight: 520; letter-spacing: -.055em; }
.pricing-hero .lead { max-width: 670px; margin: 0 auto 36px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; padding: 0 72px 110px; }
.price-card { min-height: 390px; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.price-card.featured { background: var(--navy); color: #fff; }
.price-card h2 { margin: 0 0 18px; font-size: 26px; font-weight: 520; }
.price { margin: 10px 0; font-size: 48px; font-weight: 500; letter-spacing: -.04em; }
.price small { font-size: 15px; font-weight: 450; letter-spacing: 0; }
.price-card p, .price-card li { color: var(--muted); line-height: 1.5; }
.price-card.featured p, .price-card.featured li { color: #aab5ce; }
.price-card ul { margin: 22px 0 30px; padding-left: 20px; }
.price-card .btn { margin-top: auto; }

.contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; padding: 100px 72px 120px; }
.contact-copy h1 { margin: 0 0 25px; font-size: 72px; line-height: 1; font-weight: 520; letter-spacing: -.055em; }
.contact-copy ul { padding: 0; list-style: none; display: grid; gap: 18px; margin-top: 38px; }
.contact-copy li { padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.sales-form { padding: 32px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 650; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #cfd7e3; border-radius: 5px; background: #fff; color: var(--ink); }
.field textarea { min-height: 118px; resize: vertical; }
.form-note { margin: 18px 0; color: #71809a; font-size: 12px; line-height: 1.5; }
.form-success { display: none; margin-top: 16px; padding: 14px; border-radius: 5px; background: #e7fbf2; color: #086847; }
.form-success.show { display: block; }

.final-cta { background: #f6f9fc; border-top: 1px solid var(--line); }
.final-cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 82px 72px; }
.final-cta h2 { margin: 0 0 8px; font-size: 38px; font-weight: 510; letter-spacing: -.04em; }
.final-cta p { margin: 0; color: var(--muted); }

/* Footer */
.site-footer { background: #f6f9fc; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr; padding: 70px 16px 54px; }
.footer-col { min-height: 300px; padding: 0 16px; border-right: 1px dotted rgba(10,37,64,.17); }
.footer-col:last-child { border-right: 0; }
.footer-col h3 { margin: 0 0 14px; font-size: 15px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.footer-col a { color: #56657a; font-size: 15px; }
.footer-col a:hover { color: var(--purple); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 28px 16px; border-top: 1px dotted rgba(10,37,64,.17); color: #58677c; font-size: 14px; }
.footer-bottom .brand { font-size: 22px; }

@media (max-width: 960px) {
  .desktop-nav, .header-actions { display: none; }
  .mobile-toggle { display: block; }
  .mobile-menu {
    position: fixed;
    z-index: 100;
    inset: 0;
    padding: 0 16px;
    background: rgba(255,255,255,.985);
    backdrop-filter: blur(16px);
  }
  .mobile-menu.open { display: block; }
  .hero-inner { padding-inline: 58px; }
  .bento { grid-template-columns: 1fr; }
  .bento-row { grid-template-columns: 1fr 1fr; }
  .business-head, .model-row, .dev-grid, .feature-head, .operations-grid, .contact-wrap { grid-template-columns: 1fr; }
  .feature-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .page-hero-grid { grid-template-columns: 1fr; padding: 90px 54px; }
  .product-demo { max-width: 620px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card.featured { grid-row: auto; grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .frame, .header-inner { width: calc(100% - 32px); }
  .rail-frame { border-inline: 0; }
  .site-header { height: 64px; border-bottom: 0; background: transparent; }
  .home .site-header { height: 64px; }
  .brand { font-size: 25px; }
  .mobile-toggle { width: 42px; height: 42px; }
  .hero { min-height: 484px; padding-top: 64px; }
  .hero-wave { height: 484px; content: url("assets/demo-images/hero-flow-mobile.png"); object-position: center top; opacity: .78; }
  .hero-inner { min-height: 420px; padding: 72px 0 24px; justify-content: flex-start; }
  .gdp { margin: 8px 0 30px; font-size: 12px; }
  .hero-title { margin-bottom: 38px; font-size: 36px; line-height: .98; letter-spacing: -.045em; }
  .hero-title .hero-more { display: none; }
  .hero .button-row { display: grid; gap: 8px; }
  .hero .btn { width: 100%; min-height: 44px; }
  .logo-band { height: 65px; }
  .logo-track { gap: 62px; animation-duration: 24s; }
  .logo-track span { min-width: 98px; font-size: 20px; }
  .solutions-intro { padding: 58px 0 38px; }
  .solutions-intro .section-title { font-size: 24px; line-height: 1.1; }
  .bento { padding: 0 0 72px; display: block; }
  .bento-card { min-height: 390px; margin-bottom: 12px; }
  .bento-card h3 { padding: 20px 16px; font-size: 21px; max-width: 300px; }
  .bento-row { display: block; }
  .bento-row .bento-card { min-height: 320px; }
  .checkout-ui { left: 34%; padding: 18px; }
  .terminal-img { width: 38%; left: 2%; }
  .sessions { padding: 0 0 58px; }
  .sessions-card { min-height: 360px; padding: 24px 18px; }
  .sessions-card h2 { font-size: 37px; }
  .backbone .section-pad { padding: 62px 0; }
  .backbone h2 { margin-bottom: 44px; font-size: 41px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { min-height: 145px; padding: 30px 12px 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .stat strong { font-size: 35px; }
  .business, .models, .happenings { padding: 66px 0; }
  .business-head { gap: 22px; margin-bottom: 36px; }
  .section-title { font-size: 36px; }
  .lead { font-size: 18px; }
  .story-visual { height: 260px; }
  .story-caption { grid-template-columns: 1fr; gap: 8px; }
  .story-list button { min-height: 64px; font-size: 16px; }
  .expert-grid, .model-benefits { grid-template-columns: 1fr; gap: 25px; }
  .model-row { gap: 28px; padding-block: 34px; }
  .model-art { min-height: 280px; }
  .developer .section-pad { padding: 70px 0; }
  .dev-grid { margin-top: 40px; }
  .dev-copy p { font-size: 18px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card.featured { grid-column: auto; }
  .page-hero { background-position: 68% center; }
  .page-hero::after { background: linear-gradient(180deg, rgba(248,250,252,.97) 0%, rgba(248,250,252,.88) 58%, rgba(248,250,252,.48) 100%); }
  .page-hero-grid { min-height: auto; gap: 52px; padding: 72px 0 62px; }
  .page-hero h1 { font-size: 48px; }
  .product-demo { min-height: 330px; padding: 21px; }
  .demo-total { font-size: 40px; }
  .trust-line { padding: 22px 0; text-align: left; overflow: hidden; white-space: nowrap; }
  .feature-section, .operations-grid, .related { padding: 72px 0; }
  .feature-head { gap: 18px; margin-bottom: 38px; }
  .feature-grid, .related-grid, .pricing-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 230px; }
  .operations h2 { font-size: 39px; }
  .pricing-hero { padding: 72px 0 52px; text-align: left; }
  .pricing-hero h1 { font-size: 55px; }
  .pricing-hero .lead { margin-inline: 0; }
  .pricing-grid { padding: 0 0 78px; }
  .contact-wrap { gap: 48px; padding: 72px 0 80px; }
  .contact-copy h1 { font-size: 52px; }
  .sales-form { padding: 22px 16px; box-shadow: none; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .final-cta-grid { grid-template-columns: 1fr; padding: 62px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding: 54px 0 34px; }
  .footer-col { min-height: 0; margin-bottom: 40px; border-right: 0; }
  .footer-bottom { padding: 24px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
