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

:root {
  --top-bar-height: 72px;
  --black: #070708;
  --dark-gray: #111113;
  --surface: #18181c;
  --surface-raised: #202024;
  --border: #2a2a32;
  --border-strong: #3a3a44;
  --zenith-blue: #2e6cff;
  --zenith-blue-hover: #1d56f0;
  --zenith-blue-light: #6b9bff;
  --aqua: #3ddcff;
  --zenith-purple: #5340c8;
  --silver: #c8ccd4;
  --silver-bright: #e8eaed;
  --text-heading: #f3f4f6;
  --text-body: #9aa0ab;
  --text-muted: #6b7280;
  --text-placeholder: #4b5563;
  --green: #10b981;
  --font-sans: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --text-body-size: clamp(0.975rem, 0.9rem + 0.3vw, 1.075rem);
  --text-body-line: 1.65;
  --heading-line: 1.08;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --gradient-blue: linear-gradient(180deg, var(--zenith-blue) 0%, var(--zenith-blue-hover) 100%);
  --gradient-blade: linear-gradient(90deg, var(--zenith-blue) 0%, var(--aqua) 100%);
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.42);
}

html {
  scroll-behavior: smooth;
  height: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  font-family: var(--font-sans);
  background: var(--black);
  color: var(--text-heading);
  font-size: clamp(0.9rem, 0.84rem + 0.3vw, 1.05rem);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  isolation: isolate;
}

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

a {
  color: inherit;
}

::selection {
  background: rgba(46, 108, 255, 0.38);
  color: var(--text-heading);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.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;
}

.page-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 58% 38% at 18% -6%, rgba(46, 108, 255, 0.18), transparent 58%),
    radial-gradient(ellipse 46% 32% at 88% 12%, rgba(83, 64, 200, 0.16), transparent 62%),
    radial-gradient(ellipse 40% 28% at 70% 78%, rgba(61, 220, 255, 0.06), transparent 70%),
    linear-gradient(180deg, #050506 0%, var(--dark-gray) 46%, #050506 100%);
}

.page-backdrop::before {
  content: "";
  position: absolute;
  top: 11%;
  left: -18%;
  width: 78%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--zenith-blue) 28%, var(--aqua) 72%, transparent);
  transform: rotate(-11deg);
  opacity: 0.55;
  box-shadow: 0 0 24px rgba(61, 220, 255, 0.35);
}

.page-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 204, 212, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 204, 212, 0.028) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 8%, #000 10%, transparent 72%);
  opacity: 0.7;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(5, 5, 6, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(200, 204, 212, 0.08);
}

