:root {
  --ink-950: #071224;
  --ink-900: #0d1a2d;
  --ink-800: #17243a;
  --ink-700: #334158;
  --ink-600: #516078;
  --ink-500: #718096;
  --ink-400: #97a3b5;
  --ink-300: #c5ceda;
  --ink-200: #dce2ea;
  --ink-150: #e8edf3;
  --ink-100: #f1f4f8;
  --ink-50: #f7f9fc;
  --blue-700: #1b46e8;
  --blue-600: #315bf5;
  --blue-500: #4a70ff;
  --blue-100: #e8eeff;
  --blue-50: #f3f6ff;
  --green-700: #087a58;
  --green-600: #0a976d;
  --green-100: #dcf7ed;
  --green-50: #effbf7;
  --purple-700: #6d3fd1;
  --purple-100: #eee7ff;
  --orange-700: #a85a0a;
  --orange-100: #fff0d9;
  --red-700: #b4232f;
  --red-100: #ffe8eb;
  --white: #fff;
  --page: #f6f8fb;
  --shadow-xs: 0 1px 2px rgba(7, 18, 36, 0.05);
  --shadow-sm: 0 10px 30px rgba(7, 18, 36, 0.08);
  --shadow-md: 0 24px 70px rgba(7, 18, 36, 0.13);
  --shadow-blue: 0 16px 32px rgba(49, 91, 245, 0.25);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --content-width: 1200px;
  --font-sans: Inter, "SF Pro Display", "SF Pro Text", "PingFang SC",
    "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink-900);
  background: var(--white);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

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

[hidden] {
  display: none !important;
}

::selection {
  color: var(--white);
  background: var(--blue-600);
}

:focus-visible {
  outline: 3px solid rgba(49, 91, 245, 0.32);
  outline-offset: 3px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 19px;
  font-weight: 760;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.brand-symbol {
  position: relative;
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 9px;
  background: var(--ink-950);
  box-shadow: 0 6px 14px rgba(7, 18, 36, 0.18);
}

.brand-symbol i {
  position: absolute;
  display: block;
  width: 6px;
  border-radius: 4px;
  background: var(--white);
  transform: rotate(31deg);
}

.brand-symbol i:nth-child(1) {
  height: 14px;
  left: 7px;
  bottom: 5px;
}

.brand-symbol i:nth-child(2) {
  height: 20px;
  left: 12px;
  bottom: 4px;
  background: var(--blue-500);
}

.brand-symbol i:nth-child(3) {
  height: 11px;
  right: 5px;
  bottom: 6px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 680;
  line-height: 1;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease,
    box-shadow 160ms ease, transform 160ms ease;
}

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

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

.button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.button-primary {
  color: var(--white);
  background: var(--blue-600);
  box-shadow: 0 8px 20px rgba(49, 91, 245, 0.2);
}

.button-primary:hover {
  background: var(--blue-700);
  box-shadow: var(--shadow-blue);
}

.button-secondary {
  color: var(--ink-800);
  border-color: var(--ink-200);
  background: var(--white);
  box-shadow: var(--shadow-xs);
}

.button-secondary:hover,
.button-quiet:hover {
  border-color: var(--ink-300);
  background: var(--ink-50);
}

.button-quiet {
  color: var(--ink-700);
  border-color: transparent;
  background: transparent;
}

.button-white {
  color: var(--blue-700);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(7, 18, 36, 0.18);
}

.button-dark-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
}

.button-dark-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.11);
}

.button-large {
  min-height: 52px;
  padding: 0 23px;
  border-radius: 13px;
  font-size: 15px;
}

.button-small {
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
}

.button-full {
  width: 100%;
}

.eyebrow,
.modal-kicker,
.workspace-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow > span {
  display: inline-block;
  width: 22px;
  height: 2px;
  border-radius: 10px;
  background: currentColor;
}

.light-eyebrow {
  color: #9cb2ff;
}

/* Landing */

.landing-page {
  overflow-x: hidden;
}

.site-header {
  position: relative;
  z-index: 40;
  display: grid;
  width: min(calc(100% - 48px), 1320px);
  height: 78px;
  margin: 0 auto;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(13, 26, 45, 0.08);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--ink-600);
  font-size: 14px;
  font-weight: 560;
}

.site-nav a {
  transition: color 160ms ease;
}

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

.site-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--ink-200);
  border-radius: 11px;
  background: var(--white);
}

.mobile-menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 8px;
  background: var(--ink-800);
}

.hero-section {
  position: relative;
  display: grid;
  width: min(calc(100% - 56px), var(--content-width));
  min-height: 690px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 0.91fr) minmax(480px, 1.09fr);
  align-items: center;
  gap: 68px;
  padding: 76px 0 88px;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  top: -180px;
  right: -290px;
  width: 840px;
  height: 700px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(49, 91, 245, 0.12), transparent 60%),
    radial-gradient(circle at 74% 68%, rgba(129, 86, 255, 0.1), transparent 42%);
  filter: blur(4px);
}

.hero-copy h1 {
  max-width: 650px;
  margin: 0;
  color: var(--ink-950);
  font-size: clamp(47px, 5vw, 68px);
  font-weight: 780;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.hero-copy h1 em {
  color: var(--blue-600);
  font-style: normal;
}

.hero-lead {
  max-width: 620px;
  margin: 27px 0 0;
  color: var(--ink-600);
  font-size: 17px;
  line-height: 1.85;
}

.hero-lead strong {
  color: var(--ink-800);
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 26px;
  color: var(--ink-600);
  font-size: 13px;
}

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

.hero-proof i {
  display: inline-flex;
  width: 17px;
  height: 17px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--green-700);
  background: var(--green-100);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.hero-product {
  position: relative;
  min-height: 490px;
}

.product-window {
  position: absolute;
  top: 22px;
  right: 26px;
  width: min(100%, 580px);
  overflow: hidden;
  border: 1px solid rgba(13, 26, 45, 0.11);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 38px 90px rgba(29, 49, 83, 0.18);
}

.window-chrome {
  display: grid;
  height: 44px;
  grid-template-columns: 80px 1fr 88px;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid var(--ink-150);
  background: #fbfcfe;
  color: var(--ink-500);
  font-size: 9px;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef6b65;
}

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

.window-dots i:nth-child(3) {
  background: #55c667;
}

.window-address {
  justify-self: center;
  width: min(100%, 210px);
  padding: 7px 12px;
  border: 1px solid var(--ink-150);
  border-radius: 8px;
  background: var(--white);
  text-align: center;
}

.window-secure {
  justify-self: end;
  color: var(--green-700);
}

.presentation-canvas {
  position: relative;
  height: 328px;
  overflow: hidden;
  padding: 53px 58px;
  color: var(--white);
  background:
    radial-gradient(circle at 92% 5%, rgba(107, 134, 255, 0.5), transparent 31%),
    linear-gradient(140deg, #17264f 0%, #203676 47%, #315bf5 150%);
}

.presentation-canvas::after {
  position: absolute;
  right: -92px;
  bottom: -160px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(255, 255, 255, 0.025),
    0 0 0 100px rgba(255, 255, 255, 0.02);
  content: "";
}

.slide-kicker {
  color: #aebdff;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.slide-title {
  margin-top: 24px;
  font-size: 33px;
  font-weight: 720;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.slide-copy {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
}

.slide-chart {
  position: absolute;
  z-index: 2;
  right: 54px;
  bottom: 58px;
  display: flex;
  height: 96px;
  align-items: flex-end;
  gap: 9px;
}

.slide-chart i {
  display: block;
  width: 17px;
  border-radius: 5px 5px 2px 2px;
  background: rgba(255, 255, 255, 0.34);
}

.slide-chart .bar-1 {
  height: 35px;
}

.slide-chart .bar-2 {
  height: 55px;
}

.slide-chart .bar-3 {
  height: 73px;
  background: #7f9cff;
}

.slide-chart .bar-4 {
  height: 96px;
  background: var(--white);
}

.slide-page {
  position: absolute;
  right: 24px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 8px;
}

.screen-status {
  display: flex;
  height: 46px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: var(--ink-500);
  font-size: 10px;
}

.screen-status span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.screen-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #17b87d;
  box-shadow: 0 0 0 3px rgba(23, 184, 125, 0.12);
}

.phone-mockup {
  position: absolute;
  z-index: 3;
  right: -8px;
  bottom: 5px;
  width: 173px;
  min-height: 346px;
  overflow: hidden;
  padding: 18px 12px 10px;
  border: 5px solid var(--ink-950);
  border-radius: 28px;
  background: var(--ink-50);
  box-shadow: 0 30px 65px rgba(7, 18, 36, 0.28);
}

.phone-speaker {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 44px;
  height: 4px;
  border-radius: 10px;
  background: var(--ink-950);
  transform: translateX(-50%);
}

.phone-header {
  display: grid;
  margin-top: 5px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--ink-500);
  font-size: 7px;
}

.phone-header strong {
  color: var(--ink-900);
  font-size: 10px;
}

.phone-header span {
  justify-self: end;
}

.phone-preview {
  position: relative;
  height: 84px;
  margin-top: 13px;
  overflow: hidden;
  padding: 17px 13px;
  border-radius: 10px;
  color: var(--white);
  background: linear-gradient(140deg, #1c2f67, #315bf5);
}

.mini-slide-title {
  font-size: 9px;
  font-weight: 680;
  line-height: 1.3;
}

.mini-bars {
  position: absolute;
  right: 11px;
  bottom: 13px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
}

.mini-bars i {
  width: 4px;
  height: 9px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.55);
}

.mini-bars i:nth-child(2) {
  height: 16px;
}

.mini-bars i:nth-child(3) {
  height: 22px;
}

.mini-bars i:nth-child(4) {
  height: 28px;
  background: var(--white);
}

.phone-timer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  color: var(--ink-500);
  font-size: 6px;
}

