/* Topo landing page styles — Variation A (Atmospheric).
 * Self-contained: scoped to .tp- classes so it never collides with
 * the staff/member/admin Tailwind app stylesheet. */

.tp-shell {
  --ink: #0F172A;
  --ink-2: #1E293B;
  --ink-3: #475569;
  --ink-4: #94A3B8;
  --paper: #FBF7F0;
  --paper-2: #F5EFE3;
  --paper-3: #ECE3D0;
  --white: #FFFFFF;
  --accent: #059669;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 0 rgba(15,23,42,.04), 0 1px 2px rgba(15,23,42,.04);
  --shadow-md: 0 1px 0 rgba(15,23,42,.04), 0 8px 24px -8px rgba(15,23,42,.08);
  --shadow-lg: 0 1px 0 rgba(15,23,42,.04), 0 24px 48px -20px rgba(15,23,42,.18);

  --f-sans: 'Geist', ui-sans-serif, -apple-system, system-ui, sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, 'JetBrains Mono', Menlo, monospace;
  --f-display: 'Geist', ui-sans-serif, system-ui, sans-serif;

  font-family: var(--f-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  isolation: isolate;
}

.tp-shell *, .tp-shell *::before, .tp-shell *::after { box-sizing: border-box; }
.tp-shell img, .tp-shell svg { max-width: 100%; }

.tp-container { max-width: 1200px; margin: 0 auto; padding: 0 32px; position: relative; }

/* ──────── Type ──────── */
.tp-shell .tp-h1 {
  font-family: var(--f-display);
  font-size: clamp(44px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 580;
  margin: 24px 0 24px;
  text-wrap: balance;
}
.tp-shell .tp-h1 em { font-style: italic; font-weight: 480; color: var(--accent); }
.tp-shell .tp-h2 {
  font-family: var(--f-display);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 580;
  margin: 16px 0 12px;
  text-wrap: balance;
}
.tp-shell .tp-lede { font-size: clamp(17px, 1.4vw, 21px); color: var(--ink-3); max-width: 56ch; line-height: 1.55; }

.tp-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.tp-eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }

/* ──────── Buttons ──────── */
.tp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-sans); font-weight: 500; font-size: 15px;
  padding: 11px 18px; border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.tp-btn-lg { font-size: 16px; padding: 14px 22px; }
.tp-btn-sm { font-size: 13.5px; padding: 8px 14px; }
.tp-btn-primary { background: var(--ink); color: var(--paper); }
.tp-btn-primary:hover { background: var(--accent); }
.tp-btn-ghost { background: transparent; color: var(--ink); border-color: rgba(15,23,42,.18); }
.tp-btn-ghost:hover { border-color: var(--ink); }
.tp-link-quiet { color: var(--ink-3); text-decoration: none; font-size: 14.5px; }
.tp-link-quiet:hover { color: var(--ink); }

/* ──────── Nav ──────── */
.tp-nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.tp-nav.is-scrolled { border-bottom-color: rgba(15,23,42,.08); }
.tp-nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 32px;
  display: flex; align-items: center; gap: 28px;
}
.tp-brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-display); font-weight: 600; font-size: 19px; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
}
.tp-nav-links {
  display: flex; gap: 4px; margin-left: 12px;
  flex: 1; justify-content: center;
}
.tp-nav-links a {
  position: relative;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px; color: var(--ink-3); text-decoration: none;
  font-weight: 480;
  transition: color .15s ease, background .15s ease;
}
.tp-nav-links a:hover { color: var(--ink); }
.tp-nav-links a.is-active { color: var(--ink); background: var(--paper-2); }
.tp-nav-cta { display: flex; align-items: center; gap: 14px; }
.tp-nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1px solid rgba(15,23,42,.14);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
}
.tp-nav-toggle svg { width: 20px; height: 20px; }
.tp-nav-mobile {
  display: none;
  border-top: 1px solid rgba(15,23,42,.08);
  background: var(--paper);
  padding: 8px 16px 14px;
}
.tp-nav-mobile a {
  display: block;
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
}
.tp-nav-mobile a:hover, .tp-nav-mobile a:focus { background: var(--paper-2); outline: none; }