.site-header.is-scrolled {
  background: rgba(7, 7, 8, 0.92);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1280px;
  margin-inline: auto;
  padding: 14px clamp(20px, 4vw, 40px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: clamp(138px, 20vw, 176px);
  height: auto;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.brand-word {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  background: linear-gradient(180deg, #f7f8fa 0%, var(--silver) 52%, #8b919a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--silver);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-body);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text-heading);
  background: rgba(255, 255, 255, 0.05);
}

.nav-item--dropdown {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(18, 18, 20, 0.96);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-item--dropdown:hover .nav-dropdown,
.nav-item--dropdown:focus-within .nav-dropdown,
.nav-item--dropdown.is-open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-heading);
  font-weight: 600;
  font-size: 0.9375rem;
}

.nav-dropdown a span {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 400;
}

.nav-dropdown a:hover {
  background: rgba(46, 108, 255, 0.12);
}

.header-cta {
  margin-left: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: filter 160ms ease, transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.btn-primary {
  background: var(--gradient-blue);
  color: #fff;
  box-shadow:
    0 8px 28px rgba(46, 108, 255, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-primary:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(200, 204, 212, 0.22);
  color: var(--silver-bright);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-blade {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(46, 108, 255, 0.18) 0%, rgba(61, 220, 255, 0.08) 100%);
  border-color: rgba(61, 220, 255, 0.45);
  color: var(--text-heading);
  box-shadow:
    0 0 0 1px rgba(46, 108, 255, 0.12),
    0 10px 28px rgba(46, 108, 255, 0.18);
}

.btn-blade:hover {
  border-color: rgba(61, 220, 255, 0.7);
  background: linear-gradient(135deg, rgba(46, 108, 255, 0.28) 0%, rgba(61, 220, 255, 0.14) 100%);
  transform: translateY(-1px);
}

.btn-blade__mark {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: var(--gradient-blade);
  transform: skewX(-14deg);
  box-shadow: 0 0 12px rgba(61, 220, 255, 0.45);
}

.hero-actions-note {
  margin: 14px 0 0;
  font-size: 0.88rem;
}

.hero-actions-note a {
  color: var(--aqua);
  text-decoration: none;
}

.hero-actions-note a:hover {
  text-decoration: underline;
}

.hero-secondary .btn-blade {
  margin-top: 4px;
}

.btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding:
    calc(var(--top-bar-height) + clamp(28px, 5vh, 56px))
    clamp(20px, 4vw, 40px)
    clamp(56px, 8vh, 96px);
}

.section {
  margin-top: clamp(72px, 12vh, 120px);
  scroll-margin-top: calc(var(--top-bar-height) + 24px);
}

.section-kicker {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--aqua);
}

.section-title {
  margin: 0;
  font-size: clamp(1.75rem, 1.1rem + 2.4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: var(--heading-line);
}

.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  margin-top: 16px;
  border-radius: 999px;
  background: var(--gradient-blade);
}

.section-lede {
  margin: 14px 0 0;
  max-width: 40rem;
  color: var(--text-body);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line);
}

.hero {
  display: grid;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
  padding-top: clamp(12px, 3vh, 28px);
  text-align: left;
}

@media (min-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    min-height: min(72vh, 720px);
  }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
}

.hero-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gradient-blade);
}

.hero-tagline {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 1rem + 1.6vw, 2.05rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--silver-bright);
}

.hero-title {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.35rem, 1.2rem + 3.8vw, 4.35rem);
  font-weight: 750;
  letter-spacing: -0.048em;
  line-height: 0.96;
  text-wrap: balance;
}

.text-metal {
  background: linear-gradient(180deg, #f7f8fa 8%, var(--silver) 48%, #8b919a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  margin: 22px 0 0;
  max-width: 34rem;
  color: var(--text-body);
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.2rem);
  line-height: 1.6;
}

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

.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(200, 204, 212, 0.12);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.powered-by {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  max-width: 100%;
  min-width: 0;
}

.hero-trust.powered-by {
  text-transform: none;
  letter-spacing: 0;
}

.powered-by span {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text-muted);
}

.powered-by a {
  display: inline-flex;
  flex: 0 1 auto;
  line-height: 0;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

.powered-by a:hover {
  opacity: 1;
}

.powered-by img {
  display: block;
  height: 36px;
  width: auto;
  max-width: min(100%, 220px);
  object-fit: contain;
  flex: 0 1 auto;
}

.hero-trust.powered-by img {
  height: 40px;
}

.prose .powered-by {
  margin: 16px 0 18px;
}

.prose .powered-by img {
  height: 44px;
}

@media (max-width: 720px) {
  .powered-by {
    flex-direction: column;
    align-items: flex-start;
  }

  .powered-by img,
  .hero-trust.powered-by img,
  .prose .powered-by img,
  .footer-copy .powered-by img {
    height: 28px;
    max-width: min(100%, 200px);
  }
}

.hero-visual {
  position: relative;
  min-height: 320px;
}

.hero-mark {
  width: min(100%, 560px);
  margin: 0 auto 18px;
  filter: drop-shadow(0 18px 40px rgba(46, 108, 255, 0.18));
}

.hero-mark img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-device {
  position: relative;
  margin: 0;
  border: 1px solid rgba(200, 204, 212, 0.16);
  border-radius: 18px;
  overflow: hidden;
  background: #0b0b0e;
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(46, 108, 255, 0.12),
    0 0 48px rgba(46, 108, 255, 0.12);
}

.hero-device::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--gradient-blade);
  z-index: 1;
}

