/* ═══════════════════════════════════════════════════════════
   CONNECTED MATE — GITHUB PAGES
   Design system: Agent Side Hustle School
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700;800&display=swap');

/* ── Reset ── */
* { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Root variables ── */
:root {
  --bg: #f6f6f8;
  --surface: rgba(255,255,255,0.84);
  --surface-strong: #ffffff;
  --surface-soft: #efeff3;
  --surface-dark: #151516;
  --surface-dark-soft: #242426;
  --text: #0a0a0b;
  --text-muted: #666666;
  --text-soft: #8e8e93;
  --line: rgba(10,10,11,0.1);
  --line-strong: rgba(10,10,11,0.16);
  --accent: #0a0a0b;
  --accent-end: #0a0a0b;
  --green: #2ed158;
  --blue: #0a84ff;
  --orange: #ff9f0a;
  --purple: #bf5af2;
  --red: #ff453a;
  --shadow: 0 24px 60px rgba(10,10,11,0.08);
  --shadow-strong: 0 30px 80px rgba(10,10,11,0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1440px;
  --section-gap: clamp(4rem, 8vw, 7rem);
  --font-display: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
::selection { background: var(--text); color: var(--bg); }

/* ── Page Shell ── */
.page-shell {
  position: relative;
  z-index: 1;
}

.page-shell::after {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  z-index: 9998;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ── Container ── */
.container {
  width: min(var(--container), calc(100% - 8vw));
  margin: 0 auto;
}

/* ── Section ── */
.section {
  padding: 0 0 var(--section-gap);
}

/* ── Section Header ── */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-strong);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 16ch;
}

.section-copy {
  max-width: 740px;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

.section-meta {
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
  white-space: nowrap;
}

/* ── Site Header ── */
.site-header {
  padding: 1rem 0 0.75rem;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246,246,248,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  justify-self: start;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.logo-mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.9rem;
  border: 1px solid var(--line-strong);
  background: var(--surface-strong);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(10,10,11,0.08);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  color: var(--text);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.15rem;
  transition: color 0.2s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.1rem;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ── Pill Button ── */
.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.18s ease, border-color 0.18s ease;
}

.pill-button:hover,
.pill-button:focus-visible {
  transform: translateY(-2px) scale(1.04);
  outline: none;
}

.pill-button.primary {
  background: var(--text);
  color: var(--bg);
  box-shadow: 0 14px 30px rgba(10,10,11,0.14);
}

.pill-button.primary:hover {
  box-shadow: 0 20px 40px rgba(10,10,11,0.28);
}

.pill-button.secondary {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.pill-button.whatsapp {
  background: var(--green);
  color: var(--text);
  box-shadow: 0 12px 28px rgba(46,209,88,0.2);
}

.pill-button.whatsapp:hover {
  box-shadow: 0 18px 36px rgba(46,209,88,0.3);
}

.pill-button.whatsapp svg {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ── Hero Section ── */
.hero-section {
  padding: 0.75rem 0 var(--section-gap);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 3rem;
  align-items: center;
  padding-bottom: 2rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title {
  max-width: none;
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  color: var(--text);
}

.hero-subtitle {
  max-width: 38rem;
  margin-bottom: 1.75rem;
  color: var(--text);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.015em;
}

.hero-cta {
  max-width: 34rem;
  padding: 1.3rem 0;
  display: grid;
  gap: 1rem;
}

.hero-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.hero-note {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.proof-cluster {
  margin-top: 1.5rem;
  max-width: 24rem;
}

.proof-label {
  margin-bottom: 0.7rem;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.proof-desc {
  color: var(--text-soft);
  font-size: 0.78rem;
  line-height: 1.6;
  max-width: 420px;
}

.built-by {
  margin-top: 1rem;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.7;
}

.built-by a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Hero Art ── */
.hero-art {
  position: relative;
  min-height: 42rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.widget-wrap {
  position: relative;
  z-index: 1;
  width: min(25rem, 100%);
  transform: rotate(-2deg);
  box-shadow: var(--shadow-strong);
}

/* ── Hero Matrix ── */
.hero-matrix {
  background: var(--surface-dark);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 1.35rem;
  padding: 1.25rem;
  position: absolute;
  top: 1rem;
  right: 4.5rem;
  width: min(32rem, 82%);
  opacity: 0.75;
  pointer-events: none;
}

.hero-matrix-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.hero-matrix-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
}

.hero-matrix-status {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
}

.mm-grid {
  display: grid;
  gap: 2px;
  width: 100%;
  grid-template-columns: repeat(48, 1fr);
}

.mm-cell {
  aspect-ratio: 1;
  background-color: #fff;
  opacity: 0.04;
  border-radius: 1px;
  transition: opacity 0.3s ease;
}

/* ── App Preview Stack (hero) ── */
.app-stack {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(22rem, 88%);
  height: 14rem;
  pointer-events: none;
}

.app-preview-card {
  position: absolute;
  width: 100%;
  background: #0d0d10;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  font-family: var(--font-mono);
  color: #d4d4d4;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}

.app-preview-card--back {
  bottom: 0;
  transform: rotate(-5deg) translateX(-6px) translateY(10px);
  opacity: 0.55;
  z-index: 1;
}

.app-preview-card--front {
  bottom: 0;
  transform: rotate(1deg);
  z-index: 3;
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.06);
}

.app-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.55rem;
}

.app-preview-status {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4ade80;
}

.app-preview-platform {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-preview-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.app-preview-desc {
  font-size: 0.67rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
  margin-bottom: 0.55rem;
  font-style: italic;
}

.app-preview-chips {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.app-preview-chip {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}

.app-preview-chip--green {
  background: rgba(74,222,128,0.12);
  color: #4ade80;
}

.app-preview-chip--blue {
  background: rgba(10,132,255,0.12);
  color: #0a84ff;
}

/* ── Dark Widget ── */
.dark-widget {
  background: var(--surface-dark);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 1.35rem;
  padding: 1.45rem;
  color: #ffffff;
}

.widget-brand-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.widget-brand-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0f172a 0%, #172554 50%, #1d4ed8 100%);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.7rem;
  color: #fff;
}

.widget-brand-info { flex: 1; min-width: 0; }

.widget-brand-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.widget-brand-status {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  display: inline-block;
  box-shadow: 0 0 6px rgba(255,255,255,0.5);
}

.widget-brand-handle {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #8e8e93;
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.widget-title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.widget-stats {
  display: grid;
  gap: 0.55rem;
}

.widget-stat {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #aaaaaf;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.widget-stat strong {
  color: #ffffff;
  font-weight: 700;
}

/* ── Stat Grid ── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-card {
  background: transparent;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  padding: 1.5rem 1.5rem;
  text-align: left;
  box-shadow: none;
  transition: background 220ms ease;
}
.stat-card:first-child { border-left: 0; }

.stat-card:hover {
  transform: none;
  background: rgba(10,10,11,0.02);
  box-shadow: none;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 0.65rem;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  line-height: 1.4;
  display: block;
}

@media (max-width: 720px) {
  .stat-grid {
    grid-template-columns: 1fr;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ── Apps Grid (CS Cards) ── */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.cs-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.25s ease;
  text-decoration: none;
  color: inherit;
}

.cs-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.cs-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
}

.cs-card-icon svg {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(10,10,11,0.06);
}

/* ── Card head: icon + category pill, top-left, tilted icon ── */
.cs-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.cs-card-head .cs-card-icon {
  transform: rotate(-6deg);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  flex-shrink: 0;
}
.cs-card:hover .cs-card-head .cs-card-icon {
  transform: rotate(0deg) scale(1.04);
}

.cs-card-category {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  margin-bottom: 0.85rem;
  width: fit-content;
}

.cs-card-title {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.cs-card-desc {
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.35rem;
}

.cs-card-badges {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1.35rem;
  flex-wrap: wrap;
}

.cs-badge {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(10,10,11,0.04);
  color: var(--text-muted);
  border: 1px solid var(--line);
}

.cs-card-cta {
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.cs-cta-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.cs-cta-arrow {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* ── Values / Phase Grid ── */
.phase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.phase-card {
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.phase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(10,10,11,0.1);
  border-color: var(--line-strong);
}

.phase-card.phase-dark {
  background: var(--surface-dark);
  border-color: rgba(255,255,255,0.12);
  color: #ffffff;
}

.phase-card.phase-dark .phase-days,
.phase-card.phase-dark .phase-desc {
  color: #aaaaaf;
}

.phase-card.phase-dark .phase-badge {
  background: #fff;
  color: var(--surface-dark);
}

.phase-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.phase-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.55rem;
  border-radius: 0.45rem;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.phase-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.phase-icon svg {
  width: 28px;
  height: 28px;
}

.phase-days {
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.phase-title {
  margin-bottom: 0.9rem;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.phase-desc {
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.7;
}

/* ── Feature Grid ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.75rem;
}

.feature-card {
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem 1.15rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
  border-color: var(--line-strong);
}

.feature-card h3 {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Info Section ── */
.info-section {
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--line-strong);
}

.info-section h2 {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.info-section p,
.info-section li {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.info-section ul { margin: 0.75rem 0; padding-left: 1.25rem; }
.info-section li { margin-bottom: 0.4rem; }

.info-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.info-block h3 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ── Languages List ── */
.languages-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.lang-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(10,10,11,0.04);
  color: var(--text-muted);
  border: 1px solid var(--line);
  letter-spacing: 0.04em;
}

/* ── App Detail Page Hero ── */
.app-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
}

.app-hero-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.app-hero-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  transform: rotate(-6deg);
  transition: transform 0.3s ease;
}

/* Icon stays tilted always - no hover straighten */

.app-hero-icon svg,
.app-hero-icon img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: block;
  object-fit: cover;
}

.app-hero-icon--purple img, .app-hero-icon--purple svg {
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35), 0 2px 8px rgba(99, 102, 241, 0.2);
}
.app-hero-icon--blue img, .app-hero-icon--blue svg {
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35), 0 2px 8px rgba(59, 130, 246, 0.2);
}
.app-hero-icon--green img, .app-hero-icon--green svg {
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35), 0 2px 8px rgba(16, 185, 129, 0.2);
}
.app-hero-icon--coral img, .app-hero-icon--coral svg {
  box-shadow: 0 8px 24px rgba(243, 94, 94, 0.4), 0 2px 8px rgba(255, 140, 66, 0.25);
}

.app-hero-name-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.app-hero-name-row .app-hero-icon {
  margin: 0;
}

.app-hero-text h1 {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.app-hero-text .tagline {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-soft);
  margin-top: 0.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.app-hero-text .promo {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.7;
  max-width: 560px;
}

.app-hero-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* ── Features Section (detail pages) ── */
.features-section {
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--line-strong);
}

.features-section h2 {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

/* ── FAQ ── */
.faq-list {
  display: grid;
  gap: 0.5rem;
  max-width: 680px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.3;
}

.faq-chevron {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--text-soft);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 1rem 1.25rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.7;
}

/* ── Bottom CTA ── */
.bottom-cta .cta-panel {
  padding: clamp(1.75rem, 4vw, 2.8rem);
  background: var(--surface-dark);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: #ffffff;
}

.bottom-cta .section-kicker,
.bottom-cta .section-copy {
  color: #aaaaaf;
}

.bottom-cta .section-title {
  max-width: 18ch;
  margin-bottom: 1rem;
}

.bottom-cta .pill-button.whatsapp {
  background: var(--green);
  color: #0a0a0b;
  box-shadow: none;
}

/* Ensure non-whatsapp CTA buttons inside the dark bottom-cta panel keep readable text */
.bottom-cta .pill-button:not(.whatsapp) {
  color: #ffffff;
}

.bottom-cta .pill-button.secondary {
  color: #ffffff;
  border-color: rgba(255,255,255,0.35);
  background: transparent;
}

.cta-actions {
  display: flex;
  flex-direction: row;
  gap: 0.6rem;
  margin-top: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.cta-actions .pill-button {
  flex: 1;
  min-width: 140px;
}
@media (max-width: 560px) {
  .cta-actions { flex-direction: column; }
  .cta-actions .pill-button { width: 100%; flex: initial; }
}

/* ── Contact Page ── */
.contact-section {
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.contact-section h1 {
  font-family: var(--font-mono);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.contact-section .subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin-bottom: 1.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  max-width: 700px;
  margin: 0 auto;
}

.contact-card {
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-card h3 {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.contact-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.contact-card .pill-button { width: 100%; justify-content: center; }

/* ── Contact Form ── */
.contact-form-section { padding: 0 0 clamp(2rem, 4vw, 3rem); }

.form-card {
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  max-width: 520px;
  margin: 0 auto;
}

.form-card h2 {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.form-card .form-subtitle {
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-soft);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(10,10,11,0.06);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-submit { margin-top: 0.5rem; }
.form-submit .pill-button { width: 100%; justify-content: center; }

/* ── Footer ── */
.site-footer {
  padding: 1.8rem 0 3rem;
  border-top: 1px solid var(--line);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: flex-end;
}

.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.system-tag {
  color: var(--text);
}

/* ── Blur-In Animation ── */
.blur-in {
  opacity: 0;
  filter: blur(12px);
  animation: blurIn 1.2s cubic-bezier(0.2,0,0.2,1) forwards;
}

.blur-in.delay-1 { animation-delay: 0.15s; }
.blur-in.delay-2 { animation-delay: 0.3s; }
.blur-in.delay-3 { animation-delay: 0.5s; }

@keyframes blurIn {
  from { opacity: 0; filter: blur(12px); transform: translateY(4px); }
  to   { opacity: 1; filter: blur(0);    transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */

/* ═══════════════════════════════════════════════════════════
   DESKTOP  (min-width: 1025px)
   Explicit desktop reinforcement — ensures tablet styles
   never leak upward and desktop layout stays solid.
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 1025px) {

  /* ── Spacing: COMPACT ── */
  :root {
    --section-gap: clamp(2.5rem, 4vw, 4rem);
  }

  /* ── Container: tighter max-width ── */
  .container {
    width: min(1100px, calc(100% - 6vw));
  }

  /* ── Nav bar: clean 3-column grid ── */
  .nav-bar {
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: none;
    align-items: center;
    gap: 0.75rem;
  }
  .logo {
    grid-area: auto;
    justify-self: start;
    font-size: 0.78rem;
  }
  .nav-links {
    grid-area: auto;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 1rem;
    font-size: 0.8rem;
  }
  .nav-links a {
    padding: 0;
    padding-bottom: 0.15rem;
    border-radius: 0;
    background: transparent;
  }
  .nav-links a:hover {
    background: transparent;
  }
  .nav-actions {
    grid-area: auto;
    justify-self: end;
  }

  /* ── No touch-target bloat ── */
  .pill-button {
    min-height: auto;
    padding: 0.6rem 1rem;
    font-size: 0.78rem;
  }
  .lang-switch {
    min-height: auto;
    padding: 0.25rem 0.55rem;
    font-size: 0.65rem;
  }

  /* ── Section header ── */
  .section-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
  }
  .section-meta {
    text-align: right;
    white-space: nowrap;
  }

  /* ── Section title: compact ── */
  .section-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    letter-spacing: -0.03em;
  }
  .section-kicker {
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
  }

  /* ── Hero: compact ── */
  .hero-section {
    padding-top: 0.5rem;
    padding-bottom: 2rem;
  }
  .hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.04em;
    max-width: none;
    margin-bottom: 1rem;
  }
  .hero-subtitle {
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    max-width: 32rem;
    margin-bottom: 1.25rem;
  }
  .hero-badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.65rem;
    margin-bottom: 1rem;
  }
  .hero-cta {
    padding: 0.75rem 0;
  }

  /* ── Hero art: compact ── */
  .hero-art {
    min-height: 32rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  .widget-wrap {
    transform: rotate(-2deg);
    width: min(22rem, 100%);
  }

  /* ── CS Grid: 4 columns for features, 3 for apps ── */
  .cs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .cs-grid.grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  /* ── Cards: tighter ── */
  .cs-card {
    padding: 1.25rem;
    border-radius: 8px;
  }
  .cs-card-icon { width: 36px; height: 36px; margin-bottom: 0.75rem; }
  .cs-card-icon svg, .cs-card-icon img { width: 36px; height: 36px; }
  .cs-card-title { font-size: 0.95rem; margin-bottom: 0.4rem; }
  .cs-card-desc { font-size: 0.78rem; line-height: 1.6; margin-bottom: 0.75rem; }
  .cs-card-category { font-size: 0.6rem; margin-bottom: 0.5rem; }
  .cs-card-cta { padding-top: 0.75rem; }
  .cs-cta-label { font-size: 0.6rem; }
  .cs-cta-arrow { font-size: 0.8rem; }
  .cs-badge { font-size: 0.55rem; padding: 0.15rem 0.4rem; }

  /* ── Phase grid: 3 columns, tight ── */
  .phase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .phase-card {
    padding: 1.15rem;
  }
  .phase-head { margin-bottom: 1rem; }
  .phase-badge { font-size: 0.68rem; padding: 0.25rem 0.45rem; }
  .phase-title { font-size: 0.95rem; margin-bottom: 0.5rem; }
  .phase-desc { font-size: 0.78rem; }

  /* ── Blog grid: 3 columns, tight ── */
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
  .blog-card { padding: 1.25rem; }

  /* ── Feature grid: 3 columns ── */
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
  }
  .feature-card {
    padding: 1rem;
  }
  .feature-card h3 { font-size: 0.78rem; }
  .feature-card p { font-size: 0.75rem; line-height: 1.6; }

  /* ── Stat grid: 3 columns inline ── */
  .stat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  /* ── App detail: compact ── */
  .app-hero {
    padding: clamp(2rem, 4vw, 3rem) 0 clamp(1.5rem, 3vw, 2rem);
  }
  .app-hero-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .app-hero-name-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
  }
  .app-hero-icon {
    transform: rotate(-6deg);
    width: 48px;
    height: 48px;
  }
  .app-hero-icon svg, .app-hero-icon img {
    width: 48px;
    height: 48px;
  }
  .app-hero-text h1 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  }
  .app-hero-text .tagline { font-size: 0.68rem; }
  .app-hero-text .promo {
    max-width: 480px;
    font-size: 0.78rem;
    line-height: 1.65;
    margin-top: 0.75rem;
  }
  .app-hero-actions { margin-top: 1rem; gap: 0.5rem; }

  /* ── Info section: compact ── */
  .info-section {
    padding: clamp(1.5rem, 3vw, 2rem) 0;
  }
  .info-section h2 { font-size: 0.8rem; }
  .info-section p, .info-section li { font-size: 0.78rem; }

  /* ── Podcast dark-widget ── */
  .dark-widget {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  /* ── Article: comfortable reading ── */
  .article-content {
    max-width: 640px;
  }
  .article-content h2 { font-size: 1rem; }
  .article-content p { font-size: 0.875rem; }

  /* ── Legal: compact ── */
  .legal-tabs {
    gap: 0.35rem;
    padding: 0.35rem;
    overflow-x: auto;
    max-width: 100%;
  }
  .legal-tab {
    padding: 0.55rem 0.9rem;
    font-size: 0.72rem;
    flex-shrink: 0;
  }
  .legal-content { max-width: 680px; }

  /* ── Footer: compact ── */
  .footer-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
  }
  .footer-links {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.6rem;
  }
  .site-footer {
    padding: 1.25rem 0 2rem;
  }

  /* ── Contact: compact ── */
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 640px;
    gap: 0.75rem;
  }
  .contact-card { padding: 1.15rem; }
  .contact-section h1 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }

  /* ── Info columns ── */
  .info-columns {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  /* ── Platform grid ── */
  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ── Keynote grid ── */
  .keynote-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  /* ── FAQ: compact ── */
  .faq-list { max-width: 640px; }
  .faq-question { font-size: 0.9rem; }
  .faq-answer { font-size: 0.78rem; padding: 0.85rem 1rem 1rem; }
  .faq-item summary { padding: 0.85rem 1rem; }

  /* ── Form ── */
  .form-card { max-width: 480px; padding: 1.5rem 1.25rem; }

  /* ── Bottom CTA: compact ── */
  .bottom-cta .cta-panel {
    padding: clamp(1rem, 2vw, 1.5rem);
  }
  .bottom-cta .section-title {
    font-size: clamp(1rem, 2vw, 1.3rem);
  }
  .cta-actions { gap: 0.4rem; margin-top: 0.75rem; }
  .cta-actions .pill-button { font-size: 0.72rem; padding: 0.5rem 0.85rem; }

  /* ── Contact teaser ── */
  .contact-teaser {
    padding: clamp(2rem, 4vw, 3rem) 0;
  }

  /* ── Scratch ── */
  .scratch-gift-container { width: 240px; height: 48px; }
}

/* ═══════════════════════════════════════════════════════════
   WIDE DESKTOP  (min-width: 1201px)
   Hero returns to 2-column layout on wide screens.
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 1201px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 3rem;
    align-items: center;
  }
  .hero-art {
    min-height: 42rem;
    justify-content: flex-end;
  }
  .widget-wrap {
    transform: rotate(-2deg);
  }
}

/* ═══════════════════════════════════════════════════════════
   EXTRA WIDE DESKTOP  (min-width: 1440px)
   Extra room — let grids breathe.
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 1440px) {
  .cs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Desktop narrow (under 1200px): hero stacks --- */
@media (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-art {
    min-height: 32rem;
    justify-content: center;
  }
  .widget-wrap { transform: none; }
}

/* --- Tablet & small desktop (max 1024px) --- */
@media (max-width: 1024px) {
  .container {
    width: min(var(--container), calc(100% - 3rem));
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .section-meta {
    text-align: left;
    white-space: normal;
  }
}

/* ═══════════════════════════════════════════════════════════
   TABLET  (768px – 1024px)
   Primary viewport for this site (iPad / tablet).
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 768px) and (max-width: 1024px) {

  /* ── Spacing ── */
  :root {
    --section-gap: clamp(3rem, 6vw, 5rem);
  }
  .container {
    width: min(900px, calc(100% - 4rem));
  }

  /* ── Nav bar: 2-row layout ── */
  .nav-bar {
    grid-template-columns: 1fr auto;
    grid-template-areas: "logo actions" "links links";
    gap: 0.75rem;
  }
  .logo {
    grid-area: logo;
    font-size: 0.875rem;
  }
  .nav-links {
    grid-area: links;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8125rem;
  }
  .nav-links a {
    padding: 0.5rem 0.6rem;
    border-radius: 6px;
  }
  .nav-links a:hover {
    background: var(--surface-soft);
  }
  .nav-actions {
    grid-area: actions;
  }

  /* ── Touch targets ── */
  .pill-button {
    min-height: 44px;
    padding: 0.8rem 1.35rem;
    font-size: 0.84rem;
  }
  .lang-switch {
    min-height: 44px;
    padding: 0.5rem 0.85rem;
    font-size: 0.75rem;
  }

  /* ── Hero ── */
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-title {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    max-width: none;
  }
  .hero-subtitle {
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    max-width: 34rem;
  }
  .hero-art {
    min-height: 28rem;
    justify-content: center;
  }
  .widget-wrap { transform: none; }
  .hero-section {
    padding-top: 1.25rem;
  }

  /* ── App cards grid: 2 columns ── */
  .cs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* ── Phase / values grid: 2 columns ── */
  .phase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* ── Feature grid: auto-fit stays, just tighten minmax ── */
  .feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.75rem;
  }

  /* ── Blog grid: 2 columns ── */
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* ── Contact grid: 2 columns (keep) ── */
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 640px;
  }

  /* ── Stat grid: 3 columns (keep, fits fine on tablet) ── */
  .stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* ── App detail hero: keep inline ── */
  .app-hero-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .app-hero-name-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }
  .app-hero-text .promo {
    max-width: 520px;
    font-size: 0.875rem;
    line-height: 1.7;
  }

  /* ── Info columns: 2 columns (keep) ── */
  .info-columns {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  /* ── Platform grid: 2 columns (keep) ── */
  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ── Keynote grid: 2 columns ── */
  .keynote-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ── Footer: stays single row ── */
  .footer-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-size: 0.74rem;
  }
  .footer-links {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  /* ── FAQ: wider on tablet ── */
  .faq-list {
    max-width: 100%;
  }
  .faq-item summary {
    padding: 1.15rem 1.35rem;
  }

  /* ── Cards: comfortable padding ── */
  .cs-card {
    padding: 1.5rem;
  }
  .phase-card {
    padding: 1.35rem;
  }
  .contact-card {
    padding: 1.35rem;
  }
  .blog-card {
    padding: 1.5rem;
  }

  /* ── Form: wider on tablet ── */
  .form-card {
    max-width: 580px;
  }
  .form-group input,
  .form-group textarea {
    padding: 0.8rem 1rem;
    font-size: 0.9375rem;
  }

  /* ── Scratch gift: ensure good touch area ── */
  .scratch-gift-container {
    width: 240px;
    height: 48px;
  }

  /* ── CTA section: inline buttons on tablet ── */
  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hero-cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  /* ── Legal tabs: better touch ── */
  .legal-tab {
    min-height: 44px;
    padding: 0.55rem 1.1rem;
    font-size: 0.8rem;
  }

  /* ── Article content: wider ── */
  .article-content {
    max-width: 100%;
  }
}

/* --- Below tablet (max 767px): phone layout --- */
@media (max-width: 767px) {
  .nav-bar {
    grid-template-columns: 1fr auto;
    grid-template-areas: "logo actions" "links links";
    gap: 0.75rem;
  }
  .logo { grid-area: logo; }
  .nav-links {
    grid-area: links;
    justify-content: flex-start;
    flex-wrap: wrap;
    font-size: 0.8125rem;
  }
  .nav-actions { grid-area: actions; }

  .app-hero-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .app-hero-text .promo { max-width: 100%; }
  .app-hero-actions { justify-content: center; }
  .info-columns { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .cs-grid {
    grid-template-columns: 1fr;
    max-width: 28rem;
  }
  .phase-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--container), calc(100% - 2rem));
  }
  .nav-actions .pill-button { display: none; }
  .hero-title { max-width: none; }
  .hero-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta-actions .pill-button { width: 100%; }
  .hero-art { min-height: 28rem; }
  .proof-cluster { max-width: none; }
  .footer-row {
    display: grid;
    grid-template-columns: 1fr;
  }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .hero-badge, .section-kicker, .section-meta, .hero-note,
  .built-by, .footer-row {
    font-size: 0.7rem;
  }
  .phase-card, .feature-card, .cs-card, .contact-card, .blog-card {
    padding: 1.25rem;
  }
  .cs-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   BLOG
   ═══════════════════════════════════════════════════════════ */

/* ── Blog Grid ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.25s ease;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.blog-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.blog-card-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  width: fit-content;
}

.blog-card-time {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  text-transform: uppercase;
}

.blog-card-title {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.blog-card-excerpt {
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.35rem;
}

.blog-card-footer {
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.blog-card-author {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.blog-card-date {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .blog-grid {
    grid-template-columns: 1fr;
    max-width: 32rem;
  }
}

/* ──────────────────────────────────────────────────────────────
   Article reading view — editorial redesign
   Mono = brand voice (UI, headings).
   Newsreader serif = body for actual reading comfort.
   ────────────────────────────────────────────────────────────── */

/* Reset section number counter at the start of every article */
.article-content { counter-reset: section; }

/* Back link — small refined kicker, not a button */
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  text-decoration: none;
  transition: color 180ms ease, transform 200ms cubic-bezier(0.05, 0.7, 0.1, 1);
}
.article-back::before {
  content: '←';
  display: inline-block;
  font-size: 0.95rem;
  transition: transform 220ms cubic-bezier(0.05, 0.7, 0.1, 1);
}
.article-back:hover { color: var(--text); }
.article-back:hover::before { transform: translateX(-3px); }

/* Header — magazine cover block, full-bleed feel */
.article-header {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.75rem, 4vw, 3rem) clamp(2.25rem, 4vw, 3.5rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
}
/* Faded numerical kicker bleeding off the right edge */
.article-header::before {
  content: '\2014\00a0' '01';
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-soft);
}
/* Decorative brand "/CM" mark in bottom-right */
.article-header::after {
  content: '/CM';
  position: absolute;
  bottom: 0.85rem;
  right: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--line-strong);
  z-index: -1;
}
.article-header h1 {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 clamp(1.5rem, 3vw, 2rem);
  text-wrap: balance;
  max-width: 22ch;
}

