@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&family=Space+Grotesk:wght@400;500;700&display=swap");

:root {
  --bg: #040c17;
  --bg-mid: #09172a;
  --bg-deep: #020812;
  --panel: rgba(7, 17, 31, 0.86);
  --panel-soft: rgba(9, 20, 36, 0.78);
  --panel-strong: rgba(9, 22, 40, 0.94);
  --panel-edge: rgba(194, 233, 255, 0.1);
  --line: rgba(143, 212, 255, 0.18);
  --line-strong: rgba(143, 212, 255, 0.44);
  --text: #f4fbff;
  --muted: #98aec7;
  --muted-strong: #deedff;
  --accent: #63c6ff;
  --accent-strong: #d2f6ff;
  --accent-hot: #ffca58;
  --success: #88f0c4;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  --shadow-soft: 0 20px 54px rgba(0, 0, 0, 0.34);
  --shadow-lift: 0 24px 72px rgba(5, 14, 28, 0.46);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --angle: polygon(0 0, calc(100% - 32px) 0, 100% 28px, 100% 100%, 32px 100%, 0 calc(100% - 28px));
  --grid-size: 88px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  color: var(--text);
  font-family: "IBM Plex Sans", "Segoe UI Variable", "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 14% 12%, rgba(99, 198, 255, 0.22), transparent 24%),
    radial-gradient(circle at 84% 10%, rgba(255, 202, 88, 0.1), transparent 20%),
    radial-gradient(circle at 50% 24%, rgba(120, 214, 255, 0.08), transparent 34%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-mid) 44%, var(--bg-deep) 100%);
  background-attachment: fixed;
}

body,
button,
input,
textarea {
  font-feature-settings: "liga" 1, "kern" 1;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 88%);
  opacity: 0.22;
}

body::after {
  background:
    radial-gradient(circle at 48% 16%, rgba(210, 246, 255, 0.08), transparent 28%),
    radial-gradient(circle at 70% 30%, rgba(99, 198, 255, 0.12), transparent 34%),
    url("../../images/bg.jpg") center top / cover no-repeat;
  mix-blend-mode: screen;
  opacity: 0.12;
  animation: techDrift 20s ease-in-out infinite alternate;
}

.portfolio-main::before,
.portfolio-main::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

.portfolio-main::before {
  inset: 4% auto auto -8%;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 198, 255, 0.24), transparent 72%);
  filter: blur(24px);
  opacity: 0.82;
}

.portfolio-main::after {
  right: -8%;
  bottom: 8%;
  width: 30rem;
  height: 22rem;
  background: radial-gradient(circle, rgba(255, 202, 88, 0.12), transparent 68%);
  filter: blur(18px);
  opacity: 0.84;
}

::selection {
  background: rgba(99, 198, 255, 0.3);
  color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-name,
.hero-title,
.section-heading,
.booking-page-title,
.publication-title,
.btn,
.command-link,
.nav-link {
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
}

.eyebrow,
.detail-label,
.pill,
.preview-title,
.hero-kicker,
.signal-chip,
.demo-chip,
.channel-link,
.language-chip,
.brand-tag,
.nav-link,
.btn,
.command-link,
.inline-path {
  font-family: "JetBrains Mono", "IBM Plex Sans", monospace;
}

@keyframes techDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(0, -1.25rem, 0) scale(1.02);
  }
}

@keyframes panelGlow {
  0%,
  100% {
    opacity: 0.35;
  }

  50% {
    opacity: 0.72;
  }
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.page-main {
  position: relative;
  z-index: 1;
  padding: 1.6rem 0 4rem;
  overflow: clip;
}

.page-main::before,
.page-main::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.page-main::before {
  inset: 0 auto auto 6%;
  width: min(52rem, 78vw);
  height: 1px;
  background: linear-gradient(90deg, rgba(99, 198, 255, 0), rgba(99, 198, 255, 0.6), rgba(99, 198, 255, 0));
  opacity: 0.4;
  transform: rotate(-8deg);
}

.page-main::after {
  inset: 8rem 4% auto auto;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 246, 255, 0.08), transparent 68%);
  filter: blur(18px);
}

.page-stack {
  display: grid;
  gap: 1.5rem;
}

.eyebrow,
.card-label,
.pill,
.detail-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow,
.detail-label {
  color: var(--accent-strong);
}