.hero-device video,
.hero-device img {
  display: block;
  width: 100%;
  height: auto;
}

.product-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.product-card::before {
  content: "";
  display: block;
  height: 2px;
  background: var(--gradient-blade);
}

.product-card--veyah::before {
  background: linear-gradient(90deg, var(--aqua), var(--zenith-purple));
}

.product-card--personal::before {
  background: linear-gradient(90deg, var(--zenith-purple), var(--zenith-blue));
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 204, 212, 0.28);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.4);
}

.product-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0d0d10;
  overflow: hidden;
}

.product-card-media:has(video)::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(7, 7, 8, 0.45));
  pointer-events: none;
}

.product-card-media video,
.product-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-media--phone {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 248, 240, 0.12), transparent 52%),
    #141210;
}

.product-card-media--phone img,
.product-card-media--phone video {
  width: auto;
  height: 100%;
  max-width: 42%;
  object-fit: contain;
  border-radius: 22px;
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.product-card-media--phone video {
  pointer-events: none;
}

.product-card-visual {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 22px;
  background:
    radial-gradient(circle at 80% 20%, rgba(61, 220, 255, 0.16), transparent 42%),
    radial-gradient(circle at 10% 80%, rgba(83, 64, 200, 0.22), transparent 46%),
    #0d0d10;
}

.product-card-visual--personal {
  background:
    radial-gradient(circle at 20% 20%, rgba(46, 108, 255, 0.18), transparent 42%),
    radial-gradient(circle at 90% 80%, rgba(61, 220, 255, 0.1), transparent 48%),
    #0d0d10;
}

.flow-step,
.loop-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--silver-bright);
}

.flow-step b,
.loop-chip b {
  color: var(--aqua);
  font-weight: 700;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 24px;
  flex: 1;
}

.product-eyebrow {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--aqua);
}

.product-card-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 2px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-card-status--soon {
  color: var(--aqua);
  border: 1px solid rgba(61, 220, 255, 0.32);
  background: rgba(61, 220, 255, 0.08);
}

.product-card-status--access {
  color: var(--green);
  border: 1px solid rgba(16, 185, 129, 0.32);
  background: rgba(16, 185, 129, 0.08);
}

.product-card-body h3 {
  margin: 0;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}

.product-card-body p {
  margin: 0;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.55;
}

.product-card-link {
  margin-top: auto;
  padding-top: 8px;
  color: var(--zenith-blue-light);
  font-size: 0.875rem;
  font-weight: 600;
}

.thesis-grid,
.pillar-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-top: 32px;
}

@media (min-width: 800px) {
  .thesis-grid,
  .pillar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.thesis-card,
.pillar-card {
  padding: 26px 24px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 42%),
    var(--surface);
}

.thesis-card .index,
.pillar-card .index {
  display: block;
  margin-bottom: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--aqua);
}

.thesis-card h3,
.pillar-card h3 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.thesis-card p,
.pillar-card p {
  margin: 10px 0 0;
  color: var(--text-body);
  line-height: 1.6;
}

.module-grid {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .module-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.module-tile {
  padding: 22px 22px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 48%),
    var(--surface);
}

.module-tile span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aqua);
}

