/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── TOKENS ─── */
:root {
  --cream: #ffffff;
  --cream-dark: #f5f3ff;
  --ink: #111827;
  --ink-soft: #4b5563;
  --ink-muted: #9ca3af;
  --accent: #7c3aed;
  --accent-light: #a78bfa;
  --accent-subtle: #ede9fe;
  --surface-dark: #111827;
  --surface-card: #1e2433;
  --green-badge: #065f46;
  --green-text: #34d399;
  --white: #ffffff;
  --border: #e5e7eb;
  --serif: 'Playfair Display', 'Georgia', serif;
  --sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;
  --max-w: 1200px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #6d28d9; }

/* ─── LAYOUT ─── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(4rem, 10vw, 8rem) 0; }
.section--dark { background: var(--surface-dark); color: var(--white); }

/* ─── TYPOGRAPHY ─── */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.section--dark .eyebrow { color: var(--ink-muted); }
.eyebrow::before { content: '● '; color: var(--accent); font-size: 0.55rem; vertical-align: middle; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); }

.accent { color: var(--accent); }
.accent-i { color: var(--accent); font-style: italic; }

.body-lg {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 580px;
}
.section--dark .body-lg { color: #b0aca6; }

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 0.8rem 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.logo-icon {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.85rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--ink-soft);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 500; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
}
.btn--primary:hover { background: #6d28d9; transform: translateY(-1px); color: var(--white); }
.btn--outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--ink);
}
.btn--outline:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn--accent {
  background: var(--accent);
  color: #fff;
}
.btn--accent:hover { background: #6d28d9; transform: translateY(-1px); color: #fff; }
.btn--white {
  background: var(--white);
  color: var(--accent);
  font-weight: 600;
}
.btn--white:hover { background: #f5f3ff; transform: translateY(-1px); }
.btn--lg { padding: 1rem 2.2rem; font-size: 0.95rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--ink);
  transition: all 0.3s;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 4rem;
  position: relative;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-content { max-width: 600px; }
.hero h1 { margin-bottom: 1.5rem; }
.hero .body-lg { margin-bottom: 2.5rem; }
.hero-badges {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}
.hero-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-illustration img {
  width: 100%;
  max-width: 520px;
  height: auto;
  filter: drop-shadow(0 12px 32px rgba(124,58,237,0.08));
  animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.badge {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  background: var(--accent-subtle);
  color: var(--accent);
}
.hero-shape {
  position: absolute;
  right: -5%;
  bottom: 0;
  width: clamp(200px, 30vw, 400px);
  height: clamp(200px, 30vw, 400px);
  background: rgba(124, 58, 237, 0.08);
  border-radius: 50%;
  filter: blur(40px);
}

/* ─── SIMPLE HERO (Home / Contact / Torsa intros) ─── */
.hero-simple {
  padding-top: clamp(8rem, 16vw, 11rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.hero-simple .body-lg { max-width: 680px; margin-top: 1.5rem; }

/* ─── PROBLEM ─── */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.problem-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}
.problem-table tr { border-bottom: 1px solid rgba(255,255,255,0.08); }
.problem-table td {
  padding: 0.9rem 0;
  font-size: 0.9rem;
}
.problem-table td:first-child { color: #b0aca6; }
.problem-table td:last-child {
  text-align: right;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--white);
}
.problem-table tr:last-child td {
  font-weight: 600;
  color: var(--accent-light);
  padding-top: 1.2rem;
  border-bottom: none;
}
.problem-table tr:last-child td:first-child { color: var(--accent-light); }

/* ─── THESIS / PROMISES ─── */
.promises-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}
.promise-card {
  padding: 2rem;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}
.promise-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(124,58,237,0.08); }
.promise-num {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.promise-card h3 { margin-bottom: 0.75rem; font-size: 1.3rem; }
.promise-card p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6; }

/* ─── VENTURE CARDS (Home) ─── */
.venture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}
.venture-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.venture-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(124,58,237,0.1); border-color: var(--accent); }
.venture-card .logo-icon { margin-bottom: 1.5rem; }
.venture-card h3 { margin-bottom: 0.75rem; }
.venture-card p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.65; flex: 1; }
.venture-card .venture-link {
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ─── MODULES ─── */
.modules-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.modules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.module-cell {
  padding: 1.5rem 1.8rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}
.module-cell:hover { background: var(--accent-subtle); }
.module-cell:nth-child(even) { border-right: none; }
.module-cell:nth-last-child(-n+2) { border-bottom: none; }
.module-cell.module-cell--dark {
  background: var(--accent);
  color: var(--white);
}
.module-cell.module-cell--dark:hover { background: #6d28d9; }
.module-cell h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.module-cell h3 span {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--ink-muted);
  font-weight: 400;
}
.module-cell.module-cell--dark h3 span { color: rgba(255,255,255,0.5); }
.module-cell p { font-size: 0.82rem; color: var(--ink-muted); }
.module-cell.module-cell--dark p { color: rgba(255,255,255,0.7); }

/* ─── FEATURE SECTIONS ─── */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.feature-split.feature-split--reverse .feature-text { order: 2; }
.feature-text h2 { margin-bottom: 1.5rem; }
.feature-text .body-lg { margin-bottom: 2rem; }
.feature-list {
  list-style: none;
  margin-top: 1.5rem;
}
.feature-list li {
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}
.feature-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--ink-muted);
}

