/* ManagedComputers.net, homepage v1.0. Tokens: SPEC section 6. No third-party requests; fonts are self-hosted (SIL OFL). */
@font-face {
  font-family: "MCN Serif";
  src: url("fonts/mcn-serif-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: optional;
}

/* Metric-matched fallbacks (computed from the font files with fontTools) so the late web font does not move layout. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("LiberationSans"), local("Helvetica");
  size-adjust: 107.48%;
  ascent-override: 90.14%;
  descent-override: 22.44%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "MCN Serif Fallback";
  src: local("Times New Roman Bold"), local("TimesNewRomanPS-BoldMT"), local("Liberation Serif Bold"), local("LiberationSerif-Bold");
  font-weight: 600;
  size-adjust: 106.74%;
  ascent-override: 97.06%;
  descent-override: 31.38%;
  line-gap-override: 0%;
}

:root {
  color-scheme: light dark;
  --paper: #faf7f2;
  --paper-2: #f1ece4;
  --card: #ffffff;
  --ink: #14161a;
  --ink-2: #5b5f66;
  --accent: #2a49c7;
  --on-accent: #ffffff;
  --highlight: #f5b70a;
  --on-highlight: #14161a;
  --clay: #a4532f;
  --line: #e4ded4;
  --line-strong: #8a8f98;
  --band: #2a49c7;
  --on-band: #ffffff;
  --band-2: #dbe2ff;
  --focus: #2a49c7;
  --focus-on-band: #ffffff;
  --topbar: #14161a;
  --on-topbar: #f3f1ec;
  --you: #2a49c7;
  --on-you: #ffffff;
  --shadow: 0 1px 2px rgb(20 22 26 / .06), 0 8px 24px rgb(20 22 26 / .06);
  --serif: "MCN Serif", "MCN Serif Fallback", ui-serif, Georgia, "Times New Roman", serif;
  --sans: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r-card: 14px;
  --r-btn: 10px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121317;
    --paper-2: #1b1d22;
    --card: #1b1d22;
    --ink: #ececea;
    --ink-2: #a3a7ad;
    --accent: #8aa2ff;
    --on-accent: #14161a;
    --clay: #e39a74;
    --line: #2a2d33;
    --line-strong: #6b7079;
    --band: #18213f;
    --on-band: #ececea;
    --band-2: #c3cdff;
    --focus: #8aa2ff;
    --focus-on-band: #f5b70a;
    --topbar: #0b0c0f;
    --on-topbar: #ececea;
    --you: #2f3f86;
    --on-you: #ffffff;
    --shadow: none;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; 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(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  font-optical-sizing: auto;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; }
h3 { font-size: 1.125rem; font-weight: 650; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

.skip {
  position: absolute; left: 12px; top: -100px; z-index: 10;
  background: var(--card); color: var(--ink); padding: 10px 14px; border-radius: var(--r-btn);
  border: 2px solid var(--focus); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Top bar (ink) */
.topbar { background: var(--topbar); color: var(--on-topbar); font-size: 0.875rem; }
.topbar-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 20px; padding-top: 7px; padding-bottom: 7px; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding-top: 14px; padding-bottom: 14px; }
.wordmark {
  font-family: var(--sans); font-weight: 750; font-size: 1.25rem; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px;
}
.wordmark .tld { color: var(--accent); }
.nav { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 10px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-size: 0.9375rem; font-weight: 500;
}
.nav a:hover { background: var(--paper-2); }
nav { order: 3; flex-basis: 100%; }
.header-in > .btn { margin-left: auto; }
@media (max-width: 479px) { .header-in > .btn { display: none; } }
@media (min-width: 1000px) {
  nav { order: 0; flex-basis: auto; margin-left: auto; }
  .header-in > .btn { margin-left: 0; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: var(--r-btn);
  font: 600 1rem/1.2 var(--sans); text-decoration: none; border: 2px solid transparent;
}
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 0.9375rem; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--paper-2); }
.btn-soon {
  width: 100%; background: var(--paper-2); color: var(--ink-2); border: 2px dashed var(--line-strong); cursor: default;
}

