/* Boost Up: one stylesheet, light enterprise theme. */
:root {
  --blue: #2f80ed;
  --blue-600: #1f6fdc;
  --blue-700: #1a5fbf;
  --blue-50: #f1f6fe;
  --blue-100: #e3eefd;
  --ink: #0f172a;
  --slate: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg-soft: #f8fafc;
  --white: #ffffff;
  --green: #12a150;
  --green-50: #e9f8ef;
  --amber: #b7791f;
  --amber-50: #fdf6e7;
  --red: #d64545;
  --red-50: #fdeeee;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 16px rgba(15, 23, 42, 0.06);
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font); color: var(--slate); background: var(--white); line-height: 1.6; font-size: 16px;
  -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-700); }
small, .muted { color: var(--muted); }
code { background: var(--bg-soft); padding: 0.1em 0.35em; border-radius: 4px; font-size: 0.9em; }
img { max-width: 100%; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 600; color: var(--blue); text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 12px; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* Buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent;
  background: var(--blue); color: var(--white); font: inherit; font-weight: 600; font-size: 0.95rem;
  padding: 11px 20px; border-radius: 10px; cursor: pointer; transition: background 0.15s, border-color 0.15s;
  white-space: nowrap; }
.btn:hover { background: var(--blue-600); color: var(--white); }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn.secondary { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn.secondary:hover { border-color: #cbd5e1; background: var(--bg-soft); }
.btn.ghost { background: transparent; color: var(--slate); }
.btn.ghost:hover { background: var(--bg-soft); }
.btn.danger { background: var(--white); color: var(--red); border-color: #f3c7c7; }
.btn.danger:hover { background: var(--red-50); }
.btn.sm { padding: 6px 12px; font-size: 0.85rem; border-radius: 8px; }
.btn.lg { padding: 15px 26px; font-size: 1.05rem; }

label { display: block; font-weight: 600; color: var(--ink); font-size: 0.9rem; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password], input[type=url], textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 1px solid var(--line);
  border-radius: 10px; padding: 11px 14px; transition: border-color 0.15s, box-shadow 0.15s; }
input:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-100); }
.field { margin-bottom: 18px; }
.field .hint { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }
.input-suffix { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.input-suffix input { border: 0; border-radius: 0; }
.input-suffix span { padding: 0 14px; color: var(--muted); background: var(--bg-soft); align-self: stretch;
  display: flex; align-items: center; border-left: 1px solid var(--line); font-size: 0.9rem; }

.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 20px; font-size: 0.95rem;
  background: var(--blue-50); color: var(--blue-700); border: 1px solid var(--blue-100); }
