/* ─────────────────────────────────────────────────────────────────
   Teramot landing — bound to the Teramot Design System.
   Brand: #253DE5 deep · #5A6DF3 blue · #91DFC8 mint · #0B0F14 ink
          #FAFAF7 paper
   Type:  Manrope (display) + Inter (body) + JetBrains Mono (eyebrows)

   Two variants toggled by [data-variant] on <body>:
     "conservative" — paper ground, generous whitespace, brand blue
                      accent (default)
     "bold"         — ink hero, brand motif backdrop, mint accents
                      in places, denser rhythm

   Density toggled by [data-density="compact" | "relaxed"].
   ───────────────────────────────────────────────────────────────── */

:root {
  /* Brand */
  --brand-deep:  #2F43D6;
  --brand-blue:  #5A6DF3;
  --brand-mint:  #91DFC8;
  --brand-ink:   #0B0F14;
  --brand-paper: #FAFAF7;

  /* Type */
  --font-display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Surfaces (semantic, default = light) */
  --ground:      var(--brand-paper);
  --surface:     #ffffff;
  --surface-2:   #f3f4f6;
  --ink:         #0B0F14;
  --ink-soft:    #1f2937;
  --muted:       #4b5563;
  --muted-2:     #6b7280;
  --rule:        rgba(11, 15, 20, 0.08);
  --rule-strong: rgba(11, 15, 20, 0.16);

  --accent:      var(--brand-deep);  /* swappable via tweaks */
  --accent-soft: color-mix(in oklab, var(--brand-deep) 14%, transparent);
  --accent-wash: color-mix(in oklab, var(--brand-deep) 6%, var(--ground));

  /* Scale */
  --text-2xs: 10.5px;
  --text-xs:  12px;
  --text-sm:  14px;
  --text-md:  16px;
  --text-lg:  18px;
  --display-s: clamp(22px, 2.6vw, 28px);
  --display-m: clamp(30px, 3.6vw, 44px);
  --display-l: clamp(40px, 5.2vw, 64px);
  --display-xl: clamp(48px, 7vw, 88px);

  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(11, 15, 20, 0.06);
  --shadow-sm: 0 2px 4px rgba(11, 15, 20, 0.05), 0 1px 2px rgba(11, 15, 20, 0.04);
  --shadow-card: 0 1px 3px rgba(11, 15, 20, 0.04);
  --shadow-card-lifted: 0 18px 40px -28px rgba(11, 15, 20, 0.22), 0 1px 3px rgba(11, 15, 20, 0.05);
  --shadow-focus: 0 0 0 3px color-mix(in oklab, var(--accent) 35%, transparent);

  --ease:  cubic-bezier(0.2, 0, 0, 1);
  --fast:  120ms;
  --base:  180ms;

  --section-pad: clamp(72px, 9vw, 128px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection {
  background: color-mix(in oklab, var(--accent) 22%, transparent);
  color: var(--ink);
}

/* ── Density modifier ─────────────────────────────────────────── */

body[data-density="compact"]  { --section-pad: clamp(56px, 6vw, 88px); }
body[data-density="relaxed"]  { --section-pad: clamp(96px, 11vw, 168px); }

/* ── Container ────────────────────────────────────────────────── */

.tm-container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 24px;
}
@media (min-width: 768px)  { .tm-container { padding-inline: 40px; } }
@media (min-width: 1100px) { .tm-container { padding-inline: 56px; } }
@media (min-width: 1400px) { .tm-container { padding-inline: 72px; } }

/* ── Primitives ───────────────────────────────────────────────── */

.tm-eyebrow {
  display: none;
}

.tm-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--display-l);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.tm-h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--display-m);
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.tm-h2 em {
  font-family: inherit;
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
}
.tm-body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.65;
  color: var(--muted);
  max-width: 58ch;
  text-wrap: pretty;
}
.tm-body strong { color: var(--ink); font-weight: 600; }
.tm-body-lg {
  font-size: var(--text-lg);
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ── Buttons ──────────────────────────────────────────────────── */

.tm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  transition:
    background-color var(--fast) var(--ease),
    border-color var(--fast) var(--ease),
    color var(--fast) var(--ease),
    box-shadow var(--base) var(--ease),
    transform var(--fast) var(--ease);
}
.tm-btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.tm-btn:active { transform: translateY(0.5px) scale(0.99); }

