:root {
  color-scheme: dark;
  --bg: #0e1116;
  --panel: #151a22;
  --panel-2: #1b212c;
  --line: rgba(255, 255, 255, 0.09);
  --text: #ece9e2;
  --muted: #9aa2ae;
  --faint: #6f7784;
  --gold: #d9a25e;
  --gold-strong: #e8bb7e;
  --gold-deep: #b97e3f;
  --ok: #9fdfbb;
  --warn: #e2c284;
  --shadow-panel: 0 30px 90px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(1100px 520px at 50% -10%, rgba(217, 162, 94, 0.12), transparent 62%),
    radial-gradient(900px 480px at 100% 30%, rgba(108, 199, 182, 0.05), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: "Inter", "Noto Sans SC", ui-sans-serif, system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--gold);
  color: #191006;
}

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

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

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

a:focus-visible,
button:focus-visible {
  border-radius: 6px;
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.section-wide,
.site-header {
  width: calc(100% - 32px);
  max-width: 1040px;
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 100;
  padding: 11px 18px;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--gold);
  color: #191006;
  font-size: 13px;
  font-weight: 700;
  transition: transform 200ms ease;
}

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

/* Logo */
.logo-mark {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.logo-mark.app-icon {
  width: 76px;
  height: 76px;
  margin-bottom: 34px;
}

/* Header */
.site-header {
  display: flex;
  height: 68px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 3.5vw, 18px);
}

.primary-nav a,
.primary-nav button {
  display: flex;
  min-height: 44px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  transition: color 150ms ease, opacity 150ms ease;
}

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

.primary-nav .nav-cta {
  gap: 5px;
  padding-inline: 14px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: #191006;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.primary-nav .nav-cta:hover {
  background: var(--gold-strong);
  color: #191006;
}

/* Hero */
.hero {
  display: grid;
  gap: 42px;
  padding-block: 56px 88px;
}

.hero-copy {
  max-width: 760px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.hero h1 {
  max-width: 760px;
  margin-left: -0.04em;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.text-grad {
  background: linear-gradient(115deg, #f0d29e, #d9a25e 55%, #c08a4a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  max-width: 650px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.hero-actions,
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-actions {
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 150ms ease;
}

.button-primary {
  padding-inline: 18px;
  background: var(--gold);
  color: #191006;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.button-primary:hover {
  background: var(--gold-strong);
}

.hero-actions .button-primary,
.hero-actions .button-secondary {
  min-height: 46px;
  gap: 9px;
  padding-inline: 20px;
  font-size: 13px;
}

.platform-note {
  color: var(--faint);
  font-size: 12px;
  font-weight: 500;
}

.hero-visual {
  min-width: 0;
  scroll-margin-top: 88px;
}

.hero-note {
  margin-top: 16px;
  padding-inline: 8px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.02em;
}

/* Cinematic film stage */
.film-stage {
  position: relative;
}

.film-glow {
  position: absolute;
  inset: 12% 8% auto;
  height: 62%;
  z-index: 0;
  background: radial-gradient(ellipse at center, rgba(217, 162, 94, 0.32), transparent 70%);
  filter: blur(42px);
  pointer-events: none;
}

.film-frame {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(217, 162, 94, 0.28);
  border-radius: 22px;
  background: #080b10;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 36px 90px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(217, 162, 94, 0.1);
  transform: perspective(1400px) rotateX(3.5deg);
  transform-origin: center top;
  transition: transform 500ms ease;
}

.film-stage:hover .film-frame,
.film-stage.is-playing:not(.is-muted) .film-frame {
  transform: perspective(1400px) rotateX(0deg);
}

.film-corners {
  position: absolute;
  inset: 10px;
  z-index: 5;
  pointer-events: none;
}

.film-corners span {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(232, 187, 126, 0.88);
}

.film-corners span:nth-child(1) {
  top: 0;
  left: 0;
  border-right: 0;
  border-bottom: 0;
}

.film-corners span:nth-child(2) {
  top: 0;
  right: 0;
  border-left: 0;
  border-bottom: 0;
}

.film-corners span:nth-child(3) {
  bottom: 0;
  left: 0;
  border-right: 0;
  border-top: 0;
}

.film-corners span:nth-child(4) {
  bottom: 0;
  right: 0;
  border-left: 0;
  border-top: 0;
}

.film-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(21, 26, 34, 0.96), rgba(12, 15, 20, 0.92));
}

.film-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold-strong);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.film-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e05d4f;
  box-shadow: 0 0 0 0 rgba(224, 93, 79, 0.7);
  animation: film-pulse 1.8s ease-out infinite;
}