/* Meta strip — clean horizontal byline */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.9rem;
}
.article-meta-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  background: var(--text);
  color: var(--bg);
  border-radius: 3px;
}
.article-meta-item {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.article-meta-item strong {
  color: var(--text);
  font-weight: 600;
  margin-right: 0.05rem;
}
.article-meta-item + .article-meta-item::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  background: var(--text-soft);
  border-radius: 50%;
  margin-right: 0.9rem;
  vertical-align: middle;
}

/* ── Body — wrapped in a paper-feel card ── */
.article-content {
  max-width: 980px;
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 4vw, 5.5rem);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  font-family: var(--font-mono);
  font-size: 1.125rem;
  line-height: 1.75;
  color: #1a1a1d;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

.article-content p {
  margin: 0 0 1.5rem;
  text-wrap: pretty;
}
.article-content p:last-child { margin-bottom: 0; }

/* Lede — first paragraph slightly larger, with drop cap */
.article-content > p:first-of-type {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #131316;
  margin-bottom: 1.75rem;
}
/* Drop cap — our brand mono, solid and intentional */
.article-content > p:first-of-type::first-letter {
  float: left;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 4.2em;
  line-height: 0.9;
  padding: 0.05em 0.2em 0 0;
  margin: 0.08em 0 0 -0.04em;
  color: var(--text);
  letter-spacing: -0.05em;
}

