:root {
  --ink: #17151b;
  --ink-soft: #242129;
  --paper: #f3f0e9;
  --paper-deep: #e7e1d7;
  --white: #fffdf8;
  --plum: #7346a8;
  --plum-light: #a985d0;
  --orange: #e9783f;
  --amber: #efb05d;
  --olive: #8c956c;
  --muted: #7f7a80;
  --line: rgba(23, 21, 27, 0.13);
  --line-light: rgba(255, 255, 255, 0.14);
  --shadow: 0 30px 80px rgba(20, 15, 25, 0.2);
  --radius: 22px;
  --container: 1220px;
  --font: "Ubuntu", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

::selection {
  background: var(--orange);
  color: var(--white);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  transform: translateY(-160%);
  background: var(--white);
  border-radius: 8px;
  color: var(--ink);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(23, 21, 27, 0.82);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.045em;
}

.brand-name {
  font-size: 1.34rem;
}

.brand-name span {
  color: var(--plum-light);
}

.brand-mark {
  position: relative;
  width: 29px;
  height: 29px;
  display: inline-grid;
  place-items: center;
  transform: rotate(45deg);
}

.brand-mark::before {
  width: 23px;
  height: 23px;
  content: "";
  position: absolute;
  border: 2px solid currentColor;
  border-radius: 7px 12px 7px 12px;
}

.brand-mark span {
  position: absolute;
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.brand-mark span:nth-child(1) { transform: translate(-5px, -5px); }
.brand-mark span:nth-child(2) { transform: translate(5px, -5px); }
.brand-mark span:nth-child(3) { transform: translate(0, 5px); }

.main-navigation {
  display: flex;
  align-items: center;
  gap: 30px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.87rem;
  font-weight: 500;
}

.main-navigation > a:not(.button) {
  position: relative;
  transition: color 0.2s ease;
}

.main-navigation > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-navigation > a:hover,
.main-navigation > a:focus-visible {
  color: var(--white);
}

.main-navigation > a:hover::after,
.main-navigation > a:focus-visible::after {
  transform: scaleX(1);
}

.menu-button {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  background: transparent;
}

.menu-button span {
  position: absolute;
  width: 18px;
  height: 1px;
  background: var(--white);
  transition: transform 0.2s ease;
}

.menu-button span:first-child { transform: translateY(-3px); }
.menu-button span:last-child { transform: translateY(3px); }
.menu-button[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--orange);
  box-shadow: 0 14px 28px rgba(233, 120, 63, 0.22);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 18px 36px rgba(233, 120, 63, 0.33);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.button-small {
  min-height: 42px;
  padding-inline: 19px;
  font-size: 0.8rem;
}

.button-wide {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 900px;
  padding: 148px 0 38px;
  background:
    radial-gradient(circle at 73% 24%, rgba(115, 70, 168, 0.16), transparent 27%),
    linear-gradient(145deg, #17151b 0%, #1d1920 58%, #131217 100%);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 84%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.hero-glow-one {
  top: 19%;
  right: 4%;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(169, 133, 208, 0.16);
  box-shadow: inset 0 0 80px rgba(115, 70, 168, 0.07);
}

.hero-glow-two {
  bottom: -220px;
  left: 8%;
  width: 520px;
  height: 520px;
  background: rgba(233, 120, 63, 0.05);
  filter: blur(70px);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(390px, 0.82fr) minmax(580px, 1.18fr);
  align-items: center;
  gap: 36px;
}

.hero-copy {
  padding-bottom: 45px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 25px;
  height: 1px;
  background: currentColor;
}

.eyebrow.light {
  color: var(--amber);
}

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

h1,
h2 {
  letter-spacing: -0.052em;
}

h1 {
  max-width: 690px;
  margin-bottom: 26px;
  font-size: clamp(3.25rem, 5.3vw, 5.65rem);
  font-weight: 500;
  line-height: 0.98;
}

h1 em,
h2 em {
  color: var(--plum-light);
  font-style: normal;
}

.hero-text {
  max-width: 560px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 500;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover,
.text-link:focus-visible {
  border-color: var(--orange);
  color: var(--white);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 48px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.73rem;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-proof span::before {
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: var(--olive);
}

.product-stage {
  position: relative;
  min-width: 0;
  perspective: 1200px;
}

.product-window {
  position: relative;
  z-index: 3;
  width: 720px;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: #f7f4ef;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.03);
  color: var(--ink);
  transform: rotateY(-2deg) rotateX(1deg);
}

.window-bar {
  height: 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 13px;
  border-bottom: 1px solid #343039;
  background: #242129;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.58rem;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #665f69;
}

.window-dots span:first-child { background: var(--orange); }
.window-dots span:nth-child(2) { background: var(--amber); }
.window-dots span:last-child { background: var(--olive); }

.window-status {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 6px;
}

.window-status span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #91b381;
  box-shadow: 0 0 10px rgba(145, 179, 129, 0.8);
}

.window-body {
  min-height: 470px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 200px;
}

.product-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 14px 7px 12px;
  background: #211e25;
}

.sidebar-brand,
.sidebar-avatar {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--plum);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
}

.sidebar-item {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  font-size: 0.5rem;
}

.sidebar-item.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.sidebar-spacer { flex: 1; }
.sidebar-avatar { border-radius: 50%; background: #49434d; font-size: 0.48rem; }

.workspace-panel {
  padding: 23px 21px;
  background: #f5f1eb;
}

.workspace-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.workspace-heading h2 {
  margin: 2px 0 0;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}

.workspace-heading button {
  border: 0;
  background: transparent;
  color: #918a93;
  cursor: pointer;
}

.micro-label {
  color: #8b858d;
  font-size: 0.53rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.knowledge-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 20px 0 13px;
}

.knowledge-strip > div {
  padding: 10px 9px;
  border: 1px solid #e4ded6;
  border-radius: 10px;
  background: #fff;
}

.knowledge-strip strong,
.knowledge-strip span {
  display: block;
}

.knowledge-strip strong {
  font-size: 0.87rem;
}

.knowledge-strip span {
  color: #8e8790;
  font-size: 0.48rem;
}

.project-card {
  padding: 18px;
  border-radius: 12px;
  background: #242129;
  color: #fff;
}

.card-label {
  margin-bottom: 8px;
  color: var(--amber);
  font-size: 0.49rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-card h3 {
  max-width: 350px;
  margin-bottom: 22px;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
}

.progress-line {
  height: 2px;
  display: block;
  background: rgba(255, 255, 255, 0.12);
}

.progress-line span {
  width: 68%;
  height: 100%;
  display: block;
  background: var(--plum-light);
}

.card-meta {
  display: flex;
  justify-content: space-between;
  padding-top: 9px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.44rem;
}

.card-meta strong {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

.mini-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.mini-cards > div {
  min-width: 0;
  padding: 11px;
  border: 1px solid #e2dcd4;
  border-radius: 10px;
  background: #fff;
}

.mini-icon {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  margin-bottom: 11px;
  border-radius: 7px;
  color: #fff;
  font-size: 0.48rem;
  font-style: normal;
}

.mini-icon.plum { background: var(--plum); }
.mini-icon.amber { background: var(--orange); }
.mini-icon.olive { background: var(--olive); }

.mini-cards strong,
.mini-cards small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-cards strong {
  font-size: 0.58rem;
}

.mini-cards small {
  color: #9b949c;
  font-size: 0.45rem;
}

.intellect-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 20px 14px 13px;
  border-left: 1px solid #3b3640;
  background: #28242c;
  color: #fff;
}

.intellect-heading {
  display: flex;
  align-items: center;
  gap: 9px;
}

.intellect-heading > div:last-child span,
.intellect-heading > div:last-child small {
  display: block;
}

.intellect-heading span {
  font-size: 0.67rem;
  font-weight: 600;
}

.intellect-heading small {
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.45rem;
}

.intellect-symbol {
  position: relative;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(169, 133, 208, 0.55);
  border-radius: 50%;
}

.intellect-symbol i {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--plum-light);
  box-shadow: 0 0 10px var(--plum-light);
}

.intellect-symbol i:nth-child(1) { top: 8px; left: 8px; }
.intellect-symbol i:nth-child(2) { top: 9px; right: 7px; }
.intellect-symbol i:nth-child(3) { right: 12px; bottom: 7px; }

.intellect-message {
  margin-top: 24px;
  padding: 14px;
  border: 1px solid rgba(169, 133, 208, 0.18);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(115, 70, 168, 0.17), rgba(115, 70, 168, 0.04));
}

.message-label {
  display: block;
  margin-bottom: 9px;
  color: var(--plum-light);
  font-size: 0.46rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intellect-message p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.59rem;
  line-height: 1.55;
}

.suggestion-list {
  display: grid;
  gap: 7px;
  margin-top: 11px;
}

.suggestion-list button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  font-size: 0.48rem;
  text-align: left;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.suggestion-list button:hover,
.suggestion-list button:focus-visible {
  border-color: rgba(169, 133, 208, 0.45);
  background: rgba(115, 70, 168, 0.1);
  color: #fff;
}

.suggestion-list button span {
  color: var(--orange);
}

.intellect-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 8px 8px 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.48rem;
}

.intellect-input button {
  width: 23px;
  height: 23px;
  border: 0;
  border-radius: 6px;
  background: var(--plum);
  color: #fff;
  cursor: pointer;
}

.floating-note {
  position: absolute;
  z-index: 5;
  min-width: 165px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  background: rgba(34, 30, 38, 0.88);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

.floating-note span,
.floating-note strong {
  display: block;
}

.floating-note span {
  color: var(--plum-light);
  font-size: 0.48rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.floating-note strong {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.59rem;
  font-weight: 500;
}

.floating-note-top { top: -28px; right: -18px; }
.floating-note-bottom { bottom: -26px; left: -22px; }

.orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(169, 133, 208, 0.13);
  border-radius: 50%;
}

.orbit-one {
  top: -85px;
  right: -70px;
  width: 360px;
  height: 360px;
}

.orbit-two {
  right: 30px;
  bottom: -95px;
  width: 260px;
  height: 260px;
}

.hero-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 72px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-footer > div {
  width: 72px;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-footer p {
  margin: 0;
}

.platform-section,
.resources-section {
  position: relative;
  padding: 130px 0;
}

.platform-section {
  background: var(--paper);
}

.section-intro {
  display: grid;
  grid-template-columns: 180px minmax(0, 820px);
  gap: 50px;
}

.section-number {
  padding-top: 9px;
  color: #8f888f;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.section-intro .eyebrow,
.resources-heading .eyebrow {
  margin-bottom: 18px;
}

.section-intro h2,
.resources-heading h2,
.intellect-copy h2,
.cta-copy h2 {
  margin-bottom: 26px;
  font-size: clamp(2.5rem, 4.5vw, 4.75rem);
  font-weight: 500;
  line-height: 1.03;
}

.section-intro h2 em,
.resources-heading h2 em {
  color: var(--plum);
}

.section-intro p {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.02rem;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 88px;
  padding-left: 230px;
}

.principles article {
  min-width: 0;
}

.principle-index {
  color: var(--orange);
  font-size: 0.67rem;
  font-weight: 700;
}

.principle-line {
  width: 100%;
  height: 1px;
  margin: 17px 0 26px;
  background: var(--line);
}

.principles h3 {
  margin-bottom: 12px;
  font-size: 1.16rem;
  letter-spacing: -0.03em;
}

.principles p {
  color: var(--muted);
  font-size: 0.86rem;
}

.intellect-section {
  position: relative;
  padding: 130px 0;
  background:
    radial-gradient(circle at 80% 45%, rgba(115, 70, 168, 0.22), transparent 30%),
    #1c1920;
  color: var(--white);
  overflow: hidden;
}

.intellect-section::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.3;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 0.7px, transparent 0.7px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent, #000 58%, transparent);
}

.intellect-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(360px, 0.8fr) minmax(500px, 1.2fr);
  align-items: center;
  gap: 90px;
}

.intellect-copy .section-number {
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.32);
}

.intellect-copy h2 em,
.cta-copy h2 em {
  color: var(--plum-light);
}

.intellect-copy > p {
  max-width: 510px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.98rem;
}

.flow-list {
  display: grid;
  margin-top: 48px;
  border-top: 1px solid var(--line-light);
}

.flow-step {
  display: grid;
  grid-template-columns: 35px 100px 1fr;
  align-items: center;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid var(--line-light);
  background: transparent;
  color: rgba(255, 255, 255, 0.36);
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.flow-step:hover,
.flow-step:focus-visible,
.flow-step.active {
  padding-left: 9px;
  color: var(--white);
}

.flow-step span {
  color: var(--orange);
  font-size: 0.58rem;
}

.flow-step strong {
  font-size: 0.78rem;
}

.flow-step small {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.68rem;
}

.intellect-demo {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  box-shadow: 0 45px 100px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}

.demo-topline {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.61rem;
}

.demo-topline > div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.demo-topline i {
  width: 5px;
  height: 5px;
  display: block;
  border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 0 10px var(--olive);
}

.demo-core {
  min-height: 355px;
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 35px;
  padding: 38px;
}

.core-visual {
  position: relative;
  width: 180px;
  height: 180px;
  display: grid;
  place-items: center;
}

.core-ring,
.core-center {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.core-ring-a {
  inset: 0;
  border: 1px solid rgba(169, 133, 208, 0.22);
  animation: spin 18s linear infinite;
}

.core-ring-a::before,
.core-ring-b::before,
.core-ring-c::before {
  position: absolute;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--plum-light);
  box-shadow: 0 0 13px var(--plum-light);
}

.core-ring-a::before { top: 22px; left: 21px; }

.core-ring-b {
  inset: 25px;
  border: 1px solid rgba(233, 120, 63, 0.25);
  animation: spin 12s linear infinite reverse;
}

.core-ring-b::before {
  right: -3px;
  bottom: 42px;
  background: var(--orange);
  box-shadow: 0 0 13px var(--orange);
}

.core-ring-c {
  inset: 53px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: spin 8s linear infinite;
}

.core-ring-c::before {
  top: -3px;
  left: 22px;
  background: var(--amber);
  box-shadow: 0 0 13px var(--amber);
}

.core-center {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  background: var(--plum);
  box-shadow: 0 0 35px rgba(115, 70, 168, 0.58);
  font-size: 0.82rem;
  font-weight: 700;
}

.demo-core .micro-label {
  color: var(--plum-light);
}

.demo-core h3 {
  max-width: 350px;
  margin: 14px 0 15px;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.demo-core p {
  max-width: 360px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.76rem;
}

.demo-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(0, 0, 0, 0.08);
}

.demo-actions span,
.demo-actions strong {
  display: block;
}

.demo-actions > div > span {
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.53rem;
}

.demo-actions strong {
  font-size: 0.71rem;
  font-weight: 500;
}

.demo-actions button {
  min-width: 112px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  font-size: 0.62rem;
}

.resources-section {
  background: #f4f1eb;
}

.resources-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  align-items: end;
  gap: 100px;
}

.resources-heading > p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.resource-showcase {
  display: grid;
  grid-template-columns: 295px 1fr;
  margin-top: 70px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 30px 70px rgba(49, 39, 52, 0.08);
}

.resource-nav {
  padding: 18px;
  border-right: 1px solid var(--line);
  background: #ece7de;
}

.resource-nav button {
  width: 100%;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 9px;
  padding: 17px 15px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #7e777f;
  cursor: pointer;
  font-size: 0.76rem;
  text-align: left;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.resource-nav button:hover,
.resource-nav button:focus-visible,
.resource-nav button.active {
  background: var(--white);
  color: var(--ink);
  transform: translateX(3px);
}

.resource-nav button span {
  color: var(--orange);
  font-size: 0.58rem;
}

.resource-detail {
  min-height: 480px;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
  gap: 55px;
  padding: 50px 55px;
}

.resource-kicker {
  color: var(--plum);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.resource-copy h3 {
  max-width: 480px;
  margin: 17px 0 18px;
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.resource-copy p {
  max-width: 520px;
  color: var(--muted);
  font-size: 0.86rem;
}

.resource-copy ul {
  display: grid;
  gap: 9px;
  margin: 27px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.75rem;
  font-weight: 500;
}

.resource-copy li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.resource-copy li::before {
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--orange);
}

.resource-visual {
  position: relative;
  min-height: 310px;
}

.stack-card {
  position: absolute;
  inset: 0;
  width: min(100%, 360px);
  height: 230px;
  margin: auto;
  padding: 24px;
  border-radius: 18px;
  box-shadow: 0 24px 50px rgba(35, 27, 39, 0.13);
  transition: transform 0.35s ease;
}

.resource-showcase:hover .card-back { transform: translate(32px, -12px) rotate(8deg); }
.resource-showcase:hover .card-mid { transform: translate(16px, 3px) rotate(4deg); }

.stack-card > span,
.stack-card > strong {
  display: block;
}

.stack-card > span {
  margin-bottom: 12px;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stack-card > strong {
  font-size: 1.05rem;
}

.card-back {
  background: #d3c2e6;
  transform: translate(24px, -5px) rotate(6deg);
}

.card-mid {
  background: #e4a278;
  transform: translate(12px, 5px) rotate(3deg);
}

.card-front {
  background: #242129;
  color: #fff;
}

.card-front > span {
  color: var(--plum-light);
}

.card-front > strong {
  margin-top: 30px;
  font-size: 1.45rem;
  font-weight: 500;
}

.visual-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 35px;
}

.visual-tags i {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.54rem;
  font-style: normal;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 90px;
  margin-top: 110px;
  padding: 75px 78px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 10%, rgba(115, 70, 168, 0.28), transparent 30%),
    #1d1a21;
  box-shadow: var(--shadow);
  color: var(--white);
}

.cta-copy .eyebrow {
  margin-bottom: 22px;
}

.cta-copy h2 {
  margin-bottom: 20px;
  font-size: clamp(2.45rem, 4.2vw, 4.2rem);
}

.cta-copy p {
  max-width: 570px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.9rem;
}

.contact-form {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.contact-form label {
  display: block;
  margin-bottom: 15px;
}

.contact-form label > span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  outline: none;
  background: rgba(0, 0, 0, 0.11);
  color: #fff;
  font-size: 0.78rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.contact-form input:focus {
  border-color: var(--plum-light);
  box-shadow: 0 0 0 3px rgba(169, 133, 208, 0.1);
}

.form-note {
  margin: 11px 0 0;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.55rem;
  text-align: center;
}

.form-note.success {
  color: #b9d8ad;
}

.site-footer {
  padding: 32px 0;
  background: #151318;
  color: rgba(255, 255, 255, 0.34);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 25px;
  font-size: 0.66rem;
}

.footer-inner > span:last-child {
  justify-self: end;
}

.footer-inner p {
  margin: 0;
}

.brand-footer .brand-name {
  font-size: 1rem;
}

.brand-footer .brand-mark {
  width: 23px;
  height: 23px;
  transform: rotate(45deg) scale(0.78);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1120px) {
  .hero {
    min-height: auto;
    padding-bottom: 75px;
  }

  .hero-grid {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 25px;
  }

  .hero-copy {
    padding-bottom: 10px;
  }

  h1 {
    font-size: clamp(3rem, 5.3vw, 4.4rem);
  }

  .product-window {
    width: 650px;
  }

  .window-body {
    grid-template-columns: 48px minmax(0, 1fr) 175px;
  }

  .principles {
    padding-left: 170px;
  }

  .intellect-grid {
    gap: 55px;
  }

  .demo-core {
    grid-template-columns: 155px 1fr;
    gap: 24px;
    padding: 30px;
  }

  .core-visual {
    width: 150px;
    height: 150px;
  }

  .resource-detail {
    padding-inline: 40px;
  }

  .cta-panel {
    gap: 55px;
    padding-inline: 55px;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .menu-button {
    position: relative;
    z-index: 52;
    display: grid;
  }

  .main-navigation {
    position: fixed;
    inset: 0;
    z-index: 51;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    padding: 70px 9vw;
    background: rgba(23, 21, 27, 0.98);
    font-size: 1.55rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-15px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .main-navigation.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-navigation .button {
    margin-top: 10px;
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 130px;
  }

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

  .hero-copy {
    max-width: 700px;
    padding-bottom: 55px;
  }

  .hero-text {
    max-width: 620px;
  }

  .product-stage {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
  }

  .product-window {
    width: 100%;
    transform: none;
  }

  .floating-note-top { right: -6px; }
  .floating-note-bottom { left: -6px; }

  .section-intro,
  .resources-heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .principles {
    padding-left: 0;
  }

  .intellect-grid {
    grid-template-columns: 1fr;
    gap: 75px;
  }

  .intellect-copy {
    max-width: 720px;
  }

  .flow-list {
    max-width: 560px;
  }

  .resource-showcase {
    grid-template-columns: 230px 1fr;
  }

  .resource-detail {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .resource-visual {
    min-height: 290px;
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .header-inner {
    min-height: 68px;
  }

  .hero {
    padding-top: 112px;
  }

  h1 {
    font-size: clamp(2.72rem, 13vw, 4.2rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero-proof {
    display: grid;
  }

  .product-stage {
    margin-top: 10px;
  }

  .product-window {
    min-width: 590px;
    transform: scale(0.57);
    transform-origin: top left;
  }

  .product-stage {
    height: 330px;
    overflow: visible;
  }

  .floating-note,
  .orbit {
    display: none;
  }

  .hero-footer {
    margin-top: 35px;
  }

  .platform-section,
  .resources-section,
  .intellect-section {
    padding: 92px 0;
  }

  .section-intro h2,
  .resources-heading h2,
  .intellect-copy h2,
  .cta-copy h2 {
    font-size: clamp(2.3rem, 11vw, 3.55rem);
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 45px;
    margin-top: 65px;
  }

  .intellect-grid {
    gap: 55px;
  }

  .flow-step {
    grid-template-columns: 30px 85px 1fr;
  }

  .intellect-demo {
    border-radius: 17px;
  }

  .demo-topline {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 12px 18px;
  }

  .demo-core {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 30px 24px;
    text-align: center;
  }

  .core-visual {
    width: 145px;
    height: 145px;
  }

  .demo-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .demo-actions button {
    width: 100%;
  }

  .resource-showcase {
    grid-template-columns: 1fr;
    margin-top: 50px;
  }

  .resource-nav {
    display: flex;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
  }

  .resource-nav::-webkit-scrollbar { display: none; }

  .resource-nav button {
    min-width: 200px;
  }

  .resource-nav button:hover,
  .resource-nav button:focus-visible,
  .resource-nav button.active {
    transform: none;
  }

  .resource-detail {
    min-height: auto;
    padding: 40px 24px 35px;
  }

  .resource-visual {
    min-height: 260px;
    margin-top: 15px;
  }

  .stack-card {
    height: 205px;
  }

  .cta-panel {
    gap: 40px;
    margin-top: 75px;
    padding: 45px 22px 24px;
    border-radius: 20px;
  }

  .contact-form {
    padding: 19px;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-inner p {
    display: none;
  }
}

@media (max-width: 390px) {
  .product-window {
    transform: scale(0.52);
  }

  .product-stage {
    height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