/* ──────── Hero (Variation C — Cartographic) ──────── */
.tp-hero { position: relative; padding: 60px 0 96px; overflow: hidden; }
.tp-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.tp-hero-C-grid-bg { position: absolute; inset: 0; pointer-events: none; }
.tp-hero-C-inner { position: relative; z-index: 1; max-width: 980px; }
.tp-eyebrow-C { padding: 6px 12px; background: var(--paper); border: 1px solid var(--paper-3); border-radius: 999px; }
.tp-h1-C { letter-spacing: -0.028em; }
.tp-lede-C { max-width: 60ch; }
.tp-hero-C-legend {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(15,23,42,.1);
  padding-top: 24px;
}
.tp-hero-C-legend > div { display: flex; flex-direction: column; gap: 4px; }
.tp-legend-num { font-family: var(--f-display); font-size: 36px; font-weight: 580; letter-spacing: -0.02em; }
.tp-legend-cap { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; color: var(--ink-3); text-transform: uppercase; }
.tp-play-mini { font-size: 10px; transform: translateY(-1px); }

/* ──────── Sections ──────── */
.tp-section { padding: 96px 0; position: relative; }
.tp-section-cream { background: var(--paper-2); }
.tp-divider { margin: 0 0 48px; color: var(--ink); opacity: .9; }

.tp-sh { margin-bottom: 56px; max-width: 720px; }
.tp-sh-center { margin-left: auto; margin-right: auto; text-align: center; max-width: 760px; }
.tp-sh-sub { color: var(--ink-3); font-size: 18px; max-width: 56ch; margin: 8px 0 0; }
.tp-sh-center .tp-sh-sub { margin-left: auto; margin-right: auto; }
.tp-sh-center .tp-eyebrow { justify-content: center; width: 100%; }

