/* Ledgr Sync AI — Landing Page Styles
   Design: Industrial/construction, IBM Plex type family
   Palette: Navy (#0E1B2A) + Cream (#F5F3EE) + Terracotta (#D97757) */

:root {
  --bg: #F5F3EE;
  --bg-2: #EDEAE2;
  --ink: #0E1B2A;
  --ink-2: #1A2C40;
  --steel: #3A4A5A;
  --steel-2: #6B7886;
  --steel-3: #A8B0B9;
  --line: #1A2C40;
  --line-soft: #C8C2B5;
  --accent: #D97757;
  --accent-2: #B95E40;
  --flag: #C4542B;
  --ok: #2F6B3D;
  --paper: #FDFCF8;
  --navy: #0E1B2A;
  --navy-soft: #1E3A54;
  --blue: #4169E1;
}

[data-theme="steel"] {
  --bg: #ECEEF1;
  --bg-2: #E0E3E8;
  --ink: #0E1B2A;
  --ink-2: #1A2C40;
  --accent: #4169E1;
  --accent-2: #2E4FC9;
  --paper: #FFFFFF;
}

[data-theme="dark"] {
  --bg: #0E1B2A;
  --bg-2: #132334;
  --ink: #F5F3EE;
  --ink-2: #E0DED7;
  --steel: #A8B0B9;
  --steel-2: #6B7886;
  --steel-3: #3A4A5A;
  --line: #2A3E54;
  --line-soft: #1E3044;
  --paper: #132334;
  --accent: #E88A6A;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }

body {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "ss02";
}

.mono { font-family: 'IBM Plex Mono', monospace; font-feature-settings: normal; }
.serif { font-family: 'IBM Plex Serif', serif; }

/* Construction grid backdrop */
.grid-bg { position: relative; }
.grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(26,44,64,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(26,44,64,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

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

/* Measurement rule */
.rule {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-2);
}
.rule::before, .rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
  opacity: 0.25;
}

/* Section labels */
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}
.sec-label .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  display: inline-block;
}
.sec-label .num { color: var(--ink); font-weight: 500; }

/* Type scale */
h1, h2, h3, h4 {
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
h1 { font-size: clamp(48px, 6vw, 84px); letter-spacing: -0.035em; font-weight: 500; }
h2 { font-size: clamp(36px, 4vw, 56px); letter-spacing: -0.025em; }
h3 { font-size: 22px; letter-spacing: -0.01em; }
p { color: var(--ink-2); }
a { color: inherit; text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  transition: all 160ms ease;
  border-radius: 0;
}
.btn:hover { background: var(--navy-soft); border-color: var(--navy-soft); }
.btn .arrow { transition: transform 200ms ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.btn-accent:hover { background: var(--accent-2); border-color: var(--accent-2); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  background: none;
  cursor: pointer;
  transition: gap 160ms ease;
}
.btn-text:hover { gap: 12px; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--ink-2);
}
.nav-links a { transition: color 160ms; }
.nav-links a:hover { color: var(--accent); }
@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.logo-mark {
  position: relative;
  display: inline-block;
  width: 26px; height: 22px;
  flex-shrink: 0;
}
.logo-mark::before, .logo-mark::after {
  content: "";
  position: absolute;
  width: 12px; height: 12px;
  display: block;
}
.logo-mark::before { top: 0; left: 0; background: var(--ink); }
.logo-mark::after { bottom: 0; right: 0; background: var(--accent); }
.logo-ai {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  padding: 2px 5px;
  background: var(--ink);
  color: var(--paper);
  margin-left: -4px;
  letter-spacing: 0.04em;
}

/* Hero */
.hero { padding: 72px 0 100px; position: relative; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 28px;
  padding: 6px 10px 6px 6px;
  border: 1px solid var(--line-soft);
  background: var(--paper);
  width: fit-content;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-sub {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-2);
  margin-top: 28px;
  max-width: 540px;
}
.hero-ctas {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  align-items: center;
  flex-wrap: wrap;
}

/* Trust strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 72px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 720px) {
  .trust-strip { grid-template-columns: 1fr; }
}
.trust-item {
  padding: 20px 24px;
  border-right: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-item:last-child { border-right: none; }
.trust-item .icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border: 1px solid var(--ink);
  display: grid;
  place-items: center;
  color: var(--accent);
}
.trust-item .label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel-2);
  display: block;
  margin-bottom: 2px;
}
.trust-item .val { font-size: 14px; font-weight: 500; color: var(--ink); }

/* Sections */
section { padding: 100px 0; position: relative; }
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 64px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.sec-head h2 { max-width: 720px; }
.sec-head .sec-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--steel-2);
  text-transform: uppercase;
  white-space: nowrap;
}