.phone-timer span {
  color: var(--ink-900);
  font-size: 12px;
  font-weight: 720;
}

.phone-controls {
  display: grid;
  gap: 5px;
  margin-top: 10px;
  grid-template-columns: 1fr 1fr;
}

.phone-controls button {
  height: 45px;
  border: 0;
  border-radius: 9px;
  color: var(--ink-700);
  background: var(--white);
  font-size: 8px;
  font-weight: 680;
  box-shadow: var(--shadow-xs);
}

.phone-controls button:last-child {
  color: var(--white);
  background: var(--blue-600);
}

.phone-tools,
.phone-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.phone-tools {
  margin-top: 11px;
  padding: 11px 3px;
  border-radius: 9px;
  background: var(--white);
  color: var(--ink-600);
  font-size: 6px;
}

.phone-tabs {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--ink-150);
  color: var(--ink-500);
  font-size: 7px;
}

.phone-tabs b {
  color: var(--blue-600);
}

.version-float {
  position: absolute;
  z-index: 4;
  left: -15px;
  bottom: 23px;
  display: flex;
  min-width: 205px;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border: 1px solid rgba(13, 26, 45, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 17px 38px rgba(7, 18, 36, 0.15);
  backdrop-filter: blur(14px);
}

.version-icon {
  display: flex;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: var(--green-700);
  background: var(--green-100);
  font-weight: 800;
}

.version-float div {
  display: grid;
  gap: 3px;
}

.version-float strong {
  font-size: 11px;
}

.version-float small {
  color: var(--ink-500);
  font-size: 9px;
}

.trust-strip {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(28px, calc((100vw - var(--content-width)) / 2));
  border-top: 1px solid var(--ink-150);
  border-bottom: 1px solid var(--ink-150);
  background: var(--ink-50);
  color: var(--ink-500);
  font-size: 13px;
}

.trust-strip p {
  margin: 0;
  color: var(--ink-700);
  font-weight: 620;
}

.trust-strip div {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-strip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.status-blue {
  background: var(--blue-500);
}

.status-green {
  background: var(--green-600);
}

.status-purple {
  background: #8b62e8;
}

.content-section {
  width: min(calc(100% - 56px), var(--content-width));
  margin: 0 auto;
  padding: 116px 0;
}

.section-heading {
  margin-bottom: 50px;
}

.section-heading h2,
.security-copy h2,
.boundary-section h2,
.final-cta h2 {
  margin: 0;
  color: var(--ink-950);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.17;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child,
.split-heading > p {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--ink-600);
  font-size: 16px;
  line-height: 1.75;
}

.centered-heading {
  text-align: center;
}

.centered-heading .eyebrow {
  justify-content: center;
}

.centered-heading > p:last-child {
  margin-right: auto;
  margin-left: auto;
}

.split-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.split-heading > p {
  max-width: 445px;
  margin-bottom: 4px;
}

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

.workflow-card {
  position: relative;
  min-height: 365px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--ink-150);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-xs);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.workflow-card:hover {
  border-color: #cdd7f5;
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.step-number {
  color: var(--ink-400);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.12em;
}

.step-visual {
  position: relative;
  height: 135px;
  margin: 19px 0 25px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--blue-50);
}

.workflow-card h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.workflow-card p {
  margin: 11px 0 0;
  color: var(--ink-600);
  font-size: 13px;
  line-height: 1.75;
}

.file-sheet {
  position: absolute;
  top: 29px;
  left: 50%;
  display: flex;
  width: 52px;
  height: 66px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(145deg, var(--blue-500), var(--blue-700));
  box-shadow: 0 12px 24px rgba(49, 91, 245, 0.24);
  font-size: 23px;
  font-weight: 720;
  transform: translateX(-50%);
}

.upload-visual i {
  position: absolute;
  right: 47px;
  bottom: 22px;
  width: 21px;
  height: 21px;
  border: 5px solid var(--green-600);
  border-top-color: transparent;
  border-radius: 50%;
}

.screen-visual span {
  position: absolute;
  top: 26px;
  left: 50%;
  width: 134px;
  height: 76px;
  border: 5px solid var(--ink-800);
  border-radius: 7px;
  background: linear-gradient(145deg, #263e82, #5378ff);
  transform: translateX(-50%);
}

.screen-visual span::after {
  position: absolute;
  top: -2px;
  left: 50%;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--white);
  content: "";
}

.screen-visual i {
  position: absolute;
  bottom: 18px;
  left: 50%;
  width: 70px;
  height: 5px;
  border-radius: 5px;
  background: var(--ink-700);
  transform: translateX(-50%);
}

.screen-visual i::before {
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 12px;
  height: 22px;
  background: var(--ink-700);
  content: "";
  transform: translateX(-50%);
}

.scan-visual span {
  position: absolute;
  top: 23px;
  left: 50%;
  width: 74px;
  height: 91px;
  border: 4px solid var(--ink-800);
  border-radius: 13px;
  background: var(--white);
  transform: translateX(-50%);
}

.scan-visual i {
  position: absolute;
  top: 43px;
  left: 50%;
  width: 34px;
  height: 34px;
  border: 7px dotted var(--blue-600);
  transform: translateX(-50%);
}

.scan-visual b {
  position: absolute;
  top: 20px;
  left: calc(50% - 48px);
  width: 96px;
  height: 96px;
  border-top: 2px solid rgba(49, 91, 245, 0.2);
  border-radius: 50%;
}

.version-visual span,
.version-visual i {
  position: absolute;
  top: 34px;
  left: 46px;
  display: block;
  width: 104px;
  height: 60px;
  border: 1px solid #c8d3fa;
  border-radius: 9px;
  background: var(--white);
  box-shadow: var(--shadow-xs);
}

.version-visual i {
  top: 46px;
  left: 68px;
}

.version-visual b {
  position: absolute;
  right: 33px;
  bottom: 22px;
  display: flex;
  width: 31px;
  height: 31px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green-600);
  font-size: 15px;
}

.capabilities-section {
  width: 100%;
  max-width: none;
  padding-right: max(28px, calc((100vw - var(--content-width)) / 2));
  padding-left: max(28px, calc((100vw - var(--content-width)) / 2));
  color: var(--white);
  background: var(--ink-950);
}

.capabilities-section .section-heading h2 {
  color: var(--white);
}

.capabilities-section .split-heading > p {
  color: #9caabe;
}

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

.capability-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 105%, rgba(49, 91, 245, 0.13), transparent 43%),
    rgba(255, 255, 255, 0.035);
}

.capability-wide {
  display: grid;
  min-height: 440px;
  grid-column: 1 / -1;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 50px;
}

.capability-label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(143, 166, 255, 0.22);
  border-radius: 8px;
  color: #aabaff;
  background: rgba(74, 112, 255, 0.08);
  font-size: 11px;
  font-weight: 700;
}

.capability-card h3 {
  max-width: 510px;
  margin: 0;
  font-size: 29px;
  line-height: 1.27;
  letter-spacing: -0.035em;
}

.capability-card p {
  max-width: 520px;
  margin: 17px 0 0;
  color: #9caabe;
  font-size: 14px;
  line-height: 1.8;
}

.capability-card ul {
  display: grid;
  gap: 11px;
  margin: 23px 0 0;
  padding: 0;
  color: #d7deeb;
  font-size: 13px;
  list-style: none;
}

.capability-card li::before {
  margin-right: 9px;
  color: #7e9aff;
  content: "✓";
}

