/* Amitai Ben-Nun — Marcom Brand CSS
 * Direction: Engineered Precision
 * Generated by template-factory 2026-05-11
 */

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

:root {
  /* Light theme tokens */
  --bg: #FFFFFF;
  --bg-elevated: #FAFAFA;
  --ink: #0A0E1F;
  --ink-muted: #475569;
  --accent-primary: #22D3EE;      /* electric cyan, default */
  --accent-secondary: #7C3AED;    /* deep purple, life insurance only */
  --accent-on-dark-primary: #67E8F9;   /* lifted cyan for dark bg */
  --accent-on-dark-secondary: #A78BFA; /* lifted purple for dark bg */
  --border: #E5E7EB;
  --grid: #E5E7EB;

  /* Variable accent (overridden by briefs.json accent_var) */
  --accent: var(--accent-primary);
}

.theme-dark {
  --bg: #0A0E1F;
  --bg-elevated: #1A1F3A;
  --ink: #F1F5F9;
  --ink-muted: #94A3B8;
  --accent-primary: var(--accent-on-dark-primary);
  --accent-secondary: var(--accent-on-dark-secondary);
  --border: #1E293B;
  --grid: #1E293B;
}

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

html, body {
  width: 1080px;
  height: 1080px;
  overflow: hidden;
}

body {
  font-family: 'Assistant', 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  direction: rtl;
  position: relative;
}

/* Background grid - signature of "engineered" identity */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: 0 0;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.canvas {
  position: relative;
  width: 1080px;
  height: 1080px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1;
}

/* Header (top): eyebrow + logo */
.header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.eyebrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.16em;
  text-transform: none;  /* Hebrew doesn't uppercase */
}

.wordmark {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

/* Headline section */
.headline-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 920px;
}

.hero {
  font-family: 'Assistant', sans-serif;
  font-size: 96px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.hero .accent {
  color: var(--accent);
}

.hero .num {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-feature-settings: 'tnum';
}

.sub {
  font-family: 'Assistant', sans-serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  max-width: 820px;
}

/* Stat row */
.stat-row {
  display: flex;
  gap: 64px;
  align-items: baseline;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 64px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  font-feature-settings: 'tnum';
}

.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
}

/* Footer (bottom): CTA + meta */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 32px;
  background: var(--accent);
  color: var(--bg);  /* inverts on theme */
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: 8px;
  text-decoration: none;
}

.theme-dark .cta {
  background: var(--accent);
  color: var(--bg);  /* dark navy on cyan */
}

.meta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  text-align: right;
}

.meta-block .phone {
  font-family: 'JetBrains Mono', monospace;
  color: var(--ink);
  font-weight: 700;
}

/* Subtle hairline above footer */
.footer-rule {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-bottom: 32px;
}
