/* ProOps website. One light look: white page, navy text, gold only on action buttons and the wordmark dot. */
:root {
  color-scheme: light;
  --paper: #FFFFFF;
  --band: #F4F6F8;
  --card: #FFFFFF;
  --ink: #0E1B2A;
  --navy: #002040;
  --mute: #566474;
  --line: #DCE2E9;
  --gold: #C89B3C;
  --ok: #17855C;
  --alarm: #D33A42;
  --night: #001428;
  --sans: Inter, "Segoe UI", system-ui, sans-serif;
  --mark: "Playfair Display", Georgia, serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-text-size-adjust: 100%; }
img, video { max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
a { color: inherit; }
p { margin: 0 0 1em; }
.mark { font-family: var(--mark); font-weight: 600; letter-spacing: -0.01em; text-decoration: none; }
.mark i { font-style: normal; color: var(--gold); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px var(--sans); padding: 13px 22px; border-radius: 6px; text-decoration: none; border: 0; cursor: pointer; min-height: 46px; }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-line { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn-line-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.7); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 14px; z-index: 50; border-radius: 4px; }
.skip:focus { left: 8px; }

/* header */
header.site { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--line); }
header.site .bar { display: flex; align-items: center; gap: 24px; min-height: 64px; }
header.site .mark { color: var(--navy); font-size: 27px; margin-right: auto; }
header.site .links { display: flex; gap: 26px; font-size: 15px; font-weight: 500; }
header.site .links a { text-decoration: none; color: var(--navy); padding: 6px 0; border-bottom: 2px solid transparent; }
header.site .links a:hover, header.site .links a[aria-current] { border-bottom-color: var(--navy); }
header.site .btn { padding: 10px 18px; min-height: 42px; }
details.menu { display: none; }
@media (max-width: 960px) {
  header.site .links { display: none; }
  header.site .bar { gap: 12px; }
  details.menu { display: block; position: static; }
  details.menu summary { list-style: none; cursor: pointer; font: 600 15px var(--sans); color: var(--navy); padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 6px; }
  details.menu summary::-webkit-details-marker { display: none; }
  details.menu nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: flex; flex-direction: column; }
  details.menu nav a { padding: 12px 0; text-decoration: none; font-weight: 500; color: var(--navy); border-top: 1px solid var(--line); }
  details.menu nav a:first-child { border-top: 0; }
}
@media (max-width: 420px) { header.site .mark { font-size: 24px; } header.site .btn { padding: 9px 13px; font-size: 14px; } }

/* type */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); margin: 0 0 12px; }
h1 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 18px; color: var(--navy); text-wrap: balance; }
h2 { font-size: clamp(25px, 3vw, 36px); line-height: 1.18; letter-spacing: -0.015em; margin: 0 0 14px; color: var(--navy); text-wrap: balance; }
h3 { font-size: 19px; line-height: 1.3; margin: 0 0 8px; color: var(--navy); }
.lede { color: var(--mute); font-size: 19px; max-width: 56ch; }
.small { font-size: 13px; color: var(--mute); }
section.block { padding-block: 84px; }
section.band { background: var(--band); }
@media (max-width: 760px) { section.block { padding-block: 56px; } }