.tm-btn-sm { height: 36px; padding: 0 16px; font-size: var(--text-sm); }
.tm-btn-lg { height: 52px; padding: 0 28px; font-size: var(--text-md); }

.tm-btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-xs);
}
.tm-btn-primary:hover {
  background: color-mix(in oklab, var(--accent) 88%, black);
  box-shadow: var(--shadow-sm), 0 8px 24px -16px color-mix(in oklab, var(--accent) 50%, transparent);
}

.tm-btn-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-xs);
}
.tm-btn-dark:hover {
  background: #1f2937;
  box-shadow: var(--shadow-sm), 0 8px 24px -16px rgba(11,15,20,0.4);
}

.tm-btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--rule-strong);
}
.tm-btn-ghost:hover {
  border-color: var(--ink);
  background: var(--surface-2);
}
.tm-btn-ghost .tm-arrow { transition: transform var(--fast) var(--ease); }
.tm-btn-ghost:hover .tm-arrow { transform: translateX(3px); }

/* ── Nav ──────────────────────────────────────────────────────── */

.tm-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: 68px;
  display: flex;
  align-items: center;
  background: color-mix(in oklab, var(--ground) 78%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--base) var(--ease), background-color var(--base) var(--ease), height var(--base) var(--ease);
}
.tm-nav.is-scrolled {
  height: 60px;
  background: color-mix(in oklab, var(--ground) 94%, transparent);
  border-bottom-color: var(--rule);
}
.tm-nav-inner { display: flex; align-items: center; gap: 24px; width: 100%; }
.tm-nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-md);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.tm-nav-logo svg { width: 26px; height: auto; }
.tm-nav-logo-img { height: 28px; width: auto; display: block; }

.tm-nav-links {
  display: none;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
@media (min-width: 960px) { .tm-nav-links { display: inline-flex; } }
.tm-nav-link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-soft);
  transition: color var(--fast) var(--ease);
}
.tm-nav-link:hover { color: var(--ink); }
.tm-nav-link.is-accent { color: var(--accent); font-weight: 600; }

.tm-nav-right {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
@media (min-width: 960px) { .tm-nav-right { margin-left: 0; } }

.tm-nav-call { display: none; }
@media (min-width: 720px) { .tm-nav-call { display: inline-flex; } }

/* Hamburger — visible only on mobile */
.tm-nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
}
.tm-nav-hamburger:hover { background: var(--accent-wash); }
.tm-nav-hamburger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: background var(--fast) var(--ease);
}
@media (max-width: 959px) {
  .tm-nav-hamburger { display: flex; }
  .tm-nav-cta-desktop { display: none; }
}

/* Drawer overlay */
.tm-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11,15,20,0.45);
  z-index: 99;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.tm-drawer-overlay.is-open {
  display: block;
  opacity: 1;
}

/* Drawer panel */
.tm-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--ground);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 0 24px 32px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 32px rgba(11,15,20,0.12);
}
.tm-drawer.is-open { transform: translateX(0); }

.tm-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 24px;
}
.tm-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  font-size: 20px;
  color: var(--ink);
}
.tm-drawer-close:hover { background: var(--accent-wash); }

.tm-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.tm-drawer-links .tm-nav-link {
  font-size: var(--text-md);
  font-weight: 500;
  padding: 12px 8px;
  border-radius: 8px;
  color: var(--ink-soft);
}
.tm-drawer-links .tm-nav-link:hover { background: var(--accent-wash); color: var(--ink); }

.tm-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}
.tm-drawer-lang {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
body[data-variant="bold"] .tm-nav .tm-btn-ghost.tm-nav-call {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}
body[data-variant="bold"] .tm-nav .tm-btn-ghost.tm-nav-call:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}

