:root {
  --scroll-distance: 4800px;

  --paper-rgb: 250 248 244;
  --paper-shadow-rgb: 123 114 97;
  --wave-rgb: 216 210 198;
  --bg-obsidian: rgb(var(--paper-rgb));
  --bg-surface: rgba(250, 248, 244, 0.76);
  --bg-surface-strong: rgba(250, 248, 244, 0.9);
  --border: rgba(140, 128, 106, 0.24);
  --paper-border: rgba(140, 128, 106, 0.16);
  --paper-glow: rgba(255, 255, 255, 0.42);
  --paper-stage-highlight: rgba(255, 255, 255, 0.18);
  --paper-stage-warmth: rgba(154, 123, 62, 0.05);
  --paper-stage-edge: rgba(220, 212, 198, 0.22);
  --gold: #9a7b3e;
  --gold-hover: #7d6232;
  --gold-dim: rgba(154, 123, 62, 0.1);
  --text-primary: #1a1a1a;
  --text-muted: #5a5a5a;
  --text-dim: #999999;
  --font-display: ui-serif, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --bg-color: #eef0f4;
  --bg-warm: #f8f7f4;
  --text-main: #17181b;
  --text-etched: #24262b;
  --text-etched-light: #7a7e87;
  --line-soft: rgba(23, 24, 27, 0.12);
  --line-med: rgba(23, 24, 27, 0.22);
  --accent-gold: #c5a059;
  --accent-gold-soft: rgba(197, 160, 89, 0.18);
  --accent-blue: #5d7fa8;
  --accent-blue-soft: rgba(93, 127, 168, 0.12);
  --accent-red: #b85a54;
  --accent-red-soft: rgba(184, 90, 84, 0.14);
  --accent-green: #5a8f74;
  --glass-clear: rgba(252, 252, 254, 0.42);
  --glass-cool: rgba(244, 247, 252, 0.44);
  --glass-risk: rgba(247, 245, 241, 0.42);
  --risk-high: linear-gradient(135deg, rgba(184, 90, 84, 0.1), rgba(184, 90, 84, 0.16));
  --risk-med: linear-gradient(135deg, rgba(197, 160, 89, 0.1), rgba(197, 160, 89, 0.16));
  --risk-low: linear-gradient(135deg, rgba(93, 127, 168, 0.08), rgba(93, 127, 168, 0.12));
}

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

html,
body {
  height: 100%;
  color-scheme: light;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.96) 0%, rgba(235, 238, 243, 0.96) 52%, rgba(223, 227, 233, 0.98) 100%);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.mobile-nav-open {
  overflow: hidden;
}

body::-webkit-scrollbar {
  display: none;
}

::selection {
  background: rgba(197, 160, 89, 0.32);
  color: #17181b;
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  z-index: 400;
  background: linear-gradient(90deg, var(--gold), var(--accent-gold));
}

.page-webgl {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

#webgl-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.page-webgl-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24% 16%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.06) 24%, rgba(255, 255, 255, 0) 48%),
    radial-gradient(circle at 72% 58%, rgba(154, 123, 62, 0.06) 0%, rgba(154, 123, 62, 0) 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(250, 248, 244, 0.14) 30%, rgba(250, 248, 244, 0.6) 100%);
  opacity: 0.16;
}

.webgl-unavailable {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  display: none;
  padding: 10px 12px;
  border: 1px solid rgba(23, 24, 27, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

html.webgl-unavailable .webgl-unavailable {
  display: block;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 3vw;
  background: linear-gradient(180deg, rgba(252, 252, 252, 0.34) 0%, rgba(252, 252, 252, 0.12) 58%, rgba(252, 252, 252, 0) 100%);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  background: rgba(252, 252, 252, 0.82);
  border-bottom-color: rgba(140, 128, 106, 0.08);
  box-shadow: 0 10px 30px rgba(123, 114, 97, 0.05);
  backdrop-filter: blur(22px) saturate(112%);
  -webkit-backdrop-filter: blur(22px) saturate(112%);
}

.site-header nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.28em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-actions {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav-links a {
  color: rgba(26, 26, 26, 0.72);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a.active:not(.nav-cta) {
  padding-bottom: 2px;
  border-bottom: 1px solid var(--gold);
}

.mobile-nav-toggle {
  display: none;
  align-items: center;
  gap: 0.62rem;
  min-height: 44px;
  padding: 0.5rem 0.86rem 0.5rem 0.96rem;
  border: 1px solid rgba(140, 128, 106, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.54),
    0 10px 22px rgba(var(--paper-shadow-rgb), 0.06);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-nav-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(154, 123, 62, 0.34);
  background: rgba(255, 252, 246, 0.48);
}

.mobile-nav-toggle:focus-visible {
  outline: none;
  border-color: rgba(154, 123, 62, 0.42);
  box-shadow:
    0 0 0 3px rgba(154, 123, 62, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 10px 22px rgba(var(--paper-shadow-rgb), 0.08);
}

.mobile-nav-toggle-label {
  line-height: 1;
}

.mobile-nav-toggle-icon {
  position: relative;
  display: inline-block;
  width: 0.86rem;
  height: 0.76rem;
}

.mobile-nav-toggle-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-nav-toggle-icon span:first-child {
  top: 0.2rem;
}

.mobile-nav-toggle-icon span:last-child {
  bottom: 0.2rem;
  opacity: 0.78;
}

.site-header.mobile-nav-open .mobile-nav-toggle-icon span:first-child {
  transform: translateY(0.18rem) rotate(45deg);
}

.site-header.mobile-nav-open .mobile-nav-toggle-icon span:last-child {
  transform: translateY(-0.18rem) rotate(-45deg);
  opacity: 1;
}

.site-header.mobile-nav-open .mobile-nav-toggle {
  color: rgba(26, 26, 26, 0.84);
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.075em;
  text-transform: none;
}

.site-header.mobile-nav-open .mobile-nav-toggle-label {
  display: inline-block;
  transform: translateY(-0.01em);
}

.mobile-nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(246, 243, 236, 0.52) 0%, rgba(246, 243, 236, 0.26) 28%, rgba(246, 243, 236, 0.08) 100%),
    radial-gradient(circle at 80% 8%, rgba(154, 123, 62, 0.08) 0%, rgba(154, 123, 62, 0) 26%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
  transition:
    opacity 220ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 220ms;
}

.nav-cta {
  padding: 0.55rem 1.2rem;
  border: 1px solid rgba(154, 123, 62, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
  color: var(--gold) !important;
}

.nav-cta:hover {
  border-color: var(--gold);
  background: var(--gold-dim);
}

.hero-sticky {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
}

html.boot-contact-target .hero-sticky,
html.boot-contact-target .canvas-wrap,
html.boot-contact-target .scroll-section,
html.boot-contact-target #section-indicator {
  display: none !important;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: radial-gradient(
    circle at center,
    rgba(250, 248, 244, 0.01) 0%,
    rgba(250, 248, 244, 0.18) 32%,
    rgba(250, 248, 244, 0.68) 72%,
    rgba(250, 248, 244, 0.94) 100%
  );
  pointer-events: none;
  will-change: opacity, background;
}

.hero-content-layer {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-slide-one {
  position: absolute;
  color: var(--text-primary);
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.8vw, 5.6rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  opacity: 1;
  filter: blur(0px);
  will-change: opacity, transform, filter;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.82),
    0 16px 36px rgba(255, 255, 255, 0.24);
}

.s1-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
}

.s1-sub {
  display: block;
  margin-top: 28px;
  opacity: 0;
  transform: translateY(10px);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.hero-slide-two {
  position: absolute;
  left: 5vw;
  max-width: 640px;
  text-align: left;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(5px);
  will-change: opacity, transform, filter;
}

.hero-section-tag {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  margin-bottom: 24px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.82),
    0 10px 20px rgba(255, 255, 255, 0.14);
}

.hero-section-tag::before,
.hero-section-tag::after {
  content: "";
  width: 32px;
  height: 1px;
  opacity: 0.3;
  background-color: var(--text-primary);
}

.hero-headline {
  margin-bottom: 32px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 7vw, 8rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.06em;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.88),
    0 18px 42px rgba(255, 255, 255, 0.2);
}

.hero-headline .verified,
.accent {
  color: #8a6630;
  background: linear-gradient(180deg, #b4893d 0%, #89652a 56%, #714f1b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-subheadline {
  max-width: 860px;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  font-weight: 300;
  line-height: 1.7;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.82),
    0 12px 22px rgba(255, 255, 255, 0.16);
}

.hero-trust {
  margin-top: 2rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-trust span {
  color: var(--gold);
}

.hero-cta,
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  pointer-events: auto;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.85rem 1.2rem;
  border: 1px solid rgba(23, 24, 27, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.cta-button:hover {
  transform: translateY(-1px);
}

.cta-primary {
  border-color: rgba(154, 123, 62, 0.26);
  background: linear-gradient(180deg, rgba(255, 249, 238, 0.94), rgba(248, 240, 220, 0.9));
}

.cta-secondary,
.cta-tertiary {
  background: rgba(255, 255, 255, 0.6);
}

.hero-slide-three {
  position: absolute;
  bottom: 6vh;
  left: 50%;
  z-index: 12;
  width: min(680px, 88vw);
  text-align: center;
  opacity: 0;
  filter: blur(6px);
  transform: translateX(-50%) translateY(12px);
  will-change: opacity, transform, filter;
}

.hero-slide-one[aria-hidden="true"],
.hero-slide-two[aria-hidden="true"],
.hero-slide-three[aria-hidden="true"] {
  visibility: hidden;
}

.hero-slide-three .hero-section-tag {
  justify-content: center;
}

.hero-slide-three-copy {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.82),
    0 10px 20px rgba(255, 255, 255, 0.14);
}

#section-indicator {
  position: fixed;
  top: 50%;
  left: 1.5vw;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.4s ease;
}

#section-indicator.visible {
  opacity: 1;
}

.indicator-track {
  position: relative;
  width: 1px;
  height: 120px;
  border-radius: 1px;
  background: var(--border);
}

.indicator-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  border-radius: 1px;
  background: var(--gold);
}

