/* Zylka Digital — Replicate-style system
   Cream canvas, hot-orange stamp, three-family typography, full-rounded interactive,
   md-rounded content, dark code wells. */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,600;12..96,700&family=Geist:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Brand */
  --primary:        #1d4ed8;
  --primary-deep:   #1e3a8a;
  --on-primary:     #ffffff;
  --hero-glow:      #3b82f6;
  --hero-pink:      #93c5fd;

  /* Surface */
  --canvas:         #f9f7f3;
  --surface-bone:   #f3f0e8;
  --surface-card:   #ffffff;
  --surface-dark:   #202020;
  --surface-deep:   #000000;

  /* Text */
  --ink:            #202020;
  --body:           #3a3a3a;
  --charcoal:       #575757;
  --mute:           #646464;
  --ash:            #8d8d8d;
  --stone:          #bbbbbb;
  --on-dark:        #fcfcfc;
  --on-dark-mute:   rgba(252,252,252,0.72);

  /* Lines */
  --hairline:        rgba(32,32,32,0.12);
  --hairline-strong: #202020;
  --divider-dark:    rgba(255,255,255,0.2);

  /* Semantic */
  --success: #2b9a66;
  --link:    #1d4ed8;
  --github-dark: #24292e;

  /* Type */
  --font-display: 'Bricolage Grotesque', 'Migra', system-ui, sans-serif;
  --font-ui:      'Geist', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, Menlo, monospace;

  /* Radii */
  --r-none: 0;
  --r-xs:   4px;
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   16px;
  --r-full: 9999px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: var(--primary); color: var(--on-primary); }

.shell { display: flex; flex-direction: column; min-height: 100vh; }
.shell > main { flex: 1; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; width: 100%; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 32px; width: 100%; }

/* ===== Type helpers ===== */
.t-display-xxl {
  font-family: var(--font-display);
  font-weight: 700; font-size: clamp(60px, 11vw, 128px);
  line-height: 1.0; letter-spacing: -3px; margin: 0;
}
.t-display-xl {
  font-family: var(--font-display);
  font-weight: 700; font-size: clamp(44px, 7vw, 72px);
  line-height: 1.0; letter-spacing: -1.8px; margin: 0;
}
.t-display-lg {
  font-family: var(--font-display);
  font-weight: 700; font-size: 48px;
  line-height: 1.0; letter-spacing: -1px; margin: 0;
}
.t-display-md {
  font-family: var(--font-display);
  font-weight: 600; font-size: 30px;
  line-height: 1.2; letter-spacing: -0.5px; margin: 0;
}
.t-heading-lg {
  font-family: var(--font-ui);
  font-weight: 600; font-size: 38.4px;
  line-height: 0.83; letter-spacing: -0.5px; margin: 0;
}
.t-heading-md {
  font-family: var(--font-ui);
  font-weight: 600; font-size: 24px;
  line-height: 1.33; letter-spacing: -0.35px; margin: 0;
}
.t-heading-sm {
  font-family: var(--font-ui);
  font-weight: 600; font-size: 20px;
  line-height: 1.4; letter-spacing: -0.3px; margin: 0;
}
.t-subtitle {
  font-family: var(--font-display);
  font-weight: 600; font-size: 18px;
  line-height: 1.56; margin: 0;
}
.t-body-lg { font-size: 18px; line-height: 1.56; color: var(--body); }
.t-body    { font-size: 16px; line-height: 1.5;  color: var(--body); }
.t-body-sm { font-size: 14px; line-height: 1.43; color: var(--charcoal); }
.t-caption { font-size: 12px; line-height: 1.33; color: var(--mute); }
.t-mono    { font-family: var(--font-mono); font-size: 14px; line-height: 1.43; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 24px;
  border-radius: var(--r-full);
  font-family: var(--font-ui); font-weight: 600; font-size: 16px; line-height: 1;
  border: 0; cursor: pointer; text-decoration: none;
  transition: background 150ms var(--ease), transform 150ms var(--ease), color 150ms var(--ease);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-deep); }
