/*
 * The front page's stylesheet: the same light look as the dashboard, plain CSS only. No scripts, no outside fonts or images: the
 * content security policy allows this site's own files and nothing else.
 */
:root {
  color-scheme: light;
  --bg: #f4f6fb; --surface: #ffffff; --surface-2: #f8fafc;
  --text: #0f172a; --text-2: #334155; --muted: #64748b;
  --line: #e6eaf1; --line-strong: #d0d8e4;
  --accent: #4f46e5; --accent-hover: #4338ca; --accent-soft: #eef2ff; --accent-text: #ffffff;
  --ok: #047857; --ok-bg: #dcfce7; --warn: #b45309; --warn-bg: #fef3c7; --bad: #be123c; --bad-bg: #ffe4e6; --info: #3730a3; --info-bg: #e0e7ff;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 14px 36px -18px rgba(15, 23, 42, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; color: var(--text); background: var(--surface);
  font: 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
a { color: var(--accent); }
h1, h2, h3 { letter-spacing: -0.022em; line-height: 1.15; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid rgba(79, 70, 229, 0.35); outline-offset: 3px; border-radius: 6px; }

/* --- top bar --- */
.site-top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 12px 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; letter-spacing: -0.01em; color: var(--text); text-decoration: none; }
.brand img { border-radius: 10px; box-shadow: 0 4px 12px -4px rgba(79, 70, 229, 0.55); }
.links { display: flex; gap: 4px; flex: 1; justify-content: center; }
.links a { padding: 8px 14px; border-radius: 999px; color: var(--text-2); font-weight: 550; font-size: 0.95rem; text-decoration: none; }
.links a:hover { background: var(--surface-2); color: var(--text); }