/* ──────── Feature rows (Variation C) ──────── */
.tp-rows { display: flex; flex-direction: column; gap: 8px; }
.tp-row {
  display: grid; grid-template-columns: 100px 1.1fr 1fr; gap: 32px;
  padding: 36px 0; border-top: 1px dashed rgba(15,23,42,.2);
  align-items: start;
}
.tp-row:first-child { border-top: 1px solid rgba(15,23,42,.5); }
.tp-row-flip { grid-template-columns: 100px 1fr 1.1fr; }
.tp-row-flip .tp-row-copy { order: 3; }
.tp-row-flip .tp-row-mock { order: 2; }
.tp-row-spine { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 4px; min-height: 280px; }
.tp-row-spine-num { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); letter-spacing: .04em; }
.tp-row-spine-line { flex: 0 0 24px; width: 1px; background: rgba(15,23,42,.25); }
.tp-row-spine-glyph { transition: transform .35s ease; }
.tp-row:hover .tp-row-spine-glyph { transform: rotate(12deg); }
.tp-row-spine-elev { font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-4); margin-top: auto; }
.tp-row-title { font-family: var(--f-display); font-weight: 580; font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.018em; line-height: 1.08; margin: 10px 0 8px; }
.tp-row-blurb { color: var(--ink-3); font-size: 16px; max-width: 50ch; }
.tp-row-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.tp-row-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.tp-row-bullet-dot { width: 6px; height: 6px; border-radius: 1px; margin-top: 7px; flex-shrink: 0; }
.tp-row-mock { position: relative; }
.tp-row-mock-frame {
  position: relative;
  background: var(--white); border: 1px solid var(--paper-3); border-radius: 12px; padding: 14px;
}
.tp-row-mock-corners > span {
  position: absolute; width: 8px; height: 8px;
  border: 1px solid var(--ink-3);
}
.tp-row-mock-corners > span:nth-child(1) { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.tp-row-mock-corners > span:nth-child(2) { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.tp-row-mock-corners > span:nth-child(3) { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.tp-row-mock-corners > span:nth-child(4) { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.tp-row-mock-cap { margin-top: 8px; font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: .06em; }

.tp-tick { font-weight: 700; color: var(--accent); }

/* ──────── Mocks ──────── */
.tp-mock {
  background: var(--paper); border: 1px solid var(--paper-3); border-radius: 12px;
  padding: 14px; font-family: var(--f-sans); font-size: 13px;
  display: flex; flex-direction: column; gap: 6px;
  position: relative;
}
.tp-mock-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: .06em;
  text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px dashed var(--paper-3);
}
.tp-mock-pill {
  font-family: var(--f-mono); font-size: 10.5px;
  background: var(--paper-2); color: var(--ink-2);
  padding: 2px 8px; border-radius: 999px;
}
.tp-mock-row {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px;
  padding: 4px 2px; border-radius: 6px;
}
.tp-mock-avi { width: 18px; height: 18px; border-radius: 50%; background: var(--paper-3); }
.tp-mock-name { color: var(--ink-2); font-weight: 500; }
.tp-mock-tag { font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); }
.tp-mock-dot { width: 7px; height: 7px; border-radius: 50%; }
.tp-mock-bignum { font-family: var(--f-display); font-size: 30px; letter-spacing: -0.02em; font-weight: 580; }
.tp-mock-bars { display: flex; gap: 4px; align-items: flex-end; height: 50px; }
.tp-mock-bars > span { display: block; width: 14px; border-radius: 3px; }
.tp-mock-qr {
  align-self: center;
  width: 90px; height: 90px;
  background: var(--white); border: 1px solid var(--paper-3); border-radius: 8px;
  background-image: radial-gradient(circle, var(--ink) 1px, transparent 1.4px);
  background-size: 6px 6px;
  position: relative;
}
.tp-mock-qr-inner {
  position: absolute; inset: 12px; border: 4px solid var(--paper); background:
    repeating-linear-gradient(0deg, var(--ink), var(--ink) 2px, transparent 2px, transparent 5px),
    repeating-linear-gradient(90deg, var(--ink), var(--ink) 2px, transparent 2px, transparent 5px);
  border-radius: 4px;
}
.tp-mock-checkin-tap { text-align: center; font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-3); }
.tp-mock-class { grid-template-columns: auto 1fr auto; }
.tp-mock-time { font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-3); }
.tp-mock-sig { background: var(--white); border: 1px solid var(--paper-3); border-radius: 8px; padding: 8px; }
.tp-mock-sig-cap { font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-3); margin-top: 4px; }
.tp-mock-flow { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
.tp-mock-node {
  background: var(--white); border: 1px solid var(--paper-3); border-radius: 8px;
  padding: 8px 12px; font-family: var(--f-mono); font-size: 11.5px; text-align: center;
}
.tp-mock-node-accent { background: color-mix(in oklab, var(--accent) 8%, var(--white)); border-color: var(--accent); color: var(--accent); }
.tp-mock-arrow { text-align: center; color: var(--ink-4); font-size: 11px; }
.tp-mock-grades { display: grid; gap: 4px; }
.tp-mock-grade { display: grid; grid-template-columns: 28px 1fr 22px; align-items: center; gap: 8px; }
.tp-mock-grade-n { font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-3); }
.tp-mock-grade-bar { background: var(--paper-3); height: 6px; border-radius: 3px; overflow: hidden; }
.tp-mock-grade-bar > span { display: block; height: 100%; }
.tp-mock-grade-c { font-family: var(--f-mono); font-size: 11px; color: var(--ink-2); text-align: right; }
.tp-mock-shift { display: grid; grid-template-columns: 32px 1fr 32px; align-items: center; gap: 10px; padding: 3px 0; }
.tp-mock-shift-bar { background: var(--paper-3); height: 8px; border-radius: 4px; overflow: hidden; }
.tp-mock-shift-bar > span { display: block; height: 100%; border-radius: 4px; }
.tp-mock-code { font-family: var(--f-mono); font-size: 11.5px; font-weight: 600; }
.tp-mock pre.tp-mock-code { margin: 0; white-space: pre-wrap; font-weight: 400; }

/* ──────── No payment lock-in ──────── */
.tp-lockin {
  display: flex; justify-content: center;
  margin-top: 32px;
}
.tp-lockin-card {
  background: var(--white); border: 1px solid var(--paper-3); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-md);
  max-width: 520px; width: 100%;
}
.tp-lockin-eyebrow {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: var(--ink-3);
  margin-bottom: 12px;
}
.tp-lockin-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tp-lockin-card li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-2); font-size: 15.5px; line-height: 1.4; }
.tp-lockin-card li::before { content: '·'; color: var(--accent); font-weight: 700; font-size: 22px; line-height: 1; margin-top: -2px; }