.indicator-label {
  margin-top: 0.75rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}

.canvas-wrap {
  position: fixed;
  inset: 0;
  z-index: 4;
  --diagram-stage-opacity: 0;
  opacity: 0;
  pointer-events: none;
  isolation: isolate;
  will-change: opacity, transform, filter;
}

.canvas-wrap::before,
.canvas-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.canvas-wrap::before {
  z-index: 1;
  inset: 10vh 10vw 8vh;
  background:
    radial-gradient(circle at 52% 48%, var(--paper-stage-highlight) 0%, rgba(255, 255, 255, 0.08) 18%, rgba(255, 255, 255, 0.02) 34%, rgba(255, 255, 255, 0) 56%),
    radial-gradient(circle at 50% 58%, var(--paper-stage-warmth) 0%, rgba(154, 123, 62, 0) 40%);
  filter: blur(24px);
  opacity: calc(0.66 * var(--diagram-stage-opacity));
}

.canvas-wrap::after {
  z-index: 2;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 24%, rgba(255, 255, 255, 0) 46%),
    radial-gradient(circle at center, rgba(250, 248, 244, 0) 42%, var(--paper-stage-edge) 100%);
  opacity: calc(0.42 * var(--diagram-stage-opacity));
}

#canvas-fade {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: calc(0.16 * var(--diagram-stage-opacity));
  background:
    radial-gradient(circle at 52% 44%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 22%, rgba(255, 255, 255, 0) 46%),
    linear-gradient(180deg, rgba(var(--paper-rgb), 0.1) 0%, rgba(var(--paper-rgb), 0.36) 100%);
}

#scroll-container {
  position: relative;
  z-index: 10;
  height: 1200vh;
}

.scroll-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  z-index: 12;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.scroll-section.active {
  visibility: visible;
  pointer-events: auto;
}

.align-left {
  padding-left: 3vw;
  padding-right: 70vw;
}

.align-right {
  padding-left: 78vw;
  padding-right: 2vw;
}

.align-left .section-inner {
  max-width: min(29rem, 27vw);
}

.align-right .section-inner {
  max-width: min(23rem, 21vw);
}

#features {
  padding-left: 2.5vw;
  padding-right: 72vw;
}

#features .section-inner {
  max-width: min(25rem, 23vw);
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  overscroll-behavior-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scrollbar-width: none;
  padding-top: 1.85rem;
}

#features .section-inner::-webkit-scrollbar {
  width: 0;
  height: 0;
}

#specs {
  padding-left: 3vw;
  padding-right: 60vw;
}

#specs .section-inner {
  max-width: min(35rem, 35vw);
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  overscroll-behavior-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scrollbar-width: none;
  padding-top: 2.05rem;
}

#specs .section-inner::-webkit-scrollbar {
  width: 0;
  height: 0;
}

#specs .spec-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11.75rem), 1fr));
  gap: 0.9rem;
}

#specs .spec-item {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.48);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  box-shadow:
    0 14px 30px rgba(var(--paper-shadow-rgb), 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  transition:
    border-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 260ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

#specs .spec-item.is-expanded {
  border-color: rgba(154, 123, 62, 0.22);
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.92), rgba(248, 242, 229, 0.84));
  box-shadow:
    0 18px 34px rgba(var(--paper-shadow-rgb), 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

#specs .spec-item:focus-within {
  border-color: rgba(154, 123, 62, 0.24);
  box-shadow:
    0 0 0 2px rgba(154, 123, 62, 0.14),
    0 18px 34px rgba(var(--paper-shadow-rgb), 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

#specs .spec-trigger {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1rem 1.05rem 0.94rem;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

#specs .spec-trigger::after {
  content: "+";
  flex: 0 0 auto;
  margin-top: 0.16rem;
  color: rgba(154, 123, 62, 0.72);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1;
  transform: rotate(0deg);
  transition:
    color 180ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

#specs .spec-item.is-expanded .spec-trigger::after {
  color: var(--gold);
  transform: rotate(45deg);
}

#specs .spec-trigger:focus-visible {
  outline: none;
}

#specs .spec-detail {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  padding: 0 1.05rem 0;
  border-top: 1px solid rgba(140, 128, 106, 0);
  transition:
    max-height 280ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 280ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

#specs .spec-item.is-expanded .spec-detail {
  max-height: var(--spec-detail-height, 8.5rem);
  opacity: 1;
  transform: translateY(0);
  padding: 0 1.05rem 1rem;
  border-top-color: rgba(140, 128, 106, 0.14);
}

#specs .spec-value {
  font-size: clamp(1.5rem, 1.7vw, 1.82rem);
  line-height: 1.06;
  letter-spacing: -0.024em;
  text-wrap: balance;
}

#specs .spec-label {
  margin-top: 0;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.38;
  text-transform: none;
  text-wrap: pretty;
}

@media (hover: hover) and (pointer: fine) {
  #specs .spec-trigger:hover::after {
    color: var(--gold);
  }

  #specs .spec-item:hover {
    border-color: rgba(154, 123, 62, 0.18);
  }
}

#features .section-label {
  margin-bottom: 1.25rem;
}

#features .section-heading {
  margin-bottom: 1rem;
}

.section-inner {
  position: relative;
  padding: 2.35rem 2.45rem;
  border: 1px solid var(--paper-border);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(var(--paper-rgb), 0.76) 0%, rgba(var(--paper-rgb), 0.54) 100%);
  box-shadow:
    0 24px 72px rgba(var(--paper-shadow-rgb), 0.08),
    inset 0 1px 0 var(--paper-glow);
  backdrop-filter: blur(16px) saturate(118%);
  -webkit-backdrop-filter: blur(16px) saturate(118%);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.36);
  will-change: opacity, transform;
}

[data-label="005"] .section-inner {
  max-width: min(24.75rem, 24vw);
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  overscroll-behavior-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scrollbar-width: none;
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
}

[data-label="005"] .section-inner::-webkit-scrollbar {
  width: 0;
  height: 0;
}

[data-label="003"] .section-inner {
  max-height: calc(100vh - 320px);
  overflow-y: auto;
  overscroll-behavior-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scrollbar-width: none;
}

[data-label="003"] .section-inner::-webkit-scrollbar {
  width: 0;
  height: 0;
}

[data-label="005"] .section-inner::after,
[data-label="003"] .section-inner::after,
#specs .section-inner::after,
#features .section-inner::after {
  content: "";
  position: sticky;
  bottom: 0;
  display: block;
  height: 2.5rem;
  margin-top: -2.5rem;
  background: linear-gradient(to top, rgba(var(--paper-rgb), 0.88) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

[data-label="005"] .section-heading {
  margin-bottom: 0.8rem;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

[data-label="005"] .section-note {
  margin-top: 0.6rem;
  font-size: 0.88rem;
  line-height: 1.52;
}

[data-label="005"] .section-inner,
#specs .section-inner {
  background: linear-gradient(180deg, rgba(var(--paper-rgb), 0.82) 0%, rgba(var(--paper-rgb), 0.66) 100%);
  box-shadow:
    0 28px 82px rgba(var(--paper-shadow-rgb), 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.section-inner::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 27px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0) 42%);
  pointer-events: none;
}

.section-inner > * {
  position: relative;
  z-index: 1;
}

