@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --red: #CC0000;
  --red-dark: #A80000;
  --red-bright: #FF3347;
  --ink: #1A1A1A;
  --canvas: #F5F5F5;
  --surface: #FFFFFF;
  --surface-muted: #FAFAFA;
  --surface-warm: #FCFBFB;
  --border: #E4E4E4;
  --border-soft: #ECECEC;
  --text: #444444;
  --text-soft: #555555;
  --text-dim: #6A6A6A;
  --text-faint: #B5B5B5;
  --green: #1E7E34;
  --green-bright: #4ADE80;
  --blue: #3B82F6;
  --orange: #C2410C;
  --red-wash: rgba(204, 0, 0, 0.08);
  --red-border: rgba(204, 0, 0, 0.18);
  --code-bg: #1E1E1E;
  --code-bar: #16181D;
  --code-border: #333333;
  --code-text: #ABB2BF;
  --code-key: #61AFEF;
  --code-string: #98C379;
  --code-number: #E5C07B;
  --code-bool: #FF7B72;
  --code-token: #E5C07B;
  --code-comment: #6C7280;
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --shadow: 0 2px 10px rgba(26, 26, 26, 0.05);
  --shadow-hover: 0 10px 28px rgba(26, 26, 26, 0.10);
  --shadow-code: 0 18px 42px rgba(26, 26, 26, 0.16);
  --shadow-hero: 0 24px 60px rgba(26, 26, 26, 0.28);
  --shadow-red: 0 6px 16px rgba(204, 0, 0, 0.25);
  --shadow-red-hover: 0 8px 25px rgba(204, 0, 0, 0.35);
  --shadow-modal: 0 30px 80px rgba(0, 0, 0, 0.35);
  --container: 1160px;
  --gutter: 24px;
  --nav-height: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.7;
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open,
body.menu-open {
  overflow: hidden;
}

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

[hidden] {
  display: none !important;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
}

h1 {
  font-size: clamp(32px, 5.4vw, 50px);
}

h2 {
  font-size: clamp(26px, 3.4vw, 38px);
}