.btn-dark    { background: var(--surface-dark); color: var(--on-dark); }
.btn-dark:hover { background: #000; }
.btn-outline {
  background: var(--surface-card); color: var(--ink);
  border: 1px solid var(--hairline-strong);
  padding: 0 23px;
}
.btn-outline:hover { background: var(--ink); color: var(--on-dark); }
.btn-ghost { background: var(--canvas); color: var(--ink); height: 36px; padding: 0 16px; font-size: 14px; }
.btn-ghost:hover { background: var(--surface-bone); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-icon {
  width: 36px; height: 36px; padding: 0; border-radius: var(--r-full);
  background: var(--surface-card); color: var(--ink); border: 1px solid var(--hairline);
}
.btn-icon:hover { border-color: var(--hairline-strong); }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  height: 60px;
}
.nav-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px;
  max-width: 1440px; margin: 0 auto;
}
.nav-logo {
  display: inline-flex; align-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.5px;
  color: var(--ink);
}
.nav-logo img { height: 38px; width: auto; display: block; }
.nav-logo .mark {
  width: 26px; height: 26px; border-radius: var(--r-full);
  background: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
}
.nav-logo .mark::after {
  content: ''; width: 10px; height: 10px; border-radius: var(--r-full); background: var(--canvas);
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links a {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 12px;
  border-radius: var(--r-full);
  font-family: var(--font-ui); font-weight: 600; font-size: 14px;
  color: var(--ink);
}
.nav-links a:hover { background: var(--surface-bone); text-decoration: none; }
.nav-links a.active { background: var(--ink); color: var(--on-dark); }
.nav-utils { display: flex; align-items: center; gap: 8px; }

/* ===== Hero band (full-bleed orange w/ atmospheric mesh) ===== */
.hero {
  background: var(--primary);
  background-image:
    radial-gradient(ellipse 60% 40% at 20% 10%, rgba(59,130,246,0.85), transparent 70%),
    radial-gradient(ellipse 50% 50% at 90% 50%, rgba(96,165,250,0.6), transparent 70%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(147,197,253,0.75), transparent 70%);
  color: var(--on-dark);
  padding: 96px 32px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.hero-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--r-full);
  background: rgba(0,0,0,0.18);
  font-family: var(--font-mono); font-size: 11px; line-height: 1.5;
  color: var(--on-dark);
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: var(--r-full); background: var(--success); }
.hero h1 { color: var(--on-dark); margin-top: 24px; }
.hero .lead { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.4; color: rgba(255,255,255,0.92); margin: 24px 0 32px; max-width: 520px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .ctas .btn-outline { background: transparent; color: var(--on-dark); border-color: rgba(255,255,255,0.5); }
.hero .ctas .btn-outline:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }

