/*
  Home hero, product demo and integrations globe, shared by / and /es/.
  Same palette and type as Meetzy Chat: paper, ink and burnt orange, Geist.
*/
/* Hero — same palette and type as Meetzy Chat (paper / ink / burnt orange, Geist) */
:root {
  --mz-paper: #faf9f6;
  --mz-surface: #ffffff;
  --mz-sunken: #f2f1ec;
  --mz-ink: #1b1a17;
  --mz-ink-soft: #5c5a52;
  --mz-ink-faint: #8b887e;
  --mz-line: #e6e3da;
  --mz-accent: #c1541f;
  --mz-accent-soft: #f7e9df;
  --mz-success: #3f7d5c;
}
.hc-hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--mz-paper);
  color: var(--mz-ink);
  font-family: 'Geist', 'Inter', ui-sans-serif, system-ui, sans-serif;
}
.hc-hero h1 { font-family: 'Geist', 'Inter', sans-serif; }
.hc-ascii { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
/* Quiet zone behind the copy so the field never fights the headline */
.hc-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 52% 30% at 50% 26%, rgba(250, 249, 246, 0.94), rgba(250, 249, 246, 0.6) 55%, transparent 82%),
    linear-gradient(to bottom, transparent 78%, var(--mz-paper));
}
.hc-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mz-ink-soft);
}
.hc-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--mz-accent); box-shadow: 0 0 0 4px var(--mz-accent-soft); }
.hc-title {
  font-size: clamp(2.4rem, 4.6vw, 3.75rem);
  line-height: 1.02; letter-spacing: -0.045em; font-weight: 600;
  color: var(--mz-ink);
  text-wrap: balance;
}
.hc-sub { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--mz-ink-soft); }
.hc-btn-demo {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  background: var(--mz-accent); color: #fff;
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
  box-shadow: 0 14px 34px -14px rgba(193, 84, 31, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.hc-btn-demo:hover { background: #a9461a; transform: translateY(-1px); box-shadow: 0 18px 40px -14px rgba(193, 84, 31, 0.8); }
.hc-btn-demo:focus-visible, .hc-btn-ghost:focus-visible { outline: 2px solid var(--mz-accent); outline-offset: 3px; }
.hc-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 24px; border-radius: 999px;
  border: 1px solid var(--mz-line); background: rgba(255, 255, 255, 0.7);
  color: var(--mz-ink); font-size: 15px; font-weight: 500;
  transition: border-color .2s ease, background-color .2s ease;
}
.hc-btn-ghost:hover { border-color: var(--mz-ink-faint); background: #fff; }
.hc-note { font-size: 13px; color: var(--mz-ink-faint); }
.hc-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--mz-ink-soft); transition: color .2s ease; }
.hc-link:hover { color: var(--mz-ink); }
.hc-backed {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 999px; font-size: 11px;
  color: var(--mz-ink-soft); border: 1px solid var(--mz-line); background: rgba(255, 255, 255, 0.6);
}

/* ---- Product window: the real chat screens recreated in HTML, drawn on a fixed stage and scaled ---- */
.hc-app {
  position: relative;
  max-width: 1120px; margin: 0 auto;
  border-radius: 18px;
  background: var(--mz-surface);
  border: 1px solid var(--mz-line);
  box-shadow: 0 60px 120px -60px rgba(27, 26, 23, 0.5), 0 2px 8px rgba(27, 26, 23, 0.05);
  overflow: hidden;
}
.app-chrome {
  display: flex; align-items: center; gap: 7px;
  height: 36px; padding: 0 14px;
  background: var(--mz-sunken); border-bottom: 1px solid var(--mz-line);
}
.app-chrome span { width: 10px; height: 10px; border-radius: 999px; background: #dedad0; }
.app-chrome p { margin: 0 auto; transform: translateX(-24px); font-family: 'Geist Mono', ui-monospace, monospace; font-size: 11px; color: var(--mz-ink-faint); }
.app-viewport { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--mz-paper); }
.app-stage {
  position: absolute; top: 0; left: 0;
  width: 1280px; height: 720px;
  transform-origin: 0 0;
  display: flex;
  font-family: 'Geist', 'Inter', sans-serif; color: var(--mz-ink);
  background: var(--mz-paper);
}
.app-mbar { display: none; }
.app-logo { height: 22px; width: auto; }

/* Sidebar */
.app-side {
  width: 232px; flex-shrink: 0;
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 12px 14px;
  border-right: 1px solid var(--mz-line);
  font-size: 14px;
}
.app-side .app-logo { margin: 2px 8px 12px; align-self: flex-start; }
.app-ws { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--mz-line); border-radius: 10px; background: var(--mz-surface); }
.app-ws small { display: block; font-size: 9px; letter-spacing: .08em; color: var(--mz-ink-faint); }
.app-ws b { font-size: 13px; font-weight: 600; }
.app-ws-ico { width: 24px; height: 24px; border-radius: 6px; background: var(--mz-accent-soft); box-shadow: inset 0 0 0 6px var(--mz-accent-soft), inset 0 0 0 8px #e9b89c; }
.app-new { margin-top: 4px; padding: 9px 12px; border: 1px solid var(--mz-line); border-radius: 10px; background: var(--mz-surface); font-weight: 500; transition: background-color .3s ease, border-color .3s ease; }
.app-nav { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.app-nav span { padding: 7px 12px; border-radius: 9px; color: var(--mz-ink-soft); transition: background-color .3s ease, color .3s ease; }
.app-nav span.is-on, .app-new.is-on { background: #ecebe5; color: var(--mz-ink); border-color: #dcd8cd; }
.app-side-h { margin: 10px 12px 2px; font-size: 10px; letter-spacing: .08em; color: var(--mz-ink-faint); }
.app-convs { display: flex; flex-direction: column; gap: 2px; }
.app-convs li { padding: 6px 12px; font-size: 12.5px; color: var(--mz-ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-convs em { display: block; font-style: normal; font-size: 10.5px; color: var(--mz-ink-faint); }
.app-user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px 6px 0; border-top: 1px solid var(--mz-line); }
.app-user > span { width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; background: var(--mz-accent-soft); color: var(--mz-accent); font-size: 11px; font-weight: 700; }
.app-user b { display: block; font-size: 13px; }
.app-user small { font-size: 11px; color: var(--mz-ink-faint); }

/* Scenes */
.app-main { position: relative; flex: 1; overflow: hidden; }
.app-scene {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  padding: 36px 96px 28px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease, visibility 0s linear .5s;
}
.app-scene.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .5s ease, transform .5s ease; }
[data-step] { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; }
[data-step].in { opacity: 1; transform: none; }

.sc-thread { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; overflow: hidden; }
.sc-user { align-self: flex-end; max-width: 70%; padding: 11px 16px; border-radius: 18px 18px 4px 18px; background: #ecebe5; font-size: 15px; line-height: 1.45; }
.sc-bot { display: flex; align-items: flex-start; gap: 12px; }
.sc-ball { flex-shrink: 0; width: 26px; height: 26px; border-radius: 999px; background: radial-gradient(circle at 35% 30%, #fde68a, #f59e0b 60%, #b45309); box-shadow: 0 0 12px rgba(245, 158, 11, 0.35); }
.sc-card { padding: 14px 18px; border-radius: 14px; background: var(--mz-surface); border: 1px solid var(--mz-line); min-width: 380px; }
.sc-wide { min-width: 620px; }
.sc-card-h { font-size: 14px; font-weight: 600; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.sc-checks { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--mz-ink-soft); }
.sc-checks li { display: flex; align-items: center; gap: 10px; }
.sc-checks li::before { content: '✓'; width: 18px; height: 18px; border-radius: 999px; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: #e6f0ea; color: var(--mz-success); }
.sc-checks b { color: var(--mz-success); }
.sc-composer {
  display: flex; align-items: center; gap: 6px; margin-top: 18px;
  padding: 14px 14px 14px 20px; border-radius: 18px;
  background: var(--mz-surface); border: 1px solid var(--mz-line);
  font-size: 15px; min-height: 54px;
}
.sc-caret { width: 2px; height: 18px; background: var(--mz-accent); animation: ghost-blink 1s steps(1) infinite; }
.sc-send { margin-left: auto; width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; background: var(--mz-ink); color: var(--mz-paper); font-size: 14px; }

.sc-diff { border: 1px solid var(--mz-line); border-radius: 10px; overflow: hidden; background: var(--mz-paper); }
.sc-diff-h { padding: 9px 12px; font-size: 13px; color: var(--mz-ink-soft); border-bottom: 1px solid var(--mz-line); display: flex; align-items: center; gap: 8px; }
.sc-diff code { display: block; padding: 7px 12px; font-family: 'Geist Mono', monospace; font-size: 12.5px; }
.sc-diff .del { background: #f8e8e3; color: #8f3322; }
.sc-diff .add { background: #e6f0ea; color: #2f6448; }
.sc-tag { margin-left: auto; font-family: 'Geist Mono', monospace; font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 999px; background: var(--mz-accent-soft); color: var(--mz-accent); }
.sc-actions { display: flex; gap: 8px; margin-top: 12px; }
.sc-btn-primary, .sc-btn { font-size: 13px; padding: 8px 14px; border-radius: 999px; font-weight: 500; }
.sc-btn-primary { background: var(--mz-ink); color: var(--mz-paper); transition: transform .2s ease, background-color .2s ease; }
.sc-btn-primary.is-pressed { transform: scale(.95); background: var(--mz-accent); }
.sc-btn { border: 1px solid var(--mz-line); color: var(--mz-ink-soft); }
.sc-toast { align-self: center; padding: 10px 18px; border-radius: 999px; background: #e6f0ea; color: var(--mz-success); font-size: 14px; font-weight: 500; }

.sc-page { padding: 34px 64px 28px; }
.sc-page-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--mz-line); }
.sc-page-h h4 { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 6px; }
.sc-page-h p { font-size: 14px; color: var(--mz-ink-soft); max-width: 520px; line-height: 1.5; }
.sc-kicker { font-size: 10px; font-weight: 600; letter-spacing: .12em; color: var(--mz-accent); }
.sc-pill { flex-shrink: 0; padding: 7px 14px; border-radius: 999px; background: #e6f0ea; color: var(--mz-success); font-size: 13px; font-weight: 600; }
.sc-tree { position: relative; display: flex; flex-direction: column; align-items: center; gap: 34px; padding-top: 4px; }
.sc-tree > .sc-node, .sc-branch > .sc-node { position: relative; z-index: 1; }
.sc-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.sc-wires path { fill: none; stroke: #cfcabd; stroke-width: 1.6; stroke-linecap: round; transition: stroke-dashoffset .6s ease; }
.sc-wires path.is-live { stroke: var(--mz-accent); }
.sc-wires text { font-family: 'Geist Mono', monospace; font-size: 11px; font-weight: 600; fill: var(--mz-ink-faint); opacity: 0; transition: opacity .4s ease .3s; }
.sc-wires text.in { opacity: 1; }
.sc-node { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 12px; background: var(--mz-surface); border: 1px solid var(--mz-line); font-size: 14px; box-shadow: 0 6px 18px -12px rgba(27, 26, 23, .35); }
.sc-node img { width: 18px; height: 18px; }
.sc-root { background: var(--mz-ink); color: var(--mz-paper); border-color: var(--mz-ink); }
.sc-cond { border-color: #e9b89c; background: var(--mz-accent-soft); }
.sc-branches { display: grid; grid-template-columns: 1fr 1fr; gap: 120px; position: relative; }
.sc-branch { display: flex; flex-direction: column; align-items: center; gap: 34px; position: relative; }
.sc-branch small { font-family: 'Geist Mono', monospace; font-size: 11px; font-weight: 600; color: var(--mz-ink-faint); }
.sc-search { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--mz-line); background: var(--mz-surface); font-size: 15px; color: var(--mz-ink-soft); margin-bottom: 18px; min-height: 48px; }
.sc-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sc-apps span { position: relative; display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; background: var(--mz-surface); border: 1px solid var(--mz-line); font-size: 14px; transition: opacity .4s ease, border-color .4s ease, box-shadow .4s ease; }
.sc-apps img { width: 20px; height: 20px; }
.sc-apps b { margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--mz-success); opacity: 0; transition: opacity .4s ease; }
.sc-apps.is-filtering span:not(.sc-target) { opacity: .28; }
.sc-apps .sc-target.is-on { border-color: var(--mz-accent); box-shadow: 0 0 0 3px var(--mz-accent-soft); }
.sc-apps .sc-target.is-on b { opacity: 1; }
.sc-autonomy { padding: 16px; border-radius: 14px; border: 1px solid var(--mz-line); background: var(--mz-surface); margin-bottom: 18px; }
.sc-autonomy p { font-size: 14px; font-weight: 500; margin-bottom: 10px; }
.sc-autonomy > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sc-autonomy span { padding: 12px 14px; border-radius: 10px; border: 1px solid var(--mz-line); font-size: 14px; font-weight: 500; transition: all .4s ease; }
.sc-autonomy small { display: block; font-size: 12px; font-weight: 400; color: var(--mz-ink-faint); margin-top: 3px; }
.sc-autonomy span.is-on { border-color: var(--mz-accent); background: #fbf1ea; color: var(--mz-accent); }
.sc-camp { padding: 16px; border-radius: 14px; border: 1px solid var(--mz-line); background: var(--mz-surface); width: 640px; }
.sc-assets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.sc-assets i { aspect-ratio: 4 / 5; border-radius: 10px; }
.sc-assets .a1 { background: radial-gradient(circle at 30% 25%, #fde68a, transparent 45%), linear-gradient(160deg, #f4c7a1, #c1541f); }
.sc-assets .a2 { background: radial-gradient(circle at 70% 70%, #ffffff, transparent 40%), linear-gradient(200deg, #dfe9e3, #3f7d5c); }
.sc-assets .a3 { background: radial-gradient(circle at 50% 35%, #f7e9df, transparent 45%), linear-gradient(180deg, #2d2b21, #5c5a52); }
.sc-camp-f { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--mz-ink-soft); }
.sc-camp-f span { display: inline-flex; align-items: center; gap: 6px; }
.sc-camp-f img { width: 16px; height: 16px; }
.sc-camp-f em { margin-left: auto; font-style: normal; color: var(--mz-ink-faint); }

/* Build scene: the thread grows like the real chat, so hidden steps take no space until they appear */
.sc-thread [data-step]:not(.in) { display: none; }
.sc-thread [data-step].in { animation: sc-rise .45s ease both; }
@keyframes sc-rise { from { opacity: 0; transform: translateY(8px); } }
.sc-gen { min-width: 460px; }
.sc-tests { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; color: var(--mz-ink-soft); }
.sc-tests li { display: flex; align-items: center; gap: 10px; }
.sc-st { width: 16px; height: 16px; border-radius: 999px; flex-shrink: 0; border: 2px solid #e9b89c; border-top-color: var(--mz-accent); animation: sc-spin .7s linear infinite; }
.sc-tests li.pass .sc-st { animation: none; border: 0; background: #e6f0ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233f7d5c' stroke-width='3.2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 10px no-repeat; }
.sc-tests li.pass { color: var(--mz-ink); }
@keyframes sc-spin { to { transform: rotate(360deg); } }
.sc-evals { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--mz-line); }
.sc-evals small { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--mz-ink-faint); margin-right: 4px; }
.sc-evals span { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--mz-accent-soft); color: #9a4318; }

/* Live test call: light card, smooth voice line, transcript */
.sc-call { width: 480px; padding: 14px 16px; border-radius: 14px; background: var(--mz-surface); border: 1px solid var(--mz-line); box-shadow: 0 14px 30px -22px rgba(27, 26, 23, .5); }
.sc-call-top { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.sc-call-top em { margin-left: auto; font-style: normal; font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--mz-ink-faint); }
.sc-live { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mz-accent); }
.sc-live i { width: 7px; height: 7px; border-radius: 999px; background: var(--mz-accent); box-shadow: 0 0 0 4px var(--mz-accent-soft); animation: cd-pulse 1.4s ease-in-out infinite; }
.sc-voice { display: block; width: 100%; height: 48px; margin: 8px 0 6px; }
.sc-turns { display: flex; flex-direction: column; gap: 6px; }
.sc-turns p { font-size: 13px; line-height: 1.45; color: var(--mz-ink); }
.sc-turns small { display: inline-block; width: 46px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--mz-accent); }
.sc-turns p.you small { color: var(--mz-ink-faint); }

/* Call review scene: a stack of calls being listened to, OK/KO with feedback, then the fixes */
.sc-user-top { margin-bottom: 18px; }
.sc-audit { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; min-height: 0; }
.sc-review { padding: 16px; border-radius: 14px; background: var(--mz-surface); border: 1px solid var(--mz-line); }
.sc-review-h { display: flex; align-items: center; justify-content: space-between; font-size: 14px; margin-bottom: 12px; }
.sc-count { font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--mz-ink-faint); }
.sc-stack { position: relative; height: 128px; margin-bottom: 14px; }
.sc-callc {
  position: absolute; left: 0; right: 0; top: 0;
  padding: 12px 14px; border-radius: 12px;
  background: var(--mz-paper); border: 1px solid var(--mz-line);
  transition: transform .45s ease, opacity .45s ease, box-shadow .45s ease;
  transform-origin: 50% 0;
}
.sc-callc.p0 { z-index: 4; box-shadow: 0 10px 24px -16px rgba(27, 26, 23, .45); background: #fff; }
.sc-callc.p1 { z-index: 3; transform: translateY(12px) scale(.96); opacity: .7; }
.sc-callc.p2 { z-index: 2; transform: translateY(24px) scale(.92); opacity: .4; }
.sc-callc.p3 { z-index: 1; transform: translateY(34px) scale(.88); opacity: 0; }
.sc-callc.gone { z-index: 5; transform: translateX(-40px) rotate(-3deg); opacity: 0; }
.sc-callc-h { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.sc-callc-h em { margin-left: auto; font-style: normal; font-family: 'Geist Mono', monospace; font-size: 11.5px; color: var(--mz-ink-faint); }
.sc-play { width: 24px; height: 24px; border-radius: 999px; background: var(--mz-ink); position: relative; flex-shrink: 0; }
.sc-play::after { content: ''; position: absolute; left: 9px; top: 7px; border-left: 8px solid var(--mz-paper); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.sc-callc.is-playing .sc-play { background: var(--mz-accent); }
.sc-callc.is-playing .sc-play::after { left: 8px; top: 8px; width: 8px; height: 8px; border: 0; box-shadow: inset 2.5px 0 0 #fff, inset -2.5px 0 0 #fff; }
.sc-prog { height: 4px; border-radius: 999px; background: #ecebe5; margin: 10px 0 8px; overflow: hidden; }
.sc-prog i { display: block; height: 100%; width: 0; background: var(--mz-accent); }
.sc-callc.is-playing .sc-prog i { animation: sc-listen 1.5s linear forwards; }
@keyframes sc-listen { to { width: 100%; } }
.sc-callc p { font-size: 12.5px; color: var(--mz-ink-soft); font-style: italic; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-verdict { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.sc-verdict span { text-align: center; padding: 9px; border-radius: 10px; font-size: 13px; font-weight: 600; border: 1px solid var(--mz-line); color: var(--mz-ink-soft); transition: all .2s ease; }
.sc-verdict .sc-ok.is-pressed { background: #e6f0ea; border-color: #9cc5ae; color: var(--mz-success); transform: scale(.97); }
.sc-verdict .sc-ko.is-pressed { background: #f8e8e3; border-color: #e3a898; color: #b3402c; transform: scale(.97); }
.sc-fb { display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--mz-line); font-size: 13px; }
.sc-fb small { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--mz-ink-faint); }
.sc-fb .sc-caret { height: 14px; }
.sc-reviewed { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.sc-reviewed li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--mz-ink-soft); animation: sc-in .35s ease; }
.sc-reviewed b { font-size: 10.5px; padding: 2px 7px; border-radius: 999px; }
.sc-reviewed b.ok { background: #e6f0ea; color: var(--mz-success); }
.sc-reviewed b.ko { background: #f8e8e3; color: #b3402c; }
@keyframes sc-in { from { opacity: 0; transform: translateY(-4px); } }
.sc-result { padding: 16px; border-radius: 14px; background: var(--mz-surface); border: 1px solid var(--mz-line); }
.sc-result .sc-toast { display: block; margin-top: 12px; text-align: center; border-radius: 10px; padding: 9px 12px; font-size: 13px; }
@media (max-width: 767px) {
  .sc-user-top { display: none; }
  .sc-audit { grid-template-columns: 1fr; gap: 12px; }
  .sc-review, .sc-result { padding: 12px; }
  .sc-stack { height: 112px; margin-bottom: 10px; }
  .sc-reviewed { display: none; }
  .sc-result .sc-card-h { font-size: 13px; margin-bottom: 8px; }
  .sc-result .sc-diff code { padding: 5px 10px; }
  .sc-result .sc-actions { margin-top: 8px; }
  .sc-result .sc-btn { display: none; }
}

/* Scene selector under the window */
.hc-scenes { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.hc-scenes button {
  position: relative; overflow: hidden;
  padding: 8px 14px; border-radius: 999px;
  font-size: 13px; color: var(--mz-ink-soft);
  border: 1px solid var(--mz-line); background: rgba(255, 255, 255, .7);
  transition: color .2s ease, border-color .2s ease;
}
.hc-scenes button i { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--mz-accent); }
.hc-scenes button[aria-selected="true"] { color: var(--mz-ink); border-color: var(--mz-ink-faint); background: #fff; }
.hc-scenes button[aria-selected="true"] i { animation: sc-progress var(--scene-ms, 7000ms) linear forwards; }
@keyframes sc-progress { to { width: 100%; } }

/* 9:16 on phones: no sidebar, app bar on top, the same scenes in a phone-shaped stage */
@media (max-width: 767px) {
  .hc-app { max-width: 420px; border-radius: 28px; }
  .app-chrome { display: none; }
  .app-viewport { aspect-ratio: 9 / 16; }
  .app-stage { width: 390px; height: 693px; flex-direction: column; }
  .app-side { display: none; }
  .app-mbar { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--mz-line); }
  .app-burger { display: grid; gap: 3px; } .app-burger i { display: block; width: 16px; height: 2px; border-radius: 2px; background: var(--mz-ink); }
  .app-ws-pill { margin-left: auto; font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--mz-line); color: var(--mz-ink-soft); }
  .app-scene, .sc-page { padding: 20px 16px 16px; }
  .sc-user { max-width: 88%; font-size: 14px; }
  .sc-card, .sc-wide { min-width: 0; width: 100%; }
  .sc-bot { gap: 8px; } .sc-ball { width: 22px; height: 22px; }
  .sc-call, .sc-gen { width: 100%; min-width: 0; }
  .sc-tests { font-size: 12.5px; gap: 5px; }
  .sc-evals span { font-size: 11px; padding: 3px 8px; }
  .sc-diff code { font-size: 11.5px; white-space: normal; }
  .sc-page-h { flex-direction: column; gap: 10px; padding-bottom: 14px; margin-bottom: 16px; }
  .sc-page-h h4 { font-size: 22px; }
  .sc-page-h p { font-size: 13px; }
  .sc-branches { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sc-tree, .sc-branch { gap: 26px; }
  .sc-tree .sc-node { font-size: 12px; padding: 9px 10px; gap: 6px; text-align: center; }
  .sc-tree .sc-node img { width: 14px; height: 14px; }
  .sc-apps { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .sc-apps span { padding: 11px 12px; font-size: 13px; }
  .sc-apps b { position: absolute; right: 8px; top: -9px; background: #e6f0ea; padding: 1px 6px; border-radius: 999px; }
  .sc-autonomy > div { grid-template-columns: 1fr; gap: 6px; }
  .sc-autonomy span { padding: 8px 12px; }
  .sc-camp { width: 100%; }
  .sc-camp-f { flex-wrap: wrap; }
  .sc-camp-f em { margin-left: 0; width: 100%; }
  .hc-scenes button { font-size: 12px; padding: 7px 11px; }
}

.cap {
  font-size: 12.5px; color: var(--mz-ink-soft);
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--mz-line);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
@keyframes cd-pulse { 50% { opacity: .35; } }

/* Integrations — same palette as the hero */
.hc-int { background: var(--mz-paper); color: var(--mz-ink); font-family: 'Geist', 'Inter', sans-serif; border-top: 1px solid var(--mz-line); border-bottom: 1px solid var(--mz-line); }
.hc-int-title { font-family: 'Geist', 'Inter', sans-serif; font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.04; letter-spacing: -0.04em; font-weight: 600; }
.hc-globe-wrap { position: relative; width: 100%; max-width: 620px; margin: 0 auto; }
.hc-globe { display: block; width: 100%; aspect-ratio: 1 / 1; cursor: grab; touch-action: pan-y; }
.hc-globe:active { cursor: grabbing; }
.hc-globe-hint { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); font-family: 'Geist Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .08em; color: var(--mz-ink-faint); }

.nav-demo {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--mz-accent); color: #fff;
  font-size: 13px; font-weight: 600;
  transition: background-color .2s ease;
}
.nav-demo:hover { background: #a9461a; }

@media (max-width: 640px) {
  .hc-veil {
    background:
      linear-gradient(to bottom, rgba(250, 249, 246, 0.6), rgba(250, 249, 246, 0.85) 30%, rgba(250, 249, 246, 0.6) 60%, var(--mz-paper));
  }
}

@keyframes ghost-blink { 50% { opacity: 0; } }
.sc-badge { margin-top: 10px; display: inline-block; padding: 5px 12px; border-radius: 999px; background: #e6f0ea; color: var(--mz-success); font-size: 12.5px; font-weight: 600; }