.control-illustration {
  position: relative;
  height: 290px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: linear-gradient(145deg, #14295d, #254aaf);
  box-shadow: inset 0 0 70px rgba(255, 255, 255, 0.035);
}

.control-slide {
  position: absolute;
  top: 40px;
  left: 40px;
  width: calc(100% - 80px);
  height: 165px;
  padding: 27px 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  background: rgba(6, 18, 48, 0.52);
}

.control-slide span {
  position: absolute;
  top: 16px;
  right: 19px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
}

.control-slide b {
  display: block;
  margin-top: 18px;
  font-size: 27px;
}

.control-slide i {
  display: block;
  width: 56%;
  height: 6px;
  margin-top: 16px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.2);
}

.control-slide i:last-child {
  width: 38%;
  margin-top: 8px;
}

.control-pad {
  position: absolute;
  right: 29px;
  bottom: 22px;
  display: flex;
  gap: 8px;
}

.control-pad button {
  width: 51px;
  height: 45px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 11px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
}

.control-pad button:last-child {
  border-color: transparent;
  background: var(--blue-500);
}

.edit-illustration {
  position: relative;
  height: 160px;
  margin-top: 33px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: #13213a;
}

.edit-illustration div {
  display: grid;
  width: 67%;
  gap: 11px;
  padding: 35px;
}

.edit-illustration div i {
  height: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.edit-illustration div i:nth-child(2) {
  width: 84%;
}

.edit-illustration div i:nth-child(3) {
  width: 54%;
}

.edit-cursor {
  position: absolute;
  top: 31px;
  left: 45%;
  width: 2px;
  height: 20px;
  background: #7e9aff;
  animation: blink-cursor 1.1s step-end infinite;
}

.edit-illustration b {
  position: absolute;
  right: 27px;
  bottom: 27px;
  padding: 9px 15px;
  border-radius: 9px;
  color: var(--white);
  background: var(--blue-600);
  font-size: 11px;
}

@keyframes blink-cursor {
  50% {
    opacity: 0.15;
  }
}

.version-stack {
  display: grid;
  gap: 9px;
  margin-top: 31px;
}

.version-stack div {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  color: #dce3ef;
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
}

.version-stack b {
  color: #81dfbd;
  font-size: 10px;
  font-weight: 600;
}

.security-panel {
  display: grid;
  padding: 70px;
  grid-template-columns: 1fr 0.87fr;
  align-items: center;
  gap: 70px;
  border: 1px solid #e1e6ef;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 92% 10%, rgba(49, 91, 245, 0.08), transparent 27%),
    linear-gradient(140deg, #fbfcff, #f4f7fc);
}

.security-copy > p:not(.eyebrow) {
  max-width: 540px;
  margin: 22px 0 0;
  color: var(--ink-600);
  font-size: 15px;
  line-height: 1.8;
}

.security-points {
  display: grid;
  margin-top: 35px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.security-points span {
  display: grid;
  grid-template-columns: 29px 1fr;
  align-items: center;
  column-gap: 9px;
}

.security-points i {
  grid-row: 1 / 3;
  color: var(--blue-600);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.security-points b {
  font-size: 13px;
}

.security-points small {
  margin-top: 4px;
  color: var(--ink-500);
  font-size: 10px;
}

.security-diagram {
  position: relative;
  display: grid;
  gap: 7px;
  padding: 26px;
  border: 1px solid var(--ink-150);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.security-file {
  display: grid;
  min-height: 78px;
  padding: 13px;
  grid-template-columns: 46px 1fr 26px;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--ink-150);
  border-radius: 14px;
  background: var(--white);
}

.file-badge {
  display: flex;
  width: 43px;
  height: 43px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: var(--white);
  background: var(--ink-800);
  font-weight: 760;
}

.work-file .file-badge {
  background: var(--blue-600);
}

.new-file .file-badge {
  background: var(--green-600);
}

.security-file div {
  display: grid;
  gap: 4px;
}

.security-file strong {
  font-size: 13px;
}

.security-file small {
  color: var(--ink-500);
  font-size: 10px;
}

.lock-icon,
.check-icon {
  color: var(--ink-400);
  font-style: normal;
}

.check-icon {
  color: var(--green-600);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 0 5px var(--blue-100);
}

.diagram-arrow {
  justify-self: center;
  color: var(--ink-400);
  font-size: 15px;
}

.scenes-section {
  padding-top: 30px;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink-200);
  border-bottom: 1px solid var(--ink-200);
}

.scene-grid article {
  min-height: 224px;
  padding: 31px 27px;
  border-right: 1px solid var(--ink-200);
}

.scene-grid article:last-child {
  border-right: 0;
}

.scene-grid span {
  color: var(--blue-600);
  font-size: 11px;
  font-weight: 760;
}

.scene-grid h3 {
  margin: 58px 0 0;
  font-size: 19px;
}

.scene-grid p {
  margin: 11px 0 0;
  color: var(--ink-600);
  font-size: 13px;
  line-height: 1.7;
}

.boundary-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 80px;
  padding-top: 78px;
  border-top: 1px solid var(--ink-150);
}

.boundary-list {
  display: grid;
  gap: 0;
}

.boundary-list p {
  display: grid;
  min-height: 88px;
  margin: 0;
  padding: 18px 0;
  grid-template-columns: 32px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--ink-150);
}

.boundary-list i {
  display: flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--green-700);
  background: var(--green-100);
  font-size: 11px;
  font-style: normal;
}

.boundary-list span {
  display: grid;
  gap: 5px;
}

.boundary-list b {
  font-size: 14px;
}

.boundary-list small {
  color: var(--ink-500);
  font-size: 12px;
}

.faq-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 95px;
  border-top: 1px solid var(--ink-150);
}

.faq-list {
  border-top: 1px solid var(--ink-200);
}

.faq-list details {
  border-bottom: 1px solid var(--ink-200);
}

.faq-list summary {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 650;
  list-style: none;
}

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

.faq-list summary span {
  color: var(--blue-600);
  font-size: 23px;
  font-weight: 300;
  transition: transform 180ms ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  margin: -5px 45px 25px 0;
  color: var(--ink-600);
  font-size: 13px;
  line-height: 1.75;
}