/* Section headings — h2 with big number floating in left margin */
.article-content h2 {
  font-family: var(--font-mono);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: clamp(3.5rem, 6vw, 4.5rem) 0 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  position: relative;
  counter-increment: section;
}
/* Big section counter floating in left margin (uses card padding as gutter) */
.article-content h2::before {
  content: counter(section, decimal-leading-zero);
  position: absolute;
  left: clamp(-4.5rem, -3vw, -2.5rem);
  top: 1.4rem;
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: rgba(10,10,11,0.12);
  width: 3rem;
  text-align: right;
  pointer-events: none;
}

.article-content h3 {
  font-family: var(--font-mono);
  font-style: italic;
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.3;
  color: var(--text);
  margin: 2rem 0 0.6rem;
  letter-spacing: -0.005em;
}

/* Lists — serif, refined markers */
.article-content ul,
.article-content ol {
  margin: 1.25rem 0 1.6rem;
  padding-left: 1.5rem;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}
.article-content ul li,
.article-content ol li {
  margin-bottom: 0.55rem;
  padding-left: 0.25rem;
}
.article-content ul li::marker {
  content: '— ';
  color: var(--text-soft);
  font-family: var(--font-mono);
}
.article-content ol li::marker {
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-weight: 600;
}

/* Links — subtle by default, confident on hover */
.article-content a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(10,10,11,0.25);
  transition: text-decoration-color 200ms ease;
}
.article-content a:hover { text-decoration-color: var(--text); }

