/* THE TRADE AID — thetradeaid.in
   Self-contained styles for the public one-page site and privacy page. */

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/source-serif-4-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/source-serif-4-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/source-serif-4-latin-700-normal.woff2") format("woff2");
}

:root {
  --bg: #f3f0ea;
  --paper: #fbf9f5;
  --ink: #122433;
  --ink-soft: #3e4a55;
  --muted: #5c6570;
  --line: #d6d0c6;
  --line-strong: #c4bdb1;
  --accent: #7a6235;
  --accent-soft: #efe6d4;
  --navy: #122433;
  --navy-deep: #0c1a26;
  --cream: #f4f1eb;
  --danger-bg: #f6efe3;
  --danger-edge: #c4a574;
  --focus: #7a6235;
  --max: 44rem;
}

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

html {
  scroll-behavior: smooth;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--navy);
}

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

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 20;
  background: var(--navy);
  color: var(--cream);
  padding: 0.4rem 0.8rem;
  border-radius: 2px;
}

.skip-link:focus {
  top: 0.75rem;
}

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

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.15rem 1.5rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  flex-wrap: wrap;
}

.wordmark {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.2;
}

.wordmark:hover {
  color: var(--navy);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--navy);
}

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 4.25rem 0 3.75rem;
}

.hero .wrap {
  max-width: var(--max);
}

.hero-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(2.15rem, 5vw, 3.15rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0 0 1.15rem;
  color: var(--navy);
}

.hero-lede {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
  max-width: 28ch;
}

.hero-meta {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0;
}

.hero-meta li:not(:last-child)::after {
  content: "·";
  margin: 0 0.7rem;
  color: var(--line-strong);
}

section {
  padding: 3.25rem 0;
}

section + section {
  border-top: 1px solid var(--line);
}

h2 {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
  margin: 0 0 1.25rem;
  color: var(--navy);
}

.section-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 0.55rem;
}

p {
  margin: 0 0 1rem;
  color: var(--ink);
}

p:last-child {
  margin-bottom: 0;
}

.lede {
  color: var(--ink-soft);
}

/* ---------- Services ---------- */

.services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.services li {
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.services li:last-child {
  padding-bottom: 0;
}

.services h3 {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 0 0.35rem;
  color: var(--navy);
}

.services p {
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- Disclaimer ---------- */

.disclaimer {
  background: var(--danger-bg);
  border: 1px solid var(--danger-edge);
  padding: 1.35rem 1.35rem 1.25rem;
  margin-top: 0.25rem;
}

.disclaimer h2 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.disclaimer p {
  font-size: 0.98rem;
  color: var(--ink);
}

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

.contact-block {
  margin: 0;
}

.contact-block div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.25rem 1.25rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.contact-block div:last-child {
  padding-bottom: 0;
}

.contact-block dt {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  padding-top: 0.3rem;
}

.contact-block dd {
  margin: 0;
  color: var(--ink);
}


.contact-block a {
  color: var(--ink);
  text-decoration-color: var(--line-strong);
}

.contact-block a:hover {
  color: var(--accent);
}

/* ---------- Privacy (on homepage, compact) ---------- */

.privacy-preview {
  color: var(--ink-soft);
}

.privacy-preview a {
  font-weight: 600;
}

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

.site-footer {
  background: var(--navy-deep);
  color: #d8d3cb;
  padding: 2.5rem 0 2.15rem;
  margin-top: 0;
}

.site-footer .wrap {
  max-width: var(--max);
}

.footer-name {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f4f1eb;
  font-size: 1rem;
  margin: 0 0 0.85rem;
}

.site-footer p {
  color: #d8d3cb;
  font-size: 0.9rem;
  margin: 0 0 0.4rem;
}

.site-footer a {
  color: #e8dfcc;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 1.15rem 0 0;
  padding: 1.15rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.udyam {
  font-variant-numeric: tabular-nums;
}

/* ---------- Privacy page ---------- */

.page-main {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-hero {
  padding: 3.25rem 0 0;
}

.page-hero h1 {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin: 0 0 0.5rem;
  letter-spacing: 0.01em;
}

.page-hero .updated {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 0.5rem;
}

.policy {
  padding: 2rem 0 3.5rem;
}

.policy h2 {
  font-size: 1.3rem;
  margin: 2rem 0 0.7rem;
}

.policy h2:first-child {
  margin-top: 0;
}

.policy ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--ink);
}

.policy li {
  margin: 0 0 0.4rem;
}

/* ---------- Mobile ---------- */

@media (max-width: 640px) {
  .header-inner,
  .wrap,
  .site-footer .wrap {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .header-inner {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .hero {
    padding: 2.75rem 0 2.5rem;
  }

  section {
    padding: 2.5rem 0;
  }

  .contact-block div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .contact-block dt {
    padding-top: 0;
  }

  .disclaimer {
    padding: 1.15rem 1rem 1.05rem;
  }
}

.udyam {
  white-space: nowrap;
}

.nowrap {
  white-space: nowrap;
}

.services li:first-child {
  border-top: none;
  padding-top: 0.35rem;
}

#disclaimer {
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}

@media (max-width: 640px) {
  .hero-lede {
    max-width: none;
  }

  .hero-meta {
    flex-direction: column;
    gap: 0.15rem;
  }

  .hero-meta li:not(:last-child)::after {
    content: none;
    margin: 0;
  }

  .site-nav {
    gap: 0.3rem 1rem;
  }

  .site-nav a {
    letter-spacing: 0.06em;
  }
}

