/* Velvance AI — minimal dark marketing site */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0A0A0F;
  --fg: #FFFFFF;
  --fg-50: rgba(255, 255, 255, 0.5);
  --fg-30: rgba(255, 255, 255, 0.3);
  --fg-10: rgba(255, 255, 255, 0.08);
  --fg-05: rgba(255, 255, 255, 0.04);
  --radius: 14px;
  --radius-lg: 24px;
}

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', system-ui, sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

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

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

/* Layout */
.shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 720px) {
  .shell { padding: 0 20px; }
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  position: sticky;
  top: 0;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 50;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--fg-50);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--fg); }
.nav-link.active { color: var(--fg); }

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-mark {
  width: 48px;
  height: 48px;
  background: #000;
  border: 1px solid var(--fg-10);
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.logo-mark svg {
  width: 26px;
  height: 26px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.logo-sub {
  font-size: 10px;
  font-weight: 500;
  color: var(--fg-30);
  letter-spacing: 0.2em;
  margin-top: 5px;
  white-space: nowrap;
}

.logo-text { white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #fff;
  color: #0A0A0F;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: transform 0.15s ease, background 0.2s;
  text-decoration: none;
}

.btn:hover {
  background: #ededed;
  transform: translateY(-1px);
}

.btn.btn-lg {
  padding: 16px 28px;
  font-size: 15px;
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--fg-10);
}
.btn-ghost:hover {
  background: var(--fg-05);
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.2s;
}
.btn:hover .arrow {
  transform: translateX(2px);
}

/* Hero */
.hero {
  padding: 80px 0 60px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--fg-50);
  margin-bottom: 32px;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 12px #4ADE80;
}

h1.headline {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 16ch;
  margin-bottom: 28px;
}

.hero-sub {
  color: var(--fg-50);
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 48ch;
  line-height: 1.5;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-cta .meta {
  color: var(--fg-30);
  font-size: 13px;
}

/* Banner */
.banner {
  margin-top: 80px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/7;
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(255,255,255,0.06), transparent 60%),
    radial-gradient(80% 60% at 90% 100%, rgba(255,255,255,0.04), transparent 60%),
    #111118;
  border: 1px solid var(--fg-10);
  position: relative;
  display: grid;
  place-items: center;
}

.banner-inner {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(6, 1fr);
  padding: 32px;
  gap: 14px;
}

.banner-tile {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--fg-10);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fg-50);
  overflow: hidden;
}

.banner-tile .label {
  color: var(--fg-30);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.banner-tile .value {
  color: var(--fg);
  font-size: 22px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

.banner-tile .value.lg {
  font-size: 36px;
}

.banner-tile.span-4 { grid-column: span 4; }
.banner-tile.span-3 { grid-column: span 3; }
.banner-tile.span-5 { grid-column: span 5; }
.banner-tile.span-6 { grid-column: span 6; }
.banner-tile.span-r2 { grid-row: span 2; }
.banner-tile.span-r3 { grid-row: span 3; }
.banner-tile.span-r4 { grid-row: span 4; }

.pulse-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--fg-50), transparent);
  margin: 8px 0;
  position: relative;
  overflow: hidden;
}
.pulse-line::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -20%;
  width: 20%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  animation: sweep 3s ease-in-out infinite;
}
@keyframes sweep {
  to { left: 120%; }
}

.spark {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 32px;
  margin-top: auto;
}
.spark span {
  flex: 1;
  background: var(--fg-50);
  border-radius: 2px;
  min-width: 2px;
}

/* Sections */
section {
  padding: 100px 0;
}

/* Schematic agent flow */
.schematic {
  margin-top: 80px;
  border: 1px solid var(--fg-10);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,0.04), transparent 60%),
    #0d0d14;
  padding: 28px;
}

.schematic-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fg-30);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.schematic-grid {
  display: grid;
  grid-template-columns: 1fr 60px 1.2fr 60px 1fr;
  gap: 12px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .schematic-grid { grid-template-columns: 1fr; }
  .sch-lines { display: none; }
}

.sch-col { display: flex; flex-direction: column; gap: 12px; }
.sch-col-center { justify-content: center; }

.sch-col-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--fg-30);
  margin-bottom: 4px;
}

.sch-node {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--fg-10);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.2s, background 0.2s;
}
.sch-node:hover { border-color: var(--fg-30); background: rgba(255,255,255,0.04); }