/* hero */
.hero { padding-block: 56px 0; }
.hero .intro { max-width: 760px; }
.hero .intro p.lede { margin-bottom: 26px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.film { position: relative; margin-top: 44px; background: #000; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 7; }
.film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.film-note { margin: 10px 0 0; }
@media (max-width: 760px) { .hero { padding-top: 36px; } .film { aspect-ratio: 16 / 10; margin-top: 30px; } }

/* modules list */
.covers { padding-block: 64px 8px; }
.covers h2 { font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.module-row { display: grid; grid-template-columns: 56px minmax(0, 340px) minmax(0, 1fr) auto; gap: 8px 28px; align-items: baseline; padding: 24px 0; border-top: 1px solid var(--line); text-decoration: none; }
.module-row:last-child { border-bottom: 1px solid var(--line); }
.module-row .n { color: var(--mute); font-variant-numeric: tabular-nums; font-size: 15px; }
.module-row .t { font-size: 22px; font-weight: 600; color: var(--navy); }
.module-row .d { color: var(--mute); }
.module-row .go { font-weight: 600; color: var(--navy); white-space: nowrap; }
.module-row:hover .t, .module-row:hover .go { text-decoration: underline; }
@media (max-width: 760px) { .module-row { grid-template-columns: 1fr; gap: 4px; } }

/* module sections on the home page */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.split.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split.flip .copy { order: 2; }
@media (max-width: 900px) { .split, .split.flip { grid-template-columns: 1fr; gap: 28px; } .split.flip .copy { order: 0; } }
.copy h2 { max-width: 18ch; }
.facts { margin: 22px 0 26px; padding: 0; }
.facts div { padding: 14px 0; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; color: var(--navy); }
.facts dd { margin: 2px 0 0; color: var(--mute); font-size: 16px; }
.vid { position: relative; background: #000; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; }
.vid video, .vid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) 168px; gap: 16px; align-items: start; }
.stack { display: grid; gap: 14px; }
.stack figure { max-width: 70%; justify-self: end; }
@media (max-width: 560px) { .pair { grid-template-columns: 1fr; } .pair figure.phone { max-width: 190px; } .stack figure { max-width: 100%; justify-self: stretch; } }
figure { margin: 0; }
figure img { display: block; width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--line); }
figure.photo img { border: 0; border-radius: 8px; }
figcaption { font-size: 13px; color: var(--mute); margin-top: 7px; }


/* the delivery player */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.step { appearance: none; border: 0; background: transparent; text-align: left; cursor: pointer; padding: 10px 2px 0; border-top: 3px solid var(--line); color: var(--mute); font: 500 14px var(--sans); min-width: 0; }
.step b { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); margin-bottom: 2px; font-variant-numeric: tabular-nums; }
.step.done { border-top-color: var(--navy); color: var(--ink); }
.step.now { border-top-color: var(--gold); color: var(--ink); }
.step.now b { color: var(--gold); }
@media (max-width: 640px) { .step span { display: none; } }

.player { position: relative; }
.stage { position: relative; aspect-ratio: 16 / 9; max-width: 100%; background: #000; border-radius: 10px; overflow: hidden; }
.stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.stage .start { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,20,40,0.35); border: 0; cursor: pointer; z-index: 4; color: #fff; font: 600 16px var(--sans); }
.stage .start span { display: inline-flex; align-items: center; gap: 12px; background: rgba(0,20,40,0.78); padding: 14px 22px; border-radius: 40px; }
.stage .start span::before { content: ""; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.hot { position: absolute; z-index: 5; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; border: 3px solid var(--gold); background: rgba(200,155,60,0.22); cursor: pointer; padding: 0; }
.hot::before, .hot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--gold); animation: ring 1.8s ease-out infinite; }
.hot::after { animation-delay: 0.9s; }
@keyframes ring { from { transform: scale(1); opacity: 0.9; } to { transform: scale(2.3); opacity: 0; } }
.hint { position: absolute; z-index: 5; transform: translate(-50%, 14px); white-space: nowrap; color: #fff; background: rgba(0,20,40,0.86); font-size: 14px; font-weight: 500; padding: 7px 12px; border-radius: 5px; pointer-events: none; }
.caption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-top: 16px; }
.caption p { margin: 0; font-size: 17px; max-width: 60ch; min-width: 0; }
.caption p strong { font-weight: 600; }
.caption .ctrl { display: flex; gap: 10px; flex-wrap: wrap; }
.ghost { appearance: none; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: 500 14px var(--sans); padding: 9px 14px; border-radius: 6px; cursor: pointer; }

