:root {
  --bg: #f5f7f9;
  --ink: #16202b;
  --navy: #0f2a4a;
  --blue: #12719f;
  --blue-hover: #0d5a80;
  --muted: #6b7684;
  --muted-2: #5b6472;
  --border: #e7ebef;
  --border-2: #eef1f4;
  --accent: #3a5fdb;
  --badge-green-bg: #e5f6ea;
  --badge-green-fg: #2b8a4a;
  --badge-orange-bg: #fdf1de;
  --badge-orange-fg: #b3791a;
  --badge-purple-bg: #f4e9fb;
  --badge-purple-fg: #7a3fa0;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', Helvetica, Arial, sans-serif;
}

h1, h2, h3, p { margin: 0; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }

/* Header — floating pill, fixed size; only the shadow deepens on scroll */
.site-header {
  position: fixed;
  top: 20px; left: 20px; right: 20px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(15, 42, 74, 0.08);
  transition: box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(15, 42, 74, 0.16);
}

.brand-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.btn-login {
  background: #16181b;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.btn-login:hover { background: #000; color: #fff; }

/* Hero */
.hero {
  padding: 160px 56px 100px;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, #eaf3f8 0%, var(--bg) 60%, var(--bg) 100%);
}

.hero-inner { max-width: 820px; margin: 0 auto; }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin-bottom: 20px;
}
.eyebrow.center { text-align: center; margin-bottom: 12px; }

.hero h1 {
  font-size: 52px;
  line-height: 1.12;
  font-weight: 800;
  margin: 0 0 26px;
  color: var(--navy);
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  color: #48525f;
  margin: 0 auto 48px;
  max-width: 620px;
}

/* Decorative product preview — a tall "screenshot" clipped with a fade,
   built from real markup rather than an actual screenshot so it never goes
   stale when the app's UI changes. */
.hero-mock { max-width: 980px; margin: 0 auto; position: relative; }

.mock-frame {
  height: 460px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 30px 70px -30px rgba(15, 42, 74, 0.35);
  border: 1px solid var(--border);
  border-bottom: none;
  background: #fff;
  text-align: left;
  position: relative;
}

.mock-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-2);
  background: #fafbfc;
}
.mock-topbar .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #e4e7ea;
}

.mock-body { display: flex; }

.mock-sidebar {
  width: 190px;
  flex-shrink: 0;
  border-right: 1px solid var(--border-2);
  padding: 20px 0 18px;
}

.mock-sidebar-logo { padding: 0 12px 16px 20px; }
.mock-sidebar-logo img { width: 100%; height: auto; object-fit: contain; }

.mock-nav { display: flex; flex-direction: column; gap: 3px; padding: 0 10px; }

.mock-nav-item {
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 11.5px;
}
.mock-nav-item.active { background: var(--accent); color: #fff; font-weight: 600; }

.mock-main { flex: 1; padding: 20px 24px; }

.mock-main-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.mock-title { font-weight: 800; font-size: 16px; color: var(--navy); }
.mock-subtitle { font-size: 11.5px; color: var(--muted); }

.mock-cta {
  background: var(--accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 7px;
}

.mock-table { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }

.mock-table-head, .mock-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  align-items: center;
}

.mock-table-head {
  padding: 9px 14px;
  font-size: 10.5px;
  font-weight: 700;
  color: #8994a1;
  border-bottom: 1px solid var(--border-2);
}

.mock-table-row {
  padding: 11px 14px;
  font-size: 12px;
  color: #3c4653;
  border-bottom: 1px solid #f2f4f6;
}
.mock-table-row .cell-name { font-weight: 600; color: var(--ink); }

.mock-badge {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
}
.badge-green { background: var(--badge-green-bg); color: var(--badge-green-fg); }
.badge-orange { background: var(--badge-orange-bg); color: var(--badge-orange-fg); }
.badge-purple { background: var(--badge-purple-bg); color: var(--badge-purple-fg); }

.mock-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(245, 247, 249, 0) 0%, var(--bg) 90%);
}

/* How it works / Why it matters */
.how-it-works { background: #ffffff; padding: 88px 56px; border-top: 1px solid var(--border); }
.why-it-matters { padding: 88px 56px; }

.section-inner { max-width: 1180px; margin: 0 auto; }

.section-inner h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 48px;
}
.section-inner h2.center { text-align: center; }

.card-row { display: flex; gap: 32px; flex-wrap: wrap; }

.card {
  flex: 1 1 300px;
  background: #f7f9fb;
  border-radius: 12px;
  padding: 32px;
}

.card-outline {
  background: #fff;
  border: 1px solid var(--border);
}

.card .step {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--ink);
}
.card-outline h3 { font-size: 18px; color: var(--navy); }

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

/* Footer */
.site-footer {
  background: var(--navy);
  color: #c3cedb;
  padding: 40px 56px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact { display: flex; gap: 24px; }

@media (max-width: 640px) {
  .site-header, .hero, .how-it-works, .why-it-matters, .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero h1 { font-size: 36px; }
  .brand-logo { height: 38px; }
  .btn-login { padding: 10px 20px; }
  /* The mockup is decorative; on narrow screens the fixed-width sidebar
     leaves too little room for the table to stay legible, so hide it
     rather than ship a cramped, unreadable preview. */
  .hero-mock { display: none; }
}