.tm-lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: var(--radius-full);
  background: color-mix(in oklab, var(--ink) 5%, transparent);
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: 500;
  letter-spacing: 0.1em;
}
.tm-lang button {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 4px 9px;
  border-radius: var(--radius-full);
  cursor: pointer;
  color: var(--muted);
  font: inherit;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease);
}
.tm-lang button[aria-current="true"] {
  background: #fff;
  color: var(--accent);
  box-shadow: var(--shadow-xs);
}

/* ── Hero ─────────────────────────────────────────────────────── */

.tm-hero {
  position: relative;
  padding: 168px 0 var(--section-pad);
  overflow: hidden;
}
@media (min-width: 768px) { .tm-hero { padding-top: 200px; } }

/* Hero motif removed — was too soft / didn't read */
.tm-hero-motif { display: none; }

.tm-hero > .tm-container { position: relative; z-index: 1; }

/* ── Hero 2-col grid ──────────────────────────────────────────── */

.tm-hero > .tm-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 1024px) {
  .tm-hero > .tm-container {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(48px, 5vw, 88px);
    align-items: stretch;
  }
  .tm-hero-copy { align-self: center; }
  .tm-hero-visual {
    min-height: clamp(480px, calc(100vh - 360px), 600px);
    align-self: stretch;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
  }
}

.tm-hero-copy { min-width: 0; }
.tm-hero-visual {
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 1023px) {
  .tm-hero-visual { width: 100%; max-width: 560px; margin: 0 auto; min-height: 440px; }
}

/* Tighten hero padding so the proof strip sits closer */
.tm-hero { padding-top: 150px; padding-bottom: 120px; }
@media (min-width: 768px)  { .tm-hero { padding-top: 180px; padding-bottom: 140px; } }
@media (min-width: 1024px) { .tm-hero { padding: 200px 0 160px; } }

/* ── Proof strip (logos under hero) ──────────────────────────── */
.tm-proofstrip {
  padding: 24px 0 96px;
  background: var(--ground);
}
.tm-proofstrip .tm-aboveproof-label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted-2);
  text-align: center;
  margin: 0 0 40px;
}
.tm-proofstrip .tm-logos-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 40px 36px;
  align-items: center;
  justify-items: center;
  color: var(--ink);
}
@media (max-width: 980px) { .tm-proofstrip .tm-logos-row { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .tm-proofstrip .tm-logos-row { grid-template-columns: repeat(3, 1fr); gap: 28px 16px; } }
.tm-proofstrip .tm-logos-row img { max-width: 100%; height: auto; max-height: 48px; opacity: 0.85; transition: opacity 180ms ease; }
.tm-proofstrip .tm-logos-row img:hover { opacity: 1; }
.tm-logos-more {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted-2);
  opacity: 0.6;
}

/* hide the old in-hero proof block */
.tm-aboveproof { display: none; }

.tm-hero-headline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.032em;
  color: var(--ink);
  text-wrap: balance;
  max-width: 18ch;
}

/* In-headline accent + typewriter morph — solid brand colour */
.tm-hero-accent {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.035em;
}
.tm-hero-morph {
  position: relative;
  display: block;
  font-weight: 700;
  color: var(--accent);
  overflow: hidden;
  max-width: 100%;
}
.tm-hero-morph-ghost {
  visibility: hidden;
  pointer-events: none;
  display: block;
  white-space: normal;
  padding-bottom: 0.2em;
}
.tm-hero-morph-text {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  display: block;
  white-space: normal;
}
.tm-typewriter { font: inherit; color: inherit; }
.tm-caret {
  display: inline-block;
  width: 3px;
  height: 0.78em;
  vertical-align: -0.1em;
  background: currentColor;
  margin-left: 4px;
  border-radius: 1px;
  opacity: 0.6;
  animation: tm-blink 1100ms steps(2, end) infinite;
}
@keyframes tm-blink {
  50% { opacity: 0; }
}

.tm-hero-sub {
  margin: 52px 0 0;
  font-family: var(--font-body);
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 56ch;
  text-wrap: pretty;
}
.tm-hero-sub-em {
  color: var(--ink);
  font-weight: 600;
}
.tm-hero-sub strong {
  color: var(--ink);
  font-weight: 600;
}

.tm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 56px;
}
.tm-hero-meta {
  margin-top: 20px;
  justify-content: flex-start;
}
.tm-hero-fud { display: none; }