/* windows that open over the stage */
.win { position: absolute; z-index: 8; top: 6%; width: min(420px, 44%); max-height: 88%; overflow: auto; background: var(--card); color: var(--ink); border-radius: 14px; padding: 20px 22px 18px; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,32,64,0.08); animation: pop 0.45s cubic-bezier(0.2, 0.9, 0.25, 1) both; }
.win.right { right: 3%; } .win.left { left: 3%; }
.win.wide { width: min(620px, 62%); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.96); } to { opacity: 1; transform: none; } }
.win .x { position: absolute; right: 8px; top: 6px; background: none; border: 0; font-size: 24px; line-height: 1; color: var(--mute); cursor: pointer; padding: 4px 8px; }
.win h3 { margin: 0 30px 4px 0; font-size: 17px; color: var(--navy); }
.win .src { font-size: 13px; color: var(--mute); margin: 0 0 12px; }
.win .big { font-size: 58px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; color: var(--navy); font-variant-numeric: tabular-nums; }
.win .big small { font-size: 0.4em; color: var(--mute); margin-left: 4px; font-weight: 400; }
.state { display: inline-block; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 20px; margin: 6px 0 10px; }
.state.ok { background: #E3F3EC; color: var(--ok); }
.state.bad { background: #FBE6E7; color: var(--alarm); }
.rows { margin: 8px 0 4px; }
.rows div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; padding: 7px 0; border-top: 1px solid var(--line); }
.rows div span { color: var(--mute); }
.rows div b { font-weight: 600; text-align: right; }
.win img { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); }
.win .row-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.win .note { font-size: 12px; color: var(--mute); margin-top: 10px; }
.win svg.spark { display: block; width: 100%; height: 64px; margin: 8px 0 4px; }
.phone-note { background: var(--night); color: #fff; border-radius: 12px; padding: 14px 16px; }
.phone-note .app { font-size: 12px; color: #9FB0C4; letter-spacing: 0.06em; text-transform: uppercase; display: flex; justify-content: space-between; }
.phone-note .t { color: #FF7B80; font-weight: 600; margin: 6px 0 2px; }
.phone-note .d { font-size: 14px; color: #DDE6EF; }
.phone-note .b { display: flex; gap: 8px; margin-top: 12px; }
.phone-note .b button { flex: 1; border: 0; border-radius: 8px; padding: 11px 0; font: 600 14px var(--sans); cursor: pointer; }
.phone-note .b .ack { background: var(--gold); color: var(--night); }
.phone-note .b .open { background: rgba(255,255,255,0.14); color: #fff; }
.acked { margin-top: 12px; font-size: 14px; }
.acked b { color: var(--ok); }

@media (max-width: 760px) {
  .win, .win.wide { position: static; width: auto; max-height: none; margin-top: 12px; box-shadow: 0 0 0 1px var(--line); }
  .win .big { font-size: 46px; }
}


/* sectors */
.sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin-top: 28px; }
.sectors > div { border-top: 2px solid var(--navy); padding-top: 14px; }
.sectors h3 { margin-bottom: 6px; }
.sectors p { color: var(--mute); font-size: 16px; }
@media (max-width: 760px) { .sectors { grid-template-columns: 1fr; } .sectors > div { margin-bottom: 18px; } }

/* faq */
.faq { max-width: 820px; margin-top: 24px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 28px 18px 0; font-weight: 600; color: var(--navy); font-size: 18px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; font-weight: 400; color: var(--mute); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--mute); max-width: 64ch; margin: 0 0 20px; }

/* demo band */
.demo { background: var(--navy); color: #fff; }
.demo .wrap { padding-block: 72px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.demo h2 { color: #fff; max-width: 16ch; }
.demo p { color: #C9D6E3; max-width: 44ch; }
.demo .tag { margin-top: 28px; color: #fff; font-family: var(--mark); font-size: 22px; }
@media (max-width: 900px) { .demo .wrap { grid-template-columns: 1fr; gap: 32px; padding-block: 52px; } }
form.lead { display: grid; gap: 16px; }
form.lead .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { form.lead .two { grid-template-columns: 1fr; } }
form.lead label { display: block; font-size: 14px; font-weight: 500; color: #DCE6F0; margin-bottom: 6px; }
form.lead input, form.lead select, form.lead textarea { width: 100%; font: 400 16px var(--sans); color: var(--ink); background: #fff; border: 1.5px solid #fff; border-radius: 6px; padding: 12px 13px; min-height: 46px; }
form.lead textarea { min-height: 90px; resize: vertical; }
form.lead .btn { justify-self: start; }
.thanks { background: #fff; color: var(--ink); border-radius: 8px; padding: 26px; }
.thanks h3 { font-size: 22px; }
.thanks p { color: var(--mute); margin: 0; }

/* footer */
footer.site { background: var(--paper); border-top: 1px solid var(--line); font-size: 14px; color: var(--mute); }
footer.site .wrap { padding-block: 36px 40px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
footer.site .mark { color: var(--navy); font-size: 26px; }
footer.site h4 { margin: 0 0 8px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin-bottom: 6px; }
footer.site a { color: var(--navy); }
footer.site .end { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
@media (max-width: 760px) { footer.site .wrap { grid-template-columns: 1fr; } }

/* module pages */
.page-hero { padding-block: 56px 0; }
.page-hero .intro { max-width: 760px; }
.problem { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; }
.problem p { font-size: 20px; line-height: 1.55; max-width: 60ch; }
@media (max-width: 900px) { .problem { grid-template-columns: 1fr; gap: 12px; } .problem p { font-size: 18px; } }
.how { margin-top: 36px; }
.how-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; padding: 40px 0; border-top: 1px solid var(--line); align-items: start; }
.how-row .no { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; color: var(--mute); text-transform: uppercase; margin-bottom: 6px; }
.how-row h3 { font-size: 24px; }
.how-row p { color: var(--mute); max-width: 40ch; }
.how-row .media { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.how-row .media.one { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
.how-row .media .phone { max-width: 230px; }
@media (max-width: 900px) { .how-row { grid-template-columns: 1fr; gap: 18px; padding: 30px 0; } .how-row .media { grid-template-columns: 1fr; } }
.recorded { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 24px; }
.recorded ul { list-style: none; margin: 0; padding: 0; }
.recorded li { padding: 13px 0; border-top: 1px solid var(--line); }
.recorded li:last-child { border-bottom: 1px solid var(--line); }
.recorded li b { color: var(--navy); font-weight: 600; }
@media (max-width: 760px) { .recorded { grid-template-columns: 1fr; } .recorded ul + ul li:first-child { margin-top: 0; } }
.other { margin-top: 0; padding-block: 56px; }
.other a.module-row { margin-top: 12px; }

/* film dialog */
dialog.filmbox { width: min(1000px, 94vw); border: 0; padding: 0; background: #000; border-radius: 8px; overflow: hidden; }
dialog.filmbox::backdrop { background: rgba(0,20,40,0.82); }
dialog.filmbox video { display: block; width: 100%; max-height: 80vh; background: #000; }
dialog.filmbox .bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; background: var(--night); color: #C9D6E3; font-size: 14px; }
dialog.filmbox button { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.6); border-radius: 6px; padding: 7px 14px; font: 600 14px var(--sans); cursor: pointer; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hot::before, .hot::after { animation: none; } .win { animation: none; } }

/* who it is for, guides */
.sectors h3 a { color: inherit; text-decoration: none; }
.sectors h3 a:hover { text-decoration: underline; }
.sectors > div { margin-bottom: 22px; }
.linklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; max-width: 900px; }
.linklist li { border-top: 1px solid var(--line); }
.linklist a { display: block; padding: 12px 0; color: var(--navy); font-weight: 500; text-decoration: none; }
.linklist a:hover { text-decoration: underline; }
@media (max-width: 760px) { .linklist { grid-template-columns: 1fr; } }