.final-cta {
  display: flex;
  width: min(calc(100% - 56px), var(--content-width));
  min-height: 300px;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  margin: 0 auto 80px;
  padding: 60px 70px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: var(--white);
  background:
    radial-gradient(circle at 90% -20%, rgba(140, 168, 255, 0.66), transparent 36%),
    linear-gradient(135deg, #1d45d5, #315bf5 57%, #5879ed);
  box-shadow: 0 26px 70px rgba(49, 91, 245, 0.24);
}

.final-cta h2 {
  color: var(--white);
}

.final-cta p:not(.eyebrow) {
  margin: 17px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.final-cta .button {
  flex: 0 0 auto;
}

.site-footer {
  display: grid;
  min-height: 210px;
  padding: 48px max(28px, calc((100vw - var(--content-width)) / 2));
  grid-template-columns: 1fr auto;
  gap: 40px;
  border-top: 1px solid var(--ink-150);
  color: var(--ink-500);
  background: var(--ink-50);
}

.site-footer > div p {
  margin: 15px 0 0;
  font-size: 12px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: flex-end;
  gap: 20px;
  color: var(--ink-700);
  font-size: 13px;
}

.site-footer small {
  grid-column: 1 / -1;
  align-self: end;
  padding-top: 25px;
  border-top: 1px solid var(--ink-150);
  font-size: 10px;
}

/* Workspace */

.workspace-page {
  min-width: 320px;
  min-height: 100vh;
  background: var(--page);
}

.workspace-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  height: 70px;
  padding: 0 26px;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  border-bottom: 1px solid var(--ink-150);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.workspace-name {
  padding-left: 22px;
  border-left: 1px solid var(--ink-200);
  color: var(--ink-600);
  font-size: 13px;
  font-weight: 620;
}

.workspace-header-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.screen-link {
  font-size: 13px;
}

.account-button {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 4px 10px 4px 5px;
  border: 1px solid var(--ink-200);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  font-size: 12px;
}

.account-avatar {
  display: flex;
  width: 31px;
  height: 31px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: var(--white);
  background: linear-gradient(145deg, var(--ink-800), var(--blue-600));
  font-weight: 740;
}

.account-button i {
  color: var(--ink-400);
  font-size: 11px;
  font-style: normal;
}

.account-menu {
  position: absolute;
  z-index: 50;
  top: 50px;
  right: 0;
  display: grid;
  min-width: 210px;
  padding: 9px;
  border: 1px solid var(--ink-150);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.account-menu p {
  margin: 0;
  padding: 10px 11px;
  border-bottom: 1px solid var(--ink-150);
  color: var(--ink-500);
  font-size: 12px;
}

.account-menu a,
.account-menu button {
  padding: 10px 11px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 12px;
}

.account-menu a:hover,
.account-menu button:hover {
  background: var(--ink-50);
}

.account-menu button {
  color: var(--ink-700);
}

.account-menu #logoutButton {
  color: var(--red-700);
}

.workspace-layout {
  display: grid;
  min-height: calc(100vh - 70px);
  grid-template-columns: 238px minmax(0, 1fr);
}

.workspace-sidebar {
  position: sticky;
  top: 70px;
  display: flex;
  height: calc(100vh - 70px);
  padding: 24px 16px 20px;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--ink-150);
  background: #fbfcfe;
}

.workspace-sidebar nav {
  display: grid;
  gap: 5px;
}

.sidebar-item {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  padding: 0 13px;
  border: 0;
  border-radius: 10px;
  color: var(--ink-600);
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 13px;
  font-weight: 580;
}

.sidebar-item:hover {
  color: var(--ink-900);
  background: var(--ink-100);
}

.sidebar-item.is-active {
  color: var(--blue-700);
  background: var(--blue-100);
  font-weight: 680;
}

.sidebar-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.icon-decks::before,
.icon-decks::after {
  position: absolute;
  width: 13px;
  height: 10px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  content: "";
}

.icon-decks::before {
  top: 2px;
  left: 1px;
}

.icon-decks::after {
  right: 1px;
  bottom: 2px;
  background: inherit;
}

.icon-recent {
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.icon-recent::before {
  position: absolute;
  top: 4px;
  left: 8px;
  width: 1.5px;
  height: 5px;
  background: currentColor;
  content: "";
  transform-origin: bottom;
  transform: rotate(-38deg);
}

.icon-trash::before {
  position: absolute;
  top: 5px;
  left: 4px;
  width: 10px;
  height: 11px;
  border: 1.5px solid currentColor;
  border-radius: 2px 2px 4px 4px;
  content: "";
}

.icon-trash::after {
  position: absolute;
  top: 2px;
  left: 3px;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  box-shadow: 4px -2px 0 -0.3px currentColor;
  content: "";
}

.sidebar-help {
  padding: 17px;
  border: 1px solid var(--ink-150);
  border-radius: 14px;
  background: var(--white);
}

.sidebar-help span {
  font-size: 12px;
  font-weight: 700;
}

.sidebar-help p {
  margin: 8px 0 11px;
  color: var(--ink-500);
  font-size: 11px;
  line-height: 1.6;
}

.sidebar-help a {
  color: var(--blue-600);
  font-size: 11px;
  font-weight: 650;
}

.workspace-main {
  width: 100%;
  max-width: 1440px;
  min-width: 0;
  margin: 0 auto;
  padding: 24px 38px 70px;
}

.local-notice {
  position: relative;
  min-height: 43px;
  margin-bottom: 33px;
  padding: 12px 48px 12px 16px;
  border: 1px solid #f0d9ad;
  border-radius: 11px;
  color: #735827;
  background: #fffaf0;
  font-size: 11px;
  line-height: 1.55;
}

.local-notice span {
  margin-right: 9px;
  color: var(--orange-700);
  font-weight: 720;
}

.local-notice button {
  position: absolute;
  top: 6px;
  right: 9px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 7px;
  color: #94764a;
  background: transparent;
  cursor: pointer;
  font-size: 19px;
}

.workspace-titlebar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.workspace-eyebrow {
  margin-bottom: 11px;
  color: var(--ink-400);
  font-size: 9px;
  letter-spacing: 0.17em;
}

.workspace-titlebar h1 {
  margin: 0;
  color: var(--ink-950);
  font-size: 30px;
  letter-spacing: -0.035em;
}

.workspace-titlebar p:last-child {
  margin: 9px 0 0;
  color: var(--ink-500);
  font-size: 12px;
}

.upload-trigger {
  min-width: 148px;
}

.workspace-toolbar {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 28px;
}

.search-box {
  position: relative;
  display: flex;
  width: min(320px, 50%);
  height: 40px;
  align-items: center;
  border: 1px solid var(--ink-200);
  border-radius: 10px;
  background: var(--white);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.search-box:focus-within {
  border-color: #9aaefa;
  box-shadow: 0 0 0 3px rgba(49, 91, 245, 0.1);
}

.search-box span {
  position: relative;
  width: 39px;
  height: 100%;
}

.search-box span::before {
  position: absolute;
  top: 12px;
  left: 14px;
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--ink-400);
  border-radius: 50%;
  content: "";
}

.search-box span::after {
  position: absolute;
  top: 23px;
  left: 24px;
  width: 6px;
  height: 1.5px;
  background: var(--ink-400);
  content: "";
  transform: rotate(45deg);
}

.search-box input {
  width: calc(100% - 42px);
  height: 100%;
  padding: 0 11px 0 0;
  border: 0;
  outline: 0;
  color: var(--ink-800);
  background: transparent;
  font-size: 12px;
}

.search-box input::placeholder {
  color: var(--ink-400);
}

.toolbar-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-500);
  font-size: 11px;
}

.toolbar-meta button {
  padding: 5px 8px;
  border: 0;
  color: var(--blue-600);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
}

.deck-list-card {
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--ink-150);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-xs);
}

.deck-list-header,
.deck-row {
  display: grid;
  grid-template-columns: minmax(280px, 1.5fr) minmax(160px, 0.8fr)
    minmax(155px, 0.75fr) minmax(130px, 0.6fr) 150px;
  align-items: center;
  gap: 18px;
}

.deck-list-header {
  min-height: 45px;
  padding: 0 20px;
  border-bottom: 1px solid var(--ink-150);
  color: var(--ink-400);
  background: #fafbfd;
  font-size: 10px;
  font-weight: 650;
}

.deck-row {
  min-height: 106px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--ink-150);
  transition: background 150ms ease;
}

.deck-row:last-child {
  border-bottom: 0;
}

.deck-row:hover {
  background: #fbfcff;
}

.deck-identity {
  display: grid;
  min-width: 0;
  padding: 0;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.deck-cover {
  position: relative;
  width: 104px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(7, 18, 36, 0.08);
  border-radius: 8px;
  color: var(--white);
  background: #243665;
  box-shadow: 0 5px 13px rgba(7, 18, 36, 0.12);
}

.deck-cover.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deck-cover.has-image span {
  position: absolute;
  right: 5px;
  bottom: 5px;
  padding: 2px 4px;
  border-radius: 4px;
  color: var(--white);
  background: rgba(7, 18, 36, 0.7);
  font-size: 6px;
}

.generated-cover {
  padding: 9px;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.25), transparent 28%),
    linear-gradient(145deg, #263a76, #315bf5);
}