.alert.error { background: var(--red-50); color: var(--red); border-color: #f3c7c7; }

/* Public header and footer */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 1.1rem; }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--blue); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.95rem; font-weight: 800; }
.header-links { display: flex; align-items: center; gap: 8px; }
.header-links a.plain { color: var(--slate); font-weight: 500; padding: 8px 12px; }
.site-footer { border-top: 1px solid var(--line); padding: 48px 0; color: var(--muted); font-size: 0.9rem; }
.site-footer .container { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

/* Landing */
.hero { padding: 104px 0 88px; text-align: center; background:
  radial-gradient(ellipse 80% 60% at 50% 0%, var(--blue-50) 0%, rgba(255, 255, 255, 0) 70%); }
.hero h1 { max-width: 820px; margin: 0 auto 20px; }
.hero .lead { max-width: 640px; margin: 0 auto 40px; }
.hero-form { display: flex; gap: 10px; max-width: 640px; margin: 0 auto; background: var(--white);
  padding: 8px; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.hero-form input { border: 0; font-size: 1.05rem; }
.hero-form input:focus { box-shadow: none; }
.hero-note { margin-top: 16px; font-size: 0.9rem; color: var(--muted); }
.grid { display: grid; gap: 24px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.pillar, .card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.pillar .icon { width: 44px; height: 44px; border-radius: 10px; background: var(--blue-50); color: var(--blue);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.pillar ul, .check-list { list-style: none; padding: 0; margin: 16px 0 0; }
.pillar li, .check-list li { padding: 6px 0 6px 26px; position: relative; font-size: 0.95rem; }
.pillar li::before, .check-list li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px;
  height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.step-num { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--blue-100); background: var(--blue-50);
  color: var(--blue); font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.contains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contains .item { border: 1px solid var(--line); border-radius: 10px; padding: 18px; background: var(--white); }
.contains .item strong { display: block; color: var(--ink); margin-bottom: 4px; }
.contains .item span { font-size: 0.9rem; color: var(--muted); }
.price-card { display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-100); }
.price-card .price { font-size: 1.6rem; font-weight: 700; color: var(--ink); margin: 8px 0 4px; }
.price-card .check-list { flex: 1; margin-bottom: 24px; }

/* Auth */
.auth-wrap { min-height: calc(100vh - 68px); display: flex; align-items: center; justify-content: center;
  padding: 48px 24px; background: radial-gradient(ellipse 70% 50% at 50% 0%, var(--blue-50) 0%, #fff 70%); }
.auth-card { width: 100%; max-width: 440px; background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; padding: 40px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 1.6rem; margin-bottom: 6px; }
.auth-card .btn { width: 100%; margin-top: 8px; }
.auth-foot { text-align: center; margin-top: 20px; font-size: 0.9rem; color: var(--muted); }

/* Report and account pages */
.page { padding-top: 40px; padding-bottom: 64px; }
.page-title { font-size: 1.8rem; margin: 0; }
.container.narrow { max-width: 860px; }
.report { padding-top: 40px; padding-bottom: 80px; }
.report-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.report-head h1 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin: 4px 0; }
.report-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.report-nav a { padding: 8px 14px; border-radius: 8px; color: var(--slate); font-weight: 500; }
.report-nav a:hover { background: var(--blue-50); color: var(--blue); }
.report section { scroll-margin-top: 84px; }
.report section > h2 { margin: 24px 0 16px; }
.upsell { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--blue-50);
  border-color: var(--blue-100); }
.upsell p { margin: 0; }
.step-num.sm { width: 28px; height: 28px; font-size: 0.85rem; flex: none; margin: 0; }
select { font: inherit; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }

.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.card-head h3 { margin: 0; }
.stack > * + * { margin-top: 24px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.end { justify-content: flex-end; }
.spacer { flex: 1; }

.badge { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; font-size: 0.78rem;
  font-weight: 600; background: var(--bg-soft); color: var(--slate); border: 1px solid var(--line); white-space: nowrap; }
.badge.critical, .badge.high, .badge.failed, .badge.error, .badge.rejected { background: var(--red-50); color: var(--red); border-color: #f6d1d1; }
.badge.medium, .badge.queued, .badge.pending, .badge.provisioning, .badge.untested { background: var(--amber-50); color: var(--amber); border-color: #f4e2bd; }
.badge.low, .badge.info { background: var(--blue-50); color: var(--blue-700); border-color: var(--blue-100); }
.badge.done, .badge.ok, .badge.active, .badge.approved, .badge.running { background: var(--green-50); color: var(--green); border-color: #c9ecd6; }

.score { display: flex; align-items: baseline; gap: 6px; }
.score b { font-size: 2.4rem; color: var(--ink); line-height: 1; }
.score span { color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kpi { border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.kpi small { display: block; }
.kpi b { font-size: 1.4rem; color: var(--ink); }

.progress { height: 8px; background: var(--blue-50); border-radius: 999px; overflow: hidden; }
.progress > div { height: 100%; background: var(--blue); width: 0; transition: width 0.4s; }
.steps-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.steps-list li { font-size: 0.85rem; color: var(--muted); padding-left: 20px; position: relative; }
.steps-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--line); }
.steps-list li.done { color: var(--slate); }
.steps-list li.done::before { background: var(--blue); border-color: var(--blue); }
.steps-list li.current { color: var(--ink); font-weight: 600; }
.steps-list li.current::before { border-color: var(--blue); }

table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th { text-align: left; font-weight: 600; color: var(--muted); font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.04em; padding: 10px 12px; border-bottom: 1px solid var(--line); }
td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }

.finding { padding: 16px 0; border-bottom: 1px solid var(--line); }
.finding:last-child { border-bottom: 0; }
.finding .row { margin-bottom: 4px; }
.finding p { margin: 4px 0 0; font-size: 0.95rem; }
.finding .fix { color: var(--ink); }

.plan-step { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.plan-step:last-child { border-bottom: 0; }
.plan-step input[type=checkbox] { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--blue); flex: none; }
.plan-step.is-done h4 { text-decoration: line-through; color: var(--muted); }
.plan-step h4 { margin: 0 0 4px; font-size: 1rem; }
.plan-step p { margin: 0; font-size: 0.93rem; }

.ad-product { display: grid; grid-template-columns: 280px 1fr; gap: 28px; }
.ad-image { aspect-ratio: 1; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--muted); font-size: 0.9rem;
  text-align: center; padding: 0; }
.ad-image img { width: 100%; height: 100%; object-fit: cover; }
.ad-copy { border: 1px solid var(--line); border-radius: 10px; padding: 16px; margin-bottom: 12px; }
.ad-copy .hook { font-weight: 700; color: var(--ink); margin-bottom: 6px; }

.cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.cal .day { border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: 0.88rem; }
.cal .day b { color: var(--ink); display: block; margin: 4px 0; font-size: 0.92rem; line-height: 1.35; }
.cal .day .n { font-size: 0.75rem; color: var(--muted); font-weight: 600; text-transform: uppercase; }

.empty { text-align: center; padding: 48px 24px; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty h3 { margin-bottom: 8px; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; font-size: 0.95rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--ink); }
.outline-sections { margin: 12px 0 0; padding-left: 20px; }
.outline-sections li { margin-bottom: 8px; }
.outline-sections ul { margin: 4px 0; padding-left: 18px; color: var(--muted); font-size: 0.92rem; }
details summary { cursor: pointer; font-weight: 600; color: var(--ink); }

@media (max-width: 980px) {
  .grid.cols-3, .grid.cols-4, .contains, .kpis { grid-template-columns: repeat(2, 1fr); }
  .cal { grid-template-columns: repeat(3, 1fr); }
  .ad-product { grid-template-columns: 1fr; }
  .ad-image { max-width: 320px; }
  .steps-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .hero { padding: 72px 0 56px; }
  .hero-form { flex-direction: column; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4, .contains, .kpis { grid-template-columns: 1fr; }
  .cal { grid-template-columns: 1fr 1fr; }
  .upsell { flex-direction: column; align-items: flex-start; }
  .header-links a.plain { display: none; }
  .auth-card { padding: 28px; }
  .kv { grid-template-columns: 1fr; }
}