.section-label {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-heading {
  margin: 0 0 1.2rem;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.section-body,
.section-note,
.feature-item p,
.footer-copy {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

.section-note {
  margin-top: 1.1rem;
}

.capability-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
  margin: 1.08rem 0 1rem;
}

.capability-metric {
  position: relative;
  padding: 0.92rem 0.96rem 0.88rem;
  border: 1px solid rgba(140, 128, 106, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.46);
  box-shadow:
    0 18px 44px rgba(var(--paper-shadow-rgb), 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.capability-metric-value {
  display: block;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(1.68rem, 2.1vw, 2.18rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.capability-metric-label {
  display: block;
  margin-top: 0.32rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.78rem;
  line-height: 1.34;
  text-wrap: pretty;
}

.capability-layer-module {
  display: grid;
  gap: 0.72rem;
  margin-top: 0.96rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(140, 128, 106, 0.16);
  position: relative;
}

.capability-layer-module-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0;
}

.capability-layer-kicker,
.capability-layer-step,
.capability-layer-number {
  color: var(--gold);
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.capability-layer-kicker {
  font-size: 0.64rem;
}

.capability-layer-step,
.capability-layer-number {
  font-size: 0.68rem;
}

.capability-layer-step {
  color: rgba(26, 26, 26, 0.58);
}

.capability-layer-spotlight {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 1rem 1.02rem 0.98rem;
  border: 1px solid rgba(140, 128, 106, 0.14);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0.42) 100%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  box-shadow:
    0 18px 44px rgba(var(--paper-shadow-rgb), 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.capability-layer-spotlight::before,
.capability-layer-spotlight::after {
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.capability-layer-spotlight::before {
  background:
    radial-gradient(circle at top left, rgba(201, 146, 42, 0.14), transparent 52%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 48%);
  opacity: 0.78;
}

.capability-layer-spotlight::after {
  inset: 1px 1px auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0));
  opacity: 0.72;
}

.capability-layer-spotlight-body {
  display: grid;
  align-content: start;
  gap: 0.72rem;
  min-height: 12.6rem;
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
  transition:
    filter 180ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 136ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 196ms cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  will-change: filter, opacity, transform;
  z-index: 1;
}

.capability-layer-spotlight-main,
.capability-layer-spotlight-detail {
  display: grid;
}

.capability-layer-spotlight-main {
  gap: 0.34rem;
}

.capability-layer-spotlight-detail {
  gap: 0.68rem;
}

.capability-layer-module.is-swapping .capability-layer-spotlight-body {
  filter: blur(4px);
  opacity: 0.52;
  transform: translateY(4px);
}

.capability-layer-title {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.12rem;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.capability-layer-eyebrow,
.capability-layer-copy,
.capability-layer-need {
  margin: 0;
  font-family: var(--font-body);
}

.capability-layer-eyebrow {
  color: rgba(26, 26, 26, 0.68);
  font-size: 0.84rem;
  line-height: 1.42;
}

.capability-layer-copy {
  margin-top: 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.48;
  text-wrap: pretty;
}

.capability-layer-need {
  margin-top: 0;
  padding-top: 0.72rem;
  border-top: 1px solid rgba(140, 128, 106, 0.16);
  color: var(--text-primary);
  font-size: 0.8rem;
  line-height: 1.44;
  text-wrap: pretty;
}

.capability-layer-toolbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: 0.42rem;
  margin-top: 0;
}

.capability-layer-tab {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(140, 128, 106, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  color: rgba(26, 26, 26, 0.74);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  line-height: 1.18;
  min-height: 42px;
  padding: 0.56rem 0.72rem;
  text-align: center;
  text-wrap: balance;
  text-transform: uppercase;
  overflow: hidden;
  position: relative;
  transform: translateY(0);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
  touch-action: manipulation;
  transition:
    border-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
    color 180ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 240ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
  user-select: none;
}

.capability-layer-tab:focus-visible,
.capability-layer-tab[aria-pressed="true"] {
  color: var(--text-primary);
}

.capability-layer-tab:focus-visible {
  border-color: rgba(154, 123, 62, 0.22);
  background: rgba(255, 255, 255, 0.46);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(var(--paper-shadow-rgb), 0.04);
}

.capability-layer-tab:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px rgba(154, 123, 62, 0.18),
    0 14px 28px rgba(var(--paper-shadow-rgb), 0.06);
}

.capability-layer-tab[aria-pressed="true"] {
  border-color: rgba(154, 123, 62, 0.28);
  background: linear-gradient(180deg, rgba(255, 249, 238, 0.92), rgba(248, 240, 220, 0.84));
  transform: translateY(-1px);
  box-shadow:
    0 14px 28px rgba(var(--paper-shadow-rgb), 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.capability-layer-tab[aria-pressed="true"]:focus-visible {
  box-shadow:
    0 0 0 2px rgba(154, 123, 62, 0.18),
    0 14px 28px rgba(var(--paper-shadow-rgb), 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.capability-layer-tab:active {
  transform: translateY(0) scale(0.985);
  transition-duration: 120ms;
}

@media (hover: hover) and (pointer: fine) {
  .capability-layer-tab:hover {
    border-color: rgba(154, 123, 62, 0.22);
    background: rgba(255, 255, 255, 0.46);
    color: var(--text-primary);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(var(--paper-shadow-rgb), 0.04);
  }
}

.feature-list {
  display: grid;
  gap: 1rem;
}

.feature-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(140, 128, 106, 0.16);
}

.feature-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.feature-number {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.feature-item h3 {
  margin: 0 0 0.35rem;
  color: var(--text-primary);
  font-size: 1.02rem;
}

.stats-vertical {
  display: grid;
  gap: 1rem;
}

.stats-vertical {
  grid-auto-rows: minmax(0, auto);
}

.stat {
  padding: 1rem 0;
  border-top: 1px solid rgba(140, 128, 106, 0.16);
}

.stat:first-child {
  border-top: 0;
  padding-top: 0;
}

[data-label="005"] .stats-vertical {
  gap: 0.5rem;
}

[data-label="005"] .stat {
  display: flex;
  flex-direction: column;
  gap: 0.24rem;
  padding: 0.62rem 0.9rem 0.58rem;
  border: 1px solid rgba(140, 128, 106, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

[data-label="005"] .stat:first-child {
  padding-top: 0.62rem;
  border: 1px solid rgba(140, 128, 106, 0.14);
}

.stat-number,
.spec-value {
  display: block;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.stat-label,
.spec-label {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

[data-label="005"] .stat-number {
  font-size: clamp(1.56rem, 1.95vw, 2.02rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
}

[data-label="005"] .stat-label {
  margin-top: 0;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.38;
  text-transform: none;
  text-wrap: pretty;
}

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

.spec-item {
  padding: 1rem;
  border: 1px solid rgba(140, 128, 106, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.42);
}

.site-footer {
  position: relative;
  z-index: 12;
  padding: var(--site-footer-padding, 10rem 3vw 2rem);
}

.site-footer .story-footer-panel {
  padding-top: var(--story-footer-panel-padding-top, 2.4rem);
  padding-bottom: var(--story-footer-panel-padding-bottom, 2.3rem);
  max-width: var(--site-footer-inner-width, min(1020px, 100%));
  background: linear-gradient(180deg, rgba(var(--paper-rgb), 0.84) 0%, rgba(var(--paper-rgb), 0.72) 100%);
  box-shadow:
    0 30px 90px rgba(var(--paper-shadow-rgb), 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.footer-wordmark {
  margin-bottom: var(--site-footer-wordmark-gap, 1.25rem);
  color: var(--site-footer-wordmark-color, rgba(26, 26, 26, 0.12));
  font-family: var(--font-display);
  font-size: var(--site-footer-wordmark-size, clamp(3rem, 10vw, 10rem));
  letter-spacing: var(--site-footer-wordmark-tracking, 0.24em);
}

.footer-inner {
  max-width: var(--site-footer-inner-width, 920px);
}

.footer-copy {
  margin-top: 0.5rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.75rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(140, 128, 106, 0.12);
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  transition: color 0.25s ease;
}

.footer-nav a:hover,
.footer-nav a.active {
  color: var(--text-primary);
}

.footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.footer-trust-item {
  padding: 0.24rem 0.56rem;
  border: 1px solid rgba(140, 128, 106, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: rgba(26, 26, 26, 0.72);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.footer-contact {
  margin-top: 0.35rem;
}

.footer-contact a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  transition: color 0.25s ease;
}

.footer-contact a:hover {
  color: var(--gold);
}

.specs-visual {
  position: absolute;
  top: 50%;
  right: 12vw;
  transform: translateY(-50%);
  width: clamp(200px, 22vw, 320px);
  height: clamp(200px, 22vw, 320px);
  pointer-events: none;
  opacity: 0.52;
}

.specs-stamp {
  width: 100%;
  height: 100%;
}

@media (max-width: 1100px) {
  .align-left {
    padding-right: 62vw;
  }

  .align-right {
    padding-left: 68vw;
  }

  .align-left .section-inner,
  .align-right .section-inner,
  #features .section-inner {
    max-width: min(31rem, 34vw);
  }
}

@media (max-height: 860px) {
  .scroll-section {
    align-items: flex-start;
    box-sizing: border-box;
    padding-top: 88px;
    padding-bottom: 22px;
  }

  .section-inner {
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    padding: 1.35rem 1.15rem;
    border-radius: 24px;
  }

  .section-inner::before {
    border-radius: 23px;
  }

  .section-label {
    margin-bottom: 1rem;
    font-size: 0.64rem;
    letter-spacing: 0.13em;
  }

  .section-heading {
    margin-bottom: 0.82rem;
    font-size: clamp(1.72rem, 4.8vw, 2.8rem);
    line-height: 1.04;
  }

  .section-body,
  .section-note,
  .feature-item p,
  .footer-copy {
    font-size: 0.89rem;
    line-height: 1.58;
  }

  .section-note {
    margin-top: 0.78rem;
  }

  .capability-metric-grid {
    gap: 0.58rem;
    margin: 0.82rem 0 0.84rem;
  }

  .capability-metric {
    padding: 0.72rem 0.76rem 0.68rem;
    border-radius: 16px;
  }

  .capability-metric-value {
    font-size: clamp(1.34rem, 3.1vw, 1.72rem);
  }

  .capability-metric-label {
    font-size: 0.68rem;
    line-height: 1.24;
  }

  .capability-layer-module {
    margin-top: 0.74rem;
    padding-top: 0.76rem;
  }

  .capability-layer-module-top {
    margin-bottom: 0;
  }

  .capability-layer-kicker,
  .capability-layer-step,
  .capability-layer-number {
    font-size: 0.6rem;
  }

  .capability-layer-spotlight {
    padding: 0.82rem 0.86rem 0.8rem;
    border-radius: 17px;
  }

  .capability-layer-spotlight-body {
    gap: 0.6rem;
    min-height: 10.75rem;
  }

  .capability-layer-spotlight-detail {
    gap: 0.58rem;
  }

  .capability-layer-title {
    font-size: 0.98rem;
  }

  .capability-layer-eyebrow,
  .capability-layer-copy,
  .capability-layer-need {
    font-size: 0.76rem;
    line-height: 1.34;
  }

  .capability-layer-copy {
    margin-top: 0;
  }

  .capability-layer-need {
    margin-top: 0;
    padding-top: 0.58rem;
  }

  .capability-layer-toolbar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.34rem;
    margin-top: 0;
  }

  .capability-layer-tab {
    min-height: 40px;
    padding: 0.46rem 0.58rem;
    font-size: 0.54rem;
  }

  .feature-list,
  .stats-vertical,
  .spec-grid {
    gap: 0.75rem;
  }

  .feature-item {
    grid-template-columns: 36px 1fr;
    gap: 10px;
    padding: 0.68rem 0;
  }

  .feature-number {
    font-size: 0.72rem;
  }

  .feature-item h3 {
    margin-bottom: 0.18rem;
    font-size: 0.95rem;
  }

  .stat {
    padding: 0.74rem 0;
  }

  .stat-number,
  .spec-value {
    font-size: clamp(1.68rem, 3.8vw, 2.45rem);
  }

  .spec-item {
    padding: 0.78rem;
    border-radius: 16px;
  }

  .section-inner {
    scrollbar-width: none;
  }

  .section-inner::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

  #features .section-inner {
    max-height: calc(100vh - 160px);
    padding-top: 0.82rem;
    padding-bottom: 1.12rem;
  }

  #features .section-label {
    margin-bottom: 0.72rem;
  }

  #features .section-heading {
    margin-bottom: 0.72rem;
    font-size: clamp(1.56rem, 3.5vw, 2.3rem);
    line-height: 0.98;
  }

  #features .feature-list {
    gap: 0.5rem;
  }

  #features .feature-item {
    grid-template-columns: 32px 1fr;
    gap: 8px;
    padding: 0.48rem 0;
  }

  #features .feature-number {
    font-size: 0.68rem;
  }

  #features .feature-item h3 {
    margin-bottom: 0.12rem;
    font-size: 0.92rem;
  }

  #features .feature-item p {
    font-size: 0.84rem;
    line-height: 1.44;
  }
}

@media (min-width: 769px) and (max-height: 920px) {
  #features {
    padding-right: 68vw;
  }

  #features .section-inner {
    max-width: min(27.25rem, 28.5vw);
    padding-top: 1.05rem;
    padding-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 1.28rem;
  }

  #features .section-label {
    margin-bottom: 0.64rem;
    font-size: 0.62rem;
    letter-spacing: 0.13em;
  }

  #features .section-heading {
    margin-bottom: 0.64rem;
    font-size: clamp(1.36rem, 2.76vw, 1.94rem);
    line-height: 0.94;
    text-wrap: balance;
  }

  #features .capability-metric-grid {
    gap: 0.48rem;
    margin: 0.72rem 0 0.76rem;
  }

  #features .capability-metric {
    padding: 0.64rem 0.68rem 0.6rem;
  }

  #features .capability-metric-value {
    font-size: clamp(1.14rem, 2.02vw, 1.42rem);
  }

  #features .capability-metric-label {
    font-size: 0.62rem;
    line-height: 1.18;
  }

  #features .capability-layer-module {
    margin-top: 0.62rem;
    padding-top: 0.62rem;
  }

  #features .capability-layer-module-top {
    margin-bottom: 0;
  }

  #features .capability-layer-kicker,
  #features .capability-layer-step,
  #features .capability-layer-number {
    font-size: 0.56rem;
  }

  #features .capability-layer-spotlight {
    padding: 0.72rem 0.76rem 0.7rem;
    border-radius: 16px;
  }

  #features .capability-layer-spotlight-body {
    gap: 0.48rem;
    min-height: 9.75rem;
  }

  #features .capability-layer-spotlight-detail {
    gap: 0.46rem;
  }

  #features .capability-layer-title {
    font-size: 0.92rem;
  }

  #features .capability-layer-eyebrow,
  #features .capability-layer-copy,
  #features .capability-layer-need {
    font-size: 0.72rem;
    line-height: 1.28;
  }

  #features .capability-layer-copy {
    margin-top: 0;
  }

  #features .capability-layer-need {
    margin-top: 0;
    padding-top: 0.46rem;
  }

  #features .capability-layer-toolbar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.28rem;
    margin-top: 0;
  }

  #features .capability-layer-tab {
    min-height: 38px;
    padding: 0.42rem 0.46rem;
    font-size: 0.48rem;
  }

  #features .feature-list {
    gap: 0.38rem;
  }

  #features .feature-item {
    grid-template-columns: 30px 1fr;
    gap: 8px;
    padding: 0.42rem 0;
  }

  #features .feature-number {
    font-size: 0.66rem;
  }

  #features .feature-item h3 {
    margin-bottom: 0.08rem;
    font-size: 0.88rem;
  }

  #features .feature-item p {
    font-size: 0.79rem;
    line-height: 1.32;
  }
}