.generated-cover.cover-1 {
  background: linear-gradient(145deg, #2e244f, #7756d8);
}

.generated-cover.cover-2 {
  background: linear-gradient(145deg, #143d45, #14836f);
}

.generated-cover.cover-3 {
  background: linear-gradient(145deg, #543322, #d07037);
}

.generated-kicker {
  display: block;
  opacity: 0.6;
  font-size: 4px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.generated-cover b {
  display: block;
  width: 75%;
  margin-top: 8px;
  overflow: hidden;
  font-size: 7px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.generated-cover i {
  display: block;
  width: 46%;
  height: 3px;
  margin-top: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.3);
}

.generated-cover i + i {
  width: 30%;
  margin-top: 3px;
}

.generated-cover small {
  position: absolute;
  right: 7px;
  bottom: 6px;
  opacity: 0.62;
  font-size: 5px;
}

.deck-name-block,
.deck-status-cell,
.deck-version-cell,
.deck-time-cell {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.deck-name-block strong {
  overflow: hidden;
  color: var(--ink-900);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deck-name-block small,
.deck-status-cell small,
.deck-version-cell small,
.deck-time-cell small {
  overflow: hidden;
  color: var(--ink-500);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deck-version-cell span,
.deck-time-cell span {
  color: var(--ink-700);
  font-size: 11px;
}

.status-chip {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  color: var(--ink-700);
  font-size: 10px;
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-chip i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px currentColor;
  opacity: 0.72;
}

.status-ready {
  color: var(--green-700);
}

.status-waiting {
  color: var(--orange-700);
}

.status-error {
  color: var(--red-700);
}

.deck-action-cell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.icon-button {
  width: 35px;
  height: 35px;
  border: 1px solid var(--ink-200);
  border-radius: 9px;
  color: var(--ink-500);
  background: var(--white);
  cursor: pointer;
  letter-spacing: 1px;
}

.icon-button:hover {
  color: var(--ink-900);
  background: var(--ink-50);
}

.list-skeleton {
  display: grid;
  min-height: 105px;
  padding: 18px 22px;
  grid-template-columns: 230px 150px 1fr;
  align-items: center;
  gap: 45px;
  border-bottom: 1px solid var(--ink-150);
}

.list-skeleton i {
  height: 12px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--ink-100), #fafbfd, var(--ink-100));
  background-size: 220% 100%;
  animation: skeleton 1.5s infinite linear;
}

@keyframes skeleton {
  to {
    background-position: -220% 0;
  }
}

.workspace-empty,
.list-error {
  display: flex;
  min-height: 390px;
  padding: 45px 25px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.empty-illustration {
  position: relative;
  width: 112px;
  height: 90px;
  margin-bottom: 24px;
}

.empty-illustration span {
  position: absolute;
  top: 5px;
  left: 22px;
  display: flex;
  width: 58px;
  height: 72px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--white);
  background: linear-gradient(145deg, var(--blue-500), var(--blue-700));
  box-shadow: 0 14px 28px rgba(49, 91, 245, 0.2);
  font-size: 25px;
  font-weight: 750;
}

.empty-illustration i {
  position: absolute;
  right: 7px;
  bottom: 9px;
  width: 57px;
  height: 39px;
  border: 1px solid var(--ink-200);
  border-radius: 8px;
  background: var(--white);
  transform: rotate(7deg);
}

.empty-illustration b {
  position: absolute;
  right: 3px;
  bottom: 0;
  display: flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  background: var(--green-600);
}

.workspace-empty h2,
.list-error strong {
  margin: 0;
  font-size: 17px;
}

.workspace-empty p,
.list-error p {
  max-width: 400px;
  margin: 11px 0 22px;
  color: var(--ink-500);
  font-size: 12px;
  line-height: 1.7;
}

.list-error button {
  padding: 9px 14px;
  border: 1px solid var(--ink-200);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

/* Modals, drawer and portal forms */

.modal-layer,
.drawer-layer {
  position: fixed;
  z-index: 100;
  inset: 0;
}

.modal-layer {
  display: flex;
  padding: 24px;
  align-items: center;
  justify-content: center;
}

.modal-backdrop,
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 18, 36, 0.58);
  backdrop-filter: blur(5px);
}

.auth-card,
.upload-card,
.preflight-card,
.binding-card {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.auth-card {
  width: min(100%, 424px);
}

.preflight-card {
  width: min(100%, 510px);
}

.binding-card {
  width: min(100%, 408px);
}

.auth-brand {
  margin-bottom: 42px;
}

.modal-kicker {
  margin-bottom: 10px;
  color: var(--blue-600);
  font-size: 9px;
  letter-spacing: 0.17em;
}

.auth-card h2,
.upload-card h2,
.preflight-card h2,
.binding-card h2 {
  margin: 0;
  color: var(--ink-950);
  font-size: 25px;
  letter-spacing: -0.035em;
}

.modal-lead {
  margin: 11px 0 27px;
  color: var(--ink-500);
  font-size: 12px;
  line-height: 1.7;
}

.binding-qr-panel {
  display: flex;
  min-height: 270px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--ink-150);
  border-radius: 14px;
  background: var(--ink-50);
}

.binding-qr-panel img {
  display: block;
  width: min(100%, 248px);
  height: auto;
  padding: 12px;
  box-sizing: border-box;
  background: var(--white);
}

.binding-qr-loading {
  padding: 24px;
  color: var(--ink-500);
  text-align: center;
  font-size: 12px;
}

.binding-status {
  min-height: 20px;
  margin: 15px 0 0;
  color: var(--ink-500);
  text-align: center;
  font-size: 11px;
  line-height: 1.55;
}

.binding-status[data-tone="error"] {
  color: var(--red-700);
}

.binding-status[data-tone="ready"] {
  color: var(--green-700);
}

.mobile-identity-management {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--ink-150);
}

.mobile-identity-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.mobile-identity-heading .modal-kicker {
  margin-bottom: 5px;
}

.mobile-identity-heading h3 {
  margin: 0;
  color: var(--ink-900);
  font-size: 13px;
  font-weight: 700;
}

.text-button {
  min-height: 28px;
  padding: 0;
  border: 0;
  color: var(--blue-600);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 650;
}

.text-button:hover {
  color: var(--blue-700);
}

.mobile-identity-note {
  margin: 10px 0 13px;
  color: var(--ink-500);
  font-size: 10px;
  line-height: 1.65;
}

.mobile-identity-list {
  display: grid;
  gap: 8px;
}

.mobile-identity-empty {
  margin: 0;
  padding: 13px 0;
  color: var(--ink-500);
  font-size: 10px;
  line-height: 1.65;
}

.mobile-identity-empty.is-error {
  color: var(--red-700);
}

.mobile-identity-row {
  display: flex;
  min-width: 0;
  padding: 12px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--ink-150);
  border-radius: 8px;
  background: var(--white);
}

.mobile-identity-copy {
  min-width: 0;
}

.mobile-identity-title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
}

.mobile-identity-title strong {
  overflow: hidden;
  color: var(--ink-800);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-identity-status {
  flex: 0 0 auto;
  padding: 3px 6px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 650;
  line-height: 1;
}

.mobile-identity-status.is-active {
  color: var(--green-700);
  background: var(--green-100);
}

.mobile-identity-status.is-revoked {
  color: var(--ink-500);
  background: var(--ink-100);
}

.mobile-identity-meta {
  display: flex;
  margin-top: 7px;
  flex-wrap: wrap;
  gap: 4px 9px;
  color: var(--ink-500);
  font-size: 9px;
  line-height: 1.5;
}

.mobile-identity-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
}

.mobile-identity-actions .button {
  min-height: 30px;
  padding: 0 10px;
  font-size: 10px;
}

.button-danger {
  color: var(--white);
  background: var(--red-700);
}

.button-danger:hover {
  background: #9f1f28;
}

.button-danger-outline {
  color: var(--red-700);
}

.button-danger-outline:hover {
  border-color: rgba(181, 42, 53, 0.24);
  background: #fff5f5;
}

.mobile-identity-confirm {
  max-width: 208px;
  padding: 9px 10px;
  border: 1px solid rgba(181, 42, 53, 0.2);
  border-radius: 8px;
  background: #fff8f8;
}

.mobile-identity-confirm p {
  margin: 0 0 8px;
  color: var(--red-700);
  font-size: 9px;
  line-height: 1.55;
}

.mobile-identity-confirm > div {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
}

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

.phone-field {
  display: grid;
  height: 50px;
  grid-template-columns: 57px 1fr;
  align-items: center;
  border: 1px solid var(--ink-200);
  border-radius: 11px;
  background: var(--white);
}

.phone-field:focus-within,
.code-input:focus {
  border-color: #96aafb;
  box-shadow: 0 0 0 3px rgba(49, 91, 245, 0.1);
}

.phone-field span {
  border-right: 1px solid var(--ink-200);
  color: var(--ink-600);
  text-align: center;
  font-size: 12px;
}

.phone-field input {
  width: 100%;
  height: 100%;
  padding: 0 14px;
  border: 0;
  outline: 0;
  color: var(--ink-900);
  background: transparent;
  font-size: 15px;
}

.agreement-check {
  display: grid;
  margin: 16px 0 19px;
  grid-template-columns: 16px 1fr;
  align-items: start;
  gap: 9px;
  color: var(--ink-500);
  font-size: 10px;
  line-height: 1.6;
}

.agreement-check input {
  width: 15px;
  height: 15px;
  margin: 1px 0 0;
  accent-color: var(--blue-600);
}

.agreement-check a {
  color: var(--blue-600);
}

.form-error {
  margin: 0 0 14px;
  padding: 9px 11px;
  border-radius: 8px;
  color: var(--red-700);
  background: var(--red-100);
  font-size: 10px;
  line-height: 1.55;
}

.auth-security {
  margin: 23px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--ink-150);
  color: var(--ink-400);
  text-align: center;
  font-size: 9px;
}

.modal-back-button {
  margin: -4px 0 28px;
  padding: 0;
  border: 0;
  color: var(--ink-500);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
}

.debug-code {
  display: grid;
  margin: -9px 0 20px;
  padding: 14px 16px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 12px;
  border: 1px solid #f0d9ad;
  border-radius: 11px;
  color: #775a27;
  background: #fffaf0;
}

.debug-code span,
.debug-code small {
  font-size: 9px;
}

.debug-code strong {
  grid-row: 1 / 3;
  grid-column: 2;
  color: var(--ink-900);
  font-size: 22px;
  letter-spacing: 0.14em;
}

.code-input {
  width: 100%;
  height: 55px;
  padding: 0 17px;
  border: 1px solid var(--ink-200);
  border-radius: 11px;
  outline: 0;
  color: var(--ink-900);
  font-size: 24px;
  font-weight: 680;
  letter-spacing: 0.32em;
}

.resend-row {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-400);
  font-size: 10px;
}

.resend-row button {
  padding: 0;
  border: 0;
  color: var(--blue-600);
  background: transparent;
  cursor: pointer;
  font-size: 10px;
}

