:root {
  --crema: #FAF7F2;
  --cuerpo: #4A5D70;
  --brand-blue: #162A3D;
  --brand-ivory: #F2EDE3;
  --brand-white: #FFFFFF;
  --brand-gold: #E8A24C;
  --brand-gold-text: #B97F35;
  --brand-petrol: #086380;
  --brand-line: rgba(22, 42, 61, .15);
  --brand-muted: #5E6E7D;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 18px;
}

.brand-center {
  max-width: 1180px;
  margin: 22px auto 58px;
  padding: 0 20px;
  color: var(--brand-blue);
}

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

.brand-center a:focus-visible,
.brand-center summary:focus-visible {
  outline: 3px solid var(--brand-gold);
  outline-offset: 3px;
}

.brand-center h2,
.brand-center h3,
.brand-center p {
  text-wrap: pretty;
}

.brand-center h2 {
  margin: 0;
  color: var(--brand-blue);
  font: 500 clamp(1.65rem, 3.2vw, 2.35rem)/1.12 Fraunces, Georgia, serif;
}

.brand-center h3 {
  margin: 0;
  color: var(--brand-blue);
  font: 600 1.1rem/1.25 Fraunces, Georgia, serif;
}

.brand-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid var(--brand-line);
  border-radius: 12px;
}

.brand-anchor-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  text-decoration: none;
}

.brand-anchor-nav a:hover,
.brand-anchor-nav a[aria-current="page"] {
  color: #fff;
  background: var(--brand-petrol);
}

.brand-hero {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  min-height: 530px;
  overflow: hidden;
  border: 1px solid rgba(22, 42, 61, .1);
  border-radius: 20px;
  background: var(--brand-blue);
  box-shadow: 0 22px 60px rgba(22, 42, 61, .12);
}

.brand-hero__stage {
  display: grid;
  place-items: center;
  min-height: 500px;
  padding: clamp(42px, 6vw, 84px);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, .7), transparent 60%),
    var(--brand-ivory);
}

.brand-hero__stage img {
  display: block;
  width: min(100%, 380px);
  height: auto;
}

.brand-hero__content {
  align-self: center;
  padding: clamp(34px, 5vw, 72px);
  color: rgba(255, 255, 255, .83);
}

.brand-hero__content h2 {
  max-width: 13ch;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
}

.brand-eyebrow,
.brand-kicker {
  margin: 0 0 10px;
  color: var(--brand-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .17em;
  line-height: 1.35;
  text-transform: uppercase;
}

.brand-hero__content .brand-eyebrow {
  color: var(--brand-gold);
}

.brand-lead {
  max-width: 60ch;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 16px;
  line-height: 1.7;
}

.brand-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 25px 0;
}

.brand-status span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  color: rgba(255, 255, 255, .8);
  font-size: 11px;
}

.brand-status b {
  color: #fff;
  font-size: 10px;
  letter-spacing: .08em;
}

.brand-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.brand-btn--gold {
  color: var(--brand-blue);
  background: var(--brand-gold);
}

.brand-btn--gold:hover {
  background: #F0B25E;
}

.brand-btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .06);
}

.brand-btn--ghost:hover {
  background: rgba(255, 255, 255, .13);
}

.brand-microcopy {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .65);
  font-size: 11.5px;
}

.brand-microcopy a {
  color: #fff;
}

.brand-section-heading {
  max-width: 760px;
  margin: 68px 0 24px;
}

.brand-section-heading > p:last-child,
.brand-meaning__intro > p:last-child {
  max-width: 68ch;
  margin: 12px 0 0;
  color: var(--brand-muted);
  font-size: 15px;
  line-height: 1.65;
}

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

.brand-logo-card {
  overflow: hidden;
  border: 1px solid var(--brand-line);
  border-radius: 14px;
  background: #fff;
}

.brand-logo-card--wide {
  grid-column: 1 / -1;
}

.brand-logo-stage {
  min-height: 270px;
  display: grid;
  place-items: center;
  padding: 36px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, .78), transparent 64%),
    var(--brand-ivory);
  border-bottom: 1px solid var(--brand-line);
}

.brand-logo-stage img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 220px;
}

.brand-logo-stage--compact img {
  width: min(100%, 430px);
}

.brand-logo-stage--extended {
  min-height: 220px;
}

.brand-logo-stage--extended img {
  width: min(92%, 850px);
}

.brand-logo-stage--symbol img {
  max-height: 190px;
}

.brand-logo-stage--wordmark img {
  width: min(100%, 360px);
}

.brand-logo-stage--wordmark-lineal img {
  width: min(100%, 520px);
}

.brand-logo-card__body {
  padding: 20px;
}

.brand-card-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  color: var(--brand-gold-text);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.brand-logo-card__body > p {
  min-height: 48px;
  margin: 8px 0 16px;
  color: var(--brand-muted);
  font-size: 13px;
  line-height: 1.55;
}