@media (min-width: 769px) and (max-height: 860px) {
  #features {
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
  }

  #features .section-inner {
    max-height: calc(100vh - 164px);
  }
}

@media (max-width: 768px) {
  .specs-visual {
    display: none;
  }

  .footer-nav {
    gap: 1rem;
  }

  .footer-trust {
    gap: 0.52rem;
  }

  .footer-trust-item {
    font-size: 0.56rem;
    padding: 0.32rem 0.58rem;
  }

  .site-header {
    padding: 16px 18px;
  }

  body.mobile-nav-open .site-header {
    background: rgba(252, 252, 252, 0.9);
    border-bottom-color: rgba(140, 128, 106, 0.08);
    box-shadow: 0 16px 42px rgba(var(--paper-shadow-rgb), 0.08);
    -webkit-backdrop-filter: blur(26px) saturate(118%);
    backdrop-filter: blur(26px) saturate(118%);
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .mobile-nav-scrim {
    display: block;
  }

  .site-header.mobile-nav-open .mobile-nav-scrim {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(18.25rem, calc(100vw - 36px));
    max-height: calc(100vh - 104px);
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    padding: 0.68rem;
    border: 1px solid rgba(140, 128, 106, 0.14);
    border-radius: 24px;
    overflow: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    background:
      radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0) 28%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 242, 229, 0.92));
    box-shadow:
      0 24px 52px rgba(var(--paper-shadow-rgb), 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.62);
    -webkit-backdrop-filter: blur(28px) saturate(170%);
    backdrop-filter: blur(28px) saturate(170%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transition:
      opacity 220ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 260ms;
    z-index: 3;
  }

  .nav-links::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

  .nav-links::before {
    content: "";
    position: absolute;
    top: 0;
    left: 22px;
    right: 22px;
    height: 1px;
    background: linear-gradient(90deg, rgba(154, 123, 62, 0), rgba(154, 123, 62, 0.4), rgba(154, 123, 62, 0));
    opacity: 0.8;
    pointer-events: none;
  }

  .site-header.mobile-nav-open .nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
  }

  .nav-links a,
  .nav-links a:not(.nav-cta) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.84rem 0.96rem;
    border: 1px solid transparent;
    border-radius: 16px;
    color: rgba(26, 26, 26, 0.76);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.035em;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.54);
  }

  .nav-links a.active:not(.nav-cta) {
    padding-bottom: 0.82rem;
    border-bottom: 0;
    color: var(--text-primary);
    border-color: rgba(154, 123, 62, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(250, 245, 232, 0.58));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.58),
      0 10px 24px rgba(var(--paper-shadow-rgb), 0.05);
  }

  .nav-links .nav-cta {
    order: -1;
    justify-content: center;
    margin-bottom: 0.26rem;
    padding: 0.92rem 1rem;
    background: linear-gradient(180deg, rgba(255, 250, 241, 0.98), rgba(248, 240, 220, 0.94));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.76),
      0 14px 28px rgba(154, 123, 62, 0.1);
  }

  .hero-slide-two {
    left: 18px;
    right: 18px;
    max-width: none;
  }

  .hero-section-tag {
    gap: 12px;
    font-size: 8px;
    letter-spacing: 0.22em;
  }

  .hero-headline {
    font-size: clamp(2.9rem, 14vw, 4.2rem);
  }

  .hero-slide-three {
    bottom: 4vh;
  }

  .hero-slide-three-copy {
    padding: 0 10px;
    font-size: 0.9rem;
  }

  .canvas-wrap::before {
    inset: 14vh 4vw 24vh;
    filter: blur(18px);
    opacity: calc(0.52 * var(--diagram-stage-opacity));
  }

  .canvas-wrap::after {
    opacity: calc(0.28 * var(--diagram-stage-opacity));
  }

  #section-indicator {
    display: none;
  }

  #scroll-container {
    height: 980vh;
  }

  .align-left,
  .align-right,
  #features,
  #specs {
    padding-left: 18px;
    padding-right: 18px;
  }

  .align-left .section-inner,
  .align-right .section-inner,
  #features .section-inner,
  #specs .section-inner {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 1.5rem 1.2rem;
  }

  .section-heading {
    text-wrap: balance;
  }

  .capability-metric-grid {
    gap: 0.54rem;
  }

  .capability-metric {
    padding: 0.8rem 0.84rem 0.76rem;
    border-radius: 16px;
  }

  .capability-metric-value {
    font-size: clamp(1.38rem, 6.2vw, 1.72rem);
  }

  .capability-metric-label {
    font-size: 0.7rem;
    line-height: 1.24;
  }

  .capability-layer-kicker,
  .capability-layer-step,
  .capability-layer-number {
    font-size: 0.62rem;
  }

  .capability-layer-spotlight {
    padding: 0.88rem 0.9rem 0.84rem;
    border-radius: 17px;
  }

  .capability-layer-spotlight-body {
    min-height: 11.7rem;
  }

  .capability-layer-title {
    font-size: 1rem;
  }

  .capability-layer-eyebrow,
  .capability-layer-copy,
  .capability-layer-need {
    font-size: 0.78rem;
    line-height: 1.36;
  }

  .capability-layer-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.38rem;
  }

  .capability-layer-tab {
    min-height: 44px;
    padding: 0.5rem 0.62rem;
    font-size: 0.56rem;
  }

  .capability-layer-tab:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 0.19rem);
  }

  [data-label="005"] .section-inner {
    padding-top: 1.32rem;
    padding-bottom: 1.16rem;
  }

  [data-label="005"] .section-heading {
    margin-bottom: 0.72rem;
    font-size: clamp(2rem, 10vw, 2.72rem);
    line-height: 0.94;
  }

  [data-label="005"] .stats-vertical {
    gap: 0.56rem;
  }

  [data-label="005"] .stat,
  [data-label="005"] .stat:first-child {
    gap: 0.28rem;
    padding: 0.76rem 0.84rem 0.72rem;
    border-radius: 15px;
  }

  [data-label="005"] .stat-number {
    font-size: clamp(1.42rem, 6.8vw, 1.72rem);
    line-height: 0.96;
  }

  [data-label="005"] .stat-label {
    font-size: 0.76rem;
    line-height: 1.34;
  }

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

  #specs .section-inner {
    padding-top: 1.22rem;
    padding-bottom: 1.08rem;
  }

  #specs .section-heading {
    margin-bottom: 0.72rem;
    font-size: clamp(2rem, 10vw, 2.72rem);
    line-height: 0.94;
  }

  #specs .spec-grid {
    gap: 0.54rem;
  }

  #specs .spec-item {
    min-height: 0;
    padding: 0;
    border-radius: 15px;
  }

  #specs .spec-trigger {
    gap: 0.64rem;
    padding: 0.78rem 0.84rem 0.74rem;
  }

  #specs .spec-trigger::after {
    font-size: 0.7rem;
  }

  #specs .spec-detail {
    padding-left: 0.84rem;
    padding-right: 0.84rem;
  }

  #specs .spec-item.is-expanded .spec-detail {
    max-height: var(--spec-detail-height, 7.5rem);
    padding-bottom: 0.78rem;
  }

  #specs .spec-value {
    font-size: clamp(1.42rem, 6.8vw, 1.72rem);
    line-height: 1.04;
  }

  #specs .spec-label {
    margin-top: 0;
    font-size: 0.74rem;
    letter-spacing: 0;
    line-height: 1.34;
  }

  #specs .section-note {
    margin-top: 0.72rem;
    font-size: 0.84rem;
    line-height: 1.48;
  }

  .site-footer {
    padding: var(--site-footer-padding-mobile, 7rem 18px 2rem);
  }

  .footer-wordmark {
    letter-spacing: 0.12em;
  }

  .focus-caption {
    bottom: 12px;
    max-width: 72vw;
    font-size: 5.4px;
    letter-spacing: 0.12em;
    text-align: center;
    opacity: 0.54;
  }
}