.sch-node-icon {
  font-size: 16px;
  color: var(--fg-50);
  margin-bottom: 6px;
  font-family: 'JetBrains Mono', monospace;
}
.sch-node-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
}
.sch-node-sub {
  font-size: 12px;
  color: var(--fg-50);
}

.sch-lines {
  width: 100%;
  height: 100%;
  align-self: stretch;
}
.sch-lines line {
  stroke: rgba(255,255,255,0.12);
  stroke-width: 1;
  stroke-dasharray: 3 4;
  vector-effect: non-scaling-stroke;
}

.sch-agent {
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--fg-30);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.sch-agent::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), transparent 30%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.sch-agent-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--fg);
}
.sch-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 10px #4ADE80;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.sch-agent-body { display: flex; flex-direction: column; gap: 8px; }
.sch-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--fg-10);
  border-radius: 8px;
}
.sch-step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fg-30);
}
.sch-step-text { color: var(--fg); }

.sch-agent-foot {
  font-size: 11px;
  color: var(--fg-30);
  font-family: 'JetBrains Mono', monospace;
  text-align: center;
  border-top: 1px solid var(--fg-10);
  padding-top: 12px;
}

/* Principles */
.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--fg-10);
  border: 1px solid var(--fg-10);
  border-radius: 18px;
  overflow: hidden;
}
@media (max-width: 700px) { .principles { grid-template-columns: 1fr; } }

.principle {
  background: var(--bg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.principle-head {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.principle p {
  color: var(--fg-50);
  font-size: 14.5px;
  line-height: 1.5;
}

/* Trust strip */
.trust {
  padding: 60px 0 40px;
}
.trust-label {
  font-size: 12px;
  color: var(--fg-30);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 32px;
  text-align: center;
}
.trust-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  border-top: 1px solid var(--fg-10);
  border-bottom: 1px solid var(--fg-10);
  padding: 32px 0;
}
.trust-logo {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--fg-50);
  transition: color 0.2s;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  flex: 1 1 auto;
  text-align: center;
}
.trust-logo:hover { color: var(--fg); }

/* Numbered sections (lerai-style) */
.numbered { padding-top: 100px; padding-bottom: 60px; }

.num-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 32px;
  border-top: 1px solid var(--fg-10);
  padding-top: 28px;
}

.num-id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--fg-30);
  letter-spacing: 0.04em;
}

.num-kicker {
  font-size: 13px;
  color: var(--fg-50);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.num-title {
  font-size: clamp(32px, 4.4vw, 60px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 22ch;
  margin-bottom: 56px;
}

/* Service cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr; }
}

.service-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--fg-10);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.service-card:hover {
  background: rgba(255,255,255,0.035);
  border-color: var(--fg-30);
  transform: translateY(-2px);
}

.service-tag {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--fg-50);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 16ch;
}

.service-card p {
  color: var(--fg-50);
  font-size: 14.5px;
  line-height: 1.55;
}

.bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--fg-10);
}
.bullets li {
  font-size: 13px;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 10px;
}
.bullets li::before {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--fg-30);
  flex-shrink: 0;
}

/* Featured cases */
.featured-cases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 900px) {
  .featured-cases { grid-template-columns: 1fr; }
}

.featured-case {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 32px;
  border: 1px solid var(--fg-10);
  border-radius: 18px;
  background: rgba(255,255,255,0.02);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  min-height: 320px;
}
.featured-case:hover {
  background: rgba(255,255,255,0.035);
  border-color: var(--fg-30);
  transform: translateY(-2px);
}

.fc-meta {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fg-30);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-case h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  flex-grow: 1;
}

.fc-stats {
  display: flex;
  gap: 32px;
  border-top: 1px solid var(--fg-10);
  padding-top: 20px;
}
.fc-stats > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fc-stats .big {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.fc-stats .lbl {
  font-size: 12px;
  color: var(--fg-30);
  letter-spacing: 0.02em;
}

.fc-cta {
  font-size: 13px;
  color: var(--fg-50);
}

.see-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  color: var(--fg-50);
  font-size: 14px;
  transition: color 0.2s;
}
.see-all:hover { color: var(--fg); }
.see-all .arrow { transition: transform 0.2s; }
.see-all:hover .arrow { transform: translateX(3px); }

/* Founder */
.founder {
  padding: 80px 0 40px;
  border-top: 1px solid var(--fg-10);
}