/* Pull quote — large editorial moment */
.article-content blockquote {
  margin: 2.5rem 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-mono);
  font-style: italic;
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.4;
  color: var(--text);
  letter-spacing: -0.01em;
  text-align: center;
  position: relative;
}
.article-content blockquote::before {
  content: '\201C';
  display: block;
  font-family: var(--font-mono);
  font-size: 3.5rem;
  line-height: 0.6;
  color: var(--text);
  margin-bottom: 0.4rem;
  font-style: normal;
  font-weight: 600;
}
.article-content blockquote p {
  font-size: inherit;
  color: inherit;
  line-height: inherit;
  font-family: inherit;
  margin: 0 0 0.5rem;
  font-style: italic;
}
.article-content blockquote cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* Inline emphasis */
.article-content strong { color: var(--text); font-weight: 600; }
.article-content em { font-style: italic; }

/* Code */
.article-content code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 0.1rem 0.4rem;
  background: var(--surface-soft);
  color: var(--text);
  border-radius: 4px;
}
.article-content pre {
  margin: 1.75rem 0;
  padding: 1.4rem 1.6rem;
  background: var(--surface-dark);
  color: #f0f0f2;
  border-radius: 10px;
  overflow-x: auto;
  font-size: 0.88rem;
  line-height: 1.65;
}
.article-content pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  font-size: inherit;
}

/* Figures */
.article-content figure { margin: 2.25rem 0; }
.article-content figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.article-content figcaption {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  text-align: center;
}

/* Horizontal rule as section divider */
.article-content hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 2.5rem auto;
  width: 4rem;
}

/* End mark — editorial closure on the last paragraph */
.article-content > p:last-of-type::after {
  content: ' \25C6';
  display: inline-block;
  margin-left: 0.5rem;
  color: var(--text);
  font-size: 0.65em;
  vertical-align: 0.18em;
  font-family: var(--font-mono);
}