h3 {
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

p {
  text-wrap: pretty;
}

::selection {
  background: var(--red);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 245, 245, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* dark nav for the Engine landing page */

.site-header--dark {
  background: rgba(13, 13, 14, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.site-header--dark.is-scrolled {
  background: rgba(13, 13, 14, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.site-header--dark .brand-word {
  color: #FFF;
}

.site-header--dark .brand-word span {
  color: var(--red-bright);
}

.site-header--dark .brand-tagline {
  border-left-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.52);
}

.site-header--dark .nav-link {
  color: rgba(255, 255, 255, 0.72);
}

.site-header--dark .nav-link:hover,
.site-header--dark .nav-link[aria-current="page"] {
  color: #FFF;
}

.site-header--dark .nav-link[aria-current="page"]::after {
  content: "";
  width: 4px;
  height: 4px;
  margin-left: 2px;
  border-radius: 50%;
  background: var(--red-bright);
}

.site-header--dark .menu-toggle {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.site-header--dark .menu-toggle span {
  background: #FFF;
}

.nav-inner {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  display: block;
  width: 56px;
  height: auto;
  flex-shrink: 0;
  transform: translateY(-1px);
}

.brand--footer .brand-mark {
  width: 52px;
}

.brand-tagline {
  margin-left: 4px;
  padding-left: 14px;
  border-left: 1px solid var(--border);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.brand-word {
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 1.5px;
  line-height: 1;
  color: var(--ink);
}

.brand-word span {
  color: var(--red);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: none;
  padding: 6px 0;
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--red);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.nav-dropdown.is-open .nav-dropdown-toggle {
  color: var(--red);
}

.nav-dropdown.is-open .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  width: 300px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.nav-dropdown.is-open .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}

.dropdown-item:hover {
  background: var(--red-wash);
}

.dropdown-item + .dropdown-item {
  margin-top: 2px;
}

.dropdown-item--compare {
  border-top: 1px solid var(--border-soft);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  margin-top: 6px;
  padding-top: 14px;
}

.dropdown-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--red-wash);
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.dropdown-item strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

.dropdown-item small {
  display: block;
  color: var(--text-dim);
  font-size: 12.5px;
  line-height: 1.4;
}

.menu-toggle {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 0;
  place-items: center;
  align-content: center;
  gap: 4px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span {
  position: absolute;
  top: 50%;
  left: 50%;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: calc(100vh - var(--nav-height));
  height: calc(100svh - var(--nav-height));
  z-index: 90;
  overflow-y: auto;
  padding: 24px var(--gutter) 40px;
  background: var(--canvas);
  border-top: 1px solid var(--border);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  max-width: 560px;
  margin: 0 auto;
}

.mobile-label {
  margin: 18px 0 6px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mobile-menu a:not(.btn),
.mobile-menu .mobile-mail {
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}

.mobile-menu a:hover {
  color: var(--red);
}

.site-header--dark .mobile-menu {
  background: #101011;
  border-top-color: rgba(255, 255, 255, 0.1);
}

.site-header--dark .mobile-label {
  color: rgba(255, 255, 255, 0.45);
}

.site-header--dark .mobile-menu a:not(.btn),
.site-header--dark .mobile-menu .mobile-mail {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  color: #F1F1F1;
}

.site-header--dark .mobile-menu a:hover {
  color: var(--red-bright);
}

.mobile-cta {
  margin-top: 24px;
  width: 100%;
}

.mobile-mail {
  margin-top: 10px;
  border-bottom: none !important;
  color: var(--red) !important;
  font-family: var(--font-mono);
  font-size: 14px !important;
  font-weight: 600 !important;
}

/* ---------- buttons, chips, links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 10px;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  min-height: 40px;
  padding: 9px 20px;
  font-size: 14px;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background: var(--red-dark);
  box-shadow: var(--shadow-red-hover);
}

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.btn-light:hover {
  background: var(--canvas);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.26);
}

.btn-outline-light {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-size: 15px;
  font-weight: 800;
}

.text-link:hover {
  color: var(--red-dark);
}

.text-link span {
  transition: transform 0.15s ease;
}

.text-link:hover span {
  transform: translateX(3px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 18px;
  padding: 6px 14px;
  border: 1.5px solid var(--red);
  border-radius: var(--radius-pill);
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.eyebrow--on-dark {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.eyebrow--on-dark .dot {
  background: var(--red);
}


.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--red-border);
  border-radius: var(--radius-pill);
  background: #fff;
  color: #2A2A2A;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.product-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.fine-note {
  margin-top: 18px;
  color: var(--text-dim);
  font-size: 12.5px;
  line-height: 1.6;
}

/* ---------- layout ---------- */

.section {
  padding: clamp(48px, 5vw, 72px) 0;
}

.section--white {
  background: var(--surface);
  border-top: 1px solid #E9E9E9;
  border-bottom: 1px solid #E9E9E9;
}

.section--dark {
  background: var(--ink);
  color: #fff;
}

.section-head {
  width: 100%;
  margin-bottom: 30px;
}

.section-head .eyebrow {
  margin-bottom: 14px;
}

.section-head h2 {
  margin-bottom: 12px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  margin-inline: auto;
}

.lede {
  width: 100%;
  color: var(--text-soft);
  font-size: 16.5px;
  line-height: 1.65;
  text-wrap: balance;
}

.section-head--center .lede {
  margin-inline: auto;
}

.section-head--on-dark h2 {
  color: #fff;
}

.section-head--on-dark .lede {
  color: #C9C9C9;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(56px, 7vw, 92px) 0 clamp(52px, 6vw, 78px);
  color: #FFF;
  background-color: #0C0C0E;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(58% 62% at 22% 34%, rgba(204, 0, 0, 0.1) 0%, rgba(204, 0, 0, 0) 72%),
    radial-gradient(62% 58% at 26% 44%, rgba(8, 4, 6, 0.58) 0%, rgba(8, 4, 6, 0.34) 50%, rgba(8, 4, 6, 0) 78%),
    linear-gradient(100deg, rgba(8, 4, 6, 0.34) 0%, rgba(8, 4, 6, 0.12) 52%, rgba(8, 4, 6, 0.4) 100%),
    linear-gradient(180deg, rgba(8, 4, 6, 0.46) 0%, rgba(8, 4, 6, 0) 32%, rgba(8, 4, 6, 0.54) 100%);
  pointer-events: none;
}


.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero .eyebrow {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  color: #FFF;
}

.hero .eyebrow .dot {
  background: #FF4D63;
  box-shadow: 0 0 0 4px rgba(255, 77, 99, 0.18);
}

.hero h1 {
  max-width: 700px;
  margin-bottom: 22px;
  color: #FFF;
  line-height: 1.06;
  text-shadow: 0 2px 26px rgba(6, 4, 6, 0.55), 0 1px 3px rgba(6, 4, 6, 0.4);
}

.hero h1 span {
  display: block;
  color: var(--red-bright);
  text-shadow: 0 2px 26px rgba(6, 4, 6, 0.6), 0 1px 3px rgba(6, 4, 6, 0.5);
}

.hero-lead {
  max-width: 600px;
  color: #E9E1E3;
  font-size: 18px;
  line-height: 1.62;
  text-shadow: 0 1px 16px rgba(6, 4, 6, 0.72), 0 1px 2px rgba(6, 4, 6, 0.5);
}

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

.hero .btn-primary {
  background: linear-gradient(180deg, #D90E29, #B80017);
  box-shadow: 0 12px 30px rgba(180, 0, 26, 0.36);
}

.hero .btn-primary:hover {
  background: linear-gradient(180deg, #E4142E, #C20019);
  box-shadow: 0 16px 38px rgba(180, 0, 26, 0.46);
}

.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.03);
  color: #FFF;
}

.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.7);
  color: #FFF;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 0;
  margin-top: 30px;
  padding: 0;
  list-style: none;
  color: #EFE7E9;
  font-size: 13.5px;
  font-weight: 600;
  text-shadow: 0 1px 12px rgba(6, 4, 6, 0.7);
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-right: 20px;
}

.hero-facts li + li {
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-fact-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(255, 40, 64, 0.13);
  border: 1px solid rgba(255, 110, 130, 0.24);
  color: #FF8C9A;
}

.hero-fact-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero .hero-product--engine {
  border-color: rgba(255, 96, 116, 0.38);
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 96, 116, 0.12);
}

.hero .hero-product--desktop {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.5);
}

.hero-visual {
  min-width: 0;
}

.hero-card {
  background: #16181D;
  border: 1px solid #2A2D34;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hero);
  overflow: hidden;
}

.window-bar,
.code-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  background: #13151A;
  border-bottom: 1px solid #2A2D34;
}

.dots {
  display: inline-flex;
  gap: 6px;
  flex-shrink: 0;
}

.dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #FF5F57;
}

.dots i:nth-child(2) {
  background: #FEBC2E;
}

.dots i:nth-child(3) {
  background: #28C840;
}

.window-label,
.code-label {
  color: #7C828D;
  font-family: var(--font-mono);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.window-badges {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.window-badges span {
  padding: 3px 7px;
  border: 1px solid #333842;
  border-radius: var(--radius-pill);
  color: #AEB4BF;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
}

.hero-terminal {
  min-width: 0;
  padding: 18px 18px 16px;
  border-right: 1px solid #2A2D34;
}

.hero-endpoint {
  min-width: 0;
  padding: 18px 18px 14px;
  background: #121418;
}

.mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.mini-kicker {
  color: #8A909B;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.mini-status {
  color: #E7E9ED;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
}

.hero-terminal pre,
.code-card pre {
  margin: 0;
  color: #D5D9E0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.7;
  overflow-x: auto;
  scrollbar-width: thin;
}

.hero-terminal pre {
  max-height: 300px;
}

.tok-method { color: #FF7B72; font-weight: 700; }
.tok-path { color: #79C0FF; }
.tok-key { color: #7EE787; }
.tok-string { color: #A5D6FF; }
.tok-number { color: #79C0FF; }
.tok-bool { color: #FF7B72; }
.tok-token { color: #FFA657; font-weight: 700; }
.tok-comment { color: #6C7280; }
.tok-punct { color: #8B919C; }

.channel-line {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px solid #262A31;
}

.channel-line:first-of-type {
  border-top: 1px solid #262A31;
}

.channel-name {
  color: #F1F3F6;
  font-size: 12.5px;
  font-weight: 800;
}

.channel-desc {
  color: #9AA0AA;
  font-size: 10.5px;
  line-height: 1.4;
}

.mini-badge {
  justify-self: start;
  margin-top: 4px;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: rgba(204, 0, 0, 0.18);
  color: #FF9A9A;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.mini-badge--soft {
  background: #2A2D34;
  color: #AEB4BF;
}

.hero-card-note {
  margin-top: 12px;
  color: #777D88;
  font-size: 9.5px;
  line-height: 1.4;
}

/* two independent hero product cards */

.hero-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.hero-product {
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
}

.hero-product--engine {
  background: var(--code-bg);
  border: 1px solid var(--code-border);
  box-shadow: var(--shadow-code);
}

.hero-product--desktop {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-hover);
}

.hero-product--desktop .window-bar {
  background: var(--surface-muted);
  border-bottom-color: var(--border-soft);
}

.hero-product--desktop .window-label {
  color: var(--text-dim);
}

.hero-product--desktop .window-badges span {
  border-color: var(--border);
  color: var(--text-dim);
}

.hero-product--desktop .dots i {
  width: 8px;
  height: 8px;
}

.hero-product-body {
  padding: 16px 18px 14px;
}

.hero-product-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid #262A31;
}

.hero-product-title strong {
  color: #F1F3F6;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.hero-product-title span {
  color: #8A909B;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.hero-product--desktop .hero-product-title {
  border-bottom-color: var(--border-soft);
}

.hero-product--desktop .hero-product-title strong {
  color: var(--ink);
}

.hero-product--desktop .hero-product-title span {
  color: var(--text-dim);
}

.hero-product pre {
  margin: 0;
  color: #D5D9E0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.65;
  overflow-x: auto;
  scrollbar-width: thin;
}

.hero-product--desktop .mini-kicker {
  color: var(--text-dim);
}

.hero-product--desktop .mini-status {
  color: var(--ink);
}

.hero-product--desktop .mini-badge {
  margin-top: 0;
  background: var(--red-wash);
  color: var(--red);
}

.hero-product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #262A31;
  color: #8A909B;
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.4;
}

.hero-product-foot a {
  flex-shrink: 0;
  color: #FF9A9A;
  font-weight: 700;
}

.hero-product--desktop .hero-product-foot {
  border-top-color: var(--border-soft);
  color: var(--text-dim);
}

.hero-product--desktop .hero-product-foot a {
  color: var(--red);
}

.d-channel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1px 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border-soft);
}

.d-channel strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.d-channel small {
  grid-column: 1;
  color: var(--text-dim);
  font-size: 10.5px;
  line-height: 1.4;
}

.d-channel .mini-badge {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
}

/* hero product panels */

.product-panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 16px 18px 14px;
  border-radius: 18px;
}

.product-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  pointer-events: none;
}

.product-panel--engine {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(204, 0, 0, 0.13) 0%, rgba(204, 0, 0, 0) 58%),
    linear-gradient(160deg, #191A20 0%, #0E0E12 62%, #121014 100%);
  box-shadow: 0 18px 44px rgba(26, 26, 26, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.product-panel--desktop {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(110% 80% at 100% 0%, rgba(204, 0, 0, 0.06) 0%, rgba(204, 0, 0, 0) 55%),
    linear-gradient(165deg, #FFFFFF 0%, #F8F5F5 100%);
  box-shadow: 0 28px 64px rgba(22, 0, 5, 0.36), inset 0 1px 0 #FFFFFF;
}

.product-panel-head {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.product-panel-icon {
  display: block;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(120, 0, 14, 0.35);
}

.product-panel-icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.product-panel-id {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.product-panel-kicker {
  color: #FF8B9A;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
}

.product-panel-name {
  overflow: hidden;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-panel-badge {
  padding: 4px 8px;
  border: 1px solid rgba(255, 136, 152, 0.3);
  border-radius: var(--radius-pill);
  background: rgba(255, 45, 70, 0.1);
  color: #FFA1AD;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.product-panel--desktop .product-panel-kicker {
  color: var(--red);
}

.product-panel--desktop .product-panel-name {
  color: var(--ink);
}

.product-panel--desktop .product-panel-badge {
  border-color: rgba(204, 0, 0, 0.16);
  background: var(--red-wash);
  color: var(--red);
}

.product-panel-copy {
  margin: 10px 0 0;
  color: #B9B3BC;
  font-size: 12px;
  line-height: 1.5;
  text-wrap: pretty;
}

.product-panel--desktop .product-panel-copy {
  color: #5C5C60;
}

.product-panel-points {
  display: flex;
  flex-direction: column;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.product-panel-points li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.product-panel-points li:first-child {
  border-top: 0;
  padding-top: 0;
}

.product-panel-glyph {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid rgba(255, 110, 130, 0.22);
  border-radius: 7px;
  background: rgba(255, 45, 70, 0.08);
  color: #FF8B9A;
}

.product-panel-glyph svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-panel-points li > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  color: #8F8992;
  font-size: 10.5px;
  line-height: 1.35;
}

.product-panel-points strong {
  color: #F2EEF2;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.35;
}

.product-panel--desktop .product-panel-points li {
  border-top-color: rgba(20, 0, 5, 0.08);
}

.product-panel--desktop .product-panel-glyph {
  border-color: rgba(204, 0, 0, 0.12);
  background: var(--red-wash);
  color: var(--red);
}

.product-panel--desktop .product-panel-points li > span:last-child {
  color: #6B6B70;
}

.product-panel--desktop .product-panel-points strong {
  color: var(--ink);
}

.product-panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #8F8992;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.4;
}

.product-panel-foot a {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  color: #FF9AA6;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.product-panel-foot a span {
  transition: transform 0.15s ease;
}

.product-panel-foot a:hover span {
  transform: translateX(3px);
}

.product-panel--desktop .product-panel-foot {
  border-top-color: rgba(20, 0, 5, 0.1);
  color: #77777C;
}

.product-panel--desktop .product-panel-foot a {
  color: var(--red);
}

/* hero product panels — stacked below the hero copy */

.hero-screen .hero-copy {
  flex: 1 1 54%;
  width: 100%;
  max-width: 640px;
  align-self: center;
}

.hero-screen .hero-visual {
  flex: 1 1 46%;
  width: 100%;
  min-width: 0;
}

.hero-visual-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-visual-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.hero-screen .hero-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  gap: 14px;
}

.hero-screen .product-panel {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: start;
  gap: 14px 18px;
  padding: 14px 18px 12px;
}

.hero-screen .hero-actions {
  display: none;
}

.hero-screen .product-panel-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(26, 26, 26, 0.16);
}

.product-panel--desktop .product-panel-icon {
  box-shadow: 0 10px 24px rgba(26, 26, 26, 0.12);
}

.product-panel-body {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
}

.product-panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.product-panel-top .product-panel-badge {
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-screen .product-panel-name {
  font-size: 19px;
}

.hero-screen .product-panel-copy {
  margin-top: 8px;
}

.hero-screen .product-panel-points {
  margin-top: 8px;
}

.hero-screen .product-panel-foot {
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 8px;
  border-top: 0;
}

.product-panel--desktop {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(204, 0, 0, 0.07), rgba(204, 0, 0, 0) 56%),
    linear-gradient(160deg, #1A1B20 0%, #101116 62%, #0C0D10 100%);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.product-panel--desktop .product-panel-kicker {
  color: #B9B3BC;
}

.product-panel--desktop .product-panel-name {
  color: #FFFFFF;
}

.product-panel--desktop .product-panel-badge {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
}

.product-panel--desktop .product-panel-copy {
  color: #B9B3BC;
}

.product-panel--desktop .product-panel-foot {
  color: #8F8992;
}

.product-panel--desktop .product-panel-foot a {
  color: var(--red-bright);
}

/* ---------- trust bar ---------- */

.trust-bar {
  background: var(--surface);
  border-top: 1px solid #E9E9E9;
  border-bottom: 1px solid #E9E9E9;
  padding: 24px 0 20px;
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 28px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
}

.trust-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--red-wash);
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
}

.trust-evidence {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.6;
}

/* ---------- product cards ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 300px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-media {
  width: 100%;
  margin: 0;
  padding: 20px;
  background: var(--surface-warm);
  border-bottom: 1px solid var(--border-soft);
}

.product-media img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 22px 30px 30px;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(204, 0, 0, 0.35);
  box-shadow: var(--shadow-hover);
}

.product-card h3 {
  margin: 16px 0 10px;
  font-size: 26px;
}

.product-line {
  color: var(--text-soft);
  font-size: 15.5px;
  line-height: 1.65;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 20px 0 26px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
}

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-bottom: 18px;
}

.product-index {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.product-role {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.product-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
  color: var(--text-dim);
  font-size: 12px;
}

.product-meta strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.product-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-top: auto;
  padding-top: 22px;
}

.product-actions .text-link {
  margin-top: 0;
}

.text-link--muted {
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
}

.text-link--muted:hover {
  color: var(--red);
}

.independence-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -6px 0 24px;
}

.independence-row span {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.calculator-help + .btn,
.price-card .btn {
  margin-top: auto;
}

.pricing-footnote {
  margin-top: 18px;
  color: var(--text-dim);
  font-size: 12.5px;
  line-height: 1.6;
  text-align: center;
}

/* ---------- feature cards ---------- */

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

.feature-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.section--white .feature-card {
  background: var(--surface-muted);
}

.icon-tile {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 10px;
  background: var(--red-wash);
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 800;
}

.feature-card h3 {
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

/* ---------- split spotlights ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  gap: 52px;
  align-items: center;
}

.split-copy h2 {
  margin-bottom: 16px;
}

.split-copy .chip-row {
  margin-top: 22px;
}

.split-copy .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.code-card {
  min-width: 0;
  background: var(--code-bg);
  border: 1px solid var(--code-border);
  border-radius: 14px;
  box-shadow: var(--shadow-code);
  overflow: hidden;
}

.code-head {
  background: var(--code-bar);
}

.code-head .dots i {
  width: 9px;
  height: 9px;
}

.code-badge {
  margin-left: auto;
  padding: 3px 8px;
  border: 1px solid #3A3F48;
  border-radius: var(--radius-pill);
  color: #9AA0AA;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
}

.code-card pre {
  padding: 22px 22px 16px;
  font-size: 12.5px;
  line-height: 1.78;
  max-height: 420px;
}

.code-foot {
  padding: 0 22px 18px;
  color: #9AA0AA;
  font-size: 11px;
  line-height: 1.5;
}

.code-docs-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  color: #FF8A95;
  font-weight: 700;
}

.code-docs-link:hover {
  color: #FFF;
}

/* ---------- endpoint dark ---------- */

.endpoint-spotlight {
  position: relative;
  overflow: hidden;
}

.endpoint-spotlight::before {
  content: "";
  position: absolute;
  right: -180px;
  top: -80px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204, 0, 0, 0.18), transparent 68%);
  pointer-events: none;
}

.endpoint-spotlight .container {
  position: relative;
  z-index: 1;
}

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

.channel-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: #232323;
  border: 1px solid #3A3A3A;
  border-radius: 14px;
}

.channel-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.channel-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(204, 0, 0, 0.16);
  color: #FF9A9A;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.status {
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.status--deny,
.status--block {
  background: rgba(204, 0, 0, 0.18);
  color: #FF9A9A;
}

.status--mask {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.status--soft {
  background: #2A2D34;
  color: #AEB4BF;
}

.channel-card h3 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 18px;
}

.channel-card p {
  color: #BDBDBD;
  font-size: 13px;
  line-height: 1.6;
}

.strength-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 34px 0 28px;
  padding: 22px 0;
  border-top: 1px solid #3A3A3A;
  border-bottom: 1px solid #3A3A3A;
}

.strength-label {
  display: block;
  margin-bottom: 6px;
  color: #FF9A9A;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.strength-note p {
  color: #D0D0D0;
  font-size: 14px;
  line-height: 1.65;
}

.actions--on-dark {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- deployment ---------- */

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

.deploy-card {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.deploy-tag {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.deploy-card h3 {
  margin-bottom: 8px;
}

.deploy-card p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

/* ---------- PII explorer ---------- */

.pii-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pii-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.pii-chip {
  padding: 9px 15px;
  border: 1.5px solid #3A3A3A;
  border-radius: var(--radius-pill);
  background: #232323;
  color: #AFAFAF;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.pii-chip:hover {
  border-color: var(--red);
  color: #fff;
  background: rgba(204, 0, 0, 0.14);
}

.pii-chip.is-active {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.pii-panel {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 32px;
  padding: 30px;
  background: #1E1E1E;
  border: 1px solid #333333;
  border-radius: 14px;
  color: #fff;
}

.pii-panel-main {
  min-width: 0;
}

.pii-code {
  display: inline-block;
  margin-bottom: 12px;
  color: #FF9A9A;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.pii-panel h3 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 26px;
}

.pii-panel p {
  max-width: 650px;
  color: #C9CED8;
  font-size: 15px;
  line-height: 1.7;
}

.pii-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.pii-layer {
  padding: 5px 10px;
  border: 1px solid #3A3F48;
  border-radius: var(--radius-pill);
  color: #E5E7EB;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
}

.pii-layer--soft {
  color: #9AA0AA;
}

.pii-panel-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding-left: 28px;
  border-left: 1px solid #333333;
}

.pii-side-label {
  color: #8A909B;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.pii-token {
  display: block;
  padding: 14px 16px;
  border: 1px solid #3A3F48;
  border-radius: 10px;
  background: #16181D;
  color: #FFA657;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  overflow-x: auto;
}

.pii-note {
  color: #9AA0AA !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

/* ---------- exits ---------- */

.exit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.exit-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.exit-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.exit-card-head h3 {
  font-size: 17px;
}

.exit-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.exit-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
}

.exit-list li:last-child {
  border-bottom: none;
}

.exit-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--red-wash);
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
}

.exit-list strong {
  display: block;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.3;
}

.exit-list small {
  display: block;
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.4;
}

/* ---------- pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 22px;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.price-card--featured {
  border-color: rgba(204, 0, 0, 0.35);
  box-shadow: 0 12px 34px rgba(204, 0, 0, 0.08);
}

.price-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.price-type {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-card h3 {
  font-size: 26px;
}

.price-sub {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 14px;
}

.example-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--red-wash);
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  vertical-align: 1px;
}

.price-card .check-list {
  margin-bottom: 28px;
}

.price-card .btn {
  margin-top: auto;
}

.calculator {
  margin: 18px 0 24px;
  padding: 18px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--surface-muted);
}

.calculator label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.calculator-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.calculator input {
  width: 110px;
  height: 46px;
  padding: 8px 12px;
  border: 1.5px solid #DDDDDD;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}

.calculator input:focus {
  border-color: var(--red);
  outline: 3px solid rgba(204, 0, 0, 0.14);
  outline-offset: 0;
}

.unit-price {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
}

.unit-price small {
  color: var(--text-dim);
  font-weight: 500;
}

.calculator-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.calculator-total span {
  color: var(--text-soft);
  font-size: 12.5px;
  font-weight: 700;
}

.calculator-total output {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.calculator-help {
  margin-top: 8px;
  color: var(--text-dim);
  font-size: 11.5px;
  line-height: 1.55;
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] {
  border-color: rgba(204, 0, 0, 0.28);
}

.faq-answer {
  padding: 0 20px 20px;
  border-top: 1px solid var(--border-soft);
}

.faq-answer p {
  padding-top: 16px;
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.75;
}

/* ---------- CTA ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(70% 120% at 18% 0%, rgba(255, 255, 255, 0.12), transparent 62%),
    radial-gradient(60% 100% at 100% 100%, rgba(0, 0, 0, 0.12), transparent 65%),
    var(--red);
  color: #fff;
  padding: clamp(56px, 7vw, 88px) 0;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 28px);
  opacity: 0.7;
  -webkit-mask-image: radial-gradient(82% 120% at 50% 44%, transparent 0 18%, #000 68%);
  mask-image: radial-gradient(82% 120% at 50% 44%, transparent 0 18%, #000 68%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  text-align: center;
}

.cta-chip {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.cta-band h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(28px, 4vw, 40px);
}

.cta-band p {
  max-width: 620px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.cta-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
}

.cta-note:hover {
  color: #fff;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 56px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 0.9fr;
  gap: 34px;
}

.brand--footer .brand-word {
  color: #fff;
}

.brand--footer .brand-mark {
  color: var(--red);
}

.brand--footer .brand-word span {
  color: var(--red);
}

.footer-brand p {
  max-width: 300px;
  margin: 16px 0 20px;
  color: #B5B5B5;
  font-size: 14px;
  line-height: 1.7;
}

.socials {
  display: flex;
  gap: 8px;
}

.socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #3A3A3A;
  border-radius: 9px;
  color: #B5B5B5;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.socials a:hover {
  border-color: var(--red);
  background: rgba(204, 0, 0, 0.14);
  color: #fff;
}

.socials svg {
  width: 18px;
  height: 18px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-col h4 {
  margin-bottom: 6px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col a,
.footer-link {
  border: none;
  background: none;
  padding: 0;
  color: #B5B5B5;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  text-align: left;
  transition: color 0.15s ease;
}

.footer-col a:hover,
.footer-link:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid #333333;
  color: #8A8A8A;
  font-size: 12.5px;
}

/* ---------- dialogs ---------- */

.modal {
  width: min(100% - 40px, 640px);
  max-height: 88vh;
  margin: auto;
  padding: 0;
  border: none;
  border-radius: var(--radius-lg);
  background: transparent;
  color: var(--ink);
  overflow: visible;
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(2px);
}

.modal[open] {
  animation: modalIn 0.25s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.modal-inner {
  max-height: 88vh;
  overflow-y: auto;
  padding: 30px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.modal-head .eyebrow {
  margin-bottom: 10px;
}

.modal-head h2 {
  margin-bottom: 6px;
  font-size: 28px;
}

.modal-head p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}

.icon-button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: #F0F0F0;
  color: #555;
  transition: background 0.15s ease, color 0.15s ease;
}

.icon-button:hover {
  background: #E2E2E2;
  color: var(--ink);
}

.icon-button svg {
  width: 18px;
  height: 18px;
}

.choice-block {
  margin-bottom: 18px;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.req {
  color: var(--red);
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice {
  padding: 9px 14px;
  border: 1.5px solid #DDDDDD;
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.choice:hover {
  border-color: var(--red);
  color: var(--red);
}

.choice.is-active {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.field .optional {
  color: var(--text-dim);
  font-weight: 500;
}

.field input,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid #DDDDDD;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 14.5px;
  font-weight: 400;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  resize: vertical;
  min-height: 84px;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.12);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 18px;
  color: var(--text-soft);
  font-size: 12.5px;
  line-height: 1.55;
}

.consent input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--red);
  flex-shrink: 0;
}

.consent-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.consent-copy label {
  cursor: pointer;
}

.link-button {
  border: none;
  background: none;
  padding: 0;
  color: var(--red);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-note {
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 11.5px;
  line-height: 1.55;
}

.form-status {
  display: none;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  line-height: 1.55;
}

.form-status.is-ok {
  display: block;
  background: rgba(30, 126, 52, 0.08);
  border: 1px solid rgba(30, 126, 52, 0.25);
  color: #1E7E34;
}

.form-status a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-status.is-error {
  display: block;
  background: rgba(204, 0, 0, 0.06);
  border: 1px solid rgba(204, 0, 0, 0.22);
  color: var(--red);
}

.modal--privacy {
  width: min(100% - 40px, 720px);
}

.privacy-copy h3 {
  margin: 22px 0 6px;
  font-size: 16px;
}

.privacy-copy h3:first-child {
  margin-top: 0;
}

.privacy-copy p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.75;
}

.privacy-copy a {
  color: var(--red);
  font-weight: 700;
}

/* ---------- reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ---------- product pages ---------- */

.nav-link[aria-current="page"] {
  color: var(--red);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.breadcrumb a {
  color: var(--text-soft);
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--red);
}

.breadcrumb span[aria-hidden] {
  color: var(--text-faint);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 4.4vw, 58px) 0 clamp(44px, 5vw, 66px);
  background: var(--canvas);
  border-bottom: 1px solid var(--border);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -180px;
  top: -140px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204, 0, 0, 0.08), transparent 68%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 52px;
  align-items: center;
}

.page-hero h1 {
  margin-bottom: 18px;
}

.page-lead {
  max-width: 610px;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.65;
}

.page-hero .chip-row {
  margin-top: 22px;
}

.page-hero-media {
  margin: 0;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  box-shadow: var(--shadow-hover);
}

.page-hero-media img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.page-hero-media figcaption {
  margin-top: 12px;
  padding: 0 2px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.5;
}

.page-hero--dark {
  background: var(--ink);
  border-bottom-color: #2A2A2A;
  color: #fff;
}

.page-hero--dark::after {
  background: radial-gradient(circle, rgba(204, 0, 0, 0.3), transparent 68%);
}

.page-hero--dark .breadcrumb {
  color: #A9A9A9;
}

.page-hero--dark .breadcrumb a {
  color: #E2E2E2;
}

.page-hero--dark .breadcrumb span[aria-hidden] {
  color: #6E6E6E;
}

.page-hero--dark h1 {
  color: #fff;
}

.page-hero--dark .page-lead {
  color: #C9C9C9;
}

.page-hero--dark .chip {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.28);
  color: #F1F1F1;
}

.page-hero--dark .page-hero-media {
  background: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.page-subnav {
  position: sticky;
  top: var(--nav-height);
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.page-subnav-inner {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-subnav-inner::-webkit-scrollbar {
  display: none;
}

.page-subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
}

.page-subnav a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.page-subnav a.page-subnav-docs {
  gap: 4px;
  margin-left: auto;
  color: var(--red);
}

.page-subnav a.page-subnav-docs:hover {
  color: var(--red-dark);
  border-bottom-color: var(--red);
}

.page-subnav a.page-subnav-docs span {
  color: var(--red);
  font-size: 12px;
}

/* product summary blocks on the home page */

.product-block-grid {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: clamp(30px, 4.5vw, 60px);
  align-items: center;
}

.product-block h2 {
  margin-bottom: 14px;
}

.product-block-copy .lede {
  margin-bottom: 24px;
}

.product-points {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border-soft);
}

.product-points li {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-soft);
}

.product-points strong {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.product-points span {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}

.product-block-media {
  margin: 0;
  padding: 14px;
  background: var(--surface-muted);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.product-block-media img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.product-block-media figcaption {
  margin-top: 11px;
  padding: 0 4px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.product-block--dark .lede {
  color: #C9C9C9;
}

.product-block--dark .product-points {
  border-top-color: #3A3A3A;
}

.product-block--dark .product-points li {
  border-bottom-color: #3A3A3A;
}

.product-block--dark .product-points strong {
  color: #fff;
}

.product-block--dark .product-points span {
  color: #BDBDBD;
}

.product-block--dark .product-block-media {
  background: #232323;
  border-color: #3A3A3A;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.product-block--dark .product-block-media figcaption {
  color: #9A9A9A;
}

.product-block--dark .fine-note {
  color: #A9A9A9;
}

.actions:not(.actions--on-dark) {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* compact licensing strip */

.license-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.license-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.license-card:hover {
  transform: translateY(-2px);
  border-color: rgba(204, 0, 0, 0.35);
  box-shadow: var(--shadow-hover);
}

.license-card--desktop {
  border-color: rgba(204, 0, 0, 0.26);
}

.license-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.license-meta {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.license-card h3 {
  font-size: 24px;
}

.license-card h3 small {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}

.license-card p {
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.65;
}

.license-card .text-link {
  margin-top: auto;
  padding-top: 14px;
}

.license-single {
  max-width: 720px;
}

#lisans .split {
  align-items: stretch;
}

.license-single .check-list {
  margin-bottom: 28px;
}

.faq-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--text-dim);
  font-size: 13px;
}

.faq-more .text-link {
  font-size: 13px;
}

/* product page building blocks */

.feature-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.step-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  border-top: 1px solid var(--border-soft);
}

.step-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-soft);
}

.step-list li::before {
  counter-increment: step;
  content: "0" counter(step);
  padding-top: 2px;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.step-list strong {
  display: block;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 800;
}

.step-list span {
  display: block;
  margin-top: 3px;
  color: var(--text-soft);
  font-size: 13.5px;
  line-height: 1.6;
}

.step-list .mono {
  color: var(--ink);
}

.step-list--two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 34px;
}

.step-list--two li {
  grid-template-columns: 30px 1fr;
}

.limit-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.limit-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.6;
}