/* ──────── Pricing ──────── */
.tp-pricing {
  background: var(--white); border: 1px solid var(--paper-3); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow-md);
}
.tp-pricing-tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: var(--ink-3); }
.tp-pricing-row { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: start; margin-top: 16px; }
.tp-pricing-price { display: flex; align-items: flex-start; gap: 6px; line-height: 1; }
.tp-pricing-currency { font-family: var(--f-display); font-size: 40px; font-weight: 500; color: var(--ink-3); margin-top: 12px; }
.tp-pricing-num { font-family: var(--f-display); font-size: clamp(96px, 12vw, 144px); font-weight: 580; letter-spacing: -0.04em; }
.tp-pricing-per { font-family: var(--f-mono); font-size: 14px; color: var(--ink-3); margin-top: 18px; line-height: 1.3; }
.tp-pricing-per em { font-style: normal; color: var(--ink-2); }
.tp-pricing-copy h3 { font-family: var(--f-display); font-size: 26px; letter-spacing: -0.015em; margin: 0 0 6px; font-weight: 580; }
.tp-pricing-copy p { color: var(--ink-3); margin: 0 0 14px; font-size: 15.5px; }
.tp-pricing-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; }
.tp-pricing-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-2); font-size: 15px; }
.tp-pricing-list li::before { content: '+'; color: var(--accent); font-weight: 700; }
.tp-pricing-cta { display: flex; gap: 16px; align-items: center; }

/* ──────── Live demo block ──────── */
.tp-livedemo { padding: 80px 0; }
.tp-livedemo-card {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center;
}
.tp-livedemo-topo { position: absolute; inset: 0; pointer-events: none; opacity: 0.18; color: var(--paper); }
.tp-livedemo-body { position: relative; z-index: 1; }
.tp-eyebrow-on-dark { color: rgba(251,247,240,.7); }
.tp-livedemo-h {
  font-family: var(--f-display);
  font-size: clamp(34px, 4vw, 52px); line-height: 1.02;
  letter-spacing: -0.02em; font-weight: 580;
  margin: 16px 0 16px; text-wrap: balance;
}
.tp-livedemo-h em { font-style: italic; font-weight: 480; }
.tp-livedemo-sub { color: rgba(251,247,240,.78); font-size: 17px; max-width: 52ch; line-height: 1.55; margin: 0 0 24px; }
.tp-livedemo-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.tp-btn-on-dark { background: var(--accent); color: var(--ink); }
.tp-btn-on-dark:hover { background: var(--paper); }
.tp-livedemo-meta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 11.5px; color: rgba(251,247,240,.7);
  letter-spacing: .04em;
}
.tp-livedemo-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  box-shadow: 0 0 0 0 currentColor;
  animation: tp-pulse 2.2s ease-out infinite;
}
@keyframes tp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(5,150,105,.6); }
  70% { box-shadow: 0 0 0 12px rgba(5,150,105,0); }
  100% { box-shadow: 0 0 0 0 rgba(5,150,105,0); }
}
.tp-livedemo-mock { position: relative; z-index: 1; }
.tp-livedemo-browser {
  background: var(--paper); color: var(--ink);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.4);
  transform: rotate(-1.2deg);
}
.tp-livedemo-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--paper-3);
}
.tp-livedemo-bar-dots { display: inline-flex; gap: 5px; }
.tp-livedemo-bar-dots > span { width: 9px; height: 9px; border-radius: 50%; background: var(--paper-3); }
.tp-livedemo-bar-url {
  flex: 1; text-align: center;
  font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-3);
  background: var(--paper); padding: 4px 10px; border-radius: 999px;
}
.tp-livedemo-screen { padding: 16px; }

/* ──────── Migrations block ──────── */
.tp-mig-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.tp-mig-list { list-style: none; padding: 0; margin: 16px 0 24px; display: grid; gap: 10px; }
.tp-mig-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 15.5px; }
.tp-mig-list b { color: var(--ink); font-weight: 600; }
.tp-mig-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.tp-mig-meta { font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-3); }
.tp-mig-meta b { color: var(--ink); font-weight: 600; }
.tp-mig-visual {
  background: var(--white); border: 1px solid var(--paper-3); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-md);
}
.tp-mig-flow {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; align-items: stretch;
  min-height: 360px;
}
.tp-mig-col { display: flex; flex-direction: column; gap: 6px; }
.tp-mig-col-cap { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; color: var(--ink-4); margin-bottom: 6px; }
.tp-mig-source {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 8px;
  background: var(--paper); border: 1px solid var(--paper-3);
  font-size: 12.5px; color: var(--ink-2);
}
.tp-mig-source.is-active { border-color: var(--accent); background: color-mix(in oklab, var(--accent) 8%, var(--white)); color: var(--ink); font-weight: 500; }
.tp-mig-source-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-4); }
.tp-mig-source.is-active .tp-mig-source-dot { background: var(--accent); }
.tp-mig-arrows { position: relative; }
.tp-mig-ai {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: var(--white); border: 1px solid var(--paper-3); border-radius: 999px;
  padding: 6px 12px; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; color: var(--ink-2);
  box-shadow: var(--shadow-sm); white-space: nowrap;
}
.tp-mig-ai-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.tp-mig-target {
  display: flex; gap: 12px; align-items: center;
  padding: 14px; border-radius: 12px;
  background: var(--paper); border: 1.5px solid var(--ink); margin-bottom: 10px;
}
.tp-mig-target-name { font-family: var(--f-display); font-weight: 580; font-size: 17px; }
.tp-mig-target-sub { font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-3); }
.tp-mig-target-list { display: grid; gap: 6px; font-size: 12.5px; color: var(--ink-2); }
.tp-mig-target-list > div { display: flex; gap: 8px; align-items: center; }
.tp-mig-target-list > div span { color: var(--accent); }