/* Cards */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px;
  position: relative;
}
.card h3 { margin-bottom: 14px; font-weight: 500; }
.card p { font-size: 15px; line-height: 1.6; color: var(--steel); }

/* Pain grid */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--line);
}
@media (max-width: 900px) { .pain-grid { grid-template-columns: 1fr; } }
.pain-card {
  background: var(--paper);
  padding: 40px 36px;
  position: relative;
}
.pain-card .num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 24px;
  display: block;
}
.pain-card h3 { font-size: 26px; letter-spacing: -0.02em; margin-bottom: 16px; }
.pain-card p { color: var(--steel); }
.pain-card .visual { margin-top: 28px; height: 80px; }

/* How it works steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step {
  padding: 0 32px;
  border-left: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-right: 1px solid var(--line); }
.step-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.step-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--steel);
}
.step-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  padding: 3px 8px;
  background: var(--bg-2);
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.step h3 { font-size: 26px; margin-bottom: 14px; letter-spacing: -0.02em; }
.step p { color: var(--steel); font-size: 15px; margin-bottom: 32px; }
.step-visual { height: 220px; border-top: 1px solid var(--line-soft); padding-top: 20px; }

/* Benefits 2x2 */
.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
}
@media (max-width: 900px) { .benefits { grid-template-columns: 1fr; } }
.benefit {
  padding: 48px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: relative;
  transition: background 160ms;
}
.benefit:nth-child(2n) { border-right: none; }
.benefit:nth-child(3), .benefit:nth-child(4) { border-bottom: none; }
@media (max-width: 900px) {
  .benefit { border-right: none !important; border-bottom: 1px solid var(--line) !important; }
  .benefit:last-child { border-bottom: none !important; }
}
.benefit:hover { background: var(--bg-2); }
.benefit-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}
.benefit-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--steel-2);
}
.benefit h3 { font-size: 28px; margin-bottom: 16px; letter-spacing: -0.02em; line-height: 1.15; }
.benefit p { font-size: 15.5px; color: var(--steel); line-height: 1.55; max-width: 440px; }
.benefit-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--ink);
  display: grid; place-items: center;
  color: var(--ink);
}

/* Stats */
.stats-wrap {
  background: var(--navy);
  color: var(--paper);
  padding: 100px 0;
  margin: 0 -9999px;
  padding-left: 9999px;
  padding-right: 9999px;
  position: relative;
}
.stats-wrap .container { padding-left: 32px; padding-right: 32px; }
.stats-wrap h2 { color: var(--paper); }
.stats-wrap .sec-head { border-bottom-color: rgba(255,255,255,0.15); }
.stats-wrap .sec-label, .stats-wrap .sec-num { color: rgba(255,255,255,0.5); }
.stats-wrap .sec-label .num { color: var(--paper); }
.stats-wrap .sec-label .dot { background: var(--accent); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,0.15);
}
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 40px 32px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stat:last-child { border-right: none; }
@media (max-width: 900px) {
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.15); }
}
.stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}
.stat-val {
  font-size: 56px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--paper);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.stat-val .unit {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0;
}
.stat-note { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.5; }

