/* ============================================================ ROOT */
:root {
  --bg: #17130d;
  --ink: #fff4d5;
  --muted: #dacaa1;
  --line: rgba(255, 240, 199, 0.28);
  --glass: rgba(255, 239, 199, 0.16);
  --glass-strong: rgba(255, 239, 199, 0.24);
  --accent: #ead09a;
  --accent-2: #ffd879;
  --deep: #4d3f24;
  --radius: 8px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 216, 121, 0.18), transparent 28rem),
    var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.375;
  letter-spacing: 0.0175rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p { margin: 0; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 36px);
}

.eyebrow {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ============================================================ HERO */
.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(14px, 1.6vw, 22px) clamp(14px, 1.6vw, 22px) clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
}

.shader-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1422px;
  height: 800px;
  border: 0;
  transform: translate(-50%, -50%) scale(var(--shader-scale, 5));
  transform-origin: 50% 50%;
  z-index: -3;
  pointer-events: none;
}

.shader-fallback {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    radial-gradient(circle at 20% 30%, #f0d27c 0%, transparent 55%),
    radial-gradient(circle at 80% 70%, #fff2be 0%, transparent 60%),
    linear-gradient(135deg, #846f43 0%, #f0d27c 55%, #fff2be 100%);
  filter: saturate(1.1);
}

/* header */
.site-header {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
}

.brand-pill {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 213, 0.18),
    0 6px 16px rgba(0, 0, 0, 0.18);
}

.site-nav {
  margin-left: auto;
  display: flex;
  gap: clamp(14px, 1.8vw, 28px);
}

.site-nav a {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.04rem;
  text-transform: uppercase;
  color: rgba(255, 244, 213, 0.78);
  transition: color 180ms ease;
}

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

.header-cta {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 213, 0.18),
    0 6px 16px rgba(0, 0, 0, 0.18);
  transition: transform 160ms ease, background 200ms ease, border-color 200ms ease;
}

.header-cta:hover {
  background: var(--glass-strong);
  transform: translateY(-1px);
}

/* hero grid */
.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: min(396px, 42vw) 1fr;
  grid-template-rows: 1fr auto;
  gap: clamp(20px, 3vw, 40px);
  padding-top: clamp(20px, 4vw, 56px);
  position: relative;
}

.console-card {
  grid-column: 1;
  grid-row: 1;
  width: min(396px, 42vw);
  align-self: start;
  background: rgba(13, 16, 19, 0.88);
  border: 1px solid var(--line);
  border-radius: 5px;
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 213, 0.06),
    0 18px 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.console-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 77px)) 1fr auto;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid rgba(255, 244, 213, 0.12);
  padding: 0 10px;
  height: 36px;
}

.console-tab {
  height: 36px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 244, 213, 0.6);
  border-bottom: 2px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
  padding: 0 8px;
  text-align: left;
}

.console-tab.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.console-tab:hover { color: var(--ink); }

.console-bar {
  display: block;
  height: 6px;
  width: 56px;
  margin-left: auto;
  background: rgba(255, 244, 213, 0.14);
  border-radius: 2px;
}

.console-square {
  display: block;
  width: 10px;
  height: 10px;
  margin-left: 10px;
  background: rgba(255, 244, 213, 0.18);
  border-radius: 2px;
}

.console-panes {
  position: relative;
  padding: 14px 16px 18px;
}

.console-pane {
  display: none;
  min-height: 153px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  line-height: 1.55;
  color: rgba(255, 244, 213, 0.9);
}

.console-pane.is-active { display: block; }

.console-pane pre {
  margin: 0;
  font: inherit;
  white-space: pre-wrap;
}

.console-pane .dollar { color: var(--accent); }
.console-pane .out { color: var(--accent); display: inline-block; position: relative; }

[data-typed].is-typing::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.95em;
  margin-left: 2px;
  background: var(--accent);
  vertical-align: -2px;
  animation: cursor-blink 1s steps(2, start) infinite;
}

@keyframes cursor-blink {
  to { visibility: hidden; }
}

/* console form */
.console-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.console-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.console-field > span:first-child {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 244, 213, 0.55);
}

.console-input {
  display: flex;
  align-items: center;
  height: 33px;
  padding: 0 10px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 244, 213, 0.18);
  border-radius: 4px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--ink);
}

.console-input.is-select::after {
  content: "▾";
  margin-left: auto;
  color: rgba(255, 244, 213, 0.55);
}

