:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #111431;
  background: #f8f9ff;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --ink: #111431;
  --muted: #747994;
  --soft: #eef0fb;
  --line: rgba(31, 35, 72, 0.1);
  --purple: #7838f5;
  --purple-deep: #5622c9;
  --navy: #11183f;
  --cyan: #17a6bd;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 50% 4%, rgba(120, 56, 245, 0.1), transparent 30%),
    linear-gradient(180deg, #fbfbff 0%, #f7f8ff 48%, #ffffff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px clamp(18px, 5vw, 84px) 0;
}

.nav-shell {
  max-width: 1180px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  padding: 0 12px 0 18px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 20px 60px rgba(50, 51, 97, 0.08);
  backdrop-filter: blur(24px);
}

.brand,
.main-nav,
.header-actions {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 9px;
  color: var(--ink);
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(120, 56, 245, 0.28);
}

.brand-mark img {
  width: 28px;
  height: 28px;
  display: block;
  border-radius: 9px;
}

.main-nav {
  gap: 26px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 720;
}

.main-nav a:hover {
  color: var(--ink);
}

.header-actions {
  gap: 10px;
}

.ghost-action,
.nav-action,
.primary-action,
.secondary-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0 17px;
  font-size: 0.86rem;
  font-weight: 850;
}

.ghost-action {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 26px rgba(57, 60, 105, 0.1);
}

.nav-action,
.primary-action {
  background: linear-gradient(180deg, #8d51ff, var(--purple));
  color: var(--white);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 15px 30px rgba(120, 56, 245, 0.28);
}

.hero {
  position: relative;
  min-height: 530px;
  display: grid;
  place-items: center;
  padding: 110px 20px 58px;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  text-align: center;
}

.launch-pill {
  width: fit-content;
  margin: 0 auto 22px;
  border: 1px solid rgba(120, 56, 245, 0.16);
  border-radius: 999px;
  padding: 9px 15px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--purple-deep);
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 16px 42px rgba(87, 79, 140, 0.1);
  backdrop-filter: blur(18px);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin: 0 auto 22px;
  color: var(--ink);
  font-size: clamp(3.1rem, 7vw, 5.9rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin: 0 auto 38px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.primary-action,
.secondary-action {
  min-width: 210px;
  min-height: 54px;
  border-radius: 13px;
  font-size: 0.95rem;
}

.secondary-action {
  background: var(--navy);
  color: var(--white);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 15px 30px rgba(17, 24, 63, 0.26);
}

.hero-ornament {
  position: absolute;
  width: 310px;
  height: 270px;
  opacity: 0.84;
  pointer-events: none;
}

.ornament-left {
  left: max(-78px, calc(50% - 720px));
  top: 184px;
}

.ornament-right {
  right: max(-76px, calc(50% - 720px));
  top: 180px;
}

.policy-card {
  position: absolute;
  width: 235px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    18px 24px 54px rgba(58, 62, 120, 0.13);
  backdrop-filter: blur(18px);
}

.tilt-a {
  transform: rotate(-31deg) skewY(9deg);
}

.tilt-b {
  right: 0;
  transform: rotate(31deg) skewY(-9deg);
}

.policy-card span,
.policy-card b,
.policy-card i {
  position: absolute;
  left: 34px;
  height: 8px;
  border-radius: 999px;
  background: rgba(120, 56, 245, 0.12);
}

.policy-card span {
  top: 40px;
  width: 126px;
}

.policy-card b {
  top: 58px;
  width: 95px;
}

.policy-card i {
  top: 76px;
  width: 142px;
}

.policy-card button {
  position: absolute;
  right: 28px;
  bottom: -22px;
  width: 70px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.72);
  color: rgba(120, 56, 245, 0.46);
  font-size: 1.15rem;
  box-shadow: 0 14px 28px rgba(54, 57, 111, 0.12);
}

.decision-chip {
  position: absolute;
  bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 14px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.66);
  color: rgba(17, 20, 49, 0.54);
  font-size: 0.78rem;
  font-weight: 850;
  box-shadow: 0 18px 40px rgba(61, 65, 118, 0.12);
  backdrop-filter: blur(18px);
}