.module-tile h3 {
  margin: 0;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.module-tile p {
  margin: 8px 0 0;
  color: var(--text-body);
  line-height: 1.55;
  font-size: 0.95rem;
}

.also-line {
  margin: 22px 0 0;
  max-width: 46rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.pipeline {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

@media (min-width: 900px) {
  .pipeline {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
  }
}

.pipeline-node {
  position: relative;
  padding: 28px 24px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(165deg, rgba(46, 108, 255, 0.08), var(--surface) 52%);
}

.pipeline-node span {
  display: block;
  margin-bottom: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--aqua);
}

.pipeline-node h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.pipeline-node p {
  margin: 0;
  color: var(--text-body);
  line-height: 1.55;
}

.pipeline-join {
  display: none;
}

@media (min-width: 900px) {
  .pipeline-join {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    background: var(--gradient-blade);
    height: 2px;
    align-self: center;
    border-radius: 999px;
    box-shadow: 0 0 16px rgba(61, 220, 255, 0.35);
  }
}

.cta-band {
  margin-top: clamp(72px, 12vh, 120px);
  padding: clamp(40px, 6vw, 64px);
  border: 1px solid rgba(200, 204, 212, 0.14);
  border-radius: 28px;
  background:
    radial-gradient(circle at 0% 0%, rgba(46, 108, 255, 0.22), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(83, 64, 200, 0.22), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), var(--surface));
  text-align: center;
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem);
  letter-spacing: -0.04em;
}

.cta-band h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: var(--gradient-blade);
}

.cta-band p {
  margin: 14px auto 0;
  max-width: 34rem;
  color: var(--text-body);
}

.cta-band .btn {
  margin-top: 24px;
}

.cta-band-actions {
  justify-content: center;
  margin-top: 24px;
}

.cta-band .cta-band-actions .btn {
  margin-top: 0;
}

.page-hero {
  max-width: 46rem;
}

.personal-hero {
  display: grid;
  gap: 40px;
  align-items: center;
}

.personal-hero .page-hero {
  max-width: none;
}

@media (min-width: 960px) {
  .personal-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.7fr);
  }
}

.phone-frame {
  margin: 0 auto;
  width: min(100%, 280px);
  padding: 10px;
  border-radius: 32px;
  background: #1a1816;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-soft);
}

.phone-frame img,
.phone-frame video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.phone-frame video {
  aspect-ratio: 390 / 844;
  object-fit: cover;
  object-position: top center;
  background: #111;
}

.ask-shots {
  display: grid;
  gap: 28px;
  margin-top: 32px;
  justify-items: center;
}

@media (min-width: 860px) {
  .ask-shots {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
  }

  .ask-shot:first-child {
    flex: 0 0 280px;
    width: 280px;
  }

  .ask-shot:last-child {
    flex: 0 0 320px;
    width: 320px;
  }
}

.plus-frame {
  margin: 0 auto;
  width: min(100%, 320px);
  padding: 10px;
  border-radius: var(--radius-lg);
  background: #f3f4f6;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.plus-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

.ask-shot {
  margin: 0;
}

.ask-shot .phone-frame {
  margin: 0 auto;
}

.ask-shot figcaption {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-body);
}

.plus-split {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

@media (min-width: 700px) {
  .plus-split {
    grid-template-columns: 1fr 1fr;
  }
}

.plus-split article {
  padding: 22px 22px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 48%),
    var(--surface);
}

.plus-split h3 {
  margin: 0;
  font-size: 1.05rem;
}

.plus-split p {
  margin: 10px 0 0;
  color: var(--text-body);
  line-height: 1.6;
}

.app-shot {
  margin: 0;
}

.app-shot .phone-frame {
  margin: 0 auto;
}

.app-shot figcaption {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-body);
  line-height: 1.4;
}

.shot-grid {
  display: grid;
  gap: 28px;
  margin-top: 32px;
  justify-items: center;
}