.limit-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.rule-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: rule;
}

.rule-list li {
  position: relative;
  padding: 20px 22px 20px 58px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.rule-list li::before {
  counter-increment: rule;
  content: "0" counter(rule);
  position: absolute;
  left: 22px;
  top: 21px;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.rule-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 800;
}

.rule-list span {
  color: var(--text-soft);
  font-size: 13.5px;
  line-height: 1.6;
}

.rule-list li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.strength-card {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.strength-card--accent {
  border-color: rgba(204, 0, 0, 0.3);
  box-shadow: 0 12px 34px rgba(204, 0, 0, 0.08);
}

.strength-card .product-chip {
  margin-bottom: 14px;
}

.strength-card h3 {
  margin-bottom: 8px;
}

.strength-card p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.strength-card .chip-row {
  margin-top: 14px;
}

.strength-card .check-list {
  margin-bottom: 0;
}

.callout {
  margin-top: 26px;
  padding: 20px 22px;
  background: var(--surface-warm);
  border-left: 3px solid var(--red);
  border-radius: 0 10px 10px 0;
}

.callout strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 800;
}

.callout p {
  color: var(--text-soft);
  font-size: 13.5px;
  line-height: 1.65;
}

.aside-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--red-border);
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(204, 0, 0, 0.07);
}

.aside-label {
  display: block;
  margin-bottom: 14px;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.aside-card h3 {
  margin-bottom: 10px;
}

.aside-card p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
}

.aside-card .chip-row {
  margin-top: 18px;
}

.channel-card ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.channel-card li {
  position: relative;
  padding-left: 14px;
  color: #A9A9A9;
  font-size: 12px;
  line-height: 1.55;
}

.channel-card li::before {
  content: "·";
  position: absolute;
  left: 2px;
  color: #FF9A9A;
  font-weight: 700;
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .brand-tagline {
    display: none;
  }

  .primary-nav {
    gap: 20px;
  }

  .hero-terminal pre {
    font-size: 10px;
  }

  .hero-grid {
    gap: 36px;
  }

  .feature-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-grid {
    grid-template-columns: 1.3fr 0.8fr 0.8fr 0.9fr;
    gap: 24px;
  }
}