/* ── Article footer (CSS ready for future HTML) ── */
.article-footer {
  max-width: 660px;
  margin-top: clamp(3rem, 5vw, 4rem);
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.article-author-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.article-author-card .author-initials {
  width: 44px;
  height: 44px;
  font-size: 0.85rem;
}
.article-author-card-info { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.article-author-card-name {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.article-author-card-bio {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.article-footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ── Mobile ── */
@media (max-width: 640px) {
  .article-content {
    font-size: 1.05rem;
    line-height: 1.7;
    padding: 1.75rem 1.25rem;
    border-radius: 10px;
  }
  .article-content > p:first-of-type { font-size: 1.15rem; }
  .article-content > p:first-of-type::first-letter { font-size: 3.6em; padding-right: 0.15em; }
  .article-content h2 { font-size: 1.25rem; margin-top: 2.5rem; padding-top: 1.25rem; }
  /* On mobile, place the section number above the title (no margin gutter) */
  .article-content h2::before {
    position: static;
    display: block;
    width: auto;
    text-align: left;
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
  }
  .article-content blockquote { font-size: 1.2rem; margin: 1.75rem 0; }
  .article-content blockquote::before { font-size: 2.4rem; }
  .article-header { padding: 1.75rem 1.25rem 1.5rem; border-radius: 10px; }
  .article-header h1 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
}


/* ═══════════════════════════════════════════════════════════
   ADDITIONAL COMPONENTS
   Tags, Meta, Stats, Podcast, Keynotes, Legal, Lang-switch
   ═══════════════════════════════════════════════════════════ */

/* ── Language Switcher ── */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  text-decoration: none;
}

.lang-switch:hover,
.lang-switch:focus-visible {
  border-color: var(--text);
  color: var(--text);
  background: var(--surface-strong);
}

/* ── Blog Tag ── */
.blog-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(10,10,11,0.04);
  color: var(--text-muted);
  border: 1px solid var(--line);
}

/* ── Blog Meta ── */
.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}

.blog-meta span + span::before {
  content: '\00B7';
  margin-right: 0.75rem;
}

/* ── Platform Grid (Podcast) ── */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* ── Platform Card ── */
.platform-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.25s ease;
}

.platform-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-strong);
  transform: translateY(-2px);
}

.platform-card .platform-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--surface-soft);
  color: var(--text);
}

.platform-card .platform-name {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.platform-card .platform-url {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}

/* ── Keynote Grid ── */
.keynote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}

/* ── Keynote Card ── */
.keynote-card {
  background: var(--surface-dark);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 1.75rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.25s ease;
}

.keynote-card:hover {
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  transform: translateY(-4px);
}

.keynote-card h3 {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #ffffff;
}

.keynote-card p {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: #aaaaaf;
  flex: 1;
}

.keynote-card .keynote-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════
   Legal page — full redesign
   ═══════════════════════════════════════════════════════════ */

/* ── Hero ── */
.legal-hero {
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.legal-hero .container { max-width: 820px; }
.legal-hero .section-kicker {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--surface-soft);
}
.legal-hero h1 {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 1rem;
}
.legal-hero p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0;
}

/* ── Tabs: pill style, sticky under header ── */
.legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  padding: 0.5rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  width: fit-content;
  max-width: 100%;
}
.legal-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  border-radius: 100px;
  border: none;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  white-space: nowrap;
}
.legal-tab-icon {
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.legal-tab:hover .legal-tab-icon { opacity: 1; }
.legal-tab.active .legal-tab-icon { opacity: 1; }
.legal-tab:hover {
  color: var(--text);
  background: rgba(10, 10, 11, 0.04);
}
.legal-tab.active {
  background: var(--text);
  color: var(--bg);
  box-shadow: 0 2px 8px rgba(10, 10, 11, 0.12);
}

/* ── Content wrapper — hide inactive tabs (was broken: all 4 stacked) ── */
.legal-content {
  display: none;
  max-width: 820px;
  padding: 0.5rem 0 2rem;
  counter-reset: legal-block;
}
.legal-content.active {
  display: block;
  animation: legal-fade-in 0.4s cubic-bezier(0.2, 0.7, 0.1, 1);
}
@keyframes legal-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Chapter opener (magazine-style) ── */
.legal-chapter-opener {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: stretch;
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.legal-chapter-opener::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--text);
}
.legal-chapter-num {
  font-family: var(--font-mono);
  font-size: clamp(4.5rem, 12vw, 8.5rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  padding-top: 0.25rem;
  font-variant-numeric: tabular-nums;
}
.legal-chapter-meta {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.75rem;
}
.legal-chapter-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  width: fit-content;
  background: var(--surface-soft);
}
.legal-chapter-title {
  font-family: var(--font-mono);
  font-size: clamp(1.7rem, 4.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--text);
}
.legal-chapter-tagline {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0.35rem 0 0;
  max-width: 520px;
}
@media (max-width: 640px) {
  .legal-chapter-opener {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .legal-chapter-num {
    padding-top: 0;
    line-height: 0.9;
  }
}

/* ── Visually hidden (keep for AT/SEO, not shown) ── */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ── Drop cap on first paragraph of each content block ── */
.legal-block > p:first-of-type::first-letter {
  font-family: var(--font-mono);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 0.9;
  float: left;
  padding: 0.25rem 0.65rem 0 0;
  margin-top: 0.2rem;
  letter-spacing: -0.04em;
  color: var(--text);
}

.legal-content h2 {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 2.8vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  line-height: 1.15;
}

/* ── Section block ── */
.legal-block {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  counter-reset: legal-h3;
}
.legal-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-block h3 {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1.25rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 1rem;
  counter-increment: legal-h3;
}
.legal-block h3::before {
  content: counter(legal-h3, decimal-leading-zero);
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text);
  padding: 0.45rem 0.7rem;
  background: var(--text);
  color: var(--bg);
  border-radius: 8px;
  line-height: 1;
  min-width: 2.8rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(10, 10, 11, 0.15);
}
/* Ornamental separator before each H3 (except the first) */
.legal-block h3:not(:first-child) {
  margin-top: 2.75rem;
  position: relative;
  padding-top: 2.75rem;
}
.legal-block h3:not(:first-child)::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--line) 15%,
    var(--line) 85%,
    transparent 100%
  );
}

.legal-block p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.75;
  margin: 0 0 1rem;
  opacity: 0.88;
}
.legal-block p:last-child { margin-bottom: 0; }

/* ── Lists ── */
.legal-block ul {
  margin: 1rem 0 1.35rem;
  padding-left: 1.5rem;
  list-style: none;
}
.legal-block ul li {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 0.6rem;
  position: relative;
  opacity: 0.88;
}
.legal-block ul li::before {
  content: "";
  position: absolute;
  left: -1.1rem;
  top: 0.75rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text);
  opacity: 0.4;
}

/* ── Inline links ── */
.legal-block a,
.legal-content a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color 0.2s, opacity 0.2s;
}
.legal-block a:hover,
.legal-content a:hover {
  text-decoration-color: var(--text);
  opacity: 0.85;
}

/* ── Company ID card (stamp-like document feel) ── */
.legal-info-grid {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  row-gap: 0.95rem;
  column-gap: 1.5rem;
  padding: 1.9rem 2rem;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin: 1.5rem 0 2.5rem;
  box-shadow: 0 6px 24px rgba(10, 10, 11, 0.06);
  position: relative;
  overflow: hidden;
}
.legal-info-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--text) 0%, var(--text-muted) 100%);
  opacity: 0.15;
}
.legal-info-grid::after {
  content: "FICHE OFFICIELLE";
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-soft);
  opacity: 0.4;
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  pointer-events: none;
}
html[lang="en"] .legal-info-grid::after { content: "OFFICIAL RECORD"; }
@media (max-width: 600px) {
  .legal-info-grid::after { display: none; }
}
.legal-info-grid dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  align-self: center;
}
.legal-info-grid dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
  align-self: center;
}
@media (max-width: 600px) {
  .legal-info-grid {
    grid-template-columns: 1fr;
    row-gap: 1.1rem;
    padding: 1.25rem 1.35rem;
  }
  .legal-info-grid dt { font-size: 0.64rem; }
  .legal-info-grid dd { margin-top: -0.45rem; font-size: 0.9rem; }
}

/* ── "Last updated" footnote ── */
.legal-update {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding: 0.55rem 1rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  margin-top: 3rem;
}
.legal-update::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