.founder-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 800px) {
  .founder-grid { grid-template-columns: 1fr; gap: 40px; }
}

.founder-portrait {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.portrait-frame {
  width: 220px;
  height: 260px;
  border-radius: 14px;
  background: linear-gradient(160deg, #1a1a22, #0e0e14 70%);
  border: 1px solid var(--fg-10);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.portrait-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 30%, rgba(255,255,255,0.06), transparent 70%);
}
.portrait-init {
  font-size: 96px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--fg);
  z-index: 1;
}

.portrait-meta { display: flex; flex-direction: column; gap: 4px; }
.role-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fg-30);
}
.role-name {
  font-size: 16px;
  font-weight: 500;
}

.founder-quote p {
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 28px;
  max-width: 30ch;
  font-weight: 500;
}

.section-label {
  font-size: 12px;
  color: var(--fg-30);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--fg-30);
}

.section-title {
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 22ch;
  margin-bottom: 64px;
}

/* How it works */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  border-top: 1px solid var(--fg-10);
  padding-top: 48px;
}

@media (max-width: 800px) {
  .how-grid { grid-template-columns: 1fr; gap: 48px; }
}

.how-item .num {
  font-size: 13px;
  color: var(--fg-30);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.how-item h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.how-item p {
  color: var(--fg-50);
  font-size: 15px;
  line-height: 1.5;
  max-width: 32ch;
}

/* CTA bottom */
.cta-bottom {
  padding: 140px 0 100px;
  text-align: center;
}

.cta-bottom h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  max-width: 18ch;
  margin: 0 auto 20px;
}

.cta-bottom .availability {
  color: var(--fg-30);
  font-size: 13px;
  margin-bottom: 32px;
}

/* Footer */
footer {
  border-top: 1px solid var(--fg-10);
  padding: 32px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--fg-30);
  font-size: 13px;
}

footer a {
  color: var(--fg-50);
  transition: color 0.2s;
}
footer a:hover { color: var(--fg); }

/* ==================== Cases page ==================== */
.page-header {
  padding: 80px 0 60px;
}

.page-eyebrow {
  font-size: 13px;
  color: var(--fg-30);
  margin-bottom: 24px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
}

.page-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 18ch;
  margin-bottom: 24px;
}

.page-lede {
  color: var(--fg-50);
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 52ch;
  line-height: 1.5;
}

.case-list {
  border-top: 1px solid var(--fg-10);
  margin-top: 40px;
}

.case-row {
  display: grid;
  grid-template-columns: 80px 1.4fr 1fr 1fr 80px;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--fg-10);
  align-items: center;
  transition: padding 0.2s ease;
  cursor: pointer;
}

.case-row:hover {
  padding-left: 16px;
  padding-right: 16px;
}

.case-row .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--fg-30);
  letter-spacing: 0.04em;
}

.case-row .name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.case-sector {
  font-size: 12px;
  color: var(--fg-30);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
  margin-top: 4px;
  text-transform: uppercase;
}

.case-empty {
  padding: 80px 0;
  text-align: center;
  color: var(--fg-30);
  font-size: 14px;
  border-bottom: 1px solid var(--fg-10);
}

.case-row .desc {
  color: var(--fg-50);
  font-size: 14px;
  line-height: 1.45;
}

.case-row .stat {
  font-size: 14px;
  color: var(--fg);
}
.case-row .stat .stat-num {
  display: block;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.case-row .stat .stat-label {
  color: var(--fg-30);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.case-row .arrow-cell {
  color: var(--fg-30);
  text-align: right;
  font-size: 20px;
  transition: color 0.2s, transform 0.2s;
}
.case-row:hover .arrow-cell {
  color: var(--fg);
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .case-row {
    grid-template-columns: 60px 1fr 60px;
    gap: 16px;
  }
  .case-row .desc, .case-row .stat { display: none; }
}

/* ==================== Plan page ==================== */
.plan-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  padding: 60px 0 100px;
  align-items: start;
}

@media (max-width: 900px) {
  .plan-grid { grid-template-columns: 1fr; gap: 48px; }
}

.plan-left h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin-bottom: 24px;
  max-width: 14ch;
}

.plan-left .lede {
  color: var(--fg-50);
  font-size: 17px;
  line-height: 1.5;
  max-width: 40ch;
  margin-bottom: 48px;
}

