/* HOMOL — institutional blue & white (V2, 2026-10-28) */
:root {
  --navy: #0A2A5E;
  --blue: #0E47CB;
  --blue-dark: #0B3AA6;
  --panel: #F3F6FC;
  --border: #D5DCE8;
  --text: #1D2433;
  --muted: #5A6476;
  --ok: #1E7B4A;
  --danger: #B3261E;
  --max-width: 980px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #fff;
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* Top institutional strip */
.topbar { background: var(--navy); color: #fff; font-size: 13px; letter-spacing: .3px; }
.topbar .container { padding-top: 7px; padding-bottom: 7px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topbar span { opacity: .9; }

/* Header */
header { background: #fff; border-bottom: 3px solid var(--blue); }
.nav { max-width: var(--max-width); margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand img { height: 52px; width: auto; display: block; }
.nav-links { display: flex; gap: 24px; flex-wrap: wrap; }
.nav-links a { color: var(--navy); font-size: 15px; font-weight: 600; }

/* Hero */
.hero { background: var(--panel); border-bottom: 1px solid var(--border); padding: 56px 0 48px; }
.hero .kicker { font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.hero h1 { font-size: 34px; line-height: 1.25; color: var(--navy); margin-bottom: 18px; max-width: 760px; }
.hero p.lead { font-size: 18px; color: var(--text); max-width: 720px; margin-bottom: 0; }

/* Sections */
section.block { padding: 44px 0; border-bottom: 1px solid var(--border); }
section.block:last-of-type { border-bottom: none; }
h2 { font-size: 22px; color: var(--navy); margin-bottom: 16px; padding-left: 12px; border-left: 4px solid var(--blue); line-height: 1.3; }
h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
p { margin-bottom: 14px; }
p.muted, .muted { color: var(--muted); }
.narrow { max-width: 760px; }

/* Scope table */
.scope { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 15px; }
.scope th, .scope td { text-align: left; vertical-align: top; padding: 12px 14px; border: 1px solid var(--border); }
.scope th { background: var(--navy); color: #fff; font-weight: 600; }
.scope td:first-child { font-weight: 600; color: var(--navy); width: 26%; background: var(--panel); }

.scope.timeline td:first-child { width: 14%; white-space: nowrap; }
.scope.timeline td:nth-child(2) { width: 9%; font-weight: 600; color: var(--navy); background: #fff; }

/* Service list */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 22px; }
.services div { padding: 16px 18px; border: 1px solid var(--border); border-top: 3px solid var(--navy); background: #fff; }
.services div p { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0; }

/* Note box */
.note { background: var(--panel); border: 1px solid var(--border); padding: 16px 20px; margin-top: 8px; }
.note p:last-child { margin-bottom: 0; }

/* Buttons & forms */
.btn { display: inline-block; background: var(--blue); color: #fff; padding: 11px 22px; border-radius: 3px; font-weight: 600; font-size: 15px; border: none; cursor: pointer; }
.btn:hover { background: var(--blue-dark); text-decoration: none; }

.form-card { border: 1px solid var(--border); background: var(--panel); padding: 24px; max-width: 640px; margin-top: 8px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
input[type="text"], textarea {
  width: 100%; background: #fff; border: 1px solid var(--border); border-radius: 3px;
  padding: 10px 12px; color: var(--text); font-size: 15px; font-family: inherit;
}
textarea { resize: vertical; }
input[type="text"]:focus, textarea:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: var(--blue); }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

#result { margin-top: 18px; display: none; }
#result.show { display: block; }
.result-box { padding: 14px 18px; border: 1px solid var(--border); background: #fff; }
.result-box.match { border-left: 4px solid var(--ok); }
.result-box.nomatch { border-left: 4px solid var(--danger); }
.result-box h3 { margin-bottom: 4px; }
.result-box p { margin: 0; }

/* Footer */
footer { background: var(--navy); color: #fff; font-size: 13.5px; padding: 26px 0; }
footer .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer a { color: #fff; text-decoration: underline; }
footer .muted { color: #C9D3E6; }

.mono { font-family: "SFMono-Regular", Menlo, Consolas, monospace; }

/* Legacy pages (kept, not linked) */
.badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { border: 1px solid var(--border); padding: 20px; background: var(--panel); }
.callout { background: var(--panel); border-left: 4px solid var(--navy); padding: 16px 20px; margin: 20px 0; }
.verify-wrap { max-width: 640px; }
.deploy-note { display: none; }

@media (max-width: 640px) {
  .hero h1 { font-size: 27px; }
  .field-row { grid-template-columns: 1fr; }
  .scope td:first-child { width: auto; }
}