/* ── Chief of Staff Card ── */
.cos-card {
  background: var(--surface-dark);
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--white);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.cos-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.cos-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--white);
}
.cos-meta {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: #888;
  text-transform: uppercase;
}
.cos-card h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  margin-bottom: 1.5rem;
  color: var(--white);
}
.cos-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  align-items: flex-start;
}
.cos-item-num {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: #555;
  min-width: 1.5rem;
  padding-top: 0.15rem;
}
.cos-item p { font-size: 0.88rem; color: #c0bdb8; line-height: 1.5; }

/* ── Inbox Card ── */
.inbox-card {
  background: var(--surface-dark);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.inbox-stats {
  display: flex;
  gap: 3rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: 1rem;
}
.inbox-stat-val {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  font-weight: 400;
}
.inbox-stat-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: #888;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}
.inbox-list { padding: 0 clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.inbox-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.inbox-tag {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  min-width: 55px;
  text-align: center;
}
.inbox-tag--rfq { background: rgba(124,58,237,0.2); color: var(--accent-light); }
.inbox-tag--inv { background: rgba(58,90,58,0.25); color: var(--green-text); }
.inbox-tag--client { background: rgba(200,180,100,0.15); color: #c8b464; }
.inbox-tag--spam { background: rgba(200,80,80,0.1); color: #c86464; }
.inbox-row-text { flex: 1; }
.inbox-row-subject { font-size: 0.82rem; color: var(--white); }
.inbox-row-from { font-size: 0.72rem; color: #777; margin-top: 0.15rem; }
.inbox-row-time {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: #555;
}

/* ── Finance Cards ── */
.finance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.finance-card {
  background: var(--white);
  border-radius: 14px;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid var(--border);
}
.finance-card--dark {
  background: var(--surface-dark);
  color: var(--white);
  grid-column: 1 / -1;
  border: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.finance-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}
.finance-card--dark .finance-label { color: #777; }
.finance-val {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
}
.finance-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.65rem;
  padding: 0.25rem 0.7rem;
  border-radius: 3px;
  margin-top: 0.5rem;
}
.finance-badge--up { background: #ecfdf5; color: #059669; }
.finance-badge--down { background: #fef2f2; color: #dc2626; }
.finance-badge--info { background: var(--accent-subtle); color: var(--accent); }
.finance-bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.finance-bar {
  height: 4px;
  background: #f3f4f6;
  border-radius: 2px;
  flex: 1;
  margin: 0 0.75rem;
}
.finance-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--accent);
}
.finance-dark-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.finance-runway {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  background: var(--accent);
  color: #fff;
}

/* ── Sales Pipeline ── */
.pipeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3.5rem;
  position: relative;
}
.pipeline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 30px;
  right: 30px;
  height: 2px;
  background: var(--border);
  transform: translateY(-16px);
}
.pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  flex: 1;
}
.pipeline-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 0.75rem;
}
.pipeline-step:last-child .pipeline-dot {
  background: transparent;
  border: 2px dashed var(--ink-muted);
  color: var(--ink-muted);
}
.pipeline-label {
  font-size: 0.8rem;
  color: var(--ink);
  text-align: center;
}
.pipeline-time {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--ink-muted);
  margin-top: 0.2rem;
}

/* ─── INTEGRATIONS ─── */
.integrations-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.integration-hub {
  position: relative;
  aspect-ratio: 1;
  max-width: 500px;
  margin: 0 auto;
}

/* ─── SECURITY ─── */
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.security-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.security-card {
  background: var(--white);
  border-radius: 14px;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid var(--border);
}
.uptime-bar-track {
  height: 6px;
  background: #f3f4f6;
  border-radius: 3px;
  margin: 1rem 0 0.5rem;
  overflow: hidden;
}
.uptime-bar-fill {
  height: 100%;
  width: 99.97%;
  background: var(--accent);
  border-radius: 3px;
}
.uptime-range {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--ink-muted);
}
.region-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.region { padding: 0; }
.region h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}
.region p {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* ─── PRICING ─── */
.pricing-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.pricing-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  max-width: 320px;
  text-align: right;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.price-card {
  background: var(--white);
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1.5px solid var(--border);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.price-card--featured {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.price-card--featured:hover { box-shadow: 0 12px 32px rgba(124,58,237,0.3); border-color: var(--accent); }
.price-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.15);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}
.price-card h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  margin-bottom: 0.3rem;
}
.price-card .card-sub {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}
.price-card--featured .card-sub { color: rgba(255,255,255,0.7); }
.price-amount {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 0.1rem;
}
.price-period {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--ink-muted);
}
.price-card--featured .price-period { color: rgba(255,255,255,0.6); }
.price-billing {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1.75rem;
}
.price-card--featured .price-billing { color: rgba(255,255,255,0.5); }
.price-divider {
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin-bottom: 1.5rem;
}
.price-card--featured .price-divider { background: rgba(255,255,255,0.15); }
.price-inc-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}
.price-card--featured .price-inc-label { color: rgba(255,255,255,0.5); }
.price-features { list-style: none; flex: 1; }
.price-features li {
  font-size: 0.85rem;
  padding: 0.35rem 0;
  padding-left: 1.4rem;
  position: relative;
  color: var(--ink-soft);
}
.price-card--featured .price-features li { color: rgba(255,255,255,0.85); }
.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8rem;
}
.price-card--featured .price-features li::before { color: rgba(255,255,255,0.7); }