@media (max-width: 920px) {
  :root {
    --gutter: 20px;
  }

  .page-hero-grid,
  .product-block-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .page-hero-media,
  .product-block-media {
    max-width: 680px;
    margin-inline: auto;
  }

  .step-list--two {
    grid-template-columns: 1fr;
  }


  .primary-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

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

  .hero-copy {
    align-items: flex-start;
  }

  .hero-card,
  .hero-stack {
    max-width: 680px;
    margin-inline: auto;
  }

  .split {
    gap: 34px;
  }

  .pii-panel {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .pii-panel-side {
    padding-left: 0;
    padding-top: 20px;
    border-left: none;
    border-top: 1px solid #333333;
  }

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

  .license-grid,
  .strength-grid,
  .rule-list,
  .feature-grid--two {
    grid-template-columns: 1fr;
  }

  .rule-list li:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-facts {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 26px;
  }

  .hero-facts li,
  .hero-facts li + li {
    padding: 0;
    border-left: 0;
  }

  .hero-product-body {
    padding: 14px 16px 12px;
  }

  .hero-product pre {
    font-size: 10px;
  }

  .product-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .product-points li {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .product-block h2 {
    margin-bottom: 12px;
  }

  .page-subnav-inner {
    gap: 18px;
  }

  .page-hero-media {
    padding: 12px;
  }

  .breadcrumb {
    margin-bottom: 18px;
  }

  .product-meta strong {
    text-align: left;
  }

  .pricing-footnote {
    text-align: left;
  }

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

  .hero-terminal {
    border-right: none;
    border-bottom: 1px solid #2A2D34;
  }

  .hero-terminal pre {
    max-height: none;
    font-size: 10.5px;
  }

  .product-grid,
  .feature-grid,
  .feature-grid--four,
  .endpoint-grid,
  .deployment-grid,
  .exit-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    padding: 24px;
  }

  .product-media {
    padding: 14px;
  }

  .product-card-body {
    padding: 20px 22px 24px;
  }

  .trust-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
  }

  .trust-item {
    white-space: normal;
    font-size: 12.5px;
  }

  .strength-note {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .modal {
    width: min(100% - 24px, 640px);
    max-height: 92vh;
  }

  .modal-inner {
    padding: 22px;
    max-height: 92vh;
  }

  .modal-head h2 {
    font-size: 24px;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

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

  .cta-actions .btn {
    width: 100%;
  }

  .calculator-row {
    flex-wrap: wrap;
  }

  .calculator-total output {
    font-size: 24px;
  }

  .pii-chips {
    gap: 7px;
  }

  .pii-chip {
    padding: 8px 12px;
    font-size: 11px;
  }

  .pii-panel {
    padding: 22px;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 29px;
  }

  .calculator-row {
    gap: 8px;
  }

  .calculator-row input {
    width: 96px;
  }

  .unit-price {
    font-size: 13px;
  }
}

@media (max-width: 440px) {
  .brand-word {
    font-size: 23px;
  }

  .brand-mark {
    width: 44px;
    height: auto;
  }

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

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

  .choice {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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

/* ---------- one-screen home banner ---------- */

html:has(body.home) {
  height: 100%;
  overflow: hidden;
}

body.home {
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.site-header--overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.site-header--overlay.is-scrolled {
  background: transparent;
  box-shadow: none;
}

.site-header--overlay .brand-mark {
  color: #FFF;
}

.site-header--overlay .brand-word {
  color: #FFF;
}

.site-header--overlay .brand-word span {
  color: var(--red-bright);
}

.site-header--overlay .brand-tagline {
  color: rgba(255, 255, 255, 0.58);
  border-left-color: rgba(255, 255, 255, 0.22);
}

.site-header--overlay .nav-link {
  color: rgba(255, 255, 255, 0.82);
}

.site-header--overlay .nav-link:hover,
.site-header--overlay .nav-link[aria-current="page"] {
  color: #FFF;
}

.site-header--overlay .menu-toggle {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.06);
}

.site-header--overlay .menu-toggle span {
  background: #FFF;
}

.hero--screen {
  height: 100vh;
  height: 100svh;
  min-height: 0;
  padding: 0;
}

.hero-screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-top: calc(var(--nav-height) + clamp(18px, 3.6vh, 40px));
  padding-bottom: clamp(12px, 2.4vh, 22px);
}

.hero-screen .hero-grid {
  display: flex;
  flex: 1 1 auto;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: clamp(30px, 4.4vw, 64px);
  min-height: 0;
}

.hero--screen h1 {
  margin-bottom: clamp(12px, 2vh, 20px);
  font-size: clamp(32px, 4.7vw, 56px);
}

.hero--screen .hero-lead {
  max-width: 560px;
  font-size: clamp(15px, 1.3vw, 17px);
}

.hero--screen .hero-actions {
  margin-top: clamp(16px, 3vh, 26px);
}

.hero-demo-mobile {
  display: none;
}

.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: clamp(12px, 2vh, 18px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-screen .hero-facts {
  margin-top: 0;
}

.hero-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.5;
}

.hero-legal a:hover,
.hero-legal-link:hover {
  color: #FFF;
}

.hero-legal-link {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: inherit;
  font-weight: 600;
}

.hero-legal-sep {
  color: rgba(255, 255, 255, 0.28);
}

.hero-mobile-products {
  display: none;
}

.hero-mobile-card {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) auto;
  column-gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(12, 12, 14, 0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-mobile-card--desktop {
  background: rgba(16, 16, 19, 0.62);
}

.hero-mobile-icon {
  display: block;
  width: 60px;
  height: 60px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.hero-mobile-icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-mobile-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.hero-mobile-label {
  color: #FF8C9A;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
}

.hero-mobile-title {
  margin: 0;
  color: #FFF;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.hero-mobile-meta {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10.5px;
  line-height: 1.4;
}

.hero-mobile-arrow {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 18px;
  transition: transform 0.15s ease;
}

.hero-mobile-card:hover .hero-mobile-arrow {
  transform: translateX(3px);
}

@media (max-width: 920px) {
  .hero-screen {
    padding-top: calc(var(--nav-height) + clamp(12px, 2.6vh, 26px));
  }

  .hero-screen .hero-grid {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    justify-content: center;
    gap: clamp(22px, 3.6vh, 34px);
  }

  .hero-visual {
    display: none;
  }

  .hero-screen .hero-copy {
    flex: 0 0 auto;
    max-width: 820px;
  }

  .hero-screen .hero-actions {
    display: flex;
    margin-top: 18px;
  }

  .hero-screen .hero-actions .btn {
    width: min(100%, 330px);
  }

  .hero-product-cta {
    display: none;
  }

  .hero-demo-mobile {
    display: inline-flex;
  }

  .hero-mobile-products {
    display: grid;
    flex: 0 0 auto;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 820px;
    gap: 10px;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
  }

  .hero-bottom {
    justify-content: flex-start;
    padding-top: 12px;
  }

  .hero-screen .hero-facts {
    display: none;
  }

  .hero-legal {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (min-width: 921px) and (max-height: 849px) {
  .hero-screen .hero-grid {
    gap: clamp(24px, 3vw, 44px);
  }

  .hero--screen h1 {
    font-size: clamp(30px, 4vw, 48px);
  }

  .hero--screen .hero-lead {
    font-size: 16px;
  }

  .hero-screen .product-panel {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 12px 16px;
    padding: 12px 16px 10px;
  }

  .hero-screen .product-panel-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
  }

  .hero-screen .product-panel-name {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .hero--screen h1 {
    font-size: 32px;
  }
}

@media (max-width: 360px) {
  .hero--screen h1 {
    font-size: 29px;
  }
}

@media (max-height: 600px) {
  .hero-screen {
    padding-top: calc(var(--nav-height) + 8px);
    padding-bottom: 10px;
  }

  .hero--screen h1 {
    margin-bottom: 8px;
    font-size: clamp(26px, 4vw, 36px);
  }

  .hero--screen .hero-lead {
    font-size: 14px;
    line-height: 1.5;
  }

  .hero--screen .hero-actions {
    margin-top: 12px;
  }

  .hero-visual,
  .hero-mobile-products,
  .hero-bottom {
    display: none;
  }
}

/* ---------- home motion ---------- */

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

/* quiet margin texture: dot patches, two crosses and two corner ticks */
.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15'%3E%3Cpath d='M7.5 0v15M0 7.5h15' stroke='%23FFFFFF' stroke-opacity='.3' stroke-width='1'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15'%3E%3Cpath d='M7.5 0v15M0 7.5h15' stroke='%23FF3347' stroke-opacity='.5' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 15px 15px;
  background-position: 33% 20%, 89% 82%;
}

.hero-pattern::before,
.hero-pattern::after {
  content: "";
  position: absolute;
  width: min(450px, 33vw);
  aspect-ratio: 1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.24) 1px, transparent 1.6px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(closest-side, #000 6%, transparent 76%);
  mask-image: radial-gradient(closest-side, #000 6%, transparent 76%);
  opacity: 0.7;
}

.hero-pattern::before {
  top: -70px;
  right: -80px;
}

.hero-pattern::after {
  bottom: -90px;
  left: -90px;
}

@media (min-width: 921px) {
  .hero-screen::before,
  .hero-screen::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    pointer-events: none;
  }

  .hero-screen::before {
    top: calc(var(--nav-height) + 14px);
    left: -12px;
    border-width: 1px 0 0 1px;
  }

  .hero-screen::after {
    right: -12px;
    bottom: 8px;
    border-width: 0 1px 1px 0;
  }
}

@media (max-width: 920px) {
  .hero-pattern {
    background-image: none;
  }

  .hero-pattern::before {
    width: 240px;
    top: -60px;
    right: -70px;
    background-size: 20px 20px;
  }

  .hero-pattern::after {
    display: none;
  }
}

/* masking marks: one floating token and a redacted snippet */
.hero-mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-token {
  position: absolute;
  right: 7%;
  bottom: 21%;
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(8, 8, 10, 0.28);
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  opacity: 0.6;
}

.hero-token em {
  color: rgba(255, 51, 71, 0.38);
  font-style: normal;
}

.hero-redact {
  position: absolute;
  left: 30%;
  bottom: 15%;
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 186px;
  opacity: 0.45;
}

.hero-redact::before {
  content: "MASKED";
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.18);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero-redact > span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-redact b {
  width: 32px;
  color: rgba(255, 255, 255, 0.22);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.hero-redact i {
  flex: 1;
  height: 7px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0 10px, transparent 10px 15px);
}

.hero-redact > span:nth-child(2) i {
  flex: 0.74;
  background: repeating-linear-gradient(90deg, rgba(255, 51, 71, 0.2) 0 10px, transparent 10px 15px);
}

.hero-redact > span:nth-child(3) i {
  flex: 0.88;
}

@media (max-width: 920px) {
  .hero-mask {
    display: none;
  }
}

@media (max-height: 649px) {
  .hero-mask {
    display: none;
  }
}

/* brand lockup: the red ribbon mark sits on the eyebrow row, left of the pill */
.hero-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-brand .eyebrow {
  margin-bottom: 0;
}

.hero-logo-mark {
  flex: 0 0 auto;
  display: block;
  width: min(112px, 9vw);
  aspect-ratio: 360 / 159;
  background: url('../img/turkpii-logo.webp') center / contain no-repeat;
  opacity: 0.9;
  pointer-events: none;
}

@media (max-width: 920px) {
  .hero-logo-mark {
    display: none;
  }
}

.hero-sparkles {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  pointer-events: none;
}

.hero-sparkles i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: calc(var(--z, 3px) * 1.45);
  height: calc(var(--z, 3px) * 1.45);
  border-radius: 50%;
  background: radial-gradient(circle, #FF6B7C 0%, #F22641 34%, rgba(190, 0, 22, 0.6) 62%, rgba(160, 0, 18, 0) 82%);
  box-shadow: 0 0 7px 1px rgba(240, 25, 55, 0.3), 0 0 18px 3px rgba(170, 0, 22, 0.12);
  opacity: 0.05;
  animation: sparkle var(--t, 5s) ease-in-out infinite,
    sparkleDrift calc(var(--t, 5s) * 0.7) ease-in-out infinite;
  animation-delay: var(--d, 0s), calc(var(--d, 0s) * 0.6);
  will-change: opacity, transform, translate;
}

@keyframes sparkleDrift {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 var(--dy, -8px);
  }
}

.hero-sparkles i:nth-child(3n) {
  --dy: -5px;
}

.hero-sparkles i:nth-child(3n + 1) {
  --dy: -10px;
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0.04;
    transform: scale(0.7);
  }

  45% {
    opacity: 0.65;
    transform: scale(1.08);
  }

  62% {
    opacity: 0.22;
    transform: scale(0.9);
  }
}

/* shooting stars: thin red trails with a small bright head, long idle gaps */
.hero-meteors {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  pointer-events: none;
}

.hero-meteors i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--len, 150px);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 90, 110, 0) 0%, rgba(255, 110, 130, 0.14) 34%, rgba(255, 120, 140, 0.62) 72%, rgba(255, 214, 222, 1) 100%);
  filter: drop-shadow(0 0 4px rgba(255, 60, 90, 0.45));
  opacity: 0;
  animation: meteor var(--t, 18s) linear infinite;
  animation-delay: var(--d, 0s);
  will-change: transform, opacity;
}

.hero-meteors i::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: #FFF0F2;
  box-shadow: 0 0 7px 2px rgba(255, 90, 115, 0.55), 0 0 16px 4px rgba(200, 0, 26, 0.28);
}