/* ──────── CTA (cartographic) ──────── */
.tp-cta { padding: 110px 0; position: relative; overflow: hidden; }
.tp-cta-C-bg { position: absolute; inset: 0; pointer-events: none; }
.tp-cta-inner { position: relative; z-index: 1; max-width: 780px; }
.tp-cta-h { font-size: clamp(40px, 5vw, 72px); margin: 12px 0 16px; }
.tp-cta-sub { color: var(--ink-3); font-size: 18px; max-width: 56ch; margin: 0 0 24px; }
.tp-cta-fineprint { font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-4); margin-top: 14px; letter-spacing: .04em; }

/* ──────── Email capture ──────── */
.tp-capture {
  display: flex; gap: 8px; align-items: stretch;
  background: var(--white); border: 1px solid var(--paper-3); padding: 6px;
  border-radius: 999px; max-width: 480px;
}
.tp-capture input {
  flex: 1; border: 0; background: transparent; outline: none;
  padding: 10px 14px; font-family: var(--f-sans); font-size: 15px; color: inherit;
}
.tp-capture .tp-btn { padding: 10px 18px; }

/* ──────── Footer ──────── */
.tp-foot { background: var(--ink); color: rgba(251,247,240,.85); padding: 72px 0 36px; }
.tp-foot-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.tp-foot-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 22px; font-weight: 600; color: var(--paper); }
.tp-foot-tag { font-family: var(--f-mono); font-size: 12.5px; color: rgba(251,247,240,.6); margin-top: 12px; }
.tp-foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.tp-foot-cols h5 { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: rgba(251,247,240,.5); margin: 0 0 12px; text-transform: uppercase; }
.tp-foot-cols a { display: block; padding: 4px 0; color: rgba(251,247,240,.85); text-decoration: none; font-size: 14px; }
.tp-foot-cols a:hover { color: var(--paper); }
.tp-foot-base {
  max-width: 1200px; margin: 48px auto 0; padding: 18px 32px 0;
  border-top: 1px solid rgba(251,247,240,.12);
  display: flex; justify-content: space-between;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em;
  color: rgba(251,247,240,.5);
}

/* ──────── Responsive ──────── */
@media (max-width: 980px) {
  .tp-nav-links { display: none; }
  .tp-nav-inner { padding: 12px 16px; gap: 16px; }
  .tp-nav-toggle { display: inline-flex; margin-left: auto; }
  .tp-nav-mobile:not([hidden]) { display: block; }
  .tp-hero-C-legend { grid-template-columns: repeat(2, 1fr); }
  .tp-row { grid-template-columns: 60px 1fr; }
  .tp-row .tp-row-mock, .tp-row-flip .tp-row-mock { order: 3; grid-column: 1 / -1; }
  .tp-row-flip .tp-row-copy { order: 2; }
  .tp-row-spine { min-height: 0; flex-direction: row; }
  .tp-row-spine-line { display: none; }
  .tp-row-spine-glyph { transform: scale(0.7); }
  .tp-livedemo-card { grid-template-columns: 1fr; padding: 36px 24px; }
  .tp-livedemo-mock { display: none; }
  .tp-mig-grid { grid-template-columns: 1fr; }
  .tp-mig-flow { min-height: 0; }
  .tp-pricing-row { grid-template-columns: 1fr; gap: 16px; }
  .tp-foot-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .tp-nav-cta { display: none; }
}

@media (max-width: 640px) {
  .tp-foot-cols { grid-template-columns: repeat(2, 1fr); }
  .tp-foot-base { flex-direction: column; gap: 8px; }
  .tp-hero-C-legend { grid-template-columns: 1fr 1fr; gap: 16px; }
  .tp-legend-num { font-size: 28px; }
}