@media (max-width: 768px) and (max-height: 760px) {
  #features .section-inner {
    padding-top: 1.12rem;
    padding-bottom: 0.96rem;
  }

  #features .section-heading {
    font-size: clamp(1.88rem, 9vw, 2.42rem);
    line-height: 0.94;
  }

  #features .capability-metric-grid {
    gap: 0.46rem;
    margin: 0.7rem 0 0.72rem;
  }

  #features .capability-metric {
    padding: 0.68rem 0.72rem 0.64rem;
  }

  #features .capability-metric-value {
    font-size: clamp(1.22rem, 5.6vw, 1.52rem);
  }

  #features .capability-metric-label {
    font-size: 0.66rem;
    line-height: 1.18;
  }

  #features .capability-layer-module {
    margin-top: 0.6rem;
    padding-top: 0.62rem;
  }

  #features .capability-layer-module-top {
    margin-bottom: 0;
  }

  #features .capability-layer-kicker,
  #features .capability-layer-step,
  #features .capability-layer-number {
    font-size: 0.58rem;
  }

  #features .capability-layer-spotlight {
    padding: 0.72rem 0.76rem 0.7rem;
    border-radius: 16px;
  }

  #features .capability-layer-spotlight-body {
    min-height: 10.2rem;
    gap: 0.52rem;
  }

  #features .capability-layer-spotlight-detail {
    gap: 0.42rem;
  }

  #features .capability-layer-title {
    font-size: 0.9rem;
  }

  #features .capability-layer-eyebrow,
  #features .capability-layer-copy,
  #features .capability-layer-need {
    font-size: 0.74rem;
    line-height: 1.28;
  }

  #features .capability-layer-copy {
    margin-top: 0;
  }

  #features .capability-layer-need {
    margin-top: 0;
    padding-top: 0.42rem;
  }

  #features .capability-layer-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.32rem;
    margin-top: 0;
  }

  #features .capability-layer-tab {
    min-height: 42px;
    padding: 0.46rem 0.56rem;
    font-size: 0.52rem;
  }

  #features .feature-list {
    gap: 0.42rem;
  }

  #features .feature-item {
    padding: 0.42rem 0;
  }

  #features .feature-item p {
    font-size: 0.82rem;
    line-height: 1.4;
  }

  [data-label="005"] .section-inner {
    max-height: calc(100vh - 108px);
    padding-top: 1rem;
    padding-bottom: 0.9rem;
  }

  [data-label="005"] .section-heading {
    margin-bottom: 0.52rem;
    font-size: clamp(1.72rem, 8.2vw, 2.18rem);
    line-height: 0.9;
  }

  [data-label="005"] .stats-vertical {
    gap: 0.42rem;
  }

  [data-label="005"] .stat,
  [data-label="005"] .stat:first-child {
    gap: 0.22rem;
    padding: 0.56rem 0.72rem 0.54rem;
  }

  [data-label="005"] .stat-number {
    font-size: clamp(1.2rem, 5.8vw, 1.46rem);
  }

  [data-label="005"] .stat-label {
    font-size: 0.68rem;
    line-height: 1.22;
  }

  #specs .section-inner {
    max-height: calc(100vh - 96px);
    padding-top: 1rem;
    padding-bottom: 0.88rem;
  }

  #specs .section-label {
    margin-bottom: 0.48rem;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  #specs .section-heading {
    margin-bottom: 0.52rem;
    font-size: clamp(1.68rem, 8.1vw, 2.12rem);
    line-height: 0.9;
  }

  #specs .spec-grid {
    gap: 0.4rem;
  }

  #specs .spec-item {
    padding: 0;
  }

  #specs .spec-trigger {
    gap: 0.54rem;
    padding: 0.62rem 0.72rem 0.6rem;
  }

  #specs .spec-trigger::after {
    margin-top: 0.1rem;
    font-size: 0.64rem;
  }

  #specs .spec-detail {
    padding-left: 0.72rem;
    padding-right: 0.72rem;
  }

  #specs .spec-item.is-expanded .spec-detail {
    max-height: var(--spec-detail-height, 6.6rem);
    padding-bottom: 0.64rem;
  }

  #specs .spec-value {
    font-size: clamp(1.22rem, 5.9vw, 1.48rem);
    line-height: 1.02;
  }

  #specs .spec-label {
    font-size: 0.68rem;
    line-height: 1.22;
  }

  #specs .section-note {
    margin-top: 0.52rem;
    font-size: 0.78rem;
    line-height: 1.38;
  }
}

@media (max-width: 768px) and (max-height: 700px) {
  #features .section-inner {
    max-height: calc(100vh - 122px);
  }
}

.scroll-shell {
  position: relative;
  height: calc(100vh + var(--scroll-distance));
}

.lens-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background:
    radial-gradient(circle at center, transparent 42%, rgba(0, 0, 0, 0.16) 100%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.diagram-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.38) 0%, rgba(232, 235, 240, 0.2) 58%, rgba(219, 223, 229, 0.04) 100%);
}

