:root {
  color-scheme: light;
  --navy-900: #0b1a2b;
  --navy-800: #1c2c3f;
  --navy-700: #3a4a5e;
  --navy-600: #64748b;
  --surface: #ffffff;
  --surface-2: #f5f7fa;
  --surface-3: #eaf0f6;
  --line: #dde5ee;
  --mint: #16b39a;
  --mint-dark: #0f8f7c;
  --mint-soft: #d6f3ec;
  --shadow-elevated:
    0 1px 0 rgba(11, 26, 43, 0.04),
    0 10px 30px -12px rgba(11, 26, 43, 0.18),
    0 30px 80px -40px rgba(22, 179, 154, 0.25);
  --font-body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", "Roboto Mono", Consolas, "Liberation Mono", Menlo, monospace;
  --ease-industrial: cubic-bezier(0.32, 0.72, 0, 1);
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--surface-2);
  color: var(--navy-900);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

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

button {
  cursor: pointer;
  font: inherit;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.66;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--mint);
  color: #ffffff;
}

.landing-page {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--surface-2);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 48px, var(--max));
  height: 64px;
  margin: 0 auto;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: 164px;
  height: auto;
}

.footer-brand img {
  width: 150px;
  height: auto;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--navy-700);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--mint-dark);
}

.nav-demo {
  border-radius: 8px;
  padding: 8px 16px;
  background: var(--navy-900);
  color: #ffffff !important;
}

.nav-demo:hover,
.nav-demo:focus-visible {
  background: var(--mint);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 128px;
}

.mesh-bg {
  background-image:
    radial-gradient(circle at 12% 18%, rgba(22, 179, 154, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 88% 72%, rgba(22, 179, 154, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(11, 26, 43, 0.06) 0%, transparent 60%);
}

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 26, 43, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 26, 43, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  pointer-events: none;
}

.orbit-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  display: none;
  pointer-events: none;
}

.orbit-dot {
  position: absolute;
  border-radius: 999px;
  background: rgba(22, 179, 154, 0.7);
}

.orbit-dot-large {
  width: 12px;
  height: 12px;
  box-shadow: 0 0 30px #16b39a;
  animation: orbit 18s linear infinite;
}

.orbit-dot-small {
  width: 8px;
  height: 8px;
  opacity: 0.75;
  animation: orbit 26s linear infinite reverse;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(48px, 8vw, 96px);
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(22, 179, 154, 0.3);
  border-radius: 999px;
  margin-bottom: 32px;
  padding: 4px 12px;
  background: var(--mint-soft);
  color: var(--mint-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: reveal 0.8s var(--ease-industrial) both;
}

.hero-kicker span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--mint);
  animation: pulse-dot 2s infinite ease-in-out;
}

.hero h1,
.section-heading h2,
.compliance-copy h2,
.cta-footer h2 {
  margin: 0;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(3.5rem, 6.4vw, 6rem);
  line-height: 0.95;
  text-wrap: balance;
  animation: rise 1s var(--ease-industrial) 0.1s both;
}

.hero h1 span,
.cta-footer h2 span {
  background: linear-gradient(90deg, #0b1a2b 0%, #16b39a 50%, #0b1a2b 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4s linear infinite;
}

.hero p {
  max-width: 460px;
  margin: 32px 0 0;
  color: var(--navy-700);
  font-size: 18px;
  line-height: 1.7;
  animation: reveal 0.9s var(--ease-industrial) 0.25s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
  animation: reveal 0.9s var(--ease-industrial) 0.35s both;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 32px;
  font-weight: 800;
  transition: transform 260ms ease, background 260ms ease, border-color 260ms ease, color 260ms ease, box-shadow 260ms ease;
}

.button svg {
  width: 16px;
  height: 16px;
  transition: transform 220ms ease;
}

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

.button:hover svg,
.button:focus-visible svg {
  transform: translateX(4px);
}

.button-dark {
  background: var(--navy-900);
  color: #ffffff;
  box-shadow: var(--shadow-elevated);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--mint);
}

.button-light {
  border-color: var(--line);
  background: var(--surface);
  color: var(--navy-900);
}

.button-light:hover,
.button-light:focus-visible {
  border-color: rgba(22, 179, 154, 0.5);
  color: var(--mint-dark);
}

