:root {
  color-scheme: dark;
  --bg: #050608;
  --ink: #f7fbff;
  --muted: #a9b7c8;
  --soft: #6d7d90;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.085);
  --orange: #ff6427;
  --orange-2: #ffad6a;
  --green: #27d69a;
  --blue: #65aaff;
  --violet: #a988ff;
  --amber: #f7c04a;
  --radius: 8px;
  --max: 1180px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  max-width: 100vw;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255, 100, 39, 0.1), transparent 300px),
    linear-gradient(90deg, rgba(101, 170, 255, 0.07), transparent 45%, rgba(39, 214, 154, 0.055)),
    var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 6px);
  opacity: 0.42;
}

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

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

svg {
  display: block;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 100;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  margin: 0;
  clip: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #090c11;
  color: var(--ink);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(calc(100vw - 32px), var(--max));
  min-height: 72px;
  margin: 16px auto 0;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: var(--radius);
  background: rgba(5, 6, 8, 0.75);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  transition: border-color 180ms ease, background 180ms ease, min-height 180ms ease;
}

.site-header.is-scrolled {
  min-height: 62px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(5, 6, 8, 0.94);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  order: 2;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--orange);
  font-size: inherit;
  line-height: 1;
  text-shadow: 0 0 12px rgba(255, 93, 31, 0.42);
}

.brand-mark::before {
  content: ".";
}

.brand > span:not(.brand-mark) {
  order: 1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.desktop-nav a,
.nav-link {
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav .is-active,
.nav-link:hover,
.nav-link:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.075);
  outline: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--orange), #ff4214);
  color: white;
  box-shadow: 0 18px 44px rgba(255, 100, 39, 0.25);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 20px 52px rgba(255, 100, 39, 0.36);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
}

.button-small {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.88rem;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-button.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-button.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.section-band {
  position: relative;
  width: min(calc(100vw - 32px), var(--max));
  margin: 0 auto;
}

.hero {
  display: grid;
  align-items: center;
  min-height: 88svh;
  padding: 118px 0 54px;
}

.hero-grid,
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
  gap: 48px;
  align-items: center;
}

.page-hero {
  min-height: 74svh;
  padding: 124px 0 64px;
}

.hero-copy,
.page-hero-copy,
.security-console,
.section-heading,
.code-panel,
.caps-panel,
.hero-panel {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--orange-2);
  font-size: 0.82rem;
  font-weight: 850;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(39, 214, 154, 0.13);
}

.status-dot.amber {
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(247, 192, 74, 0.13);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: 0;
  line-height: 1.04;
}

h1 {
  font-size: 5.8rem;
}

.page-hero h1 {
  max-width: 680px;
  font-size: 3.45rem;
  font-weight: 650;
  line-height: 1.12;
}

h2 {
  max-width: 850px;
  font-size: 3.2rem;
}

h3 {
  font-size: 1.35rem;
}

.hero-lede,
.page-hero-copy p:not(.eyebrow) {
  max-width: 650px;
  margin: 22px 0 0;
  color: #d9e5f2;
  font-size: 1.2rem;
  line-height: 1.68;
}

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

.hero-actions.centered {
  justify-content: center;
}

.hero-proof,
.caps-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof span,
.caps-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 760;
}

.security-console,
.hero-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035)), rgba(7, 11, 16, 0.86);
  box-shadow: var(--shadow);
}

.security-console::before,
.hero-panel::before,
.layer-card::before,
.product-card::before,
.bento-card::before,
.resource-card::before,
.contact-panel::before,
.code-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 100, 39, 0.18), transparent) top / 100% 1px no-repeat,
    linear-gradient(180deg, transparent, rgba(101, 170, 255, 0.1), transparent) left / 1px 100% no-repeat;
}

.console-topbar,
.console-grid,
.panel-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
}

.console-topbar,
.panel-header {
  border-bottom: 1px solid var(--line);
}

.console-label,
.console-grid span,
.panel-header span {
  display: block;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 850;
}

.console-topbar strong,
.panel-header strong {
  display: block;
  margin-top: 3px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.12rem;
}

.console-pill {
  padding: 7px 10px;
  border: 1px solid rgba(39, 214, 154, 0.28);
  border-radius: 999px;
  background: rgba(39, 214, 154, 0.09);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
}

.console-canvas-wrap {
  position: relative;
  height: 390px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
}

#security-map {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
}

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(39, 214, 154, 0.85), transparent);
  animation: scan 5s ease-in-out infinite;
}

