/* Institutional about / guide / contact. Navbar + footer stay in site-chrome. */
body.nc-site {
  background: var(--ds-canvas, #f2efe8);
  color: var(--ds-ink, #1c2422);
}

body.ds-shell > main.nc-site-stage {
  flex: 1 1 auto;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  padding-block: clamp(1.6rem, 4.5vh, 3rem) clamp(2.4rem, 6vh, 4.2rem);
  padding-inline: 1.25rem;
}

.nc-site-wrap {
  box-sizing: border-box;
  width: min(100%, 72rem);
  margin-inline: auto;
  display: grid;
  gap: 1.35rem;
  min-width: 0;
}

.nc-site-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .55rem;
  min-width: 0;
  color: var(--ds-muted, #64706c);
  font-size: .78rem;
  font-weight: 750;
}

.nc-site-crumb a {
  color: inherit;
  text-decoration: none;
}

.nc-site-crumb a:hover { color: var(--ds-gold, #a56d16); }

.nc-site-switch {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  min-width: 0;
}

.nc-site-switch a {
  display: inline-flex;
  min-height: 2.45rem;
  align-items: center;
  padding: .4rem .95rem;
  border: 1px solid color-mix(in srgb, var(--ds-gold, #a56d16) 28%, var(--ds-border, #d5d0c5));
  border-radius: 999px;
  background: var(--ds-surface, #fffdf8);
  color: var(--ds-ink, #1c2422);
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
}

.nc-site-switch a[aria-current="page"] {
  border-color: var(--ds-gold, #a56d16);
  background: var(--ds-gold, #a56d16);
  color: var(--nc-on-gold, #14110c);
}

.nc-site-hero,
.nc-site-card {
  min-width: 0;
  margin: 0;
  border: 1px solid color-mix(in srgb, var(--ds-gold, #a56d16) 22%, var(--ds-border, #d5d0c5));
  border-radius: 1.25rem;
  background: var(--ds-surface, #fffdf8);
}

.nc-site-hero {
  padding: clamp(1.5rem, 3.6vw, 2.4rem) clamp(1.25rem, 3vw, 2.1rem) 1.7rem;
  background:
    radial-gradient(ellipse at 8% 0%, color-mix(in srgb, var(--ds-gold, #a56d16) 16%, transparent), transparent 18rem),
    linear-gradient(165deg, color-mix(in srgb, var(--ds-gold-soft, #f4ead3) 48%, var(--ds-surface, #fffdf8)), var(--ds-surface-raised, #fff));
}

.nc-site-card { padding: 1.25rem 1.2rem 1.3rem; }

.nc-site-kicker {
  margin: 0;
  color: var(--ds-gold, #a56d16);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1.6;
}

.nc-site-hero h1,
.nc-site-card h2,
.nc-site-heading h2 {
  margin: .55rem 0 0;
  color: var(--ds-ink-strong, #071311);
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.nc-site-hero h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
}

.nc-site-card h2,
.nc-site-heading h2 {
  font-size: clamp(1.12rem, 2vw, 1.38rem);
}

.nc-site-card h3 {
  margin: .45rem 0 0;
  color: var(--ds-ink-strong, #071311);
  font-size: 1rem;
  font-weight: 900;
}

.nc-site-lede,
.nc-site-card p,
.nc-site-prose p,
.nc-site-legal p {
  max-width: 46rem;
  margin: .7rem 0 0;
  color: var(--ds-muted, #64706c);
  font-size: .95rem;
  font-weight: 650;
  line-height: 1.95;
}

.nc-site-lede--tight { margin-top: .45rem; }

.nc-site-chips,
.nc-site-list,
.nc-site-steps {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.nc-site-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.nc-site-chips li {
  display: inline-flex;
  min-height: 2.1rem;
  align-items: center;
  padding: .3rem .75rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ds-gold, #a56d16) 12%, var(--ds-surface, #fff));
  color: var(--ds-ink, #1c2422);
  font-size: .72rem;
  font-weight: 800;
}

.nc-site-block { display: grid; gap: 1rem; min-width: 0; }

.nc-site-heading { min-width: 0; }

.nc-site-heading .nc-site-kicker { margin: 0; }

.nc-site-split,
.nc-site-grid,
.nc-site-steps,
.nc-site-fields {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.nc-site-split {
  grid-template-columns: minmax(0, 1.35fr) minmax(16.5rem, .9fr);
  align-items: start;
}

.nc-site-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.nc-site-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.nc-site-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.nc-site-index {
  display: block;
  color: var(--ds-gold, #a56d16);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.nc-site-list {
  display: grid;
  gap: .55rem;
}

.nc-site-list li {
  padding-inline-start: 1rem;
  color: var(--ds-ink, #1c2422);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.nc-site-list li::before {
  content: "• ";
  color: var(--ds-gold, #a56d16);
}

.nc-site-facts dl {
  display: grid;
  gap: .7rem;
  margin: .9rem 0 0;
}

.nc-site-facts dl > div {
  display: grid;
  gap: .15rem;
  min-width: 0;
  padding-block: .55rem;
  border-block-end: 1px solid color-mix(in srgb, var(--ds-border, #d5d0c5) 80%, transparent);
}

.nc-site-facts dt {
  color: var(--ds-muted, #64706c);
  font-size: .68rem;
  font-weight: 800;
}

.nc-site-facts dd {
  margin: 0;
  color: var(--ds-ink-strong, #071311);
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.nc-site-note,
.nc-site-disclaimer {
  margin: .85rem 0 0;
  color: var(--ds-muted, #64706c);
  font-size: .8rem;
  font-weight: 650;
  line-height: 1.85;
}

.nc-site-disclaimer { font-weight: 800; }

.nc-site-ltr {
  display: inline-block;
  direction: ltr;
  unicode-bidi: isolate;
}

.nc-site-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.15rem;
}

.nc-site-action,
.nc-site-steps a,
.nc-site-inline {
  display: inline-flex;
  min-height: 2.6rem;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: .45rem 1.1rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 900;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.nc-site-action,
button.nc-site-action {
  border: 1px solid var(--ds-gold, #a56d16);
  background: linear-gradient(180deg, color-mix(in srgb, var(--ds-gold, #a56d16) 86%, #fff), var(--ds-gold, #a56d16));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--ds-gold, #a56d16) 12%, transparent);
  color: var(--nc-on-gold, #14110c);
  cursor: pointer;
}

.nc-site-action--ghost,
.nc-site-steps a,
.nc-site-inline {
  border: 1px solid color-mix(in srgb, var(--ds-gold, #a56d16) 30%, var(--ds-border, #d5d0c5));
  background: transparent;
  box-shadow: none;
  color: var(--ds-ink-strong, #071311);
}

.nc-site-steps a,
.nc-site-inline { margin-top: .85rem; }

.nc-site-form { display: grid; gap: .9rem; margin-top: .9rem; }

.nc-site-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nc-site-fields label,
.nc-site-form label {
  display: grid;
  gap: .35rem;
  min-width: 0;
  color: var(--ds-muted, #64706c);
  font-size: .72rem;
  font-weight: 850;
}

.nc-site-fields__full { grid-column: 1 / -1; }

.nc-site-form input,
.nc-site-form select,
.nc-site-form textarea {
  width: 100%;
  min-height: 2.8rem;
  padding: .65rem .8rem;
  border: 1px solid var(--ds-border, #d5d0c5);
  border-radius: .7rem;
  background: var(--ds-surface-raised, #fff);
  color: var(--ds-ink, #1c2422);
  font: inherit;
}

.nc-site-form textarea { min-height: 9rem; resize: vertical; }

.nc-site-form .errorlist {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #9a3412;
  font-size: .72rem;
  font-weight: 800;
}

.nc-site-errors {
  padding: .7rem .85rem;
  border: 1px solid color-mix(in srgb, #9a3412 30%, var(--ds-border, #d5d0c5));
  border-radius: .8rem;
  background: #fff7ed;
  color: #9a3412;
  font-size: .82rem;
  font-weight: 800;
}

.nc-site-success {
  padding: .85rem 1rem;
  border: 1px solid color-mix(in srgb, var(--ds-teal, #0f766e) 28%, var(--ds-border, #d5d0c5));
  border-radius: .9rem;
  background: color-mix(in srgb, var(--ds-teal, #0f766e) 8%, var(--ds-surface, #fff));
}

.nc-site-success p { margin: 0; color: var(--ds-ink-strong, #071311); font-weight: 800; }

.nc-site-success p + p { margin-top: .35rem; font-weight: 700; }

.nc-site-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.nc-site-form { position: relative; }

html[data-market-theme="dark"] .nc-site-hero,
html[data-market-theme="dark"] .nc-site-card {
  border-color: color-mix(in srgb, var(--ds-gold, #e3b15e) 28%, var(--ds-border, #3a3a32));
  background: var(--ds-surface, #161410);
}

html[data-market-theme="dark"] .nc-site-hero {
  background:
    radial-gradient(ellipse at 8% 0%, color-mix(in srgb, var(--ds-gold, #e3b15e) 14%, transparent), transparent 18rem),
    linear-gradient(165deg, color-mix(in srgb, var(--ds-surface, #161410) 88%, #000), var(--ds-surface-raised, #1b1914));
}

html[data-market-theme="dark"] .nc-site-switch a {
  background: var(--ds-surface, #161410);
  color: var(--ds-ink, #f4efe6);
}

html[data-market-theme="dark"] .nc-site-hero h1,
html[data-market-theme="dark"] .nc-site-card h2,
html[data-market-theme="dark"] .nc-site-card h3,
html[data-market-theme="dark"] .nc-site-heading h2,
html[data-market-theme="dark"] .nc-site-facts dd,
html[data-market-theme="dark"] .nc-site-list li,
html[data-market-theme="dark"] .nc-site-action--ghost,
html[data-market-theme="dark"] .nc-site-steps a,
html[data-market-theme="dark"] .nc-site-inline,
html[data-market-theme="dark"] .nc-site-success p {
  color: var(--ds-ink-strong, #fffdf8);
}

html[data-market-theme="dark"] .nc-site-form input,
html[data-market-theme="dark"] .nc-site-form select,
html[data-market-theme="dark"] .nc-site-form textarea {
  background: var(--ds-surface-raised, #1b1914);
  color: var(--ds-ink, #f4efe6);
}

@media (max-width: 900px) {
  .nc-site-split,
  .nc-site-grid,
  .nc-site-grid--two,
  .nc-site-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body.ds-shell > main.nc-site-stage {
    padding-inline: .9rem;
  }

  .nc-site-fields {
    grid-template-columns: 1fr;
  }

  .nc-site-hero,
  .nc-site-card {
    padding-inline: 1rem;
  }

  .nc-site-action,
  .nc-site-steps a,
  .nc-site-inline {
    width: 100%;
    justify-content: center;
  }
}
