/* USMON marketing site stylesheet.
   Colors come from the original USMON theme (dark blue #1E405C, medium blue #114E89,
   light blue #4E8FC3) plus a gold accent taken from the 20th anniversary artwork.
   System font stack only, so nothing is loaded from a third party. */

:root {
  --navy: #0b2a4a;
  --dark-blue: #1e405c;
  --blue: #114e89;
  --light-blue: #4e8fc3;
  --gold: #8a6229;
  --gold-light: #e2c38f;
  --ink: #23334a;
  --muted: #55657a;
  --line: #dde5ee;
  --tint: #f3f7fb;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 6px 22px rgba(8, 38, 75, .08);
  --wrap: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); font-size: 17px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--dark-blue); }
:focus-visible { outline: 3px solid var(--light-blue); outline-offset: 2px; }
h1, h2, h3 { color: var(--navy); line-height: 1.22; margin: 0 0 .6em; }
h1 { font-size: clamp(30px, 4.4vw, 50px); letter-spacing: -.5px; }
h2 { font-size: clamp(25px, 3vw, 36px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--white); color: var(--blue); padding: 10px 16px; border-radius: 6px; z-index: 100; font-weight: 700; }
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.center .btn-row { justify-content: center; }

/* Buttons */
.btn { display: inline-block; background: var(--blue); color: var(--white); padding: 13px 24px; border-radius: 6px; font-weight: 700; text-decoration: none; border: 2px solid var(--blue); line-height: 1.2; cursor: pointer; font-size: 16px; font-family: inherit; }
.btn:hover { background: var(--dark-blue); border-color: var(--dark-blue); color: var(--white); }
.btn-light { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn-light:hover { background: var(--tint); border-color: var(--tint); color: var(--dark-blue); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .85); }
.btn-outline:hover { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.text-link { font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Header and navigation */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 2px 14px rgba(0, 27, 53, .1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.logo img { width: 190px; height: auto; }
.nav-toggle { display: none; background: none; border: 2px solid var(--line); border-radius: 6px; padding: 8px 12px; font: inherit; font-weight: 700; color: var(--navy); cursor: pointer; }
.nav-toggle-bars { display: inline-block; width: 18px; height: 2px; background: currentColor; position: relative; vertical-align: middle; margin-right: 8px; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 10px 14px; color: var(--navy); text-decoration: none; font-weight: 700; font-size: 15px; border-radius: 6px; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--blue); background: var(--tint); }
.main-nav .has-sub > a::after { content: ""; display: inline-block; margin-left: 7px; border: 5px solid transparent; border-top-color: currentColor; border-bottom: 0; vertical-align: middle; }
.main-nav .sub { list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: 100%; min-width: 280px; background: var(--white); border-radius: var(--radius); box-shadow: 0 14px 34px rgba(8, 38, 75, .18); display: none; }
.main-nav .sub a { font-weight: 600; padding: 9px 12px; }
.main-nav .has-sub:hover > .sub, .main-nav .has-sub:focus-within > .sub { display: block; }
.main-nav .nav-login a { background: var(--blue); color: var(--white); margin-left: 8px; padding: 10px 20px; }
.main-nav .nav-login a:hover { background: var(--dark-blue); color: var(--white); }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); box-shadow: 0 14px 24px rgba(8, 38, 75, .16); max-height: calc(100vh - 76px); overflow-y: auto; }
  .main-nav.is-open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; padding: 10px 22px 20px; gap: 0; }
  .main-nav .sub { position: static; display: block; box-shadow: none; padding: 0 0 6px 16px; min-width: 0; }
  .main-nav .has-sub > a::after { display: none; }
  .main-nav .nav-login a { margin: 10px 0 0; text-align: center; }
}

/* Hero */
.hero { background: linear-gradient(115deg, var(--navy) 0%, var(--dark-blue) 45%, var(--blue) 100%); color: var(--white); padding: 64px 0 70px; overflow: hidden; }
.hero h1 { color: var(--white); }
.hero .lead { font-size: 19px; color: #e4edf6; max-width: 640px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.hero-media img { border-radius: var(--radius); box-shadow: 0 18px 40px rgba(0, 0, 0, .28); width: 100%; }
.hero-media.plain img { box-shadow: none; border-radius: 0; }
.hero.hero-text-only .hero-grid { grid-template-columns: 1fr; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 13px; font-weight: 800; color: var(--gold-light); margin-bottom: 12px; }
.section .eyebrow { color: var(--gold); }
@media (max-width: 860px) {
  .hero { padding: 44px 0 50px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* Anniversary band */
.anniversary { background: var(--tint); padding: 56px 0; border-bottom: 1px solid var(--line); }
.anniversary-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.anniversary picture img, .anniversary img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.tagline { font-family: Georgia, "Times New Roman", serif; font-size: clamp(22px, 2.4vw, 30px); color: var(--navy); line-height: 1.3; margin: 0 0 14px; }
.tagline-rule { width: 64px; height: 3px; background: var(--gold); border: 0; margin: 0 0 18px; }
@media (max-width: 860px) { .anniversary-grid { grid-template-columns: 1fr; } }

/* Sections */
.section { padding: 70px 0; }
.section.tint { background: var(--tint); }
.section-head { max-width: 860px; margin: 0 auto 34px; text-align: center; }
.shield { width: 46px; height: auto; margin: 0 auto 18px; }
.intro p { font-size: 18px; }
.lede-band { background: var(--blue); color: var(--white); padding: 50px 0; }
.lede-band h2 { color: var(--white); }

/* Feature rows (text + illustration) */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.feature.reverse .feature-copy { order: 2; }
.feature-media { background: radial-gradient(circle at 50% 50%, #e3eef8 0%, #eef4fa 55%, transparent 72%); padding: 20px; }
.feature-media img { margin: 0 auto; }
.feature-copy p { font-size: 18px; color: var(--muted); }
@media (max-width: 860px) {
  .section { padding: 50px 0; }
  .feature-grid { grid-template-columns: 1fr; gap: 26px; }
  .feature.reverse .feature-copy { order: 0; }
}

/* Two column media + text */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* Photo cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.photo-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); box-shadow: var(--shadow); background: var(--dark-blue); }
.photo-card > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 42, 74, .55) 0%, rgba(11, 42, 74, .9) 55%, rgba(11, 42, 74, .96) 100%); }
.photo-card .card-body { position: relative; padding: 26px; }
.photo-card h3 { color: var(--white); }
.photo-card p { margin: 0; color: #e8eff7; font-size: 16px; }
.photo-card .icon { width: auto; height: 46px; margin-bottom: 14px; }
.photo-card a.stretched { color: var(--white); text-decoration: none; }
.photo-card a.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.photo-card a.stretched:focus-visible { outline: none; }
.photo-card:focus-within { outline: 3px solid var(--light-blue); outline-offset: 2px; }
.photo-card .more { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--gold-light); font-size: 15px; }
.photo-card:hover .more { text-decoration: underline; }
.wide-card { min-height: 240px; margin-top: 22px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards, .cards.two { grid-template-columns: 1fr; } }