.console-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.console-grid div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.045);
}

.console-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 1.1rem;
}

.metrics {
  padding: 0 0 88px;
}

.section-band.token-contract-section {
  padding: 0 0 28px;
}

.token-contract-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(255, 100, 39, 0.095), rgba(255, 255, 255, 0.045));
  box-shadow: 0 16px 54px rgba(0, 0, 0, 0.18);
}

.token-contract-card span {
  display: block;
  color: var(--orange-2);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.token-contract-card code {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.98rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.token-contract-card .button.is-copied {
  border-color: rgba(39, 214, 154, 0.45);
  color: var(--green);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.metric-row div {
  padding: 28px;
  border-right: 1px solid var(--line);
}

.metric-row div:last-child {
  border-right: 0;
}

.metric-row strong {
  display: block;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.metric-row span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 760;
}

.section-band:not(.hero):not(.metrics):not(.page-hero) {
  padding: 92px 0;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 36px;
}

.section-heading.compact {
  margin-bottom: 0;
}

.section-heading p:not(.eyebrow),
.contact-panel p:not(.eyebrow) {
  max-width: 700px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.layer-grid,
.split-section,
.developer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.split-section,
.developer-grid {
  gap: 46px;
  align-items: center;
}

.layer-card,
.product-card,
.bento-card,
.step-card,
.feature-row,
.resource-card,
.code-panel,
.contact-panel,
.utility-table,
.path-stack a {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  box-shadow: 0 16px 54px rgba(0, 0, 0, 0.2);
}

.layer-card {
  display: block;
  padding: 28px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.layer-card:hover,
.layer-card:focus-visible,
.product-card:hover,
.resource-card:hover,
.resource-card:focus-visible,
.path-stack a:hover,
.path-stack a:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.24);
  outline: none;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  border-radius: 8px;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-amber {
  background: rgba(247, 192, 74, 0.11);
  color: var(--amber);
}

.icon-green {
  background: rgba(39, 214, 154, 0.1);
  color: var(--green);
}

.card-kicker,
.product-card span,
.bento-card span,
.step-card span {
  margin: 0 0 12px;
  color: var(--orange-2);
  font-size: 0.8rem;
  font-weight: 850;
}

.layer-card p:not(.card-kicker),
.product-card p,
.feature-row p,
.bento-card p,
.step-card p,
.resource-card p {
  color: var(--muted);
}

.layer-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.layer-card li {
  position: relative;
  padding-left: 20px;
  color: #d7e2ee;
  font-size: 0.94rem;
  font-weight: 680;
}

.layer-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 2px;
  background: var(--orange);
}

.thesis,
.product-showcase {
  width: 100%;
  max-width: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 100, 39, 0.065), transparent 46%, rgba(39, 214, 154, 0.05));
}

.thesis > *,
.product-showcase > * {
  width: min(calc(100vw - 32px), var(--max));
  margin-right: auto;
  margin-left: auto;
}

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

.bento-card {
  min-height: 260px;
  padding: 26px;
}

.bento-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-card.wide {
  grid-column: span 2;
}

.bento-card h3 {
  font-size: 1.65rem;
}

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

.product-grid.three,
.step-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card,
.step-card,
.resource-card {
  display: block;
  min-height: 236px;
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.step-card {
  min-height: 210px;
}

.product-card p,
.step-card p,
.resource-card p {
  margin: 14px 0 0;
}

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

.radar {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 290px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.radar::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  border: 1px solid rgba(247, 192, 74, 0.25);
  background: conic-gradient(from 90deg, rgba(247, 192, 74, 0.28), transparent 35%);
  animation: rotate 7s linear infinite;
}

.radar span {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.radar span:nth-child(1) {
  width: 80px;
  height: 80px;
}

.radar span:nth-child(2) {
  width: 160px;
  height: 160px;
}

.radar span:nth-child(3) {
  width: 240px;
  height: 240px;
}

.radar-core {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(247, 192, 74, 0.44);
  border-radius: 8px;
  background: #080c11;
  color: var(--amber);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 850;
}

.panel-list {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.panel-list span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-weight: 740;
}

.panel-list span::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
}

.lock-visual {
  display: grid;
  place-items: center;
  min-height: 290px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
}

.lock-visual svg {
  width: 210px;
  height: 210px;
  fill: none;
  stroke: var(--green);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 28px rgba(39, 214, 154, 0.22));
}

.path-stack {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.path-stack a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  padding: 18px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.path-stack strong {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.4rem;
}

.path-stack span {
  color: var(--muted);
  font-weight: 700;
}

.token-orbit {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 290px;
  border-bottom: 1px solid var(--line);
}

.token-orbit strong {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border: 1px solid rgba(255, 100, 39, 0.44);
  border-radius: 999px;
  background: rgba(255, 100, 39, 0.12);
  color: var(--orange-2);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.25rem;
}

.token-orbit span {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 84px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #080c11;
  color: var(--muted);
  font-weight: 800;
}

.token-orbit span:nth-child(1) { transform: translate(-120px, -82px); }
.token-orbit span:nth-child(2) { transform: translate(118px, -74px); }
.token-orbit span:nth-child(4) { transform: translate(-118px, 82px); }
.token-orbit span:nth-child(5) { transform: translate(124px, 88px); }

.product-detail-hero {
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
}

.product-detail-hero h1 {
  font-size: 3.4rem;
  font-weight: 650;
  line-height: 1.12;
}

.product-hero-panel {
  min-height: 560px;
}

.capsule-visual,
.payfi-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 318px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(255, 100, 39, 0.14), transparent 48%);
  background-size: 34px 34px, 34px 34px, 100% 100%;
}