/* Ticker */
.ticker {
  margin-top: 56px;
  border: 1px solid rgba(255,255,255,0.15);
  overflow: hidden;
  position: relative;
}
.ticker-head {
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.ticker-head .live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
}
.ticker-head .live::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* Live ticker log lines */
.log-line {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  padding: 6px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: grid;
  grid-template-columns: 80px 80px 1fr auto;
  gap: 16px;
  color: rgba(255,255,255,0.8);
}
.log-line .t { color: rgba(255,255,255,0.4); }
.log-line .st { color: var(--accent); }
.log-line .st.ok { color: #7EC491; }
.log-line .amt { color: var(--paper); font-weight: 500; }

/* Hero Mockup */
.mockup-frame {
  background: var(--paper);
  border: 1px solid var(--line);
  position: relative;
  font-size: 12px;
  box-shadow: 24px 24px 0 -1px var(--bg-2), 24px 24px 0 0 var(--line);
}
.mockup-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.mockup-tab {
  padding: 10px 16px;
  border-right: 1px solid var(--line-soft);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--steel);
  letter-spacing: 0.04em;
  cursor: pointer;
}
.mockup-tab.active {
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--paper);
  margin-bottom: -1px;
  font-weight: 500;
}
.mockup-toolbar {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--steel);
}
.mockup-path { color: var(--ink-2); font-weight: 500; }
.mockup-path span { color: var(--steel-2); font-weight: 400; }
.mockup-chips { display: flex; gap: 6px; }
.mockup-chip {
  padding: 3px 8px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  font-size: 10px;
  letter-spacing: 0.04em;
}
.mockup-chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.mockup-chip.flag { background: #FDE8DE; color: var(--flag); border-color: #F4C3A9; }

table.recon {
  width: 100%;
  border-collapse: collapse;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
}
table.recon th {
  text-align: left;
  padding: 10px 14px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  color: var(--steel);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
table.recon td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-2);
}
table.recon tr.flagged td {
  background: linear-gradient(90deg, #FDE8DE 0%, #FDE8DE 3px, #FEF5EF 3px);
  color: var(--flag);
}
table.recon tr.matched td .pill { background: #E3F1E8; color: var(--ok); border-color: #B8DAC2; }
table.recon .pill {
  display: inline-block;
  padding: 2px 8px;
  font-size: 10px;
  border: 1px solid var(--line-soft);
  background: var(--bg-2);
  color: var(--steel);
  letter-spacing: 0.04em;
}
table.recon .pill.flag { background: #FDE8DE; color: var(--flag); border-color: #F4C3A9; }
table.recon .num { text-align: right; font-variant-numeric: tabular-nums; }
table.recon .name { color: var(--ink); font-weight: 500; }

.mockup-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  display: flex;
  justify-content: space-between;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--steel);
}

/* Break strips + Who it's for */
.break-strip {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: var(--navy);
}
.break-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.break-strip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,27,42,0.55) 0%, rgba(14,27,42,0.15) 60%, rgba(14,27,42,0.55) 100%);
  pointer-events: none;
}
.break-strip-caption {
  position: absolute;
  bottom: 32px;
  max-width: 480px;
  color: var(--paper);
  padding: 0 40px;
}
.break-strip-left { left: 0; }
.break-strip-right { right: 0; text-align: right; }
.break-strip-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--paper);
  color: var(--ink);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  width: fit-content;
  max-width: fit-content;
}
.break-strip-label::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
.break-strip-right .break-strip-label {
  margin-left: auto;
}
.break-strip-text {
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--paper);
  font-weight: 400;
}
@media (max-width: 720px) {
  .break-strip { height: 180px; }
  .break-strip-text { font-size: 16px; }
  .break-strip-caption { padding: 0 24px; bottom: 20px; }
}

#who-its-for { padding: 120px 0; }
.who-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-top: 64px;
}
@media (max-width: 900px) { .who-grid { grid-template-columns: 1fr; gap: 48px; } }
.who-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--navy);
}
.who-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.who-photo-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 12px;
  background: var(--paper);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.who-photo-tag .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.who-list { display: flex; flex-direction: column; gap: 40px; }
.who-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-soft);
}
.who-item:last-child { border-bottom: none; padding-bottom: 0; }
.who-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  padding-top: 6px;
}
.who-item h3 { margin-bottom: 10px; }
.who-item p { color: var(--ink-2); font-size: 15px; line-height: 1.55; }

/* Final CTA */
.final-cta {
  padding: 120px 0;
  text-align: center;
  border-top: 1px solid var(--line);
}
.final-cta h2 { max-width: 760px; margin: 0 auto 24px; }
.final-cta p { max-width: 540px; margin: 0 auto 40px; font-size: 18px; color: var(--steel); }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
  background: var(--bg-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-2);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-grid a:not(.logo) {
  display: block;
  font-size: 14px;
  padding: 6px 0;
  color: var(--ink-2);
}
.footer-grid a:not(.logo):hover { color: var(--accent); }
.footer-desc { font-size: 13px; color: var(--steel); max-width: 320px; margin-top: 16px; line-height: 1.6; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--steel-2);
  text-transform: uppercase;
}

/* Entry animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   MOBILE OPTIMISATION
   ======================================== */

/* Mobile nav hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
}
.nav-toggle svg { display: block; }

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav .btn { display: none; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line-soft);
    flex-direction: column;
    gap: 0;
    padding: 0;
    z-index: 50;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 16px 32px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 16px;
  }
}

.nav-mobile-cta { display: none; }
@media (max-width: 720px) {
  .nav-mobile-cta { display: block !important; }
}

/* Tablet */
@media (max-width: 1024px) {
  section { padding: 80px 0; }
  .sec-head { margin-bottom: 48px; }
  .stats-wrap { padding: 80px 0; }
  #who-its-for { padding: 96px 0; }
  .final-cta { padding: 96px 0; }
  h2 { font-size: clamp(32px, 4.4vw, 44px); }
  .mockup-frame { box-shadow: 16px 16px 0 -1px var(--bg-2), 16px 16px 0 0 var(--line); }
}