@media (min-width: 640px) {
  .shot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .shot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .shot-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.shot-grid.shot-grid--one {
  grid-template-columns: 1fr;
}

.shot-grid.shot-grid--two {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .shot-grid.shot-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-hero h1 {
  margin: 10px 0 0;
  font-size: clamp(2.1rem, 1.2rem + 3vw, 3.6rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.page-hero .serif {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 1rem + 1.2vw, 1.8rem);
  color: var(--silver-bright);
}

.prose {
  max-width: 42rem;
  margin-top: 28px;
}

.prose p,
.prose li {
  color: var(--text-body);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line);
}

.prose p {
  margin: 0 0 1rem;
}

.legal-updated {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.form-legal {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.form-legal a {
  color: var(--silver-bright);
}

.hero-secondary {
  margin: 14px 0 0;
  font-size: 0.9rem;
}

.hero-secondary a {
  color: var(--aqua);
  text-decoration: none;
}

.hero-secondary a:hover {
  text-decoration: underline;
}

.prose h2 {
  margin: 2.4rem 0 0.8rem;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem);
  letter-spacing: -0.03em;
}

.prose ul {
  margin: 0 0 1.2rem;
  padding-left: 1.15rem;
}

.prose li + li {
  margin-top: 0.55rem;
}

.steps {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.step-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.step-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--aqua);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.step-card h3 {
  margin: 0 0 8px;
}

.step-card p {
  margin: 0;
  color: var(--text-body);
  line-height: 1.55;
}

.compare {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.compare th,
.compare td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.compare th {
  background: var(--surface-raised);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.compare td {
  color: var(--text-body);
  background: var(--surface);
}

.compare tr:last-child th,
.compare tr:last-child td {
  border-bottom: none;
}

.family-strip {
  display: grid;
  gap: 12px;
  margin-top: 36px;
}

@media (min-width: 720px) {
  .family-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.family-strip a {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  background: var(--surface);
}

.family-strip a strong {
  display: block;
  margin-bottom: 4px;
}

.family-strip a span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.crumb {
  margin: 0 0 18px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.crumb a {
  color: var(--silver);
  text-decoration: none;
}

.crumb a:hover {
  color: var(--text-heading);
}

.waitlist,
.contact-form {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  max-width: 36rem;
}

.waitlist {
  display: flex;
  gap: 10px;
  max-width: 36rem;
}

.waitlist input {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}

.waitlist input,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text-heading);
  font-family: inherit;
  font-size: max(16px, 0.95rem);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.waitlist input:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--zenith-blue);
  box-shadow: 0 0 0 3px rgba(46, 108, 255, 0.2);
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-body);
  font-size: 0.92rem;
}

.check-row input {
  width: auto;
  margin-top: 3px;
}

.form-status {
  margin: 8px 0 0;
  min-height: 1.2em;
  font-size: 0.9rem;
}

.form-status.is-success {
  color: var(--green);
}

.form-status.is-error {
  color: #f87171;
}

.pilot-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pilot-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.55);
}

.pilot-badge--soon {
  color: var(--aqua);
}

.pilot-badge--soon .pilot-badge__dot {
  background: var(--aqua);
  box-shadow: 0 0 10px rgba(61, 220, 255, 0.45);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-stats li {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(24, 24, 28, 0.8);
  color: var(--text-muted);
  font-size: 0.8rem;
}

.hero-stats strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text-heading);
  font-size: 1.05rem;
}

.business-hero {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 960px) {
  .business-hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}

.media-frame {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0b0d10;
  box-shadow: var(--shadow-soft);
}

.media-frame video,
.media-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.media-frame--app {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(46, 108, 255, 0.08), transparent 48%),
    #0b0d10;
}

.media-frame--app img,
.media-frame--app video {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.media-frame--video {
  background: #0b0d10;
}

.media-frame--video video {
  background: #0b0d10;
}

.product-card-media--app img,
.product-card-media--app video {
  object-fit: cover;
  object-position: center center;
}

.why-bubbles {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

@media (min-width: 700px) {
  .why-bubbles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.why-bubble {
  position: relative;
  padding: 24px 24px 24px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}

.why-bubble::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gradient-blade);
  opacity: 0.7;
}

.why-bubble__index {
  display: block;
  margin-bottom: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--aqua);
}