.capsule-visual strong,
.payfi-visual strong {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 146px;
  min-height: 96px;
  padding: 0 20px;
  border: 1px solid rgba(255, 100, 39, 0.48);
  border-radius: 8px;
  background: rgba(8, 12, 17, 0.94);
  color: var(--orange-2);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.18rem;
  line-height: 1.1;
  text-align: center;
  box-shadow: 0 0 42px rgba(255, 100, 39, 0.16);
}

.capsule-visual span,
.payfi-visual span {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 100px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #080c11;
  color: var(--muted);
  font-weight: 850;
}

.capsule-visual span:nth-child(1),
.payfi-visual span:nth-child(1) { transform: translate(-138px, -86px); }
.capsule-visual span:nth-child(2),
.payfi-visual span:nth-child(2) { transform: translate(132px, -86px); }
.capsule-visual span:nth-child(4),
.payfi-visual span:nth-child(4) { transform: translate(-134px, 94px); }
.capsule-visual span:nth-child(5),
.payfi-visual span:nth-child(5) { transform: translate(132px, 94px); }

.payfi-visual {
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(39, 214, 154, 0.14), transparent 48%);
  background-size: 34px 34px, 34px 34px, 100% 100%;
}

.payfi-visual strong {
  border-color: rgba(39, 214, 154, 0.48);
  color: var(--green);
  box-shadow: 0 0 42px rgba(39, 214, 154, 0.14);
}

.product-security-section {
  width: 100%;
  max-width: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 100, 39, 0.055), transparent 45%, rgba(39, 214, 154, 0.055));
}

.product-security-section > * {
  width: min(calc(100vw - 32px), var(--max));
  margin-right: auto;
  margin-left: auto;
}

.security-map-grid,
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.security-map-grid article,
.detail-card {
  position: relative;
  min-height: 230px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  box-shadow: 0 16px 54px rgba(0, 0, 0, 0.18);
}

.security-map-grid article::before,
.detail-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(101, 170, 255, 0.12), transparent) top / 100% 1px no-repeat;
}

.security-map-grid span {
  color: var(--orange-2);
  font-size: 0.78rem;
  font-weight: 900;
}

.security-map-grid h3,
.detail-card h3 {
  margin-top: 14px;
}

.security-map-grid p,
.detail-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

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

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

.feature-row {
  padding: 22px;
}

.feature-row p {
  margin: 8px 0 0;
}

.compact-list {
  align-self: stretch;
}

.code-panel {
  overflow: hidden;
  background: #080c11;
}

.code-tabs {
  display: flex;
  gap: 1px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.code-tabs span {
  padding: 13px 16px;
  color: var(--soft);
  font-size: 0.88rem;
  font-weight: 850;
}

.code-tabs .active {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

pre {
  margin: 0;
  padding: 26px;
  overflow: auto;
}

code {
  color: #d1e8ff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.94rem;
  line-height: 1.7;
}

.resource-card {
  min-height: 170px;
}

.guided-tour {
  width: 100%;
  max-width: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(101, 170, 255, 0.055), transparent 45%, rgba(255, 100, 39, 0.06));
}

.guided-tour > * {
  width: min(calc(100vw - 32px), var(--max));
  margin-right: auto;
  margin-left: auto;
}

.tour-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
}