.resend-row button:disabled {
  color: var(--ink-400);
  cursor: not-allowed;
}

.modal-close,
.drawer-close {
  position: absolute;
  z-index: 2;
  top: 17px;
  right: 17px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 9px;
  color: var(--ink-500);
  background: var(--ink-100);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.portal-dropzone {
  display: flex;
  min-height: 210px;
  padding: 28px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed #b8c5e6;
  border-radius: 16px;
  background: var(--blue-50);
  cursor: pointer;
  text-align: center;
  transition: border-color 160ms ease, background 160ms ease;
}

.portal-dropzone:hover,
.portal-dropzone.is-dragging {
  border-color: var(--blue-500);
  background: #ebf0ff;
}

.upload-file-icon {
  display: flex;
  width: 50px;
  height: 61px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 9px;
  color: var(--white);
  background: linear-gradient(145deg, var(--blue-500), var(--blue-700));
  box-shadow: 0 12px 22px rgba(49, 91, 245, 0.2);
  font-size: 21px;
  font-weight: 740;
}

.portal-dropzone strong {
  font-size: 13px;
}

.portal-dropzone small {
  margin-top: 7px;
  color: var(--ink-500);
  font-size: 10px;
}

.upload-selected {
  display: grid;
  min-height: 76px;
  padding: 12px;
  grid-template-columns: 43px 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--ink-150);
  border-radius: 12px;
  background: var(--ink-50);
}

.upload-selected > span {
  display: flex;
  width: 42px;
  height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue-600);
  font-weight: 740;
}

.upload-selected div {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.upload-selected strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-selected small {
  color: var(--ink-500);
  font-size: 9px;
}

.upload-selected button {
  border: 0;
  color: var(--blue-600);
  background: transparent;
  cursor: pointer;
  font-size: 10px;
}

.upload-progress-panel {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--ink-150);
  border-radius: 12px;
}

.upload-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
}

.upload-progress-head span {
  color: var(--blue-600);
  font-weight: 700;
}

.upload-progress-track {
  height: 6px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--ink-100);
}

.upload-progress-track i {
  display: block;
  width: 2%;
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--blue-600), #748fff);
  transition: width 180ms ease;
}

.upload-progress-track i.progress-10 { width: 10%; }
.upload-progress-track i.progress-20 { width: 20%; }
.upload-progress-track i.progress-30 { width: 30%; }
.upload-progress-track i.progress-40 { width: 40%; }
.upload-progress-track i.progress-50 { width: 50%; }
.upload-progress-track i.progress-60 { width: 60%; }
.upload-progress-track i.progress-70 { width: 70%; }
.upload-progress-track i.progress-80 { width: 80%; }
.upload-progress-track i.progress-90 { width: 90%; }
.upload-progress-track i.progress-100 { width: 100%; }

.upload-stage-list {
  display: grid;
  gap: 7px;
  margin: 15px 0 0;
  padding: 0;
  color: var(--ink-400);
  font-size: 9px;
  list-style: none;
}

.upload-stage-list li::before {
  display: inline-flex;
  width: 14px;
  height: 14px;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  border: 1px solid var(--ink-300);
  border-radius: 50%;
  content: "";
  vertical-align: -3px;
}

.upload-stage-list li.is-current {
  color: var(--blue-700);
  font-weight: 650;
}

.upload-stage-list li.is-current::before {
  border: 4px solid var(--blue-100);
  background: var(--blue-600);
}

.upload-stage-list li.is-complete {
  color: var(--green-700);
}

.upload-stage-list li.is-complete::before {
  border-color: var(--green-600);
  color: var(--white);
  background: var(--green-600);
  content: "✓";
  font-size: 8px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--ink-150);
}

.drawer-layer {
  display: flex;
  justify-content: flex-end;
}

.drawer-backdrop {
  background: rgba(7, 18, 36, 0.42);
}

.deck-drawer {
  position: relative;
  z-index: 1;
  width: min(100%, 510px);
  height: 100%;
  overflow-y: auto;
  padding: 30px 32px 38px;
  background: var(--white);
  box-shadow: -20px 0 60px rgba(7, 18, 36, 0.16);
}

.drawer-cover-wrap {
  margin: 26px 0 23px;
}

.drawer-cover-wrap .deck-cover {
  width: 100%;
  border-radius: 14px;
}

.drawer-cover-wrap .generated-cover {
  padding: 32px;
}

.drawer-cover-wrap .generated-kicker {
  font-size: 8px;
}

.drawer-cover-wrap .generated-cover b {
  margin-top: 24px;
  font-size: 24px;
}

.drawer-cover-wrap .generated-cover i {
  height: 6px;
  margin-top: 20px;
}

.drawer-cover-wrap .generated-cover i + i {
  margin-top: 8px;
}

.drawer-cover-wrap .generated-cover small {
  right: 22px;
  bottom: 19px;
  font-size: 9px;
}

.drawer-title-row h2 {
  margin: 12px 0 0;
  overflow-wrap: anywhere;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.drawer-title-row p {
  margin: 8px 0 0;
  color: var(--ink-500);
  font-size: 10px;
}

.drawer-tabs {
  display: flex;
  gap: 27px;
  margin-top: 28px;
  border-bottom: 1px solid var(--ink-150);
}

.drawer-tabs button {
  position: relative;
  padding: 0 0 12px;
  border: 0;
  color: var(--ink-500);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}

.drawer-tabs button.is-active {
  color: var(--ink-900);
  font-weight: 680;
}

.drawer-tabs button.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-600);
  content: "";
}

.drawer-tab-content {
  padding-top: 23px;
}

.file-state-panel {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--ink-150);
  border-radius: 13px;
}

.file-state-item {
  display: grid;
  min-height: 67px;
  padding: 12px 14px;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid var(--ink-150);
}

.file-state-item:last-child {
  border-bottom: 0;
}

.state-symbol {
  display: flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 750;
}

.state-safe {
  color: var(--green-700);
  background: var(--green-100);
}

.state-work {
  color: var(--blue-700);
  background: var(--blue-100);
}

.state-version {
  color: var(--purple-700);
  background: var(--purple-100);
}

.file-state-item div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.file-state-item strong {
  font-size: 11px;
}

.file-state-item small {
  overflow: hidden;
  color: var(--ink-500);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drawer-info-note {
  margin-top: 16px;
  padding: 15px;
  border-radius: 11px;
}

.drawer-info-note strong {
  font-size: 11px;
}

.drawer-info-note p {
  margin: 6px 0 0;
  font-size: 9px;
  line-height: 1.65;
}

.note-success {
  color: #176549;
  background: var(--green-50);
}

.note-warning {
  color: #7d5b25;
  background: #fff8ec;
}

.drawer-meta-grid {
  display: grid;
  margin-top: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.drawer-meta-grid span {
  display: grid;
  gap: 5px;
}

.drawer-meta-grid small {
  color: var(--ink-400);
  font-size: 9px;
}

.drawer-meta-grid b {
  font-size: 11px;
  font-weight: 620;
}

.drawer-link-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 24px;
  padding-top: 19px;
  border-top: 1px solid var(--ink-150);
}

.drawer-link-actions a,
.drawer-link-actions button {
  padding: 0;
  border: 0;
  color: var(--blue-600);
  background: transparent;
  cursor: pointer;
  font-size: 10px;
}

.drawer-link-actions .danger-link {
  color: var(--red-700);
}

.drawer-actions {
  position: sticky;
  bottom: -38px;
  margin: 29px -32px -38px;
  padding: 17px 32px 24px;
  border-top: 1px solid var(--ink-150);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.version-timeline {
  position: relative;
  display: grid;
  gap: 0;
  padding-left: 25px;
}

.version-timeline::before {
  position: absolute;
  top: 8px;
  bottom: 20px;
  left: 7px;
  width: 1px;
  background: var(--ink-200);
  content: "";
}

.version-entry {
  position: relative;
  padding: 0 0 24px;
}

.timeline-dot {
  position: absolute;
  top: 5px;
  left: -23px;
  width: 11px;
  height: 11px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--ink-400);
  box-shadow: 0 0 0 1px var(--ink-300);
}

.version-original .timeline-dot {
  background: var(--green-600);
}

.version-workcopy .timeline-dot {
  background: var(--blue-600);
}

.version-entry-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.version-entry-head strong {
  font-size: 11px;
}

.version-entry-head b {
  padding: 4px 7px;
  border-radius: 6px;
  color: var(--ink-500);
  background: var(--ink-100);
  font-size: 8px;
  font-weight: 620;
}

.version-entry p {
  margin: 7px 0 0;
  color: var(--ink-500);
  font-size: 9px;
  line-height: 1.6;
}

.version-entry > button,
.version-actions a,
.version-actions button {
  margin-top: 8px;
  padding: 0;
  border: 0;
  color: var(--blue-600);
  background: transparent;
  cursor: pointer;
  font-size: 9px;
}

.version-actions {
  display: flex;
  gap: 16px;
}

.preflight-cover {
  margin: 0 0 18px;
}

.preflight-cover .deck-cover {
  width: 100%;
  border-radius: 13px;
}

.preflight-cover .generated-cover {
  padding: 26px;
}

.preflight-cover .generated-cover b {
  margin-top: 17px;
  font-size: 18px;
}

.preflight-checks {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--ink-150);
  border-radius: 12px;
}