.chip-a {
  left: 82px;
}

.chip-b {
  right: 74px;
}

.product-preview,
.approach,
.connectors {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 20px 96px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading h2,
.connectors h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.section-heading p,
.connectors span,
.feature-grid p {
  color: var(--muted);
}

.app-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  background: #101731;
  box-shadow:
    0 42px 90px rgba(24, 27, 66, 0.24),
    0 12px 24px rgba(24, 27, 66, 0.16);
}

.app-topbar {
  height: 50px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
}

.app-topbar strong {
  margin-left: 10px;
}

.app-topbar button {
  margin-left: auto;
  border: 0;
  border-radius: 8px;
  padding: 8px 12px;
  background: var(--purple);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 850;
}

.window-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.app-layout {
  min-height: 430px;
  display: grid;
  grid-template-columns: 210px 1fr 260px;
}

.app-sidebar,
.source-panel {
  padding: 18px;
  background: #151e3c;
}

.app-sidebar {
  display: grid;
  align-content: start;
  gap: 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.app-sidebar span {
  border-radius: 9px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 780;
}

.app-sidebar .active {
  background: #1fb7d1;
  color: #081428;
}

.advisor-panel {
  padding: 36px;
  background:
    radial-gradient(circle at 50% 0%, rgba(120, 56, 245, 0.18), transparent 34%),
    #080b16;
}

.mini-label,
.answer-state {
  margin-bottom: 12px;
  color: #8d96be;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.advisor-panel h3 {
  max-width: 620px;
  color: var(--white);
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.answer-card {
  max-width: 620px;
  margin: 24px 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.answer-card p {
  margin-bottom: 0;
}

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

.rule-grid article {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.06);
}

.rule-grid span {
  display: block;
  margin-bottom: 8px;
  color: #8790b7;
  font-size: 0.74rem;
  font-weight: 850;
}

.rule-grid strong {
  color: var(--white);
  font-size: 0.86rem;
}

.source-panel {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.source-line {
  height: 9px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.source-line.strong {
  width: 70%;
  background: rgba(31, 183, 209, 0.56);
}

.citation-card {
  margin-top: 18px;
  border-radius: 13px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.8rem;
  font-weight: 820;
}

.citation-card.muted {
  color: rgba(255, 255, 255, 0.48);
}

.approach {
  padding-top: 28px;
}

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

.feature-grid article,
.connector-list article {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 24px 60px rgba(66, 69, 121, 0.09);
  backdrop-filter: blur(22px);
}

.feature-grid span,
.eyebrow {
  display: block;
  margin-bottom: 18px;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.feature-grid h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
}

.feature-grid p {
  margin-bottom: 0;
}

.connectors {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: start;
  padding-bottom: 86px;
}

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

.connector-list article {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  align-items: center;
}

.connector-list strong {
  color: var(--navy);
}

.site-footer {
  max-width: 1180px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding: 28px 20px 42px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .hero-ornament {
    opacity: 0.34;
  }

  .app-layout {
    grid-template-columns: 150px 1fr;
  }

  .source-panel {
    display: none;
  }

  .feature-grid,
  .connectors {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 12px 0;
  }

  .nav-shell {
    height: 52px;
    padding-left: 14px;
  }

  .ghost-action {
    display: none;
  }

  .hero {
    min-height: 560px;
    padding-top: 86px;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4rem);
  }

  .primary-action,
  .secondary-action {
    width: min(100%, 330px);
  }

  .hero-ornament {
    display: none;
  }

  .product-preview,
  .approach,
  .connectors {
    padding-left: 14px;
    padding-right: 14px;
  }

  .app-topbar strong {
    display: none;
  }

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

  .app-sidebar {
    display: none;
  }

  .advisor-panel {
    padding: 24px;
  }

  .rule-grid,
  .connector-list article {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    padding-left: 14px;
    padding-right: 14px;
  }
}