/* ─── CTA ─── */
.cta {
  padding: clamp(5rem, 12vw, 9rem) 0;
  background: var(--surface-dark);
  color: var(--white);
}
.cta h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1.5rem;
  max-width: 800px;
}
.cta .body-lg { margin-bottom: 2.5rem; }
.cta-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ─── PRODUCT DETAIL (Torsa page) ─── */
.img-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  border: 1.5px dashed var(--border);
  background: #faf9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: center;
  padding: 1rem;
}
.section--dark .img-placeholder { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.15); }
.spec-list { list-style: none; margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.spec-list li {
  font-size: 0.88rem;
  color: var(--ink-soft);
  padding-left: 1.5rem;
  position: relative;
}
.spec-list li strong { color: var(--ink); font-weight: 600; }
.spec-list li::before { content: '—'; position: absolute; left: 0; color: var(--accent); }
.product-usecase {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--accent-subtle);
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.product-usecase strong { color: var(--accent); font-weight: 600; }

/* ─── CONTACT ─── */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.form-field { margin-bottom: 1.25rem; }
.form-field label {
  display: block;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-field textarea { resize: vertical; min-height: 120px; }

/* ─── FOOTER ─── */
.footer {
  background: var(--surface-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.footer-col-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 0.5rem;
}
.footer-col-val {
  font-size: 0.9rem;
  color: var(--white);
}
.footer-col-val a { color: var(--white); transition: color 0.2s; }
.footer-col-val a:hover { color: var(--accent-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
}
.footer-logo .logo-icon { border-color: var(--accent-light); color: #fff; width: 28px; height: 28px; font-size: 0.7rem; }
.footer-logo span { font-size: 0.9rem; font-weight: 500; }
.footer-copy {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: #555;
  letter-spacing: 0.08em;
}

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── MOBILE NAV ─── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-nav.active { display: flex; }
.mobile-nav a {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--ink);
}
.mobile-nav .close-btn {
  position: absolute;
  top: 1.5rem;
  right: var(--gutter);
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--ink);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .problem-grid,
  .modules-layout,
  .feature-split,
  .integrations-layout,
  .security-grid,
  .venture-grid,
  .contact-layout { grid-template-columns: 1fr; }
  .feature-split.feature-split--reverse .feature-text { order: 0; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-illustration { order: -1; }
  .hero-illustration img { max-width: 380px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .promises-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .finance-grid { grid-template-columns: 1fr; }
  .pipeline {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .pipeline::before {
    top: 0;
    bottom: 0;
    left: 23px;
    right: auto;
    width: 2px;
    height: auto;
    transform: none;
  }
  .pipeline-step { flex-direction: row; gap: 1rem; }
  .pipeline-dot { width: 44px; height: 44px; margin-bottom: 0; flex-shrink: 0; }
  .pipeline-label, .pipeline-time { text-align: left; }
  .integration-hub { max-width: 360px; }
  .pricing-header { flex-direction: column; align-items: flex-start; }
  .pricing-note { text-align: left; }
  .hero-shape { display: none; }
  .region-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; align-items: flex-start; }
}

@media (max-width: 480px) {
  .inbox-stats { gap: 1.5rem; }
  .modules-grid { grid-template-columns: 1fr; }
  .module-cell { border-right: none; }
  .module-cell:nth-last-child(2) { border-bottom: 1px solid rgba(0,0,0,0.04); }
  .footer-grid { grid-template-columns: 1fr; }
}