.console-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* hero copy */
.console-line {
  position: absolute;
  left: min(396px, 42vw);
  top: 24px;
  width: 32%;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
  transform: translateX(-30%) rotate(-2deg);
  pointer-events: none;
}

.hero-copy {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: end;
  max-width: 920px;
  position: relative;
  padding: 18px 0 0;
}

.hero-copy::before {
  content: "";
  position: absolute;
  left: -8%;
  top: -6%;
  width: 70%;
  height: 240%;
  background: radial-gradient(ellipse at 30% 50%, rgba(13, 11, 7, 0.62), transparent 60%);
  filter: blur(26px);
  z-index: -1;
  pointer-events: none;
}

.hero-copy h1 {
  font-size: clamp(29px, 3.5vw, 56px);
  line-height: 1;
  max-width: 18ch;
  color: var(--ink);
}

.hero-copy p {
  margin-top: clamp(14px, 1.6vw, 22px);
  font-size: clamp(12px, 1.125vw, 16.5px);
  color: var(--ink);
  max-width: 720px;
}

/* ============================================================ PLATFORM (accordion) */
.platform {
  position: relative;
  min-height: 420svh;
  background:
    radial-gradient(circle at 90% 0%, rgba(234, 208, 154, 0.10), transparent 38rem),
    #050604;
}

.accordion-inner {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  grid-template-columns: 0.22fr 0.78fr;
  gap: clamp(16px, 2vw, 28px);
  padding: clamp(48px, 6vw, 84px) clamp(20px, 3vw, 36px) clamp(28px, 4vw, 56px);
}

.accordion-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: start;
  padding-top: 6px;
}

.accordion-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px 9px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 244, 213, 0.62);
  transition: color 200ms ease, transform 200ms ease, border-color 200ms ease, background 200ms ease;
  text-align: left;
}

.accordion-tab i {
  width: 7px;
  height: 7px;
  background: rgba(255, 244, 213, 0.4);
  display: inline-block;
}

.accordion-tab.is-active {
  color: var(--accent);
  border-color: rgba(234, 208, 154, 0.32);
  background: rgba(234, 208, 154, 0.06);
  transform: translateX(2px);
}

.accordion-tab.is-active i { background: var(--accent); }

.accordion-stack {
  position: relative;
  height: min(80svh, 820px);
  align-self: center;
}

.accordion-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 0.46fr 0.54fr;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(28px, 3vw, 44px);
  background: #000;
  border-top: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  transform: translateY(var(--card-y, 100%));
  clip-path: inset(0 0 var(--card-clip-bottom, 0) 0);
  will-change: transform, clip-path;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.6);
}

.ac-copy {
  align-self: center;
  max-width: 38ch;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ac-copy .eyebrow { color: var(--muted); }

.ac-copy h3 {
  font-size: clamp(26px, 2.4vw, 40px);
  line-height: 1.05;
  color: var(--ink);
}

.ac-copy p {
  color: rgba(255, 244, 213, 0.78);
  font-size: clamp(13px, 1vw, 15.5px);
  max-width: 36ch;
}

.ac-visual {
  position: relative;
  border-radius: 6px;
  background:
    radial-gradient(circle at 65% 25%, rgba(255, 232, 168, 0.45), transparent 55%),
    linear-gradient(135deg, rgba(234, 208, 154, 0.92), rgba(106, 91, 52, 0.68));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 3vw, 40px);
  overflow: hidden;
  min-height: 280px;
}

.code-window {
  width: min(100%, 420px);
  background: #08090a;
  border: 1px solid rgba(255, 244, 213, 0.08);
  border-radius: 8px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.code-dots {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 244, 213, 0.06);
}

.code-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 244, 213, 0.18);
}

.code-window pre {
  margin: 0;
  padding: 16px 18px 20px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink);
}

.code-window pre .ln {
  display: inline-block;
  width: 26px;
  color: rgba(255, 244, 213, 0.4);
}

/* ============================================================ PRICING */
.pricing {
  position: relative;
  background:
    radial-gradient(ellipse at top, rgba(255, 244, 213, 0.08), transparent 40%),
    radial-gradient(circle at 10% 0%, rgba(151, 211, 235, 0.14), transparent 28rem),
    #11120f;
  padding: clamp(72px, 9vw, 128px) 0 clamp(48px, 6vw, 88px);
  overflow: hidden;
}

.pricing-top {
  display: grid;
  grid-template-columns: 0.38fr 0.62fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.pricing-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 6px;
}