/* Mobile */
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  section { padding: 64px 0; }
  .stats-wrap { padding: 64px 0; padding-left: 9999px; padding-right: 9999px; }
  #who-its-for { padding: 72px 0; }
  .final-cta { padding: 72px 0; }

  h1 { font-size: clamp(36px, 9vw, 52px); line-height: 1.02; }
  h2 { font-size: clamp(28px, 7vw, 36px); line-height: 1.08; }
  h3 { font-size: 20px; }
  p { font-size: 15px; }

  /* Section heads stack */
  .sec-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 40px;
    padding-bottom: 20px;
  }
  .sec-head .sec-meta { max-width: 100%; text-align: left; }

  /* Hero */
  .hero { padding: 48px 0 56px !important; }
  .hero-grid { gap: 40px; }
  .hero-eyebrow { font-size: 10px; padding: 7px 12px; }
  .hero-sub { font-size: 16px; margin-top: 20px; }
  .hero-ctas { flex-direction: column; gap: 12px; align-items: stretch; margin-top: 32px; }
  .hero-ctas .btn, .hero-ctas .btn-text { width: 100%; justify-content: center; text-align: center; }
  .hero .btn-text { border-bottom: none; }
  .trust-strip { margin-top: 40px; padding: 16px 0 0; gap: 16px; }
  .trust-item { padding: 10px 0; }

  /* Nav — compact */
  nav.nav, .nav { padding: 16px 0 !important; }
  .nav .btn { padding: 8px 12px !important; font-size: 12px !important; }
  .logo span:not(.logo-mark):not(.logo-ai) { font-size: 15px; }

  /* Hero mockup — scrollable + smaller */
  .mockup-frame {
    box-shadow: 8px 8px 0 -1px var(--bg-2), 8px 8px 0 0 var(--line);
    margin-right: 8px;
  }
  .mockup-toolbar { flex-wrap: wrap; gap: 8px; }
  .mockup-path { font-size: 11px; }
  .mockup-chips { font-size: 10px; }
  .mockup-chip { padding: 2px 6px; font-size: 10px; }
  table.recon { font-size: 11px; }
  table.recon th, table.recon td { padding: 8px 8px !important; }
  /* Hide less-critical columns on narrow viewports */
  table.recon th:nth-child(3), table.recon td:nth-child(3),
  table.recon th:nth-child(4), table.recon td:nth-child(4),
  table.recon th:nth-child(6), table.recon td:nth-child(6) {
    display: none;
  }
  .mockup-footer { flex-direction: column; gap: 8px; align-items: flex-start; font-size: 11px; }

  /* Pain / steps / benefits */
  .pain-card { padding: 32px 24px !important; }
  .pain-card h3 { font-size: 22px; }
  .step { padding: 32px 24px !important; }
  .step h3 { font-size: 22px; }
  .benefit { padding: 36px 24px !important; }
  .benefit h3 { font-size: 24px; }

  /* Stats numbers */
  .stat-val { font-size: 40px !important; }
  .stat { padding: 24px 20px !important; }

  /* Live ticker */
  .ticker { margin-top: 40px; }
  .ticker-head { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 16px; font-size: 10px; }
  .log-line { grid-template-columns: 60px 1fr auto !important; font-size: 11px; gap: 10px !important; padding: 10px 12px !important; }
  .log-line .st { display: none; }

  /* Break strips */
  .break-strip { height: 200px; }
  .break-strip-caption { padding: 0 20px; bottom: 20px; max-width: 100%; }
  .break-strip-text { font-size: 15px; }
  .break-strip-label { font-size: 10px; }

  /* Who it's for */
  .who-grid { gap: 36px; margin-top: 40px; }
  .who-photo { aspect-ratio: 5 / 4; }
  .who-item { grid-template-columns: 40px 1fr; gap: 12px; padding-bottom: 28px; }
  .who-list { gap: 28px; }

  /* Final CTA */
  .final-cta h2 { font-size: clamp(28px, 8vw, 40px); }
  .final-cta p { font-size: 15px; }
  .final-cta .btn { width: 100%; justify-content: center; }

  /* Footer */
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; font-size: 11px; }

  /* Grid-bg — subtler on mobile */
  .grid-bg::before { background-size: 32px 32px; opacity: 0.5; }
}

/* Small mobile */
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .stat:last-child { border-bottom: none; }
}