/* Hero artwork — workbench panel */
.hero-art {
  background: var(--ink);
  border-radius: var(--r-md);
  padding: 24px;
  font-family: var(--font-mono);
  color: var(--on-dark);
  font-size: 13px; line-height: 1.6;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.32);
}
.hero-art .tabs {
  display: flex; gap: 6px; margin-bottom: 16px;
}
.hero-art .tabs .tab {
  background: var(--surface-deep);
  color: var(--on-dark-mute);
  font-size: 11px; padding: 6px 12px;
  border-radius: var(--r-xs);
}
.hero-art .tabs .tab.active { color: var(--on-dark); border-bottom: 2px solid var(--primary); border-radius: var(--r-xs) var(--r-xs) 0 0; }
.hero-art .ln { display: flex; gap: 16px; }
.hero-art .ln .num { color: var(--ash); width: 18px; text-align: right; user-select: none; }
.hero-art .kw { color: #f59ce0; }
.hero-art .str { color: #c8e89a; }
.hero-art .com { color: var(--ash); }
.hero-art .fn  { color: #6ee7b7; }
.hero-art .num-l { color: #fcd34d; }

/* ===== Hero preview (phone + floating cards) ===== */
.preview-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  perspective: 1600px;
}
.phone {
  position: absolute; inset: 0;
  margin: auto;
  width: 86%; height: 100%;
  background: #0c0c0c;
  border-radius: 44px;
  padding: 10px;
  box-shadow:
    0 40px 80px -20px rgba(0,0,0,0.55),
    0 18px 40px -8px rgba(0,0,0,0.35),
    inset 0 0 0 1px rgba(255,255,255,0.06);
  transform: rotate(-4deg) rotateY(-10deg) rotateX(3deg);
  animation: phone-float 7s ease-in-out infinite;
  transform-style: preserve-3d;
}
@keyframes phone-float {
  0%, 100% { transform: rotate(-4deg) rotateY(-10deg) rotateX(3deg) translateY(0); }
  50%      { transform: rotate(-4deg) rotateY(-10deg) rotateX(3deg) translateY(-8px); }
}
.phone-screen {
  width: 100%; height: 100%;
  background: var(--canvas);
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
}
.phone-screen::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 36%; height: 22px;
  background: #0c0c0c; border-radius: 0 0 16px 16px;
  z-index: 3;
}
.ps-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 22px 4px;
  font-family: var(--font-ui); font-size: 11px; font-weight: 600; color: var(--ink);
}
.ps-status .dots { display: inline-flex; gap: 3px; }
.ps-status .dots span { width: 3px; height: 3px; border-radius: 50%; background: var(--ink); }
.ps-search {
  margin: 8px 12px 12px;
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-full);
  height: 40px;
  display: flex; align-items: center; gap: 8px; padding: 0 14px;
  font-family: var(--font-ui); font-size: 13px; color: var(--ink);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.ps-search .g {
  width: 18px; height: 18px; border-radius: 50%;
  background: conic-gradient(from -45deg, #4285F4 0 25%, #34A853 0 50%, #FBBC05 0 75%, #EA4335 0 100%);
  flex-shrink: 0;
}
.ps-search .q { font-weight: 500; }
.ps-search .cursor {
  display: inline-block; width: 1.5px; height: 13px; background: var(--ink);
  margin-left: 1px; animation: cursor-blink 1s steps(2) infinite;
}
@keyframes cursor-blink { 50% { opacity: 0; } }
.ps-tabs {
  display: flex; gap: 14px;
  padding: 0 14px;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--font-ui); font-size: 11px; font-weight: 500; color: var(--mute);
}
.ps-tabs span {
  padding: 6px 0 8px;
  border-bottom: 2px solid transparent;
}
.ps-tabs span.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
.ps-map {
  margin: 10px 12px 0;
  height: 70px;
  border-radius: var(--r-sm);
  background:
    radial-gradient(circle at 60% 40%, #c7e0fb 0 8px, transparent 9px),
    linear-gradient(90deg, #fff 0 35%, transparent 36%),
    linear-gradient(0deg, #fff 0 30%, transparent 31%),
    linear-gradient(120deg, #ffe9c2 0 25%, #e2efd9 25% 60%, #d4e9f7 60%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hairline);
}
.ps-map::after {
  content: '';
  position: absolute; left: 58%; top: 42%;
  width: 14px; height: 14px;
  background: var(--primary);
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: translate(-50%, -100%) rotate(-45deg);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.ps-results {
  padding: 8px 12px 12px;
  display: flex; flex-direction: column; gap: 6px;
  flex: 1;
}
.ps-result {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  padding: 8px 10px;
  display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center;
  position: relative;
  font-family: var(--font-ui);
}
.ps-result.top {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), 0 4px 10px -2px rgba(29,78,216,0.25);
}
.ps-result .avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--surface-bone);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--ink);
}
.ps-result.top .avatar { background: var(--primary); color: var(--on-primary); }
.ps-result .name { font-size: 12px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.ps-result .meta { font-size: 10px; color: var(--mute); line-height: 1.4; margin-top: 1px; display: flex; gap: 4px; align-items: center; }
.ps-result .stars { color: #f59e0b; font-size: 9px; letter-spacing: 1px; }
.ps-result .rank {
  font-family: var(--font-mono); font-size: 9px; font-weight: 600;
  background: var(--primary); color: var(--on-primary);
  padding: 2px 6px; border-radius: var(--r-xs);
}
.ps-result .pos {
  font-family: var(--font-mono); font-size: 11px; color: var(--ash);
  width: 14px; text-align: center;
}

/* Floating cards */
.float-card {
  position: absolute;
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 12px 14px;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.4), 0 4px 10px rgba(0,0,0,0.1);
  font-family: var(--font-ui);
  z-index: 5;
  display: flex; gap: 10px; align-items: flex-start;
  min-width: 0;
}
.float-card .badge-dot {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
}
.float-card .badge-dot.review { background: #fef3c7; color: #b45309; }
.float-card .badge-dot.quote  { background: var(--primary); color: var(--on-primary); }
.float-card .badge-dot.rank   { background: var(--ink); color: var(--on-dark); }
.float-card .ttl { font-size: 11px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.float-card .sub { font-size: 10px; color: var(--mute); margin-top: 2px; line-height: 1.3; }
.float-card .stars { color: #f59e0b; font-size: 10px; letter-spacing: 1px; margin-top: 2px; }
.float-card.fc-review { top: 8%; left: -6%; animation: fc-review-float 6s ease-in-out infinite; }
.float-card.fc-quote  { top: 38%; right: -10%; animation: fc-quote-float 6s ease-in-out infinite 1s; }
.float-card.fc-rank   { bottom: 8%; left: -8%; animation: fc-rank-float 6s ease-in-out infinite 2s; }
@keyframes fc-review-float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-6px) rotate(-3deg); }
}
@keyframes fc-quote-float {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50%      { transform: translateY(-10px) rotate(2deg); }
}
@keyframes fc-rank-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-7px) rotate(-2deg); }
}