.pill {
  color: #061120;
  background: linear-gradient(135deg, var(--accent-hot), #ffe399);
  padding: 0.38rem 0.68rem;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%, 8px 50%);
  box-shadow: 0 12px 28px rgba(255, 202, 88, 0.24);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px) saturate(120%);
  background:
    linear-gradient(180deg, rgba(6, 15, 28, 0.9), rgba(4, 12, 23, 0.72)),
    rgba(3, 9, 22, 0.74);
  border-bottom: 1px solid rgba(126, 198, 255, 0.14);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(99, 198, 255, 0), rgba(99, 198, 255, 0.58), rgba(255, 202, 88, 0.22), rgba(99, 198, 255, 0));
}

.header-inner {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
}

.header-start {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: max-content;
  flex-shrink: 0;
  flex-wrap: nowrap;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem;
  border: 1px solid rgba(126, 198, 255, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%, 8px 50%);
}

.language-chip {
  min-height: 2rem;
  padding: 0.38rem 0.72rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.language-chip.is-active {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #04101d;
  box-shadow: 0 12px 24px rgba(99, 198, 255, 0.2);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 8px 50%);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  flex-shrink: 0;
}

.brand-mark {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  clip-path: var(--angle);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(210, 246, 255, 0.28), rgba(99, 198, 255, 0.16)),
    rgba(255, 255, 255, 0.04);
  color: var(--accent-strong);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 32px rgba(0, 0, 0, 0.26);
}

.brand-copy {
  display: grid;
  gap: 0.04rem;
  min-width: max-content;
  padding-right: 0.35rem;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 3rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  clip-path: var(--angle);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
  width: auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding-top: 0;
  border-top: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.nav-link {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  min-height: 2.9rem;
  padding: 0.68rem 0.88rem;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%, 10px 50%);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.nav-link::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: linear-gradient(120deg, transparent 24%, rgba(255, 255, 255, 0.18) 48%, transparent 74%);
  transform: translateX(-140%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.38rem;
  height: 1px;
  opacity: 0;
  transform: scaleX(0.45);
  transform-origin: center;
  background: linear-gradient(90deg, rgba(99, 198, 255, 0), rgba(99, 198, 255, 0.82), rgba(255, 202, 88, 0.55), rgba(99, 198, 255, 0));
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.nav-link,
.site-nav .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: linear-gradient(135deg, rgba(99, 198, 255, 0.18), rgba(255, 255, 255, 0.03));
  color: var(--text);
  box-shadow: 0 14px 32px rgba(4, 16, 29, 0.22);
}

.nav-link:hover::before,
.nav-link.is-active::before {
  transform: translateX(140%);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.button-row,
.contact-actions,
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.82rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.82rem;
  margin: 1.1rem 0 0;
}

[data-resume-button],
[data-linkedin-button] {
  display: contents;
}

.compact-row {
  margin-top: 1rem;
}

.btn,
.command-link {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.95rem;
  padding: 0.82rem 1.2rem;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%, 10px 50%);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.btn::before,
.command-link::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.18) 48%, transparent 78%);
  transform: translateX(-140%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.btn:hover,
.command-link:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}

.btn:hover::before,
.command-link:hover::before {
  transform: translateX(140%);
}

.btn-primary,
.command-link.is-primary {
  color: #04101d;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  border-color: rgba(198, 239, 255, 0.5);
  box-shadow:
    0 16px 34px rgba(99, 198, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-ghost {
  background: transparent;
}

.btn.is-disabled {
  pointer-events: none;
  opacity: 0.56;
}

.hero-shell,
.section-shell,
.surface-card,
.redirect-card,
.footer-panel,
.contact-panel,
.calendar-panel,
.resume-panel,
.thinking-card,
.topic-item,
.demo-card,
.founder-panel,
.signal-board,
.thinking-stage,
.profile-stage,
.app-preview,
.comparison-surface,
.legal-wrap {
  position: relative;
  overflow: hidden;
  clip-path: var(--angle);
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px) saturate(118%);
  box-shadow: var(--shadow);
}

.hero-shell::before,
.section-shell::before,
.surface-card::before,
.redirect-card::before,
.footer-panel::before,
.contact-panel::before,
.calendar-panel::before,
.resume-panel::before,
.thinking-card::before,
.thinking-stage::before,
.profile-stage::before,
.topic-item::before,
.demo-card::before,
.founder-panel::before,
.signal-board::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 34%);
}

.hero-shell::after,
.section-shell::after,
.surface-card::after,
.redirect-card::after,
.footer-panel::after,
.contact-panel::after,
.calendar-panel::after,
.resume-panel::after,
.thinking-card::after,
.thinking-stage::after,
.profile-stage::after,
.topic-item::after,
.demo-card::after,
.founder-panel::after,
.signal-board::after {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border: 1px solid rgba(210, 246, 255, 0.05);
  clip-path: inherit;
}