/* ── Mobile polish ── */
@media (max-width: 767px) {
  .legal-tabs {
    border-radius: 14px;
    padding: 0.35rem;
  }
  .legal-tab {
    padding: 0.55rem 0.85rem;
    font-size: 0.72rem;
  }
  .legal-content h2 { font-size: 1.35rem; }
  .legal-block h3 { font-size: 1rem; }
  .legal-block p,
  .legal-block ul li { font-size: 0.9rem; }
}

/* ── Back Link ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.2s;
  margin-bottom: 1.5rem;
}

.back-link:hover {
  color: var(--text);
}

.back-link::before {
  content: '\2190';
  font-size: 0.9rem;
}

/* ── Responsive: Additional Components ── */
@media (max-width: 767px) {
  .platform-grid {
    grid-template-columns: 1fr;
  }
  .keynote-grid {
    grid-template-columns: 1fr;
  }
  .legal-tabs {
    gap: 0.35rem;
  }
  .legal-tab {
    font-size: 0.7rem;
    padding: 0.45rem 0.75rem;
  }
}

/* ── Scratch Gift (Canvas-based) ── */
.scratch-gift-container {
  position: relative;
  width: 240px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 0.35rem;
}

.scratch-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 8px;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8' fill='rgba(255,255,255,0.3)'/%3E%3C/svg%3E") 12 12, crosshair;
  touch-action: none;
}

.scratch-reveal {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0 0.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.scratch-reveal.revealed {
  animation: scratchReveal 400ms cubic-bezier(0.05, 0.7, 0.1, 1) forwards;
}

@keyframes scratchReveal {
  from { opacity: 0.5; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.scratch-reveal a {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.scratch-reveal a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.scratch-reveal .scratch-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.scratch-reveal .scratch-users {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-soft);
  white-space: nowrap;
}

.scratch-reveal .scratch-sep {
  color: var(--text-soft);
  font-size: 0.5rem;
}

/* ── Page Load Animation ── */
.page-shell {
  animation: pageEnter 600ms cubic-bezier(0.05, 0.7, 0.1, 1);
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Performance: content-visibility for off-screen sections ── */
.section {
  content-visibility: auto;
  contain-intrinsic-size: auto 400px;
}

/* ── Smooth image loading ── */
/* Native lazy loading via loading="lazy" attribute — browser handles it.
   (Previously an opacity:0 rule required a JS-added .loaded class that was
   never wired up, hiding every lazy image across the site.) */
img {
  transition: opacity 300ms cubic-bezier(0.2, 0, 0, 1);
}

/* ── Prevent layout shift from fonts ── */
body {
  font-display: swap;
}

/* ── Link hover transitions (M3 motion) ── */
a, button, .pill-button, .cs-card, .phase-card, .blog-card, .feature-card {
  transition: all 250ms cubic-bezier(0.2, 0, 0, 1);
}

/* ── Respect reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .page-shell {
    animation: none;
  }
}

/* ── Scroll-triggered blur-in ── */
.blur-in-scroll {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(8px);
  transition: opacity 800ms cubic-bezier(0.05, 0.7, 0.1, 1),
              filter 800ms cubic-bezier(0.05, 0.7, 0.1, 1),
              transform 800ms cubic-bezier(0.05, 0.7, 0.1, 1);
  will-change: opacity, filter, transform;
}

.blur-in-scroll.blur-in-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .blur-in-scroll {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  max-width: 540px;
  margin: 0 auto;
  padding: 0.85rem 1rem;
  background: var(--surface-dark);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  transform: translateY(calc(100% + 2rem));
  transition: transform 500ms cubic-bezier(0.05, 0.7, 0.1, 1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p { flex: 1; color: #aaaaaf; line-height: 1.5; min-width: 200px; margin: 0; }
.cookie-banner a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner button {
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.15);
  background: #fff;
  color: var(--surface-dark);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 200ms;
}
.cookie-banner button:hover { transform: translateY(-1px); }

/* Podcast Hero */
.podcast-hero {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3rem);
}
.podcast-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 900px) {
  .podcast-hero-grid { grid-template-columns: 1fr; }
}
.podcast-hero-title {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0.75rem 0 1rem;
}
.podcast-hero-subtitle {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 28rem;
  margin-bottom: 1.25rem;
}
.podcast-hero-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.podcast-hero-stats > div {
  display: flex;
  flex-direction: column;
}
.podcast-hero-stats strong {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.podcast-hero-stats span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}
.podcast-player-card {
  background: var(--surface-dark);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 1.5rem;
  color: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  transform: rotate(-1.5deg);
  transition: transform 400ms cubic-bezier(0.2, 0, 0, 1);
}
.podcast-player-card:hover { transform: rotate(0deg); }
.podcast-player-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.podcast-player-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}
.podcast-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  display: inline-block;
  animation: podcastPulse 1.5s ease-in-out infinite;
}
@keyframes podcastPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,255,255,0.5); }
  50% { opacity: 0.5; box-shadow: 0 0 0 6px rgba(255,255,255,0); }
}
.podcast-player-num {
  color: rgba(255,255,255,0.5);
}
.podcast-player-title {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}
.podcast-player-host {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}
.podcast-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 48px;
  margin-bottom: 1rem;
}
.wave-bar {
  flex: 1;
  background: rgba(255,255,255,0.35);
  border-radius: 2px;
  animation: waveAnim 1.2s ease-in-out infinite;
}
.wave-bar:nth-child(1) { animation-delay: 0.0s; height: 30%; }
.wave-bar:nth-child(2) { animation-delay: 0.1s; height: 60%; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; height: 45%; }
.wave-bar:nth-child(4) { animation-delay: 0.3s; height: 80%; }
.wave-bar:nth-child(5) { animation-delay: 0.4s; height: 35%; }
.wave-bar:nth-child(6) { animation-delay: 0.15s; height: 70%; }
.wave-bar:nth-child(7) { animation-delay: 0.25s; height: 50%; }
.wave-bar:nth-child(8) { animation-delay: 0.35s; height: 90%; }
.wave-bar:nth-child(9) { animation-delay: 0.05s; height: 40%; }
.wave-bar:nth-child(10) { animation-delay: 0.45s; height: 65%; }
.wave-bar:nth-child(11) { animation-delay: 0.2s; height: 55%; }
.wave-bar:nth-child(12) { animation-delay: 0.3s; height: 75%; }
.wave-bar:nth-child(13) { animation-delay: 0.1s; height: 42%; }
.wave-bar:nth-child(14) { animation-delay: 0.4s; height: 85%; }
.wave-bar:nth-child(15) { animation-delay: 0.25s; height: 38%; }
.wave-bar:nth-child(16) { animation-delay: 0.15s; height: 60%; }
.wave-bar:nth-child(17) { animation-delay: 0.35s; height: 72%; }
.wave-bar:nth-child(18) { animation-delay: 0.05s; height: 48%; }
.wave-bar:nth-child(19) { animation-delay: 0.45s; height: 95%; }
.wave-bar:nth-child(20) { animation-delay: 0.2s; height: 55%; }
.wave-bar:nth-child(21) { animation-delay: 0.3s; height: 68%; }
.wave-bar:nth-child(22) { animation-delay: 0.4s; height: 40%; }
.wave-bar:nth-child(23) { animation-delay: 0.1s; height: 75%; }
.wave-bar:nth-child(24) { animation-delay: 0.25s; height: 58%; }
.wave-bar:nth-child(25) { animation-delay: 0.35s; height: 50%; }
.wave-bar:nth-child(26) { animation-delay: 0.45s; height: 82%; }
.wave-bar:nth-child(27) { animation-delay: 0.15s; height: 45%; }
.wave-bar:nth-child(28) { animation-delay: 0.05s; height: 70%; }
.wave-bar:nth-child(29) { animation-delay: 0.3s; height: 52%; }
.wave-bar:nth-child(30) { animation-delay: 0.2s; height: 38%; }
@keyframes waveAnim {
  0%, 100% { transform: scaleY(1); opacity: 0.6; }
  50% { transform: scaleY(0.4); opacity: 0.9; }
}
.podcast-player-timeline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(255,255,255,0.4);
}
.timeline-track {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}
.timeline-fill {
  height: 100%;
  width: 26%;
  background: #fff;
  border-radius: 99px;
  animation: timelineFill 6s ease-in-out infinite;
}
@keyframes timelineFill {
  0%, 100% { width: 26%; }
  50% { width: 30%; }
}
.podcast-hero-actions .pill-button {
  padding: 0.7rem 1.2rem;
}
@media (prefers-reduced-motion: reduce) {
  .wave-bar, .podcast-pulse, .timeline-fill { animation: none; }
  .wave-bar { transform: scaleY(0.7); }
}