/* Stage pill — sits above the phone */
.stage-pill {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--on-dark);
  font-family: var(--font-mono); font-size: 10px;
  padding: 6px 12px; border-radius: var(--r-full);
  z-index: 4;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  white-space: nowrap;
}
.stage-pill .live-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--success); margin-right: 6px;
  animation: live-pulse 1.4s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(43,154,102,0.7); }
  50%      { opacity: 0.7; box-shadow: 0 0 0 6px rgba(43,154,102,0); }
}

/* ===== Section bands ===== */
.section { padding: 96px 32px; }
.section.bone { background: var(--surface-bone); }
.section.cream { background: var(--canvas); }
.section.dark { background: var(--surface-dark); color: var(--on-dark); }
.section.dark .t-body, .section.dark .t-body-sm { color: var(--on-dark-mute); }
.section-head {
  max-width: 1280px; margin: 0 auto 48px;
  display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: end;
}
.section-head .eyebrow {
  font-family: var(--font-ui); font-weight: 600; font-size: 12px; color: var(--charcoal);
  text-transform: uppercase; letter-spacing: 1.5px;
}
.section.dark .section-head .eyebrow { color: var(--on-dark-mute); }
.section-head h2 { max-width: 920px; }

/* ===== Marquee (contributor / brand strip) ===== */
.marquee {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--canvas);
  padding: 24px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex; gap: 56px;
  animation: scroll 40s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  color: var(--ink); opacity: 0.78;
  letter-spacing: -0.5px;
}
.marquee-item .glyph {
  width: 32px; height: 32px; border-radius: var(--r-full);
  background: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; flex: 0 0 auto;
}
.marquee-item .glyph svg { width: 18px; height: 18px; display: block; }

