/* Palette: the dashboard's default (brand-neutral) tokens, so the marketing
   site and the product read as one thing. Type: Space Grotesk + Inter. */
:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --text: #16181d;
  --muted: #6b7280;
  --line: #e4e7ec;
  --brand: #0f766e;
  --brand-ink: #0b5a54;
  --brand-soft: #e6f4f2;
  --ok: #047857;
  --ok-soft: #d1fae5;
  --warn-soft: #fef3c7;
  --radius: 12px;
  --shadow-1: 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow-2: 0 8px 24px rgba(16, 24, 40, 0.12);

  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  font: 600 15px/1 var(--body);
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--lg { height: 50px; padding: 0 24px; font-size: 16px; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-ink); }
.btn--ghost { background: var(--surface); border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-ink); }
.btn--light { background: #fff; color: var(--brand-ink); }
.btn--light:hover { background: var(--brand-soft); }
.btn:focus-visible { outline: 3px solid rgba(15, 118, 110, 0.35); outline-offset: 2px; }

/* ── nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.nav__links { display: flex; gap: 28px; margin-inline-start: auto; font-weight: 500; font-size: 15px; color: var(--muted); }
.nav__links a:hover { color: var(--text); }

.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 21px/1 var(--display); letter-spacing: -0.03em; }
.logo__mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  font-size: 19px;
  padding-bottom: 2px;
}
.logo--sm { font-size: 18px; }
.logo--sm .logo__mark { width: 28px; height: 28px; font-size: 16px; }

/* ── hero ── */
.hero {
  background:
    radial-gradient(900px 420px at 85% 0%, var(--brand-soft), transparent 70%),
    var(--surface);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 96px;
}
.eyebrow {
  font: 600 13px/1 var(--body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 18px;
}
h1 { font-size: clamp(40px, 5.4vw, 64px); font-weight: 700; }
.lead { font-size: 18px; color: var(--muted); margin-top: 20px; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* The product mock is pure CSS so the page has no images to keep in sync. */
.hero__inner > * { min-width: 0; }
.hero__visual { position: relative; }
.mock {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.mock__bar > span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock__url {
  margin-inline-start: 12px;
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--muted);
}
.mock__body { padding: 18px; }
.mock__chips { display: flex; gap: 8px; margin-bottom: 16px; overflow: hidden; }
.chip { flex-shrink: 0; }
.chip {
  font: 500 12px/1 var(--body);
  font-style: normal;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.chip--on { background: var(--brand); border-color: var(--brand); color: #fff; }
.mock__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card { position: relative; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.card__img {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-soft), var(--bg));
  margin-bottom: 10px;
}
.card b { display: block; height: 9px; width: 70%; border-radius: 4px; background: var(--line); }
.card b::after { content: ''; display: block; height: 9px; width: 45%; margin-top: 7px; border-radius: 4px; background: var(--brand-soft); }
.tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font: 700 11px/1 var(--body);
  font-style: normal;
  background: var(--warn-soft);
  color: #92400e;
  padding: 5px 8px;
  border-radius: 6px;
}
.toast {
  position: absolute;
  left: -28px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-2);
  padding: 14px 18px;
}
.toast strong { display: block; font-size: 14px; }
.toast small { color: var(--muted); font-size: 13px; }
.toast__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 5px var(--ok-soft); }

/* ── stats ── */
.stats { background: var(--text); color: #fff; }
.stats__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.stats strong { display: block; font: 700 38px/1 var(--display); letter-spacing: -0.02em; }
.stats span { display: block; margin-top: 8px; color: #b8bec9; font-size: 14px; }

/* ── sections ── */
.section { padding: 104px 0; }
.section--tint { background: var(--bg); }
.section__head { max-width: 640px; margin-bottom: 56px; }
h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; }

.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.service:hover { border-color: var(--brand); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.service__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 20px;
}
.service__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 15px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 30px 28px; box-shadow: var(--shadow-1); }
.step__num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font: 700 16px/1 var(--display);
  margin-bottom: 22px;
}
.step h3 { font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.step p { color: var(--muted); }

/* ── contact ── */
.contact { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 56px; align-items: center; }
.contact__list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact__item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-width: 0;
}
a.contact__item:hover { border-color: var(--brand); box-shadow: var(--shadow-2); }
.contact__item .service__icon { margin: 0; flex-shrink: 0; }
.contact__item > span:last-child { min-width: 0; }
.contact__item small { display: block; color: var(--muted); font-size: 13px; }
.contact__item strong { display: block; font-weight: 600; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── cta ── */
.cta { padding: 0 0 104px; background: var(--surface); }
.cta__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--brand);
  color: #fff;
  border-radius: 20px;
  padding: 48px 52px;
}
.cta h2 { font-size: clamp(26px, 3vw, 34px); }
.cta p { margin-top: 10px; color: #cdebe7; }

/* ── footer ── */
.footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; }
.footer p { color: var(--muted); font-size: 14px; }
.footer p a { white-space: nowrap; }
.footer p a:hover { color: var(--brand); }

/* ── responsive ── */
@media (max-width: 1180px) {
  .contact { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 1000px) {
  .services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 80px; gap: 48px; }
  .toast { left: 12px; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .contact__list { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .cta { padding-bottom: 72px; }
  .cta__box { padding: 36px 28px; }
}
@media (max-width: 600px) {
  /* Sides only: several sections put their vertical padding on .container. */
  .container { padding-left: 16px; padding-right: 16px; }
  .nav__links { display: none; }
  .nav__inner { justify-content: space-between; gap: 12px; }
  .nav .btn { padding: 0 14px; }
  .services { grid-template-columns: 1fr; }
  .lead { font-size: 17px; }
  .hero__actions .btn { flex: 1; }
}
