/* OpsCenter.aero public site. Palette (Mark, Nov. 17, 2026): white, light blue, light gray, coral. */
:root {
  --bg: #ffffff;
  --surface: #f4f6f8;        /* light gray */
  --surface-2: #e9edf1;
  --sky: #e8f3fc;            /* light blue */
  --sky-2: #cfe5f7;
  --sky-ink: #1d5f8f;        /* light blue's readable partner for text and links */
  --ink: #1d2733;
  --soft: #5a6878;
  --line: #dde3e9;
  --coral: #ff6f5b;
  --coral-ink: #c4412d;      /* coral for text on white, readable */
  --coral-soft: #ffe7e2;
  --on-coral: #ffffff;
  --shadow: 0 1px 2px rgba(29, 39, 51, .06), 0 8px 24px rgba(29, 39, 51, .06);
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1922; --surface: #16232f; --surface-2: #1d2d3b; --sky: #15293a; --sky-2: #1d3a52; --sky-ink: #9cccf3;
    --ink: #e8eef4; --soft: #a3b1bf; --line: #253747; --coral: #ff8270; --coral-ink: #ff9a8a; --coral-soft: #3a2420; --on-coral: #1b0f0c;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1922; --surface: #16232f; --surface-2: #1d2d3b; --sky: #15293a; --sky-2: #1d3a52; --sky-ink: #9cccf3;
  --ink: #e8eef4; --soft: #a3b1bf; --line: #253747; --coral: #ff8270; --coral-ink: #ff9a8a; --coral-soft: #3a2420; --on-coral: #1b0f0c;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25); color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--sky-ink); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.eyebrow { display: inline-block; font-family: "Barlow Condensed", "Plus Jakarta Sans", sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .9rem; color: var(--coral-ink); margin-bottom: .6em; }
.lead { font-size: 1.15rem; color: var(--soft); max-width: 46rem; }
.muted { color: var(--soft); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 10; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 6px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; letter-spacing: -.01em; }
.brand img { height: 36px; width: auto; background: #fff; border-radius: 8px; padding: 2px 6px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: var(--sky); }
.nav a[aria-current="page"] { background: var(--sky); color: var(--sky-ink); }
@media (max-width: 720px) { .nav { margin-left: 0; width: 100%; overflow-x: auto; flex-wrap: nowrap; } .nav a { white-space: nowrap; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 1rem; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-coral { background: var(--coral); color: var(--on-coral); }
.btn-coral:hover { background: color-mix(in srgb, var(--coral) 88%, #000); }
.btn-ghost { background: transparent; color: var(--sky-ink); border-color: var(--sky-2); }
.btn-ghost:hover { background: var(--sky); }
.nav .btn { padding: 8px 16px; font-size: .95rem; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.4em; }

/* Sections */
section { padding: 72px 0; }
.band-sky { background: var(--sky); }
.band-gray { background: var(--surface); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Hero */
.hero { padding: 64px 0 56px; background: linear-gradient(180deg, var(--sky) 0%, var(--bg) 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-art { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #0b1d33; }
.hero-art img { display: block; width: 100%; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 8px; }
.stat { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; }
.stat b { display: block; font-size: 2rem; font-weight: 800; color: var(--sky-ink); line-height: 1.1; }
.stat span { font-size: .9rem; color: var(--soft); }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
@media (min-width: 600px) and (max-width: 860px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin-top: .4em; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sky); color: var(--sky-ink); }
.icon svg { width: 24px; height: 24px; }
.icon.coral { background: var(--coral-soft); color: var(--coral-ink); }

/* Product panels on the home page */
.product { display: flex; flex-direction: column; padding: 32px; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--bg); position: relative; overflow: hidden; }
.product::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--sky-2); }
.product.lms::before { background: var(--coral); }
.product h2 { font-size: 1.9rem; margin-top: .3em; }
.product ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.product li { margin: .3em 0; }
.product .btn-row { margin-top: auto; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .03em; padding: 4px 10px; border-radius: 999px; background: var(--sky); color: var(--sky-ink); }
.tag.coral { background: var(--coral-soft); color: var(--coral-ink); }
.tag.gray { background: var(--surface-2); color: var(--soft); }

/* Chips row */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.chip { background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .95rem; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 76px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 22px; left: 24px; width: 40px; height: 40px; border-radius: 50%; background: var(--coral); color: var(--on-coral); font-weight: 800; display: grid; place-items: center; }

/* Authority ladder on the Desk page */
.ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: layer; }
.ladder li { counter-increment: layer; display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.ladder li::before { content: counter(layer); width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--sky); color: var(--sky-ink); font-weight: 800; }
.ladder b { display: block; }
.ladder small { color: var(--soft); font-size: .88rem; display: block; line-height: 1.4; }
@media (max-width: 600px) { .ladder li { grid-template-columns: 40px 1fr; } .ladder li .tag { grid-column: 2; justify-self: start; } }

/* Call-to-action band */
.cta { background: linear-gradient(120deg, var(--sky) 0%, var(--coral-soft) 100%); border-radius: 24px; padding: 44px 32px; text-align: center; }
.cta .btn-row { justify-content: center; }

/* Catalog */
.toolbar { position: sticky; top: 68px; z-index: 3; background: var(--bg); padding: 14px 0; border-bottom: 1px solid var(--line); }
.toolbar .wrap { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.search { flex: 1 1 260px; display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; }
.search input { border: 0; background: transparent; color: var(--ink); font: inherit; padding: 11px 0; width: 100%; outline: none; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { font: inherit; font-size: .92rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--sky-ink); border-color: var(--sky-ink); color: var(--bg); }
.filters button.soon[aria-pressed="true"] { background: var(--coral); border-color: var(--coral); color: var(--on-coral); }
.result-count { color: var(--soft); font-size: .95rem; margin: 18px 0 6px; }
.group-title { margin: 36px 0 14px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.group-title h2 { font-size: 1.45rem; margin: 0; }
.courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.course { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 14px; display: flex; flex-direction: column; gap: 8px; transition: box-shadow .15s ease, border-color .15s ease; }
.course:hover { box-shadow: var(--shadow); border-color: var(--sky-2); }
.course h3 { font-size: 1.05rem; margin: 0; }
.course .meta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.course .price { margin-left: auto; font-weight: 800; color: var(--ink); }
.course .versions { font-size: .88rem; color: var(--soft); display: grid; gap: 2px; }
.course details { font-size: .93rem; }
.course summary { cursor: pointer; color: var(--sky-ink); font-weight: 600; list-style: none; }
.course summary::-webkit-details-marker { display: none; }
.course summary::after { content: " +"; }
.course details[open] summary::after { content: " –"; }
.course details p { margin: .6em 0 0; }
.course ul { margin: .4em 0 0; padding-left: 1.1em; }
.course.soon { background: var(--surface); border-style: dashed; }
.empty { padding: 40px; text-align: center; color: var(--soft); }

/* Prose pages */
.prose { max-width: 760px; }
.contact-card { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 40px 0 28px; font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.site-footer h4 { margin: 0 0 8px; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; color: var(--soft); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 4px 0; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--sky-ink); text-decoration: underline; }
.fine { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 16px; color: var(--soft); font-size: .88rem; }
@media (max-width: 720px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .wrap > div:first-child { grid-column: 1 / -1; } }
.theme-toggle { font: inherit; background: none; border: 1px solid var(--line); color: var(--soft); border-radius: 999px; padding: 4px 12px; cursor: pointer; }

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

/* Contact form */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.form label { font-weight: 600; font-size: .95rem; }
.form .opt { font-weight: 400; color: var(--soft); font-size: .85rem; }
.form input, .form select, .form textarea { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--sky-ink); box-shadow: 0 0 0 3px var(--sky-2); }
.form textarea { resize: vertical; }
.form .btn { justify-self: start; }
.form .btn:disabled { opacity: .6; cursor: wait; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.4em; font-weight: 600; }
.form-status.good { color: #1f7a3f; }
.form-status.bad { color: var(--coral-ink); }