.pricing-copy .eyebrow { font-size: 16px; }

.pricing-copy h2 {
  font-size: clamp(34px, 4vw, 68px);
  line-height: 1;
  color: var(--ink);
}

.pricing-copy p {
  color: rgba(255, 244, 213, 0.78);
  font-size: clamp(14px, 1.05vw, 16px);
  max-width: 48ch;
}

.pricing-table {
  border-top: 1px solid var(--line);
}

.pt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 244, 213, 0.68);
}

.pt-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}

.pt-toggle button {
  padding: 6px 12px;
  border-radius: 999px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pt-toggle button.muted { color: rgba(255, 244, 213, 0.58); }
.pt-toggle button.active {
  background: var(--accent);
  color: #241d0f;
}

.pt-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink);
}

.pt-row b {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 500;
  color: var(--accent);
}

/* bars */
.pricing-bars {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: clamp(40px, 6vw, 88px);
  height: 480px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(6px, 0.7vw, 12px);
  padding: 0 clamp(20px, 3vw, 36px);
  align-items: end;
}

.bar-fade {
  position: absolute;
  inset: 0 0 auto 0;
  height: 140px;
  background: linear-gradient(to bottom, #11120f 0%, rgba(17, 18, 15, 0) 100%);
  z-index: 2;
  pointer-events: none;
}

.bar {
  height: calc(var(--bar-height, 60%) + var(--bar-morph, 0px));
  min-height: 120px;
  border-radius: 8px 8px 0 0;
  background:
    linear-gradient(180deg, rgba(255, 232, 168, 0.92) 0%, rgba(141, 109, 56, 0.92) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 244, 213, 0.25);
  transition: height 80ms linear;
}

.bar.muted {
  background:
    linear-gradient(180deg, rgba(218, 202, 161, 0.55) 0%, rgba(77, 63, 36, 0.78) 100%);
}

/* plan row */
.plan-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 300px));
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(40px, 6vw, 80px);
  justify-content: start;
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.plan-card header .eyebrow { font-size: 13px; color: var(--ink); }
.plan-card p {
  font-size: 15px;
  color: rgba(255, 244, 213, 0.78);
  max-width: 28ch;
  flex: 1;
}

.plan-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(14px);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background 200ms ease, transform 160ms ease;
}

.plan-cta:hover { background: var(--glass-strong); transform: translateY(-1px); }

/* ============================================================ SECURITY */
.security {
  position: relative;
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 216, 121, 0.10), transparent 30rem),
    radial-gradient(circle at 0% 100%, rgba(255, 154, 76, 0.10), transparent 32rem),
    #120f0a;
  padding: clamp(72px, 9vw, 128px) 0;
  overflow: hidden;
}

.sec-heading {
  display: grid;
  grid-template-columns: 0.58fr 0.42fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.sec-heading h2 {
  margin-top: 14px;
  font-size: clamp(30px, 3.6vw, 56px);
  line-height: 1.02;
  max-width: 22ch;
}

.sec-heading p {
  color: rgba(255, 244, 213, 0.78);
  font-size: clamp(14px, 1.05vw, 16px);
}

.sec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 22px);
}

.sec-card {
  position: relative;
  min-height: 464px;
  padding: clamp(20px, 2vw, 28px);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 244, 213, 0.04), transparent 30%),
    #0f0c08;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}

.sec-card header { display: flex; flex-direction: column; gap: 10px; }
.sec-card h3 {
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.15;
  color: var(--ink);
}
.sec-card header p {
  font-size: 14px;
  color: rgba(255, 244, 213, 0.7);
  max-width: 32ch;
}

/* api card */
.api-stage {
  position: relative;
  flex: 1;
  margin-top: auto;
}

.api-window {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 58%;
  height: 184px;
  background: #07080a;
  border: 1px solid rgba(255, 244, 213, 0.1);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.api-window pre {
  margin: 0;
  padding: 12px 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  line-height: 1.6;
  color: rgba(255, 244, 213, 0.86);
}

.api-window .hl { color: var(--accent); }

.api-spec {
  position: absolute;
  right: -4%;
  top: 0;
  width: 58%;
  background: rgba(64, 52, 30, 0.86);
  border: 1px solid rgba(234, 208, 154, 0.4);
  border-radius: 6px;
  padding: 12px 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  line-height: 1.6;
  color: var(--accent);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
}

.api-spec pre { margin: 0; font: inherit; color: inherit; }

/* compliance card */
.compliance-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.compliance-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(48, 39, 23, 0.84);
  border: 1px solid rgba(234, 208, 154, 0.28);
  border-radius: 4px;
}

