:root {
  --navy: #14275c;
  --navy-deep: #0d1c45;
  --sky: #e8f0ff;
  --yellow: #ffc83d;
  --yellow-dark: #f0b51c;
  --blue: #3a63d8;
  --ink: #17223b;
  --muted: #55627f;
  --line: #dbe3f3;
  --white: #fff;
  --head: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body); font-size: 1rem; line-height: 1.6; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0; }

/* ---------- top (header + hero) ---------- */
.top { background: var(--white); color: var(--ink); padding-bottom: 4.5rem; }
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  max-width: 72rem; margin: 0 auto; padding: 1.25rem 1.5rem;
}
.brand { color: var(--navy); display: inline-flex; align-items: center; gap: .6rem; font-family: var(--head); font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.logo { height: 2.6rem; width: auto; display: block; }
.site-header nav { display: flex; gap: 1.75rem; margin-left: auto; margin-right: 1rem; }
.site-header nav a { text-decoration: none; color: var(--muted); font-weight: 500; }
.site-header nav a:hover { color: var(--navy); }

.hero { max-width: 48rem; margin: 0 auto; padding: 4rem 1.5rem 0; text-align: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.015em; color: var(--navy); }
.hero-logo { display: block; height: 9rem; width: auto; margin: 0 auto 1.5rem; }
.lead { font-size: 1.15rem; color: var(--muted); margin: 1.25rem auto 2rem; max-width: 40ch; }
.actions { display: flex; justify-content: center; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.link { font-weight: 500; color: var(--navy); text-underline-offset: 4px; }

/* ---------- buttons ---------- */
.btn { display: inline-block; padding: .8rem 1.4rem; border-radius: 8px; font-weight: 600; text-decoration: none; transition: background .15s; }
.btn-yellow { background: var(--yellow); color: var(--navy-deep); }
.btn-yellow:hover { background: var(--yellow-dark); }
.btn-ghost { padding: .5rem 1.1rem; border: 1.5px solid var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--sky); }

/* ---------- dashboard preview ---------- */
.preview-band { background: var(--sky); padding: 3.5rem 0; }
.preview-wrap { max-width: 62rem; margin: 0 auto; padding: 0 1.5rem; }
.preview {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 30px 60px -30px rgba(13,28,69,.55); padding: 1.25rem;
}
.preview-bar { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; }
.preview-bar strong { font-family: var(--head); font-size: 1.1rem; }
.sample { font-size: .8rem; color: var(--muted); background: var(--sky); padding: .15rem .6rem; border-radius: 999px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat { background: var(--sky); border-radius: 10px; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .15rem; }
.stat span { color: var(--muted); font-size: .9rem; }
.stat strong { font-family: var(--head); font-size: 1.7rem; font-variant-numeric: tabular-nums; }

.preview-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.5rem; margin-top: 1.25rem; align-items: end; }
.chart p, .recent caption { margin: 0 0 .6rem; font-weight: 600; font-size: .95rem; text-align: left; caption-side: top; }
.bars { display: flex; align-items: flex-end; gap: .4rem; height: 9rem; border-bottom: 2px solid var(--line); }
.bars span { flex: 1; height: var(--h); background: var(--blue); border-radius: 4px 4px 0 0; }
.bars span:nth-child(12) { background: var(--yellow); }

.recent { width: 100%; border-collapse: collapse; font-size: .92rem; }
.recent th { text-align: left; color: var(--muted); font-weight: 500; padding: .35rem 0; border-bottom: 1px solid var(--line); }
.recent td { padding: .55rem 0; border-bottom: 1px solid var(--line); }
.recent .num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- sections ---------- */
main section { padding: 4.5rem 1.5rem; }
main h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 2rem; }

.how { max-width: 72rem; margin: 0 auto; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 3.2rem; position: relative; border-top: 2px solid var(--line); }
.steps li::before {
  content: counter(step); position: absolute; top: -1.1rem; left: 0;
  width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--yellow); color: var(--navy-deep);
  display: grid; place-items: center; font-family: var(--head); font-weight: 700;
}
.steps h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.steps p { margin: 0; color: var(--muted); max-width: 32ch; }

.features { background: var(--sky); }
.features > * { max-width: 72rem; margin-left: auto; margin-right: auto; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.feat { background: var(--white); border-radius: 10px; padding: 1.5rem 1.6rem; border-left: 6px solid var(--blue); }
.feat-yellow { border-left-color: var(--yellow); }
.feat h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.feat p { margin: 0; color: var(--muted); }

.security { background: var(--navy-deep); color: #dbe5ff; }
.security-inner { max-width: 72rem; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.security h2 { color: var(--white); margin-bottom: 1rem; }
.security p { margin: 0; max-width: 40ch; color: #b9c8ee; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.check-list li { position: relative; padding-left: 1.9rem; }
.check-list li::before {
  content: ""; position: absolute; left: .2rem; top: .4em; width: .45rem; height: .8rem;
  border: solid var(--yellow); border-width: 0 2px 2px 0; transform: rotate(40deg);
}

.cta { text-align: center; }
.cta h2 { margin-bottom: 1.5rem; }

.site-footer { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; max-width: 72rem; margin: 0 auto; padding: 1.5rem; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }

/* ---------- responsive ---------- */
@media (max-width: 52rem) {
  .site-header nav { display: none; }
  .top { padding-bottom: 3rem; }
  .hero { padding-top: 2rem; }
  .hero-logo { height: 6.5rem; }
  .stats { grid-template-columns: 1fr; }
  .preview-body, .steps, .feature-grid, .security-inner { grid-template-columns: 1fr; }
  .steps { gap: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
