/* ============================================================================
   intovibe official site — built on the App's brand system (PRD §4, tokens v1.0)
   60% paper / 30% sage / 10% amber. amber is punctuation, not paint.
   ============================================================================ */

/* ── tokens (copied verbatim from app/src/styles/tokens.css) ─────────────── */
:root {
  --paper: #f2ead5;
  --paper-2: #eae0c6;
  --paper-3: #e3d8b6;
  --sage: #8fa886;
  --sage-ink: #3d4a36;
  --ink: #2a2620;
  --amber: #c97b43;
  --butter: #e3b349;
  --rose: #d8a89b;

  --line: rgba(42, 38, 32, 0.1);
  --line-strong: rgba(42, 38, 32, 0.18);
  --shadow-soft: 0 1px 2px rgba(42, 38, 32, 0.05), 0 6px 18px rgba(42, 38, 32, 0.07);
  --shadow-lift: 0 2px 4px rgba(42, 38, 32, 0.07), 0 12px 28px rgba(42, 38, 32, 0.12);

  --font-ui: 'DM Sans', -apple-system, 'PingFang SC', 'Helvetica Neue', sans-serif;
  --font-serif: 'Newsreader', Georgia, 'PingFang SC', serif;
  --font-mono: 'DM Mono', ui-monospace, 'SF Mono', 'PingFang SC', monospace;
  --track-tight: -0.02em;
  --track-tighter: -0.035em;
  --track-mono: 0.22em;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --paper-warm: #f6efdd;
  --ink-soft: rgba(42, 38, 32, 0.62);
  --ink-faint: rgba(42, 38, 32, 0.42);

  --maxw: 1140px;
}

/* ── reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

/* ── shared atoms ────────────────────────────────────────────────────────── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
section { padding: 96px 0; position: relative; }

.mono-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
  color: var(--amber);
}
.section-kicker { display: inline-block; margin-bottom: 18px; }

.h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: var(--track-tighter);
  line-height: 1.12;
  max-width: 18ch;
}
.section-lead {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-soft);
  margin-top: 18px;
  max-width: 52ch;
  line-height: 1.7;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: var(--track-tight);
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: var(--paper-warm); box-shadow: var(--shadow-soft); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); background: #bd6f39; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--paper-warm); border-color: var(--ink-faint); transform: translateY(-2px); }
.btn-arrow { transition: transform 0.18s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ── nav ─────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.2) blur(10px);
  background: rgba(242, 234, 213, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.nav.scrolled { border-color: var(--line); background: rgba(242, 234, 213, 0.88); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: var(--track-tight); }
.brand-logo { width: 22px; height: 22px; flex: none; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 14px; color: var(--ink-soft); transition: color 0.18s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { padding: 9px 18px; font-size: 14px; }
.nav-burger { display: none; }

/* ── hero ────────────────────────────────────────────────────────────────── */
.hero { padding: 56px 0 84px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 52px;
  align-items: center;
}
.hero-eyebrow { margin-bottom: 22px; }
.hero h1 {
  font-size: clamp(27px, 2.9vw, 38px);
  font-weight: 800;
  letter-spacing: var(--track-tighter);
  line-height: 1.18;
}
.hero h1 .accent { color: var(--amber); }
.hero-sub {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.8vw, 21px);
  color: var(--ink-soft);
  line-height: 1.7;
  margin-top: 24px;
  max-width: 46ch;
}
.hero-ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px 18px;
  margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line);
}
.trust-item {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-soft);
}
.trust-item::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--sage); }

/* ── download ────────────────────────────────────────────────────────────── */
.download { background: var(--paper-2); padding: 68px 0; }
.download-grid {
  display: block;
}
.download-panel {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.download-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 74px;
  padding: 0 44px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.download-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}