/* ── Profile Pages ── */
.profile-hero {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3rem);
}
.profile-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--surface-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.profile-name {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0.5rem 0 0.75rem;
}
.profile-intro {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 38rem;
  margin: 0;
}

/* App Store + beta-access reveal — hidden by default,
   expands horizontally on hover/focus, slotting between the
   App Store button and the next button (e.g. "Nous ecrire") */
.app-store-hover-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.hover-reveal {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  background: var(--surface-dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 0;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-width 360ms cubic-bezier(0.05, 0.7, 0.1, 1),
              padding 360ms cubic-bezier(0.05, 0.7, 0.1, 1),
              opacity 220ms ease;
}

.app-store-hover-wrap:hover .hover-reveal,
.app-store-hover-wrap:focus-within .hover-reveal {
  max-width: 320px;
  padding: 0.6rem 0.85rem;
  opacity: 1;
  pointer-events: auto;
}

.hover-reveal-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.hover-reveal .scratch-gift-container {
  margin-top: 0;
}

/* Touch devices have no real hover — show inline below the App Store button */
@media (hover: none) {
  .app-store-hover-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .hover-reveal {
    max-width: 320px;
    padding: 0.6rem 0.85rem;
    opacity: 1;
    pointer-events: auto;
  }
}

/* Podcast hero audio wave */
.podcast-wave {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 28px;
  margin: 0.75rem 0 1.25rem;
}
.wave-bar-sm {
  display: inline-block;
  width: 3px;
  background: var(--text);
  border-radius: 2px;
  animation: waveSm 1s ease-in-out infinite;
}
.wave-bar-sm:nth-child(1) { animation-delay: 0.0s; height: 40%; }
.wave-bar-sm:nth-child(2) { animation-delay: 0.1s; height: 80%; }
.wave-bar-sm:nth-child(3) { animation-delay: 0.2s; height: 55%; }
.wave-bar-sm:nth-child(4) { animation-delay: 0.05s; height: 95%; }
.wave-bar-sm:nth-child(5) { animation-delay: 0.25s; height: 45%; }
.wave-bar-sm:nth-child(6) { animation-delay: 0.15s; height: 70%; }
.wave-bar-sm:nth-child(7) { animation-delay: 0.3s; height: 50%; }
@keyframes waveSm {
  0%, 100% { transform: scaleY(1); opacity: 0.9; }
  50% { transform: scaleY(0.4); opacity: 0.5; }
}
@media (prefers-reduced-motion: reduce) {
  .wave-bar-sm { animation: none; transform: scaleY(0.7); }
}

/* ── App Store button (prominent, always visible) ── */
.pill-button.app-store-btn {
  background: var(--text);
  color: var(--bg);
  padding: 0.75rem 1.25rem;
  font-size: 0.82rem;
  border: 1px solid var(--text);
  box-shadow: 0 10px 24px rgba(10,10,11,0.15);
}
.pill-button.app-store-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 32px rgba(10,10,11,0.22);
}

/* ── Outline button (minimal, elegant) ── */
.pill-button.outline-btn {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
  padding: 0.75rem 1.25rem;
  font-size: 0.82rem;
  position: relative;
  overflow: hidden;
}
.pill-button.outline-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--text);
  transform: translateY(100%);
  transition: transform 300ms cubic-bezier(0.2, 0, 0, 1);
  z-index: -1;
}
.pill-button.outline-btn:hover {
  color: var(--bg);
  border-color: var(--text);
}
.pill-button.outline-btn:hover::before {
  transform: translateY(0);
}
.pill-button.outline-btn span,
.pill-button.outline-btn svg {
  position: relative;
  z-index: 1;
}

/* ── Founder profile (rectangular hero card) ── */
/* ── Founder card — refined hero, photo as accent not centerpiece ── */
.founder-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 1rem;
}
.founder-card-media {
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  width: 180px;
  height: 180px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}
.founder-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.founder-card-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 0.25rem;
  min-width: 0;
}
.founder-card-body .section-kicker {
  margin: 0;
}
.founder-card-body .profile-name {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
  color: var(--text);
}
.founder-card-body .profile-intro {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  max-width: 56ch;
}
.founder-meta {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  border-top: 1px solid var(--line);
  padding: 1rem 0 0;
  margin: 0.25rem 0 0;
}
.founder-meta-item {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  line-height: 1.5;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0.85rem;
  align-items: baseline;
}
.founder-meta-item strong {
  color: var(--text-soft);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.62rem;
}
.founder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
@media (max-width: 720px) {
  .founder-card {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem;
  }
  .founder-card-media {
    width: 120px;
    height: 120px;
  }
  .founder-meta-item {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

/* ── Founder timeline — connected vertical rail ── */
.founder-timeline {
  position: relative;
  padding-left: 1.75rem;
  margin-top: 1rem;
}
.founder-timeline::before {
  content: '';
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 0.4rem;
  width: 1px;
  background: var(--line-strong);
}
.founder-timeline-item {
  position: relative;
  padding: 0 0 2.25rem 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: block;
}
.founder-timeline-item:last-child { padding-bottom: 0; }
/* Dot marker on the rail */
.founder-timeline-item::before {
  content: '';
  position: absolute;
  left: -1.55rem;
  top: 0.55rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--text);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 1px var(--text);
}
.founder-timeline-item .timeline-period {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.founder-timeline-item .timeline-role {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
.founder-timeline-item .timeline-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
  max-width: 60ch;
}
@media (max-width: 720px) {
  .founder-timeline { padding-left: 1.5rem; }
  .founder-timeline-item { padding-bottom: 1.75rem; }
  .founder-timeline-item::before { left: -1.3rem; }
}

/* ── Founder links grid (rectangle, balanced) ── */
.founder-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.founder-link-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  min-height: 130px;
  padding: 1.1rem 1.25rem;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform 220ms cubic-bezier(0.05,0.7,0.1,1), border-color 220ms, box-shadow 220ms;
}
.founder-link-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 14px 32px rgba(10,10,11,0.08);
}
.founder-link-text h3 {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}
.founder-link-text p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}
.founder-link-cta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  align-self: flex-start;
}
@media (max-width: 600px) {
  .founder-links-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Company about (rectangular grid) ── */
.company-about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.25rem;
}
.company-about-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.company-about-card .section-kicker {
  margin: 0 0 0.15rem;
}
.company-about-card h3 {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.005em;
}
.company-about-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}
.company-about-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.company-about-list li {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
  padding-left: 0.85rem;
  position: relative;
}
.company-about-list li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--text);
  font-weight: 700;
}
.company-about-list li strong {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-right: 0.4rem;
}
@media (max-width: 720px) {
  .company-about-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Company stats KPIs ── */
.company-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 1rem;
}
.company-stat {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 110px;
  justify-content: space-between;
}
.company-stat-num {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.company-stat-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
@media (max-width: 900px) {
  .company-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .company-stats {
    grid-template-columns: 1fr;
  }
}

/* ── Trust band (logo carousel) ── */
.trust-band {
  padding: 2rem 0 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}
.trust-band-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft);
  text-align: center;
  margin-bottom: 1.25rem;
}
.trust-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.trust-track {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: max-content;
  animation: trustScroll 42s linear infinite;
}
.trust-logo {
  width: 140px;
  height: 76px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.trust-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: none;
  opacity: 1;
}
@keyframes trustScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .trust-track { animation: none; }
}
.trust-marquee:hover .trust-track {
  animation-play-state: paused;
}