.why-bubble h3 {
  margin: 0;
  font-size: 1.1rem;
}

.why-bubble p {
  margin: 10px 0 0;
  color: var(--text-body);
  line-height: 1.55;
}

.feature-carousel {
  margin-top: 28px;
}

.feature-carousel-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-nav {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-raised);
  color: var(--text-body);
  cursor: pointer;
}

.feature-nav:hover {
  color: var(--text-heading);
  border-color: var(--border-strong);
}

.feature-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.feature-track {
  display: flex;
  transition: transform 420ms ease;
}

.feature-card {
  flex: 0 0 100%;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 14px;
}

.feature-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.feature-card-head h3 {
  margin: 0;
  font-size: 1.2rem;
}

.feature-card-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(46, 108, 255, 0.3);
  background: rgba(46, 108, 255, 0.14);
  color: var(--zenith-blue-light);
}

.feature-card-icon svg {
  width: 20px;
  height: 20px;
}

.feature-card-split {
  display: grid;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--black);
}

@media (min-width: 760px) {
  .feature-card-split {
    grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  }
}

.feature-card-copy {
  padding: 20px;
}

.feature-card-lead {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 700;
}

.feature-card-body {
  margin: 0;
  color: var(--text-body);
  line-height: 1.5;
}

.feature-card-media {
  margin: 0;
  padding: 8px;
}

.feature-card-media :is(img, video) {
  display: block;
  width: 100%;
  height: auto;
}

.feature-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.feature-tab {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-raised);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.feature-tab.is-active {
  background: var(--zenith-blue);
  border-color: var(--zenith-blue);
  color: #fff;
}

.feature-progress {
  width: 100%;
  height: 2px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}

.feature-progress__bar {
  display: block;
  height: 100%;
  width: 16.666%;
  background: var(--gradient-blade);
  transition: width 420ms ease;
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(200, 204, 212, 0.1);
  background: linear-gradient(180deg, transparent, rgba(46, 108, 255, 0.05));
}

.footer-inner {
  display: grid;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px clamp(20px, 4vw, 40px) 24px;
  text-align: left;
}

@media (min-width: 800px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: start;
  }
}

.footer-tagline {
  margin: 12px 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--silver-bright);
}

.footer-col h2 {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-col,
.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
}

.footer-nav a,
.footer-col a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.92rem;
}

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

.footer-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px) 40px;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: left;
  min-width: 0;
}

.footer-copy p {
  margin: 0;
  min-width: 0;
  max-width: 100%;
}

.footer-copy .powered-by img {
  height: 32px;
}

@media (max-width: 720px) {
  .footer-copy {
    flex-direction: column;
    align-items: flex-start;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .product-card,
  .feature-track {
    transition: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .btn-primary:hover,
  .product-card:hover {
    transform: none;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 12px 16px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(7, 7, 8, 0.97);
    border-bottom: 1px solid var(--border);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .nav-dropdown {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    min-width: 0;
    box-shadow: none;
    background: transparent;
    border: none;
    padding: 0 0 8px 8px;
  }

  .header-cta {
    margin: 8px 0 0;
    width: 100%;
  }

  .waitlist {
    flex-wrap: wrap;
  }

  .waitlist input,
  .waitlist button {
    flex: 1 1 100%;
  }
}

/* Katana Stack Cut — compact fragmentation console */
.stack-cut-section {
  padding-top: clamp(36px, 6vw, 56px);
}

.stack-cut__intro {
  max-width: 36rem;
  margin-bottom: 18px;
}

.stack-cut__intro .section-lede {
  margin-bottom: 0;
}

.stack-cut {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(46, 108, 255, 0.08) 0%, transparent 42%),
    linear-gradient(180deg, #121218 0%, var(--surface) 100%);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.stack-cut::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--gradient-blade);
}

.stack-cut__console {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.22);
}

.stack-cut__console-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stack-cut__blade {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--gradient-blade);
  transform: skewX(-12deg);
  box-shadow: 0 0 18px rgba(61, 220, 255, 0.28);
}

.stack-cut__console-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-heading);
}