.download-card--primary {
  background: var(--amber);
  color: var(--paper-warm);
  min-width: 286px;
}
.download-card--primary:hover { background: #bd6f39; }
.download-card--secondary {
  background: transparent;
  color: var(--ink);
  border-color: rgba(42, 38, 32, 0.18);
  min-width: 220px;
}
.download-card--secondary:hover {
  background: rgba(246, 239, 221, 0.5);
  border-color: rgba(42, 38, 32, 0.28);
}
.download-card span {
  display: inline-block;
}
.download-arrow {
  font-weight: 700;
  transform: translateY(-1px);
  transition: transform 0.18s ease;
}
.download-card:hover .download-arrow { transform: translate(4px, -1px); }

.invite-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 24px;
}
.invite-gate.open { display: grid; }
.invite-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 38, 32, 0.42);
  backdrop-filter: blur(6px);
}
.invite-dialog {
  position: relative;
  width: min(100%, 460px);
  background: var(--paper-warm);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lift);
  padding: 30px;
}
.invite-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 22px;
  line-height: 1;
}
.invite-close:hover {
  background: var(--paper);
  color: var(--ink);
}
.invite-dialog h3 {
  margin-top: 10px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: var(--track-tight);
}
.invite-dialog p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-family: var(--font-serif);
  line-height: 1.7;
}
.invite-form {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}
.invite-form label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.invite-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.invite-input {
  min-width: 0;
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--paper);
  text-transform: uppercase;
}
.invite-input:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(201,123,67,0.15);
}
.invite-submit {
  border: none;
  white-space: nowrap;
}
.invite-status {
  min-height: 20px;
  font-size: 13px;
  color: var(--ink-faint);
}
.invite-status.error { color: #8a4a3c; }

/* ── miniature office (hero centerpiece) ─────────────────────────────────── */
.office-frame {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 18px;
  box-shadow: var(--shadow-lift);
}
.office-frame::after {
  content: ''; position: absolute; inset: 0;
  border-radius: var(--r-xl);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
  pointer-events: none;
}
.room-wall {
  display: flex; align-items: flex-end; gap: 18px;
  padding: 4px 10px 14px;
}
.room-wall-spacer { flex: 1; }
.decor-window { width: 132px; height: 96px; flex: none; }
.decor-window-light, .decor-sun { animation: window-breathe 7s ease-in-out infinite; }
@keyframes window-breathe { 0%,100% { opacity: 1; } 50% { opacity: 0.82; } }
.decor-plant { width: 52px; height: 68px; flex: none; align-self: flex-end; }

.mission-board {
  flex: none; width: 210px;
  background: var(--sage-ink);
  border-radius: var(--r-md);
  padding: 11px 13px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(42, 38, 32, 0.2);
}
.mission-board-title {
  font-family: var(--font-mono); font-size: 9px; font-weight: 500;
  letter-spacing: var(--track-mono); text-transform: uppercase;
  color: rgba(242, 234, 213, 0.55); margin-bottom: 8px;
}
.mission-board ul { display: flex; flex-direction: column; gap: 6px; }
.mission-board li {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 10.5px;
  color: rgba(242, 234, 213, 0.9); white-space: nowrap; overflow: hidden;
}
.mission-empty { font-family: var(--font-mono); font-size: 11px; color: rgba(242, 234, 213, 0.7); }
.mission-dot { flex: none; width: 5px; height: 5px; border-radius: 50%; }
.mission-dot--sage { background: var(--sage); animation: pulse-dot 2.4s ease-in-out infinite; }
.mission-dot--amber { background: var(--amber); animation: pulse-dot 1.8s ease-in-out infinite; }
.mission-agent { flex: none; color: #f2ead5; font-weight: 500; }
.mission-task { overflow: hidden; text-overflow: ellipsis; opacity: 0.65; }
@keyframes pulse-dot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.8); } }

.rug {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 20px 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), var(--shadow-soft);
  position: relative;
}
.desk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 6px; align-items: end;
}
.desk {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 8px 2px 2px; border-radius: var(--r-lg); border: 1px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.desk.is-active { border-color: var(--amber); background: rgba(246, 239, 221, 0.7); box-shadow: var(--shadow-lift); }
.desk-svg { width: 100%; max-width: 200px; height: auto; overflow: visible; }
.desk-screen { transition: fill 0.3s ease; }
.desk-screen-glow { animation: screen-glow 2.8s ease-in-out infinite; }
@keyframes screen-glow { 0%,100% { opacity: 0.25; } 50% { opacity: 0.6; } }
.desk-code { animation: code-scroll 3.2s linear infinite; }
.desk-code--fast { animation-duration: 1.9s; }
@keyframes code-scroll { from { transform: translateY(0); } to { transform: translateY(-60px); } }

/* status chip */
.status-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; background: var(--paper-warm);
  border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 500;
  letter-spacing: 0.08em; color: var(--ink);
  box-shadow: 0 1px 2px rgba(42, 38, 32, 0.06); white-space: nowrap;
}
.status-chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); animation: pulse-dot 2s ease-in-out infinite; }
.status-chip-sep { color: var(--ink-faint); }
.status-chip-status { color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.14em; font-size: 8.5px; }
.status-chip--awaiting_human .status-chip-status { color: var(--amber); }
.status-chip--break { opacity: 0.85; }
.status-chip-queue { color: var(--amber); font-size: 9px; }