/* Hero side panel — schematic data flow */
.tm-hero-side {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
}
.tm-flow {
  position: relative;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-xl);
  padding: 22px 22px 24px;
  box-shadow: var(--shadow-card-lifted);
}
.tm-flow-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tm-flow-eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}
.tm-flow-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.tm-flow-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: var(--surface-2);
  border: 1px solid var(--rule);
}
.tm-flow-row-ico {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--rule);
  color: var(--ink);
  font-size: 14px;
}
.tm-flow-row-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.tm-flow-row-title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
}
.tm-flow-row-meta {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--muted-2);
  letter-spacing: 0.04em;
}
.tm-flow-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.tm-flow-status-dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--brand-mint);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--brand-mint) 30%, transparent);
}
.tm-flow-divider {
  height: 1px;
  background: var(--rule);
  margin: 12px 0;
  position: relative;
}
.tm-flow-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 22px; height: 22px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-full);
  background-image:
    radial-gradient(circle at 30% 35%, var(--brand-blue) 0 4px, transparent 5px),
    radial-gradient(circle at 70% 65%, var(--brand-mint) 0 4px, transparent 5px);
}
.tm-flow-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}
.tm-flow-foot-models {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tm-flow-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--rule);
  font-family: var(--font-body);
  font-size: var(--text-2xs);
  font-weight: 600;
  color: var(--ink);
}
.tm-flow-pill-dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--brand-blue);
}
.tm-flow-pill[data-model="cl"] .tm-flow-pill-dot { background: #C97B57; }
.tm-flow-pill[data-model="gpt"] .tm-flow-pill-dot { background: #19C37D; }
.tm-flow-pill[data-model="gem"] .tm-flow-pill-dot { background: #4285F4; }

/* ── Above-fold proof ─────────────────────────────────────────── */

.tm-aboveproof {
  margin-top: 96px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.tm-aboveproof-label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted-2);
  margin: 0 0 28px;
  letter-spacing: 0;
  text-transform: none;
}
.tm-aboveproof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
.tm-aboveproof-divider { display: none; }
@media (min-width: 880px) {
  .tm-aboveproof-grid {
    grid-template-columns: 1.05fr 1px 1fr;
    gap: 44px;
  }
  .tm-aboveproof-divider {
    display: block;
    width: 1px;
    align-self: stretch;
    background: var(--rule);
  }
}

.tm-logos-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 32px 40px;
  align-items: center;
  justify-items: center;
  color: var(--ink);
  opacity: 0.55;
}
@media (max-width: 980px) { .tm-logos-row { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .tm-logos-row { grid-template-columns: repeat(3, 1fr); gap: 24px 16px; } }
.tm-logos-row svg { max-width: 100%; height: auto; max-height: 36px; }
.tm-logo-ph,
.tm-logo-letter { display: none; }
.tm-quote { display: none; }
.tm-aboveproof-grid { display: block; }
.tm-aboveproof-divider { display: none; }

.tm-quote {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.tm-quote-body { min-width: 0; }
.tm-quote-text {
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.55;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 10px;
  text-wrap: pretty;
}
.tm-quote-author {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted);
}

/* ── Imagine (editorial transitional block) ──────────────────── */

.tm-imagine {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--rule);
}
.tm-imagine-inner {
  max-width: 880px;
  margin-inline: auto;
}
.tm-imagine-line {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}
.tm-imagine-inner > :nth-child(1) .tm-imagine-line { color: var(--muted-2); }
.tm-imagine-inner > :nth-child(2) .tm-imagine-line { color: var(--muted); }
.tm-imagine-inner > :nth-child(3) .tm-imagine-line { color: var(--ink-soft); font-weight: 600; }
.tm-imagine-inner > :nth-child(4) .tm-imagine-line { color: var(--ink); font-weight: 700; }
.tm-imagine-closing {
  margin: 44px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--accent);
}

/* ── Sections ─────────────────────────────────────────────────── */

.tm-section {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--rule);
}
.tm-section-head { max-width: 720px; margin: 0 0 56px; }