.hero-shell,
.section-shell,
.redirect-card,
.legal-wrap {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  gap: 1.35rem;
  background:
    radial-gradient(circle at 12% 10%, rgba(99, 198, 255, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(126, 198, 255, 0.12), transparent 25%),
    linear-gradient(125deg, rgba(255, 202, 88, 0.08), transparent 34%),
    var(--panel);
}

.hero-portfolio {
  isolation: isolate;
}

.hero-portfolio::after {
  content: "";
  position: absolute;
  inset: auto -8% 10% 42%;
  height: 1px;
  background: linear-gradient(90deg, rgba(126, 198, 255, 0), rgba(126, 198, 255, 0.65), rgba(255, 202, 88, 0));
  transform: rotate(-7deg);
  pointer-events: none;
  animation: panelGlow 6s ease-in-out infinite;
}

.hero-content,
.hero-side {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero-title {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2.1rem, 5.6vw, 4.35rem);
  line-height: 0.96;
  letter-spacing: -0.075em;
  text-transform: uppercase;
  text-wrap: balance;
  background: linear-gradient(180deg, #ffffff 0%, #dff3ff 52%, #9bd9ff 100%);
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 0 18px rgba(99, 198, 255, 0.12);
}

.publication-title {
  max-width: 15ch;
  font-size: clamp(1.95rem, 4.5vw, 3.4rem);
  line-height: 1.01;
  letter-spacing: -0.045em;
  text-transform: none;
}

.hero-subtitle {
  margin: 1rem 0 0.8rem;
  max-width: 38rem;
  color: var(--muted-strong);
  font-size: clamp(0.96rem, 1.7vw, 1.14rem);
  font-weight: 700;
  text-wrap: balance;
}

.hero-description,
.section-intro,
.surface-copy,
.project-copy,
.legal-wrap p,
.legal-wrap li,
.footer-small,
.contact-item span,
.contact-item a,
.signal-item p,
.demo-list p,
.demo-impact,
.thinking-card p,
.topic-item p {
  color: var(--muted);
}

.hero-side,
.signal-list,
.demo-grid,
.angle-grid,
.xulan-layout,
.resume-grid,
.support-topics,
.contact-grid,
.contact-list,
.demo-list,
.tutorial-stack,
.footer-grid,
.feature-list {
  display: grid;
  gap: 1rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.2rem 0 1.35rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.metric-card {
  position: relative;
  padding: 0.95rem 1rem;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 10px 50%);
  border: 1px solid rgba(126, 198, 255, 0.18);
  background: linear-gradient(135deg, rgba(126, 198, 255, 0.12), rgba(255, 255, 255, 0.03));
}

.metric-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent-strong);
  font-size: 1rem;
  letter-spacing: 0.12em;
}

.metric-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

.signal-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.56rem 0.86rem;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%, 10px 50%);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.signal-chip::before {
  content: "";
  width: 0.46rem;
  height: 0.46rem;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(126, 198, 255, 0.12);
}

.signal-chip.is-soft::before {
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(136, 240, 196, 0.12);
}

.hero-command-panel,
.signal-board,
.resume-panel,
.thinking-card,
.thinking-stage,
.profile-stage,
.topic-item,
.contact-panel,
.calendar-panel,
.redirect-card,
.surface-card,
.app-preview,
.comparison-surface,
.legal-wrap {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent 30%),
    var(--panel-soft);
}

.resume-panel,
.thinking-card,
.topic-item,
.contact-panel,
.calendar-panel,
.demo-card,
.founder-panel,
.signal-board,
.stage-primary,
.stage-mini,
.section-callout,
.channel-link,
.booking-side,
.readout-item,
.expand-card {
  transition:
    transform 0.26s ease,
    border-color 0.26s ease,
    background 0.26s ease,
    box-shadow 0.26s ease;
}

.resume-panel:hover,
.thinking-card:hover,
.topic-item:hover,
.contact-panel:hover,
.calendar-panel:hover,
.demo-card:hover,
.founder-panel:hover,
.signal-board:hover,
.stage-primary:hover,
.stage-mini:hover,
.section-callout:hover,
.channel-link:hover,
.booking-side:hover,
.readout-item:hover,
.expand-card:hover {
  transform: translateY(-4px);
  border-color: rgba(143, 212, 255, 0.3);
  box-shadow: var(--shadow-lift);
}

.hero-command-panel {
  position: relative;
  padding: 1.05rem;
  clip-path: var(--angle);
  border: 1px solid rgba(126, 198, 255, 0.32);
  box-shadow: var(--shadow-soft);
}

.command-header,
.panel-toolbar,
.preview-toolbar,
.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.command-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 0.9rem;
}

.hero-scroll-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-stage {
  display: grid;
  gap: 1rem;
}