.host-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--fg-10);
  border-bottom: 1px solid var(--fg-10);
  margin-bottom: 40px;
}

.host-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a2a35, #11111a);
  border: 1px solid var(--fg-10);
  display: grid;
  place-items: center;
  color: var(--fg);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.host-card .who { font-size: 15px; font-weight: 500; }
.host-card .role { color: var(--fg-50); font-size: 13px; margin-top: 2px; }

.plan-meta-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plan-meta-list li {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: var(--fg-50);
}

.plan-meta-list li .k {
  color: var(--fg-30);
  width: 92px;
  flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding-top: 2px;
}

.plan-meta-list li .v { color: var(--fg); }

/* Booking */
.booking {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--fg-10);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.booking h3 {
  font-size: 13px;
  color: var(--fg-30);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 24px;
  font-weight: 500;
}

.cal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.cal-month {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.cal-nav {
  display: flex;
  gap: 8px;
}

.cal-nav button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--fg-10);
  color: var(--fg-50);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  transition: all 0.15s;
}
.cal-nav button:hover { color: var(--fg); border-color: var(--fg-30); }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal-grid .dow {
  font-size: 11px;
  color: var(--fg-30);
  text-align: center;
  padding: 8px 0;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
}

.cal-day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 14px;
  color: var(--fg-50);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s;
  background: transparent;
  font-family: inherit;
}
.cal-day.muted { color: var(--fg-10); cursor: default; pointer-events: none; }
.cal-day.available { color: var(--fg); border-color: var(--fg-10); }
.cal-day.available:hover { background: var(--fg-05); border-color: var(--fg-30); }
.cal-day.selected { background: #fff; color: #0A0A0F; border-color: #fff; font-weight: 600; }
.cal-day.today { position: relative; }
.cal-day.today::after {
  content: '';
  position: absolute; bottom: 6px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--fg-50);
}
.cal-day.selected.today::after { background: #0A0A0F; }

.slot-section {
  margin-top: 28px;
}

.slot-section .slot-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}

.slot-section .slot-date {
  font-size: 14px;
  font-weight: 500;
}
.slot-section .tz {
  font-size: 11px;
  color: var(--fg-30);
  font-family: 'JetBrains Mono', monospace;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.slot {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--fg-10);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.15s;
  text-align: center;
}
.slot:hover { border-color: var(--fg-30); background: var(--fg-05); }
.slot.selected { background: #fff; color: #0A0A0F; border-color: #fff; }
.slot.taken { color: var(--fg-30); text-decoration: line-through; pointer-events: none; }

.confirm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--fg-10);
}

.confirm-row .selection {
  font-size: 13px;
  color: var(--fg-50);
}
.confirm-row .selection .selected-val {
  color: var(--fg);
  font-weight: 500;
}

/* Step indicator */
.step-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}
.step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--fg-30);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
}
.step-dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--fg-10);
  display: grid; place-items: center;
  font-size: 10px;
  color: var(--fg-30);
  transition: all 0.2s;
}
.step.active .step-dot { background: #fff; color: #0A0A0F; border-color: #fff; }
.step.active .step-label { color: var(--fg); }
.step.done .step-dot { background: var(--fg-10); color: var(--fg); border-color: var(--fg-10); }
.step-line { flex: 1; height: 1px; background: var(--fg-10); }

.step-pane { display: block; }
.step-pane[hidden] { display: none; }

/* Intake form */
.intake-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.intake-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lbl-text {
  font-size: 11px;
  color: var(--fg-50);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
}
.intake-form input,
.intake-form textarea {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--fg-10);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--fg);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.15s, background 0.15s;
  resize: vertical;
}
.intake-form input::placeholder,
.intake-form textarea::placeholder { color: var(--fg-30); }
.intake-form input:focus,
.intake-form textarea:focus {
  outline: none;
  border-color: var(--fg);
  background: rgba(255,255,255,0.04);
}
.intake-form .checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--fg-50);
  cursor: pointer;
  line-height: 1.5;
}
.intake-form .checkbox input {
  width: 16px; height: 16px;
  accent-color: #fff;
  margin-top: 2px;
  flex-shrink: 0;
}
.link-back {
  background: transparent;
  border: none;
  color: var(--fg-50);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s;
}
.link-back:hover { color: var(--fg); }

.form-error {
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: #f87171;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  margin-top: 8px;
}