.film-title {
  min-width: 0;
  margin-left: 2px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.film-clock {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.film-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.film-screen video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 11, 16, 0.08), transparent 22%, transparent 68%, rgba(8, 11, 16, 0.55)),
    radial-gradient(circle at 70% 40%, transparent 40%, rgba(8, 11, 16, 0.18) 100%);
  pointer-events: none;
}

.film-chips {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

.film-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(10, 14, 20, 0.72);
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  animation: film-chip-in 700ms ease both;
}

.film-chip em {
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
}

.film-chip strong {
  color: var(--gold-strong);
}

.film-chip-a {
  top: 14%;
  left: 6%;
  animation-delay: 400ms;
}

.film-chip-b {
  top: 38%;
  right: 7%;
  color: var(--ok);
  animation-delay: 900ms;
}

.film-chip-c {
  bottom: 22%;
  left: 10%;
  animation-delay: 1400ms;
}

.film-play,
.film-unmute {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(217, 162, 94, 0.35);
  background: rgba(12, 15, 20, 0.78);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.film-play {
  top: 50%;
  left: 50%;
  min-height: 48px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, background-color 150ms ease;
}

.film-play-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #191006;
}

.film-play-label {
  padding-right: 6px;
  font-size: 13px;
  font-weight: 700;
}

.film-unmute {
  right: 14px;
  bottom: 58px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--gold-strong);
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, background-color 150ms ease;
}

.film-play:hover,
.film-unmute:hover {
  background: rgba(18, 22, 30, 0.92);
}

.film-stage:not(.is-playing) .film-play,
.film-stage.is-playing.is-muted .film-unmute {
  opacity: 1;
  pointer-events: auto;
}

.film-controls {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(8, 11, 16, 0.72);
  opacity: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.film-stage:hover .film-controls,
.film-stage:focus-within .film-controls,
.film-stage:not(.is-playing) .film-controls {
  opacity: 1;
  transform: none;
}

.film-ctrl {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.film-ctrl:hover {
  background: rgba(255, 255, 255, 0.08);
}

.film-stage.is-playing .film-ctrl .icon-play,
.film-stage:not(.is-playing) .film-ctrl .icon-pause,
.film-stage.is-muted .film-ctrl .icon-sound,
.film-stage:not(.is-muted) .film-ctrl .icon-muted {
  display: none;
}

.film-progress {
  position: relative;
  height: 5px;
  flex: 1;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.film-progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-strong));
}

@keyframes film-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(224, 93, 79, 0.55);
  }
  100% {
    box-shadow: 0 0 0 8px rgba(224, 93, 79, 0);
  }
}

@keyframes film-chip-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Workbench mockup */
.workbench {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--panel);
  box-shadow: var(--shadow-panel);
}

.wb-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.wb-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.wb-dot-red {
  background: #ff5f57;
}

.wb-dot-yellow {
  background: #febc2e;
}

.wb-dot-green {
  background: #28c840;
}