/* --- buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 13px 24px; border-radius: 12px; font-weight: 650; font-size: 1rem; text-decoration: none; color: var(--accent-text);
  background: linear-gradient(180deg, #6366f1, #4f46e5); box-shadow: 0 1px 2px rgba(49, 46, 129, 0.35), 0 10px 22px -10px rgba(79, 70, 229, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.08s ease, filter 0.15s ease;
}
.btn:hover { color: var(--accent-text); filter: brightness(1.07); transform: translateY(-1px); }
.btn-small { padding: 9px 18px; font-size: 0.93rem; border-radius: 10px; }
.btn-ghost { background: var(--surface); color: var(--text-2); border: 1px solid var(--line-strong); box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05); }
.btn-ghost:hover { color: var(--text); background: var(--surface-2); filter: none; }
.btn-light { background: #fff; color: var(--accent-hover); box-shadow: 0 10px 24px -12px rgba(15, 23, 42, 0.5); }
.btn-light:hover { color: var(--accent-hover); }

/* --- hero --- */
.hero {
  padding: 72px 0 84px;
  background:
    radial-gradient(760px 380px at 12% -8%, #dfe6ff 0%, rgba(223, 230, 255, 0) 70%) no-repeat,
    radial-gradient(640px 360px at 92% 8%, #ece3ff 0%, rgba(236, 227, 255, 0) 68%) no-repeat,
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 56px; align-items: center; }
.hero-copy { min-width: 0; }
.eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-hover); font-weight: 650; font-size: 0.86rem; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 780; margin-bottom: 20px; }
.grad { background: linear-gradient(90deg, #4f46e5, #8b5cf6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { font-size: 1.15rem; color: var(--text-2); max-width: 36em; margin-bottom: 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.assure { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-weight: 550; font-size: 0.93rem; }
.assure li::before { content: "\2713"; color: var(--ok); font-weight: 800; margin-right: 8px; }

/* The picture of the product: drawn in CSS, and marked as an example. */
.mock { position: relative; }
.mock-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 70px -30px rgba(49, 46, 129, 0.45), var(--shadow); padding: 20px; }
.mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mock-title { font-weight: 700; }
.mock-item { border: 1px solid var(--line); border-left: 4px solid #f59e0b; border-radius: 12px; padding: 14px 16px; margin-top: 12px; background: var(--surface); }
.mock-what { font-weight: 650; font-size: 0.98rem; }
.mock-why { color: var(--muted); font-size: 0.88rem; margin: 4px 0 12px; }
.mock-actions { display: flex; gap: 8px; }
.mock-btn { padding: 6px 14px; border-radius: 9px; font-size: 0.85rem; font-weight: 650; }
.mock-yes { background: linear-gradient(180deg, #10b981, #059669); color: #fff; }
.mock-no { border: 1px solid #fbb6c0; color: var(--bad); background: #fff; }
.mock-stats { position: absolute; right: -14px; bottom: -34px; display: flex; gap: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 14px 20px; }
.mock-n { display: block; font-size: 0.72rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.mock-v { display: block; font-size: 1.3rem; font-weight: 750; letter-spacing: -0.02em; }
.mock-stats div:first-child .mock-v { color: var(--ok); }

.chip { display: inline-flex; align-items: center; padding: 2px 11px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; }
.chip-amber { background: var(--warn-bg); color: var(--warn); }
.chip-green { background: var(--ok-bg); color: var(--ok); }
.chip-blue { background: var(--info-bg); color: var(--info); }

/* --- sections --- */
.section { padding: 84px 24px; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 760; }
.lead { color: var(--muted); font-size: 1.1rem; margin-top: 10px; max-width: 40em; }
.band { padding: 84px 0; background: var(--surface-2); border-block: 1px solid var(--line); }
.band-tint { background: linear-gradient(180deg, #f5f6ff, #f8f5ff); }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 26px; }
.num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; font-weight: 750; margin-bottom: 18px; box-shadow: 0 8px 18px -8px rgba(79, 70, 229, 0.7); }
.steps h3, .card h3, .road h3 { font-size: 1.18rem; margin-bottom: 8px; }
.steps p, .card p, .road p { color: var(--text-2); font-size: 0.98rem; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 40px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 22px 44px -20px rgba(79, 70, 229, 0.3); }
.ico { display: block; width: 44px; height: 44px; border-radius: 13px; margin-bottom: 18px; position: relative; }
.ico::after { content: ""; position: absolute; inset: 12px; border-radius: 5px; background: rgba(255, 255, 255, 0.92); }
.ico-1 { background: linear-gradient(135deg, #6366f1, #818cf8); }
.ico-2 { background: linear-gradient(135deg, #10b981, #34d399); }
.ico-3 { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.ico-4 { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.ico-5 { background: linear-gradient(135deg, #0ea5e9, #38bdf8); }
.ico-6 { background: linear-gradient(135deg, #ec4899, #f472b6); }
.ico-2::after { border-radius: 50%; }
.ico-4::after { border-radius: 2px 12px 2px 12px; }
.ico-5::after { border-radius: 50% 50% 4px 4px; }

.safe-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding: 18px 20px 18px 58px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04); color: var(--text-2); font-size: 0.98rem; }
.checks li::before { content: "\2713"; position: absolute; left: 18px; top: 17px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); font-weight: 800; font-size: 0.85rem; }
.checks strong { color: var(--text); }

.roadmap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.road { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.road .chip { margin-bottom: 14px; }
.road-done { background: linear-gradient(180deg, #f3fdf7, #fff); border-color: #c9efd9; }

.final { padding: 0 24px 84px; }
.final-card { text-align: center; padding: 64px 28px; border-radius: 28px; color: #fff; background: linear-gradient(135deg, #4f46e5, #7c3aed); box-shadow: 0 30px 70px -34px rgba(79, 70, 229, 0.8); }
.final-card h2 { color: #fff; margin-bottom: 10px; }
.final-card p { color: rgba(255, 255, 255, 0.86); margin-bottom: 26px; }
.final-card .note { margin: 0; }

.site-foot { border-top: 1px solid var(--line); background: var(--surface-2); }
.foot-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 24px; padding-bottom: 24px; color: var(--muted); font-size: 0.9rem; }
.brand-small { font-size: 0.95rem; }
.brand-small img { border-radius: 7px; box-shadow: none; }

@media (max-width: 920px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .mock-stats { position: static; margin-top: 14px; justify-content: space-around; }
  .steps, .cards { grid-template-columns: 1fr; }
  .roadmap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .safe-grid { grid-template-columns: 1fr; gap: 28px; }
  .links { display: none; }
  .bar { justify-content: space-between; }
  .section, .band { padding-block: 60px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .roadmap { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-small { width: auto; }
  .cta { flex-direction: column; }
  .final-card { padding: 44px 20px; }
}