.button-mint {
  background: var(--mint);
  color: #ffffff;
  box-shadow: var(--shadow-elevated);
}

.button-mint:hover,
.button-mint:focus-visible {
  background: #ffffff;
  color: var(--navy-900);
  transform: scale(1.03);
}

.hero-visual {
  position: relative;
  min-width: 0;
  perspective: 1200px;
  animation: rise 1.1s var(--ease-industrial) 0.4s both;
}

.dashboard-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-elevated);
  transform-style: preserve-3d;
  transition: transform 300ms ease-out;
  will-change: transform;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  border-bottom: 1px solid var(--line);
  padding: 0 16px;
  background: var(--surface-3);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.window-bar span:nth-child(1) { background: #ff5f57; }
.window-bar span:nth-child(2) { background: #febc2e; }
.window-bar span:nth-child(3) { background: #28c840; }

.window-bar em {
  margin-left: auto;
  color: var(--navy-600);
  font-family: var(--font-mono);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.08em;
}

.dashboard-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--surface), var(--surface-3));
}

.dashboard-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: luminosity;
  opacity: 0.6;
}

.dashboard-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--surface), rgba(255, 255, 255, 0.3), transparent);
}

.kpi-strip {
  position: absolute;
  top: 16px;
  right: 16px;
  left: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  transform: translateZ(40px);
}

.kpi-tile {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy-900);
  box-shadow: 0 1px 2px rgba(11, 26, 43, 0.08);
  backdrop-filter: blur(12px);
}

.kpi-tile.highlight {
  border-color: var(--mint);
  background: var(--mint);
  color: #ffffff;
}

.kpi-tile span,
.kpi-tile em,
.metric-card > span,
.compliance-copy > p,
.section-heading p {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kpi-tile span {
  color: var(--navy-600);
}

.kpi-tile.highlight span,
.kpi-tile.highlight em {
  color: rgba(255, 255, 255, 0.86);
}

.kpi-tile strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1;
}

.kpi-tile em {
  margin-top: 3px;
  color: var(--mint-dark);
}

.scanline {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mint), transparent);
  animation: scanline 4s linear infinite;
}

.parallax-chip {
  position: absolute;
  z-index: 3;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-elevated);
  will-change: transform;
}

.parallax-chip > div {
  padding: 16px;
  animation: float 6s ease-in-out infinite;
}

.parallax-chip span {
  display: block;
  margin-bottom: 4px;
  color: var(--mint-dark);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.parallax-chip strong {
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.latency-chip {
  bottom: -24px;
  left: -24px;
}

.invoice-chip {
  top: -24px;
  right: -24px;
  background: var(--navy-900);
  color: #ffffff;
}

.invoice-chip > div {
  animation-duration: 9s;
}

.invoice-chip strong {
  color: #ffffff;
  font-size: 15px;
}

.marquee-band {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 40px 0;
  background: var(--surface);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 64px;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
}

.marquee-track span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--navy-600);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.marquee-track span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--mint);
}

.roles-section,
.faq-section {
  background: var(--surface-2);
}

.roles-section,
.compliance-section,
.faq-section {
  padding: 96px 0;
}

.section-inner {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 64px;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading p,
.compliance-copy > p {
  margin: 0 0 16px;
  color: var(--mint-dark);
}

.section-heading h2,
.compliance-copy h2 {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 0.98;
}

.section-heading span {
  display: block;
  margin-top: 16px;
  color: var(--navy-700);
  font-size: 18px;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  perspective: 1200px;
}

.wide-4 { grid-column: span 4; }
.wide-6 { grid-column: span 6; }

.role-card,
.metric-card {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(11, 26, 43, 0.04);
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-industrial), box-shadow 0.6s var(--ease-industrial), border-color 0.6s var(--ease-industrial);
}

.role-card {
  padding: 32px;
}

.tilt-card:hover,
.tilt-card:focus-within {
  border-color: rgba(22, 179, 154, 0.5);
  box-shadow: var(--shadow-elevated);
  transform: perspective(1000px) rotateX(4deg) rotateY(-6deg) translateZ(8px);
}

.role-glint {
  position: absolute;
  top: -1px;
  right: 32px;
  left: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mint), transparent);
  opacity: 0;
  transition: opacity 250ms ease;
}