.preflight-checks > div {
  display: grid;
  min-height: 53px;
  padding: 9px 13px;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--ink-150);
}

.preflight-checks > div:last-child {
  border-bottom: 0;
}

.preflight-checks > div > span {
  display: flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 800;
}

.preflight-checks .is-passed > span {
  color: var(--green-700);
  background: var(--green-100);
}

.preflight-checks .is-blocked > span {
  color: var(--orange-700);
  background: var(--orange-100);
}

.preflight-checks p {
  display: grid;
  gap: 3px;
  margin: 0;
}

.preflight-checks strong {
  font-size: 10px;
}

.preflight-checks small {
  color: var(--ink-500);
  font-size: 8px;
}

.preflight-result {
  margin-top: 15px;
  padding: 14px;
  border-radius: 11px;
}

.preflight-result strong {
  font-size: 11px;
}

.preflight-result p {
  margin: 5px 0 0;
  font-size: 9px;
  line-height: 1.6;
}

.result-ready {
  color: #176549;
  background: var(--green-50);
}

.result-blocked {
  color: #7d5b25;
  background: #fff8ec;
}

.toast-region {
  position: fixed;
  z-index: 200;
  top: 84px;
  left: 50%;
  display: grid;
  width: min(calc(100% - 32px), 430px);
  gap: 8px;
  pointer-events: none;
  transform: translateX(-50%);
}

.toast {
  padding: 12px 15px;
  border: 1px solid var(--ink-150);
  border-radius: 11px;
  color: var(--ink-700);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-md);
  opacity: 0;
  font-size: 11px;
  text-align: center;
  transform: translateY(-8px);
  transition: opacity 200ms ease, transform 200ms ease;
}

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

.toast-success {
  color: var(--green-700);
  border-color: #bcebd9;
}

.toast-error {
  color: var(--red-700);
  border-color: #f2c6cc;
}

/* Shared screen */

.show-page {
  display: flex;
  min-width: 320px;
  min-height: 100vh;
  flex-direction: column;
  overflow-x: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(49, 91, 245, 0.25), transparent 34%),
    radial-gradient(circle at 10% 90%, rgba(112, 78, 220, 0.14), transparent 38%),
    var(--ink-950);
}

.show-header,
.show-footer {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(calc(100% - 64px), 1400px);
  height: 76px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.show-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-on-dark {
  color: var(--white);
}

.brand-on-dark .brand-symbol {
  background: var(--white);
}

.brand-on-dark .brand-symbol i {
  background: var(--ink-950);
}

.brand-on-dark .brand-symbol i:nth-child(2) {
  background: var(--blue-600);
}

.show-ready {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a8b4c7;
  font-size: 11px;
}

.show-ready i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2bd398;
  box-shadow: 0 0 0 5px rgba(43, 211, 152, 0.1);
}

.show-main {
  display: grid;
  width: min(calc(100% - 64px), 1250px);
  flex: 1;
  margin: 0 auto;
  padding: 58px 0;
  grid-template-columns: minmax(360px, 0.85fr) minmax(540px, 1.15fr);
  align-items: center;
  gap: 95px;
}

.show-intro h1 {
  margin: 0;
  font-size: clamp(52px, 5.8vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.show-intro > p:not(.eyebrow) {
  max-width: 520px;
  margin: 28px 0 0;
  color: #9caabe;
  font-size: 15px;
  line-height: 1.85;
}

.show-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 22px;
  margin-top: 30px;
  color: #c7d0de;
  font-size: 11px;
}

.show-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.show-trust i {
  color: #45d5a1;
  font-style: normal;
}

.pairing-card {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
}

.development-badge {
  position: absolute;
  top: 19px;
  right: 21px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 196, 103, 0.3);
  border-radius: 7px;
  color: #ffd28f;
  background: rgba(255, 171, 59, 0.08);
  font-size: 9px;
  font-weight: 650;
}

.pairing-layout {
  display: grid;
  padding: 31px 5px 18px;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 30px;
}

.pairing-code-visual {
  position: relative;
  width: 190px;
  height: 190px;
  padding: 17px;
  border-radius: 19px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.24);
}

.code-grid {
  display: grid;
  height: 100%;
  padding: 3px;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 5px;
}

.code-grid i {
  border-radius: 3px;
  background: var(--ink-950);
}

.code-grid i:nth-child(2n) {
  transform: scale(0.53);
}

.code-grid i:nth-child(3n) {
  border-radius: 50%;
  transform: scale(0.7);
}

.code-grid i:nth-child(5n + 1) {
  box-shadow: inset 0 0 0 5px var(--white);
}

.code-brand {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: 39px;
  height: 39px;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--white);
  border-radius: 12px;
  color: var(--white);
  background: var(--blue-600);
  font-weight: 780;
  transform: translate(-50%, -50%);
}

.pairing-copy > small {
  color: #96a9c4;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.09em;
}

.pairing-copy h2 {
  margin: 10px 0 0;
  font-size: 23px;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.pairing-copy p {
  margin: 13px 0 0;
  color: #98a8bf;
  font-size: 11px;
  line-height: 1.7;
}

.pairing-fallback {
  display: grid;
  margin-top: 19px;
  padding: 12px;
  grid-template-columns: 1fr auto;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.14);
}

.pairing-fallback span {
  color: #8f9db2;
  font-size: 9px;
}

.pairing-fallback strong {
  color: #d9e0eb;
  font-size: 10px;
}

.pairing-divider {
  height: 1px;
  margin: 4px 0 19px;
  background: rgba(255, 255, 255, 0.1);
}

.show-actions {
  display: flex;
  gap: 9px;
}

.show-actions .button {
  flex: 1;
}

.show-gate-note {
  margin: 16px 8px 0;
  color: #7f8da3;
  font-size: 9px;
  line-height: 1.6;
  text-align: center;
}

.show-footer {
  height: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #77869c;
  font-size: 10px;
}

.show-footer a {
  color: #b9c3d2;
}

/* Legal */

.legal-page {
  min-height: 100vh;
  background: var(--ink-50);
}

.legal-header {
  display: flex;
  width: min(calc(100% - 48px), 920px);
  height: 76px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  border-bottom: 1px solid var(--ink-200);
}

.legal-header > a:last-child {
  color: var(--blue-600);
  font-size: 12px;
}

.legal-content {
  width: min(calc(100% - 48px), 800px);
  margin: 0 auto;
  padding: 75px 0 110px;
}

.legal-content h1 {
  margin: 0;
  font-size: 42px;
  letter-spacing: -0.045em;
}

.legal-notice {
  margin: 28px 0 42px;
  padding: 16px 18px;
  border: 1px solid #f0d9ad;
  border-radius: 11px;
  color: #735827;
  background: #fffaf0;
  font-size: 12px;
  line-height: 1.7;
}

.legal-content section {
  padding: 27px 0;
  border-top: 1px solid var(--ink-200);
}

.legal-content section h2 {
  margin: 0;
  font-size: 17px;
}

.legal-content section p {
  margin: 12px 0 0;
  color: var(--ink-600);
  font-size: 13px;
  line-height: 1.85;
}

/* Responsive */

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    padding: 15px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--ink-150);
    border-radius: 15px;
    background: var(--white);
    box-shadow: var(--shadow-md);
  }

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

  .site-nav a {
    padding: 13px;
    border-radius: 9px;
  }

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

  .mobile-menu-button {
    display: block;
  }

  .hero-section {
    min-height: 640px;
    grid-template-columns: minmax(0, 0.9fr) minmax(410px, 1.1fr);
    gap: 35px;
  }

  .phone-mockup {
    right: -5px;
    transform: scale(0.9);
    transform-origin: right bottom;
  }

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

  .security-panel {
    padding: 50px;
    gap: 45px;
  }

  .deck-list-header,
  .deck-row {
    grid-template-columns: minmax(260px, 1.4fr) minmax(140px, 0.7fr)
      minmax(140px, 0.7fr) 130px;
  }

  .deck-list-header span:nth-child(4),
  .deck-time-cell {
    display: none;
  }

  .show-main {
    gap: 45px;
  }
}