/* floating feishu message bubbles over the office */
.feishu-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: var(--r-lg); }
.feishu-bubble {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%) translateY(14px);
  display: flex; align-items: flex-start; gap: 8px;
  background: var(--paper-warm); border: 1px solid var(--line);
  border-radius: 14px 14px 14px 4px; padding: 9px 13px;
  box-shadow: var(--shadow-lift); max-width: 78%;
  opacity: 0; animation: bubble-life 4.2s ease forwards;
}
.feishu-bubble.reply { border-radius: 14px 14px 4px 14px; }
.feishu-bubble .fb-app { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.feishu-bubble .fb-name { font-size: 11.5px; font-weight: 700; }
.feishu-bubble .fb-text { font-size: 12.5px; color: var(--ink); line-height: 1.45; }
.feishu-bubble .fb-meta { display: flex; flex-direction: column; gap: 1px; }
.feishu-avatar { width: 26px; height: 26px; border-radius: 8px; flex: none; background: var(--sage); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--paper-warm); overflow: hidden; }
.feishu-avatar svg { width: 100%; height: 100%; }
@keyframes bubble-life {
  0% { opacity: 0; transform: translateX(-50%) translateY(16px); }
  12% { opacity: 1; transform: translateX(-50%) translateY(0); }
  82% { opacity: 1; transform: translateX(-50%) translateY(-4px); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-12px); }
}

/* ── character animations (copied from app/src/styles/character.css) ─────── */
.ch { overflow: visible; }
.ch g, .ch path, .ch circle, .ch rect { transform-box: fill-box; }
.ch-pose { transition: transform 0.3s ease; transform-origin: 50% 95%; }
.ch-figure { animation: ch-breathe 4.4s ease-in-out infinite; }
@keyframes ch-breathe { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-1.6px); } }
.ch-eye { transform-origin: center; animation: ch-blink 4.1s infinite; }
@keyframes ch-blink { 0%,93%,100% { transform: scaleY(1); } 95%,97% { transform: scaleY(0.1); } }
.ch--working .ch-pose { transform: translateY(2.5px) rotate(1.5deg); }
.ch--focused .ch-pose { transform: translateY(3.5px) rotate(2deg); }
.ch--working .ch-figure, .ch--focused .ch-figure { animation: ch-breathe 2.6s ease-in-out infinite; }
.ch-hand-typing-l { animation: ch-type 0.34s ease-in-out infinite; }
.ch-hand-typing-r { animation: ch-type 0.34s ease-in-out 0.17s infinite; }
.ch--focused .ch-hand-typing-l { animation-duration: 0.24s; }
.ch--focused .ch-hand-typing-r { animation-duration: 0.24s; animation-delay: 0.12s; }
@keyframes ch-type { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-2.2px); } }
.ch--queued .ch-pose { transform: rotate(-1.5deg); }
.ch-arm-wave { transform-origin: 30% 90%; animation: ch-wave 1.8s ease-in-out infinite; }
@keyframes ch-wave { 0%,100% { transform: rotate(0deg); } 50% { transform: rotate(7deg); } }
.ch--break .ch-pose { transform: translateX(6px) rotate(5deg); }
.ch-steam { fill: none; stroke: rgba(42,38,32,0.32); stroke-width: 1.6; stroke-linecap: round; animation: ch-steam 2.8s ease-in-out infinite; }
.ch-steam-2 { animation-delay: 1.3s; }
@keyframes ch-steam { 0% { opacity: 0; transform: translateY(3px); } 35% { opacity: 0.9; } 100% { opacity: 0; transform: translateY(-5px); } }
.ch--collaborating .ch-pose { transform: translateX(8px) rotate(8deg); }
.ch-question { animation: ch-float 2.6s ease-in-out infinite; }
@keyframes ch-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3.5px); } }
.ch--offline .ch-pose { transform: translateY(11px); }
.ch--offline .ch-figure { animation: ch-breathe 6.5s ease-in-out infinite; }
.ch--offline .ch-head-g { transition: transform 0.3s ease; transform: translateY(7px) rotate(9deg); transform-origin: 50% 80%; }
.ch-head-g { transition: transform 0.3s ease; }
.ch-zz-1 { animation: ch-zz 3.6s ease-in-out infinite; }
.ch-zz-2 { animation: ch-zz 3.6s ease-in-out 1.8s infinite; }
@keyframes ch-zz { 0% { opacity: 0; transform: translate(0,4px); } 30% { opacity: 0.75; } 100% { opacity: 0; transform: translate(4px,-8px); } }
.ch-acc, .ch-arms { animation: ch-acc-in 0.28s ease; }
@keyframes ch-acc-in { from { opacity: 0; transform: translateY(2px); } }