.atmosphere,
.hero-grid,
.hero-halo,
.registration-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  z-index: 1;
  background-image:
    linear-gradient(rgba(23, 24, 27, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 24, 27, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 88%);
}

.hero-halo {
  z-index: 1;
  background:
    radial-gradient(circle at 52% 45%, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.32) 24%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(circle at 52% 46%, rgba(197, 160, 89, 0.12) 0%, rgba(197, 160, 89, 0) 46%);
  filter: blur(18px);
}

.atmosphere {
  z-index: 0;
  overflow: hidden;
}

.dust {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  filter: blur(1px);
  animation: floatDust 25s infinite linear;
}

@keyframes floatDust {
  0% {
    transform: translateY(10vh) translateX(-5vw) scale(0.8);
    opacity: 0;
  }

  50% {
    opacity: 0.26;
  }

  100% {
    transform: translateY(-20vh) translateX(5vw) scale(1.2);
    opacity: 0;
  }
}

.scene-container {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 4200px;
  perspective-origin: 50% 42%;
}

.floor-shadow {
  position: absolute;
  width: 620px;
  height: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.72;
  filter: blur(26px);
  background: radial-gradient(ellipse at center, rgba(10, 10, 15, 0.18) 0%, rgba(0, 0, 0, 0.03) 35%, rgba(0, 0, 0, 0) 76%);
  transform: rotateX(58deg) rotateZ(-33deg) translateZ(-10px);
}

.caustic-light {
  width: 76%;
  height: 76%;
  opacity: 0;
  transform: scale(0.55);
  filter: blur(18px);
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.5) 12%, rgba(93, 127, 168, 0.09) 34%, rgba(197, 160, 89, 0.08) 54%, rgba(255, 255, 255, 0) 80%);
}

.document-stack {
  position: relative;
  width: 520px;
  height: 680px;
  transform-style: preserve-3d;
  transform: rotateX(52deg) rotateZ(-30deg) rotateY(1deg);
  will-change: transform;
}

.registration-overlay {
  z-index: 9;
  opacity: 0.34;
  transform-style: preserve-3d;
}

.reg-line {
  position: absolute;
  width: 1px;
  transform: translateZ(0.4px);
  background: linear-gradient(to bottom, rgba(197, 160, 89, 0), rgba(197, 160, 89, 0.65), rgba(197, 160, 89, 0));
  box-shadow: 0 0 8px rgba(197, 160, 89, 0.18);
  animation: regPulse 3.8s infinite alternate ease-in-out;
}

.reg-line::after {
  content: attr(data-tag);
  position: absolute;
  top: -18px;
  left: -13px;
  color: rgba(23, 24, 27, 0.44);
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 7px;
  letter-spacing: 0.1em;
}

.reg-line.a {
  left: 22%;
  top: 5%;
  height: 90%;
}

.reg-line.b {
  left: 51%;
  top: 3%;
  height: 93%;
  animation-delay: 0.22s;
}

.reg-line.c {
  left: 79%;
  top: 8%;
  height: 84%;
  animation-delay: 0.44s;
}

@keyframes regPulse {
  from {
    opacity: 0.34;
  }

  to {
    opacity: 0.18;
  }
}

.layer {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  transform-style: preserve-3d;
  will-change: transform, opacity, filter;
}

.layer-paper {
  z-index: 12;
  overflow: hidden;
  border-radius: 5px;
  border: 1px solid rgba(188, 188, 193, 0.88);
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n2'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n2)' opacity='0.02'/%3E%3C/svg%3E"),
    linear-gradient(135deg, #ffffff 0%, #fcfbf7 48%, #efede7 100%);
  box-shadow:
    0 22px 46px rgba(0, 0, 0, 0.14),
    0 4px 10px rgba(0, 0, 0, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.98);
}

.layer-paper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  width: 2px;
  height: 100%;
  transform-origin: left;
  transform: rotateY(90deg);
  background: linear-gradient(to bottom, #fff, #d9d7cf);
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.1);
}

.layer-paper::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 2px;
  transform-origin: top;
  transform: rotateX(-90deg);
  background: linear-gradient(to right, #efece4, #d8d2c7);
}

.paper-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 48px 54px;
  transform: translateZ(0.1px);
}

.pm-header,
.pm-sub,
.pm-meta,
.pm-title {
  font-family: ui-serif, "New York", Times, serif;
}

.pm-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 12px;
  color: var(--text-main);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.pm-header-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.pm-divider {
  width: 100%;
  height: 1.5px;
  margin: 0 0 12px;
  border: none;
  opacity: 0.92;
  background-color: var(--text-main);
}

.pm-title {
  margin-bottom: 12px;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.pm-sub {
  margin-top: 4px;
  margin-bottom: 8px;
  color: var(--text-main);
  font-size: 10px;
  font-style: italic;
  text-align: center;
}

.pm-meta {
  color: #575a63;
  font-size: 8px;
  line-height: 1.65;
  text-align: center;
}

.barcode-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qr-code {
  width: 22px;
  height: 22px;
  padding: 1px;
  opacity: 0.9;
  border: 1px solid var(--text-main);
  background: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath fill='%2317181b' d='M0 0h2v2H0zM3 0h1v1H3zM0 3h1v1H0zM2 2h1v1H2zM3 2h1v2H3z'/%3E%3C/svg%3E") repeat;
  background-size: 4px 4px;
}

.barcode {
  width: 60px;
  height: 14px;
  margin-bottom: 2px;
  opacity: 0.92;
  background: repeating-linear-gradient(to right, var(--text-main), var(--text-main) 1px, transparent 1px, transparent 2px, var(--text-main) 2px, var(--text-main) 4px, transparent 4px, transparent 5px, var(--text-main) 5px, var(--text-main) 6px, transparent 6px, transparent 8px);
}

.control-code {
  font-family: ui-monospace, "SF Mono", monospace;
}

.memorandum-title {
  margin-top: 22px;
  margin-bottom: 60px;
  text-align: center;
  font-family: ui-serif, "New York", serif;
}

.project-title {
  margin-bottom: 15px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.title-divider {
  margin-bottom: 15px;
  font-size: 16px;
}

.project-summary {
  padding: 0 15px;
  color: #17181b;
  font-size: 14px;
  line-height: 1.62;
}

.gold-foil-stamp {
  position: absolute;
  right: 50px;
  bottom: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateZ(0.2px);
  background: linear-gradient(135deg, #8a6300 0%, #d4af37 25%, #fffbdf 45%, #d4af37 60%, #8a6300 100%);
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.95));
  font-family: ui-serif, "New York", serif;
  font-size: 27px;
  font-style: italic;
  font-weight: 700;
}

.layer-glass {
  opacity: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background-color: rgba(252, 252, 254, 0.78);
  backdrop-filter: blur(10px) saturate(118%);
  -webkit-backdrop-filter: blur(10px) saturate(118%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    inset 0 0 0 1px rgba(255, 255, 255, 0.42),
    0 20px 40px rgba(0, 0, 0, 0.08),
    0 4px 10px rgba(0, 0, 0, 0.03);
  filter: none;
}

#layer-2 {
  background-color: var(--glass-clear);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.94),
    inset 0 0 0 1px rgba(255, 255, 255, 0.48),
    0 34px 60px rgba(0, 0, 0, 0.11),
    0 0 24px rgba(197, 160, 89, 0.06);
}

#layer-3 {
  background-color: var(--glass-clear);
}

#layer-4 {
  background-color: rgba(245, 248, 252, 0.82);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.92),
    inset 0 0 0 1px rgba(255, 255, 255, 0.42),
    0 28px 54px rgba(0, 0, 0, 0.08),
    0 0 18px rgba(93, 127, 168, 0.08);
}

#layer-5 {
  background-color: rgba(248, 246, 242, 0.82);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.88),
    inset 0 0 0 1px rgba(255, 255, 255, 0.38),
    0 24px 48px rgba(0, 0, 0, 0.07),
    0 0 16px rgba(197, 160, 89, 0.05);
}

.layer-glass::after {
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  width: 3px;
  height: 100%;
  transform-origin: left;
  transform: rotateY(90deg);
  border-left: 1px solid rgba(255, 255, 255, 0.94);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.82), rgba(225, 229, 238, 0.88));
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}

.layer-glass::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 3px;
  transform-origin: top;
  transform: rotateX(-90deg);
  border-top: 1px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(to right, rgba(228, 231, 236, 0.88), rgba(214, 217, 224, 0.94));
}

.edge-glow {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0.72;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 0 30px rgba(255, 255, 255, 0.08),
    inset 1px 1px 0 rgba(255, 255, 255, 0.22),
    inset -1px -1px 0 rgba(197, 160, 89, 0.1);
  transform: translateZ(0.6px);
}

.edge-glow.cool {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 0 28px rgba(255, 255, 255, 0.08),
    inset 0 0 12px rgba(93, 127, 168, 0.12);
}

.edge-glow.risk {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 0 26px rgba(255, 255, 255, 0.06),
    inset 0 0 10px rgba(197, 160, 89, 0.1);
}

#layer-2 .edge-glow {
  animation: edgePulse 4.2s infinite alternate ease-in-out;
}

@keyframes edgePulse {
  from {
    opacity: 0.62;
  }

  to {
    opacity: 0.88;
  }
}