.stack-cut__console-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
}

.stack-cut__seats > span,
.stack-cut__plan > span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stack-cut__stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-raised);
}

.stack-cut__stepper button {
  width: 36px;
  border: none;
  background: transparent;
  color: var(--text-heading);
  font-size: 1.1rem;
  cursor: pointer;
}

.stack-cut__stepper button:hover {
  background: rgba(255, 255, 255, 0.05);
}

.stack-cut__stepper input {
  width: 56px;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: transparent;
  color: var(--text-heading);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}

.stack-cut__stepper input::-webkit-outer-spin-button,
.stack-cut__stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.stack-cut__tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.stack-cut__tier {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 76px;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-heading);
  cursor: pointer;
  text-align: left;
}

.stack-cut__tier span {
  font-size: 0.62rem;
  color: var(--text-muted);
}

.stack-cut__tier strong {
  font-size: 0.8rem;
  color: var(--aqua);
}

.stack-cut__tier.is-on {
  border-color: rgba(61, 220, 255, 0.45);
  background: rgba(46, 108, 255, 0.14);
}

.stack-cut__body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 0;
}

.stack-cut__board {
  padding: 14px 16px 16px;
  border-right: 1px solid var(--border);
}

.stack-cut__board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.stack-cut__count {
  margin: 0;
  flex: 0 0 auto;
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.stack-cut__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.stack-cut__tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--text-body);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}

.stack-cut__tab em {
  font-style: normal;
  min-width: 16px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(61, 220, 255, 0.16);
  color: var(--aqua);
  font-size: 0.64rem;
  text-align: center;
}

.stack-cut__tab.is-on {
  border-color: rgba(61, 220, 255, 0.45);
  background: rgba(46, 108, 255, 0.14);
  color: var(--text-heading);
}

.stack-cut__rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stack-cut__row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.stack-cut__row:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
}

.stack-cut__row.is-on {
  border-color: rgba(61, 220, 255, 0.35);
  background: rgba(46, 108, 255, 0.1);
}

.stack-cut__check {
  width: 14px;
  height: 14px;
  border: 1px solid var(--border-strong);
  border-radius: 3px;
}

.stack-cut__row.is-on .stack-cut__check {
  border-color: transparent;
  background: var(--gradient-blade) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 6l2.5 2.5 4.5-5' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 9px no-repeat;
}

.stack-cut__row-main {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.stack-cut__row-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-heading);
}

.stack-cut__row-plan {
  font-size: 0.66rem;
  color: var(--text-muted);
}

.stack-cut__row-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}

.stack-cut__row-rate {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--aqua);
  white-space: nowrap;
}

.stack-cut__row-model {
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.stack-cut__readout {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px 16px;
  background: rgba(0, 0, 0, 0.18);
}

.stack-cut__meters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.stack-cut__meters--time {
  margin-top: 0;
}

.stack-cut__meters--time .stack-cut__meter-value {
  font-size: 0.92rem;
}

.stack-cut__meter {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
}

.stack-cut__meter--scatter {
  border-style: dashed;
}

.stack-cut__meter--katana {
  border-color: rgba(46, 108, 255, 0.4);
  background: linear-gradient(180deg, rgba(46, 108, 255, 0.12) 0%, var(--surface-raised) 100%);
}

.stack-cut__meter-label {
  margin: 0 0 4px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stack-cut__meter--katana .stack-cut__meter-label {
  color: var(--aqua);
}

.stack-cut__meter-value {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-heading);
}

.stack-cut__meter-sub {
  margin: 4px 0 0;
  font-size: 0.7rem;
  color: var(--text-body);
}

.stack-cut__cut {
  position: relative;
  padding: 16px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(61, 220, 255, 0.28);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(61, 220, 255, 0.16), transparent 55%),
    linear-gradient(160deg, rgba(46, 108, 255, 0.18), rgba(83, 64, 200, 0.08));
  overflow: hidden;
}