/* Industry card large icon */
.ind-icon svg { width: 100%; height: 100%; display: block; stroke-width: 1.8; }
.marquee-item .glyph.dark { background: var(--ink); }
.marquee-item .glyph.bone { background: var(--surface-bone); border: 1px solid var(--hairline); color: var(--ink); }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== Capability cards (model-card style) ===== */
.cap-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.cap-card {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
  text-decoration: none; color: var(--ink);
  transition: transform 200ms var(--ease), border-color 200ms var(--ease);
}
.cap-card:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--hairline-strong); }
.cap-card .thumb {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse 70% 60% at 20% 10%, rgba(59,130,246,0.9), transparent 70%),
    radial-gradient(ellipse 80% 50% at 100% 100%, rgba(147,197,253,0.45), transparent 70%),
    var(--primary);
  color: var(--on-primary);
}
/* Mini browser (full website build) */
.thumb-browser {
  position: absolute; inset: 14% 10% 12%;
  background: var(--canvas);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  overflow: hidden;
  display: flex; flex-direction: column;
  transform: rotate(-2deg);
}
.thumb-browser .bar {
  display: flex; gap: 4px; align-items: center;
  padding: 6px 8px; background: var(--surface-bone);
  border-bottom: 1px solid var(--hairline);
}
.thumb-browser .bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--stone); display: inline-block; }
.thumb-browser .bar .url {
  flex: 1; margin-left: 6px;
  background: var(--canvas); border-radius: var(--r-full);
  font-family: var(--font-mono); font-size: 7px; color: var(--mute);
  padding: 2px 6px; text-align: left;
}
.thumb-browser .page { flex: 1; padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.thumb-browser .hero-block { background: var(--primary); height: 26%; border-radius: 3px; position: relative; }
.thumb-browser .hero-block::after {
  content: ''; position: absolute; left: 6px; bottom: 5px; width: 40%; height: 4px;
  background: var(--on-primary); border-radius: 2px;
}
.thumb-browser .row { display: flex; gap: 3px; flex: 1; }
.thumb-browser .row > div { flex: 1; background: var(--surface-bone); border-radius: 3px; }
.thumb-browser .row > div:first-child { background: var(--ink); }

/* Social stack */
.thumb-social { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.thumb-social .post {
  position: absolute; width: 52%; aspect-ratio: 1 / 1.05;
  background: var(--canvas);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.thumb-social .post .head { display: flex; align-items: center; gap: 4px; padding: 5px 6px; }
.thumb-social .post .head .av { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.thumb-social .post .head .lbl { font-family: var(--font-mono); font-size: 6px; color: var(--mute); font-weight: 600; }
.thumb-social .post .img { flex: 1; background: linear-gradient(135deg, var(--primary), var(--hero-glow)); }
.thumb-social .post.p1 { transform: translate(-30%, -22%) rotate(-8deg); }
.thumb-social .post.p2 { transform: translate(0%, -14%) rotate(0deg); z-index: 2; }
.thumb-social .post.p3 { transform: translate(30%, -6%) rotate(8deg); }
.thumb-social .post.p2 .img { background: var(--ink); }
.thumb-social .post.p3 .img { background: linear-gradient(135deg, #fbbf24, #f87171); }
.thumb-social .logos {
  position: absolute; left: 0; right: 0; bottom: 8%;
  display: flex; justify-content: center; gap: 10px; z-index: 5;
}
.thumb-social .logos .lg {
  width: 30px; height: 30px; border-radius: 50%;
  background: #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.18);
  display: inline-flex; align-items: center; justify-content: center;
}
.thumb-social .logos .lg svg { width: 18px; height: 18px; display: block; }

/* Online ordering */
.thumb-order { position: absolute; inset: 12% 14%; }
.thumb-order .doc {
  background: var(--canvas); border-radius: 8px; padding: 8px;
  display: flex; flex-direction: column; gap: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
  transform: rotate(-1.5deg);
  width: 100%;
}
.thumb-order .doc .ttl { font-family: var(--font-display); font-weight: 700; font-size: 8px; color: var(--ink); margin-bottom: 2px; }
.thumb-order .doc .item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 6px; background: var(--surface-bone); border-radius: 4px;
}
.thumb-order .doc .item .name { font-family: var(--font-ui); font-weight: 600; font-size: 6px; color: var(--ink); }
.thumb-order .doc .item .price { font-family: var(--font-mono); font-size: 6px; color: var(--charcoal); }
.thumb-order .doc .cta {
  background: var(--ink); color: var(--on-dark);
  border-radius: var(--r-full); padding: 5px;
  font-family: var(--font-ui); font-size: 7px; font-weight: 700; text-align: center;
  margin-top: 2px;
}
.thumb-order .alert {
  position: absolute; right: -2%; top: 8%;
  background: var(--ink); color: var(--on-dark);
  border-radius: var(--r-full); padding: 4px 8px;
  font-family: var(--font-ui); font-weight: 600; font-size: 7px;
  display: flex; align-items: center; gap: 4px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.22);
  transform: rotate(4deg);
}
.thumb-order .alert .pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--success); animation: live-pulse 1.4s infinite; }

/* Booking & appointments */
.thumb-book { position: absolute; inset: 12% 14%; }
.thumb-book .doc {
  background: var(--canvas); border-radius: 8px; padding: 8px;
  display: flex; flex-direction: column; gap: 5px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
  transform: rotate(-1.5deg);
  width: 100%;
}
.thumb-book .doc .ttl { font-family: var(--font-display); font-weight: 700; font-size: 8px; color: var(--ink); }
.thumb-book .doc .cal {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px;
}
.thumb-book .doc .cal i { aspect-ratio: 1; background: var(--surface-bone); border-radius: 2px; display: block; }
.thumb-book .doc .cal i.on { background: var(--primary); box-shadow: 0 0 0 1.5px var(--ink) inset; }
.thumb-book .doc .cta {
  background: var(--ink); color: var(--on-dark);
  border-radius: var(--r-full); padding: 5px;
  font-family: var(--font-ui); font-size: 7px; font-weight: 700; text-align: center;
}
.thumb-book .alert {
  position: absolute; right: -4%; bottom: 6%;
  background: var(--ink); color: var(--on-dark);
  border-radius: var(--r-full); padding: 4px 8px;
  font-family: var(--font-ui); font-weight: 600; font-size: 7px;
  display: flex; align-items: center; gap: 4px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.22);
  transform: rotate(4deg);
}
.thumb-book .alert .pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--success); animation: live-pulse 1.4s infinite; }

