/* ==========================================================================
   HostOps — landing page
   Strict-CSP friendly: no @import, no url() to external origins.
   ========================================================================== */

:root {
  --navy:       #0B2545;
  --navy-deep:  #061632;
  --blue:       #13315C;
  --sky:        #8DA9C4;
  --sky-light:  #D7E3EE;

  --bg:         #F8FAFC;
  --bg-alt:     #EEF4F8;
  --surface:    #FFFFFF;

  --text:       #0B2545;
  --text-muted: #475569;
  --border:     #CBD5E1;

  --accent:        #15803D;   /* AA-on-white text-safe green */
  --accent-bright: #22C55E;   /* decorative, non-text */

  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(11, 37, 69, 0.04), 0 4px 12px rgba(11, 37, 69, 0.06);

  --container: 1080px;
  --narrow:     720px;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
          "Liberation Mono", monospace;
}

/* ----- Base ------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover { color: var(--navy); }
a:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
  border-radius: 2px;
}

code {
  font-family: var(--mono);
  font-size: 0.92em;
  background: var(--bg-alt);
  padding: 0.06em 0.35em;
  border-radius: 4px;
  color: var(--navy);
}

abbr[title] {
  text-decoration: underline dotted;
  cursor: help;
}

h1, h2, h3 {
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.4vw + 0.5rem, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 2vw + 0.75rem, 2rem); }
h3 { font-size: 1.125rem; margin-top: 1.5em; }

p { margin: 0 0 1em; }

ul {
  margin: 0 0 1em;
  padding-left: 1.25em;
}
li { margin-bottom: 0.35em; }

/* ----- Layout primitives ------------------------------------------------ */

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

.container.narrow { max-width: var(--narrow); }

.section {
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--border);
}
.section-alt { background: var(--bg-alt); }
.section:first-of-type { border-top: 0; }

/* ----- Skip link -------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  z-index: 1000;
  text-decoration: none;
  box-shadow: var(--shadow);
}

/* ----- Header ----------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: saturate(150%) blur(8px);
  -webkit-backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--navy); }
.brand-mark { flex: 0 0 auto; border-radius: 6.5px; }
.brand-word { line-height: 1; }

.site-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--text);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.96rem;
}
.site-nav a:hover { background: var(--sky-light); color: var(--navy); }

/* ----- Hero ------------------------------------------------------------- */

.hero {
  background:
    radial-gradient(80% 60% at 80% 0%, rgba(34, 197, 94, 0.12), transparent 60%),
    radial-gradient(60% 50% at 0% 0%,  rgba(141, 169, 196, 0.18), transparent 60%),
    linear-gradient(180deg, #061632 0%, #0B2545 70%, #13315C 100%);
  color: #FFFFFF;
}

.hero-inner {
  padding: clamp(56px, 8vw, 96px) 24px clamp(56px, 8vw, 88px);
  max-width: 880px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #D7E3EE;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.hero h1 {
  color: #FFFFFF;
  margin: 0 0 18px;
  max-width: 22ch;
}

.brand-inline {
  position: relative;
  white-space: nowrap;
}
.brand-inline .dot {
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  margin-left: 0.12em;
  border-radius: 50%;
  background: var(--accent-bright);
  vertical-align: 0.6em;
}

.lede {
  font-size: clamp(1.05rem, 1vw + 0.85rem, 1.25rem);
  line-height: 1.55;
  color: #E2EAF2;
  max-width: 60ch;
  margin: 0 0 18px;
}

.lede code {
  background: rgba(255, 255, 255, 0.10);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-sub {
  color: var(--sky);
  font-size: 1rem;
  margin: 0;
  max-width: 60ch;
}

/* ----- Sections -------------------------------------------------------- */

.section h2 {
  margin-bottom: 0.5em;
}

.section .updated {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: -0.25em 0 1.5em;
}

.section ul li::marker { color: var(--accent); }

/* ----- Contact --------------------------------------------------------- */

.contact-line { margin-top: 18px; }
.contact-email {
  display: inline-block;
  font-weight: 600;
  font-size: 1.15rem;
  padding: 12px 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--navy);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: border-color 120ms ease, transform 120ms ease;
}
.contact-email:hover {
  border-color: var(--accent);
  color: var(--navy);
}
.contact-email:active { transform: translateY(1px); }

/* ----- Footer ---------------------------------------------------------- */

.site-footer {
  background: var(--navy);
  color: #C8D3E0;
  padding: 28px 0;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}
.site-footer p { margin: 0; }
.site-footer .attr { color: #B5C4DD; }
.site-footer .copy { color: #8DA9C4; }
.site-footer .footer-link {
  color: #D7E3EE;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.site-footer .footer-link:hover { color: #FFFFFF; }
.site-footer .footer-link[aria-current="page"] {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
}
.site-footer .sep {
  margin: 0 0.5em;
  color: #5A6F8A;
}

/* ----- Responsive ------------------------------------------------------ */

@media (max-width: 480px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .header-row { min-height: 56px; }
  .site-nav a { padding: 6px 10px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}

/* ----- Print ----------------------------------------------------------- */

@media print {
  .site-header, .site-footer, .skip-link { display: none; }
  .hero { background: #fff; color: #000; }
  .hero h1, .lede, .hero-sub { color: #000; }
  body { font-size: 12pt; }
}