.role-card:hover .role-glint,
.role-card:focus-within .role-glint {
  opacity: 1;
}

.role-card::after {
  content: "";
  position: absolute;
  top: -64px;
  right: -64px;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: rgba(22, 179, 154, 0.06);
  filter: blur(22px);
  transition: background 250ms ease;
}

.role-card:hover::after,
.role-card:focus-within::after {
  background: rgba(22, 179, 154, 0.16);
}

.role-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.icon-box {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(22, 179, 154, 0.3);
  background: var(--mint-soft);
  color: var(--mint-dark);
  transition: background 250ms ease, color 250ms ease, transform 250ms ease;
}

.role-card:hover .icon-box,
.compliance-list article:hover .icon-box,
.role-card:focus-within .icon-box,
.compliance-list article:focus-within .icon-box {
  background: var(--mint);
  color: #ffffff;
  transform: translateY(-2px);
}

.icon-box svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}

.role-head em {
  color: var(--mint-dark);
  font-family: var(--font-mono);
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.12em;
}

.role-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.1;
  transition: color 200ms ease;
}

.role-card:hover h3,
.role-card:focus-within h3 {
  color: var(--mint-dark);
}

.role-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--navy-700);
  font-size: 14px;
  line-height: 1.7;
}

.compliance-section {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.compliance-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 1fr);
  align-items: center;
  gap: clamp(64px, 10vw, 120px);
}

.compliance-copy h2 {
  margin-bottom: 32px;
  text-wrap: balance;
}

.compliance-list {
  display: grid;
  gap: 24px;
}