.specular-sweep {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(106deg, transparent 18%, rgba(255, 255, 255, 0.12) 35%, rgba(255, 255, 255, 0.48) 48%, rgba(255, 255, 255, 0.72) 50%, rgba(255, 255, 255, 0.16) 53%, transparent 70%),
    linear-gradient(140deg, transparent 56%, rgba(255, 255, 255, 0.1) 68%, transparent 82%);
  background-size: 300% 300%;
  background-position: 100% 100%;
  mix-blend-mode: screen;
  transform: translateZ(0.5px);
}

.perimeter-marks {
  position: absolute;
  top: 8px;
  left: 0;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: space-around;
  color: rgba(23, 24, 27, 0.42);
  pointer-events: none;
  transform: translateZ(0.5px);
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 6px;
  font-weight: 600;
  letter-spacing: 1px;
}

.glass-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  opacity: 0;
  color: var(--text-main);
  transform: translateY(18px) translateZ(1px);
}

.glass-content::before,
.glass-content::after {
  content: "+";
  position: absolute;
  color: rgba(23, 24, 27, 0.26);
  font-family: ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
}

.glass-content::before {
  top: -14px;
  left: -14px;
}

.glass-content::after {
  right: -14px;
  bottom: -14px;
}

.pane-kicker {
  color: rgba(23, 24, 27, 0.45);
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 7px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.glass-title {
  padding-bottom: 7px;
  color: var(--text-main);
  border-bottom: 1px solid rgba(23, 24, 27, 0.1);
  font-family: ui-serif, "New York", Times, serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.glass-subtitle {
  max-width: 88%;
  margin-top: -3px;
  margin-bottom: 2px;
  color: var(--text-etched-light);
  font-size: 8.6px;
  line-height: 1.45;
}

.hero-metric {
  position: relative;
  overflow: hidden;
  margin-bottom: 4px;
  padding: 14px 16px 12px;
  border-radius: 8px;
  border: 1px solid rgba(197, 160, 89, 0.26);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(251, 249, 243, 0.86));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06), inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.hero-metric::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, 0.36) 74%, transparent 100%);
}

.hero-metric-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 9px;
  color: rgba(23, 24, 27, 0.54);
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 6.8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-metric-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.hero-metric-value strong {
  color: var(--text-main);
  font-family: ui-serif, "New York", Times, serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero-metric-badge {
  padding: 4px 7px;
  border: 1px solid rgba(197, 160, 89, 0.18);
  border-radius: 999px;
  background: rgba(197, 160, 89, 0.12);
  color: #6a5320;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.hero-chip {
  padding: 7px 8px;
  border: 1px solid rgba(23, 24, 27, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.68);
}

.hero-chip-label {
  margin-bottom: 2px;
  color: var(--text-etched-light);
  font-size: 6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-chip-value {
  color: var(--text-main);
  font-size: 11px;
  font-weight: 700;
}

.section-top {
  height: 104px;
}

.section-center {
  height: 132px;
}

.section-bottom {
  height: 216px;
}

.row-split {
  display: flex;
  gap: 12px;
  width: 100%;
  height: 100%;
}

.col-half {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.frosted-plate {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 10px 10px 9px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03), inset 0 0 0 1px rgba(255, 255, 255, 0.82), inset 0 1px 4px rgba(0, 0, 0, 0.02);
}

.frosted-plate::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  opacity: 0.8;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.95), transparent);
}

.chart-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 4px;
  margin-bottom: 6px;
  color: var(--text-etched);
  border-bottom: 1px dashed rgba(23, 24, 27, 0.16);
  font-size: 7.6px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chart-note {
  color: rgba(23, 24, 27, 0.45);
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 5.8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.annotation-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  color: rgba(23, 24, 27, 0.45);
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 5.8px;
  letter-spacing: 0.08em;
}

.annotation-callout {
  position: absolute;
  padding: 5px 7px;
  border: 1px solid rgba(23, 24, 27, 0.1);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(6px);
  color: var(--text-main);
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 5.8px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.annotation-callout .sub {
  display: block;
  color: var(--text-etched-light);
}

.annotation-callout::before {
  content: "";
  position: absolute;
  background: rgba(23, 24, 27, 0.18);
}

.annotation-callout.right::before {
  left: -18px;
  top: 50%;
  width: 18px;
  height: 1px;
}

.annotation-callout.left::before {
  right: -18px;
  top: 50%;
  width: 18px;
  height: 1px;
}

.annotation-callout.down::before {
  top: -12px;
  left: 50%;
  width: 1px;
  height: 12px;
}

.redacted {
  padding: 0 2px;
  border-radius: 2px;
  background-color: var(--text-main);
  color: transparent;
  user-select: none;
}

.data-grid {
  width: 100%;
  border-collapse: collapse;
  color: var(--text-etched);
  font-size: 6.8px;
}

.data-grid th {
  padding: 4px 5px;
  border-bottom: 1.5px solid rgba(23, 24, 27, 0.22);
  color: var(--text-main);
  font-size: 5.9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
}

.data-grid td {
  padding: 4px 5px;
  border-bottom: 1px solid rgba(23, 24, 27, 0.08);
  font-weight: 500;
}

.data-grid td.num {
  color: var(--text-main);
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 6.8px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.data-grid tr.total td {
  border-top: 1.5px solid rgba(23, 24, 27, 0.24);
  background: rgba(23, 24, 27, 0.025);
  color: var(--text-main);
  font-weight: 700;
}

.data-grid tr.sub td {
  padding-left: 12px;
  color: var(--text-etched-light);
  font-weight: 500;
}

.inline-spark {
  width: 25px;
  height: 8px;
  display: inline-block;
  margin-left: 5px;
  vertical-align: middle;
}

.math-block {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 0;
  color: var(--text-etched);
  font-family: ui-serif, "New York", serif;
  font-size: 8.6px;
  font-style: italic;
  line-height: 1.75;
}

.math-formula {
  margin-bottom: 6px;
  color: var(--text-main);
  font-size: 10.5px;
  font-weight: 700;
  text-align: center;
}

.math-foot {
  display: flex;
  justify-content: space-between;
  padding-top: 6px;
  border-top: 1px solid rgba(23, 24, 27, 0.1);
  font-family: -apple-system, sans-serif;
  font-style: normal;
}

.svg-wrapper {
  position: relative;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  padding: 8px;
  border: 1px solid rgba(23, 24, 27, 0.08);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.02);
}

.svg-wrapper svg {
  width: 100%;
  height: 100%;
  min-height: 40px;
  overflow: visible;
}

.svg-centered {
  align-items: center;
  justify-content: center;
}

.radar-svg {
  width: auto;
  max-height: 80px;
}

.bridge-wrapper {
  padding: 10px 14px;
}

@keyframes flowDash {
  to {
    stroke-dashoffset: -12;
  }
}

.animated-flow {
  opacity: 0.18;
  stroke-dasharray: 0 100;
  animation: flowDash 1.1s linear infinite;
}

html.ambient-paused .dust,
html.ambient-paused .reg-line,
html.ambient-paused #layer-2 .edge-glow,
html.ambient-paused .animated-flow {
  animation-play-state: paused;
}

.risk-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  height: 100%;
  padding: 1px;
  border-radius: 4px;
  background: rgba(23, 24, 27, 0.12);
}

.matrix-cell {
  position: relative;
  padding: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--text-etched);
  font-size: 5.3px;
  font-weight: 500;
  text-align: center;
}

.matrix-cell strong {
  margin-bottom: 2px;
  color: var(--text-main);
  font-size: 6px;
  font-weight: 800;
  text-transform: uppercase;
}

.matrix-cell.high {
  background: var(--risk-high);
  color: #8b3e3a;
}

.matrix-cell.med {
  background: var(--risk-med);
  color: #7d6030;
}

.matrix-cell.low {
  background: var(--risk-low);
  color: #4d6888;
}

.cell-bar {
  width: 82%;
  height: 1.5px;
  margin-top: 4px;
  overflow: hidden;
  border-radius: 1px;
  background: rgba(23, 24, 27, 0.1);
}

.cell-bar-fill {
  height: 100%;
  background: rgba(23, 24, 27, 0.76);
}

.heatmap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  width: 100%;
  height: 100%;
  padding: 1px;
  border-radius: 4px;
  background: rgba(23, 24, 27, 0.12);
}

.heat-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--text-main);
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 6px;
  font-weight: 600;
}

.heat-header {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fbfbfc;
  color: var(--text-main);
  font-size: 5px;
  font-weight: 700;
}

.highlight-cell {
  border: 1.3px solid #17181b;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.flowchart-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-underlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.05;
  pointer-events: none;
  fill: var(--text-etched);
}