/* ── Services page ── */
.services-hero {
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(1.5rem, 4vw, 3rem);
}
.services-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}
.services-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.services-hero-title {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
.services-hero-lede {
  font-size: clamp(0.98rem, 1.3vw, 1.1rem);
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}
.services-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.services-hero-panel {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.services-hero-panel-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft);
  margin: 0;
}
.services-hero-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
}
.services-hero-specs > div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 0.85rem;
  background: var(--surface-soft);
  border-radius: 12px;
}
.services-hero-specs dt {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
}
.services-hero-specs dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.35;
}
@media (max-width: 900px) {
  .services-hero-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .services-hero-specs {
    grid-template-columns: 1fr;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.service-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 220ms cubic-bezier(0.05,0.7,0.1,1), border-color 220ms, box-shadow 220ms;
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px rgba(10,10,11,0.08);
}
.service-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.service-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text);
  background: var(--surface-soft);
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
}
.service-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-soft);
}
.service-title {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
}
.service-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}
.service-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}
.service-features {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.service-features li {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}
.service-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}
.service-features li strong {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-right: 0.35rem;
}
.service-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--line);
}
.service-stack span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-soft);
  background: var(--surface-soft);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
}
.service-cta {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
  margin-top: 0.5rem;
  padding: 0.55rem 0;
  border-bottom: 1.5px solid var(--text);
  transition: gap 200ms, transform 200ms;
}
.service-cta:hover {
  transform: translateX(2px);
}
@media (max-width: 760px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════
   HAMBURGER MOBILE NAV
   ═══════════════════════════════════════════════════════════ */

.nav-toggle {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 0.6rem;
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  transition: background 0.2s, border-color 0.2s;
}
.nav-toggle:hover { background: var(--surface-strong); }
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

@media (max-width: 767px) {
  .nav-toggle { display: inline-flex; }

  .nav-bar {
    grid-template-columns: 1fr auto;
    grid-template-areas: none;
    gap: 0.75rem;
  }
  .logo { grid-area: auto; justify-self: start; }
  .nav-actions { grid-area: auto; justify-self: end; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding: 0.25rem 1.25rem 1.25rem;
    background: rgba(246,246,248,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.2s ease;
    box-shadow: 0 12px 24px rgba(10,10,11,0.06);
  }
  body.nav-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    padding: 0.95rem 0.25rem;
    border-bottom: 1px solid var(--line);
    width: 100%;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a::after { display: none; }
  body.nav-open { overflow: hidden; }
}

/* ═══════════════════════════════════════════════════════════
   SPEC CARDS (Notetaker privacy + compatibility)
   ═══════════════════════════════════════════════════════════ */

.spec-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 0;
}

.spec-card {
  position: relative;
  background: var(--surface-strong);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 18px 40px rgba(10,10,11,0.08), 0 2px 0 rgba(255,255,255,0.6) inset;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.spec-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 60% at 0% 0%, rgba(46,209,88,0.08), transparent 60%),
    radial-gradient(120% 60% at 100% 0%, rgba(10,132,255,0.06), transparent 60%);
}

.spec-card > * { position: relative; }

.spec-card:hover {
  border-color: rgba(10,10,11,0.24);
  box-shadow: 0 28px 60px rgba(10,10,11,0.12), 0 2px 0 rgba(255,255,255,0.6) inset;
  transform: translateY(-3px);
}

.spec-card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--line);
}

.spec-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff, #ececf2);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--text);
  box-shadow: 0 10px 22px rgba(10,10,11,0.1), inset 0 1px 0 #fff;
}

.spec-card-kicker {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 0.3rem;
}

.spec-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
  line-height: 1.15;
}

/* Checklist (privacy) */
.spec-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.spec-checklist li {
  position: relative;
  padding-left: 1.95rem;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text);
}

.spec-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-size: 16px 16px;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 4px 10px rgba(46,209,88,0.28);
}

.spec-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.18rem 0.5rem;
  margin-left: 0.15rem;
  border-radius: 6px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--text);
  white-space: nowrap;
}

/* Spec rows (compatibility) */
.spec-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.spec-row {
  display: grid;
  grid-template-columns: minmax(0, auto) 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.spec-row:first-child { padding-top: 0.25rem; }
.spec-row:last-child { border-bottom: none; padding-bottom: 0.25rem; }

.spec-row dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 600;
  margin: 0;
}

.spec-row dd {
  margin: 0;
  text-align: right;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
  font-feature-settings: "tnum";
}

.spec-pill {
  display: inline-flex;
  align-items: center;
  background: var(--green);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(46,209,88,0.3);
}

@media (max-width: 767px) {
  .spec-grid { grid-template-columns: 1fr; }
  .spec-card { padding: 1.4rem; }
  .spec-card-title { font-size: 0.95rem; }
  .spec-row dt { font-size: 0.65rem; }
  .spec-row dd { font-size: 0.85rem; }
}

/* ═══════════════════════════════════════════════════════════
   AUDIENCE GRID (Dys Keyboard "Pour qui")
   ═══════════════════════════════════════════════════════════ */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.audience-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: border-color 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.audience-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 12px 28px rgba(10,10,11,0.07);
  transform: translateY(-2px);
}

.audience-emoji {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #FF8C42, #F35E5E);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  box-shadow: 0 6px 14px rgba(243,94,94,0.3);
}

.audience-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--text);
}

.audience-disclaimer {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--surface-soft);
  border-left: 3px solid var(--text);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-muted);
  font-style: italic;
}

@media (max-width: 767px) {
  .audience-grid { grid-template-columns: 1fr; }
}

/* ──────────────────────────────────────────────────────────────
   Blog v2 — editorial magazine layout
   ────────────────────────────────────────────────────────────── */

.blog-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}
.blog-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 56rem;
}
.blog-hero-title {
  font-family: var(--font-mono);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0.4rem 0 0;
  color: var(--text);
}
.blog-hero-subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 40rem;
  margin: 0;
}

/* Featured */
.blog-featured {
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(1.5rem, 3vw, 2rem);
}
.blog-featured-v2 {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 240ms cubic-bezier(0.05, 0.7, 0.1, 1),
              box-shadow 240ms ease,
              border-color 240ms ease;
}
.blog-featured-v2:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(10,10,11,0.08);
  border-color: var(--line-strong);
}
.blog-featured-link {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
}
.blog-featured-rail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 1.5rem;
  background: var(--surface-dark);
  color: #fff;
}
.blog-featured-num {
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.blog-featured-rail-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}
.blog-featured-body {
  padding: 2rem clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.blog-featured-meta-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.blog-featured-tag {
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: rgba(10,10,11,0.06);
  color: var(--text);
  font-weight: 600;
}
.blog-featured-time {
  color: var(--text-soft);
}
.blog-featured-title {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
  color: var(--text);
}
.blog-featured-excerpt {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 44rem;
}
.blog-featured-meta-bottom {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
  margin-top: 0.5rem;
}
.blog-featured-sep { color: var(--text-soft); }
.blog-featured-cta {
  margin-left: auto;
  font-weight: 600;
  color: var(--text);
}

/* Grid section */
.blog-grid-section {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(3rem, 6vw, 5rem);
}
.blog-grid-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.5rem;
}
.blog-grid-header-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}
.blog-grid-header-count {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  text-transform: uppercase;
}
.blog-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

/* Card v2 */
.blog-card-v2 {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.5rem;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 240ms cubic-bezier(0.05, 0.7, 0.1, 1),
              box-shadow 240ms ease,
              border-color 240ms ease;
}
.blog-card-v2:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(10,10,11,0.07);
  border-color: var(--line-strong);
}
.blog-card-v2-tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  background: rgba(10,10,11,0.06);
  color: var(--text);
  border: 1px solid var(--line);
}
.tag-cyber   { background: rgba(239,68,68,0.1);   color: #b91c1c; border-color: rgba(239,68,68,0.2); }
.tag-dev     { background: rgba(10,132,255,0.1);  color: #0a64c4; border-color: rgba(10,132,255,0.2); }
.tag-green   { background: rgba(46,209,88,0.12);  color: #1f8a3c; border-color: rgba(46,209,88,0.25); }
.tag-product { background: rgba(191,90,242,0.1);  color: #8a3acf; border-color: rgba(191,90,242,0.22); }
.tag-work    { background: rgba(245,158,11,0.12); color: #b45309; border-color: rgba(245,158,11,0.25); }

.blog-card-v2-title {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
  color: var(--text);
}
.blog-card-v2-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.blog-card-v2-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}
.blog-card-v2-author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}
.author-initials {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-dark);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.blog-card-v2-author-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.blog-card-v2-author-name {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
}
.blog-card-v2-date-time {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}
.blog-card-v2-read {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

@media (max-width: 767px) {
  .blog-featured-link { grid-template-columns: 1fr; }
  .blog-featured-rail {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
  }
  .blog-grid-2col { grid-template-columns: 1fr; }
  .blog-grid-header { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
}

