/* United Soma Group — federal-agency style (state.gov reference) */
:root {
  --navy: #10233f;
  --navy-2: #182f52;
  --navy-3: #0b1830;
  --ink: #1b1b1b;
  --grey: #5b616b;
  --line: #d6d7d9;
  --bg: #ffffff;
  --bg-alt: #f1f1f1;
  --accent: #c5a253;
  --serif: Merriweather, Georgia, "Times New Roman", serif;
  --sans: "Public Sans", "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
a { color: var(--navy); }

/* ---------- utility bar ---------- */
.utility {
  background: var(--navy-3);
  color: #cdd6e4;
  font-size: 12.5px;
  padding: 6px 0;
}
.utility .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.utility a { color: #ffffff; text-decoration: underline; }

/* ---------- header ---------- */
header.site {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; }
.brand img { width: 44px; height: auto; display: block; }
.brand .t1 { font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: .3px; line-height: 1.15; }
.brand .t2 { font-size: 11px; letter-spacing: 2.2px; color: #b9c4d6; text-transform: uppercase; }
nav.main { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
nav.main a {
  color: #fff; text-decoration: none; font-size: 14.5px; font-weight: 600;
  padding: 8px 0; border-bottom: 3px solid transparent;
}
nav.main a:hover { border-bottom-color: var(--accent); }
nav.main a.cta {
  border: 2px solid #fff; padding: 8px 16px; border-bottom-width: 2px;
  letter-spacing: .5px; font-size: 13px; text-transform: uppercase;
}
nav.main a.cta:hover { background: #fff; color: var(--navy); }

/* ---------- hero ---------- */
.hero {
  background:
    linear-gradient(rgba(11,24,48,.88), rgba(16,35,63,.92)),
    repeating-linear-gradient(135deg, #16305a 0 2px, transparent 2px 46px),
    var(--navy-2);
  color: #fff;
  padding: 96px 0 88px;
}
.hero .kicker { font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 4.6vw, 50px);
  line-height: 1.2;
  max-width: 820px;
  margin: 18px 0 22px;
}
.hero p { max-width: 680px; font-size: 17.5px; color: #d6deea; }
.hero .btn { margin-top: 30px; }

/* buttons */
.btn {
  display: inline-block; background: #fff; color: var(--navy);
  font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
  padding: 13px 28px; text-decoration: none; border: 2px solid #fff;
}
.btn:hover { background: transparent; color: #fff; }
.btn.dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn.dark:hover { background: #fff; color: var(--navy); }

/* ---------- section scaffolding ---------- */
section { padding: 72px 0; }
section.alt { background: var(--bg-alt); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 34px; flex-wrap: wrap; }
.sec-head h2 { font-family: var(--serif); font-size: 30px; color: var(--navy); }
.sec-head .rule { flex: 1; height: 1px; background: var(--line); min-width: 60px; }

/* ---------- news ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; }
.news-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); padding: 22px 22px 24px; }
.news-card time { font-size: 13px; color: var(--grey); font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.news-card h3 { font-family: var(--serif); font-size: 18.5px; line-height: 1.35; margin: 10px 0 10px; color: var(--navy); }
.news-card p { font-size: 14.5px; color: #3d4551; }

/* ---------- companies: flagship panel + directory ---------- */
.flagship {
  position: relative;
  background:
    linear-gradient(rgba(11,24,48,.92), rgba(16,35,63,.95)),
    repeating-linear-gradient(135deg, #16305a 0 2px, transparent 2px 46px),
    var(--navy-2);
  color: #fff;
  padding: 46px 48px;
  margin-bottom: 56px;
  overflow: hidden;
}
.flagship::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--accent);
}
.flagship .kicker {
  font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 12px;
}
.flagship h3 { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 6px; }
.flagship .strap { font-family: var(--serif); font-style: italic; font-size: 17px; color: #c9d4e4; margin-bottom: 16px; }
.flagship p { max-width: 720px; font-size: 15.5px; color: #d6deea; }
.flagship .wm {
  position: absolute; right: -10px; bottom: -42px;
  font-family: var(--serif); font-weight: 900; font-size: 190px; line-height: 1;
  color: rgba(255,255,255,.045); pointer-events: none; user-select: none;
}

/* companies page */
.crumb { font-size: 13px; color: #b9c4d6; margin-bottom: 14px; }
.crumb a { color: #fff; text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.lede { font-size: 18px; color: #3d4551; max-width: 780px; margin: 0 auto; }
.co-sec {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 44px;
  padding: 54px 0;
  border-bottom: 1px solid var(--line);
}
.co-sec:last-child { border-bottom: none; }
.tile {
  height: 210px;
  background:
    linear-gradient(rgba(11,24,48,.9), rgba(16,35,63,.94)),
    repeating-linear-gradient(135deg, #16305a 0 2px, transparent 2px 40px),
    var(--navy-2);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.tile::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 4px; background: var(--accent);
}
.tile span { font-family: var(--serif); font-weight: 900; font-size: 64px; color: rgba(255,255,255,.92); letter-spacing: 1px; }
.tile small { position: absolute; top: 14px; left: 16px; font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.co-sec .kicker { font-size: 12px; letter-spacing: 2.2px; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.co-sec h2 { font-family: var(--serif); font-size: 28px; color: var(--navy); margin: 8px 0 14px; }
.co-sec p { font-size: 15.5px; color: #3d4551; max-width: 720px; margin-bottom: 12px; }
.facts { margin: 16px 0 6px; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts .k { font-weight: 700; color: var(--navy); letter-spacing: .3px; }
.facts a { font-weight: 600; }
.stage {
  display: inline-block; margin-top: 4px;
  background: var(--bg-alt); border-left: 4px solid var(--accent);
  padding: 8px 14px; font-size: 13.5px; color: #3d4551;
}
@media (max-width: 820px) {
  .co-sec { grid-template-columns: 1fr; gap: 22px; }
  .tile { height: 150px; }
  .tile span { font-size: 44px; }
}

.dir { border-top: 2px solid var(--navy); }
.dir-row {
  display: grid;
  grid-template-columns: 84px 210px 1fr;
  gap: 28px;
  padding: 28px 8px 30px;
  border-bottom: 1px solid var(--line);
  transition: background .15s;
}
.dir-row:hover { background: #fafafa; }
.dir-row .num {
  font-family: var(--serif); font-size: 26px; font-weight: 700;
  color: var(--accent); line-height: 1.1; padding-top: 2px;
}
.dir-row .id h3 { font-family: var(--serif); font-size: 20px; color: var(--navy); line-height: 1.25; }
.dir-row .id .cat {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--grey); margin-top: 7px;
}
.dir-row > p { font-size: 15px; color: #3d4551; max-width: 640px; align-self: center; }
@media (max-width: 760px) {
  .flagship { padding: 32px 24px; }
  .dir-row { grid-template-columns: 1fr; gap: 8px; }
  .dir-row .num { font-size: 18px; }
}

/* ---------- mission band ---------- */
.mission {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 78px 0;
}
.mission blockquote {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.45;
  max-width: 900px;
  margin: 0 auto;
}

/* ---------- founders ---------- */
.founder-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 26px; }
.founder { background: #fff; border: 1px solid var(--line); padding: 28px; display: flex; gap: 20px; }
.founder .mono {
  flex: 0 0 74px; height: 74px; border-radius: 50%;
  background: var(--navy); color: #fff;
  font-family: var(--serif); font-size: 26px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.founder h3 { font-family: var(--serif); font-size: 20px; color: var(--navy); }
.founder .role { font-size: 12.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin: 3px 0 10px; }
.founder p { font-size: 14.5px; color: #3d4551; }

/* ---------- verify strip ---------- */
.verify-band { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.verify-band .inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 40px 0; }
.verify-band h2 { font-family: var(--serif); font-size: 24px; color: var(--navy); margin-bottom: 8px; }
.verify-band p { font-size: 15px; max-width: 640px; color: #3d4551; }

/* ---------- footer ---------- */
footer.site { background: var(--navy-3); color: #b9c4d6; padding: 56px 0 30px; font-size: 14px; }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
footer.site h4 { color: #fff; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; }
footer.site a { color: #dbe3ee; text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 9px; }
footer.site .brandline { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
footer.site .brandline img { width: 38px; }
footer.site .brandline .n { font-family: var(--serif); color: #fff; font-size: 18px; font-weight: 700; }
.footbottom { border-top: 1px solid #24344f; margin-top: 42px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: #8fa0b8; }

/* ---------- verify page ---------- */
.page-title { background: var(--navy-2); color: #fff; padding: 54px 0 46px; }
.page-title .kicker { font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.page-title h1 { font-family: var(--serif); font-size: clamp(28px, 4vw, 40px); margin-top: 10px; }
.vwrap { max-width: 760px; }
.status-ok, .status-bad, .status-wait {
  font-weight: 700; font-size: 15px; padding: 13px 16px; margin-bottom: 22px;
  border-left: 5px solid;
}
.status-ok { background: #ecf3ec; border-color: #2e8540; color: #1e5128; }
.status-bad { background: #f9eeee; border-color: #cd2026; color: #981b1e; }
.status-wait { background: #f1f1f1; border-color: var(--grey); color: var(--grey); }
form.vform { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
input.idbox {
  font-family: var(--sans); font-size: 16px; padding: 12px 14px;
  border: 2px solid var(--navy); width: 280px;
}
table.vtable { width: 100%; border-collapse: collapse; border: 1px solid var(--line); }
table.vtable td { padding: 12px 16px; border-top: 1px solid var(--line); font-size: 15px; vertical-align: top; }
table.vtable tr:first-child td { border-top: none; }
table.vtable td.lab { font-weight: 700; width: 40%; background: var(--bg-alt); color: var(--navy); }
.hash { word-break: break-all; font-family: "Courier New", monospace; font-size: 13px; }
.note { font-size: 13.5px; color: var(--grey); margin-top: 20px; }

/* ---------- join page ---------- */
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 46px; }
.choice button {
  font-family: var(--sans); cursor: pointer; text-align: left;
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--line);
  padding: 26px 26px 24px; transition: border-color .15s, background .15s;
}
.choice button .ck { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--grey); }
.choice button h3 { font-family: var(--serif); font-size: 22px; color: var(--navy); margin: 8px 0 8px; }
.choice button p { font-size: 14px; color: #3d4551; line-height: 1.55; }
.choice button.on { border-color: var(--navy); border-top-color: var(--accent); background: #fff; box-shadow: 0 2px 10px rgba(16,35,63,.10); }
.choice button.on .ck { color: var(--accent); }

.jpanel { display: none; }
.jpanel.on { display: block; }
.jslogan {
  font-family: var(--serif); font-size: clamp(20px, 2.6vw, 27px); line-height: 1.45;
  color: var(--navy); border-left: 5px solid var(--accent);
  padding: 6px 0 6px 22px; margin-bottom: 30px; max-width: 780px;
}
.jform { max-width: 760px; }
.jform .row { margin-bottom: 22px; }
.jform label.top { display: block; font-weight: 700; font-size: 14.5px; color: var(--navy); margin-bottom: 8px; }
.jform label.top small { font-weight: 400; color: var(--grey); }
.jform input[type=text], .jform input[type=email], .jform input[type=url], .jform select, .jform textarea {
  font-family: var(--sans); font-size: 15.5px; color: var(--ink);
  width: 100%; padding: 11px 13px; border: 1.5px solid #8a94a3; background: #fff;
}
.jform input:focus, .jform select:focus, .jform textarea:focus { outline: 3px solid rgba(197,162,83,.45); border-color: var(--navy); }
.jform textarea { min-height: 110px; resize: vertical; }
.jform .opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 20px; }
.jform .opt { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: #3d4551; }
.jform .opt input { margin-top: 3.5px; accent-color: var(--navy); width: 16px; height: 16px; }
.jform .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--grey); max-width: 640px; }
.jform .consent input { margin-top: 3px; accent-color: var(--navy); }
.jform button.btn { border: 2px solid var(--navy); cursor: pointer; font-family: var(--sans); }
.jnote { font-size: 13px; color: var(--grey); margin-top: 14px; }
@media (max-width: 700px) { .choice { grid-template-columns: 1fr; } }

@media (max-width: 760px) {
  header.site .wrap { flex-direction: column; align-items: flex-start; padding-top: 12px; padding-bottom: 12px; }
  nav.main { gap: 16px; }
  footer.site .cols { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 58px; }
}