.flow-node {
  position: absolute;
  z-index: 2;
  width: 40px;
  height: 38px;
  padding-top: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(23, 24, 27, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

.flow-node span {
  margin-top: 2px;
  color: var(--text-etched);
  font-family: ui-monospace, monospace;
  font-size: 5.4px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.flow-node.cayman {
  border: 1.4px solid rgba(197, 160, 89, 0.45);
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(197, 160, 89, 0.2);
}

.flow-node svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-main);
}

.focus-caption {
  position: absolute;
  bottom: 18px;
  left: 50%;
  z-index: 20;
  transform: translateX(-50%);
  color: rgba(23, 24, 27, 0.44);
  pointer-events: none;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 6.4px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .document-stack {
    width: 384px;
    height: 560px;
  }

  .paper-inner {
    padding: 30px 34px;
  }

  .hero-metric-value strong {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav-toggle,
  .nav-links,
  .mobile-nav-toggle-icon span {
    transition-duration: 0.01ms !important;
  }

  .dust,
  .animated-flow,
  .reg-line,
  #layer-2 .edge-glow {
    animation: none !important;
  }

  .capability-layer-spotlight-body,
  .capability-layer-tab {
    transition-duration: 0.01ms !important;
  }

  .capability-layer-module.is-swapping .capability-layer-spotlight-body {
    opacity: 1;
    transform: none;
  }

  #specs .spec-item,
  #specs .spec-detail {
    transition-duration: 0.01ms !important;
  }

  #specs .spec-item.is-expanded {
    transform: none;
  }

  #specs .spec-detail {
    transform: none;
  }

  .capability-layer-tab,
  .capability-layer-tab:hover,
  .capability-layer-tab:focus-visible,
  .capability-layer-tab[aria-pressed="true"],
  .capability-layer-tab:active {
    transform: none !important;
  }
}

/* ── Demo Request Modal ── */

.demo-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(23, 24, 27, 0.52);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.38s;
}

.demo-overlay.open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s, 0s;
}

.demo-card {
  position: relative;
  width: 100%;
  max-width: 500px;
  padding: 2.6rem 2.6rem 1.4rem;
  border: 1px solid rgba(140, 128, 106, 0.16);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 248, 244, 0.97) 60%, rgba(248, 245, 238, 0.96) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 -1px 0 rgba(140, 128, 106, 0.06) inset,
    0 48px 100px rgba(123, 114, 97, 0.2),
    0 12px 32px rgba(123, 114, 97, 0.1),
    0 2px 6px rgba(123, 114, 97, 0.06);
  transform: translateY(24px) scale(0.96);
  opacity: 0;
  transition:
    transform 0.44s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.36s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.demo-overlay.open .demo-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Perimeter registration marks */
.demo-card-edge {
  position: absolute;
  top: 0.6rem;
  left: 0.8rem;
  right: 0.8rem;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.demo-card-edge span {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  color: rgba(140, 128, 106, 0.22);
  letter-spacing: 0.04em;
}

/* Close button */
.demo-close {
  position: absolute;
  top: 1.9rem;
  right: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid rgba(140, 128, 106, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--text-dim);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.demo-close:hover {
  border-color: rgba(140, 128, 106, 0.24);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-primary);
}

.demo-close svg {
  width: 10px;
  height: 10px;
}

/* Header with iris mark */
.demo-card-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.7rem;
}

.demo-iris {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  opacity: 0;
  transform: scale(0.8) rotate(-30deg);
  transition: opacity 0.5s ease 0.15s, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.demo-overlay.open .demo-iris {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.demo-iris-core {
  transform-origin: center;
  animation: none;
}

.demo-overlay.open .demo-iris-core {
  animation: iris-pulse 3s ease-in-out infinite;
}

@keyframes iris-pulse {
  0%, 100% { r: 4.5; opacity: 1; }
  50% { r: 5.5; opacity: 0.7; }
}

.demo-card-header-text {
  display: flex;
  flex-direction: column;
}

.demo-card-label {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.demo-card-title {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.demo-card-sub {
  margin: 0 0 1.2rem;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

/* Divider */
.demo-card-divider {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.3rem;
}

.demo-card-divider span:first-child,
.demo-card-divider span:last-child {
  flex: 1;
  height: 1px;
  background: rgba(140, 128, 106, 0.14);
}

.demo-card-divider-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Form */
.demo-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Staggered reveal */
[data-demo-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.demo-overlay.open [data-demo-reveal] { opacity: 1; transform: translateY(0); }
.demo-overlay.open [data-demo-reveal]:nth-child(1) { transition-delay: 0.12s; }
.demo-overlay.open [data-demo-reveal]:nth-child(2) { transition-delay: 0.18s; }
.demo-overlay.open [data-demo-reveal]:nth-child(3) { transition-delay: 0.24s; }
.demo-overlay.open [data-demo-reveal]:nth-child(4) { transition-delay: 0.30s; }
.demo-overlay.open [data-demo-reveal]:nth-child(5) { transition-delay: 0.36s; }
.demo-overlay.open [data-demo-reveal]:nth-child(6) { transition-delay: 0.42s; }
.demo-overlay.open [data-demo-reveal]:nth-child(7) { transition-delay: 0.48s; }

.demo-field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.demo-field label {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-field input,
.demo-field select {
  width: 100%;
  padding: 0.68rem 0.82rem;
  border: 1px solid rgba(140, 128, 106, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.86rem;
  outline: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  -webkit-appearance: none;
}

.demo-field input::placeholder {
  color: rgba(140, 128, 106, 0.4);
}

.demo-field input:focus,
.demo-field select:focus {
  border-color: rgba(154, 123, 62, 0.5);
  background: rgba(255, 255, 255, 0.85);
  box-shadow:
    0 0 0 3px rgba(154, 123, 62, 0.07),
    0 1px 3px rgba(123, 114, 97, 0.06);
}

/* Validation error state */
.demo-field input.demo-error,
.demo-field select.demo-error {
  border-color: rgba(184, 90, 84, 0.5);
  box-shadow: 0 0 0 3px rgba(184, 90, 84, 0.06);
}

.demo-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%239a7b3e' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.82rem center;
  padding-right: 2.4rem;
}

.demo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

/* Submit button */
.demo-submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 50px;
  margin-top: 0.4rem;
  padding: 0.9rem 1.6rem;
  border: 1px solid rgba(154, 123, 62, 0.3);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 249, 238, 0.96), rgba(248, 238, 214, 0.92));
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 2px 8px rgba(154, 123, 62, 0.08);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.demo-submit:hover {
  transform: translateY(-1px);
  border-color: rgba(154, 123, 62, 0.45);
  background: linear-gradient(180deg, rgba(255, 246, 228, 1), rgba(245, 232, 204, 0.98));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 4px 14px rgba(154, 123, 62, 0.12);
}

.demo-submit:active {
  transform: translateY(0);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 1px 4px rgba(154, 123, 62, 0.06);
}

.demo-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.demo-submit-spinner {
  display: none;
  width: 18px;
  height: 18px;
  animation: demo-spin 0.8s linear infinite;
}

.demo-submit.loading .demo-submit-label {
  opacity: 0.5;
}

.demo-submit.loading .demo-submit-spinner {
  display: block;
}

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

/* Success state */
.demo-success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 2rem 0 1rem;
  text-align: center;
}

.demo-success.visible {
  display: flex;
  animation: demo-success-in 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes demo-success-in {
  from { opacity: 0; transform: scale(0.95) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.demo-success-stamp {
  width: 56px;
  height: 56px;
  margin-bottom: 0.3rem;
  animation: stamp-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

@keyframes stamp-in {
  from { opacity: 0; transform: scale(0.6) rotate(-10deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}

.demo-success-badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border: 1px solid rgba(154, 123, 62, 0.2);
  border-radius: 999px;
  background: rgba(154, 123, 62, 0.05);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.demo-success-title {
  margin: 0.2rem 0 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
}

.demo-success-copy {
  margin: 0;
  max-width: 320px;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

/* Trust strip */
.demo-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(140, 128, 106, 0.1);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.demo-trust-dot {
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: rgba(140, 128, 106, 0.3);
}

/* Mobile */
@media (max-width: 520px) {
  .demo-card {
    padding: 2.2rem 1.4rem 1.2rem;
    max-width: 100%;
    border-radius: 14px;
  }

  .demo-row {
    grid-template-columns: 1fr;
  }

  .demo-card-title {
    font-size: 1.25rem;
  }

  .demo-card-header {
    gap: 0.75rem;
  }

  .demo-iris {
    width: 60px;
    height: 60px;
  }

  .demo-trust-strip {
    flex-wrap: wrap;
    gap: 0.4rem 0.6rem;
  }
}

/* ── iOS / Mobile Performance Optimizations ──
   Reduces GPU compositing load without visual degradation.
   backdrop-filter replaced with opaque backgrounds on touch devices.
   Dust particle count reduced. WebGL renders at lower resolution. */

@media (hover: none) and (pointer: coarse) {
  /* Replace backdrop-filter with solid backgrounds on mobile */
  .site-header.scrolled {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: rgba(250, 248, 244, 0.96) !important;
  }

  .section-inner {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: rgba(250, 248, 244, 0.92) !important;
  }

  .spec-item {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: rgba(255, 255, 255, 0.52) !important;
  }

  .demo-card {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: rgba(250, 248, 244, 0.98) !important;
  }

  /* Reduce dust particle animation complexity */
  .dust {
    animation-duration: 30s !important;
    animation-timing-function: linear !important;
  }

  /* Reduce will-change declarations to free GPU memory */
  .hero-slide-one,
  .hero-slide-two,
  .hero-slide-three {
    will-change: auto !important;
  }

  .s1-word,
  .s1-sub {
    will-change: auto !important;
  }

  /* Reduce compositing surfaces — hide rearmost layers on mobile */
  #layer-4,
  #layer-5 {
    display: none !important;
  }

}