.compliance-list .check {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.compliance-list .check::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 5px;
  width: 7px;
  height: 12px;
  border-right: 2px solid #1d1709;
  border-bottom: 2px solid #1d1709;
  transform: rotate(45deg);
}

.compliance-list div { display: flex; flex-direction: column; gap: 2px; }
.compliance-list b {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.compliance-list em {
  font-style: normal;
  font-size: 13px;
  color: var(--ink);
}

/* economics card */
.binary-map {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  line-height: 1.1;
  color: var(--accent);
  letter-spacing: 0.18em;
  white-space: pre;
  text-align: center;
}

.econ-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: auto;
}

.econ-table tr { border-top: 1px solid rgba(234, 208, 154, 0.18); }
.econ-table tr:last-child { border-bottom: 1px solid rgba(234, 208, 154, 0.18); }

.econ-table th {
  text-align: left;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 244, 213, 0.55);
  font-weight: 500;
  padding: 12px 0;
}

.econ-table td {
  text-align: right;
  font-size: 14px;
  color: var(--ink);
  padding: 12px 0;
}

/* ============================================================ SHOWCASE */
.showcase {
  position: relative;
  background:
    radial-gradient(circle at 80% 20%, rgba(151, 211, 235, 0.16), transparent 30rem),
    #070a0b;
  padding: clamp(72px, 9vw, 128px) 0 clamp(80px, 10vw, 160px);
  overflow: hidden;
}

.showcase::after {
  content: "";
  position: absolute;
  top: 40px;
  right: -40px;
  width: 220px;
  height: 80px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(151, 211, 235, 0.16) 0 4px,
    transparent 4px 10px
  );
  opacity: 0.7;
  pointer-events: none;
}

.showcase-heading {
  display: grid;
  grid-template-columns: 0.58fr 0.42fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}

.showcase-heading h2 {
  font-size: clamp(25px, 4vw, 52px);
  line-height: 1.02;
  color: #dff5ff;
  max-width: 18ch;
}

.showcase-heading p {
  color: rgba(223, 245, 255, 0.7);
  font-size: clamp(14px, 1.05vw, 16px);
}

.figure-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(151, 211, 235, 0.3);
  border-radius: 999px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(151, 211, 235, 0.85);
  margin: clamp(32px, 4vw, 56px) 0 clamp(16px, 2vw, 24px);
}

.dashboard-shell {
  position: relative;
  width: 100%;
  background: rgba(5, 8, 10, 0.9);
  border: 1px solid rgba(151, 211, 235, 0.22);
  border-radius: 8px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  outline: none;
  transform-style: preserve-3d;
  transform: perspective(1400px) rotateX(0deg) rotateY(0deg);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.dashboard-shell:hover,
.dashboard-shell:focus-visible {
  transform: perspective(1400px) rotateX(1deg) rotateY(-1.2deg) translateY(-8px);
  border-color: rgba(151, 211, 235, 0.45);
  box-shadow: 0 60px 120px rgba(0, 0, 0, 0.7);
}

.ds-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 30%,
    rgba(151, 211, 235, 0.14) 50%,
    transparent 70%
  );
  transform: translateX(-34%);
  opacity: 0;
  pointer-events: none;
  transition: transform 520ms ease, opacity 520ms ease;
  mix-blend-mode: screen;
}

.dashboard-shell:hover .ds-sheen,
.dashboard-shell:focus-visible .ds-sheen {
  transform: translateX(34%);
  opacity: 1;
}

.ds-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(151, 211, 235, 0.14);
  background: rgba(5, 8, 10, 0.92);
}

.ds-dots { display: flex; gap: 6px; }
.ds-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(151, 211, 235, 0.22);
}

.ds-title {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: rgba(151, 211, 235, 0.14);
  max-width: 240px;
}

.ds-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 460px;
}

.ds-sidebar {
  border-right: 1px solid rgba(151, 211, 235, 0.14);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: rgba(5, 8, 10, 0.65);
}

.ds-workspace {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  border: 1px solid rgba(151, 211, 235, 0.16);
  border-radius: 6px;
}

.ds-mark {
  width: 18px;
  height: 18px;
  background: #97d3eb;
  border-radius: 4px;
}

