:root {
  --ink: #0d1728;
  --muted: #5a667b;
  --line: #dce4f0;
  --bg: #f6f8fc;
  --panel: #ffffff;
  --blue: #1967ff;
  --cyan: #12c8d8;
  --green: #35c277;
  --coral: #ff6b55;
  --violet: #6d5dfc;
  --navy: #10223f;
  --shadow: 0 24px 70px rgba(17, 34, 64, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 64px);
  background: rgba(246, 248, 252, 0.88);
  border-bottom: 1px solid rgba(220, 228, 240, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark,
.icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(25, 103, 255, 0.24);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

nav a,
.footer-links a {
  text-decoration: none;
}

nav a:hover,
.footer-links a:hover,
.credit-link:hover {
  color: var(--blue);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta,
.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 32px rgba(25, 103, 255, 0.26);
}

.button.secondary {
  color: var(--navy);
  background: #fff;
  border-color: var(--line);
}

.button.light {
  background: #fff;
  color: var(--blue);
  box-shadow: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 44px;
  min-height: 720px;
  padding: 96px clamp(18px, 5vw, 82px) 58px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(18, 200, 216, 0.12), transparent 32%),
    radial-gradient(circle at 86% 14%, rgba(255, 107, 85, 0.16), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 13px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.hero-lead {
  max-width: 690px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.trust-row span,
.keyword-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(25, 103, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--navy);
  font-weight: 750;
}

.hero-visual {
  min-height: 500px;
}

.orbital-card {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.main-console {
  position: absolute;
  inset: 62px 18px auto auto;
  width: min(100%, 520px);
  padding: 22px;
}

.console-top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.console-top span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
}

.console-top span:nth-child(2) {
  background: #f8c149;
}

.console-top span:nth-child(3) {
  background: var(--green);
}

.console-top strong {
  margin-left: auto;
  color: var(--navy);
}

.meter {
  height: 18px;
  margin: 32px 0;
  overflow: hidden;
  border-radius: 999px;
  background: #e9eef8;
}

.meter div {
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--blue));
}

.console-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.console-grid div {
  min-height: 112px;
  padding: 18px;
  border-radius: 8px;
  background: #f3f7ff;
  border: 1px solid #e0e9f7;
}

.console-grid b {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.console-grid small {
  color: var(--muted);
  font-weight: 750;
}

.floating-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  color: #fff;
  border-radius: 8px;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.chip-a {
  top: 20px;
  left: 32px;
  background: var(--blue);
}

.chip-b {
  right: 4px;
  bottom: 102px;
  background: var(--coral);
}

.chip-c {
  left: 16px;
  bottom: 40px;
  background: var(--green);
}

.node-map {
  position: absolute;
  inset: 0;
  opacity: 0.78;
  background:
    linear-gradient(90deg, transparent 49%, rgba(25, 103, 255, 0.16) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(18, 200, 216, 0.16) 50%, transparent 51%);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle, #000 32%, transparent 68%);
}

.node-map span {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 9px rgba(25, 103, 255, 0.12);
}

.node-map span:nth-child(1) { top: 18%; left: 24%; }
.node-map span:nth-child(2) { top: 42%; left: 72%; background: var(--coral); }
.node-map span:nth-child(3) { top: 68%; left: 38%; background: var(--green); }
.node-map span:nth-child(4) { top: 82%; left: 78%; background: var(--cyan); }
.node-map span:nth-child(5) { top: 8%; left: 84%; background: var(--violet); }

.quick-panel,
.section,
.cta-band,
.site-footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.quick-panel {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: 24px;
  align-items: center;
  transform: translateY(-28px);
  padding: 24px;
  border-radius: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.quick-panel h2 {
  font-size: 32px;
}

.picker {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
}

.picker label {
  display: block;
  grid-column: 1 / -1;
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
}

select {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 750;
}

.section {
  padding: 86px 0 0;
}

.section-head {
  max-width: 840px;
  margin-bottom: 32px;
}

.section-head p:not(.eyebrow),
.section-copy p {
  color: var(--muted);
  font-size: 18px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hub-route-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

.hub-route-grid a {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  text-decoration: none;
  box-shadow: 0 16px 42px rgba(16, 34, 63, 0.12);
}

.hub-route-grid a:nth-child(2) { background: #164c8a; }
.hub-route-grid a:nth-child(3) { background: #0b716d; }
.hub-route-grid a:nth-child(4) { background: #8f3d2e; }
.hub-route-grid a:nth-child(5) { background: #4f4aa0; }
.hub-route-grid a:nth-child(6) { background: #24656b; }
.hub-route-grid a:nth-child(7) { background: #653f77; }

.hub-route-grid a:hover {
  transform: translateY(-3px);
}

.hub-route-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 900;
}

.hub-route-grid strong {
  display: block;
  margin-top: auto;
  font-size: 20px;
  line-height: 1.12;
}

.hub-route-grid small {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.35;
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.direction-grid a {
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(16, 34, 63, 0.06);
}

.direction-grid a:hover {
  border-color: rgba(25, 103, 255, 0.5);
  transform: translateY(-2px);
}

.direction-grid strong,
.direction-grid span {
  display: block;
}

.direction-grid span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.page-hero {
  padding: 86px clamp(18px, 5vw, 82px) 54px;
  background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner,
.page-main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(38px, 6vw, 70px);
}

.page-hero p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  font-size: 19px;
}

.page-main {
  padding: 60px 0 86px;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
  align-items: start;
}

.content-panel,
.lead-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(16, 34, 63, 0.07);
}

.content-panel {
  padding: 28px;
}

.content-panel + .content-panel {
  margin-top: 18px;
}

.content-panel h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.content-kicker {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.content-panel p,
.content-panel li {
  color: var(--muted);
}

.neutral-depth {
  background:
    linear-gradient(135deg, rgba(25, 89, 198, 0.08), transparent 42%),
    #fff;
}

.intent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.intent-grid span {
  min-height: 46px;
  display: grid;
  place-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(25, 89, 198, 0.16);
  border-radius: 8px;
  color: var(--ink);
  background: #f7faff;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faff;
}

.faq-list strong {
  display: block;
  color: var(--ink);
}

.faq-list p {
  margin: 8px 0 0;
}

.lead-box {
  position: sticky;
  top: 94px;
  padding: 22px;
}

.lead-box h2 {
  font-size: 26px;
}

.lead-box .button {
  width: 100%;
  margin-top: 14px;
}

.mini-links {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.mini-links a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.structure-note {
  margin-top: 24px;
}

.structure-note .button {
  margin-top: 10px;
}

.site-map-group + .site-map-group {
  margin-top: 18px;
}

.site-map-group h2 {
  margin-bottom: 20px;
}

.studio-cta {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(53, 194, 119, 0.28), transparent 42%),
    linear-gradient(115deg, #10223f 0%, #1959c6 58%, #12c8d8 100%);
  box-shadow: var(--shadow);
}

.studio-cta::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 250px;
  height: 250px;
  border: 42px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.studio-cta > * {
  position: relative;
  z-index: 1;
}

.studio-cta .content-kicker {
  color: #d9f6ff;
}

.studio-cta h2 {
  max-width: 760px;
  color: #fff;
}

.studio-cta p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.8);
}

.studio-cta .button {
  margin-top: 8px;
  background: #fff;
  color: var(--blue);
  box-shadow: none;
}

/* Visual upgrade */
body {
  background:
    linear-gradient(90deg, rgba(25, 103, 255, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(25, 103, 255, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 42px 42px;
}

.hero-asset {
  position: absolute;
  inset: -12px -34px auto auto;
  width: min(690px, 116%);
  height: auto;
  opacity: 0.96;
  filter: drop-shadow(0 30px 48px rgba(16, 34, 63, 0.18));
}

.hero-asset + .orbital-card {
  inset: 108px 18px auto auto;
}

.solution-card,
.direction-grid a,
.content-panel,
.lead-box {
  position: relative;
  overflow: hidden;
}

.solution-card,
.content-panel,
.lead-box {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), #fff),
    radial-gradient(circle at 100% 0, rgba(25, 103, 255, 0.1), transparent 34%);
}

.solution-card::after,
.direction-grid a::after,
.content-panel::after {
  content: "";
  position: absolute;
  right: -64px;
  bottom: -82px;
  width: 174px;
  height: 174px;
  border: 30px solid rgba(25, 103, 255, 0.055);
  border-radius: 50%;
  pointer-events: none;
}

.hub-route-grid a,
.direction-grid a {
  position: relative;
  overflow: hidden;
}

.hub-route-grid a::after {
  content: "";
  position: absolute;
  right: -52px;
  top: -46px;
  width: 154px;
  height: 154px;
  border: 28px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.direction-grid a {
  padding-top: 58px;
}

.card-icon {
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(25, 103, 255, 0.2);
}

.hub-route-grid .card-icon {
  top: 18px;
  left: auto;
  right: 18px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.hub-route-grid a > span:not(.card-icon) {
  position: relative;
  z-index: 1;
}

.direction-grid a > *,
.hub-route-grid a > *,
.solution-card > *,
.content-panel > * {
  position: relative;
  z-index: 1;
}

.page-hero {
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 107, 85, 0.14), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 34px;
  align-items: center;
}

.page-visual-card {
  grid-column: 2;
  grid-row: 1 / span 3;
  margin: 0;
}

.page-visual-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.solution-card {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 42px rgba(16, 34, 63, 0.07);
}

.solution-card.featured {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(18, 200, 216, 0.25), transparent),
    var(--navy);
  border-color: transparent;
}

.solution-card p {
  color: var(--muted);
}

.solution-card.featured p,
.solution-card.featured li {
  color: rgba(255, 255, 255, 0.78);
}

.solution-card ul {
  margin: auto 0 22px;
  padding-left: 18px;
  color: var(--muted);
}

.solution-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  text-decoration: none;
  font-weight: 900;
}

.solution-card.featured a {
  background: #fff;
  color: var(--blue);
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  align-items: center;
}

.comparison-table {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.comparison-table > div {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.65fr;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.comparison-table > div:first-child {
  color: #fff;
  background: var(--navy);
  font-weight: 900;
}

.comparison-table > div:last-child {
  border-bottom: 0;
}

.comparison-table a {
  color: var(--blue);
  font-weight: 900;
}

.seo-cloud {
  padding-bottom: 0;
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.use-cases .case-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.case-list article {
  min-height: 210px;
  padding: 22px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
}

.case-list article:nth-child(2) {
  background: #164c8a;
}

.case-list article:nth-child(3) {
  background: #0b716d;
}

.case-list article:nth-child(4) {
  background: #8f3d2e;
}

.case-list p {
  color: rgba(255, 255, 255, 0.78);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 86px;
  padding: 34px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(18, 200, 216, 0.28), transparent 46%),
    linear-gradient(90deg, var(--navy), #1959c6);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.cta-band p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  max-width: 720px;
}

.faq {
  padding-bottom: 86px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 20px 22px;
  margin-bottom: 12px;
}

summary {
  cursor: pointer;
  font-weight: 900;
  font-size: 18px;
}

details p {
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 800;
}

.credit-link {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-cta {
    width: 100%;
  }

  .hero,
  .quick-panel,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 58px;
  }

  .hero-visual {
    min-height: 440px;
  }

  .main-console {
    inset: 58px 0 auto;
    width: 100%;
  }

  .solution-grid,
  .use-cases .case-list,
  .hub-route-grid,
  .direction-grid,
  .intent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .picker {
    grid-template-columns: 1fr;
  }

  .page-layout {
    grid-template-columns: 1fr;
  }

  .lead-box {
    position: static;
  }

  .cta-band,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions .button,
  .button.primary,
  .button.secondary {
    width: 100%;
  }

  .console-grid,
  .solution-grid,
  .use-cases .case-list,
  .hub-route-grid,
  .direction-grid,
  .intent-grid,
  .comparison-table > div {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 520px;
  }

  .quick-panel,
  .solution-card,
  .cta-band {
    padding: 20px;
  }

  .chip-b {
    right: 16px;
    bottom: 58px;
  }
}
