/* Layout: software-site hero with the real Excel dashboard framed as the product; navy bands alternate with light-blue sheets; figures in tabular mono */
:root {
  --navy: #0A2E6E;
  --navy-900: #061A42;
  --blue: #1E6BFF;
  --blue-600: #1557D9;
  --sky: #EAF2FE;
  --bg: #F6F9FE;
  --card: #FFFFFF;
  --ink: #0E1B33;
  --muted: #56688A;
  --line: #DCE6F4;
  --coral: #E8615C;
  --green: #1E9E5A;
  --amber: #B26A00;
  --on-navy: #FFFFFF;
  --on-navy-muted: #B9CCF0;
  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Figtree", "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(10, 46, 110, .06), 0 12px 32px -12px rgba(10, 46, 110, .22);
  --shadow-lg: 0 2px 6px rgba(10, 46, 110, .08), 0 40px 80px -30px rgba(6, 26, 66, .45);
  --wrap: 1180px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.band { padding-block: clamp(64px, 9vw, 112px); }
.band--white { background: var(--card); }
.band--navy { background: var(--navy); color: var(--on-navy); }
.band--sky { background: var(--sky); }

.eyebrow {
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue-600);
}
.band--navy .eyebrow { color: #8FB6FF; }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; font-stretch: 105%; }
.section-head p { color: var(--muted); font-size: 18px; max-width: 62ch; }
.band--navy .section-head p { color: var(--on-navy-muted); }
.center { margin-inline: auto; text-align: center; justify-items: center; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 800; font-size: 15.5px; letter-spacing: .04em;
  text-transform: uppercase; text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(30, 107, 255, .8); }
.btn--primary:hover { background: var(--blue-600); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-600); }
.band--navy .btn--ghost, .hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.band--navy .btn--ghost:hover, .hero .btn--ghost:hover { border-color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* top bar */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--navy-900); border-bottom: 1px solid rgba(255, 255, 255, .08); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 31; background: var(--navy-900); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; min-width: 0; }
.brand img { height: 44px; width: auto; }
.brand-text { display: grid; line-height: 1.1; min-width: 0; }
.brand-text strong { font-family: var(--font-display); font-size: 16px; font-weight: 800; letter-spacing: .02em; }
.brand-text span { font-size: 12px; color: var(--on-navy-muted); }
.topnav { display: flex; align-items: center; gap: 26px; }
.topnav a { color: var(--on-navy-muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.topnav a:hover { color: #fff; }
.topnav .btn { min-height: 42px; padding: 9px 18px; font-size: 13px; }
@media (max-width: 900px) { .topnav a:not(.btn) { display: none; } }
@media (max-width: 520px) { .brand-text { display: none; } .topnav .btn { padding: 9px 14px; font-size: 12px; } }

/* hero */
.hero { background: radial-gradient(1200px 520px at 78% -10%, #1C4DA8 0%, transparent 60%), var(--navy); color: #fff; overflow: hidden; }
.hero .wrap { padding-block: clamp(48px, 7vw, 88px) 0; display: grid; gap: clamp(36px, 5vw, 56px); }
.hero-copy { display: grid; gap: 22px; max-width: 860px; }
.hero h1 { font-size: clamp(36px, 6vw, 68px); font-weight: 800; font-stretch: 108%; }
.hero h1 em { font-style: normal; color: #8FB6FF; }
.hero-sub { font-size: clamp(17px, 2vw, 20px); color: var(--on-navy-muted); max-width: 60ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--on-navy-muted); font-size: 14.5px; }
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 16px; height: 16px; color: #7CF0A9; flex: none; }

.hero-stage { position: relative; margin-top: 4px; }
.window {
  background: #fff; border-radius: 16px 16px 0 0; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .18); overflow: hidden;
}
.window-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--navy-900); color: #fff; font-size: 12.5px; font-family: var(--font-mono); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .5); display: inline-block; }
.window-bar span { margin-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.float-card {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); overflow: hidden; width: min(30%, 300px);
}
.float-card--meta { right: -12px; top: 18%; }
.float-card figcaption { font-size: 12px; color: var(--muted); padding: 6px 10px; border-top: 1px solid var(--line); font-family: var(--font-mono); }
@media (max-width: 760px) { .float-card { display: none; } }

/* problem grid */
.grid-3 { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid-3 { grid-template-columns: minmax(0, 1fr); } }
.pain { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; }
.pain h3 { font-size: 19px; font-weight: 700; font-family: var(--font-body); letter-spacing: 0; }
.pain p { color: var(--muted); font-size: 16px; }
.pain .ico { width: 42px; height: 42px; border-radius: 12px; background: #FDECEC; color: var(--coral); display: grid; place-items: center; }
.pain .ico svg { width: 22px; height: 22px; }

/* features */
.features { display: grid; gap: clamp(56px, 8vw, 96px); }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.feature:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature:nth-child(even) .feature-copy { order: 2; }
@media (max-width: 860px) { .feature, .feature:nth-child(even) { grid-template-columns: minmax(0, 1fr); } .feature:nth-child(even) .feature-copy { order: 0; } }
.feature-copy { display: grid; gap: 14px; min-width: 0; }
.feature-tag { font-family: var(--font-mono); font-size: 12.5px; color: var(--blue-600); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.feature-copy h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.feature-copy p { color: var(--muted); }
.checks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 9px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 16px; }
.checks li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 6px; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%231557D9' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.shot { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin: 0; min-width: 0; }
.shot img { width: 100%; }
.shot figcaption { padding: 10px 14px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.shot-stack { display: grid; gap: 14px; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--sky); color: var(--navy); }
.chip--late { background: #FDE2E2; color: #C62828; }
.chip--soon { background: #FFF1D6; color: var(--amber); }
.chip--ok { background: #E2F6EA; color: #1E8E4E; }

/* demo gallery */
.demo-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: thin; }
.demo-tab {
  flex: none; border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: var(--on-navy-muted);
  border-radius: 999px; padding: 10px 18px; font: 600 15px var(--font-body); cursor: pointer; white-space: nowrap;
}
.demo-tab[aria-selected="true"] { background: #fff; color: var(--navy); border-color: #fff; }
.demo-panel { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
@media (max-width: 980px) { .demo-panel { grid-template-columns: minmax(0, 1fr); } }
.demo-frame { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); min-width: 0; }
.demo-frame img { width: 100%; }
.pin {
  position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%;
  background: var(--blue); color: #fff; font: 700 14px var(--font-mono); display: grid; place-items: center;
  box-shadow: 0 0 0 5px rgba(30, 107, 255, .28); border: 2px solid #fff; cursor: pointer; padding: 0;
}
.pin.is-active { background: var(--coral); box-shadow: 0 0 0 6px rgba(232, 97, 92, .3); }
@media (max-width: 560px) { .pin { width: 22px; height: 22px; font-size: 11px; box-shadow: 0 0 0 3px rgba(30, 107, 255, .28); } }
.demo-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: none; }
.demo-legend li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); cursor: pointer; }
.demo-legend li.is-active { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .35); }
.demo-legend b { width: 26px; height: 26px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; font: 700 13px var(--font-mono); }
.demo-legend strong { display: block; font-size: 15.5px; }
.demo-legend span { color: var(--on-navy-muted); font-size: 14px; line-height: 1.45; }
.demo-note { margin-top: 18px; color: var(--on-navy-muted); font-size: 14px; }

/* benefits */
.benefits { display: grid; gap: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (max-width: 860px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .benefits { grid-template-columns: minmax(0, 1fr); } }
.benefit { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; background: var(--card); }
.benefit .ico { width: 40px; height: 40px; color: var(--blue-600); }
.benefit h3 { font-family: var(--font-body); font-size: 19px; font-weight: 700; letter-spacing: 0; }
.benefit p { color: var(--muted); font-size: 16px; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step { background: var(--card); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; position: relative; }
.step-num { font-family: var(--font-display); font-size: 56px; font-weight: 800; line-height: 1; color: var(--sky); -webkit-text-stroke: 2px var(--blue); }
.step h3 { font-size: 22px; font-weight: 800; }
.step p { color: var(--muted); font-size: 16px; }

/* offer */
.offer { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .offer { grid-template-columns: minmax(0, 1fr); } }
.offer-card { background: var(--card); color: var(--ink); border-radius: 24px; padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-lg); display: grid; gap: 20px; position: relative; overflow: hidden; }
.offer-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--blue), #5FA0FF); }
.offer-name { font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: .02em; }
.offer-by { font-size: 14px; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price strong { font-family: var(--font-display); font-size: clamp(40px, 6vw, 56px); font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); font-size: 14px; }
.offer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.offer-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15.5px; }
.offer-list li::before { content: ""; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: #E2F6EA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%231E8E4E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.offer-terms { display: grid; gap: 8px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--muted); }
.offer-terms b { color: var(--ink); }
.todo { background: #FFF6D8; color: #7A5200; border-radius: 6px; padding: 1px 6px; font-family: var(--font-mono); font-size: .86em; }
.offer .btn--primary { width: 100%; }
.checkout-msg { font-size: 14px; color: #C62828; }

/* faq */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 17.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 600 24px var(--font-mono); color: var(--blue-600); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 22px 22px; color: var(--muted); display: grid; gap: 10px; }

/* final cta */
.final { text-align: center; }
.final .wrap { display: grid; gap: 22px; justify-items: center; }
.final h2 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; font-stretch: 105%; max-width: 20ch; }
.final p { color: var(--on-navy-muted); max-width: 56ch; }

/* footer */
.footer { background: var(--navy-900); color: var(--on-navy-muted); font-size: 14px; }
.footer .wrap { padding-block: 40px calc(40px + 70px); display: grid; gap: 18px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.footer a { color: #fff; }
.footer small { display: block; line-height: 1.5; }
@media (min-width: 861px) { .footer .wrap { padding-block: 40px; } }

/* sticky mobile cta */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(6, 26, 66, .96);
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  display: none; box-shadow: 0 -8px 24px rgba(6, 26, 66, .3);
}
.mobile-cta .btn { width: 100%; min-height: 50px; }
@media (max-width: 860px) { .mobile-cta { display: block; } }
.mobile-cta.is-hidden { transform: translateY(110%); }
.mobile-cta { transition: transform .25s ease; }

/* fixes */
[hidden] { display: none !important; }
.hero .wrap { grid-template-columns: minmax(0, 1fr); }
.hero-copy, .hero-stage, .section-head, .feature-copy { min-width: 0; }
.btn { white-space: normal; }
.eyebrow { overflow-wrap: anywhere; }
.float-card--meta { top: 30%; }
