@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;600;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #0b0b0d;
  --fg: #f2f1ec;
  --muted: #8a8a8f;
  --accent: #6ee7b7;
  --card: #16161a;
  --border: #232327;
}

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

body {
  background:
    radial-gradient(760px 480px at 82% -8%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
    var(--bg);
  color: var(--fg);
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

header {
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.logo span { color: var(--accent); }

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  margin-left: 28px;
}
nav a:hover { color: var(--fg); }

.hero {
  padding: 64px 0 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-copy { min-width: 0; }

.hero h1 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: clamp(42px, 8.5vw, 100px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero p {
  margin-top: 26px;
  font-size: 19px;
  color: var(--muted);
  max-width: 520px;
}

.cta-row {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* hero visual: mock CRM lead card */
.hero-visual {
  position: relative;
  height: 380px;
}

.lead-card {
  position: absolute;
  width: 270px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}

.lead-card--main {
  right: 10px;
  top: 20px;
  z-index: 2;
}

.lead-card--behind {
  right: 40px;
  top: 130px;
  z-index: 1;
  opacity: .5;
  transform: scale(.94);
}

.lead-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.lead-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent);
}

.lead-card-top span {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.lead-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 40%, #fff));
  margin-bottom: 12px;
}

.lead-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.lead-card p {
  font-size: 13px;
  color: var(--muted);
}

.lead-tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 11px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
}

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { height: 220px; margin-top: 20px; }
  .lead-card { width: 220px; }
  .lead-card--main { right: 20px; top: 0; }
  .lead-card--behind { right: 0; top: 90px; }
}

.btn {
  display: inline-block;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity .15s;
}
.btn:hover { opacity: .85; }

.btn-primary {
  background: var(--accent);
  color: #06110c;
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--fg);
}

section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.eyebrow {
  font-size: 13px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}

h2 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.01em;
  max-width: 640px;
}

.grid3 {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.card .num {
  font-family: 'Unbounded', sans-serif;
  color: var(--accent);
  font-size: 14px;
  margin-bottom: 14px;
}

.card .icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card .icon svg { width: 19px; height: 19px; }

.card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 15px;
}

.case {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  margin-top: 32px;
}

.case-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 18px;
}

.case p { color: var(--muted); font-size: 16px; margin-top: 10px; }
.case p b { color: var(--fg); font-weight: 500; }

form {
  margin-top: 36px;
  max-width: 460px;
}

label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

input, textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--fg);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  margin-bottom: 18px;
}
input:focus, textarea:focus { outline: 1px solid var(--accent); }

footer {
  padding: 40px 0 60px;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

footer a { color: var(--muted); }

/* niche tile grid (hub page) */
.tiles {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.tile {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  text-decoration: none;
  color: var(--fg);
  transition: border-color .15s, transform .15s;
  position: relative;
  overflow: hidden;
}
.tile:hover { border-color: var(--tile-accent, var(--accent)); transform: translateY(-2px); }

.tile .tile-dot {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--tile-accent, var(--accent)) 18%, transparent);
  color: var(--tile-accent, var(--accent));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.tile .tile-dot svg { width: 18px; height: 18px; }

.tile h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.tile p { font-size: 14px; color: var(--muted); }
.tile .tile-arrow { position: absolute; top: 26px; right: 24px; color: var(--muted); font-size: 18px; }