.stack-cut__cut::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -8%;
  width: 90px;
  height: 140%;
  background: var(--gradient-blade);
  opacity: 0.12;
  transform: skewX(-18deg);
  pointer-events: none;
}

.stack-cut__cut-label {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-heading);
}

.stack-cut__cut-amount {
  position: relative;
  z-index: 1;
  margin: 6px 0 8px;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-heading);
}

.stack-cut__cut-amount small {
  margin-left: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text-body);
}

.stack-cut__cut-time {
  position: relative;
  z-index: 1;
  margin: -2px 0 10px;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--aqua);
}

.stack-cut__cut-time small {
  margin-left: 2px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text-muted);
}

.stack-cut--personal .stack-cut__row-model {
  color: var(--aqua);
  opacity: 0.92;
}

.stack-cut__cut-note {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-size: 0.78rem;
  color: var(--text-body);
  line-height: 1.4;
}

.stack-cut__cut .btn {
  position: relative;
  z-index: 1;
}

.stack-cut__ledger {
  border-top: 1px solid var(--border);
  padding-top: 8px;
}

.stack-cut__ledger summary {
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  list-style: none;
}

.stack-cut__ledger summary::-webkit-details-marker {
  display: none;
}

.stack-cut__empty {
  margin: 8px 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.stack-cut__ledger-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  max-height: 140px;
  overflow: auto;
}

.stack-cut__ledger-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
}

.stack-cut__ledger-list strong {
  display: block;
  color: var(--text-heading);
  font-weight: 600;
}

.stack-cut__ledger-list em {
  display: block;
  margin-top: 1px;
  font-style: normal;
  font-size: 0.64rem;
  color: var(--text-muted);
}

.stack-cut__ledger-list li > span:last-child {
  color: var(--silver-bright);
  white-space: nowrap;
  font-weight: 600;
}

.stack-cut__disclaimer {
  margin: 0;
  padding: 10px 16px 12px;
  border-top: 1px solid var(--border);
  font-size: 0.66rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.stack-cut__sources {
  margin: 0;
  padding: 10px 16px 4px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.12);
}

.stack-cut__sources summary {
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--silver-bright);
  list-style: none;
}

.stack-cut__sources summary::-webkit-details-marker {
  display: none;
}

.stack-cut__sources > p {
  margin: 10px 0 8px;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--text-body);
}

.stack-cut__sources ul {
  margin: 0 0 12px;
  padding: 0 0 0 1.1rem;
}

.stack-cut__sources li {
  margin: 0 0 8px;
  font-size: 0.68rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.stack-cut__sources a {
  color: var(--aqua);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.stack-cut__time-basis {
  margin: 0 0 10px;
  padding: 8px 10px;
  border: 1px dashed rgba(61, 220, 255, 0.28);
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  line-height: 1.4;
  color: var(--text-muted);
  background: rgba(61, 220, 255, 0.05);
}

.stack-cut__ledger-rule {
  margin-top: 6px;
  padding-top: 8px !important;
  border-top: 1px dashed var(--border) !important;
}

@media (max-width: 960px) {
  .stack-cut__body {
    grid-template-columns: 1fr;
  }

  .stack-cut__board {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 560px) {
  .stack-cut__meters {
    grid-template-columns: 1fr;
  }

  .stack-cut__row {
    grid-template-columns: 18px minmax(0, 1fr);
  }

  .stack-cut__row-meta {
    grid-column: 2;
    align-items: flex-start;
  }

  .stack-cut__board-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