.ds-workspace b {
  display: block;
  font-size: 13px;
  color: #dff5ff;
  font-weight: 500;
}

.ds-workspace em {
  font-style: normal;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(151, 211, 235, 0.55);
}

.ds-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ds-sidebar nav a {
  padding: 9px 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(223, 245, 255, 0.6);
  border-radius: 4px;
  transition: background 160ms ease, color 160ms ease;
}

.ds-sidebar nav a:hover { color: #dff5ff; }

.ds-sidebar nav a.is-active {
  background: rgba(151, 211, 235, 0.12);
  color: #97d3eb;
}

.ds-main {
  padding: 22px 24px;
}

.ds-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.ds-title-row h3 {
  font-size: 22px;
  color: #97d3eb;
}

.ds-new {
  height: 34px;
  padding: 0 16px;
  border: 1px solid rgba(151, 211, 235, 0.5);
  border-radius: 999px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #97d3eb;
  transition: background 160ms ease, color 160ms ease;
}

.ds-new:hover { background: rgba(151, 211, 235, 0.12); }

.ds-table {
  width: 100%;
  border-collapse: collapse;
}

.ds-table th {
  text-align: left;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(151, 211, 235, 0.55);
  font-weight: 500;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(151, 211, 235, 0.14);
}

.ds-table td {
  padding: 14px;
  font-size: 14px;
  color: #dff5ff;
  border-bottom: 1px solid rgba(151, 211, 235, 0.08);
}

.ds-table td.state {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #97d3eb;
}

.ds-toast {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(5, 12, 16, 0.95);
  border: 1px solid rgba(151, 211, 235, 0.32);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.ds-toast-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #97d3eb;
  box-shadow: 0 0 0 4px rgba(151, 211, 235, 0.18);
}

.ds-toast b {
  display: block;
  font-size: 13px;
  color: #97d3eb;
  font-weight: 500;
}
.ds-toast em {
  font-style: normal;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(223, 245, 255, 0.65);
}

/* ============================================================ OPERATIONS */
.operations {
  position: relative;
  background:
    radial-gradient(circle at 90% 10%, rgba(151, 211, 235, 0.12), transparent 30rem),
    radial-gradient(circle at 10% 90%, rgba(234, 208, 154, 0.14), transparent 32rem),
    #0c0d0a;
  padding: clamp(72px, 9vw, 128px) 0;
  overflow: hidden;
}

.operations::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 13, 10, 0.92) 0%, rgba(12, 13, 10, 0) 60%);
  pointer-events: none;
}

.ops-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.44fr 0.56fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

.ops-copy { display: flex; flex-direction: column; gap: 22px; }

.ops-copy h2 {
  font-size: clamp(34px, 4.4vw, 72px);
  line-height: 0.98;
  color: var(--ink);
  max-width: 16ch;
}

.ops-copy p {
  color: rgba(255, 244, 213, 0.78);
  font-size: clamp(14px, 1.05vw, 16px);
  max-width: 46ch;
}

.ops-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #1b160d;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 160ms ease, transform 160ms ease;
}

.ops-cta:hover { background: var(--accent-2); transform: translateY(-2px); }

