:root {
  --ink: #151515;
  --muted: #62615d;
  --line: #ded7cb;
  --paper: #f6f0e6;
  --white: #fffdfa;
  --accent: #b13a2f;
  --secondary: #0d6159;
  --gold: #c7a057;
  --night: #10232a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255, 253, 250, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: white;
  background: var(--night);
  border: 2px solid var(--gold);
  font-size: 13px;
}

.topbar nav,
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.topbar nav a:hover,
.footer nav a:hover {
  color: var(--accent);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  gap: clamp(24px, 5vw, 72px);
  min-height: 76vh;
  padding: clamp(42px, 7vw, 96px) clamp(18px, 6vw, 82px) 40px;
  align-items: center;
  background:
    linear-gradient(112deg, rgba(16, 35, 42, 0.08), rgba(255, 253, 250, 0) 44%),
    radial-gradient(circle at 80% 12%, rgba(199, 160, 87, 0.2), transparent 28%);
}

.hero__copy,
.page-hero > div,
.copy-panel,
.services > div:first-child {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.hero__copy > p:not(.eyebrow),
.page-hero p {
  max-width: 680px;
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-actions a,
button {
  min-height: 46px;
  padding: 13px 18px;
  color: white;
  background: var(--accent);
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.hero-actions .ghost {
  color: var(--ink);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
}

.market-card {
  align-self: stretch;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 520px;
  background: var(--night);
  color: white;
}

.market-card img {
  width: 100%;
  height: 100%;
}

.market-card div {
  display: grid;
  gap: 8px;
  padding: 24px;
  border-top: 4px solid var(--gold);
}

.market-card span,
.market-card strong {
  color: white;
}

.ticker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.ticker span {
  min-height: 78px;
  padding: 22px;
  border-right: 1px solid var(--line);
  color: var(--night);
  font-weight: 800;
}

.language-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: clamp(18px, 5vw, 64px);
  background: var(--line);
}

.language-board a,
.service-grid a {
  display: grid;
  gap: 12px;
  min-height: 210px;
  padding: 28px;
  background: var(--white);
}

.language-board span,
.service-grid span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.language-board strong,
.service-grid strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1.1;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(44px, 7vw, 94px) clamp(18px, 6vw, 82px);
  align-items: center;
  background: var(--white);
}

.page-hero img {
  width: 100%;
  aspect-ratio: 1.15;
  border: 1px solid var(--line);
}

.exchange-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(42px, 6vw, 84px) clamp(18px, 6vw, 82px);
  background: #fbf8f2;
}

.copy-panel p {
  max-width: 720px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.check-grid span {
  padding: 14px;
  background: var(--paper);
  border-left: 4px solid var(--secondary);
  font-weight: 800;
}

.form-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  background: var(--night);
  color: white;
}

.form-card--compact {
  align-self: start;
}

.form-card p,
.form-card .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.form-card h2 {
  color: white;
  font-size: 34px;
}

form {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

select option {
  color: var(--ink);
}

textarea {
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hp {
  position: absolute;
  left: -9999px;
}

.form-status {
  min-height: 20px;
  margin: 0;
  font-size: 14px;
}

.image-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.image-ledger figure {
  margin: 0;
  background: var(--white);
}

.image-ledger img {
  width: 100%;
  aspect-ratio: 1;
}

.image-ledger figcaption {
  min-height: 76px;
  padding: 18px;
  color: var(--muted);
  font-weight: 700;
}

.valuation-matrix,
.district-depth,
.document-stack,
.services,
.faq,
.footer {
  padding: clamp(40px, 6vw, 82px) clamp(18px, 6vw, 82px);
}

.services {
  background: var(--paper);
}

.valuation-matrix {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(24px, 5vw, 70px);
  background: var(--night);
  color: white;
}

.valuation-matrix p,
.valuation-matrix .eyebrow {
  color: rgba(255, 255, 255, 0.74);
}

.valuation-matrix h2,
.valuation-matrix h3 {
  color: white;
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.matrix-grid article {
  min-height: 230px;
  padding: 24px;
  background: #142d35;
}

.matrix-grid span {
  color: var(--gold);
  font-weight: 900;
}

.matrix-grid h3 {
  margin: 18px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.district-depth {
  background: var(--white);
}

.district-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.district-grid a {
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--accent);
  background: #fffaf2;
}

.district-grid strong {
  display: block;
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
}

.document-stack {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 70px);
  background: #fbf8f2;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.document-stack ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.document-stack li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 18px;
  background: var(--white);
  border-left: 4px solid var(--secondary);
}

.document-stack strong {
  color: var(--night);
}

.document-stack span {
  color: var(--muted);
  line-height: 1.5;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  background: var(--line);
}

.faq {
  background: var(--white);
}

details {
  max-width: 900px;
  border-top: 1px solid var(--line);
}

summary {
  padding: 18px 0;
  cursor: pointer;
  font-weight: 900;
}

details p {
  max-width: 780px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  color: white;
  background: var(--night);
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 900px) {
  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .page-hero,
  .exchange-layout,
  .valuation-matrix,
  .document-stack,
  .language-board,
  .service-grid,
  .district-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .market-card {
    min-height: 420px;
  }

  .ticker,
  .image-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .hero,
  .page-hero,
  .exchange-layout,
  .services,
  .faq,
  .footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .ticker,
  .image-ledger,
  .check-grid,
  .matrix-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .document-stack li {
    grid-template-columns: 1fr;
  }

  .language-board a,
  .service-grid a,
  .form-card {
    padding: 20px;
  }
}