/* ── how it works ────────────────────────────────────────────────────────── */
.how { background: var(--paper-2); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px; }
.how-step {
  background: var(--paper-warm); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px 24px; box-shadow: var(--shadow-soft);
  position: relative; transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.how-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.how-num {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: var(--track-mono);
  color: var(--amber); margin-bottom: 16px;
}
.how-step h3 { font-size: 20px; font-weight: 700; letter-spacing: var(--track-tight); margin-bottom: 10px; }
.how-step p { font-family: var(--font-serif); color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; }
.how-flow {
  margin-top: 36px; display: flex; align-items: center; justify-content: center; gap: 12px;
  flex-wrap: wrap; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--ink-soft);
}
.how-flow .node { padding: 8px 14px; background: var(--paper-warm); border: 1px solid var(--line); border-radius: 999px; }
.how-flow .arrow { color: var(--amber); }

/* ── use cases ───────────────────────────────────────────────────────────── */
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 54px; }
.case-card {
  display: grid; grid-template-columns: 64px 1fr; gap: 18px;
  background: var(--paper-warm); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.case-avatar { width: 64px; height: 64px; border-radius: var(--r-md); background: rgba(143,168,134,0.18); overflow: hidden; align-self: start; }
.case-avatar svg { width: 100%; height: 100%; }
.case-card h3 { font-size: 17px; font-weight: 700; letter-spacing: var(--track-tight); margin-bottom: 4px; }
.case-role { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.case-line { display: flex; gap: 8px; font-size: 14px; margin-bottom: 6px; align-items: baseline; }
.case-line .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); flex: none; width: 42px; padding-top: 2px; }
.case-line .v { color: var(--ink-soft); }
.case-line .v.trigger { color: var(--ink); font-family: var(--font-serif); font-style: italic; }

/* ── why it wins ─────────────────────────────────────────────────────────── */
.why { background: var(--sage-ink); color: var(--paper-warm); }
.why .h2, .why .section-lead { color: var(--paper-warm); }
.why .section-lead { color: rgba(242,234,213,0.75); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 54px; background: rgba(242,234,213,0.12); border: 1px solid rgba(242,234,213,0.12); border-radius: var(--r-lg); overflow: hidden; }
.why-cell { background: var(--sage-ink); padding: 30px 26px; }
.why-cell h3 { font-size: 18px; font-weight: 700; letter-spacing: var(--track-tight); margin-bottom: 10px; }
.why-cell h3 .en { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--butter); margin-bottom: 8px; font-weight: 500; }
.why-cell p { color: rgba(242,234,213,0.7); font-size: 14.5px; line-height: 1.7; font-family: var(--font-serif); }

/* ── security / control ──────────────────────────────────────────────────── */
.ctrl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 54px; }
.ctrl-card { background: var(--paper-warm); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-soft); }
.ctrl-card .ctrl-ico { width: 30px; height: 30px; color: var(--sage-ink); margin-bottom: 14px; }
.ctrl-card h3 { font-size: 16px; font-weight: 700; letter-spacing: var(--track-tight); margin-bottom: 8px; }
.ctrl-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.65; }

