/* =========================================================
   US Trademarks, LLC — shared stylesheet
   Palette: deep navy + spectrum accent (matches logo)
   ========================================================= */

:root {
  --navy:        #15264a;
  --navy-deep:   #0e1a33;
  --ink:         #1c2433;
  --muted:       #5b6678;
  --line:        #e3e8f0;
  --bg:          #ffffff;
  --bg-soft:     #f6f8fb;
  --bg-softer:   #eef2f8;
  --white:       #ffffff;

  /* Spectrum accent, drawn from the logo */
  --spectrum: linear-gradient(90deg,
    #6a3df0 0%, #2f7bf0 18%, #1fb6c9 36%,
    #36c46a 54%, #f0c020 72%, #f08020 86%, #e0402f 100%);

  --radius:   14px;
  --radius-sm:10px;
  --shadow:   0 1px 2px rgba(21,38,74,.06), 0 8px 28px rgba(21,38,74,.08);
  --maxw:     1120px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

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

h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1.1em; }

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

/* ---------- Top spectrum hairline ---------- */
.topbar { height: 4px; background: var(--spectrum); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 24px; max-width: var(--maxw); margin: 0 auto;
  flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; }
.brand:hover { text-decoration: none; }
.brand img { height: 46px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px; font-weight: 600;
  font-size: .95rem; color: var(--ink);
}
.nav-links a:hover { background: var(--bg-soft); text-decoration: none; }
.nav-links a.active { color: var(--navy); background: var(--bg-softer); }
.nav-links a.btn-primary { color: #fff; }
.nav-links a.btn-primary:hover { color: #fff; background: var(--navy-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-weight: 700; font-size: .98rem;
  padding: 13px 24px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--navy-deep); color: #fff; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 420px at 80% -10%, #eef2fb 0, rgba(255,255,255,0) 60%),
    var(--bg);
  padding: 84px 0 64px;
  border-bottom: 1px solid var(--line);
}
.hero .eyebrow {
  display: inline-block; font-weight: 700; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 18px;
}
.hero-copy { max-width: 780px; margin: 0 auto; text-align: center; }
.hero h1 { max-width: 20ch; margin-left: auto; margin-right: auto; }
.hero .accent-rule { margin-left: auto; margin-right: auto; }
.hero .lede {
  font-size: 1.2rem; color: var(--muted);
  max-width: 60ch; margin: 0 auto 28px;
}
.hero .btn-row { justify-content: center; }

.accent-rule {
  height: 4px; width: 84px; border-radius: 4px;
  background: var(--spectrum); margin: 0 0 26px;
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-head { max-width: 60ch; margin-bottom: 38px; }
.section-head .eyebrow {
  display: inline-block; font-weight: 700; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ---------- Grids / cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 9px; margin-bottom: 14px;
  font-weight: 800; color: #fff; background: var(--navy); font-size: .95rem;
}

/* spectrum top edge on feature cards */
.card.feature { position: relative; overflow: hidden; }
.card.feature::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--spectrum);
}

/* ---------- Service list ---------- */
.service { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background:#fff; box-shadow: var(--shadow); }
.service h3 { display: flex; align-items: center; gap: 10px; }
.service ul { margin: .4em 0 0; padding-left: 1.1em; color: var(--muted); }
.service ul li { margin-bottom: .35em; }

/* ---------- Staff ---------- */
.staff-grid { display: grid; gap: 22px; grid-template-columns: repeat(2, 1fr); }
.staff-card {
  background:#fff; border:1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.staff-card .staff-name { font-size: 1.25rem; color: var(--navy); margin: 0 0 4px; }
.staff-card .staff-role { color: var(--muted); font-weight: 600; font-size: .92rem; margin: 0 0 16px; }
.staff-card dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; }
.staff-card dt { color: var(--muted); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; padding-top: 2px; }
.staff-card dd { margin: 0; color: var(--ink); }

/* ---------- Callout / CTA band ---------- */
.cta-band {
  background: var(--navy);
  color: #fff; border-radius: 0; padding: 64px 0;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content:""; position:absolute; left:0; right:0; bottom:0; height:4px; background: var(--spectrum);
}
.cta-band h2 { color:#fff; }
.cta-band p { color: #c9d3e6; max-width: 56ch; }
.cta-band .btn-primary { background:#fff; color: var(--navy); }
.cta-band .btn-primary:hover { background:#eef2f8; color: var(--navy); }
.cta-band .btn-ghost { background: transparent; color:#fff; border-color: rgba(255,255,255,.4); }
.cta-band .btn-ghost:hover { border-color:#fff; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.contact-info dl { display: grid; grid-template-columns: max-content 1fr; gap: 12px 20px; margin: 0; }
.contact-info dt { font-weight: 700; color: var(--navy); }
.contact-info dd { margin: 0; color: var(--ink); }
.form label { display:block; font-weight:600; margin: 14px 0 6px; color: var(--navy); font-size:.92rem; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; color: var(--ink); background:#fff;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(21,38,74,.10);
}
.form textarea { min-height: 130px; resize: vertical; }
.form .btn { margin-top: 20px; }
.note { font-size: .85rem; color: var(--muted); }

/* ---------- Stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.stat { text-align:center; }
.stat .big { font-size: 2.2rem; font-weight: 800; color: var(--navy); letter-spacing:-.02em; }
.stat .lbl { color: var(--muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #c4cfe2; padding: 48px 0 28px; }
.site-footer a { color: #e7edf7; }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color:#fff; font-size: .9rem; letter-spacing:.08em; text-transform:uppercase; margin:0 0 14px; }
.site-footer ul { list-style:none; margin:0; padding:0; }
.site-footer li { margin-bottom: 8px; }
.footer-brand p { color:#9fb0cc; font-size:.92rem; max-width: 38ch; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 18px;
  display:flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: .85rem; color: #8da0bf;
}
.disclaimer { font-size:.8rem; color:#8094b5; max-width: 80ch; margin-top: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .staff-grid { grid-template-columns: 1fr; }
}
/* Tablet/phone header: drop the header CTA button (Contact link still present) */
@media (max-width: 760px) {
  .nav-links .btn-primary { display: none; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 44px; }
  .section { padding: 52px 0; }
  .nav { padding: 10px 18px; }
  .brand img { height: 34px; }
  .nav-links { gap: 2px; }
  .nav-links a { padding: 7px 10px; font-size:.9rem; }
}
