:root {
  --bg: #ffffff;
  --fg: #000000;
  --muted: #9a9a9a;
  --rule: rgba(0, 0, 0, 0.14);
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  font-weight: 400;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(32px, 6vw, 64px) 24px;
}

/* Hero */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 720px;
  text-align: center;
  padding: clamp(80px, 14vh, 180px) 0 clamp(60px, 10vh, 120px);
}

/* Brand logo: Americas + INAM / Capital */
.logo {
  display: inline-flex;
  align-items: center;
  gap: clamp(18px, 3vw, 28px);
  color: var(--fg);
  margin-bottom: clamp(36px, 6vw, 56px);
  line-height: 1;
}

.logo-map {
  flex: none;
  width: clamp(72px, 10vw, 96px);
  height: auto;
  color: var(--fg);
  display: block;
}

.logo-image {
  flex: none;
  width: clamp(180px, 24vw, 280px);
  height: auto;
  display: block;
  object-fit: contain;
}

.logo-word {
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  color: var(--fg);
}

.logo-inam {
  font-weight: 700;
  font-size: clamp(40px, 6vw, 56px);
  letter-spacing: 0.035em;
  line-height: 1;
  padding-bottom: 6px;
}

.logo-rule {
  border-top: 1.5px solid var(--fg);
  width: 100%;
}

.logo-capital {
  font-weight: 500;
  font-size: clamp(18px, 2.4vw, 24px);
  letter-spacing: 0.02em;
  text-align: center;
  padding-top: 4px;
  line-height: 1;
}

/* Accessible h1 that mirrors the logo for SEO/screen readers */
h1.sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.lede {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg);
  margin: 0 0 14px;
  max-width: 560px;
}

.contact {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 8px;
}

.contact a,
.lede a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.contact a:hover,
.lede a:hover { text-decoration-thickness: 2px; }

/* Footer */
footer {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 48px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  justify-content: center;
  padding-bottom: 18px;
}

.legal-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
}

.legal-links a:hover { color: var(--fg); }
.legal-links .dot { color: var(--muted); opacity: 0.5; }

.rule {
  height: 1px;
  background: var(--rule);
  width: 100%;
  margin: 0 0 22px;
}

footer p {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--muted);
}
footer p:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .lede, .contact { font-size: 14px; }
  footer, footer p, .legal-links a { font-size: 12px; }
}