.tour-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.tour-tabs button {
  min-height: 64px;
  border: 0;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.tour-tabs button:hover,
.tour-tabs button:focus-visible,
.tour-tabs button.is-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.095);
  outline: none;
}

.tour-stage {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 0;
  min-height: 430px;
}

.tour-panel {
  padding: 36px;
}

.tour-panel span,
.mode-grid span,
.assurance-timeline span,
.economics-board span {
  color: var(--orange-2);
  font-size: 0.78rem;
  font-weight: 900;
}

.tour-panel h3 {
  max-width: 520px;
  margin-top: 14px;
  font-size: 2.2rem;
}

.tour-panel p {
  max-width: 580px;
  color: var(--muted);
}

.tour-panel ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.tour-panel li {
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-weight: 800;
}

.tour-diagram {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border-left: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.034) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(255, 100, 39, 0.11), transparent 46%);
  background-size: 34px 34px, 34px 34px, 100% 100%;
}

.tour-node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 92px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 8px;
  background: #080c11;
  font-weight: 900;
  transition: transform 220ms ease, border-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.tour-node.app { top: 78px; left: 12%; border: 1px solid var(--blue); color: var(--blue); }
.tour-node.tip { top: 106px; right: 18%; border: 1px solid var(--amber); color: var(--amber); }
.tour-node.cifer { bottom: 84px; left: 22%; border: 1px solid var(--green); color: var(--green); }
.tour-node.base { bottom: 92px; right: 16%; border: 1px solid var(--violet); color: var(--violet); }

.tour-diagram[data-tour-diagram="verify"] .tip,
.tour-diagram[data-tour-diagram="encrypt"] .cifer,
.tour-diagram[data-tour-diagram="settle"] .base {
  transform: scale(1.08);
  box-shadow: 0 0 34px rgba(255, 100, 39, 0.2);
}

.tour-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform-origin: left center;
}

.line-a { top: 140px; left: 28%; width: 42%; transform: rotate(-7deg); }
.line-b { top: 232px; left: 24%; width: 48%; transform: rotate(35deg); }
.line-c { bottom: 128px; left: 34%; width: 42%; transform: rotate(-5deg); }

.assurance-timeline,
.mode-grid,
.economics-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.assurance-timeline article,
.mode-grid article,
.economics-board article {
  position: relative;
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  overflow: hidden;
}

.assurance-timeline article::before,
.mode-grid article::before,
.economics-board article::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(39, 214, 154, 0.13), transparent) top / 100% 1px no-repeat;
}

.assurance-timeline h3,
.mode-grid h3,
.economics-board h3 {
  margin-top: 16px;
}

.assurance-timeline p,
.mode-grid p,
.economics-board p {
  color: var(--muted);
}

.mode-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mode-grid strong {
  display: block;
  margin-top: 22px;
  color: #d7e2ee;
  font-size: 0.92rem;
}

.integration-matrix {
  display: grid;
  grid-template-columns: 0.8fr 0.72fr 0.9fr 1.2fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
}

.integration-matrix > div {
  min-height: 64px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 760;
}

.integration-matrix > div:nth-child(4n) {
  border-right: 0;
}

.integration-matrix > div:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.integration-matrix .matrix-head {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 850;
}

.utility-table {
  display: grid;
  overflow: hidden;
}

.utility-table div {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

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

.utility-table strong {
  color: var(--ink);
}

.utility-table span {
  color: var(--muted);
}

.contact {
  padding-top: 44px;
}

.contact-panel {
  overflow: hidden;
  padding: 48px;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 100, 39, 0.15), rgba(39, 214, 154, 0.08)), rgba(255, 255, 255, 0.04);
}

.contact-panel .eyebrow,
.contact-panel p:not(.eyebrow) {
  justify-content: center;
  margin-right: auto;
  margin-left: auto;
}

.contact-panel h2 {
  margin: 0 auto;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(calc(100vw - 32px), var(--max));
  margin: 0 auto;
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--soft);
}

.footer-brand .brand-mark {
  width: auto;
  height: auto;
}

