/* Purpose and consent: scoped refinements to the approved platinum and gold systems. */
.brand-page {
  font-variant-emoji: text;
}
.brand-decorative-icon {
  display: inline-block;
  flex: none;
  vertical-align: -0.15em;
}
.brand-page .skip-link {
  clip-path: inset(50%);
  background: #fff;
  color: #050a18;
}
.brand-page .skip-link:focus {
  clip-path: none;
}
.brand-page :where(a, button, summary, input):focus-visible {
  outline: 2px solid #ddd0ff;
  outline-offset: 5px;
}
.theme-swarn :where(a, button, summary, input):focus-visible {
  outline-color: #f1d99d;
}
.brand-page .brand-search {
  min-width: 44px;
  min-height: 44px;
}
.brand-page .brand-button,
.brand-page .brand-header-cta {
  border-radius: 7px;
  box-shadow:
    inset 0 1px #ffffff24,
    0 6px 18px #0002;
}
.brand-page .hero-actions .brand-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 48px;
  padding-inline: 0.5rem;
}
.brand-page .hero-copy {
  text-shadow: none;
}
.brand-page .hero-disclosure {
  max-width: 460px;
  font-size: 0.78rem;
  line-height: 1.65;
}
.theme-swarn .product-preview-section {
  border-block: 1px solid #f1d99d29;
  background: #130e1c;
  color: #f5f0e8;
}
.theme-swarn .product-preview-section .brand-eyebrow {
  color: #f1d99d;
}
.theme-swarn .product-preview-section .section-heading h2 {
  color: #f5f0e8;
}
.theme-swarn .product-preview-section .section-heading h2 span {
  color: #c4b5fd;
}
.theme-swarn .product-preview-section .section-heading > p:last-child,
.theme-swarn .preview-explainer {
  color: #c8bed2;
}
.theme-swarn .product-preview-frame {
  border-color: #8e7652;
  box-shadow: 0 28px 60px #0004;
}
.brand-page .purpose-triad article {
  background: linear-gradient(145deg, #141c31, #0d1426 75%);
}
.brand-page .purpose-triad h3 {
  letter-spacing: -0.025em;
  line-height: 1.2;
}
@media (min-width: 781px) {
  .brand-page .hq-hero,
  .brand-page .swarn-hero,
  .brand-page .hq-hero .hero-grid,
  .brand-page .swarn-hero .hero-grid {
    min-height: clamp(700px, 78svh, 820px);
  }
  .brand-page .hq-hero .hero-grid {
    padding-block: 4.5rem 5rem;
  }
  .brand-page .swarn-hero .hero-grid {
    padding-block: 4.8rem 9rem;
  }
  .brand-page .hq-hero .hero-copy h1 {
    font-size: clamp(3.2rem, 5.45vw, 5.1rem);
    line-height: 1.04;
    letter-spacing: -0.065em;
  }
  .brand-page .swarn-hero .hero-copy h1 {
    font-size: clamp(3.2rem, 5.15vw, 4.8rem);
    line-height: 1.035;
    letter-spacing: -0.06em;
  }
  .brand-page .hero-kicker {
    margin-bottom: 1.4rem;
  }
  .brand-page .hq-hero .hero-copy > p:not(.hero-kicker):not(.hero-disclosure),
  .brand-page .swarn-hero .hero-copy > p:not(.hero-kicker):not(.hero-disclosure) {
    max-width: 465px;
    font-size: 1.0625rem;
    line-height: 1.65;
    margin-top: 1.45rem;
  }
  .brand-page .hero-actions {
    margin-top: 1.7rem;
  }
}
@media (max-width: 780px) {
  .brand-page .hq-hero .hero-grid,
  .brand-page .swarn-hero .hero-grid {
    padding-top: 2.8rem;
  }
  .brand-page .hq-hero .hero-copy h1 {
    font-size: clamp(2.7rem, 10.5vw, 4.5rem);
    line-height: 1.06;
    letter-spacing: -0.062em;
  }
  .brand-page .swarn-hero .hero-copy h1 {
    font-size: clamp(2.35rem, 10.4vw, 4.3rem);
    line-height: 1.055;
    letter-spacing: -0.06em;
  }
  .brand-page .hero-kicker,
  .brand-page .swarn-hero .hero-kicker {
    margin-bottom: 1.2rem;
    font-size: 0.65rem;
  }
  .brand-page .hq-hero .hero-copy > p:not(.hero-kicker):not(.hero-disclosure),
  .brand-page .swarn-hero .hero-copy > p:not(.hero-kicker):not(.hero-disclosure) {
    margin-top: 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.65;
  }
  .brand-page .hero-actions,
  .brand-page .swarn-hero .hero-actions {
    margin-top: 1.5rem;
  }
  .brand-page .hero-disclosure {
    margin-top: 0.9rem;
    font-size: 0.75rem;
  }
  .brand-page .hq-hero .hero-art-stage,
  .brand-page .swarn-hero .hero-art-stage {
    height: clamp(290px, 66vw, 470px);
    margin-top: 0;
  }
  .brand-page .swarn-hero .hero-actions .brand-button {
    min-height: 48px;
    border-radius: 7px;
  }
}
@media (max-width: 360px) {
  .brand-page .hero-actions {
    gap: 0.5rem;
  }
  .brand-page .hero-actions .brand-button {
    padding-inline: 0.8rem;
  }
  .brand-page .hero-actions .brand-text-link {
    gap: 0.35rem;
    padding-inline: 0.1rem;
    font-size: 0.77rem;
  }
}

/* The HQ lesson reads like a small, inspectable record, not a verdict. */
.purpose-explorer {
  margin-top: 3.5rem;
  color: #eff1f8;
}
.purpose-explorer-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.instrument-eyebrow {
  margin: 0 0 0.75rem;
  color: #c4b5fd;
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.15em;
  line-height: 1.6;
  text-transform: uppercase;
}
.purpose-explorer-heading h3 {
  margin: 0;
  font:
    550 clamp(1.65rem, 2.5vw, 2.4rem)/1.15 var(--brand-body-font),
    sans-serif;
  letter-spacing: -0.045em;
}
.purpose-explorer-heading > p {
  max-width: 250px;
  margin: 0;
  color: #b9c2d8;
  font-size: 0.875rem;
  line-height: 1.6;
}
.purpose-explorer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.8rem;
  border-block: 1px solid #c4b5fd30;
}
.purpose-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.purpose-tabs button,
.instrument-reset {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: #bdc7de;
  padding: 0.65rem 1.2rem;
  font:
    550 0.875rem/1.3 var(--brand-body-font),
    sans-serif;
  cursor: pointer;
}
.purpose-tabs button[aria-selected='true'] {
  background: #c4b5fd1c;
  border-color: #a58bdd;
  color: #f0eaff;
}
@media (forced-colors: active) {
  .purpose-tabs button[aria-selected='true'] {
    text-decoration: underline 3px;
    text-underline-offset: 0.3em;
  }
}
.purpose-tabs button:hover,
.instrument-reset:hover {
  background: #c4b5fd14;
  color: #fff;
}
.instrument-reset {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  padding-inline: 0.5rem;
  font-size: 0.75rem;
}
.instrument-reset span {
  font-size: 1.2rem;
}
.purpose-scenario {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: 2.5rem 0;
}
.purpose-scenario-copy h4 {
  max-width: 390px;
  margin: 0.9rem 0 1rem;
  color: #f0f1f8;
  font:
    530 clamp(1.6rem, 2.4vw, 2.15rem)/1.18 var(--brand-body-font),
    sans-serif;
  letter-spacing: -0.04em;
}
.purpose-scenario-copy > p {
  max-width: 400px;
  color: #b9c2d8;
  font-size: 0.94rem;
  line-height: 1.7;
}
.purpose-scenario-copy .purpose-takeaway {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.8rem;
  color: #d7c9ff;
  font-size: 0.86rem;
}
.purpose-takeaway span {
  font-size: 1.2rem;
}
.purpose-record {
  position: relative;
  min-width: 0;
  border: 1px solid #8796b44d;
  border-radius: 8px;
  background: linear-gradient(135deg, #1b2540, #10182b 60%);
  box-shadow:
    0 16px 32px #0003,
    inset 0 1px #ffffff12;
  overflow: hidden;
}
.purpose-record::before {
  position: absolute;
  content: '';
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: #b29be6;
}
.purpose-record-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid #a3b3d92e;
  color: #c7d0e5;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-transform: uppercase;
}
.purpose-record dl {
  margin: 0;
  padding: 0 1.5rem;
}
.purpose-record-row {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 0.8rem;
  padding: 1rem 0;
  border-bottom: 1px solid #a3b3d926;
}
.purpose-record-row:last-child {
  border-bottom: 0;
}
.purpose-record dt {
  color: #d8c9ff;
  font-size: 0.8rem;
  font-weight: 600;
}
.purpose-record dt span {
  display: inline-block;
  margin-right: 0.8rem;
  color: #9cabc8;
  font-size: 0.62rem;
  font-variant-numeric: tabular-nums;
}
.purpose-record dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: #e0e5f0;
  font-size: 0.8rem;
  line-height: 1.65;
}
.purpose-record-foot {
  margin: 0;
  padding: 0.9rem 1.5rem;
  border-top: 1px dashed #a3b3d94d;
  color: #b9c2d8;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}
.instrument-boundary {
  margin: 0;
  color: #aebad2;
  font-size: 0.75rem;
  line-height: 1.7;
}
.purpose-static {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.purpose-static > p {
  color: #bdc7de;
  font-size: 0.85rem;
}
@media (max-width: 780px) {
  .purpose-explorer-heading {
    align-items: start;
    flex-direction: column;
    gap: 0.7rem;
  }
  .purpose-explorer-heading > p {
    max-width: none;
  }
  .purpose-scenario {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-block: 1.75rem;
  }
  .purpose-scenario-copy h4,
  .purpose-scenario-copy > p {
    max-width: 540px;
  }
  .purpose-scenario-copy .purpose-takeaway {
    margin-top: 1rem;
  }
}
@media (max-width: 480px) {
  .purpose-explorer-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 0.2rem;
  }
  .purpose-tabs button {
    flex: 1;
    padding-inline: 0.8rem;
  }
  .instrument-reset {
    align-self: start;
  }
  .purpose-record-top {
    padding-inline: 1.1rem;
    font-size: 0.6rem;
  }
  .purpose-record dl {
    padding-inline: 1.1rem;
  }
  .purpose-record-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
  .purpose-record-foot {
    padding-inline: 1.1rem;
  }
}

/* SWARN's instrument is deliberately quieter than the ribbon above it. */
.consent-lifecycle {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding-top: 2rem;
  border-top: 1px solid #f1d99d36;
  color: #f5f0e8;
}
.lifecycle-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.8rem;
}
.lifecycle-heading .instrument-eyebrow {
  color: #f1d99d;
}
.lifecycle-heading h3 {
  margin: 0;
  font:
    550 clamp(2rem, 3.4vw, 3.1rem)/1.08 var(--brand-display-font),
    sans-serif;
  letter-spacing: -0.05em;
}
.lifecycle-heading p:last-child {
  max-width: 540px;
  margin: 0.8rem 0 0;
  color: #c8bed2;
  font-size: 0.95rem;
  line-height: 1.7;
}
.lifecycle-local-label {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.2rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid #907a5380;
  border-radius: 4px;
  color: #ead6a9;
  font-size: 0.7rem;
  line-height: 1.5;
}
.lifecycle-local-label::before {
  content: '';
  width: 5px;
  height: 5px;
  background: #e2c895;
  border-radius: 50%;
}
.lifecycle-instrument {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #8e765269;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 50px #0003;
}
.lifecycle-choices,
.lifecycle-record {
  min-width: 0;
  padding: clamp(1.2rem, 2.7vw, 2.25rem);
  background: #110d18;
}
.lifecycle-record {
  border-left: 1px solid #8e76524d;
  background: linear-gradient(135deg, #251b2d, #191221 70%);
}
.instrument-panel-heading {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  color: #d6c39d;
  font-size: 0.61rem;
  font-weight: 650;
  line-height: 1.6;
  letter-spacing: 0.1em;
}
.instrument-panel-heading span:last-child {
  color: #bdaeca;
}
.lifecycle-choices fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.lifecycle-choices legend {
  padding: 0;
  color: #f5f0e8;
  font:
    500 1.2rem/1.3 var(--brand-display-font),
    sans-serif;
  letter-spacing: -0.025em;
}
.lifecycle-instruction {
  margin: 0.5rem 0 1rem;
  color: #c8bed2;
  font-size: 0.8rem;
  line-height: 1.65;
}
.lifecycle-choice {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  min-height: 90px;
  padding: 1rem;
  margin-bottom: 0.55rem;
  border: 1px solid #8d7a9b61;
  border-radius: 5px;
  background: #ffffff03;
  cursor: pointer;
}
.lifecycle-choice:has(input:checked) {
  border-color: #cdb67e;
  background: #f1d99d0a;
  box-shadow: inset 3px 0 #e1c58b;
}
.lifecycle-choice:hover {
  background: #f1d99d0c;
}
.lifecycle-choice input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0.1rem 0 0;
  accent-color: #f1d99d;
  color-scheme: dark;
}
.lifecycle-choice > span {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}
.lifecycle-choice strong {
  color: #f5f0e8;
  font-size: 0.91rem;
  font-weight: 600;
}
.lifecycle-choice span span {
  color: #c8bed2;
  font-size: 0.78rem;
  line-height: 1.6;
}
.lifecycle-choice small {
  color: #baa9c6;
  font-size: 0.66rem;
  line-height: 1.6;
}
.lifecycle-draft-status {
  min-height: 1.5em;
  margin: 1.2rem 0 0.5rem;
  color: #dccbaf;
  font-size: 0.73rem;
  line-height: 1.65;
}
.lifecycle-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.3rem;
}
.lifecycle-save {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 48px;
  padding: 0.8rem 1.1rem;
  border: 1px solid #f1d99d;
  border-radius: 5px;
  background: #f1d99d;
  color: #1a1220;
  font:
    650 0.8rem/1.4 var(--brand-body-font),
    sans-serif;
  cursor: pointer;
}
.lifecycle-save:hover:not([aria-disabled='true']) {
  background: #ffebbb;
}
.lifecycle-save[aria-disabled='true'],
.lifecycle-save:disabled {
  border-color: #8d7a9b;
  background: #241b2b;
  color: #c8bed2;
  cursor: default;
}
.consent-lifecycle .instrument-reset {
  color: #d1c4d9;
}
.lifecycle-record-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.7rem;
}
.lifecycle-record-symbol {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 48px;
  border: 1px solid #c4b5fd80;
  border-radius: 4px;
  color: #d5c5fc;
  background: #c4b5fd0a;
  font-size: 1.6rem;
}
.lifecycle-record-title h4 {
  margin: 0;
  color: #f5f0e8;
  font:
    500 1.3rem/1.3 var(--brand-display-font),
    sans-serif;
  letter-spacing: -0.03em;
}
.lifecycle-record-title p {
  margin: 0.35rem 0 0;
  color: #bbafc8;
  font-size: 0.69rem;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.lifecycle-record-choices {
  margin: 0;
  border-top: 1px solid #9c84af45;
}
.lifecycle-record-choices > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 0.95rem;
  border-bottom: 1px solid #9c84af45;
}
.lifecycle-record-choices dt {
  color: #ede4f2;
  font-size: 0.84rem;
}
.lifecycle-record-choices dd {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  align-items: center;
  justify-content: end;
  gap: 0.8rem;
  margin: 0;
}
.choice-state {
  color: #c4b5fd;
  font-size: 0.72rem;
  line-height: 1.6;
}
.choice-state[data-state='allowed'] {
  color: #f1d99d;
}
.choice-state[data-state='withdrawn'] {
  color: #e1c2f3;
}
.choice-state[data-state='pending'] {
  color: #bcaec8;
}
.lifecycle-record-choices button {
  max-width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.7rem;
  border: 1px solid #bda386;
  border-radius: 4px;
  background: transparent;
  color: #f1d99d;
  font:
    500 0.7rem/1.4 var(--brand-body-font),
    sans-serif;
  cursor: pointer;
}
.lifecycle-record-choices button[aria-disabled='true'] {
  border-color: #7e6b8940;
  color: #a899b7;
  cursor: default;
}
.lifecycle-record-choices button:hover:not([aria-disabled='true']) {
  background: #f1d99d14;
}
.lifecycle-truth {
  margin-top: 1.8rem;
  padding-left: 1rem;
  border-left: 2px solid #aa8cce;
}
.lifecycle-truth strong {
  display: block;
  color: #e6d9f2;
  font-size: 0.85rem;
  font-weight: 550;
  line-height: 1.6;
}
.lifecycle-truth p {
  margin: 0.6rem 0 0;
  color: #c8bed2;
  font-size: 0.77rem;
  line-height: 1.7;
}
.lifecycle-status {
  min-height: 2em;
  margin: 1.15rem 0 1.75rem;
  color: #e3d3b3;
  font-size: 0.8rem;
  line-height: 1.7;
}
.lifecycle-history {
  margin-bottom: 1.2rem;
  border-block: 1px solid #8e765254;
}
.lifecycle-history-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 1.1rem;
}
.lifecycle-history h4 {
  margin: 0;
  font:
    500 1.1rem/1.3 var(--brand-display-font),
    sans-serif;
}
.lifecycle-history-heading > span {
  color: #baaec7;
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
}
.lifecycle-empty-history {
  margin: 0 0 1.3rem;
  color: #c8bed2;
  font-size: 0.8rem;
  line-height: 1.65;
}
.lifecycle-history ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lifecycle-history li {
  display: flex;
  gap: 1.2rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid #9c84af33;
}
.lifecycle-event-number {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border: 1px solid #9c84af80;
  border-radius: 50%;
  color: #d8c8e6;
  font-size: 0.64rem;
  font-variant-numeric: tabular-nums;
}
.lifecycle-history li strong {
  color: #ece2f1;
  font-size: 0.84rem;
  font-weight: 550;
}
.lifecycle-history li p {
  margin: 0.35rem 0 0;
  color: #c8bed2;
  font-size: 0.75rem;
  line-height: 1.7;
}
.lifecycle-event-local {
  margin-left: auto;
  flex: none;
  color: #c4b5a1;
  font-size: 0.65rem;
  line-height: 2;
}
.consent-lifecycle .instrument-boundary,
.lifecycle-no-script {
  color: #bfb2cc;
}
.lifecycle-no-script {
  font-size: 0.85rem;
  line-height: 1.7;
}
@media (max-width: 1000px) {
  .lifecycle-record-choices > div {
    align-items: start;
    flex-direction: column;
    gap: 0.3rem;
  }
  .lifecycle-record-choices dd {
    justify-content: space-between;
    width: 100%;
  }
}
@media (max-width: 780px) {
  .lifecycle-heading {
    flex-direction: column;
    gap: 1rem;
  }
  .lifecycle-instrument {
    grid-template-columns: 1fr;
  }
  .lifecycle-record {
    border-top: 1px solid #8e76524d;
    border-left: 0;
  }
  .lifecycle-record-choices > div {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }
  .lifecycle-record-choices dd {
    width: auto;
    gap: 0.6rem;
  }
  .lifecycle-event-local {
    display: none;
  }
}
@media (max-width: 380px) {
  .lifecycle-record-choices > div {
    flex-direction: column;
    align-items: start;
  }
  .lifecycle-record-choices dd {
    width: 100%;
  }
  .lifecycle-choice {
    padding-inline: 0.8rem;
  }
}
@media (max-width: 780px) {
  .brand-page .hq-hero .hero-actions {
    gap: 0.7rem;
  }
  .brand-page .hq-hero .hero-actions .brand-button {
    padding-inline: 1rem;
    font-size: 0.82rem;
  }
  .brand-page .hq-hero .hero-actions .brand-text-link {
    gap: 0.4rem;
    padding-inline: 0;
    font-size: 0.78rem;
  }
}