.wb-title {
  margin-left: 8px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.wb-body {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
}

.wb-main {
  padding: 16px;
}

.wb-search {
  display: flex;
  gap: 8px;
}

.wb-search input {
  flex: 1;
  min-width: 0;
  height: 38px;
  padding-inline: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0f1319;
  color: var(--text);
  font: inherit;
  font-size: 12px;
}

.wb-search input:focus {
  outline: none;
  border-color: rgba(217, 162, 94, 0.5);
}

.wb-search button {
  flex: 0 0 auto;
  padding-inline: 14px;
  border: 0;
  border-radius: 10px;
  background: var(--gold);
  color: #191006;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}

.wb-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.wb-chip {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.wb-chip.is-active {
  border-color: rgba(217, 162, 94, 0.4);
  background: rgba(217, 162, 94, 0.14);
  color: var(--gold-strong);
}

.wb-results {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.wb-item {
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #10151c;
}

.wb-item-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}

.wb-tag {
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.wb-badge {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
}

.wb-badge-ok {
  background: rgba(127, 199, 160, 0.16);
  color: var(--ok);
}

.wb-badge-pending {
  background: rgba(217, 181, 108, 0.16);
  color: var(--warn);
}

.wb-item-title {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.wb-item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--faint);
  font-size: 10px;
  font-weight: 500;
}

.wb-match {
  margin-left: auto;
  color: var(--gold-strong);
  font-weight: 700;
}

.wb-panel {
  padding: 16px;
  border-left: 1px solid var(--line);
  background: #12161e;
}

.wb-ev-kicker {
  margin-bottom: 10px;
  color: var(--faint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wb-ev-title {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.wb-ev-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-block: 7px;
  border-top: 1px dashed var(--line);
  font-size: 11px;
  line-height: 1.4;
}

.wb-ev-row:first-of-type {
  border-top: 0;
}

.wb-ev-label {
  flex: 0 0 auto;
  color: var(--faint);
}

.wb-ev-value {
  min-width: 0;
  color: var(--muted);
  font-weight: 500;
  overflow-wrap: anywhere;
  text-align: right;
}

.wb-ev-value.is-link {
  color: var(--gold-strong);
  text-decoration: underline;
  text-decoration-color: rgba(217, 162, 94, 0.5);
  text-underline-offset: 2px;
}

.wb-ev-value.is-strong {
  color: var(--ok);
  font-weight: 700;
}

/* Features */
.features {
  max-width: 880px;
  padding-bottom: 48px;
}

.feature-card {
  --card-accent: #d9a25e;
  --card-tint: rgba(217, 162, 94, 0.1);
  --stack-scale: 1;
  --stack-shift: 0px;
  position: sticky;
  top: 24px;
  display: flex;
  min-height: 520px;
  margin-bottom: 28px;
  padding: 28px;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(560px 320px at 90% -10%, var(--card-tint), transparent 62%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  transform: translateY(var(--stack-shift)) scale(var(--stack-scale));
  transform-origin: center top;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--card-accent), transparent 75%);
}

.feature-card:last-child {
  margin-bottom: 0;
}

.feature-card-0 {
  top: 24px;
  z-index: 1;
  --card-accent: #d9a25e;
  --card-tint: rgba(217, 162, 94, 0.1);
}

.feature-card-1 {
  top: 40px;
  z-index: 2;
  --card-accent: #7fb0dd;
  --card-tint: rgba(127, 176, 221, 0.1);
}

.feature-card-2 {
  top: 24px;
  z-index: 3;
  --card-accent: #7fc7a0;
  --card-tint: rgba(127, 199, 160, 0.1);
}

.feature-card-3 {
  top: 40px;
  z-index: 4;
  --card-accent: #b39be0;
  --card-tint: rgba(179, 155, 224, 0.1);
}

.feature-card-4 {
  top: 24px;
  z-index: 5;
  --card-accent: #dd9666;
  --card-tint: rgba(221, 150, 102, 0.1);
}

.feature-card-5 {
  top: 40px;
  z-index: 6;
  --card-accent: #6cc7b6;
  --card-tint: rgba(108, 199, 182, 0.1);
}

.feature-card-6 {
  top: 24px;
  z-index: 7;
  --card-accent: #8aa8e8;
  --card-tint: rgba(138, 168, 232, 0.1);
}

.feature-card-7 {
  top: 40px;
  z-index: 8;
  --card-accent: #c78fc8;
  --card-tint: rgba(199, 143, 200, 0.1);
}

.feature-number {
  position: absolute;
  top: 34px;
  right: 28px;
  color: var(--card-accent);
  font-size: clamp(112px, 34vw, 190px);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.09em;
  opacity: 0.16;
  user-select: none;
}

.feature-card-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
}

.feature-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  color: var(--card-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.feature-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--card-accent);
}

.feature-card h3 {
  margin-left: -0.035em;
  color: var(--text);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.052em;
}

.feature-description {
  max-width: 760px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

/* Product showcase */
.product-showcase {
  padding-top: 112px;
  padding-bottom: 112px;
}

.showcase-intro {
  width: 100%;
  max-width: 1120px;
  margin-bottom: 52px;
}

.showcase-kicker {
  margin-bottom: 14px;
  color: var(--gold-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.showcase-intro h2 {
  max-width: 1120px;
  margin-left: -0.04em;
  font-size: clamp(38px, 5.8vw, 72px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.showcase-intro > p:last-child {
  max-width: 820px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.showcase-list {
  display: grid;
  gap: 72px;
}

.showcase-item {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(250px, 0.55fr);
  gap: 34px;
  margin: 0;
  align-items: center;
}

.showcase-item-reverse {
  grid-template-columns: minmax(250px, 0.55fr) minmax(0, 1.65fr);
}

.showcase-item-reverse .showcase-frame {
  order: 2;
}

.showcase-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background: #101612;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
}

.showcase-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.showcase-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.showcase-item figcaption span {
  color: var(--gold-strong);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.showcase-item figcaption strong {
  display: block;
  margin-top: 14px;
  color: var(--text);
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.showcase-item figcaption p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .showcase-item,
  .showcase-item-reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .showcase-item-reverse .showcase-frame {
    order: 0;
  }

  .showcase-item figcaption {
    max-width: 680px;
  }
}

@media (max-width: 640px) {
  .product-showcase {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .showcase-intro {
    margin-bottom: 38px;
  }

  .showcase-intro > p:last-child {
    font-size: 16px;
  }

  .showcase-list {
    gap: 52px;
  }

  .showcase-frame {
    border-radius: 15px;
  }

  .showcase-frame img {
    width: 178%;
    max-width: none;
    transform: translateX(-5%);
  }

  .showcase-item figcaption strong {
    font-size: 24px;
  }
}

.feature-tags li {
  padding: 8px 13px;
  border: 1px solid var(--card-accent);
  border-radius: 999px;
  color: var(--card-accent);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  opacity: 0.85;
}

/* Scenarios */
.scenarios {
  padding-block: 24px 40px;
  text-align: center;
}

.scenarios-kicker {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scenarios h2 {
  max-width: 760px;
  margin: 22px auto 0;
  font-size: clamp(30px, 5.5vw, 46px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.scenario-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 36px auto 0;
  padding: 0;
  max-width: 460px;
  list-style: none;
}

.scenario-chips li {
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.scenario-chips li:hover {
  border-color: rgba(217, 162, 94, 0.4);
  color: var(--gold-strong);
}

.scenarios-summary {
  max-width: 600px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.015em;
}

/* Security */
.security {
  display: flex;
  min-height: 0;
  max-width: 1280px;
  padding-block: 72px 48px;
  flex-direction: column;
  align-items: center;
  color: var(--text);
  text-align: center;
}

.security-kicker {
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.security h2 {
  max-width: 1280px;
  margin-top: 64px;
  font-size: clamp(43px, 12vw, 74px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.security h2 .text-grad {
  background: linear-gradient(115deg, #f0d29e, #d9a25e 55%, #c08a4a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.security-summary {
  max-width: 640px;
  margin-top: 76px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

/* Footer */
.site-footer {
  display: flex;
  min-height: 0;
  width: calc(100% - 32px);
  max-width: 1040px;
  margin-inline: auto;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-block: 48px 70px;
  text-align: center;
}

.footer-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 26px;
}

.footer-tagline {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.05em;
}

.footer-actions {
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.button-secondary {
  gap: 7px;
  padding-inline: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.footer-desc {
  margin-top: 26px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.015em;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin-top: 22px;
  color: var(--faint);
  font-size: 10px;
  font-weight: 500;
}

.footer-meta span {
  white-space: nowrap;
}

@media (max-width: 639px) {
  .wb-body {
    grid-template-columns: 1fr;
  }

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

  .film-chips {
    display: none;
  }
}

@media (max-width: 359px) {
  .primary-nav .nav-cta {
    display: none;
  }
}

@media (min-width: 640px) {
  .primary-nav {
    gap: 28px;
  }

  .hero {
    gap: 56px;
    padding-block: 72px 120px;
  }

  .logo-mark.app-icon {
    width: 88px;
    height: 88px;
  }

  .hero h1 {
    max-width: 980px;
    font-size: 68px;
    line-height: 1.02;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-lede {
    font-size: 29px;
    line-height: 1.3;
  }

  .film-frame {
    border-radius: 26px;
  }

  .workbench {
    border-radius: 26px;
  }

  .features {
    padding-bottom: 56px;
  }

  .feature-card {
    top: 72px;
    min-height: 560px;
    margin-bottom: 32px;
    padding: 44px;
    border-radius: 26px;
  }

  .feature-card-1,
  .feature-card-3,
  .feature-card-5,
  .feature-card-7 {
    top: 96px;
  }

  .feature-number {
    top: 48px;
    right: 52px;
    font-size: clamp(180px, 22vw, 260px);
  }

  .feature-card h3 {
    font-size: 52px;
  }

  .feature-description {
    font-size: 20px;
  }

  .feature-tags {
    gap: 10px;
    margin-top: 26px;
  }

  .feature-tags li {
    padding: 9px 15px;
    font-size: 13px;
  }

  .scenarios {
    padding-block: 32px 48px;
  }

  .security {
    min-height: 0;
    padding-block: 90px 56px;
  }

  .security h2 {
    margin-top: 80px;
    font-size: clamp(76px, 8.3vw, 120px);
    line-height: 1.06;
  }

  .security-summary {
    margin-top: 110px;
    font-size: 20px;
  }

  .site-footer {
    min-height: 0;
    padding-bottom: 96px;
  }

  .footer-tagline {
    font-size: 46px;
  }
}

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1fr);
    align-items: end;
    gap: 40px;
    padding-block: 80px 140px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero h1 {
    max-width: none;
    font-size: 56px;
  }

  .hero-lede {
    font-size: 22px;
    line-height: 1.4;
  }

  .hero-note {
    text-align: left;
  }

  .features {
    padding-bottom: 48px;
  }
}

@media (max-width: 720px) {
  .primary-nav a[href="#film"] {
    display: none;
  }

  .film-title {
    display: none;
  }

  .film-chip {
    font-size: 10px;
  }
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 12, 0.74);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  max-height: calc(100dvh - 48px);
  overflow: auto;
  padding: 34px 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  border-color: var(--gold);
  color: var(--text);
}

.modal-kicker {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.modal-dialog h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.modal-sub {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.modal-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.modal-form label {
  display: grid;
  gap: 7px;
}

.modal-form label > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0f1319;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  resize: vertical;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  outline: none;
  border-color: rgba(217, 162, 94, 0.5);
}

.form-error {
  grid-column: 1;
}

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

.form-error {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(227, 139, 121, 0.35);
  border-radius: 10px;
  background: rgba(227, 139, 121, 0.08);
  color: #e9a08f;
  font-size: 12px;
}

.modal-submit {
  justify-content: center;
  min-height: 48px;
  margin-top: 4px;
  font-size: 14px;
}

.modal-fine {
  color: var(--faint);
  font-size: 11px;
  line-height: 1.5;
}

.modal-success {
  padding-block: 20px;
  text-align: center;
}

.modal-success-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(127, 199, 160, 0.16);
  color: var(--ok);
}

.modal-success h3 {
  margin-top: 16px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.modal-success-text {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.modal-again {
  justify-content: center;
  width: 100%;
  margin-top: 20px;
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .feature-card {
    --stack-scale: 1 !important;
  }

  .film-frame,
  .film-stage:hover .film-frame,
  .film-stage.is-playing:not(.is-muted) .film-frame {
    transform: none;
  }

  .film-live i,
  .film-chip {
    animation: none;
  }
}