.tm-pullquote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--display-s);
  line-height: 1.3;
  color: var(--ink);
  border-left: 2px solid var(--accent);
  padding-left: 20px;
  margin: 36px 0;
  max-width: 38ch;
  letter-spacing: -0.015em;
}

/* ── How it works ─────────────────────────────────────────────── */

.tm-steps {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) { .tm-steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.tm-step {
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.tm-step-num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--text-2xs);
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.tm-step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--display-s);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--ink);
}
.tm-step-body {
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 18px;
}
.tm-step-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
}
.tm-step-tag i { font-size: 12px; }

.tm-steps-quote {
  margin-top: 56px;
  padding: 32px 40px;
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-card);
  text-align: center;
}
.tm-steps-quote p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--display-s);
  line-height: 1.3;
  color: var(--ink);
  max-width: 50ch;
  margin-inline: auto;
  letter-spacing: -0.015em;
}

/* ── Two-col layout ───────────────────────────────────────────── */

.tm-two-col {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 920px) {
  .tm-two-col { grid-template-columns: 1fr 1fr; gap: 72px; }
}
.tm-two-col.is-reversed > :first-child { order: 2; }
@media (max-width: 919px) {
  .tm-two-col.is-reversed > :first-child { order: 0; }
}

/* ── Comparison card ──────────────────────────────────────────── */

.tm-compare {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-card-lifted);
  overflow: hidden;
}
.tm-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.tm-compare-col { padding: 22px 22px 26px; }
.tm-compare-col + .tm-compare-col {
  border-left: 1px solid var(--rule);
  background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 4%, var(--surface)), var(--surface));
}
.tm-compare-head {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}
.tm-compare-col + .tm-compare-col .tm-compare-head { color: var(--accent); }
.tm-compare-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 14px;
}
.tm-compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(11, 15, 20, 0.18);
  text-decoration-thickness: 1px;
}
.tm-compare-col + .tm-compare-col li {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.tm-compare-list .tm-x,
.tm-compare-list .tm-check {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px;
  margin-top: 1px;
}
.tm-compare-list .tm-x { background: rgba(11, 15, 20, 0.08); color: var(--muted); }
.tm-compare-list .tm-check { background: var(--accent); color: #fff; }
.tm-compare-footer {
  background: var(--ink);
  color: #fff;
  padding: 16px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-md);
  text-align: center;
  letter-spacing: -0.005em;
}

/* ── Security card ────────────────────────────────────────────── */

.tm-sec {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-card-lifted);
  overflow: hidden;
}
.tm-sec-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 5%, var(--surface)), var(--surface));
}
.tm-sec-badge {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.tm-sec-headtitle {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-md);
  color: var(--ink);
  letter-spacing: -0.005em;
}
.tm-sec-headsub {
  margin: 2px 0 0;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.4;
}
.tm-sec-row {
  padding: 18px 24px;
  display: flex;
  gap: 14px;
}
.tm-sec-row + .tm-sec-row { border-top: 1px solid var(--rule); }
.tm-sec-ico {
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.tm-sec-rowtitle {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-md);
  color: var(--ink);
  letter-spacing: -0.005em;
}
.tm-sec-rowbody {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--muted);
}

/* ── Audience chips ───────────────────────────────────────────── */

.tm-audience-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.tm-chip {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--rule);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-card);
  transition: border-color var(--fast) var(--ease), color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.tm-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* ── Final CTA ────────────────────────────────────────────────── */

.tm-cta {
  text-align: center;
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--rule);
}
.tm-cta-h2 {
  margin: 0 auto 24px;
  max-width: 880px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--display-l);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}