/* ── capability matrix ───────────────────────────────────────────────────── */
.matrix { background: var(--paper-2); }
.matrix-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 54px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.matrix-row { background: var(--paper-warm); padding: 26px 28px; display: grid; grid-template-columns: 130px 1fr; gap: 22px; align-items: start; transition: background 0.2s ease; }
.matrix-row:hover { background: #faf4e6; }
.matrix-group { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); padding-top: 3px; }
.matrix-row h3 { font-size: 17px; font-weight: 700; letter-spacing: var(--track-tight); margin-bottom: 8px; }
.matrix-row p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* ── faq ─────────────────────────────────────────────────────────────────── */
.faq-list { margin-top: 48px; max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 18px; font-size: 17px; font-weight: 600; letter-spacing: var(--track-tight); color: var(--ink); }
.faq-icon { flex: none; width: 22px; height: 22px; position: relative; transition: transform 0.25s ease; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: var(--amber); border-radius: 2px; }
.faq-icon::before { left: 0; top: 50%; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-icon::after { top: 0; left: 50%; height: 100%; width: 2px; transform: translateX(-50%); transition: transform 0.25s ease; }
.faq-item.open .faq-icon::after { transform: translateX(-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 0 22px; font-family: var(--font-serif); font-size: 15.5px; color: var(--ink-soft); line-height: 1.75; max-width: 64ch; }

/* ── final cta / form ────────────────────────────────────────────────────── */
.cta { background: var(--paper-2); }
.cta-card {
  background: linear-gradient(180deg, var(--paper-warm), var(--paper));
  border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 56px clamp(28px, 5vw, 64px); box-shadow: var(--shadow-lift);
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start;
}
.cta-card h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: var(--track-tighter); line-height: 1.15; }
.cta-card .section-lead { margin-top: 18px; }
.cta-points { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.cta-points li { display: flex; gap: 10px; align-items: baseline; font-size: 14.5px; color: var(--ink-soft); }
.cta-points li::before { content: '✓'; color: var(--amber); font-weight: 700; }

.lead-form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.field label .req { color: var(--amber); }
.field input, .field select {
  font-family: var(--font-ui); font-size: 14px; color: var(--ink);
  padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--paper-warm); transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(201,123,67,0.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit { margin-top: 6px; justify-content: center; width: 100%; }
.form-note { font-size: 12px; color: var(--ink-faint); text-align: center; }
.form-status { display: none; padding: 14px; border-radius: var(--r-sm); font-size: 14px; text-align: center; }
.form-status.success { display: block; background: rgba(143,168,134,0.18); color: var(--sage-ink); border: 1px solid rgba(143,168,134,0.4); }
.form-status.error { display: block; background: rgba(216,168,155,0.2); color: #8a4a3c; border: 1px solid rgba(216,168,155,0.5); }
.form-status.notice { display: block; background: rgba(227,179,73,0.16); color: #7a5a1e; border: 1px solid rgba(227,179,73,0.45); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ── footer ──────────────────────────────────────────────────────────────── */
.footer { padding: 48px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.footer .brand { font-size: 16px; }
.footer-meta { font-size: 13px; color: var(--ink-faint); }
.footer-links { display: flex; gap: 22px; font-size: 13px; color: var(--ink-soft); }

/* ── scroll reveal — content visible by default; only hidden once site.js
   confirms it is running and adds `reveal-ready` (progressive enhancement) ── */
.reveal-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-ready .reveal.in { opacity: 1; transform: none; }

/* office fallback line (shown only if JS does not render the live scene) */
.office-fallback { margin: 18px 8px; font-family: var(--font-serif); font-size: 15px; line-height: 1.7; color: var(--ink-soft); text-align: center; }

/* ── responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  section { padding: 72px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .download-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding: 36px 0 64px; }
  .how-grid, .why-grid, .ctrl-grid { grid-template-columns: 1fr; }
  .matrix-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .cta-card { grid-template-columns: 1fr; gap: 36px; padding: 40px 28px; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper-warm); border-bottom: 1px solid var(--line); padding: 8px 28px 16px; }
  .nav-links.open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links.open .nav-cta { margin-top: 12px; text-align: center; }
  .nav-burger { display: flex; flex-direction: column; gap: 4px; background: none; border: none; padding: 8px; }
  .nav-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
  .why-grid { background: none; border: none; gap: 12px; }
  .why-cell { border: 1px solid rgba(242,234,213,0.16); border-radius: var(--r-md); }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .field-row { grid-template-columns: 1fr; }
  .download-panel { gap: 12px; }
  .download-card {
    width: 100%;
    min-width: 0;
    min-height: 62px;
    padding: 0 24px;
    font-size: 18px;
  }
  .hero-trust { gap: 8px 14px; }
  .desk-grid { gap: 4px 2px; }
  .case-card { grid-template-columns: 1fr; }
  .case-avatar { width: 52px; height: 52px; }
  .invite-dialog { padding: 26px 20px; }
  .invite-row { grid-template-columns: 1fr; }
  .invite-submit { justify-content: center; }
}

/* reduced motion — honour the calm */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