@keyframes meteor {
  0% {
    opacity: 0;
    transform: rotate(var(--a, 150deg)) translate3d(0, 0, 0);
  }

  3% {
    opacity: 0.9;
  }

  13% {
    opacity: 0.8;
  }

  20% {
    opacity: 0;
    transform: rotate(var(--a, 150deg)) translate3d(var(--dx, 260px), 0, 0);
  }

  100% {
    opacity: 0;
    transform: rotate(var(--a, 150deg)) translate3d(var(--dx, 220px), 0, 0);
  }
}

.hero-copy {
  animation: heroCopyIn 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes heroCopyIn {
  from {
    opacity: 0.8;
    translate: 0 10px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

.product-panel {
  animation: panelIn 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-panel--engine {
  animation-delay: 0.08s;
}

.product-panel--desktop {
  animation-delay: 0.16s;
}

@keyframes panelIn {
  from {
    opacity: 0.84;
    translate: 0 10px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

.product-panel:hover {
  border-color: rgba(255, 120, 138, 0.5);
  transform: translateY(-3px);
}

.product-panel--desktop:hover {
  border-color: rgba(255, 255, 255, 0.26);
}

.product-panel-icon {
  animation: iconFloat 6s ease-in-out infinite alternate;
  transition: transform 0.3s ease;
}

.product-panel--engine .product-panel-icon {
  animation-delay: -1.2s;
}

.product-panel--desktop .product-panel-icon {
  animation-delay: -3.4s;
}

@keyframes iconFloat {
  from {
    translate: 0 0;
  }

  to {
    translate: 0 -3px;
  }
}

.product-panel:hover .product-panel-icon {
  transform: scale(1.035);
}

.hero-mobile-card {
  animation: panelIn 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.hero-mobile-card:nth-child(2) {
  animation-delay: 0.1s;
}

.hero-mobile-card:hover {
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .hero-sparkles i,
  .hero-copy,
  .product-panel,
  .product-panel-icon,
  .hero-mobile-card {
    animation: none !important;
  }

  .product-panel,
  .product-panel-icon,
  .hero-mobile-card {
    transition: none !important;
  }

  .product-panel:hover,
  .hero-mobile-card:hover {
    transform: none;
  }

  .hero-meteors {
    display: none;
  }
}

/* =========================================================
   Engine landing page
   ========================================================= */

/* ---------- hero ---------- */

.engine-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 5vw, 72px) 0 clamp(52px, 6vw, 84px);
  background:
    radial-gradient(62% 76% at 96% 0%, rgba(204, 0, 0, 0.38), rgba(204, 0, 0, 0) 68%),
    radial-gradient(46% 54% at 2% 100%, rgba(204, 0, 0, 0.12), rgba(204, 0, 0, 0) 70%),
    #0D0D0E;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #FFF;
}

.engine-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.13;
  -webkit-mask-image: linear-gradient(100deg, transparent 8%, #000 62%, #000 100%);
  mask-image: linear-gradient(100deg, transparent 8%, #000 62%, #000 100%);
  pointer-events: none;
}

.engine-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 51, 71, 0.65), transparent);
  pointer-events: none;
}

.engine-hero .container {
  position: relative;
  z-index: 1;
}

.engine-hero .breadcrumb {
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.44);
}

.engine-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.78);
}

.engine-hero .breadcrumb a:hover {
  color: #FFF;
}

.engine-hero .breadcrumb span[aria-hidden] {
  color: rgba(255, 255, 255, 0.26);
}

.engine-hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(38px, 5vw, 70px);
  align-items: center;
}

.engine-hero .eyebrow {
  border-color: rgba(255, 51, 71, 0.55);
  background: rgba(204, 0, 0, 0.12);
  color: #FF9AA4;
}

.engine-hero h1 {
  max-width: 610px;
  margin: 0 0 20px;
  color: #FFF;
  font-size: clamp(36px, 4.4vw, 54px);
  letter-spacing: -0.02em;
  line-height: 1.06;
}

.engine-hero h1 .accent {
  color: var(--red-bright);
}

.engine-hero .page-lead {
  max-width: 550px;
  color: #C7C7C7;
  font-size: 17.5px;
}

.engine-hero .actions {
  margin-top: 28px;
}

.engine-hero .btn-outline-light {
  background: rgba(255, 255, 255, 0.03);
}

.engine-hero .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.engine-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.56);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.engine-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.engine-hero-meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 8px rgba(255, 51, 71, 0.8);
  flex-shrink: 0;
}

/* ---------- hero topology ---------- */

.engine-hero-visual {
  position: relative;
  min-width: 0;
}

.engine-hero-visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 8% -6% -12% 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204, 0, 0, 0.32), transparent 66%);
  filter: blur(32px);
  pointer-events: none;
}

.engine-topology {
  position: relative;
  z-index: 1;
  padding: 32px 26px 22px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018));
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.engine-topology-label {
  position: absolute;
  top: -9px;
  left: 25px;
  padding: 2px 9px;
  background: #101012;
  color: #B0B0B0;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.engine-topology-tag {
  position: absolute;
  top: -10px;
  right: 24px;
  padding: 3px 9px;
  border: 1px solid rgba(255, 51, 71, 0.42);
  border-radius: var(--radius-pill);
  background: #170D0F;
  color: #FF8A95;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.engine-topology .eng-node {
  grid-template-columns: 1fr auto;
  gap: 4px 14px;
  padding: 17px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.engine-topology .eng-node strong {
  font-size: 17px;
  letter-spacing: -0.01em;
}

.engine-topology .eng-node span {
  color: #9B9B9B;
  font-size: 11px;
}

.engine-topology .eng-node-kicker {
  color: #FF9AA4 !important;
  font-size: 9.5px !important;
}

.engine-topology .eng-node--core {
  gap: 15px;
  padding: 16px 20px;
  border-color: rgba(255, 51, 71, 0.45);
  background: linear-gradient(105deg, rgba(204, 0, 0, 0.3), rgba(204, 0, 0, 0.1));
  box-shadow: 0 0 0 1px rgba(255, 51, 71, 0.06), 0 16px 34px rgba(100, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.engine-topology .eng-node--core img {
  width: 56px;
  height: 56px;
  border-radius: 13px;
  box-shadow: 0 10px 24px rgba(204, 0, 0, 0.4);
}

.engine-topology .eng-node--core strong {
  font-size: 18px;
}

.engine-topology .eng-flow-arrow {
  padding: 7px 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 14px;
}

.engine-topology-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  color: #9C9C9C;
  font-size: 11.5px;
  line-height: 1.55;
}

.engine-topology-note svg {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: #FF7B86;
  flex-shrink: 0;
}

/* ---------- hero console ---------- */

.engine-console {
  min-width: 0;
  background: var(--code-bg);
  border: 1px solid #2E2E2E;
  border-radius: 16px;
  box-shadow: var(--shadow-code);
  overflow: hidden;
}

.engine-console-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  background: var(--code-bar);
  border-bottom: 1px solid #2A2D34;
}

.engine-console-title {
  min-width: 0;
  overflow: hidden;
  color: #8B919C;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.engine-console-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 3px 8px;
  border: 1px solid rgba(74, 222, 128, 0.28);
  border-radius: var(--radius-pill);
  background: rgba(30, 126, 52, 0.16);
  color: var(--green-bright);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.engine-console-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.engine-console-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 9px 12px 0;
  background: #191B20;
  border-bottom: 1px solid #2A2D34;
  scrollbar-width: none;
}

.engine-console-tabs::-webkit-scrollbar {
  display: none;
}

.engine-console-tab {
  padding: 8px 10px 9px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: #8B919C;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.engine-console-tab:hover {
  color: #E6E8EB;
}

.engine-console-tab.is-active {
  border-bottom-color: var(--red-bright);
  color: #FFF;
}

.engine-console-body {
  min-height: 300px;
  padding: 18px 18px 16px;
}

.engine-console-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  color: #7D8490;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.engine-console-label span:last-child {
  color: #5F6672;
}

.engine-console pre {
  margin: 0;
  color: var(--code-text);
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.72;
  white-space: pre-wrap;
  word-break: break-word;
}

.engine-console-divider {
  height: 1px;
  margin: 14px 0 13px;
  background: #2E3138;
}

.engine-console-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 18px;
  border-top: 1px solid #2A2D34;
  background: #1B1D22;
  color: #7D8490;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.02em;
}

.engine-console-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-bright);
  flex-shrink: 0;
}

/* ---------- facts strip ---------- */

.engine-facts {
  background: #111112;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.engine-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.engine-fact {
  padding: 26px 24px 26px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.engine-fact + .engine-fact {
  padding-left: 24px;
}

.engine-fact:last-child {
  border-right: 0;
  padding-right: 0;
}

.engine-fact strong {
  display: block;
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.engine-fact span {
  display: block;
  margin-top: 7px;
  color: #F0F0F0;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.3;
}

.engine-fact small {
  display: block;
  margin-top: 3px;
  color: #8E8E8E;
  font-size: 11.5px;
  line-height: 1.4;
}

/* ---------- editorial split ---------- */

.eng-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.eng-split--wide {
  grid-template-columns: 0.96fr 1.04fr;
  align-items: center;
}

.eng-split-copy h2 {
  margin-bottom: 14px;
}

.eng-split-copy .lede {
  max-width: 480px;
}

.eng-split-copy .text-link {
  margin-top: 22px;
}

.eng-split-copy .step-list {
  margin-top: 24px;
}

.eng-split-copy .chip-row {
  margin-top: 22px;
}

.eng-problem-head {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  grid-template-areas: "art copy";
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  width: 100%;
  margin-bottom: 22px;
  padding: clamp(22px, 2.6vw, 30px);
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(204, 0, 0, 0.045), transparent 60%),
    var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  box-shadow: var(--shadow-hover);
  text-align: left;
}

.eng-problem-copy {
  grid-area: copy;
  max-width: none;
}

.eng-problem-copy .eyebrow {
  margin-inline: 0;
}

.eng-problem-copy h2 {
  margin-bottom: 14px;
}

.eng-problem-copy .lede {
  max-width: none;
  margin-inline: 0;
  text-wrap: initial;
  text-wrap: wrap;
}

.eng-problem-copy .text-link {
  margin-top: 0;
}

.eng-problem-banner {
  grid-area: art;
  width: 100%;
  max-width: none;
  margin: 0;
}

.eng-problem-banner img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 36px rgba(204, 0, 0, 0.14));
}

/* ---------- leak cards ---------- */

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