.compliance-list article {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.compliance-list h3 {
  margin: 0 0 4px;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 17px;
}

.compliance-list p {
  margin: 0;
  color: var(--navy-700);
  font-size: 14px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  perspective: 1200px;
}

.metric-card {
  display: flex;
  min-height: 172px;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
}

.metric-card strong {
  display: block;
  color: var(--mint-dark);
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.metric-card strong span {
  display: inline;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
}

.metric-card > span {
  color: var(--navy-600);
}

.metric-dark {
  background: var(--navy-900);
  color: #ffffff;
  box-shadow: var(--shadow-elevated);
}

.metric-dark strong {
  color: var(--mint);
}

.metric-dark > span {
  color: rgba(255, 255, 255, 0.62);
}

.faq-inner {
  width: min(100% - 48px, 768px);
  margin: 0 auto;
}

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

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.faq-item:hover,
.faq-item:focus-within {
  border-color: rgba(22, 179, 154, 0.4);
  box-shadow: var(--shadow-elevated);
}

.faq-item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  padding: 24px;
  background: transparent;
  color: var(--navy-900);
  text-align: left;
}

.faq-item button span {
  padding-right: 16px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.faq-item i {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--mint-dark);
  transition: transform 300ms ease, background 300ms ease, border-color 300ms ease, color 300ms ease;
}

.faq-item i::before,
.faq-item i::after {
  position: absolute;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.faq-item i::after {
  transform: rotate(90deg);
  transition: transform 250ms ease;
}

.faq-item.open i {
  border-color: var(--mint);
  background: var(--mint);
  color: #ffffff;
  transform: rotate(180deg);
}

.faq-item.open i::after {
  transform: rotate(0deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms ease;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer p {
  overflow: hidden;
  margin: 0;
  padding: 0 24px;
  color: var(--navy-700);
  line-height: 1.7;
}

.faq-item.open .faq-answer p {
  padding-bottom: 24px;
}

.cta-footer {
  position: relative;
  overflow: hidden;
  padding: 96px 0 0;
  background-color: var(--navy-900);
  color: #ffffff;
}

.cta-footer .mesh-bg,
.cta-footer .grid-bg {
  opacity: 0.5;
}

.cta-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  text-align: center;
}

.cta-footer h2 {
  max-width: 820px;
  margin: 0 auto 24px;
  color: #ffffff;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  line-height: 0.94;
  text-wrap: balance;
}

.cta-footer h2 span {
  background-image: linear-gradient(90deg, #ffffff 0%, #16b39a 50%, #ffffff 100%);
}

.cta-footer p {
  max-width: 580px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 48px 0;
}

.footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 32px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.footer-bottom a {
  transition: color 180ms ease;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: var(--mint);
}

.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.demo-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 26, 43, 0.62);
  backdrop-filter: blur(14px);
}

.demo-dialog {
  position: relative;
  width: min(100%, 620px);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  border: 1px solid rgba(221, 229, 238, 0.92);
  border-radius: 16px;
  padding: clamp(24px, 5vw, 36px);
  background:
    radial-gradient(circle at 92% 0%, rgba(22, 179, 154, 0.12), transparent 18rem),
    var(--surface);
  box-shadow: var(--shadow-elevated);
  animation: modal-in 180ms ease-out both;
}

.demo-kicker {
  margin: 0;
  color: var(--mint-dark);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.demo-dialog h2 {
  margin: 16px 44px 0 0;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.demo-dialog > p:not(.demo-kicker) {
  margin: 12px 0 0;
  color: var(--navy-700);
  font-size: 15px;
}

.demo-close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--navy-900);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.demo-close:hover,
.demo-close:focus-visible {
  border-color: rgba(22, 179, 154, 0.42);
  background: var(--mint-soft);
  transform: translateY(-1px);
}

.demo-close span,
.demo-close span::after {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.demo-close span {
  position: relative;
  transform: rotate(45deg);
}

.demo-close span::after {
  position: absolute;
  inset: 0;
  content: "";
  transform: rotate(90deg);
}

.demo-form {
  display: grid;
  gap: 15px;
  margin-top: 24px;
}

.demo-form label {
  display: grid;
  gap: 7px;
  color: var(--navy-700);
  font-size: 13px;
  font-weight: 700;
}

.demo-form input,
.demo-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: var(--navy-900);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.demo-form input {
  min-height: 44px;
  padding: 0 13px;
}

.demo-form textarea {
  min-height: 120px;
  resize: vertical;
  padding: 12px 13px;
}

.demo-form input:focus,
.demo-form textarea:focus {
  border-color: rgba(22, 179, 154, 0.72);
  box-shadow: 0 0 0 3px rgba(22, 179, 154, 0.14);
}

.demo-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.demo-status {
  min-height: 20px;
  margin: 0;
  color: var(--navy-600);
  font-size: 13px;
}

.demo-status.success {
  color: var(--mint-dark);
}

.demo-status.error {
  color: #b53b36;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-industrial), transform 0.8s var(--ease-industrial);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, -80px) rotateX(8deg);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0);
  }
}

@keyframes scanline {
  from {
    transform: translateY(-10%);
  }

  to {
    transform: translateY(42000%);
  }
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.35;
    transform: scale(0.75);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotateZ(0deg);
  }

  50% {
    transform: translate3d(0, -14px, 0) rotateZ(0.4deg);
  }
}

@keyframes shimmer {
  from {
    background-position: -200% 0;
  }

  to {
    background-position: 200% 0;
  }
}

@keyframes orbit {
  from {
    transform: rotate(0deg) translateX(140px) rotate(0deg);
  }

  to {
    transform: rotate(360deg) translateX(140px) rotate(-360deg);
  }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 1024px) {
  .orbit-wrap {
    display: block;
  }
}

@media (max-width: 1040px) {
  .hero-inner,
  .compliance-grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .hero p {
    max-width: 760px;
  }

  .hero-visual {
    max-width: 720px;
  }

  .wide-4,
  .wide-6 {
    grid-column: span 6;
  }
}

@media (max-width: 760px) {
  .nav-inner,
  .hero-inner,
  .section-inner,
  .faq-inner,
  .cta-inner {
    width: min(100% - 32px, var(--max));
  }

  .nav-links a:not(.nav-demo) {
    display: none;
  }

  .hero {
    padding: 72px 0 96px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

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

  .kpi-strip {
    grid-template-columns: 1fr;
  }

  .parallax-chip {
    display: none;
  }

  .role-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .wide-4,
  .wide-6 {
    grid-column: auto;
  }

  .roles-section,
  .compliance-section,
  .faq-section,
  .cta-footer {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .footer-bottom div {
    justify-content: flex-start;
    gap: 18px;
  }

  .demo-modal {
    padding: 16px;
  }

  .demo-dialog {
    max-height: calc(100vh - 32px);
    padding: 22px;
  }

  .demo-dialog h2 {
    margin-right: 40px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