.tm-cta-line2 {
  display: block;
  font-weight: 700;
  color: var(--accent);
}
.tm-cta-sub {
  margin: 20px auto 32px;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--ink-soft);
  max-width: 50ch;
  line-height: 1.5;
}
.tm-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
}
.tm-cta-meta {
  margin: 20px 0 0;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.tm-cta-meta span { display: inline-flex; align-items: center; gap: 8px; }
.tm-cta-meta span + span::before {
  content: "·";
  margin-right: 8px;
  color: var(--rule-strong);
}

/* ── Footer ───────────────────────────────────────────────────── */

.tm-footer {
  padding: 28px 0 32px;
  border-top: 1px solid var(--rule);
}
.tm-footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px 40px;
}
.tm-footer-logo { color: var(--ink); }
.tm-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 32px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
}
.tm-footer-links a {
  color: var(--muted);
  transition: color var(--fast) var(--ease);
}
.tm-footer-links a:hover { color: var(--ink); }
.tm-footer-links a.is-accent { color: var(--accent); }
.tm-footer-copy {
  justify-self: end;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--muted-2);
  white-space: nowrap;
}
@media (max-width: 880px) {
  .tm-footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 18px;
  }
  .tm-footer-logo { justify-self: center; }
  .tm-footer-copy { justify-self: center; white-space: normal; }
}

/* ── Floating WhatsApp chat ─────────────────────────────────── */

.tm-wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(11, 15, 20, 0.18), 0 2px 6px rgba(11, 15, 20, 0.1);
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease), background var(--fast) var(--ease);
}
.tm-wa-float:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 15, 20, 0.22), 0 3px 8px rgba(11, 15, 20, 0.12);
}
.tm-wa-float:active { transform: translateY(0) scale(0.97); }
.tm-wa-float:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px color-mix(in oklab, #25D366 35%, transparent), 0 8px 24px rgba(11, 15, 20, 0.18);
}
@media (max-width: 640px) {
  .tm-wa-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .tm-wa-float svg { width: 26px; height: 26px; }
}
@media print {
  .tm-wa-float { display: none; }
}

/* ─────────────────────────────────────────────────────────────────
   BOLD variant — ink hero + brand motif backdrop, mint accents.
   ───────────────────────────────────────────────────────────────── */

body[data-variant="bold"] {
  --ground: var(--brand-paper);
}

body[data-variant="bold"] .tm-hero {
  background: var(--brand-ink);
  color: #fff;
  padding-top: 168px;
  padding-bottom: calc(var(--section-pad) + 24px);
  margin-top: 0;
}
body[data-variant="bold"] .tm-hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -80px;
  width: 520px; height: 520px;
  background:
    radial-gradient(circle at 50% 40%, color-mix(in oklab, var(--brand-blue) 60%, transparent) 0%, transparent 60%);
  filter: blur(40px);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}