@media (max-width: 900px) {
  .hero-section {
    display: block;
    padding-top: 64px;
  }

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

  .hero-product {
    width: min(100%, 680px);
    min-height: 520px;
    margin: 55px auto 0;
  }

  .product-window {
    right: 50%;
    width: 580px;
    transform: translateX(50%);
  }

  .version-float {
    left: 0;
  }

  .trust-strip {
    align-items: flex-start;
    padding-top: 20px;
    padding-bottom: 20px;
    flex-direction: column;
  }

  .capability-wide {
    grid-template-columns: 1fr;
  }

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

  .security-panel {
    grid-template-columns: 1fr;
  }

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

  .scene-grid article:nth-child(2) {
    border-right: 0;
  }

  .scene-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--ink-200);
  }

  .boundary-section,
  .faq-section {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .workspace-header {
    grid-template-columns: 1fr auto;
  }

  .workspace-name {
    display: none;
  }

  .workspace-layout {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .workspace-sidebar {
    padding: 19px 10px;
  }

  .sidebar-item {
    justify-content: center;
    padding: 0;
    font-size: 0;
  }

  .sidebar-help {
    display: none;
  }

  .deck-list-header,
  .deck-row {
    grid-template-columns: minmax(240px, 1fr) minmax(138px, 0.5fr) 135px;
  }

  .deck-list-header span:nth-child(3),
  .deck-version-cell {
    display: none;
  }

  .show-main {
    grid-template-columns: 1fr;
    padding: 70px 0;
  }

  .show-intro {
    max-width: 650px;
  }

  .pairing-card {
    width: min(100%, 680px);
  }
}

@media (max-width: 680px) {
  .desktop-action,
  .screen-link {
    display: none;
  }

  .site-header {
    width: calc(100% - 32px);
    height: 66px;
  }

  .hero-section,
  .content-section {
    width: calc(100% - 32px);
  }

  .hero-section {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .hero-copy h1 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .hero-lead {
    font-size: 15px;
    line-height: 1.75;
  }

  .hero-actions {
    display: grid;
  }

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

  .hero-product {
    min-height: 410px;
    margin-top: 42px;
  }

  .product-window {
    top: 0;
    width: 100%;
  }

  .window-chrome {
    grid-template-columns: 55px 1fr 60px;
    padding: 0 10px;
  }

  .window-secure {
    font-size: 0;
  }

  .window-secure::after {
    font-size: 8px;
    content: "已连接";
  }

  .presentation-canvas {
    height: 225px;
    padding: 36px 28px;
  }

  .slide-title {
    margin-top: 18px;
    font-size: 25px;
  }

  .slide-chart {
    right: 25px;
    bottom: 38px;
    height: 65px;
  }

  .slide-chart i {
    width: 11px;
  }

  .slide-chart .bar-1 { height: 25px; }
  .slide-chart .bar-2 { height: 38px; }
  .slide-chart .bar-3 { height: 51px; }
  .slide-chart .bar-4 { height: 65px; }

  .phone-mockup {
    right: -4px;
    bottom: -9px;
    transform: scale(0.67);
  }

  .version-float {
    bottom: 30px;
    left: 4px;
    min-width: 178px;
    transform: scale(0.86);
    transform-origin: left bottom;
  }

  .trust-strip {
    padding-right: 16px;
    padding-left: 16px;
  }

  .trust-strip div {
    display: grid;
    gap: 11px;
  }

  .content-section {
    padding: 78px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading h2,
  .security-copy h2,
  .boundary-section h2,
  .final-cta h2 {
    font-size: 34px;
  }

  .split-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

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

  .workflow-card {
    min-height: 330px;
  }

  .capabilities-section {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .capability-card {
    min-height: 0;
    padding: 28px 23px;
  }

  .capability-wide {
    gap: 32px;
  }

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

  .control-illustration {
    height: 230px;
  }

  .control-slide {
    top: 30px;
    left: 22px;
    width: calc(100% - 44px);
    height: 135px;
  }

  .security-panel {
    padding: 28px 20px;
    gap: 35px;
    border-radius: 23px;
  }

  .security-points {
    grid-template-columns: 1fr;
  }

  .security-diagram {
    padding: 13px;
  }

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

  .scene-grid article {
    min-height: 180px;
    border-right: 0;
    border-bottom: 1px solid var(--ink-200);
  }

  .scene-grid article:last-child {
    border-bottom: 0;
  }

  .scene-grid h3 {
    margin-top: 34px;
  }

  .boundary-section {
    gap: 30px;
  }

  .faq-section {
    gap: 10px;
  }

  .final-cta {
    width: calc(100% - 32px);
    margin-bottom: 32px;
    padding: 42px 26px;
    align-items: flex-start;
    flex-direction: column;
  }

  .final-cta .button {
    width: 100%;
  }

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

  .site-footer nav {
    justify-content: flex-start;
  }

  .workspace-header {
    height: 62px;
    padding: 0 14px;
  }

  .workspace-header .brand-lockup > span:last-child {
    display: none;
  }

  .account-button {
    max-width: 165px;
  }

  .workspace-layout {
    display: block;
  }

  .workspace-sidebar {
    position: fixed;
    z-index: 28;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 64px;
    padding: 7px 10px;
    border-top: 1px solid var(--ink-150);
    border-right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
  }

  .workspace-sidebar nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }

  .sidebar-item {
    display: flex;
    min-height: 50px;
    flex-direction: column;
    gap: 3px;
    border-radius: 9px;
    font-size: 9px;
  }

  .sidebar-icon {
    width: 16px;
    height: 16px;
  }

  .workspace-main {
    padding: 17px 14px 95px;
  }

  .local-notice {
    margin-bottom: 24px;
  }

  .workspace-titlebar {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .workspace-titlebar h1 {
    font-size: 26px;
  }

  .upload-trigger {
    width: 100%;
  }

  .workspace-toolbar {
    min-height: 65px;
  }

  .search-box {
    width: 70%;
  }

  .deck-list-card {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .deck-list-header {
    display: none;
  }

  .deck-list {
    display: grid;
    gap: 10px;
  }

  .deck-row {
    display: grid;
    min-height: 0;
    padding: 13px;
    grid-template-columns: 1fr auto;
    gap: 12px;
    border: 1px solid var(--ink-150);
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow-xs);
  }

  .deck-identity {
    grid-column: 1 / -1;
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .deck-cover {
    width: 112px;
  }

  .deck-status-cell {
    display: grid;
  }

  .deck-version-cell,
  .deck-time-cell {
    display: none;
  }

  .deck-action-cell {
    justify-content: flex-end;
  }

  .deck-action-cell .button {
    min-height: 32px;
  }

  .list-skeleton {
    min-height: 115px;
    grid-template-columns: 120px 1fr;
    gap: 20px;
    border: 1px solid var(--ink-150);
    border-radius: 14px;
    background: var(--white);
  }

  .list-skeleton i:last-child {
    display: none;
  }

  .modal-layer {
    padding: 0;
    align-items: flex-end;
  }

  .auth-card,
  .upload-card,
  .preflight-card,
  .binding-card {
    width: 100%;
    max-height: 94vh;
    padding: 29px 22px calc(25px + env(safe-area-inset-bottom));
    border-radius: 23px 23px 0 0;
  }

  .auth-brand {
    margin-bottom: 31px;
  }

  .mobile-identity-row {
    flex-direction: column;
  }

  .mobile-identity-actions,
  .mobile-identity-actions > .button,
  .mobile-identity-confirm {
    width: 100%;
  }

  .mobile-identity-actions > .button {
    justify-content: center;
  }

  .mobile-identity-confirm {
    max-width: none;
    box-sizing: border-box;
  }

  .deck-drawer {
    width: 100%;
    padding: 23px 19px 35px;
  }

  .drawer-actions {
    bottom: -35px;
    margin-right: -19px;
    margin-bottom: -35px;
    margin-left: -19px;
    padding-right: 19px;
    padding-bottom: calc(19px + env(safe-area-inset-bottom));
    padding-left: 19px;
  }

  .show-header,
  .show-footer,
  .show-main {
    width: calc(100% - 32px);
  }

  .show-header {
    height: 66px;
  }

  .show-main {
    padding: 48px 0;
    gap: 45px;
  }

  .show-intro h1 {
    font-size: 48px;
  }

  .pairing-card {
    padding: 20px;
    border-radius: 22px;
  }

  .pairing-layout {
    padding-top: 45px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pairing-code-visual {
    justify-self: center;
  }

  .pairing-copy {
    max-width: 370px;
    justify-self: center;
  }

  .show-actions {
    flex-direction: column;
  }

  .show-footer span:first-child {
    display: none;
  }

  .legal-header,
  .legal-content {
    width: calc(100% - 32px);
  }

  .legal-content {
    padding-top: 55px;
  }

  .legal-content h1 {
    font-size: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
