:root {
  --bg: #0a0a0b;
  --bg-2: #131316;
  --bg-3: #1a1a1e;
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);
  --ink: #f5f5f6;
  --ink-2: #b8b8bd;
  --ink-3: #7c7c84;
  --accent: #7c5cff;
  --green: #4ade80;
  --green-bg: rgba(74,222,128,0.12);
  --sans: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --container: 1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; }
h1 { font-size: clamp(40px, 6vw, 60px); letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(28px, 3.5vw, 38px); letter-spacing: -0.025em; }
h3 { font-size: 20px; }

.skip-link { position: absolute; top: -100px; left: 0; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 0 0 8px 0; font-weight: 600; font-size: 14px; z-index: 100; transition: top 0.15s ease; }
.skip-link:focus { top: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 54px; padding: 0 24px; border-radius: 12px; font-size: 17px; font-weight: 600; transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease; white-space: nowrap; cursor: pointer; min-width: 200px; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: white; }
.btn-primary:active { transform: scale(0.98); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-3); background: rgba(255,255,255,0.04); }

.nav { position: sticky; top: 0; z-index: 50; background: rgba(10,10,11,0.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: var(--container); margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; letter-spacing: -0.018em; }
.logo-mark { width: 28px; height: 28px; display: grid; place-items: center; color: var(--ink); }
.logo-mark svg { width: 100%; height: 100%; }
.nav-cta { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 18px; border-radius: 10px; background: var(--ink); color: var(--bg); font-size: 15px; font-weight: 600; }
.nav-cta:hover { background: white; }

/* Industry hero */
.industry-hero {
  padding: 64px 0 48px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.industry-hero::before {
  content: '';
  position: absolute;
  top: -250px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(124,92,255,0.07), transparent 60%);
  pointer-events: none; z-index: 0;
}
.industry-hero > .container { position: relative; z-index: 1; }
.breadcrumb { font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
.industry-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.industry-tag .icon { font-size: 14px; }

.industry-hero h1 { margin-bottom: 18px; max-width: 18ch; }
.industry-hero h1 .highlight { color: var(--accent); }
.industry-lede {
  font-size: 19px;
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 50ch;
  margin-bottom: 28px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }

/* Industry visual (right column) — stack of "automation pill" rows */
.industry-visual {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  display: grid;
  gap: 8px;
}
.viz-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  color: var(--ink-2);
}
.viz-row .viz-icon { font-size: 18px; flex-shrink: 0; }
.viz-row .viz-name { color: var(--ink); font-weight: 600; }
.viz-row .viz-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--green);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.viz-row .viz-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px rgba(74,222,128,0.6); }

/* Section */
.section { padding: 72px 0; border-bottom: 1px solid var(--line); }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.eyebrow { font-size: 12px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 17.5px; color: var(--ink-2); line-height: 1.55; }

/* Pain points */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pain-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
.pain-card .num {
  font-size: 12px; color: var(--ink-3); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.pain-card h3 { font-size: 17px; margin-bottom: 8px; }
.pain-card p { color: var(--ink-2); font-size: 15px; line-height: 1.5; }

/* Recommended automations grid */
.rec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.rec-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.rec-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.rec-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.rec-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 22px;
}
.rec-rank {
  font-size: 11px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(124,92,255,0.1);
  padding: 5px 9px;
  border-radius: 999px;
}
.rec-card h3 { font-size: 18px; margin-bottom: 6px; }
.rec-card .why { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; margin-bottom: 16px; flex-grow: 1; font-style: italic; }
.rec-card .why::before { content: '"'; opacity: 0.6; }
.rec-card .why::after { content: '"'; opacity: 0.6; }
.rec-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.rec-price { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.rec-link {
  display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 16px;
  border-radius: 8px;
  background: var(--ink); color: var(--bg);
  font-size: 14px; font-weight: 600;
}
.rec-link:hover { background: white; }

/* Industry quote */
.quote-block {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 48px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: center;
}
.quote-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #4d3df0);
  color: white;
  display: grid; place-items: center;
  font-size: 28px; font-weight: 700; letter-spacing: -0.02em;
}
.quote-block blockquote {
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}
.quote-block .attrib { font-size: 14.5px; color: var(--ink-3); }
.quote-block .attrib strong { color: var(--ink); font-weight: 600; }

/* Final CTA */
.final-cta { text-align: center; padding: 80px 24px; background: radial-gradient(ellipse at center top, rgba(124,92,255,0.1), transparent 60%), var(--bg); }
.final-cta h2 { margin-bottom: 14px; max-width: 18ch; margin-left: auto; margin-right: auto; }
.final-cta p { font-size: 17px; color: var(--ink-2); margin: 0 auto 28px; max-width: 50ch; }
.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0; text-align: center; color: var(--ink-3); font-size: 13.5px; line-height: 1.6; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--ink); }
.footer-disclaimer { max-width: 70ch; margin: 16px auto 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.5; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Mobile */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .pain-grid { grid-template-columns: 1fr; }
  .rec-grid { grid-template-columns: 1fr; }
  .quote-block { grid-template-columns: 1fr; padding: 28px; gap: 20px; text-align: left; }
  .quote-avatar { width: 64px; height: 64px; font-size: 22px; }
  .quote-block blockquote { font-size: 19px; }
  .industry-hero { padding: 40px 0 36px; }
  .section { padding: 48px 0; }
  .nav-cta { padding: 0 14px; height: 38px; font-size: 14px; }
  .btn { width: 100%; min-width: 0; }
  .hero-ctas .btn { width: 100%; }
}