body[data-variant="bold"] .tm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 88% 18%, var(--brand-mint) 0 36px, transparent 38px),
    radial-gradient(circle at 88% 38%, var(--brand-blue) 0 36px, transparent 38px);
  opacity: 0.18;
  mask-image: linear-gradient(180deg, black 0%, transparent 70%);
}
body[data-variant="bold"] .tm-hero .tm-container { position: relative; z-index: 1; }
body[data-variant="bold"] .tm-nav {
  background: color-mix(in oklab, var(--brand-ink) 78%, transparent);
  border-bottom-color: rgba(255,255,255,0.06);
}
body[data-variant="bold"] .tm-nav.is-scrolled {
  background: color-mix(in oklab, var(--brand-ink) 94%, transparent);
}
body[data-variant="bold"] .tm-nav-logo,
body[data-variant="bold"] .tm-nav-link { color: rgba(255,255,255,0.85); }
body[data-variant="bold"] .tm-nav-link:hover { color: #fff; }
body[data-variant="bold"] .tm-nav-link.is-accent { color: var(--brand-mint); }
body[data-variant="bold"] .tm-lang {
  background: rgba(255,255,255,0.08);
}
body[data-variant="bold"] .tm-lang button { color: rgba(255,255,255,0.6); }
body[data-variant="bold"] .tm-lang button[aria-current="true"] {
  background: rgba(255,255,255,0.95);
  color: var(--brand-deep);
}
body[data-variant="bold"] .tm-btn-dark {
  background: #fff;
  color: var(--brand-ink);
}
body[data-variant="bold"] .tm-btn-dark:hover {
  background: var(--brand-mint);
  color: var(--brand-ink);
}
body[data-variant="bold"] .tm-hero-headline { color: #fff; }
body[data-variant="bold"] .tm-hero-morph { color: var(--brand-mint); }
body[data-variant="bold"] .tm-hero-accent { color: #fff; }
body[data-variant="bold"] .tm-hero-sub { color: rgba(255,255,255,0.75); }
body[data-variant="bold"] .tm-hero-sub-em {
  color: #fff;
  background-image: linear-gradient(var(--brand-mint), var(--brand-mint));
}
body[data-variant="bold"] .tm-hero-fud { color: rgba(255,255,255,0.55); }
body[data-variant="bold"] .tm-hero-fud span::before { background: var(--brand-mint); }
body[data-variant="bold"] .tm-hero-actions .tm-btn-ghost {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-color: rgba(255,255,255,0.18);
}
body[data-variant="bold"] .tm-hero-actions .tm-btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.35);
}
body[data-variant="bold"] .tm-flow {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.92);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.5);
}
body[data-variant="bold"] .tm-flow-eyebrow { color: rgba(255,255,255,0.5); }
body[data-variant="bold"] .tm-flow-eyebrow::after { background: rgba(255,255,255,0.12); }
body[data-variant="bold"] .tm-flow-row {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
body[data-variant="bold"] .tm-flow-row-ico { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); color: #fff; }
body[data-variant="bold"] .tm-flow-row-title { color: #fff; }
body[data-variant="bold"] .tm-flow-row-meta { color: rgba(255,255,255,0.5); }
body[data-variant="bold"] .tm-flow-status { color: rgba(255,255,255,0.6); }
body[data-variant="bold"] .tm-flow-divider { background: rgba(255,255,255,0.1); }
body[data-variant="bold"] .tm-flow-divider::after { background: var(--brand-ink); border-color: rgba(255,255,255,0.18); }
body[data-variant="bold"] .tm-flow-pill {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: #fff;
}
body[data-variant="bold"] .tm-aboveproof { border-top-color: rgba(255,255,255,0.08); }
body[data-variant="bold"] .tm-aboveproof-label { color: rgba(255,255,255,0.5); }
body[data-variant="bold"] .tm-aboveproof-divider { background: rgba(255,255,255,0.08); }
body[data-variant="bold"] .tm-logo-ph { color: rgba(255,255,255,0.7); }
body[data-variant="bold"] .tm-logo-ph:hover { color: #fff; }
body[data-variant="bold"] .tm-logo-letter { background: rgba(255,255,255,0.08); color: #fff; }
body[data-variant="bold"] .tm-quote-text { color: #fff; }
body[data-variant="bold"] .tm-quote-author { color: rgba(255,255,255,0.6); }

/* Bold: final CTA inverted to ink */
body[data-variant="bold"] .tm-cta {
  background: var(--brand-ink);
  color: #fff;
  border-top: 0;
  position: relative;
  overflow: hidden;
}
body[data-variant="bold"] .tm-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 14% 80%, var(--brand-blue) 0 80px, transparent 84px),
    radial-gradient(circle at 22% 80%, var(--brand-mint) 0 80px, transparent 84px);
  opacity: 0.12;
  mask-image: radial-gradient(circle at 18% 80%, black 0%, transparent 60%);
}
body[data-variant="bold"] .tm-cta .tm-container { position: relative; z-index: 1; }
body[data-variant="bold"] .tm-cta-h2 { color: #fff; }
body[data-variant="bold"] .tm-cta-line2 { color: var(--brand-mint); }
body[data-variant="bold"] .tm-cta-sub { color: rgba(255,255,255,0.7); }
body[data-variant="bold"] .tm-cta-meta { color: rgba(255,255,255,0.5); }
body[data-variant="bold"] .tm-cta .tm-btn-dark {
  background: #fff;
  color: var(--brand-ink);
}
body[data-variant="bold"] .tm-cta .tm-btn-dark:hover {
  background: var(--brand-mint);
}
body[data-variant="bold"] .tm-cta .tm-btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}
body[data-variant="bold"] .tm-cta .tm-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}

/* Bold: section heads pick up mint as a 2nd accent on italic em */
body[data-variant="bold"] .tm-imagine-closing { color: var(--accent); }

/* ── Reduced motion ───────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .tm-caret { animation: none; }
  * { transition: none !important; }
}