/* Hero */
.hero { padding: 56px 0 64px; }
.hero-in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-in { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } .hero { padding: 88px 0 96px; } }
.eyebrow {
  display: inline-block; background: var(--highlight); color: var(--on-highlight);
  font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.02em; padding: 4px 12px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.05; max-width: 18ch; }
.lede { margin-top: 22px; font-size: 1.1875rem; line-height: 1.6; color: var(--ink); max-width: 60ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.small { margin-top: 16px; font-size: 0.9375rem; color: var(--ink-2); }

/* Mock chat card (static illustration) */
.chat {
  margin: 0; background: var(--paper-2); border: 1px solid var(--line); border-radius: 18px; padding: 18px;
  box-shadow: var(--shadow);
}
.chat-label {
  font-size: 0.8125rem; font-weight: 650; color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; display: inline-block; margin-bottom: 14px;
}
.chat-log { list-style: none; display: grid; gap: 12px; }
.msg { max-width: 92%; padding: 10px 14px 12px; border-radius: 14px; font-size: 0.96875rem; line-height: 1.55; }
.msg .who { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 2px; }
.msg-you { justify-self: end; background: var(--you); color: var(--on-you); border-bottom-right-radius: 4px; }
.msg-ai { justify-self: start; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg-ai .who { color: var(--clay); }
.chat-foot { margin-top: 14px; font-size: 0.8125rem; color: var(--ink-2); }

/* Sections */
.section { padding: 64px 0; }
@media (min-width: 960px) { .section { padding: 88px 0; } }
.section-alt { background: var(--paper-2); }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.section-sub { margin-top: 10px; color: var(--ink-2); font-size: 1.0625rem; max-width: 68ch; }

/* Category chips (#help) */
.chips { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-top: 28px; }
@media (max-width: 420px) { .chips { grid-template-columns: 1fr 1fr; } }
.chip {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; font-weight: 550; font-size: 0.9375rem; line-height: 1.25;
}
.chip .ico { flex: none; color: var(--accent); width: 22px; height: 22px; }
@media (max-width: 420px) { .chip { border-radius: 14px; padding: 10px 12px; } }

/* Steps (#how) */
.steps { list-style: none; display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; }
.step-n {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--clay); color: var(--clay); font: 600 1.25rem/1 var(--serif); margin-bottom: 14px;
}
.step p { margin-top: 8px; color: var(--ink-2); }

/* Plans (#plans): retail tiles on a bold band */
.plans { background: var(--band); color: var(--on-band); }
.plans h2 { color: var(--on-band); }
.plans .section-sub { color: var(--on-band); }
.plans :focus-visible { outline-color: var(--focus-on-band); }
.tiles { list-style: none; display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 860px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.tile {
  display: flex; flex-direction: column; background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; box-shadow: var(--shadow);
}
.tile-name { font-family: var(--serif); font-weight: 600; font-size: 1.625rem; }
.tile-best { margin-top: 6px; color: var(--ink-2); font-size: 0.9375rem; min-height: 3em; }
.tile-best-k { font-weight: 650; color: var(--ink); }
.specs { margin: 18px 0 0; border-top: 1px solid var(--line); }
.spec { display: flex; align-items: baseline; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.spec dt { display: flex; flex: 1 1 auto; align-items: baseline; gap: 8px; min-width: 0; color: var(--ink-2); }
.spec dt::after { content: ""; flex: 1 1 12px; min-width: 12px; border-bottom: 2px dotted var(--line-strong); transform: translateY(-4px); }
.spec dd { margin: 0; flex: 0 1 auto; text-align: right; font-weight: 600; max-width: 55%; }
.price { margin: 20px 0 16px; flex: 1; display: flex; align-items: flex-end; }
.tag {
  display: inline-block; background: var(--highlight); color: var(--on-highlight); font-weight: 700; font-size: 0.9375rem;
  padding: 6px 12px; border-radius: 6px;
}

.compare-wrap { margin-top: 36px; background: var(--card); color: var(--ink); border-radius: var(--r-card); padding: 8px 4px; border: 1px solid var(--line); }
.compare { width: 100%; border-collapse: collapse; font-size: 0.9375rem; font-variant-numeric: tabular-nums; table-layout: fixed; }
.compare caption { text-align: left; font-weight: 700; padding: 12px 14px 8px; font-size: 1.0625rem; }
.compare th, .compare td { padding: 10px 12px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.compare thead th, .compare thead td { border-top: 0; font-family: var(--serif); font-weight: 600; font-size: 1.0625rem; }
.compare tbody th { font-weight: 600; color: var(--ink-2); width: 34%; }
.compare-wrap { overflow-x: auto; }
@media (max-width: 640px) {
  .compare { min-width: 600px; font-size: 0.875rem; }
  .compare th, .compare td { padding: 8px 8px; }
}
.fine { margin-top: 18px; font-size: 0.9375rem; color: var(--on-band); max-width: 72ch; }

/* Honest limits (#limits): warm paper panel */
.limits { background: var(--paper-2); border: 1px solid var(--line); border-radius: 20px; padding: 32px 22px; }
@media (min-width: 820px) { .limits { padding: 48px 48px; } }
.limits-cols { display: grid; gap: 28px; margin-top: 28px; }
@media (min-width: 820px) { .limits-cols { grid-template-columns: 1fr 1fr; gap: 48px; } }
.limits-col h3 { font-family: var(--serif); font-weight: 600; font-size: 1.375rem; color: var(--clay); margin-bottom: 12px; }
.ticks, .crosses { list-style: none; display: grid; gap: 12px; }
.ticks li, .crosses li { position: relative; padding-left: 30px; max-width: 60ch; }
.ticks li::before, .crosses li::before {
  position: absolute; left: 0; top: 0.1em; width: 20px; height: 20px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.8125rem; font-weight: 700; line-height: 1;
}
.ticks li::before { content: "✓"; background: var(--accent); color: var(--on-accent); }
.crosses li::before { content: "×"; background: var(--clay); color: var(--paper); font-size: 1rem; }
.limits-note { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 600; }

/* Want a person instead? */
.person-in > * { max-width: 760px; }
.person p { margin-top: 12px; max-width: 68ch; }
.link-strong { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }
.link-strong::after { content: " →"; white-space: pre; }

/* FAQ */
.faq-wrap .faq { max-width: 860px; }
.faq { margin-top: 24px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 12px 4px; font-weight: 650; font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.5rem; line-height: 1; color: var(--accent); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 4px 18px; color: var(--ink-2); max-width: 68ch; }

/* 404 */
.notfound { min-height: 50vh; }
.notfound h1 { font-size: clamp(2rem, 4vw, 3rem); }
.notfound .lede { margin-bottom: 28px; }

/* Footer (ink) */
.site-footer { background: var(--topbar); color: var(--on-topbar); padding: 40px 0 48px; font-size: 0.9375rem; }
.wordmark-footer { color: var(--on-topbar); min-height: 0; margin-bottom: 14px; }
.wordmark-footer .tld { color: var(--highlight); }
.footer-lines { list-style: none; display: grid; gap: 6px; }

@media print {
  .topbar, .skip, nav, .header-in > .btn { display: none; }
  .plans { background: none; color: #000; }
}

/* Launch-state footer links (SPEC-PRODUCT 8.3) */
.footer-link { color: var(--on-topbar); }
/* F4 (WCAG 1.4.11): the default cobalt focus ring is 2.48:1 on the near-black footer and top bar; use the band ring there */
.site-footer :focus-visible, .topbar :focus-visible { outline-color: var(--focus-on-band); }