/* Reviews wall */
.thumb-reviews { position: absolute; inset: 0; padding: 14%; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.thumb-reviews .big-stars { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #fbbf24; letter-spacing: 2px; text-align: center; line-height: 1; text-shadow: 0 2px 6px rgba(0,0,0,0.25); }
.thumb-reviews .rv {
  background: var(--canvas); color: var(--ink);
  border-radius: 6px;
  padding: 5px 7px;
  font-family: var(--font-ui); font-size: 7px; line-height: 1.2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  display: flex; align-items: center; gap: 5px;
}
.thumb-reviews .rv .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-bone); flex-shrink: 0; }
.thumb-reviews .rv .stars { color: #f59e0b; font-size: 6px; letter-spacing: 0.5px; }
.thumb-reviews .rv .name { font-weight: 600; font-size: 7px; }

/* Quote form */
.thumb-form { position: absolute; inset: 14% 12%; display: flex; flex-direction: column; gap: 4px; }
.thumb-form .doc {
  background: var(--canvas);
  border-radius: 8px;
  padding: 8px;
  flex: 1;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  display: flex; flex-direction: column; gap: 5px;
  transform: rotate(-1deg);
}
.thumb-form .doc .ttl { font-family: var(--font-display); font-weight: 700; font-size: 8px; color: var(--ink); }
.thumb-form .doc .inp { height: 8px; border-radius: var(--r-full); background: var(--surface-bone); }
.thumb-form .doc .inp.filled { background: var(--ink); width: 70%; }
.thumb-form .doc .btn-mini { background: var(--primary); color: var(--on-primary); border-radius: var(--r-full); padding: 4px; font-family: var(--font-ui); font-size: 7px; font-weight: 700; text-align: center; margin-top: 2px; }
.thumb-form .alert {
  position: absolute; right: -2%; bottom: 12%;
  background: var(--ink); color: var(--on-dark);
  border-radius: 6px;
  padding: 5px 7px;
  font-family: var(--font-mono); font-size: 7px; font-weight: 600;
  display: flex; align-items: center; gap: 4px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
  transform: rotate(4deg);
}
.thumb-form .alert .pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--success); animation: live-pulse 1.4s infinite; }
.cap-card .badges { display: flex; gap: 6px; flex-wrap: wrap; }
.cap-card .name { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.1; letter-spacing: -0.5px; }
.cap-card .slug { font-family: var(--font-mono); font-size: 12px; color: var(--mute); }
.cap-card .desc { font-size: 14px; line-height: 1.43; color: var(--charcoal); }
.cap-card .meta { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--hairline); margin-top: auto; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  height: 22px; padding: 0 10px;
  border-radius: var(--r-full);
  font-size: 12px; line-height: 1; font-weight: 500;
}
.badge-success { background: var(--success); color: var(--on-dark); }
.badge-tag { background: var(--canvas); color: var(--ink); border: 1px solid var(--hairline); }
.badge-orange { background: var(--primary); color: var(--on-primary); }