.ops-visual {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-cube-shell {
  position: relative;
  width: clamp(280px, 32vw, 520px);
  height: clamp(280px, 32vw, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  transform-style: preserve-3d;
  --spread: 1;
}

.modal-cube-shell:focus-visible {
  outline: 1px solid var(--line);
  outline-offset: 10px;
  border-radius: 8px;
}

.operations-core-cube {
  position: relative;
  width: clamp(142px, 18vw, 250px);
  height: clamp(142px, 18vw, 250px);
  transform-style: preserve-3d;
  transform: rotateX(-18deg) rotateY(28deg);
  animation: core-cube-float 6s ease-in-out infinite;
  transition: transform 620ms cubic-bezier(0.17, 0.78, 0.18, 1);
  --cs: clamp(142px, 18vw, 250px);
}

.is-exploded .operations-core-cube {
  transform: rotateX(-18deg) rotateY(28deg) scale(0.72);
}

.cube-face {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 48% 44%, rgba(255, 216, 121, 0.98) 0%, rgba(234, 208, 154, 0.0) 55%),
    linear-gradient(135deg, rgba(151, 211, 235, 0.85), rgba(234, 208, 154, 0.9) 55%, rgba(38, 32, 18, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 213, 0.28),
    inset 0 -10px 30px rgba(0, 0, 0, 0.4),
    0 14px 30px rgba(0, 0, 0, 0.35);
}

.cf-front  { transform: translateZ(calc(var(--cs) / 2)); }
.cf-back   { transform: rotateY(180deg) translateZ(calc(var(--cs) / 2)); }
.cf-right  { transform: rotateY(90deg) translateZ(calc(var(--cs) / 2)); }
.cf-left   { transform: rotateY(-90deg) translateZ(calc(var(--cs) / 2)); }
.cf-top    { transform: rotateX(90deg) translateZ(calc(var(--cs) / 2)); }
.cf-bottom { transform: rotateX(-90deg) translateZ(calc(var(--cs) / 2)); }

@keyframes core-cube-float {
  0%, 100% { transform: rotateX(-18deg) rotateY(28deg) translateY(0); }
  50%      { transform: rotateX(-20deg) rotateY(32deg) translateY(-10px); }
}

.is-exploded .operations-core-cube {
  animation-play-state: paused;
}

.cube-particle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(60px, 7vw, 110px);
  height: clamp(60px, 7vw, 110px);
  border-radius: 14px;
  margin: calc(clamp(60px, 7vw, 110px) / -2) 0 0 calc(clamp(60px, 7vw, 110px) / -2);
  background:
    radial-gradient(circle at 48% 44%, rgba(255, 216, 121, 0.92) 0%, rgba(234, 208, 154, 0.0) 60%),
    linear-gradient(135deg, rgba(151, 211, 235, 0.7), rgba(234, 208, 154, 0.85) 55%, rgba(38, 32, 18, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 213, 0.25),
    0 14px 30px rgba(0, 0, 0, 0.4);
  opacity: 0;
  filter: blur(4px);
  transform: translate3d(0, 0, 0) scale(0.4) rotate(0deg);
  transition:
    transform 760ms cubic-bezier(0.17, 0.78, 0.18, 1) var(--d, 0ms),
    opacity 420ms ease var(--d, 0ms),
    filter 420ms ease var(--d, 0ms);
  pointer-events: none;
}

.cube-particle.dot {
  border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, #ffe9a7, #c79a3e);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

.is-exploded .cube-particle {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(
      calc(var(--tx) * var(--spread, 1)),
      calc(var(--ty) * var(--spread, 1)),
      calc(var(--tz) * var(--spread, 1))
    )
    scale(var(--s, 1))
    rotate(var(--r, 0deg));
}

/* ============================================================ FOOTER */
.site-footer {
  background: #0a0907;
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.ft-brand {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.ft-meta {
  display: flex;
  gap: 22px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 244, 213, 0.55);
}

/* ============================================================ RESPONSIVE */
@media (max-width: 820px) {
  .site-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .site-nav {
    margin-left: 0;
    flex-wrap: wrap;
    gap: 14px;
  }
  .header-cta { text-align: center; }

  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .console-card { width: 100%; }
  .console-line { display: none; }

  .console-tabs {
    grid-template-columns: repeat(3, 1fr);
    height: 48px;
  }
  .console-tab { height: 48px; }
  .console-bar, .console-square { display: none; }
  .console-pane { min-height: 200px; }

  .pricing-top { grid-template-columns: 1fr; }
  .plan-row { grid-template-columns: 1fr; }
  .sec-grid { grid-template-columns: 1fr; }
  .sec-heading { grid-template-columns: 1fr; }

  .accordion-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  .accordion-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .accordion-stack { height: 78svh; }
  .accordion-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .showcase-heading { grid-template-columns: 1fr; }
  .ds-body { grid-template-columns: 1fr; }
  .ds-sidebar nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .ds-table th:nth-child(4),
  .ds-table th:nth-child(5),
  .ds-table td:nth-child(4),
  .ds-table td:nth-child(5) { display: none; }
  .ds-toast {
    position: static;
    margin: 16px 22px 22px;
  }

  .ops-grid { grid-template-columns: 1fr; }
  .modal-cube-shell { --spread: 0.72; }
}

@media (max-width: 520px) {
  .hero { padding: 22px 18px 0; }
  .hero-copy h1 { font-size: clamp(28px, 10vw, 48px); }
  .hero-copy p { font-size: 15px; }

  .accordion-nav { grid-template-columns: 1fr; }

  .modal-cube-shell { --spread: 0.48; }
  .ops-visual { min-height: 360px; }

  .ds-title-row { flex-direction: column; align-items: flex-start; gap: 10px; }
}