.site-footer p {
  margin: 10px 0 0;
  font-size: 0.9rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.site-footer a:not(.brand) {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 760;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
  outline: none;
}

.reveal {
  opacity: 0.18;
  transform: translateY(10px);
  transition: opacity 260ms ease, transform 260ms ease;
}

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

@keyframes scan {
  0%, 100% { transform: translateY(0); opacity: 0.2; }
  50% { transform: translateY(270px); opacity: 1; }
}

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

@media (max-width: 1080px) {
  .hero-grid,
  .page-hero,
  .split-section,
  .developer-grid {
    grid-template-columns: 1fr;
  }

  .security-console,
  .hero-panel {
    max-width: 760px;
  }

  .bento-grid,
  .product-grid,
  .step-grid,
  .resource-grid,
  .assurance-timeline,
  .economics-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bento-card.large,
  .bento-card.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .product-grid.three,
  .step-grid.three,
  .mode-grid,
  .tour-stage,
  .security-map-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .tour-diagram {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .integration-matrix {
    grid-template-columns: 1fr;
  }

  .integration-matrix > div,
  .integration-matrix > div:nth-child(4n),
  .integration-matrix > div:nth-last-child(-n + 4) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .integration-matrix > div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 980px) {
  .desktop-nav,
  .nav-link,
  .header-actions .button {
    display: none;
  }

  .site-header {
    width: min(calc(100vw - 24px), var(--max));
  }

  .header-actions {
    margin-left: auto;
  }

  .menu-button {
    display: block;
  }

  .mobile-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(5, 6, 8, 0.97);
    backdrop-filter: blur(18px);
  }

  .mobile-nav.is-open {
    display: grid;
  }

  .mobile-nav a {
    padding: 14px;
    border-radius: 7px;
    color: var(--muted);
    font-weight: 850;
  }

  .mobile-nav a:hover,
  .mobile-nav a:focus-visible {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.075);
    outline: none;
  }

  h1 {
    font-size: 4.25rem;
  }

  .page-hero h1 {
    font-size: 2.7rem;
  }

  .product-detail-hero h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .metric-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-row div:nth-child(2) {
    border-right: 0;
  }

  .metric-row div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .section-band,
  .site-footer,
  .thesis > *,
  .product-showcase > *,
  .guided-tour > * {
    width: min(calc(100vw - 24px), var(--max));
  }

  .hero,
  .page-hero {
    padding-top: 126px;
  }

  h1 {
    font-size: 3.28rem;
  }

  .page-hero h1 {
    font-size: 2.12rem;
  }

  .product-detail-hero h1 {
    font-size: 2.08rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .hero-lede,
  .page-hero-copy p:not(.eyebrow) {
    font-size: 1.04rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .layer-grid,
  .bento-grid,
  .product-grid,
  .step-grid,
  .resource-grid,
  .assurance-timeline,
  .mode-grid,
  .economics-board,
  .metric-row {
    grid-template-columns: 1fr;
  }

  .tour-tabs {
    grid-template-columns: 1fr;
  }

  .tour-panel {
    padding: 22px;
  }

  .tour-panel h3 {
    font-size: 1.7rem;
  }

  .metric-row div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-row div:last-child {
    border-bottom: 0;
  }

  .token-contract-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .console-canvas-wrap,
  .radar,
  .lock-visual,
  .token-orbit,
  .capsule-visual,
  .payfi-visual {
    height: 300px;
    min-height: 300px;
  }

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

  .layer-card,
  .product-card,
  .bento-card,
  .step-card,
  .resource-card,
  .feature-row,
  .contact-panel {
    padding: 22px;
  }

  .utility-table div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .token-orbit span:nth-child(1) { transform: translate(-76px, -82px); }
  .token-orbit span:nth-child(2) { transform: translate(78px, -76px); }
  .token-orbit span:nth-child(4) { transform: translate(-78px, 84px); }
  .token-orbit span:nth-child(5) { transform: translate(78px, 88px); }

  .capsule-visual span,
  .payfi-visual span {
    min-width: 82px;
    min-height: 38px;
    font-size: 0.84rem;
  }

  .capsule-visual span:nth-child(1),
  .payfi-visual span:nth-child(1) { transform: translate(-94px, -86px); }
  .capsule-visual span:nth-child(2),
  .payfi-visual span:nth-child(2) { transform: translate(92px, -86px); }
  .capsule-visual span:nth-child(4),
  .payfi-visual span:nth-child(4) { transform: translate(-94px, 88px); }
  .capsule-visual span:nth-child(5),
  .payfi-visual span:nth-child(5) { transform: translate(92px, 88px); }

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

  .site-footer nav {
    justify-content: flex-start;
  }
}

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

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