/* ===== Code block ===== */
.code-block {
  background: var(--surface-dark);
  border-radius: var(--r-md);
  overflow: hidden;
  font-family: var(--font-mono);
  color: var(--on-dark);
}
.code-block .tabs {
  background: var(--surface-deep);
  display: flex; gap: 0;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.code-block .tabs button {
  background: transparent; border: 0; cursor: pointer;
  font-family: var(--font-mono); font-size: 11px; line-height: 1.5;
  color: var(--on-dark-mute);
  padding: 12px 14px;
  border-bottom: 2px solid transparent;
  transition: color 150ms var(--ease), border-color 150ms var(--ease);
}
.code-block .tabs button.active { color: var(--on-dark); border-bottom-color: var(--primary); }
.code-block pre {
  margin: 0; padding: 24px;
  font-family: var(--font-mono); font-size: 14px; line-height: 1.6;
  color: var(--on-dark);
  white-space: pre-wrap; word-break: break-word;
}
.code-block .kw  { color: #f59ce0; }
.code-block .str { color: #c8e89a; }
.code-block .com { color: var(--ash); }
.code-block .fn  { color: #6ee7b7; }
.code-block .num { color: #fcd34d; }
.code-block .pun { color: var(--stone); }
.copy-btn { font-family: var(--font-mono); font-size: 11px; }

/* ===== Pricing tiers ===== */
.pricing-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.tier {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
}
.tier.featured { background: var(--surface-dark); color: var(--on-dark); border-color: var(--surface-dark); }
.tier.featured .feat-line { border-color: rgba(255,255,255,0.1); }
.tier .name { font-family: var(--font-display); font-weight: 700; font-size: 48px; line-height: 1.0; letter-spacing: -1px; }
.tier .price { font-family: var(--font-display); font-weight: 600; font-size: 30px; line-height: 1.2; letter-spacing: -0.5px; }
.tier .desc { font-size: 14px; line-height: 1.43; color: var(--charcoal); }
.tier.featured .desc { color: var(--on-dark-mute); }
.tier .feat-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.tier .feat-line {
  padding: 14px 0; border-top: 1px solid var(--hairline);
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; line-height: 1.5;
}
.tier .feat-line:last-child { border-bottom: 1px solid var(--hairline); }
.tier.featured .feat-line:last-child { border-bottom-color: rgba(255,255,255,0.1); }
.tier .feat-line .dot { color: var(--primary); }

/* ===== Service big-list ===== */
.service-row {
  display: grid; grid-template-columns: 80px 1fr 220px 140px;
  gap: 32px; align-items: start;
  padding: 32px 0;
  border-top: 1px solid var(--hairline);
}
.service-row:last-child { border-bottom: 1px solid var(--hairline); }
.service-row .num { font-family: var(--font-mono); font-size: 14px; color: var(--mute); padding-top: 8px; }
.service-row .name { font-family: var(--font-display); font-weight: 700; font-size: 56px; line-height: 1.0; letter-spacing: -1.4px; }
.service-row .desc { font-size: 16px; line-height: 1.5; color: var(--charcoal); }
.service-row .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.service-row .price-line { display: flex; flex-direction: column; gap: 4px; }
.service-row .price-line .from { font-family: var(--font-ui); font-weight: 600; font-size: 12px; color: var(--charcoal); text-transform: uppercase; letter-spacing: 1.5px; }
.service-row .price-line .amt { font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: -0.5px; }

/* ===== Form ===== */
.form-shell {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px;
  max-width: 1280px; margin: 0 auto;
}
.input, .textarea, .select {
  width: 100%;
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-full);
  padding: 12px 20px; height: 44px;
  font-family: var(--font-ui); font-size: 16px; color: var(--ink);
  outline: 0; transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.textarea { border-radius: var(--r-md); height: auto; min-height: 160px; padding: 16px 20px; resize: vertical; }
.input:focus, .textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(29,78,216,0.15); }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-ui); font-weight: 600; font-size: 12px; color: var(--charcoal); text-transform: uppercase; letter-spacing: 1.2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 14px;
  border-radius: var(--r-full);
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  font-family: var(--font-ui); font-weight: 500; font-size: 14px;
  color: var(--ink); cursor: pointer;
  transition: all 150ms var(--ease);
}
.chip:hover { border-color: var(--hairline-strong); }
.chip.active { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }

/* ===== Footer ===== */
.footer {
  background: var(--surface-deep);
  color: var(--on-dark);
  padding: 64px 32px 32px;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2.4fr 1fr 1fr 1fr; gap: 48px;
}
.footer h5 { font-family: var(--font-ui); font-weight: 600; font-size: 14px; color: var(--on-dark); margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer ul a { color: var(--on-dark-mute); font-size: 14px; }
.footer ul a:hover { color: var(--on-dark); text-decoration: none; }
.footer-brand { font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: -0.5px; color: var(--on-dark); display: inline-flex; gap: 10px; align-items: center; margin-bottom: 16px; }
.footer-brand img { height: 36px; width: auto; display: block; }
.footer-brand .mark { width: 32px; height: 32px; border-radius: var(--r-full); background: var(--primary); display: inline-flex; align-items: center; justify-content: center; }
.footer-brand .mark::after { content: ''; width: 12px; height: 12px; border-radius: var(--r-full); background: var(--surface-deep); }
.footer-tag { color: var(--on-dark-mute); font-size: 14px; line-height: 1.5; max-width: 320px; }
.footer-legal {
  max-width: 1280px; margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--divider-dark);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11px; color: var(--on-dark-mute);
}
.footer-legal .row { display: flex; gap: 24px; flex-wrap: wrap; }

/* ===== Manifesto / huge type rail ===== */
.manifesto {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1.0; letter-spacing: -2px;
  color: var(--ink);
  max-width: 1280px; margin: 0 auto;
}
.manifesto .stamp { background: var(--primary); color: var(--on-primary); padding: 0 16px; border-radius: var(--r-sm); display: inline-block; }
.manifesto .out { -webkit-text-stroke: 2px var(--ink); color: transparent; }
.manifesto .ink { color: var(--ink); }
.manifesto .mute { color: var(--ash); }

/* ===== Numbers strip ===== */
.numbers {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  max-width: 1280px; margin: 0 auto;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.numbers > div {
  padding: 32px 24px;
  border-right: 1px solid var(--hairline);
}
.numbers > div:last-child { border-right: 0; }
.numbers .label { font-family: var(--font-ui); font-weight: 600; font-size: 12px; color: var(--charcoal); text-transform: uppercase; letter-spacing: 1.5px; }
.numbers .value { font-family: var(--font-display); font-weight: 700; font-size: 56px; line-height: 1.0; letter-spacing: -1.4px; margin-top: 8px; }
.numbers .value .accent { color: var(--primary); }

/* ===== Steps ===== */
.steps {
  max-width: 1280px; margin: 0 auto;
  display: grid; gap: 0;
}
.step-row {
  display: grid; grid-template-columns: 100px 1fr 1fr;
  gap: 48px; align-items: start;
  padding: 40px 0;
  border-top: 1px solid var(--divider-dark);
}
.section.dark .step-row { border-top-color: var(--divider-dark); }
.step-row:last-child { border-bottom: 1px solid var(--divider-dark); }
.step-row .step-num { font-family: var(--font-ui); font-weight: 600; font-size: 12px; color: var(--on-dark-mute); padding-top: 12px; text-transform: uppercase; letter-spacing: 1.5px; }
.step-row .step-title { font-family: var(--font-display); font-weight: 700; font-size: 48px; line-height: 1.0; letter-spacing: -1px; color: var(--on-dark); }
.step-row .step-desc { font-size: 16px; line-height: 1.5; color: var(--on-dark-mute); }

/* ===== CTA strip ===== */
.cta-strip {
  background: var(--primary);
  color: var(--on-primary);
  padding: 160px 32px;
  text-align: center;
}
.cta-strip h2 { color: var(--on-primary); margin-bottom: 32px; }
.cta-strip .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-strip .btn-outline { background: transparent; color: var(--on-primary); border-color: rgba(255,255,255,0.5); }
.cta-strip .btn-outline:hover { background: var(--on-primary); color: var(--ink); border-color: var(--on-primary); }
.cta-strip .btn-dark:hover { background: var(--surface-deep); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .form-shell { grid-template-columns: 1fr; gap: 48px; }
  .service-row { grid-template-columns: 1fr; gap: 16px; }
  .service-row .name { font-size: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .step-row { grid-template-columns: 60px 1fr; }
  .step-row .step-desc { grid-column: 2; }
  .step-row .step-title { font-size: 32px; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .numbers > div:nth-child(2) { border-right: 0; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .section { padding: 64px 24px; }
  .hero { padding: 64px 24px; }
  .cta-strip { padding: 96px 24px; }
  .cap-grid { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
}