/* Icon tiles */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; box-shadow: var(--shadow); }
.tile img { width: 64px; height: 64px; margin: 0 auto 14px; }
.tile h3 { margin-bottom: .3em; }
.tile p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } }

/* Check list */
.checklist { list-style: none; padding: 0; columns: 2; column-gap: 30px; margin: 18px 0 0; }
.checklist li { position: relative; padding: 6px 0 6px 30px; break-inside: avoid; font-weight: 600; color: var(--navy); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 11px; width: 16px; height: 9px; border-left: 3px solid var(--light-blue); border-bottom: 3px solid var(--light-blue); transform: rotate(-45deg); }
@media (max-width: 520px) { .checklist { columns: 1; } }

/* Stats */
.stats-band { background: linear-gradient(115deg, var(--navy), var(--blue)); color: var(--white); padding: 64px 0; }
.stats-band h2 { color: var(--white); }
.stats { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stat { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--radius); padding: 28px 20px; text-align: center; }
.stat-number { display: block; font-size: clamp(44px, 5vw, 64px); font-weight: 800; line-height: 1; color: var(--white); }
.stat-number .unit { font-size: .55em; font-weight: 700; margin-left: 4px; color: var(--gold-light); }
.stat-label { display: block; margin-top: 12px; color: #dfe9f4; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }

/* Accreditations */
.accreditations { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 34px 54px; }
.accreditations a { display: block; border-radius: 6px; }
.accreditations img { height: 70px; width: auto; }
.accreditations .soc2-link { text-decoration: none; }
.soc2-text { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 116px; padding: 14px 18px; border: 2px solid var(--line); border-radius: var(--radius); color: inherit; line-height: 1.3; }
.soc2-text strong { font-size: 1.05rem; }
.soc2-text span { font-size: .85rem; opacity: .8; }
.trademark { margin-top: 26px; font-size: 14px; color: var(--muted); text-align: center; }
.accred-note { text-align: center; color: var(--muted); font-size: 15px; max-width: 760px; margin: 18px auto 0; }

/* SOC 2 block on Security page */
.soc2-block { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.soc2-block p:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .soc2-block { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

/* Testimonials */
.quotes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--light-blue); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 18px; font-size: 16px; color: var(--ink); flex: 1; }
.quote .who { font-weight: 800; color: var(--navy); margin: 0; }
.quote .role { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 960px) { .quotes { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: linear-gradient(115deg, var(--dark-blue), var(--blue)); color: var(--white); padding: 60px 0; text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #e4edf6; max-width: 720px; margin: 0 auto 1em; }
.cta-band .shield { width: 40px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.contact-details { font-size: 21px; font-weight: 700; color: var(--navy); }
.contact-details p { margin: 0 0 10px; }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #b7c4d3; border-radius: 6px; background: var(--white); color: var(--ink); }
.field input:focus, .field textarea:focus { outline: 3px solid rgba(78, 143, 195, .45); border-color: var(--light-blue); }
.field textarea { min-height: 160px; resize: vertical; }
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 6px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { background: #e7f5ec; color: #145a2e; border: 1px solid #a9d8b9; }
.form-status.err { background: #fdecec; color: #8a1c1c; border: 1px solid #f0b4b4; }
.form-note { font-size: 14px; color: var(--muted); margin-top: 10px; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* Footer */
.site-footer { background: var(--navy); color: #d5e0ec; padding: 56px 0 26px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h2 { color: var(--white); font-size: 17px; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 7px; }
.site-footer a { color: #d5e0ec; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-brand img { width: 32px; height: auto; margin-bottom: 14px; }
.footer-tagline { font-family: Georgia, "Times New Roman", serif; color: var(--white); font-size: 18px; line-height: 1.4; max-width: 260px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.social { display: flex; gap: 12px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.social a:hover { background: rgba(255, 255, 255, .22); }
.social svg { width: 17px; height: 17px; fill: currentColor; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* 404 */
.notfound { padding: 90px 0; text-align: center; }
.notfound ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }

/* Anchor targets sit below the sticky header */
[id] { scroll-margin-top: 90px; }

/* Help text under form fields */
.field-help { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
