:root {
  --page: #0a1630; --surface: #14244d; --surface-off: #101d3f; --line: #294067; --line2: #33507f;
  --text: #e9edf7; --muted: #98a6c5; --blue: #3d7bfd; --blue-hover: #5a92ff; --cyan: #4d9bff; --violet: #8b5cf6; --mint: #34d399;
  --gradient: linear-gradient(90deg, #4d9bff, #8b5cf6, #34d399);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--text); font: 17px/1.65 "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif; }
a { color: var(--cyan); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(32px, 4.6vw, 48px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.6vw, 36px); margin-bottom: 12px; }
h3 { font-size: 18px; margin-bottom: 6px; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.grad { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* nav */
header.top { position: sticky; top: 0; z-index: 10; background: rgba(10, 22, 48, .86); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 22px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--text); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: var(--text); }
.btn { display: inline-block; background: var(--blue); color: #fff !important; font-weight: 700; text-decoration: none; padding: 12px 22px; border-radius: 8px; border: 0; cursor: pointer; }
.btn:hover { background: var(--blue-hover); }
.btn.ghost { background: transparent; border: 1px solid var(--line2); color: var(--text) !important; }
.btn.ghost:hover { background: var(--surface); }
.top .btn { padding: 8px 16px; font-size: 14px; }

/* hero */
.hero { padding: 56px 0 56px; background: linear-gradient(180deg, #0e1c3d 0%, var(--page) 100%); }
.herologo { width: clamp(110px, 14vw, 150px); height: auto; border-radius: 28px; margin-bottom: 22px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.hero p.lead { font-size: 20px; color: var(--muted); margin: 18px 0 26px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero small { display: block; margin-top: 12px; color: var(--muted); font-size: 13px; }

/* illustration of the app (sample data only) */
.mock { opacity: .96; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); overflow: hidden; }
.mock .bar { display: flex; gap: 6px; padding: 10px 14px; background: var(--surface-off); border-bottom: 1px solid var(--line); }
.mock .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line2); }
.mock .body { padding: 16px; }
.mock .cap { font-size: 11px; color: var(--muted); text-align: right; padding: 0 16px 12px; }
.week { display: grid; grid-template-columns: 74px repeat(5, 1fr); gap: 5px; font-size: 11px; }
.week .d { color: var(--muted); text-align: center; padding-bottom: 4px; }
.week .who { color: var(--muted); align-self: center; }
.week .cell { height: 26px; border-radius: 5px; background: var(--surface-off); }
.week .s { border-radius: 5px; font-size: 10px; color: #06122b; font-weight: 700; display: flex; align-items: center; padding: 0 6px; white-space: nowrap; overflow: hidden; }
.s.a { background: #4d9bff; } .s.b { background: #34d399; } .s.c { background: #a78bfa; } .s.d { background: #fbbf24; }
.budget { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.budget .row { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 6px; }
.track { height: 10px; border-radius: 6px; background: var(--surface-off); overflow: hidden; position: relative; }
.track .used { position: absolute; inset: 0 auto 0 0; width: 58%; background: var(--blue); }
.track .proj { position: absolute; inset: 0 auto 0 58%; width: 24%; background: repeating-linear-gradient(45deg, rgba(61, 123, 253, .5) 0 5px, rgba(61, 123, 253, .2) 5px 10px); }

/* sections */
section { padding: 64px 0; }
section.alt { background: var(--surface-off); border-block: 1px solid var(--line); }
.head { max-width: 640px; margin-bottom: 34px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.card .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--blue); color: #fff; margin-bottom: 14px; display: grid; place-items: center; font-weight: 800; }
.card p { color: var(--muted); margin: 0; }
.feat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feat ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }
.feat li { margin: 4px 0; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(77, 155, 255, .16); color: #9cc4ff; margin-left: 6px; vertical-align: middle; }

/* pricing */
.price { max-width: 520px; margin: 0 auto; text-align: center; background: var(--surface); border: 1px solid var(--blue); border-radius: 16px; padding: 34px 28px; box-shadow: 0 0 0 4px rgba(61, 123, 253, .12); }
.price .amt { font-size: 52px; font-weight: 800; line-height: 1.1; }
.price .amt span { font-size: 17px; font-weight: 400; color: var(--muted); }
.price ul { list-style: none; padding: 0; margin: 20px 0 24px; text-align: left; display: inline-block; }
.price li { margin: 7px 0; padding-left: 26px; position: relative; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--mint); font-weight: 800; }

/* steps + faq */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.steps .card::before { counter-increment: step; content: counter(step); display: block; font-size: 30px; font-weight: 800; color: var(--cyan); margin-bottom: 6px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--muted); }
.final { text-align: center; }
.final .cta { justify-content: center; margin-top: 18px; }

footer { border-top: 1px solid var(--line); padding: 30px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
footer a { color: var(--muted); }

@media (max-width: 860px) {
  .hero .wrap, .cards, .feat, .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  header.top .wrap { flex-wrap: wrap; height: auto; min-height: 62px; padding-top: 8px; padding-bottom: 8px; row-gap: 4px; }
  .top nav { gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
  .top nav a { font-size: 14px; }
  section { padding: 44px 0; }
}

/* pages */
.pagehead { padding: 48px 0 8px; }
.pagehead p { color: var(--muted); font-size: 19px; max-width: 40em; margin-top: 12px; }
.top nav a.on { color: var(--text); }
.band { text-align: center; max-width: 760px; margin: 0 auto; }
.band p { color: var(--muted); font-size: 18px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.note { font-size: 13px; color: var(--muted); }
.link { color: var(--cyan); text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; }

/* question form */
form.ask { display: grid; gap: 14px; }
form.ask label { font-size: 14px; font-weight: 600; display: grid; gap: 6px; }
form.ask input, form.ask select, form.ask textarea { font: inherit; color: var(--text); background: var(--surface-off); border: 1px solid var(--line2); border-radius: 8px; padding: 11px 12px; width: 100%; }
form.ask input:focus, form.ask select:focus, form.ask textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
form.ask textarea { min-height: 130px; resize: vertical; }
form.ask .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.msg { padding: 12px 14px; border-radius: 8px; font-size: 15px; }
.msg.ok { background: #123726; border: 1px solid #1f5a3a; color: #6bd39b; }
.msg.bad { background: #3a1c1c; border: 1px solid #6a2b2b; color: #f0a0a0; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }

/* rows used by the pricing page */
.row { display: flex; }
.price .amt strong { font-weight: 800; }