.brand-file-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.brand-file-actions a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border: 1px solid rgba(8, 99, 128, .24);
  border-radius: 7px;
  color: var(--brand-petrol);
  background: rgba(8, 99, 128, .05);
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}

.brand-file-actions a:hover {
  color: #fff;
  background: var(--brand-petrol);
}

.brand-secondary {
  margin-top: 18px;
  border: 1px solid var(--brand-line);
  border-radius: 14px;
  background: #fff;
}

.brand-secondary summary {
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 14px 18px;
  color: var(--brand-blue);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.brand-secondary__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0 16px 16px;
}

.brand-secondary__grid .brand-logo-card {
  border-radius: 10px;
}

.brand-meaning {
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
  gap: 34px;
  margin-top: 72px;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 18px;
  background: linear-gradient(135deg, #F4EFE6 0%, #DCE7E3 50%, #F4EFE6 100%);
}

.brand-meaning__intro {
  align-self: start;
  position: sticky;
  top: 20px;
}

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

.brand-meaning-grid article {
  min-height: 160px;
  padding: 18px;
  border: 1px solid var(--brand-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .86);
}

.brand-meaning-grid span {
  display: block;
  margin-bottom: 22px;
  color: var(--brand-gold-text);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.brand-meaning-grid p {
  margin: 7px 0 0;
  color: var(--brand-muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.brand-positioning {
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(0, 1.18fr);
  gap: 34px;
  margin-top: 22px;
  padding: clamp(30px, 5vw, 56px);
  overflow: hidden;
  border-radius: 18px;
  color: rgba(255, 255, 255, .82);
  background: var(--brand-blue);
}

.brand-positioning h2,
.brand-positioning h3 {
  color: #fff;
}

.brand-positioning__intro > p:last-child {
  margin: 18px 0 0;
  max-width: 58ch;
  font-size: 14px;
  line-height: 1.7;
}

.brand-positioning__statement {
  margin: 20px 0 0;
  max-width: 52ch;
  color: #fff;
  font: 500 clamp(1.08rem, 1.8vw, 1.35rem)/1.45 Fraunces, Georgia, serif;
}

.brand-positioning__decisions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brand-positioning__decisions li {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  background: rgba(255, 255, 255, .07);
}

.brand-positioning__decisions span {
  color: var(--brand-gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.brand-positioning__decisions h3 {
  max-width: 18ch;
}

.brand-positioning__ecosystem,
.brand-positioning blockquote {
  grid-column: 1 / -1;
}

.brand-positioning__ecosystem {
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.brand-positioning__ecosystem ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brand-positioning__ecosystem li {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.brand-positioning__status {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .66);
  font-size: 11px;
  line-height: 1.55;
}

.brand-positioning blockquote {
  margin: 0;
  padding: 0 0 0 20px;
  border-left: 3px solid var(--brand-gold);
}

.brand-positioning blockquote p {
  max-width: 45ch;
  margin: 0;
  color: #fff;
  font: 500 clamp(1.35rem, 2.8vw, 2rem)/1.3 Fraunces, Georgia, serif;
}

.brand-usage {
  margin-top: 70px;
}

.brand-color-demo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--brand-line);
  border-radius: 15px;
}

.brand-color-demo article {
  min-height: 300px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 25px;
}

.brand-color-demo__light {
  color: var(--brand-blue);
  background: var(--brand-ivory);
}

.brand-color-demo__dark {
  color: #fff;
  background: var(--brand-blue);
}

.brand-color-demo span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.brand-color-demo img {
  width: min(100%, 430px);
  height: auto;
  justify-self: center;
}

.brand-color-demo code {
  color: inherit;
  font-size: 11px;
}

.brand-selector {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--brand-line);
  border-radius: 12px;
  background: #fff;
}

.brand-selector__row {
  min-height: 74px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 100px minmax(180px, .7fr);
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--brand-line);
}

.brand-selector__row:last-child {
  border-bottom: 0;
}

.brand-selector__row div {
  display: grid;
  gap: 3px;
}

.brand-selector__row b {
  color: var(--brand-blue);
  font-size: 13px;
}

.brand-selector__row span {
  color: var(--brand-muted);
  font-size: 12px;
}

.brand-selector__row strong {
  color: var(--brand-gold-text);
  font-size: 11px;
  letter-spacing: .08em;
}

.brand-selector__row code {
  color: var(--brand-petrol);
  font-size: 11px;
}

.brand-rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.brand-rule-card {
  padding: 24px;
  border: 1px solid var(--brand-line);
  border-radius: 12px;
  background: #fff;
}

.brand-rule-card--do {
  border-top: 4px solid var(--brand-petrol);
}

.brand-rule-card--dont {
  border-top: 4px solid var(--brand-gold);
}

.brand-rule-card ul {
  margin: 14px 0 0;
  padding-left: 19px;
  color: var(--brand-muted);
  font-size: 13px;
  line-height: 1.75;
}

.brand-download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr);
  gap: 32px;
  align-items: center;
  margin-top: 18px;
  padding: clamp(28px, 5vw, 50px);
  border-radius: 16px;
  color: rgba(255, 255, 255, .8);
  background: var(--brand-blue);
}

.brand-download-panel h3 {
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.brand-download-panel p:not(.brand-eyebrow) {
  max-width: 64ch;
  margin: 11px 0 0;
  line-height: 1.65;
}

.brand-download-panel__actions {
  display: grid;
  gap: 9px;
}

.brand-ai-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
  gap: 28px;
  margin-top: 18px;
  padding: 28px;
  border: 1px solid var(--brand-line);
  border-radius: 14px;
  background: #fff;
}

.brand-ai-panel p:not(.brand-kicker) {
  margin: 9px 0 0;
  color: var(--brand-muted);
  font-size: 13px;
  line-height: 1.65;
}

.brand-cobrand ul {
  margin: 0;
  padding-left: 19px;
  color: var(--brand-muted);
  font-size: 13px;
  line-height: 1.75;
}

.brand-ai-links {
  display: grid;
  gap: 8px;
}

.brand-ai-links a {
  min-height: 62px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 10px 14px;
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  color: var(--brand-blue);
  background: var(--brand-ivory);
  text-decoration: none;
}

.brand-ai-links a:hover {
  border-color: var(--brand-petrol);
}

.brand-ai-links span {
  font-size: 12px;
  font-weight: 750;
}

.brand-ai-links code {
  color: var(--brand-petrol);
  font-size: 11px;
}

@media (max-width: 920px) {
  .brand-hero {
    grid-template-columns: minmax(270px, .8fr) minmax(0, 1fr);
  }

  .brand-hero__stage {
    padding: 42px;
  }

  .brand-meaning {
    grid-template-columns: 1fr;
  }

  .brand-meaning__intro {
    position: static;
  }

  .brand-positioning {
    grid-template-columns: 1fr;
  }

  .brand-positioning__ecosystem,
  .brand-positioning blockquote {
    grid-column: auto;
  }

  .brand-selector__row {
    grid-template-columns: minmax(180px, 1fr) 90px minmax(150px, .7fr);
  }

  .brand-download-panel,
  .brand-ai-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .brand-center {
    margin-top: 14px;
    padding: 0 16px;
  }

  .brand-anchor-nav {
    gap: 6px;
  }

  .brand-anchor-nav a {
    flex: 1 1 calc(33.333% - 6px);
    padding-inline: 9px;
  }

  .brand-hero {
    grid-template-columns: 1fr;
  }

  .brand-hero__stage {
    min-height: 380px;
  }

  .brand-hero__stage img {
    max-height: 300px;
  }

  .brand-logo-grid,
  .brand-secondary__grid,
  .brand-color-demo,
  .brand-rules-grid {
    grid-template-columns: 1fr;
  }

  .brand-logo-card--wide {
    grid-column: auto;
  }

  .brand-selector__row {
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
  }

  .brand-selector__row code {
    grid-column: 1 / -1;
  }
}

@media (max-width: 440px) {
  .brand-anchor-nav a {
    flex-basis: calc(50% - 6px);
  }

  .brand-hero__stage {
    min-height: 315px;
    padding: 34px;
  }

  .brand-hero__content {
    padding: 28px 22px 32px;
  }

  .brand-hero__content h2 {
    max-width: none;
  }

  .brand-actions,
  .brand-actions .brand-btn {
    width: 100%;
  }

  .brand-section-heading {
    margin-top: 52px;
  }

  .brand-logo-stage {
    min-height: 230px;
    padding: 28px;
  }

  .brand-logo-stage--vertical img,
  .brand-logo-stage--symbol img {
    max-height: 180px;
  }

  .brand-logo-card__body > p {
    min-height: auto;
  }

  .brand-file-actions a {
    min-height: 44px;
  }

  .brand-meaning {
    margin-inline: -4px;
    padding: 24px 18px;
  }

  .brand-meaning-grid {
    grid-template-columns: 1fr;
  }

  .brand-meaning-grid article {
    min-height: 0;
  }

  .brand-positioning {
    margin-inline: -4px;
    padding: 26px 18px;
  }

  .brand-positioning__decisions {
    grid-template-columns: 1fr;
  }

.brand-positioning__decisions li {
    min-height: 98px;
  }

  .brand-color-demo article {
    min-height: 250px;
    padding: 22px;
  }

  .brand-rule-card,
  .brand-ai-panel {
    padding: 22px;
  }

  .brand-download-panel {
    padding: 28px 22px;
  }
}

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