.eng-leak {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-top: 2px solid rgba(204, 0, 0, 0.22);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.eng-leak-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.eng-leak-index {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.eng-leak h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.eng-leak p {
  color: var(--text-soft);
  font-size: 13.5px;
  line-height: 1.65;
}

.eng-leak-tag {
  display: inline-block;
  margin-top: auto;
  padding-top: 16px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eng-leak-token {
  padding: 6px 9px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- integration code ---------- */

.eng-code-card {
  min-width: 0;
}

.eng-code-head {
  flex-wrap: wrap;
  gap: 12px;
}

.eng-code-head .code-label {
  margin-right: 2px;
}

.eng-code-tabs {
  display: flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid #2E323A;
  border-radius: 8px;
  background: #191B20;
}

.eng-code-tabs button {
  padding: 5px 9px;
  border: 0;
  border-radius: 5px;
  background: none;
  color: #8B919C;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background 0.15s ease, color 0.15s ease;
}

.eng-code-tabs button:hover {
  color: #E6E8EB;
}

.eng-code-tabs button.is-active {
  background: #2C313A;
  color: #FFF;
}

.eng-copy {
  margin-left: auto;
  padding: 5px 9px;
  border: 1px solid #3A3F48;
  border-radius: 6px;
  background: none;
  color: #9AA0AA;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.eng-copy:hover {
  border-color: #5A616D;
  color: #FFF;
}

.eng-copy.is-done {
  border-color: rgba(74, 222, 128, 0.4);
  background: rgba(30, 126, 52, 0.16);
  color: var(--green-bright);
}

.eng-code-panel pre {
  min-height: 252px;
  margin: 0;
  padding: 20px 20px 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.74;
  overflow-x: auto;
}

/* ---------- PII explorer ---------- */

.eng-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.eng-head-row > div:first-child {
  max-width: 640px;
}

.eng-count {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-bottom: 4px;
  flex-shrink: 0;
}

.eng-count strong {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
}

.eng-count span {
  margin-top: 4px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pii-layout {
  gap: 18px;
}

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

.pii-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.pii-chip:hover {
  border-color: var(--red-border);
  background: var(--surface-warm);
  color: var(--ink);
}

.pii-chip.is-active {
  border-color: var(--red);
  background: var(--red);
  color: #FFF;
}

.pii-chip-code {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.pii-chip-name {
  color: var(--text-dim);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.3;
}

.pii-chip.is-active .pii-chip-name {
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- modes ---------- */

.eng-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.eng-mode {
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.eng-mode--primary {
  border-color: rgba(204, 0, 0, 0.28);
  box-shadow: 0 14px 36px rgba(204, 0, 0, 0.06);
}

.eng-mode-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.eng-mode-top .icon-tile {
  margin-bottom: 0;
  font-size: 13px;
  white-space: nowrap;
}

.eng-mode-tag {
  padding: 4px 9px;
  border: 1px solid var(--red-border);
  border-radius: var(--radius-pill);
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eng-mode-tag--soft {
  border-color: var(--border);
  color: var(--text-dim);
}

.eng-mode h3 {
  margin-bottom: 8px;
  font-size: 24px;
}

.eng-mode > p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.eng-mode-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding: 11px 12px;
  border-radius: 8px;
  background: #1E1E1E;
}

.eng-mode-flow code {
  color: var(--code-token);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
}

.eng-mode-flow code:first-child {
  color: #C9CED8;
}

.eng-mode-flow span {
  color: #6C7280;
  font-family: var(--font-mono);
  font-size: 10.5px;
}

.eng-mode .check-list {
  margin: 18px 0 0;
}

/* ---------- deployment ---------- */

.eng-deploy {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #FFF;
}

.eng-deploy::before {
  content: "";
  position: absolute;
  right: -180px;
  top: -160px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204, 0, 0, 0.24), transparent 68%);
  pointer-events: none;
}

.eng-deploy-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}

.eng-deploy .actions--on-dark {
  margin-top: 24px;
}

.eng-deploy h2 {
  margin-bottom: 16px;
  color: #FFF;
  font-size: clamp(28px, 3.6vw, 42px);
}

.eng-deploy-lead {
  max-width: 480px;
  color: #C9C9C9;
  font-size: 16px;
  line-height: 1.7;
}

.eng-dark-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.eng-dark-list li {
  position: relative;
  padding-left: 18px;
  color: #D6D6D6;
  font-size: 13.5px;
  line-height: 1.5;
}

.eng-dark-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #FF9A9A;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
}

.eng-topology {
  position: relative;
  padding: 26px 24px 22px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.eng-topology-label {
  position: absolute;
  top: -8px;
  left: 18px;
  padding: 0 8px;
  background: var(--ink);
  color: #9A9A9A;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.eng-flow {
  display: flex;
  flex-direction: column;
}

.eng-node {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 14px;
  align-items: center;
  padding: 15px 18px;
  border: 1px solid #3A3A3A;
  border-radius: 12px;
  background: #232323;
}

.eng-node strong {
  display: block;
  color: #FFF;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

.eng-node span {
  color: #9A9A9A;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
}

.eng-node-kicker {
  justify-self: end;
  color: #FF9A9A !important;
  font-family: var(--font-mono);
  font-size: 9px !important;
  letter-spacing: 0.1em;
}

.eng-node--core {
  display: flex;
  align-items: center;
  gap: 14px;
  border-color: rgba(204, 0, 0, 0.42);
  background: rgba(204, 0, 0, 0.14);
}

.eng-node--core img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
}

.eng-node--core div {
  min-width: 0;
}

.eng-node--core .eng-node-kicker {
  margin-left: auto;
}

.eng-flow-arrow {
  align-self: center;
  padding: 5px 0;
  color: #6C7280;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1;
}

.eng-topology-note {
  margin-top: 15px;
  color: #9A9A9A;
  font-size: 11.5px;
  line-height: 1.55;
}

/* ---------- deployment config card ---------- */

.eng-config {
  position: relative;
  overflow: hidden;
  padding: 24px 24px 20px;
  border: 1px solid #343434;
  border-radius: 16px;
  background: linear-gradient(160deg, #1D1D1E, #141415);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.35);
}

.eng-config::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -110px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204, 0, 0, 0.3), transparent 68%);
  pointer-events: none;
}

.eng-config-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.eng-config-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #E8E8E8;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.eng-config-title i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.7);
}

.eng-config-state {
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  color: #A9A9A9;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.eng-config-list {
  position: relative;
  margin: 0;
  padding: 6px 0 0;
}

.eng-config-list > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.eng-config-list dt {
  color: #8E8E8E;
  font-size: 12px;
}

.eng-config-list dd {
  margin: 0;
  color: #F5F5F5;
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-align: right;
}

.eng-ok {
  color: var(--green-bright);
}

.eng-config-foot {
  position: relative;
  margin-top: 15px;
  color: #8E8E8E;
  font-size: 10.5px;
  line-height: 1.5;
}

/* ---------- product fit ---------- */

.eng-fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.eng-fit {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.eng-fit--active {
  border-color: rgba(204, 0, 0, 0.3);
  box-shadow: 0 14px 36px rgba(204, 0, 0, 0.06);
}

.eng-fit h3 {
  margin: 12px 0 8px;
  font-size: 22px;
}

.eng-fit p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.eng-fit .check-list {
  margin: 18px 0 24px;
}

.eng-fit .btn,
.eng-fit .text-link {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- KVKK ---------- */

.eng-kvkk-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 28px;
}

.eng-kvkk-head h2 {
  margin-bottom: 12px;
}

.eng-kvkk-side {
  padding: 18px 20px;
  border-left: 3px solid var(--red);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.eng-kvkk-chip {
  display: inline-block;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.eng-kvkk-side p {
  margin-top: 6px;
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.5;
}

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

.kvkk-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.kvkk-index {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.kvkk-card h3 {
  margin: 10px 0 7px;
  font-size: 18px;
}

.kvkk-card p {
  color: var(--text-soft);
  font-size: 13.5px;
  line-height: 1.65;
}

.kvkk-foreign {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  margin-top: 20px;
  padding: 30px;
  border: 1px solid rgba(204, 0, 0, 0.3);
  border-radius: 16px;
  background: linear-gradient(120deg, #1A1A1A, #241012);
  color: #FFF;
}

.kvkk-foreign .eyebrow {
  margin-bottom: 14px;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.05);
  color: #FFD7DB;
}

.kvkk-foreign h3 {
  margin-bottom: 12px;
  color: #FFF;
  font-size: 24px;
}

.kvkk-foreign p {
  color: #C9C9C9;
  font-size: 14px;
  line-height: 1.7;
}

.kvkk-foreign-list {
  align-self: center;
  margin: 0;
}

.kvkk-foreign-list li {
  color: #D6D6D6;
}

.kvkk-foreign-list li::before {
  color: #FF9A9A;
}

.eng-kvkk-note {
  max-width: 900px;
  margin-top: 18px;
}

/* ---------- license ---------- */

.eng-license-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.eng-license-copy h2 {
  margin-bottom: 14px;
}

.eng-license-copy .fine-note {
  max-width: 460px;
}

.eng-license-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.eng-license-facts span {
  display: block;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eng-license-facts strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.eng-price {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.eng-price-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.eng-price-type {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.eng-price h3 {
  margin-bottom: 4px;
  font-size: 26px;
}

.eng-price-sub {
  color: var(--text-soft);
  font-size: 14px;
}

.eng-price .check-list {
  margin: 20px 0 26px;
}

.eng-price-note {
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 11.5px;
  line-height: 1.5;
  text-align: center;
}

/* ---------- engine utilities ---------- */

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

main .section[id],
.engine-facts,
main .glossary-block[id] {
  scroll-margin-top: 54px;
}

/* ---------- engine responsive ---------- */

@media (max-width: 920px) {
  .engine-hero-grid,
  .eng-split,
  .eng-split--wide,
  .eng-deploy-grid,
  .eng-license-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .engine-hero-copy {
    max-width: 660px;
  }

  .engine-hero-visual {
    width: 100%;
    max-width: 620px;
  }

  .eng-kvkk-head,
  .kvkk-foreign {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .eng-problem-head {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "art";
    gap: 26px;
  }

  .eng-problem-copy {
    max-width: 620px;
  }

  .eng-problem-banner {
    max-width: 520px;
  }

  .eng-leak-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eng-kvkk-side {
    max-width: 420px;
  }

  .engine-console {
    width: 100%;
    max-width: 680px;
  }

  .eng-split-copy,
  .eng-deploy-copy,
  .eng-license-copy {
    max-width: 640px;
  }

  .eng-mode-grid,
  .eng-fit-grid,
  .kvkk-grid {
    grid-template-columns: 1fr;
  }

  .eng-head-row {
    align-items: flex-start;
  }

  .eng-count {
    display: none;
  }

  .pii-chips {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .engine-hero {
    padding-top: 34px;
  }

  .engine-hero h1 {
    font-size: 34px;
  }

  .engine-hero .page-lead {
    font-size: 16px;
  }

  .engine-hero .actions .btn {
    width: 100%;
  }

  .engine-hero-meta {
    gap: 8px 14px;
    font-size: 9.5px;
  }

  .engine-topology {
    padding: 27px 16px 18px;
  }

  .engine-topology .eng-node {
    padding: 14px 15px;
  }

  .engine-topology .eng-node strong {
    font-size: 15.5px;
  }

  .engine-topology .eng-node--core {
    gap: 12px;
    padding: 13px 15px;
  }

  .engine-topology .eng-node--core img {
    width: 48px;
    height: 48px;
    border-radius: 11px;
  }

  .engine-topology .eng-node--core strong {
    font-size: 16.5px;
  }

  .engine-topology-label {
    left: 17px;
  }

  .engine-topology-tag {
    right: 17px;
  }

  .engine-console-body {
    min-height: 0;
    padding: 14px;
  }

  .engine-console pre {
    font-size: 10.5px;
  }

  .engine-console-title {
    font-size: 9.5px;
  }

  .engine-console-foot {
    font-size: 9px;
  }

  .engine-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .engine-fact {
    padding: 20px 14px 20px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .engine-fact + .engine-fact {
    padding-left: 16px;
  }

  .engine-fact:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .engine-fact:nth-child(3),
  .engine-fact:nth-child(4) {
    border-bottom: 0;
  }

  .engine-fact:nth-child(3) {
    padding-left: 0;
  }

  .engine-fact:nth-child(4) {
    padding-left: 16px;
  }

  .engine-fact strong {
    font-size: 26px;
  }

  .eng-leak-grid {
    grid-template-columns: 1fr;
  }

  .pii-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pii-panel {
    padding: 22px;
  }

  .pii-panel h3 {
    font-size: 22px;
  }

  .eng-code-head .code-label {
    display: none;
  }

  .eng-code-tabs {
    margin-left: 0;
  }

  .eng-code-panel pre {
    min-height: 240px;
    padding: 18px 16px;
    font-size: 10.5px;
  }

  .eng-dark-list {
    grid-template-columns: 1fr;
  }

  .kvkk-foreign {
    padding: 22px;
  }

  .kvkk-foreign h3 {
    font-size: 21px;
  }

  .eng-deploy .actions--on-dark .btn {
    width: 100%;
  }

  .eng-topology {
    padding: 24px 16px 18px;
  }

  .eng-price {
    padding: 22px;
  }
}

@media (max-width: 420px) {
  .engine-console-tab {
    padding: 8px 8px;
    font-size: 10.5px;
  }

  .eng-code-tabs button {
    padding: 5px 7px;
    font-size: 9px;
  }

  .eng-copy {
    padding: 5px 7px;
    font-size: 8.5px;
  }
}

/* =========================================================
   API REFERENCE (/api)
   ========================================================= */

.docs-page {
  background: var(--canvas);
}

/* ---------- hero ---------- */

.docs-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 3.4vw, 44px) 0 clamp(22px, 2.6vw, 32px);
  background:
    radial-gradient(56% 80% at 94% -12%, rgba(204, 0, 0, 0.10), rgba(204, 0, 0, 0) 66%),
    radial-gradient(40% 60% at 0% 100%, rgba(204, 0, 0, 0.05), rgba(204, 0, 0, 0) 70%),
    var(--canvas);
  border-bottom: 1px solid var(--border);
}

.docs-hero .container {
  position: relative;
  z-index: 1;
}

.docs-hero .breadcrumb {
  margin-bottom: 18px;
}

.docs-hero-card {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  grid-template-areas: "art copy";
  gap: clamp(24px, 3.4vw, 44px);
  align-items: center;
  padding: clamp(16px, 2.2vw, 24px);
  background:
    radial-gradient(56% 120% at 100% 0%, rgba(204, 0, 0, 0.045), transparent 62%),
    var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(26, 26, 26, 0.07);
}

.docs-art {
  grid-area: art;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: clamp(16px, 2.1vw, 22px);
  border-radius: 16px;
  background:
    radial-gradient(70% 90% at 88% 0%, rgba(255, 255, 255, 0.24), transparent 58%),
    linear-gradient(158deg, #E5151C 0%, #B00008 54%, #6C0005 100%);
  box-shadow: 0 18px 36px rgba(204, 0, 0, 0.18);
  overflow: hidden;
}

.docs-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.32) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.16;
  -webkit-mask-image: linear-gradient(160deg, #000, transparent 70%);
  mask-image: linear-gradient(160deg, #000, transparent 70%);
  pointer-events: none;
}

.docs-art-window {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(58, 0, 0, 0.28);
  overflow: hidden;
}

.docs-art-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  background: #FBFBFB;
  border-bottom: 1px solid var(--border-soft);
}

.docs-art-dots {
  display: inline-flex;
  gap: 4px;
  flex-shrink: 0;
}

.docs-art-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF5F57;
}

.docs-art-dots i:nth-child(2) {
  background: #FEBC2E;
}

.docs-art-dots i:nth-child(3) {
  background: #28C840;
}

.docs-art-name {
  color: #8A8A8A;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.docs-art-code {
  margin-left: auto;
  padding: 2px 6px;
  border: 1px solid rgba(30, 126, 52, 0.24);
  border-radius: var(--radius-pill);
  background: rgba(30, 126, 52, 0.1);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 800;
}

.docs-art-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 12px 14px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.5;
}

.docs-art-line {
  margin: 0;
  color: #5B5B5B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.docs-art-line--muted {
  color: #8E8E8E;
}

.docs-art-punct {
  color: var(--red-dark);
  font-weight: 800;
}

.docs-art-key {
  color: #2A2A2A;
  font-weight: 700;
}

.docs-art-key::after {
  content: "";
}

.docs-art-string {
  color: #1D6FBF;
}

.docs-art-token {
  color: #B45309;
  font-weight: 700;
}

.docs-art-rule {
  display: block;
  height: 1px;
  margin: 3px 0;
  background: var(--border-soft);
}

.docs-art-foot {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 6px;
}

.docs-art-pill {
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.docs-art-pill--light {
  background: #FFF;
  border-color: #FFF;
  color: var(--red-dark);
}

.docs-hero-copy {
  grid-area: copy;
  min-width: 0;
}

.docs-hero-copy .eyebrow {
  margin-bottom: 14px;
}

.docs-hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 3.6vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
}

.docs-hero-copy h1 .accent {
  color: var(--red);
}

.docs-hero-copy .page-lead {
  max-width: 570px;
  font-size: 15.5px;
  line-height: 1.65;
  text-wrap: initial;
  text-wrap: wrap;
}

.docs-hero-copy .chip-row {
  margin-top: 18px;
}

.docs-hero-copy .actions {
  margin-top: 22px;
}

/* ---------- scope strip ---------- */

.docs-scope {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 16px;
  padding: 11px 16px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--red);
  border-radius: 0 12px 12px 0;
}

.docs-scope-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--red-wash);
  color: var(--red);
}

.docs-scope-icon svg {
  width: 17px;
  height: 17px;
}

.docs-scope p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.6;
}

.docs-scope a {
  color: var(--red);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.docs-scope a:hover {
  color: var(--red-dark);
}

.docs-scope-tag {
  margin-left: auto;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

/* ---------- shell ---------- */

.docs-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-top: clamp(24px, 3vw, 34px);
  padding-bottom: clamp(52px, 6vw, 84px);
}

.docs-aside {
  position: sticky;
  top: 92px;
}

.docs-toc {
  padding: 17px 13px 15px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.docs-toc-title {
  margin: 0 0 9px 10px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.docs-toc-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease;
}

.docs-toc-link + .docs-toc-link {
  margin-top: 2px;
}

.docs-toc-link:hover {
  background: rgba(204, 0, 0, 0.05);
  color: var(--red);
}

.docs-toc-link.is-active {
  background: var(--red-wash);
  color: var(--red);
}

.docs-toc-tag {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.docs-toc-link.is-active .docs-toc-tag,
.docs-toc-link:hover .docs-toc-tag {
  color: rgba(204, 0, 0, 0.55);
}

.docs-toc-foot {
  margin-top: 13px;
  padding: 13px 10px 2px;
  border-top: 1px solid var(--border-soft);
}

.docs-toc-meta {
  display: block;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.docs-toc-foot code {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 7px;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  background: var(--surface-warm);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 10px;
}

.docs-toc-note {
  display: block;
  margin-top: 8px;
  color: var(--text-dim);
  font-size: 11.5px;
  line-height: 1.5;
}

.docs-toc-mobile {
  display: none;
  margin-top: 18px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
}

.docs-toc-mobile summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.docs-toc-mobile summary::-webkit-details-marker {
  display: none;
}

.docs-toc-mobile summary span {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
}

.docs-toc-mobile nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 0 10px 12px;
}

.docs-toc-mobile a {
  padding: 10px;
  border-radius: 8px;
  background: var(--surface-warm);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
}

.docs-toc-mobile a:hover {
  background: var(--red-wash);
  color: var(--red);
}

/* ---------- sections ---------- */

.docs-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.docs-section {
  padding: clamp(20px, 2.5vw, 30px);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  box-shadow: var(--shadow);
  scroll-margin-top: 92px;
}

.docs-head {
  margin-bottom: 16px;
}

.docs-head .eyebrow {
  margin-bottom: 12px;
}

.docs-head h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(23px, 2.3vw, 29px);
  letter-spacing: -0.02em;
  line-height: 1.16;
}

.docs-head .lede {
  max-width: 660px;
  margin: 0;
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.65;
  text-wrap: initial;
  text-wrap: wrap;
}

.docs-sub {
  margin: 24px 0 10px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.docs-head + .docs-sub {
  margin-top: 0;
}

.docs-fine {
  margin-top: 10px;
  color: var(--text-dim);
  font-size: 12.5px;
  line-height: 1.6;
}

/* ---------- method badges ---------- */

.docs-method {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.docs-method--post {
  border-color: rgba(204, 0, 0, 0.22);
  background: rgba(204, 0, 0, 0.07);
  color: var(--red-dark);
}

.docs-method--get {
  border-color: rgba(59, 130, 246, 0.24);
  background: rgba(59, 130, 246, 0.09);
  color: #1D4ED8;
}

.docs-path {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface-warm);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.docs-endpoint-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
}

.docs-endpoint-bar .docs-path {
  font-size: 11.5px;
  padding: 3px 9px;
}

.docs-endpoint-bar .docs-method {
  font-size: 9px;
  padding: 4px 8px;
}

/* ---------- tables ---------- */

.docs-table-wrap {
  margin-top: 14px;
  overflow-x: auto;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: var(--surface);
}

.docs-table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 13px;
}

.docs-table th {
  padding: 10px 14px;
  background: #FAFAFA;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.docs-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-soft);
  line-height: 1.6;
  vertical-align: top;
}

.docs-table tr:last-child td {
  border-bottom: 0;
}

.docs-table code,
.docs-section .lede code,
.docs-list code,
.docs-note code,
.docs-rule code,
.docs-fine code,
.docs-error p code {
  padding: 1px 4px;
  border-radius: 5px;
  background: var(--red-wash);
  color: var(--red-dark);
  font-family: var(--font-mono);
  font-size: 0.92em;
  white-space: nowrap;
}

.docs-note code,
.docs-list code,
.docs-section .lede code,
.docs-fine code,
.docs-error p code {
  padding-inline: 3px;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* ---------- notes ---------- */

.docs-note {
  display: flex;
  gap: 11px;
  margin-top: 16px;
  padding: 13px 15px;
  border: 1px solid rgba(204, 0, 0, 0.16);
  border-left: 3px solid var(--red);
  border-radius: 0 10px 10px 0;
  background: linear-gradient(90deg, rgba(204, 0, 0, 0.045), rgba(204, 0, 0, 0));
}

.docs-note-mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.docs-note p {
  margin: 0;
  color: var(--text-soft);
  font-size: 12.5px;
  line-height: 1.65;
}

/* ---------- endpoint cards ---------- */

.docs-endpoint-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.docs-endpoint-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  background: var(--surface-warm);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.docs-endpoint-card:hover {
  border-color: rgba(204, 0, 0, 0.32);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.docs-endpoint-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.docs-endpoint-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 12.5px;
  line-height: 1.6;
}

/* ---------- lists ---------- */

.docs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.docs-list li {
  position: relative;
  padding-left: 17px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.65;
}

.docs-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

.docs-list strong {
  color: var(--ink);
  font-weight: 700;
}

.docs-steps {
  margin-top: 18px;
}

/* ---------- code cards ---------- */

.docs-code {
  margin-top: 14px;
}

.docs-code .eng-code-panel pre {
  min-height: 0;
  max-height: 420px;
  padding: 18px 18px 12px;
  font-size: 11px;
  line-height: 1.72;
}

.docs-code .code-foot {
  padding: 0 18px 14px;
}

.docs-code .code-foot code {
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  color: #D5D9E0;
  font-family: var(--font-mono);
  font-size: 0.94em;
}

/* ---------- rules ---------- */

.docs-rule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.docs-rule {
  padding: 13px 15px;
  background: var(--surface-warm);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
}

.docs-rule-tag {
  display: block;
  margin-bottom: 6px;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.docs-rule p {
  margin: 0;
  color: var(--text-soft);
  font-size: 12.5px;
  line-height: 1.6;
}

/* ---------- errors ---------- */

.docs-error-list {
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
}

.docs-error {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 16px;
  background: var(--surface);
}

.docs-error + .docs-error {
  border-top: 1px solid var(--border-soft);
}

.docs-error-code {
  justify-self: start;
  align-self: start;
  padding: 4px 8px;
  border: 1px solid rgba(204, 0, 0, 0.2);
  border-radius: 6px;
  background: var(--red-wash);
  color: var(--red-dark);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.docs-error-code--start {
  border-color: rgba(26, 26, 26, 0.16);
  background: rgba(26, 26, 26, 0.06);
  color: var(--ink);
}

.docs-error strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 800;
}

.docs-error p {
  margin: 0;
  color: var(--text-dim);
  font-size: 12.5px;
  line-height: 1.6;
}

/* ---------- release ---------- */

.docs-release {
  margin-top: 16px;
  padding: 15px 17px;
  background: var(--surface-warm);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
}

.docs-release-head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.docs-release-ver {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--red);
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.docs-release-meta {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.03em;
}

.docs-release .docs-list {
  margin-top: 10px;
}

.docs-back {
  margin-top: 18px;
}

@media (max-width: 1080px) {
  .docs-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .docs-aside {
    display: none;
  }

  .docs-toc-mobile {
    display: block;
  }

  .docs-main {
    margin-top: 16px;
  }
}

@media (max-width: 920px) {
  .docs-hero-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "art";
    gap: 20px;
    padding: 16px;
  }

  .docs-hero-copy h1 {
    font-size: clamp(28px, 5.6vw, 36px);
  }

  .docs-art {
    padding: 16px;
  }

  .docs-art-body {
    font-size: 10px;
  }
}

@media (max-width: 767px) {
  .docs-hero {
    padding-top: 20px;
  }

  .docs-hero-card {
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .docs-hero-copy .page-lead {
    font-size: 14.5px;
  }

  .docs-hero-copy .actions .btn {
    width: 100%;
  }

  .docs-scope {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 0 10px 10px 0;
  }

  .docs-scope-tag {
    display: none;
  }

  .docs-main {
    gap: 14px;
  }

  .docs-section {
    padding: 18px 16px;
    border-radius: 14px;
  }

  .docs-head h2 {
    font-size: 24px;
  }

  .docs-endpoint-grid,
  .docs-rule-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .docs-error {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }

  .docs-toc-mobile nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .docs-table {
    min-width: 470px;
    font-size: 12px;
  }

  .docs-table th {
    font-size: 9px;
  }

  .docs-table td {
    padding: 10px 12px;
  }

  .docs-code .eng-code-panel pre {
    font-size: 10px;
    padding: 16px 14px 14px;
  }
}

@media (max-width: 420px) {
  .docs-art-window {
    border-radius: 10px;
  }

  .docs-art-body {
    font-size: 8.5px;
    padding: 10px;
  }

  .docs-hero-copy h1 {
    font-size: 26px;
  }

  .docs-hero-copy .chip {
    font-size: 10.5px;
    padding: 6px 10px;
  }
}

/* =========================================================
   Desktop product page
   ========================================================= */

/* The hero reuses the Engine hero shell (.engine-hero*) so both product
   pages share one rhythm; only the copy width is tuned here. */

.desktop-hero h1 {
  max-width: 640px;
}

.desktop-hero .page-lead {
  max-width: 548px;
}

/* ---------- hero screenshot slot ---------- */

.shot-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

.shot-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  max-height: 360px;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  background-color: rgba(255, 255, 255, 0.028);
  background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 22px 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* hero slot: same dashed frame, sized like the Engine topology card */

.shot-hero-shot {
  gap: 14px;
}

.shot-hero-shot .shot-frame {
  aspect-ratio: 16 / 10;
  max-height: 470px;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.035);
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  background-size: 24px 24px, auto;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.shot-hero-shot .shot-body strong {
  font-size: 15.5px;
}

.shot-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #0B0B0C;
  object-fit: contain;
}

/* adding an <img> as the first child swaps the placeholder out automatically */

.shot-frame img ~ .shot-body {
  display: none;
}

.shot-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 24px;
  text-align: center;
}

.shot-body svg {
  width: 30px;
  height: 30px;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.32);
}

.shot-body strong {
  color: #F2F2F2;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.shot-index {
  padding: 3px 9px;
  border: 1px solid rgba(255, 51, 71, 0.42);
  border-radius: var(--radius-pill);
  background: rgba(204, 0, 0, 0.14);
  color: #FF9AA4;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.shot-hint {
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.shot-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 9px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12.5px;
  line-height: 1.5;
}

.shot-caption strong {
  color: #F0F0F0;
  font-size: 13px;
  font-weight: 800;
}

.shot-caption-index {
  color: #FF9AA4;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* ---------- central panel showcase ---------- */

.panel-showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 4vw, 58px);
  align-items: start;
  margin-top: clamp(38px, 4.5vw, 64px);
}

.panel-showcase .shot-frame {
  aspect-ratio: 16 / 10;
  max-height: 450px;
  border-style: solid;
  border-color: var(--border);
  background-color: #101012;
  background-image: radial-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: 24px 24px;
  box-shadow: 0 26px 60px rgba(20, 20, 20, 0.18);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.panel-shot .shot-caption {
  color: var(--text-soft);
}

.panel-shot .shot-caption strong {
  color: var(--ink);
}

.panel-shot .shot-caption-index {
  color: var(--red);
}

.panel-copy .eyebrow {
  margin-bottom: 12px;
}

.panel-copy h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(21px, 2.2vw, 26px);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.panel-lead {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.65;
}

/* ---------- licence panel ---------- */

.license-split {
  align-items: stretch;
}

.license-panel {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, #FCFCFC, #FFF);
}

.license-panel .check-list {
  gap: 11px;
  margin: 0;
}

.license-panel .fine-note {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
}

.license-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: var(--border-soft);
}

.license-facts div {
  padding: 13px 15px;
  background: #FFF;
}

.license-facts dt {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.license-facts dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 800;
}

/* ---------- desktop responsive ---------- */

@media (max-width: 920px) {
  .shot-hero-shot {
    width: 100%;
    max-width: 640px;
  }

  .license-panel {
    gap: 18px;
  }

  .panel-showcase {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .panel-showcase .shot-frame {
    max-width: 640px;
  }
}

@media (max-width: 767px) {
  .desktop-hero h1 {
    max-width: none;
  }

  .shot-frame {
    border-radius: 13px;
  }

  .shot-hero-shot .shot-frame {
    border-radius: 15px;
  }

  .shot-body {
    gap: 7px;
    padding: 18px;
  }

  .shot-body svg {
    width: 24px;
    height: 24px;
  }

  .shot-body strong {
    font-size: 13px;
  }

  .shot-hint {
    font-size: 9px;
  }
}

/* =========================================================
   Legal pages (privacy)
   ========================================================= */

.legal-hero {
  padding: clamp(38px, 4.6vw, 62px) 0 clamp(26px, 3vw, 38px);
  background: linear-gradient(180deg, #FFF, var(--surface-muted));
  border-bottom: 1px solid var(--border-soft);
}

.legal-hero .breadcrumb {
  margin-bottom: 22px;
}

.legal-hero .eyebrow {
  margin-bottom: 14px;
}

.legal-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 3.4vw, 44px);
  letter-spacing: -0.02em;
}

.legal-hero .page-lead {
  max-width: 740px;
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legal-meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  padding: clamp(34px, 4vw, 56px) 0 clamp(60px, 7vw, 92px);
}

.legal-toc {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-right: 12px;
  border-right: 1px solid var(--border-soft);
}

.legal-toc-title {
  margin: 0 0 8px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-toc a {
  padding: 5px 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.4;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: var(--red);
}

.legal-body {
  max-width: 760px;
  min-width: 0;
}

.legal-body h2 {
  margin: clamp(30px, 3.4vw, 42px) 0 12px;
  padding-top: clamp(18px, 2vw, 24px);
  border-top: 1px solid var(--border-soft);
  color: var(--ink);
  font-size: clamp(19px, 2vw, 23px);
  letter-spacing: -0.01em;
  scroll-margin-top: calc(var(--nav-height) + 20px);
}

.legal-body h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal-body h3 {
  margin: 22px 0 8px;
  color: var(--ink);
  font-size: 16px;
  letter-spacing: -0.005em;
}

.legal-body p {
  margin: 0 0 13px;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.75;
}

.legal-body ul,
.legal-body ol {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.7;
}

.legal-body li::marker {
  color: var(--text-faint);
}

.legal-body a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-body a:hover {
  color: var(--red-dark);
}

.legal-body strong {
  color: var(--ink);
  font-weight: 800;
}

.legal-callout {
  margin-bottom: clamp(26px, 3vw, 34px);
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: 12px;
  background: var(--surface-muted);
}

.legal-callout strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-callout ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13.5px;
  gap: 6px;
}

.legal-table-wrap {
  margin: 0 0 18px;
  overflow-x: auto;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
}

.legal-table {
  min-width: 620px;
  width: 100%;
  border-collapse: collapse;
  background: #FFF;
}

.legal-table th {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-soft);
  background: var(--surface-muted);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.legal-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text);
  font-size: 13px;
  line-height: 1.6;
  vertical-align: top;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-table td:first-child {
  color: var(--ink);
  font-weight: 700;
}

.legal-body .legal-fine {
  color: var(--text-dim);
  font-size: 12.5px;
}

.legal-body .legal-foot {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  color: var(--text-dim);
  font-size: 12.5px;
}

@media (max-width: 920px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 28px;
  }

  .legal-toc {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px solid var(--border-soft);
  }

  .legal-toc-title {
    grid-column: 1 / -1;
  }

  .legal-body {
    max-width: none;
  }
}

@media (max-width: 520px) {
  .legal-toc {
    gap: 0 12px;
  }

  .legal-toc a {
    font-size: 12.5px;
  }

  .legal-hero h1 {
    font-size: 30px;
  }
}

/* ---------- plain-language layer · Engine + Desktop ---------- */

.plain-intro .section-head {
  max-width: 780px;
}

.plain-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: start;
  margin-top: 28px;
}

.plain-demo {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.plain-demo-row {
  padding: 16px 18px;
  background: var(--surface-muted);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
}

.plain-demo-row--after {
  background: #fff;
  border-color: var(--red-border);
}

.plain-demo-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.plain-demo-text {
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.8;
}

.plain-demo-text mark {
  padding: 1px 5px;
  background: var(--red-wash);
  border-radius: 4px;
  color: var(--red-dark);
  font-weight: 600;
}

.plain-demo-text code,
.plain-scenario code {
  display: inline-block;
  padding: 1px 6px;
  background: rgba(26, 26, 26, 0.06);
  border-radius: 4px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
}

.plain-demo-arrow {
  display: block;
  margin: 10px 0;
  color: var(--text-faint);
  font-size: 14px;
  line-height: 1;
  text-align: center;
}

.plain-demo-foot {
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 12.5px;
  line-height: 1.6;
}

.plain-scenario {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain-scenario li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 14px;
  padding: 15px 0;
  border-top: 1px solid var(--border-soft);
}

.plain-scenario li:first-child {
  padding-top: 4px;
  border-top: 0;
}

.plain-scenario li:last-child {
  padding-bottom: 4px;
}

.plain-scenario-time {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.plain-scenario p {
  grid-column: 1 / -1;
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}

.plain-scenario p strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 700;
}

.plain-scenario code {
  font-size: 11.5px;
}

.plain-status {
  align-self: start;
  justify-self: end;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
  white-space: nowrap;
}

.plain-status--deny {
  background: var(--red-wash);
  color: var(--red-dark);
}

.plain-status--mask {
  background: rgba(194, 65, 12, 0.1);
  color: var(--orange);
}

.plain-qa {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0;
  padding: 6px 0 0;
  list-style: none;
}

.plain-qa li {
  padding-left: 18px;
  border-left: 2px solid var(--red-border);
}

.plain-qa strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.plain-qa span {
  display: block;
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
}

.plain-persona-head {
  margin: 38px 0 14px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plain-personas {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain-personas li {
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
}

.plain-personas strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.plain-personas span {
  display: block;
  color: var(--text);
  font-size: 13px;
  line-height: 1.55;
}

.glossary-block {
  margin-top: 46px;
  padding-top: 38px;
  border-top: 1px solid var(--border);
}

.glossary-head {
  max-width: 720px;
  margin-bottom: 22px;
}

.glossary-head h2 {
  margin-bottom: 10px;
}

.glossary-card {
  padding: 4px 28px 16px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.glossary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  margin: 0;
}

.glossary > div {
  padding: 15px 0;
  border-top: 1px solid var(--border-soft);
}

.glossary > div:nth-child(-n + 2) {
  padding-top: 20px;
  border-top: 0;
}

.glossary dt {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.glossary dd {
  margin: 5px 0 0;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.62;
}

.glossary-head .text-link {
  font-size: 13.5px;
}

@media (max-width: 1080px) {
  .plain-personas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .plain-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .glossary {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .glossary > div:nth-child(2) {
    padding-top: 15px;
    border-top: 1px solid var(--border-soft);
  }

  .glossary-card {
    padding: 4px 20px 12px;
  }
}

@media (max-width: 560px) {
  .plain-personas {
    grid-template-columns: minmax(0, 1fr);
  }

  .plain-demo {
    padding: 18px;
  }
}

/* ---------- console slider (Desktop hero) ---------- */

.console-slider .shot-frame {
  aspect-ratio: 1166 / 680;
  max-height: none;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.16);
  background-color: #0B0B0C;
  background-image: none;
}

.slider-track {
  position: absolute;
  inset: 0;
}

.slider-slide {
  opacity: 0;
  transition: opacity 420ms ease;
}

.slider-slide.is-active {
  opacity: 1;
}

.slider-controls {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
}

.slider-nav {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.slider-nav:hover {
  background: var(--red);
  border-color: var(--red);
}

.slider-nav:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 2px;
}

.slider-nav svg {
  width: 14px;
  height: 14px;
}

.slider-counter {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(12, 12, 13, 0.74);
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.slider-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 18px;
}

.slider-foot .shot-caption {
  flex: 1 1 260px;
  margin: 0;
}

.slider-dots {
  display: flex;
  gap: 6px;
}

.slider-dot {
  width: 22px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: background 160ms ease;
}

.slider-dot.is-active {
  background: var(--red-bright);
}

.slider-dot:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
}

.panel-shot .shot-frame {
  aspect-ratio: 1166 / 680;
  max-height: 430px;
}

@media (max-width: 560px) {
  .slider-dot {
    width: 18px;
  }

  .slider-controls {
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slider-slide {
    transition: none;
  }
}

/* ---------- wider console carousel in the Desktop hero ---------- */

@media (min-width: 921px) {
  .desktop-hero .engine-hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(32px, 3vw, 48px);
  }
}

@media (min-width: 1081px) {
  .desktop-hero .engine-hero-grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: clamp(34px, 3.4vw, 54px);
  }
}

/* ---------- cookie consent bar ---------- */

button.footer-link,
button.hero-legal-link {
  cursor: pointer;
  text-align: left;
}

.cookie-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 120;
  padding: 16px 0;
  background: rgba(13, 13, 14, 0.97);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 -20px 44px rgba(0, 0, 0, 0.32);
  color: #E8E8E8;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.cookie-bar[hidden] {
  display: none;
}

.cookie-bar.is-visible {
  animation: cookie-bar-in 320ms ease both;
}

@keyframes cookie-bar-in {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
}

.cookie-bar-text {
  max-width: 680px;
  margin: 0;
  color: #C7C7C7;
  font-size: 13.5px;
  line-height: 1.6;
}

.cookie-bar-link {
  color: #FF9AA4;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-bar-link:hover {
  color: #FFF;
}

.cookie-bar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-bar-actions .btn {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .cookie-bar {
    padding: 14px 0 16px;
  }

  .cookie-bar-text {
    font-size: 12.5px;
  }

  .cookie-bar-actions {
    width: 100%;
  }

  .cookie-bar-actions .btn {
    flex: 1 1 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-bar.is-visible {
    animation: none;
  }
}

/* ---------- 404 ---------- */

.error-hero {
  padding: clamp(52px, 6.5vw, 96px) 0 clamp(60px, 7vw, 110px);
}

.error-card {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(30px, 4vw, 54px);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  box-shadow: 0 20px 54px rgba(26, 26, 26, 0.07);
  text-align: center;
}

.error-card .eyebrow {
  margin-inline: auto;
}

.error-code {
  margin: 16px 0 4px;
  color: var(--red);
  font-size: clamp(88px, 15vw, 148px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.85;
}

.error-card h1 {
  font-size: clamp(24px, 3.2vw, 34px);
}

.error-lead {
  max-width: 520px;
  margin: 14px auto 0;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.65;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.error-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
  text-align: left;
}

.error-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.error-link:hover {
  border-color: var(--red-border);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.error-link:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.error-link span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.error-link small {
  color: var(--text-dim);
  font-size: 12.5px;
  line-height: 1.5;
}

.error-foot {
  margin-top: 26px;
  color: var(--text-dim);
  font-size: 12.5px;
  line-height: 1.6;
}

.error-foot a {
  color: var(--red-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 720px) {
  .error-links {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .error-actions .btn {
    width: 100%;
  }

  .error-card {
    padding: 28px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .error-link {
    transition: none;
  }

  .error-link:hover {
    transform: none;
  }
}

/* ---------- mobile menu: focus + current product ---------- */

.mobile-menu a:not(.btn):focus-visible {
  outline: 2px solid var(--red);
  outline-offset: -3px;
  border-radius: 8px;
}

.mobile-menu a[aria-current="page"] {
  color: var(--red);
  font-weight: 800;
}

.site-header--dark .mobile-menu a[aria-current="page"] {
  color: var(--red-bright);
}