.stage-primary,
.stage-mini {
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  border: 1px solid rgba(126, 198, 255, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.stage-primary::before,
.stage-mini::before,
.demo-frame::before,
.xulan-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(210, 246, 255, 0.08), transparent 28%);
  z-index: 1;
}

.stage-primary img,
.stage-mini img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  filter: saturate(1.08) contrast(1.04);
}

.stage-primary:hover img,
.stage-mini:hover img,
.demo-card:hover .demo-frame img,
.founder-panel:hover img {
  transform: scale(1.035);
}

.stage-primary img {
  aspect-ratio: 16 / 10;
}

.stage-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(210, 246, 255, 0.08);
  background: linear-gradient(180deg, rgba(4, 16, 29, 0.28), rgba(4, 16, 29, 0.88));
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.26);
  z-index: 2;
}

.stage-caption strong {
  display: block;
  margin: 0.28rem 0;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stage-caption p,
.stage-mini-copy p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.82rem;
  line-height: 1.45;
}

.stage-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 0.82fr) minmax(0, 1fr);
  gap: 0.9rem;
  align-items: stretch;
}

.stage-mini img {
  aspect-ratio: 4 / 4.2;
}

.stage-mini-copy {
  padding: 0.72rem 0.76rem 0.84rem;
  border-top: 1px solid rgba(210, 246, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
}

.founder-panel-hero img {
  aspect-ratio: 4 / 4;
}

.founder-panel-hero figcaption {
  padding: 0.72rem 0.78rem 0.86rem;
}

.founder-panel-hero strong {
  font-size: 0.92rem;
}

.founder-panel-hero .surface-copy {
  font-size: 0.78rem;
  line-height: 1.35;
}

.command-link {
  justify-content: flex-start;
  gap: 0.7rem;
}

.command-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2rem;
  font-size: 0.8rem;
  border: 1px solid currentColor;
  background: rgba(255, 255, 255, 0.08);
}

.founder-panel {
  background: var(--panel-strong);
}

