/* =========================================================
   USTrademark.pk — Design tokens
   Ink navy + brass accent, warm paper background.
   Manrope for headings, Inter for body copy.
   ========================================================= */

:root {
  --ink: #12202e;
  --navy: #1b3a5c;
  --navy-light: #2c5580;
  --brass: #a9762f;
  --brass-light: #c99a52;
  --paper: #f7f5f0;
  --paper-dim: #efece3;
  --line: #d9d2c2;
  --text: #26313c;
  --muted: #5c6773;
  --white: #ffffff;
  --danger: #a13d3d;
  --ok: #2f6b45;

  --font-head: 'Manrope', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;

  --max: 1120px;
  --radius: 3px;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy); text-decoration-color: var(--line); }
a:hover { color: var(--brass); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; max-width: 68ch; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }

ul, ol { padding-left: 1.3em; }
li { margin-bottom: 0.4em; }

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 2px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: var(--white);
  padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--ink);
  border-bottom: 1px solid #0a141d;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max); margin: 0 auto;
}
.brand {
  display: flex; flex-direction: column;
  color: var(--white); text-decoration: none;
}
.brand-name {
  font-family: var(--font-head); font-weight: 800; font-size: 1.25rem;
  letter-spacing: 0.01em;
}
.brand-name span { color: var(--brass-light); }
.brand-tag { font-size: 0.72rem; color: #9fb0bf; letter-spacing: 0.02em; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid #33475a; color: var(--white);
  padding: 8px 12px; border-radius: var(--radius); font-size: 0.95rem;
}

.main-nav ul {
  list-style: none; display: flex; gap: 22px;
  margin: 0; padding: 0;
}
.main-nav a {
  color: #d7dee4; text-decoration: none; font-size: 0.92rem;
  padding: 6px 2px; border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--white); border-bottom-color: var(--brass);
}

.header-cta {
  display: inline-block; background: var(--brass); color: var(--ink);
  font-weight: 700; font-size: 0.88rem; padding: 9px 16px;
  border-radius: var(--radius); text-decoration: none; white-space: nowrap;
}
.header-cta:hover { background: var(--brass-light); color: var(--ink); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 68px;
    background: var(--ink); border-top: 1px solid #223142; z-index: 100;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 24px 16px; }
  .main-nav a { display: block; padding: 12px 0; border-bottom: 1px solid #1e2c3a; }
  .header-inner { position: relative; }
  .header-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--ink) 0%, #182b3d 100%);
  color: var(--white);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center;
}
.hero-eyebrow {
  color: var(--brass-light); font-weight: 700; font-size: 0.85rem;
  margin-bottom: 12px;
}
.hero h1 { color: var(--white); }
.hero .lede { color: #c6d0d8; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

.btn {
  display: inline-block; padding: 13px 22px; border-radius: var(--radius);
  font-weight: 700; text-decoration: none; font-size: 0.95rem;
  border: 1px solid transparent;
}
.btn-primary { background: var(--brass); color: var(--ink); }
.btn-primary:hover { background: var(--brass-light); color: var(--ink); }
.btn-outline { border-color: #4d6376; color: var(--white); }
.btn-outline:hover { border-color: var(--brass); color: var(--brass-light); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--navy); color: var(--white); }

.hero-badge-panel {
  border: 1px solid #33475a; border-radius: var(--radius);
  padding: 24px; background: rgba(255,255,255,0.03);
}
.hero-badge-panel dl { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 0; }
.hero-badge-panel dt { font-size: 0.78rem; color: #9fb0bf; text-transform: uppercase; letter-spacing: 0.05em; }
.hero-badge-panel dd { margin: 2px 0 0; font-family: var(--font-head); font-size: 1.15rem; color: var(--white); }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
}

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 32px; }
.section-head .kicker {
  color: var(--brass); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.02em;
  margin-bottom: 6px; display: block;
}

/* ---------- Grid / cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.panel {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.panel h3 { margin-bottom: 10px; }

/* ---------- Numbered process (genuine sequence) ---------- */
.process-list { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.process-list li {
  counter-increment: step;
  position: relative;
  padding: 20px 0 20px 56px;
  border-bottom: 1px solid var(--line);
}
.process-list li:last-child { border-bottom: none; }
.process-list li::before {
  content: counter(step);
  position: absolute; left: 0; top: 18px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: var(--brass-light);
  font-family: var(--font-head); font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.process-list h3 { margin-bottom: 4px; }

/* ---------- Pricing table ---------- */
.price-table { width: 100%; border-collapse: collapse; background: var(--white); }
.price-table th, .price-table td {
  border: 1px solid var(--line); padding: 12px 14px; text-align: left; font-size: 0.95rem;
}
.price-table thead th { background: var(--ink); color: var(--white); }
.price-table tbody tr:nth-child(even) { background: var(--paper-dim); }
.table-wrap { overflow-x: auto; }

/* ---------- FAQ accordion ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 18px 0; font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; gap: 16px;
}
.faq-q .icon { color: var(--brass); font-size: 1.2rem; flex-shrink: 0; }
.faq-a { padding: 0 0 18px; color: var(--muted); display: none; }
.faq-item.open .faq-a { display: block; }

/* ---------- Callouts ---------- */
.callout {
  border-left: 4px solid var(--brass); background: var(--paper-dim);
  padding: 16px 20px; border-radius: var(--radius); margin: 20px 0;
}
.callout.warn { border-left-color: var(--danger); }
.callout p:last-child { margin-bottom: 0; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 0.85rem; color: var(--muted); padding: 14px 0; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--brass); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--ink); color: var(--white); padding: 40px 0; }
.page-hero h1 { color: var(--white); margin-bottom: 8px; }
.page-hero p { color: #c6d0d8; margin: 0; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; }
.checklist li {
  padding-left: 30px; position: relative; margin-bottom: 10px;
}
.checklist li::before {
  content: '\2713'; position: absolute; left: 0; top: 0;
  color: var(--ok); font-weight: 700;
}

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; color: var(--ink); }
input[type=text], input[type=email], input[type=url], select, textarea {
  width: 100%; padding: 11px 12px; border: 1px solid #b9c1c9; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.95rem; background: var(--white); color: var(--text);
}
textarea { resize: vertical; min-height: 120px; }
.field-note { font-size: 0.8rem; color: var(--muted); margin-top: 4px; }
.form-msg { padding: 14px 16px; border-radius: var(--radius); margin-bottom: 20px; font-weight: 600; }
.form-msg.success { background: #e8f2ea; color: var(--ok); border: 1px solid #bcd7c3; }
.form-msg.error { background: #f5e7e7; color: var(--danger); border: 1px solid #e0bcbc; }
.hp-field { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b7c2cb; padding: 48px 0 24px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #b7c2cb; text-decoration: none; font-size: 0.9rem; }
.footer-grid a:hover { color: var(--brass-light); }
.footer-bottom {
  border-top: 1px solid #223142; margin-top: 32px; padding-top: 18px;
  font-size: 0.8rem; color: #7f8b96; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.disclaimer-strip {
  background: var(--paper-dim); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: 0.82rem; color: var(--muted); padding: 10px 0;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.small { font-size: 0.85rem; color: var(--muted); }