/* Slot empty state */
.slot-empty {
  grid-column: 1 / -1;
  color: var(--fg-30);
  font-size: 13px;
  padding: 24px 0;
  text-align: center;
  border: 1px dashed var(--fg-10);
  border-radius: 10px;
}

/* Confirm state */
.confirm-state { padding: 40px 0; text-align: center; }
.confirm-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid #4ADE80;
  display: grid; place-items: center;
  margin: 0 auto 24px;
  color: #4ADE80;
  font-size: 28px;
}
.confirm-title {
  font-size: 22px; font-weight: 600; letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.confirm-body {
  color: var(--fg-50);
  font-size: 14px;
  max-width: 32ch;
  margin: 0 auto 28px;
  line-height: 1.5;
}

/* Empty state on cases page */
.empty-state {
  border: 1px solid var(--fg-10);
  border-radius: 24px;
  padding: 56px;
  background: rgba(255,255,255,0.015);
  margin-bottom: 40px;
}
.empty-grid {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 700px) { .empty-grid { grid-template-columns: 1fr; gap: 24px; } }

.empty-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 0 0;
  border-top: 1px solid var(--fg-10);
  margin-top: 16px;
}
.empty-meta > div { display: flex; gap: 16px; font-size: 13px; }
.empty-meta .k {
  color: var(--fg-30);
  width: 96px;
  flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.empty-meta .v { color: var(--fg); }

/* Case detail page */
.case-detail-header {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--fg-10);
}
.case-detail-meta {
  display: flex;
  gap: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--fg-30);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.case-detail-title {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 22ch;
  margin-bottom: 32px;
}
.case-detail-summary {
  color: var(--fg-50);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  max-width: 52ch;
}

.case-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--fg-10);
  border-bottom: 1px solid var(--fg-10);
}
.case-hero-stats > div {
  padding: 28px 0;
  border-right: 1px solid var(--fg-10);
  padding-right: 24px;
}
.case-hero-stats > div:last-child { border-right: none; }
.case-hero-stats .v {
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.case-hero-stats .l {
  font-size: 12px;
  color: var(--fg-30);
  letter-spacing: 0.04em;
}

.case-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 80px;
  padding: 80px 0;
}
@media (max-width: 900px) {
  .case-body { grid-template-columns: 1fr; gap: 40px; }
}

.case-sidebar { position: sticky; top: 100px; align-self: start; }
.case-sidebar dl { display: flex; flex-direction: column; gap: 24px; margin: 0; }
.case-sidebar dt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fg-30);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.case-sidebar dd {
  margin: 0;
  font-size: 14px;
  color: var(--fg);
}

.case-content { font-size: 17px; line-height: 1.6; color: var(--fg-50); }
.case-content h2 {
  color: var(--fg);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 56px 0 16px;
  line-height: 1.2;
}
.case-content h2:first-child { margin-top: 0; }
.case-content p { margin-bottom: 16px; max-width: 60ch; }
.case-content ul { margin: 16px 0 24px 18px; }
.case-content li { margin-bottom: 8px; }
.case-content blockquote {
  border-left: 2px solid var(--fg);
  padding-left: 20px;
  margin: 32px 0;
  color: var(--fg);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.4;
  max-width: 30ch;
}
.case-content .cite {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  color: var(--fg-30);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
  font-weight: 400;
}

.case-next {
  border-top: 1px solid var(--fg-10);
  padding: 60px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.case-next .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fg-30);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.case-next .title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
}

/* Case detail strip on cases page */
.case-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 60px;
  padding-bottom: 24px;
}

.tag {
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  padding: 6px 12px;
  border: 1px solid var(--fg-10);
  border-radius: 999px;
  color: var(--fg-50);
  cursor: pointer;
  transition: all 0.15s;
  background: transparent;
}
.tag:hover, .tag.active { color: var(--fg); border-color: var(--fg-30); }
.tag.active { background: var(--fg-05); }

/* Fade-in for nav links across page change feel */
.fade-up {
  opacity: 0;
  transform: translateY(8px);
  animation: fadeUp 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.fade-up.d1 { animation-delay: 0.05s; }
.fade-up.d2 { animation-delay: 0.12s; }
.fade-up.d3 { animation-delay: 0.2s; }
.fade-up.d4 { animation-delay: 0.28s; }
.fade-up.d5 { animation-delay: 0.36s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
