/* MiComputer Support — site styles. No external fonts, trackers or scripts. */
:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-2: #eef2f6;
  --text: #16202c;
  --muted: #536171;
  --line: #dde3ea;
  --brand: #0b5cad;
  --brand-ink: #ffffff;
  --brand-soft: #e3effb;
  --accent: #0f8a7e;
  --hero-a: #0a2540;
  --hero-b: #0b4f8a;
  --notice-bg: #fff7e6;
  --notice-line: #f0d08a;
  --notice-text: #5c4300;
  --logo-blue: #2257a5;
  --logo-teal: #008ca6;
  --logo-ink: #231f20;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 32, 52, .06), 0 6px 20px rgba(16, 32, 52, .06);
  --max: 1120px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1318;
    --surface: #141c23;
    --surface-2: #1b252e;
    --text: #e6edf3;
    --muted: #9aa8b6;
    --line: #26323d;
    --brand: #5aa7f0;
    --brand-ink: #06121e;
    --brand-soft: #16293b;
    --accent: #4cc3b5;
    --hero-a: #07131f;
    --hero-b: #0c2f52;
    --notice-bg: #2a2310;
    --notice-line: #5e4a14;
    --notice-text: #f1d894;
    --logo-blue: #6f9fe3;
    --logo-teal: #2fb8cf;
    --logo-ink: #e6edf3;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .25);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img, svg { max-width: 100%; }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.brand svg { display: block; flex: none; }
.brand .logo-word { margin-top: 2px; }
@media (max-width: 520px) { .site-header .logo-mark { width: 51px; height: 40px; } .site-header .logo-word { width: 109px; height: 29px; } }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 8px 12px; font: inherit; font-size: .95rem; cursor: pointer; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.nav a { white-space: nowrap; display: block; padding: 8px 12px; border-radius: 9px; color: var(--text); text-decoration: none; font-size: .96rem; }
.nav a:hover { background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--brand); font-weight: 600; }
.nav .cta { background: var(--brand); color: var(--brand-ink); font-weight: 600; margin-left: 6px; }
.nav .cta[aria-current="page"] { color: var(--brand-ink); }
.nav .cta:hover { background: var(--brand); filter: brightness(1.08); }
@media (max-width: 940px) {
  .js .nav-toggle { display: inline-block; }
  .site-header .wrap { flex-wrap: wrap; }
  .nav { width: 100%; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 66px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .js .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 10px 16px 16px; }
  .nav a { padding: 12px; }
  .nav .cta { margin: 6px 0 0; text-align: center; }
}

/* Hero */
.hero {
  background: radial-gradient(1200px 500px at 85% -10%, rgba(76, 195, 181, .25), transparent 60%), linear-gradient(135deg, var(--hero-a), var(--hero-b));
  color: #fff;
  padding: 84px 0 76px;
}
.hero .eyebrow { display: inline-block; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: #9fd6ff; font-weight: 600; margin-bottom: 14px; }
.hero h1 { max-width: 18ch; }
.hero p.lead { font-size: 1.2rem; max-width: 60ch; color: #d6e6f5; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
/* Home banner photo (river at sunset). Remove this block + the hero-photo class in build.py to roll back. */
.hero-photo {
  background:
    linear-gradient(90deg, rgba(8, 26, 46, .92) 0%, rgba(8, 26, 46, .78) 35%, rgba(8, 26, 46, .25) 62%, rgba(8, 26, 46, .05) 100%),
    url("img/river-hero.jpg") center 45% / cover no-repeat,
    #0a2540;
  padding: 110px 0 104px;
}
.hero-photo h1, .hero-photo p.lead { text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
@media (max-width: 700px) {
  .hero-photo {
    background:
      linear-gradient(180deg, rgba(8, 26, 46, .55) 0%, rgba(8, 26, 46, .78) 45%, rgba(8, 26, 46, .92) 100%),
      url("img/river-hero-sm.jpg") center 35% / cover no-repeat,
      #0a2540;
    padding: 72px 0 64px;
  }
}
.page-hero { padding: 56px 0 44px; }
.page-hero h1 { max-width: none; font-size: clamp(1.9rem, 4vw, 2.6rem); }
.page-hero p.lead { font-size: 1.1rem; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 11px; font-weight: 600; text-decoration: none; border: 1px solid transparent; font-size: 1rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: #fff; color: #0a2540; }
.btn-primary:hover { background: #e9f3fd; }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-brand { background: var(--brand); color: var(--brand-ink); }
.btn-brand:hover { filter: brightness(1.08); }
.btn-outline { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

/* Sections */
section.block { padding: 64px 0; }
section.block.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 70ch; margin-bottom: 28px; }
.section-head p { color: var(--muted); }
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
section.alt .card { background: var(--bg); box-shadow: none; }
.card h3 { margin-top: 12px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.card .icon svg { width: 24px; height: 24px; }
a.card { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--brand); transform: translateY(-2px); }
a.card .more { display: inline-block; margin-top: 14px; color: var(--brand); font-weight: 600; font-size: .95rem; }

.notice { display: flex; gap: 12px; align-items: flex-start; background: var(--notice-bg); border: 1px solid var(--notice-line); color: var(--notice-text); border-radius: 12px; padding: 14px 18px; margin: 0 0 8px; }
.notice svg { width: 22px; height: 22px; flex: none; margin-top: 3px; }
.notice p { margin: 0; }

.prose { max-width: 75ch; overflow-wrap: anywhere; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.checklist li { position: relative; padding-left: 28px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 100 16A8 8 0 008 0zm3.7 5.8l-4.5 4.8a.8.8 0 01-1.1 0L4.3 8.8a.8.8 0 111.1-1.1l1.2 1.2 4-4.2a.8.8 0 111.1 1.1z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 100 16A8 8 0 008 0zm3.7 5.8l-4.5 4.8a.8.8 0 01-1.1 0L4.3 8.8a.8.8 0 111.1-1.1l1.2 1.2 4-4.2a.8.8 0 111.1 1.1z'/%3E%3C/svg%3E") center/contain no-repeat; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .94rem; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps > li { counter-increment: step; position: relative; padding: 18px 20px 18px 64px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.steps > li::before { content: counter(step); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-weight: 700; }
.steps > li p:last-child, .steps > li ul:last-child { margin-bottom: 0; }

.dl-list { display: grid; gap: 14px; }
.dl { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.dl h3 { margin: 0 0 4px; }
.dl p { margin: 0; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }

.contact-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.contact-grid .card a { font-weight: 600; font-size: 1.1rem; word-break: break-word; }

.cta-band { background: linear-gradient(135deg, var(--hero-a), var(--hero-b)); color: #fff; border-radius: 18px; padding: 36px; display: flex; gap: 20px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; color: #d6e6f5; }

/* Footer */
.site-footer { margin-top: 64px; border-top: 1px solid var(--line); background: var(--surface); padding: 44px 0 28px; font-size: .95rem; color: var(--muted); }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 2fr 1fr 1fr 1fr; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--text); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--brand); text-decoration: underline; }
.footer-base { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .88rem; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } a.card { transition: none; } a.card:hover { transform: none; } }
@media print { .site-header, .site-footer, .nav-toggle { display: none; } .hero { background: none; color: #000; padding: 20px 0; } }
