:root {
  --graphite: #15242d;
  --graphite-soft: #20343f;
  --emerald: #0b7a68;
  --emerald-dark: #086052;
  --cobalt: #2e5bce;
  --gold: #c99a2e;
  --red: #c74a4a;
  --mist: #eef2f5;
  --line: #d7e0e6;
  --ink: #17242c;
  --muted: #60727f;
  --white: #fff;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--white); }
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(255,255,255,.18);
  background: rgba(21,36,45,.94);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border: 1px solid rgba(255,255,255,.12); border-radius: 8px; }
.brand span { display: grid; }
.brand strong { font-size: 21px; line-height: 1; letter-spacing: 0; }
.brand small { margin-top: 4px; color: #a7bbc7; font-size: 10px; letter-spacing: 1.4px; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav > a { color: #d9e4ea; font-size: 14px; font-weight: 650; text-decoration: none; }
.primary-nav > a:not(.button):hover { color: var(--white); }
.nav-toggle { display: none; min-height: 44px; padding: 0 12px; border: 1px solid #49606d; border-radius: 6px; background: transparent; color: var(--white); }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--emerald);
  border-radius: 6px;
  background: var(--emerald);
  color: var(--white);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.button:hover { border-color: var(--emerald-dark); background: var(--emerald-dark); transform: translateY(-1px); }
.button-small { min-height: 38px; padding: 0 16px; }
.button-light { border-color: var(--white); background: var(--white); color: var(--graphite); }
.button-light:hover { border-color: #dbe7ec; background: #dbe7ec; }

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--graphite);
}
.hero-media { position: absolute; inset: 0; background: url("assets/dashboard-desktop.png") center 80px / cover no-repeat; filter: saturate(.72); }
.hero-shade { position: absolute; inset: 0; background: rgba(13,27,35,.78); }
.hero-content { position: relative; width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 160px 0 68px; }
.eyebrow { margin: 0 0 14px; color: var(--emerald); font-size: 12px; font-weight: 850; letter-spacing: 1.4px; }
.hero .eyebrow { color: #7fe0cf; }
.hero h1 { max-width: 850px; margin: 0; font-size: clamp(48px, 8vw, 96px); line-height: .96; letter-spacing: 0; }
.hero-lead { max-width: 720px; margin: 26px 0 0; color: #d5e1e7; font-size: clamp(19px, 2.2vw, 27px); line-height: 1.45; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 34px; }
.text-link { color: var(--white); font-weight: 750; text-decoration: none; }
.text-link span { margin-left: 7px; color: #7fe0cf; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 210px)); gap: 28px; margin: 56px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(255,255,255,.25); list-style: none; }
.hero-facts li { display: grid; gap: 5px; }
.hero-facts strong { font-size: 15px; }
.hero-facts span { color: #adbec7; font-size: 13px; }

.product-band, .workflow-band, .plans-band { padding: 92px max(24px, calc((100vw - var(--max)) / 2)); }
.section-heading { max-width: 720px; }
.section-heading h2, .audience-copy h2, .closing-band h2 { margin: 0; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.06; letter-spacing: 0; }
.section-heading > p:last-child, .audience-copy > p:last-child { margin: 20px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.product-shot { margin: 46px 0 0; }
.product-shot figcaption { margin-top: 12px; color: var(--muted); font-size: 12px; text-align: right; }
.mobile-dashboard { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #f4f7f9; box-shadow: 0 24px 70px rgba(21,36,45,.14); }
.mobile-dashboard-bar { display: flex; min-height: 76px; align-items: center; justify-content: space-between; padding: 16px 24px; background: var(--graphite); color: var(--white); }
.mobile-dashboard-bar > div { display: flex; align-items: center; gap: 12px; }
.mobile-dashboard-bar img { border-radius: 6px; }
.mobile-dashboard-bar span:not(.live-status) { display: grid; gap: 3px; }
.mobile-dashboard-bar strong { font-size: 16px; }
.mobile-dashboard-bar small { color: #9eb3bd; font-size: 11px; }
.live-status { padding: 7px 11px; border-radius: 999px; background: rgba(127,224,207,.14); color: #8ef0df; font-size: 11px; font-weight: 800; }
.mobile-dashboard-heading { padding: 28px 30px 8px; }
.mobile-dashboard-heading p { margin: 0 0 7px; color: var(--emerald); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.mobile-dashboard-heading strong { font-size: 26px; }
.mobile-stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; padding: 20px 24px 16px; }
.mobile-stat-grid > div { min-height: 132px; padding: 20px; border: 1px solid #dce4e9; border-radius: 6px; background: var(--white); }
.mobile-stat-grid span { display: block; color: var(--muted); font-size: 12px; }
.mobile-stat-grid strong { display: block; margin-top: 16px; color: var(--graphite); font-size: 34px; line-height: 1; }
.mobile-stat-grid small { display: block; margin-top: 12px; color: #81919a; font-size: 10px; }
.mobile-stat-grid .positive { color: var(--emerald); }
.mobile-stat-grid .warning { color: #9b6b00; }
.dashboard-detail-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 12px; padding: 0 24px 24px; }
.mobile-status-panel { display: grid; grid-template-columns: 176px 1fr; gap: 28px; align-items: center; min-height: 260px; padding: 28px; border: 1px solid #dce4e9; border-radius: 6px; background: var(--white); }
.mobile-donut { display: grid; width: 168px; aspect-ratio: 1; place-items: center; border-radius: 50%; background: conic-gradient(var(--emerald) 0 69%, var(--gold) 69% 75%, var(--cobalt) 75% 92%, #e6edf1 92%); }
.mobile-donut::before { content: ""; grid-area: 1 / 1; width: 108px; aspect-ratio: 1; border-radius: 50%; background: var(--white); }
.mobile-donut span { z-index: 1; grid-area: 1 / 1; display: grid; text-align: center; }
.mobile-donut strong { font-size: 31px; line-height: 1; }
.mobile-donut small { margin-top: 5px; color: var(--muted); font-size: 10px; }
.mobile-status-copy > strong { font-size: 16px; }
.mobile-status-copy ul { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.mobile-status-copy li { display: grid; grid-template-columns: 8px 1fr auto; gap: 9px; align-items: center; color: var(--muted); font-size: 12px; }
.mobile-status-copy b { color: var(--graphite); }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-green { background: var(--emerald); }
.dot-gold { background: var(--gold); }
.dot-blue { background: var(--cobalt); }
.unit-panel { min-height: 260px; padding: 28px; border: 1px solid #dce4e9; border-radius: 6px; background: var(--white); }
.unit-panel > div { display: flex; align-items: center; justify-content: space-between; }
.unit-panel > div strong { font-size: 16px; }
.unit-panel > div span { color: var(--muted); font-size: 10px; }
.unit-panel ul { display: grid; gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.unit-panel li { display: grid; grid-template-columns: 92px 1fr 36px; gap: 12px; align-items: center; color: var(--muted); font-size: 11px; }
.unit-panel li b { display: block; height: 7px; overflow: hidden; border-radius: 999px; background: #e7edf1; }
.unit-panel li i { display: block; height: 100%; border-radius: inherit; background: var(--emerald); }
.unit-panel li em { color: var(--graphite); font-style: normal; font-weight: 800; text-align: right; }

.solutions-band { padding: 92px max(24px, calc((100vw - var(--max)) / 2)); background: var(--graphite); color: var(--white); }
.section-heading-light .eyebrow { color: #7fe0cf; }
.section-heading-light > p:last-child { color: #b8c8d0; }
.solution-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 50px; border-top: 1px solid #3a4e59; border-left: 1px solid #3a4e59; }
.solution-grid article { min-height: 230px; padding: 28px; border-right: 1px solid #3a4e59; border-bottom: 1px solid #3a4e59; }
.feature-number { color: #7fe0cf; font-size: 12px; font-weight: 850; }
.solution-grid h3 { margin: 40px 0 12px; font-size: 20px; }
.solution-grid p { margin: 0; color: #b8c8d0; font-size: 15px; line-height: 1.65; }

.workflow { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; margin: 50px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.workflow li { padding: 26px 26px 0 0; }
.workflow li > span { display: inline-grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--emerald); color: var(--white); font-size: 13px; font-weight: 800; }
.workflow strong { display: block; margin-top: 26px; font-size: 17px; }
.workflow p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.audience-band { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; padding: 82px max(24px, calc((100vw - var(--max)) / 2)); background: var(--mist); }
.audience-list { display: grid; grid-template-columns: 1fr 1fr; align-content: center; border-top: 1px solid #cbd6dc; }
.audience-list span { padding: 20px 10px 20px 0; border-bottom: 1px solid #cbd6dc; color: var(--graphite); font-weight: 720; }

.plan-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-top: 46px; }
.plan-grid article { display: grid; min-height: 170px; align-content: start; padding: 24px; border: 1px solid var(--line); border-radius: 8px; }
.plan-grid p { margin: 0 0 24px; color: var(--emerald); font-size: 13px; font-weight: 850; }
.plan-grid strong { font-size: 19px; }
.plan-grid span { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.plan-grid .plan-featured { border-top: 4px solid var(--gold); padding-top: 21px; }
.plans-action { display: flex; align-items: center; gap: 24px; margin-top: 28px; }
.plans-action p { color: var(--muted); font-size: 14px; }

.closing-band { padding: 88px max(24px, calc((100vw - var(--max)) / 2)); background: var(--emerald); color: var(--white); }
.closing-band .eyebrow { color: #c7fff4; }
.closing-band > p:not(.eyebrow) { max-width: 620px; margin: 20px 0 30px; color: #d8fff8; font-size: 18px; line-height: 1.6; }

.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; padding: 44px max(24px, calc((100vw - var(--max)) / 2)); background: #0e1d25; color: var(--white); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand div { display: grid; gap: 4px; }
.footer-brand span { color: #8fa6b2; font-size: 12px; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; }
.site-footer a { color: #c3d1d8; font-size: 13px; text-decoration: none; }
.site-footer > p { grid-column: 1 / -1; margin: 0; padding-top: 24px; border-top: 1px solid #2b414c; color: #718b98; font-size: 12px; }

.legal-main { min-height: calc(100svh - 220px); padding: 130px max(24px, calc((100vw - 900px) / 2)) 80px; background: var(--mist); }
.legal-article { padding: clamp(26px,5vw,58px); border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.legal-article h1 { margin: 0; color: var(--graphite); font-size: clamp(34px,5vw,54px); }
.legal-article h2 { margin: 38px 0 12px; color: var(--graphite); font-size: 21px; }
.legal-article p, .legal-article li { color: #445864; font-size: 15px; line-height: 1.75; }
.legal-article ul, .legal-article ol { padding-left: 22px; }
.updated { margin: 12px 0 30px; color: var(--emerald) !important; font-size: 13px !important; font-weight: 750; }
.notice { margin-top: 30px; padding: 18px; border-left: 3px solid var(--gold); background: #fff9e9; }
.contact-panel { margin-top: 30px; padding: 22px; border: 1px solid #b9d7d1; border-radius: 6px; background: #f1fbf8; }
.contact-panel a { color: var(--emerald-dark); font-weight: 750; }

@media (max-width: 860px) {
  .site-header { padding-inline: 18px; }
  .nav-toggle { display: block; }
  .primary-nav { position: fixed; inset: 72px 0 auto; display: none; align-items: stretch; gap: 0; padding: 12px 18px 22px; border-bottom: 1px solid #344b57; background: var(--graphite); }
  .primary-nav.is-open { display: grid; }
  .primary-nav > a { min-height: 48px; display: flex; align-items: center; padding-inline: 8px; border-bottom: 1px solid #2d424d; }
  .primary-nav .button { justify-content: center; margin-top: 12px; border-bottom: 0; }
  .primary-nav.is-legal { position: static; display: flex; padding: 0; border: 0; background: transparent; }
  .primary-nav.is-legal a { min-height: 44px; padding-inline: 8px; border: 0; }
  .hero { min-height: 820px; }
  .hero-content { padding-top: 140px; }
  .hero-facts { grid-template-columns: 1fr; gap: 16px; }
  .solution-grid { grid-template-columns: 1fr 1fr; }
  .workflow { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .audience-band { grid-template-columns: 1fr; gap: 40px; }
  .plan-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .primary-nav.is-legal a:not(:first-child) { display: none; }
}

@media (max-width: 560px) {
  .hero { min-height: 760px; }
  .hero-media { background-position: 28% 72px; }
  .hero-content { width: calc(100% - 36px); padding-bottom: 42px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .text-link { padding: 8px 0; }
  .hero-facts { margin-top: 34px; }
  .product-band, .solutions-band, .workflow-band, .plans-band { padding-block: 64px; }
  .product-shot { margin-top: 32px; }
  .product-shot > img { display: none; }
  .product-shot figcaption { margin-top: 14px; text-align: left; line-height: 1.5; }
  .mobile-dashboard {
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f4f7f9;
    box-shadow: 0 20px 48px rgba(21,36,45,.13);
  }
  .mobile-dashboard-bar {
    display: flex;
    min-height: 66px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: var(--graphite);
    color: var(--white);
  }
  .mobile-dashboard-bar > div { display: flex; align-items: center; gap: 10px; }
  .mobile-dashboard-bar img { border-radius: 6px; }
  .mobile-dashboard-bar span:not(.live-status) { display: grid; gap: 3px; }
  .mobile-dashboard-bar strong { font-size: 14px; }
  .mobile-dashboard-bar small { color: #9eb3bd; font-size: 10px; }
  .live-status { padding: 6px 9px; border-radius: 999px; background: rgba(127,224,207,.14); color: #8ef0df; font-size: 10px; font-weight: 800; }
  .mobile-dashboard-heading { padding: 18px 16px 4px; }
  .mobile-dashboard-heading p { margin: 0 0 5px; color: var(--emerald); font-size: 10px; font-weight: 850; text-transform: uppercase; }
  .mobile-dashboard-heading strong { font-size: 20px; }
  .mobile-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 12px 10px; }
  .mobile-stat-grid > div { min-height: 112px; padding: 14px; border: 1px solid #dce4e9; border-radius: 6px; background: var(--white); }
  .mobile-stat-grid span { display: block; color: var(--muted); font-size: 10px; }
  .mobile-stat-grid strong { display: block; margin-top: 12px; color: var(--graphite); font-size: 27px; line-height: 1; }
  .mobile-stat-grid small { display: block; margin-top: 9px; color: #81919a; font-size: 9px; }
  .mobile-stat-grid .positive { color: var(--emerald); }
  .mobile-stat-grid .warning { color: #9b6b00; }
  .dashboard-detail-grid { display: block; padding: 0; }
  .mobile-status-panel { display: grid; grid-template-columns: 118px 1fr; gap: 18px; align-items: center; margin: 0 12px 12px; padding: 18px 14px; border: 1px solid #dce4e9; border-radius: 6px; background: var(--white); }
  .mobile-donut { display: grid; width: 110px; aspect-ratio: 1; place-items: center; border-radius: 50%; background: conic-gradient(var(--emerald) 0 69%, var(--gold) 69% 75%, var(--cobalt) 75% 92%, #e6edf1 92%); }
  .mobile-donut::before { content: ""; grid-area: 1 / 1; width: 72px; aspect-ratio: 1; border-radius: 50%; background: var(--white); }
  .mobile-donut span { z-index: 1; grid-area: 1 / 1; display: grid; text-align: center; }
  .mobile-donut strong { font-size: 23px; line-height: 1; }
  .mobile-donut small { margin-top: 4px; color: var(--muted); font-size: 9px; }
  .mobile-status-copy > strong { font-size: 13px; }
  .mobile-status-copy ul { display: grid; gap: 9px; margin: 13px 0 0; padding: 0; list-style: none; }
  .mobile-status-copy li { display: grid; grid-template-columns: 7px 1fr auto; gap: 7px; align-items: center; color: var(--muted); font-size: 10px; }
  .mobile-status-copy b { color: var(--graphite); }
  .dot { width: 7px; height: 7px; border-radius: 50%; }
  .dot-green { background: var(--emerald); }
  .dot-gold { background: var(--gold); }
  .dot-blue { background: var(--cobalt); }
  .unit-panel { display: none; }
  .solution-grid, .workflow, .plan-grid, .audience-list { grid-template-columns: 1fr; }
  .solution-grid article { min-height: 190px; }
  .workflow li { display: grid; grid-template-columns: 42px 1fr; padding-right: 0; }
  .workflow strong { margin-top: 0; }
  .plans-action { align-items: stretch; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