.founder-panel img {
  width: 100%;
  aspect-ratio: 4 / 4.5;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.founder-panel figcaption {
  padding: 1rem 1.1rem 1.15rem;
  display: grid;
  gap: 0.25rem;
  border-top: 1px solid rgba(210, 246, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent);
}

.founder-panel strong {
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.signal-board,
.resume-panel,
.thinking-card,
.topic-item,
.contact-panel,
.calendar-panel,
.surface-card,
.app-preview,
.comparison-surface {
  padding: 1rem 1.08rem;
}

.signal-item,
.contact-item {
  display: grid;
  gap: 0.3rem;
}

.section-header {
  position: relative;
  z-index: 1;
  max-width: 50rem;
  margin-bottom: 1.05rem;
}

.section-header-with-badge {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 1rem;
  max-width: none;
}

.section-header-copy {
  max-width: 50rem;
}

.service-badge {
  display: inline-grid;
  justify-items: center;
  gap: 0.5rem;
  min-width: 8.5rem;
  padding: 0.9rem 1rem 0.8rem;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  border: 1px solid rgba(143, 212, 255, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 40px rgba(4, 16, 29, 0.18);
}

.service-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.service-badge-icon svg {
  width: 2rem;
  height: 2rem;
  stroke: #ef476f;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.service-badge-icon svg circle {
  fill: none;
}

.service-badge-wordmark {
  color: var(--muted-strong);
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.section-callout {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.15rem;
  padding: 0.85rem 1rem;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 12px 50%);
  border: 1px solid rgba(126, 198, 255, 0.2);
  background: linear-gradient(135deg, rgba(99, 198, 255, 0.14), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.section-callout p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.section-heading,
.redirect-card h1,
.legal-wrap h1 {
  margin: 0.28rem 0 0.58rem;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 1.06;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  text-wrap: balance;
}

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

.demo-card {
  display: grid;
  gap: 0.95rem;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(126, 198, 255, 0.08), transparent 32%),
    var(--panel-soft);
}

.demo-card.is-featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  padding: 1.15rem;
  background:
    linear-gradient(135deg, rgba(126, 198, 255, 0.12), transparent 35%),
    linear-gradient(180deg, rgba(255, 202, 88, 0.08), transparent 60%),
    var(--panel-soft);
}

.demo-frame {
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.demo-frame.is-generated {
  display: grid;
  min-height: 100%;
}

.demo-frame.is-generated::after {
  display: none;
}

.demo-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(4, 16, 29, 0), rgba(4, 16, 29, 0.82));
  pointer-events: none;
}

.demo-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.demo-copy {
  display: grid;
  gap: 0.85rem;
}

.demo-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.demo-proof-card {
  padding: 0.82rem 0.88rem;
  border: 1px solid rgba(126, 198, 255, 0.14);
  background: linear-gradient(135deg, rgba(126, 198, 255, 0.1), rgba(255, 255, 255, 0.03));
}

.demo-proof-card strong {
  display: block;
  margin-top: 0.32rem;
  color: var(--muted-strong);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.demo-actions {
  justify-content: flex-start;
}

.demo-visual-meta {
  position: absolute;
  inset: 1rem 1rem auto 1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  z-index: 1;
}

.demo-visual-label,
.demo-visual-status {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.45rem 0.72rem;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%, 10px 50%);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.demo-visual-label {
  color: #04101d;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
}

.demo-visual-status {
  color: var(--text);
  background: rgba(4, 16, 29, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.demo-heading h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.demo-summary {
  margin: 0.35rem 0 0;
  color: var(--muted-strong);
}

.project-status {
  color: var(--accent-hot);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.demo-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.demo-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.46rem 0.72rem;
  border: 1px solid rgba(126, 198, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 8px 50%);
}

.demo-detail {
  padding: 0.88rem 0.95rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.demo-detail.is-output {
  background: linear-gradient(135deg, rgba(126, 198, 255, 0.12), rgba(255, 255, 255, 0.03));
  border-color: rgba(126, 198, 255, 0.16);
}

.digest-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(220px, 0.78fr);
  gap: 0.82rem;
  align-content: start;
  min-height: 100%;
  padding: 1rem;
  background:
    radial-gradient(circle at 18% 18%, rgba(126, 198, 255, 0.2), transparent 30%),
    radial-gradient(circle at 84% 12%, rgba(255, 202, 88, 0.14), transparent 22%),
    linear-gradient(160deg, rgba(7, 16, 31, 0.98), rgba(13, 35, 58, 0.96));
}

.digest-primary,
.digest-email-card {
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 16px 32px rgba(3, 10, 20, 0.28);
}

.digest-primary img,
.digest-email-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center top;
}

.digest-secondary {
  display: grid;
  gap: 0.75rem;
  align-content: stretch;
}

.digest-primary {
  min-height: 15.5rem;
}

.digest-email-card {
  min-height: 7.35rem;
}

.digest-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.77rem;
  line-height: 1.48;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.promptly-visual {
  position: relative;
  min-height: 100%;
  padding: 1rem;
  background:
    radial-gradient(circle at 16% 8%, rgba(126, 198, 255, 0.24), transparent 26%),
    linear-gradient(160deg, rgba(12, 33, 55, 0.98), rgba(15, 26, 44, 0.96));
}

.promptly-surface {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.8rem;
  padding: 0.95rem;
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.98), rgba(235, 243, 253, 0.96));
  color: #24456b;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  box-shadow: 0 18px 38px rgba(4, 16, 29, 0.26);
}

.promptly-header {
  display: grid;
  gap: 0.78rem;
}

.promptly-brand {
  display: inline-block;
  color: #163d68;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.promptly-header p,
.promptly-block p,
.promptly-skill-card p,
.promptly-plan {
  margin: 0.32rem 0 0;
  color: #4b6890;
  font-size: 0.8rem;
  line-height: 1.5;
}

.promptly-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.promptly-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.52rem 0.82rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(31, 88, 151, 0.22);
  background: rgba(255, 255, 255, 0.92);
  color: #29568d;
  font-size: 0.76rem;
  font-weight: 700;
}

.promptly-btn.is-primary {
  background: linear-gradient(135deg, #2c91ff, #1e77db);
  color: #ffffff;
  border-color: transparent;
}

.promptly-block,
.promptly-skill-card,
.promptly-footer {
  padding: 0.78rem 0.82rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(31, 88, 151, 0.12);
  background: rgba(255, 255, 255, 0.88);
}

.promptly-label {
  color: #6a86a8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.promptly-skill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.62rem;
}

.promptly-skill-card strong {
  display: block;
  color: #17395d;
  font-size: 0.84rem;
  letter-spacing: -0.02em;
}

.promptly-footer {
  background: linear-gradient(180deg, rgba(255, 246, 236, 0.95), rgba(255, 240, 221, 0.92));
  border-color: rgba(212, 156, 93, 0.28);
}

.phosphene-visual {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 100%;
  padding: 1rem;
  background:
    radial-gradient(circle at 22% 18%, rgba(163, 96, 255, 0.5), transparent 26%),
    radial-gradient(circle at 80% 24%, rgba(88, 195, 255, 0.3), transparent 22%),
    linear-gradient(160deg, rgba(29, 11, 48, 0.96), rgba(7, 16, 31, 0.94));
}

.phosphene-visual::before {
  content: "";
  position: absolute;
  inset: 18% 8% auto;
  height: 42%;
  border-radius: 999px;
  filter: blur(34px);
  background: linear-gradient(90deg, rgba(163, 96, 255, 0.34), rgba(80, 188, 255, 0.22));
  opacity: 0.9;
}

.phosphene-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  align-content: end;
  min-height: 15rem;
}

.phosphene-device {
  position: relative;
  display: grid;
  gap: 0.32rem;
  align-content: end;
  min-height: 8.2rem;
  padding: 0.88rem 0.82rem;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.phosphene-device::before {
  content: "";
  position: absolute;
  inset: auto auto 54% -8%;
  width: 5.6rem;
  height: 5.6rem;
  border-radius: 999px;
  filter: blur(16px);
  opacity: 0.9;
}

.phosphene-device.device-1::before {
  background: rgba(255, 116, 198, 0.55);
}

.phosphene-device.device-2::before {
  background: rgba(126, 198, 255, 0.55);
}

.phosphene-device.device-3::before {
  background: rgba(255, 202, 88, 0.5);
}

.phosphene-device strong {
  position: relative;
  z-index: 1;
  color: var(--text);
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.phosphene-device p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.74rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.phosphene-note {
  position: relative;
  z-index: 1;
  margin: 0.95rem 0 0;
  color: var(--muted-strong);
  font-size: 0.78rem;
  line-height: 1.45;
  text-transform: uppercase;
}

.stagepulse-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(220px, 0.88fr);
  gap: 0.82rem;
  align-content: start;
  min-height: 100%;
  padding: 1rem;
  background:
    radial-gradient(circle at 14% 12%, rgba(67, 223, 255, 0.22), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(255, 202, 88, 0.18), transparent 20%),
    linear-gradient(160deg, rgba(5, 19, 35, 0.98), rgba(10, 32, 56, 0.96));
}

.stagepulse-shell,
.stagepulse-stat {
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 16px 32px rgba(3, 10, 20, 0.28);
}

.stagepulse-shell {
  display: grid;
  gap: 0.72rem;
  padding: 0.92rem;
}

.stagepulse-toolbar,
.stagepulse-pill-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.stagepulse-toolbar {
  justify-content: space-between;
}

.stagepulse-brand,
.stagepulse-live,
.stagepulse-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.42rem 0.68rem;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 8px 50%);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stagepulse-brand {
  color: #05111f;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
}

.stagepulse-live {
  color: #052417;
  background: linear-gradient(135deg, #95ffd4, #64f0bb);
}

.stagepulse-pill {
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stagepulse-pill.is-active {
  color: #05111f;
  background: linear-gradient(135deg, rgba(255, 202, 88, 0.96), #ffe399);
  border-color: transparent;
}

.stagepulse-map {
  position: relative;
  min-height: 15.8rem;
  border: 1px solid rgba(126, 198, 255, 0.14);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 32% 52%, rgba(126, 198, 255, 0.12), transparent 26%),
    radial-gradient(circle at 68% 38%, rgba(255, 202, 88, 0.11), transparent 24%),
    linear-gradient(160deg, rgba(6, 19, 33, 0.96), rgba(13, 34, 57, 0.94));
  background-size: 64px 64px, 64px 64px, auto, auto, auto;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.stagepulse-point {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 3rem;
  padding: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #04101d;
  background: linear-gradient(135deg, rgba(198, 239, 255, 0.96), rgba(126, 198, 255, 0.92));
  box-shadow: 0 0 0 8px rgba(126, 198, 255, 0.1), 0 0 26px rgba(126, 198, 255, 0.3);
}

.stagepulse-point.point-2 {
  background: linear-gradient(135deg, rgba(255, 202, 88, 0.96), rgba(255, 221, 132, 0.92));
  box-shadow: 0 0 0 8px rgba(255, 202, 88, 0.08), 0 0 26px rgba(255, 202, 88, 0.26);
}

.stagepulse-point.point-3 {
  background: linear-gradient(135deg, rgba(136, 240, 196, 0.98), rgba(83, 235, 181, 0.92));
  box-shadow: 0 0 0 8px rgba(136, 240, 196, 0.08), 0 0 26px rgba(136, 240, 196, 0.24);
}

.stagepulse-point.point-4 {
  background: linear-gradient(135deg, rgba(216, 174, 255, 0.96), rgba(180, 138, 255, 0.92));
  box-shadow: 0 0 0 8px rgba(196, 156, 255, 0.08), 0 0 26px rgba(196, 156, 255, 0.24);
}

.stagepulse-point span {
  display: none;
}

.stagepulse-bubble {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: min(15rem, calc(100% - 2rem));
  padding: 0.8rem 0.86rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(4, 16, 29, 0.8);
  backdrop-filter: blur(10px);
}

.stagepulse-bubble strong,
.stagepulse-stat strong {
  display: block;
  color: var(--muted-strong);
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.stagepulse-bubble p,
.stagepulse-stat p,
.stagepulse-note {
  margin: 0.34rem 0 0;
  color: var(--muted-strong);
  font-size: 0.78rem;
  line-height: 1.45;
}

.stagepulse-side {
  display: grid;
  gap: 0.75rem;
}

.stagepulse-stat {
  display: grid;
  gap: 0.28rem;
  padding: 0.88rem 0.9rem;
}

.stagepulse-note {
  grid-column: 1 / -1;
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.thinking-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 1rem;
}

.xulan-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}

.xulan-card {
  display: grid;
  grid-template-columns: minmax(170px, 0.78fr) minmax(0, 1.22fr);
  gap: 1rem;
  align-items: start;
}

.xulan-portrait {
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  border: 1px solid rgba(126, 198, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.xulan-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5.2;
  object-fit: cover;
}

.xulan-copy {
  display: grid;
  gap: 0.9rem;
}

.xulan-copy h3 {
  margin: 0;
  font-size: clamp(1.08rem, 1.8vw, 1.4rem);
  letter-spacing: -0.03em;
  line-height: 1.14;
  text-transform: uppercase;
}

.channel-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.channel-link {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.7rem;
  padding: 0.62rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  color: var(--muted-strong);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%, 8px 50%);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.channel-link::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: linear-gradient(120deg, transparent 22%, rgba(255, 255, 255, 0.18) 50%, transparent 78%);
  transform: translateX(-140%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.channel-link:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 32px rgba(4, 16, 29, 0.24);
}

.channel-link:hover::before {
  transform: translateX(140%);
}

.channel-link.is-youtube {
  background: linear-gradient(135deg, rgba(255, 102, 102, 0.18), rgba(255, 255, 255, 0.04));
}

.channel-link.is-bilibili {
  background: linear-gradient(135deg, rgba(126, 198, 255, 0.18), rgba(255, 255, 255, 0.04));
}

.channel-link.is-feishu {
  background: linear-gradient(135deg, rgba(85, 177, 255, 0.2), rgba(255, 255, 255, 0.04));
}

.channel-icon {
  width: 1.6rem;
  height: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #04101d;
  background: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 900;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%, 6px 50%);
}

.channel-link.is-youtube .channel-icon {
  color: #ffffff;
  background: #ff5c62;
}

.channel-link.is-feishu .channel-icon {
  color: #ffffff;
  background: #2388ff;
}

.channel-icon svg {
  width: 0.92rem;
  height: 0.92rem;
  fill: currentColor;
}

.tutorial-stack {
  align-content: start;
}

.expand-card {
  padding: 0;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.expand-card:hover {
  border-color: rgba(126, 198, 255, 0.24);
}

.expand-card[open] {
  border-color: rgba(126, 198, 255, 0.28);
  background: linear-gradient(135deg, rgba(126, 198, 255, 0.1), rgba(255, 255, 255, 0.04));
}

.expand-summary {
  position: relative;
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1.08rem;
  cursor: pointer;
  list-style: none;
}

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

.expand-summary::after {
  content: "+";
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--accent-strong);
  font-size: 1.1rem;
  font-weight: 800;
}

.expand-card[open] .expand-summary::after {
  content: "-";
}

.expand-label {
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.expand-title {
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.expand-meta {
  color: var(--muted);
  font-size: 0.84rem;
}

.expand-body {
  padding: 0 1.08rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.resource-link {
  display: inline-flex;
  margin-top: 0.9rem;
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.resource-link:hover {
  color: #ffffff;
}

.expand-body p {
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.feature-list.is-tight {
  margin-top: 0.85rem;
  gap: 0.7rem;
}

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

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

.service-card {
  display: grid;
  gap: 0.9rem;
}

.service-note {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.88rem;
}

.thinking-stage,
.profile-stage {
  padding: 1.1rem 1.15rem;
}

.thinking-stage h3,
.profile-stage h3 {
  margin: 0.5rem 0 0.45rem;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
  text-transform: uppercase;
}

.thinking-stage p,
.profile-stage p {
  color: var(--muted);
}

.thinking-points,
.profile-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.profile-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.profile-copy,
.profile-readout {
  position: relative;
  z-index: 1;
}

.profile-readout {
  display: grid;
  gap: 0.85rem;
}

.readout-item {
  padding: 0.9rem 0.95rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.readout-item p {
  margin: 0.3rem 0 0;
}

.thinking-card h3,
.resume-panel h3,
.topic-item h3,
.surface-card h3,
.project-card h3,
.example-block h3,
.legal-wrap h2 {
  margin: 0.72rem 0 0.45rem;
  letter-spacing: -0.03em;
  line-height: 1.16;
  text-transform: uppercase;
}

.icon-badge {
  width: 2.15rem;
  height: 2.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(198, 239, 255, 0.9), rgba(126, 198, 255, 0.8));
  color: #061120;
  font-size: 0.78rem;
  font-weight: 900;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 8px 50%);
}

.feature-list {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.65rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  background: linear-gradient(135deg, var(--accent-hot), #ffe399);
  box-shadow: 0 0 0 5px rgba(255, 202, 88, 0.12);
}

.contact-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.calendar-panel {
  margin-top: 1rem;
  padding: 1rem;
}

.booking-cta-panel h3 {
  margin: 0.2rem 0 0.55rem;
  line-height: 1.14;
  text-transform: uppercase;
}

.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 1rem;
  align-items: start;
}

.booking-side {
  padding: 0.92rem 0.98rem;
  border: 1px solid rgba(126, 198, 255, 0.16);
  background: linear-gradient(135deg, rgba(126, 198, 255, 0.12), rgba(255, 255, 255, 0.03));
}

.booking-checklist {
  margin-top: 0;
}

.booking-support-copy {
  margin: 0.8rem 0 1rem;
}

.booking-main {
  padding-top: 1.1rem;
}

.booking-page-panel {
  padding: 1rem;
}

.booking-page-title {
  margin: 0.3rem 0 0.65rem;
  font-size: clamp(1.55rem, 3.6vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.appointment-embed iframe {
  min-height: 600px;
  background: #ffffff;
}

.calendar-embed {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(126, 198, 255, 0.2);
  border-radius: 8px;
  background: #ffffff;
}

.calendar-embed iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: clamp(420px, 58vw, 640px);
}

.support-topics {
  grid-template-columns: 1fr;
}

.contact-item strong,
.footer-brand,
.preview-title {
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.risk-banner {
  margin: 1rem 0 0;
  padding: 0.9rem 0.95rem;
  border: 1px solid rgba(126, 198, 255, 0.16);
  background: linear-gradient(135deg, rgba(99, 198, 255, 0.14), rgba(255, 255, 255, 0.03));
  color: var(--muted-strong);
  font-size: 0.92rem;
}

.redirect-card {
  text-align: center;
}

.back-link {
  color: var(--accent-strong);
  font-weight: 800;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(143, 212, 255, 0.1);
}

.footer-inner {
  display: grid;
  gap: 1rem;
  padding-top: 1.4rem;
}

.footer-grid {
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.8fr));
}

.footer-links,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-links a,
.social-links a {
  color: var(--muted);
}

.footer-links a:hover,
.social-links a:hover,
.back-link:hover,
.contact-item a:hover {
  color: var(--text);
}

.integration-note,
.effective-date,
.meta-note {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.inline-path {
  font-family: "Cascadia Code", "Consolas", monospace;
}

.hide {
  display: none !important;
}

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

body.has-reveal .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

@media (max-width: 1080px) {
  .hero-shell,
  .contact-grid,
  .footer-grid,
  .thinking-layout,
  .profile-stage,
  .xulan-layout,
  .xulan-card {
    grid-template-columns: 1fr;
  }

  .demo-grid,
  .angle-grid,
  .resume-grid,
  .service-grid,
  .demo-list,
  .demo-proof-grid,
  .hero-metrics,
  .stage-stack {
    grid-template-columns: 1fr;
  }

  .demo-card.is-featured {
    grid-template-columns: 1fr;
  }

  .section-header-with-badge {
    grid-template-columns: 1fr;
  }

  .digest-visual,
  .stagepulse-visual,
  .booking-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header-inner {
    display: flex;
    justify-content: space-between;
  }

  .phosphene-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .page-main {
    padding-top: 1.25rem;
  }

  .header-inner {
    align-items: flex-start;
  }

  .header-start {
    flex-wrap: wrap;
  }

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

  .site-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 0 0.2rem;
    border-top: 0;
  }

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

  .command-grid,
  .demo-grid,
  .angle-grid,
  .resume-grid,
  .hero-metrics,
  .stage-stack,
  .promptly-skill-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .container {
    width: min(var(--max-width), calc(100% - 1.2rem));
  }

  .hero-shell,
  .section-shell,
  .redirect-card {
    padding: 1rem;
  }

  .calendar-embed iframe {
    height: 520px;
  }

  .appointment-embed iframe {
    min-height: 520px;
  }

  .section-callout {
    display: grid;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

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