:root {
  --ink: #111827;
  --muted: #64748b;
  --paper: #f8fbff;
  --white: #ffffff;
  --line: #dbe7f3;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-900: #12315f;
  --shadow: 0 24px 70px rgba(37, 99, 235, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-shell { overflow-x: clip; }
.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-500); }

.navbar {
  position: absolute;
  z-index: 5;
  inset: 0 0 auto;
  padding: 26px 0;
  color: var(--blue-900);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.04em; }
.brand-mark { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 11px; background: var(--blue-600); color: var(--white); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 34px; color: #64748b; font-size: 13px; }
.nav-links a:hover { color: var(--blue-600); }
.mobile-nav-action, .menu-toggle { display: none; }
.menu-toggle { align-items: center; justify-content: center; flex-direction: column; gap: 4px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--blue-200); border-radius: 9px; background: var(--white); color: var(--blue-900); cursor: pointer; }
.menu-toggle span { width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle.is-open span:first-child { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:last-child { transform: translateY(-6px) rotate(-45deg); }
.nav-actions { display: flex; align-items: center; gap: 18px; font-size: 13px; }
.nav-login { color: #475569; }
.nav-login:hover { color: var(--blue-600); }

.hero { position: relative; min-height: 770px; padding: 174px 0 110px; background: var(--blue-50); color: var(--ink); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .55; background-image: linear-gradient(rgba(59,130,246,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(59,130,246,.08) 1px, transparent 1px); background-size: 62px 62px; mask-image: linear-gradient(to bottom, black, transparent 80%); }
.hero::after { content: ""; position: absolute; width: 500px; height: 500px; right: -150px; top: 50px; border-radius: 50%; background: var(--blue-200); opacity: .42; filter: blur(12px); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(430px, .85fr); gap: 68px; align-items: center; }
.hero-copy { max-width: 650px; animation: rise .7s ease both; }
.hero .eyebrow { color: #64748b; }
.hero h1 { max-width: 680px; margin: 24px 0 24px; font-size: clamp(48px, 6.4vw, 84px); line-height: .98; letter-spacing: -.075em; }
.hero h1 em { color: var(--blue-600); font-style: normal; }
.hero-lede { max-width: 510px; margin: 0; color: #64748b; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 20px; border: 1px solid transparent; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 800; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue-600); color: var(--white); }
.button-primary:hover { background: var(--blue-700); }
.button-ghost { border-color: var(--blue-200); color: var(--blue-700); }
.button-ghost:hover { border-color: var(--blue-600); color: var(--blue-600); background: var(--white); }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 19px; color: #64748b; font-family: "DM Mono", monospace; font-size: 11px; }
.hero-note span { color: var(--blue-500); }

.dashboard-preview { position: relative; animation: rise .8s .15s ease both; }
.preview-window { overflow: hidden; border: 1px solid var(--blue-200); border-radius: 15px; background: var(--white); box-shadow: 0 28px 80px rgba(37,99,235,.18); transform: rotate(1.5deg); }
.preview-top { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border-bottom: 1px solid var(--line); background: #fff; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-200); }
.window-dots i:first-child { background: var(--blue-500); }
.preview-label { color: #64748b; font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; }
.preview-body { min-height: 390px; color: var(--ink); }
.preview-greeting { padding: 15px 12px 4px; background: #fff; text-align: center; }
.preview-greeting h3 { margin: 0; font-size: 14px; letter-spacing: -.05em; }
.preview-greeting p { margin: 3px 0 0; color: #64748b; font-size: 8px; }
.mini-nav { display: flex; align-items: stretch; justify-content: center; gap: 2px; overflow-x: auto; padding: 0 11px; border-bottom: 1px solid var(--line); background: #fff; scrollbar-width: none; }
.mini-nav::-webkit-scrollbar { display: none; }
.mini-nav button { flex: 0 0 auto; padding: 13px 11px 10px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #64748b; cursor: default; font: 700 9px/1.2 "Manrope", sans-serif; white-space: nowrap; }
.mini-nav button.active { border-bottom-color: var(--blue-600); color: var(--blue-700); }
.preview-content { padding: 12px 22px 23px; }
.preview-heading { display: flex; justify-content: flex-end; margin-bottom: 10px; }
.mini-add { padding: 8px 11px; border-radius: 5px; background: var(--blue-600); color: white; font-size: 9px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 20px; }
.stat { padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.stat small { color: #64748b; font-size: 8px; }
.stat strong { display: block; margin-top: 5px; font-size: 19px; letter-spacing: -.07em; }
.stat strong.lime { color: var(--blue-600); }
.schedule-box { padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.schedule-title { display: flex; justify-content: space-between; margin-bottom: 12px; color: #64748b; font-size: 9px; }
.workload-row { display: grid; grid-template-columns: 118px minmax(90px, 1fr) 27px; gap: 8px; align-items: center; min-height: 34px; color: var(--ink); font-size: 8px; }
.workload-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workload-track { height: 8px; overflow: hidden; border-radius: 999px; background: var(--blue-50); }
.workload-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue-600), #0ea5a4); }
.workload-row strong { color: var(--ink); font-size: 8px; text-align: right; }
.preview-badge { position: absolute; right: -30px; bottom: -23px; width: 128px; padding: 15px; border-radius: 10px; background: var(--blue-100); color: var(--blue-900); box-shadow: 0 13px 30px rgba(37,99,235,.16); transform: rotate(-4deg); }
.preview-badge strong { display: block; font-size: 25px; letter-spacing: -.08em; }
.preview-badge span { font-size: 10px; font-weight: 700; }

.trust { padding: 33px 0; border-bottom: 1px solid var(--line); background: #fff; }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.trust p { margin: 0; color: #64748b; font-family: "DM Mono", monospace; font-size: 10px; text-transform: uppercase; }
.trust-items { display: flex; gap: clamp(20px, 5vw, 65px); color: var(--blue-700); font-size: 14px; font-weight: 800; letter-spacing: -.04em; }

.section { padding: 130px 0; }
.section-heading { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: end; margin-bottom: 60px; }
.section h2 { max-width: 510px; margin: 18px 0 0; font-size: clamp(36px, 5vw, 62px); line-height: 1.02; letter-spacing: -.07em; }
.section-intro { max-width: 430px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.feature-card { min-height: 265px; padding: 26px; border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-number { color: var(--blue-600); font-family: "DM Mono", monospace; font-size: 11px; }
.feature-card h3 { margin: 74px 0 9px; font-size: 20px; letter-spacing: -.05em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.workflow { padding: 110px 0; background: var(--blue-50); }
.workflow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.workflow-copy h2 { margin-bottom: 25px; }
.workflow-list { display: grid; gap: 22px; margin-top: 37px; }
.workflow-step { display: grid; grid-template-columns: 35px 1fr; gap: 14px; align-items: start; }
.step-number { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: var(--blue-600); color: var(--white); font-family: "DM Mono", monospace; font-size: 11px; }
.workflow-step h3 { margin: 0 0 4px; font-size: 15px; }
.workflow-step p { margin: 0; color: var(--muted); font-size: 13px; }
.workflow-art { min-width: 0; padding: 28px; border: 1px solid #e8eef8; border-radius: 16px; background: var(--white); color: var(--ink); box-shadow: 0 10px 35px rgba(37, 99, 235, .07); }
.chart-title { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -.04em; }
.chart-total { margin: 20px 0 10px; font-size: 21px; font-weight: 700; letter-spacing: -.04em; }
.chart-total strong { font-weight: 800; }
.revenue-chart { display: block; width: 100%; overflow: visible; }
.chart-grid line { stroke: #dce8fb; stroke-dasharray: 2 6; stroke-linecap: round; }
.chart-y-labels, .chart-x-labels { fill: #64748b; font-family: "DM Mono", monospace; font-size: 12px; }
.chart-x-labels text { text-anchor: middle; }
.chart-area { fill: url(#revenue-area); }
.chart-line { fill: none; stroke: var(--blue-600); stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.5; }
.chart-guide { stroke: #bfd2ff; stroke-width: 1; }
.chart-points circle { fill: var(--white); stroke: var(--blue-600); stroke-width: 2.5; }
.chart-tooltip rect { fill: var(--blue-900); }
.chart-tooltip text { fill: var(--white); font-family: "DM Mono", monospace; font-size: 11px; }
.chart-tooltip .chart-tooltip-value { font-family: "Manrope", sans-serif; font-size: 13px; font-weight: 800; }

.cta { padding: 110px 0; background: var(--blue-700); color: white; text-align: center; }
.cta h2 { max-width: 680px; margin: 17px auto 19px; font-size: clamp(40px, 6vw, 70px); line-height: 1; letter-spacing: -.08em; }
.cta p { max-width: 430px; margin: 0 auto; color: #dbeafe; font-size: 15px; }
.cta .button { margin-top: 31px; }
.footer { padding: 27px 0; background: var(--blue-900); color: #bfdbfe; font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.footer .brand { color: #eff6ff; font-size: 13px; }
.footer-mark { width: 25px; height: 25px; border-radius: 7px; font-size: 11px; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) {
  .nav-inner { position: relative; }
  .nav-links { position: absolute; top: calc(100% + 10px); right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 0 18px 40px rgba(18, 49, 95, .14); }
  .nav-links.is-open { display: flex; flex-direction: column; }
  .nav-links a { padding: 12px; border-radius: 7px; }
  .nav-links a:hover { background: var(--blue-50); }
  .nav-links .mobile-nav-action { display: block; }
  .nav-links .button { margin-top: 5px; color: var(--white); text-align: center; }
  .nav-links .button:hover { background: var(--blue-700); }
  .nav-actions { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero { min-height: auto; padding-top: 135px; }
  .hero-grid, .workflow-grid { grid-template-columns: minmax(0, 1fr); gap: 55px; }
  .hero-grid > *, .workflow-grid > * { min-width: 0; }
  .dashboard-preview { max-width: 620px; width: calc(100% - 24px); margin: 0 auto; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-card h3 { margin-top: 45px; }
  .workflow-art { max-width: 620px; width: 100%; margin: 0 auto; }
}
@media (max-width: 580px) {
  .container { width: min(100% - 32px, 1160px); }
  .navbar { padding: 18px 0; }
  .hero { padding: 115px 0 80px; }
  .hero h1 { font-size: clamp(36px, 12.5vw, 62px); }
  .hero-lede { font-size: 15px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-grid, .workflow-grid { gap: 42px; }
  .dashboard-preview { width: 100%; }
  .preview-window { transform: none; }
  .mini-nav { justify-content: flex-start; padding: 0 7px; }
  .mini-nav button { padding: 12px 9px 9px; font-size: 8px; }
  .preview-content { padding: 10px 12px 17px; }
  .workload-row { grid-template-columns: minmax(64px, 1fr) minmax(55px, 1.3fr) 25px; gap: 6px; }
  .stats { gap: 5px; }
  .stat { min-width: 0; padding: 8px 6px; }
  .stat small { font-size: 7px; }
  .stat strong { font-size: 15px; }
  .preview-badge { right: -4px; bottom: -35px; width: 118px; padding: 12px; }
  .trust-inner { align-items: flex-start; flex-direction: column; }
  .trust-items { flex-wrap: wrap; gap: 12px 22px; font-size: 12px; }
  .section, .workflow, .cta { padding: 68px 0; }
  .section-heading { margin-bottom: 35px; }
  .section h2 { font-size: clamp(36px, 10vw, 43px); }
  .workflow-art { overflow-x: auto; padding: 20px 14px; }
  .revenue-chart { min-width: 470px; }
  .chart-title { font-size: 15px; }
  .chart-total { margin-top: 14px; font-size: 18px; }
  .cta h2 { font-size: clamp(40px, 11vw, 58px); }
  .cta .button { width: 100%; max-width: 320px; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
