:root {
  --ink: #0b1220;
  --muted: #5b667a;
  --subtle: #7b8798;
  --paper: #ffffff;
  --canvas: #f8fafc;
  --soft: #f1f5f9;
  --soft-blue: #edf5ff;
  --line: #d9e2ee;
  --line-strong: #b9c7da;
  --blue: #1d4ed8;
  --blue-dark: #0f2a6b;
  --cyan: #0891b2;
  --amber: #d97706;
  --amber-soft: #fff7e6;
  --danger: #d64a32;
  --danger-soft: #fff0ed;
  --shadow: 0 18px 48px rgba(15, 42, 107, 0.08);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

img,
svg {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(8, 145, 178, 0.35);
  outline-offset: 3px;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  z-index: 1000;
  left: 16px;
  top: 16px;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  min-height: 72px;
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 248px;
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration: none;
}

.brand__mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 850;
}

.brand__mark img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.brand strong {
  display: block;
  font-size: 16px;
  line-height: 1.15;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  min-width: max-content;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0 9px;
  border-radius: 6px;
  color: #1e293b;
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: var(--soft-blue);
  color: var(--blue-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 19px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  border: 1px solid var(--blue);
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  font-weight: 780;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
}

.button--secondary {
  background: #fff;
  color: var(--blue-dark);
  border-color: var(--line);
}

.button--secondary:hover {
  background: var(--soft-blue);
  color: var(--blue-dark);
  border-color: #bfd1e9;
}

.button--light {
  background: #fff;
  color: var(--blue-dark);
  border-color: #fff;
}

.button--light:hover {
  background: var(--soft-blue);
  border-color: var(--soft-blue);
}

.button--small {
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
}

.header-cta {
  flex: 0 0 auto;
}

.hero {
  min-height: min(642px, calc(100vh - 72px));
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(29, 78, 216, 0.045) 0 1px, transparent 1px 88px),
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.92fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
  padding: clamp(56px, 7vw, 96px) 0;
}

.hero__copy {
  max-width: 720px;
}

.section-label {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
}

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

h1 {
  max-width: 840px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5.2vw, 66px);
  line-height: 1.01;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

p {
  color: var(--muted);
}

.hero__lead {
  max-width: 680px;
  color: #34445f;
  font-size: 19px;
}

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

.hero-visual {
  min-height: 410px;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

figure.media-frame {
  margin: 0;
}

.media-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-media {
  min-height: 410px;
  isolation: isolate;
}

.hero-media img {
  min-height: 410px;
  object-position: center center;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 16, 32, 0) 56%, rgba(8, 16, 32, 0.42) 100%);
  pointer-events: none;
}

.hero-media__note {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.hero-media__note strong {
  color: var(--blue-dark);
  font-size: 16px;
  line-height: 1.25;
}

.hero-media__note span {
  color: #475569;
  font-size: 14px;
  line-height: 1.45;
}

.image-band {
  background: var(--soft);
}

.section {
  padding: clamp(62px, 8vw, 96px) 0;
}

.section--compact {
  padding-top: clamp(42px, 6vw, 68px);
}

.section--tint {
  background: var(--canvas);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-head p {
  max-width: 660px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card,
.panel,
.form-card,
.stat,
.glossary-grid article,
.article-sidebar,
.beneficiary-card,
.resource-list a,
.form-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.card {
  min-height: 214px;
  padding: 24px;
}

.card-mark {
  display: block;
  width: 38px;
  height: 4px;
  margin-bottom: 26px;
  border-radius: 3px;
  background: var(--blue);
}

.card p,
.panel p,
.form-summary p {
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 5vw, 52px);
  align-items: start;
}

.split--reverse {
  grid-template-columns: minmax(380px, 0.92fr) minmax(0, 1fr);
}

.panel {
  padding: 28px;
}

.panel--warning {
  border-color: #f2c7bf;
  background: var(--danger-soft);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 13px;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  color: #344154;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px var(--soft-blue);
}

.checklist--warning li::before {
  background: var(--danger);
  box-shadow: 0 0 0 5px var(--danger-soft);
}

.page-hero {
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}

.page-hero__inner {
  min-height: 330px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.58fr);
  gap: clamp(28px, 5vw, 52px);
  align-items: center;
  padding: clamp(54px, 7vw, 82px) 0;
}

.page-hero .hero-media {
  min-height: 280px;
}

.page-hero .hero-media img {
  min-height: 280px;
}

.page-hero p {
  max-width: 760px;
  font-size: 18px;
}

.beneficiary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.beneficiary-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
}

.beneficiary-card__top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.beneficiary-card h3 {
  margin-bottom: 2px;
}

.beneficiary-card__top p {
  margin: 0;
  font-size: 14px;
}

.beneficiary-avatar,
.beneficiary-photo {
  width: 52px;
  height: 52px;
  border-radius: 8px;
}

.beneficiary-avatar {
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 850;
}

.beneficiary-photo {
  object-fit: cover;
  background: var(--soft);
}

.beneficiary-contact {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 8px;
  background: var(--soft-blue);
}

.beneficiary-contact a,
.beneficiary-contact span {
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
  word-break: break-word;
}

.beneficiary-details {
  display: grid;
  gap: 12px;
  margin: 0;
}

.beneficiary-details div {
  display: grid;
  gap: 3px;
}

.beneficiary-details dt {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.beneficiary-details dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.status-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 820;
}

.status-pill--active {
  background: #dbeafe;
  color: var(--blue-dark);
}

.status-pill--review {
  background: var(--amber-soft);
  color: #80510a;
}

.status-pill--new {
  background: var(--danger-soft);
  color: #963422;
}

.beneficiary-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.45fr);
  gap: clamp(28px, 5vw, 48px);
  align-items: start;
}

.profile-summary {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
}

.profile-summary span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.profile-summary strong {
  color: var(--blue-dark);
  font-size: 23px;
  line-height: 1;
}

.resource-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.resource-list--large {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resource-list a {
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.resource-list a:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.resource-list span {
  color: var(--cyan);
  font-size: 14px;
  font-weight: 850;
}

.resource-list strong {
  font-size: 18px;
  line-height: 1.35;
}

.form-card {
  padding: 28px;
}

.intake-form {
  display: grid;
  gap: 24px;
}

.form-intro p {
  margin-bottom: 24px;
}

.intake-form .form-intro p {
  margin-bottom: 0;
}

.field-group {
  min-width: 0;
  margin: 0;
  padding: 0 0 24px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.field-group:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
}

.field-group legend {
  padding: 0;
  margin-bottom: 14px;
  color: var(--blue-dark);
  font-size: 18px;
  font-weight: 820;
  line-height: 1.25;
}

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

label span,
.field-label {
  display: block;
  margin-bottom: 7px;
  color: #243044;
  font-size: 14px;
  font-weight: 760;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cbd7e5;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.14);
}

.form-wide {
  grid-column: 1 / -1;
}

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

.choice-grid label,
.acknowledgement {
  min-height: 48px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid #d6e1ec;
  border-radius: 7px;
  background: var(--canvas);
}

.choice-grid input,
.acknowledgement input {
  width: auto;
  min-height: auto;
  flex: 0 0 auto;
  margin: 4px 0 0;
  accent-color: var(--blue);
}

.choice-grid span,
.acknowledgement span {
  display: inline;
  margin: 0;
  color: #334155;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}

.acknowledgement {
  background: var(--amber-soft);
  border-color: #f3d48b;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.form-card .form-actions .button {
  margin-top: 0;
}

.form-actions .form-note {
  max-width: 360px;
  margin: 0;
}

.form-card .button {
  margin-top: 18px;
}

.form-note,
.form-status {
  margin: 12px 0 0;
  font-size: 14px;
}

.form-status:not(:empty) {
  padding: 12px;
  border-radius: 7px;
  background: var(--soft-blue);
  color: var(--blue-dark);
}

.intake-form.is-terms-locked {
  opacity: 0.58;
  pointer-events: none;
}

.terms-gate[hidden] {
  display: none;
}

.terms-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(3, 12, 28, 0.76);
  backdrop-filter: blur(10px);
}

.terms-gate__panel {
  width: min(100%, 640px);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: 8px;
  background: #f8fbff;
  box-shadow: 0 32px 100px rgba(2, 8, 23, 0.46);
}

.terms-gate__panel h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.06;
}

.terms-gate__panel p {
  color: var(--muted);
}

.terms-gate__panel .checklist {
  margin-top: 18px;
}

.terms-gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.terms-gate__actions .button {
  margin-top: 0;
}

body.terms-gate-open {
  overflow: hidden;
}

.form-summary {
  padding: 26px;
}

.form-summary h2 {
  font-size: 27px;
}

.form-summary .notice {
  margin-top: 18px;
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.glossary-grid article {
  min-height: 178px;
  padding: 22px;
}

.glossary-grid h2 {
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 22px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}

.article {
  max-width: 780px;
}

.article h2 {
  margin-top: 34px;
}

.article h2:first-child {
  margin-top: 0;
}

.article-sidebar {
  position: sticky;
  top: 96px;
  padding: 24px;
}

.article-sidebar .button {
  width: 100%;
  margin-top: 22px;
}

.text-link {
  color: var(--blue-dark);
  font-weight: 820;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.notice {
  margin-top: 22px;
  padding: 16px;
  border-left: 4px solid var(--amber);
  border-radius: 0 8px 8px 0;
  background: var(--amber-soft);
  color: #3f321e;
}

.process {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.process li {
  min-height: 220px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.process li:last-child {
  border-right: 0;
}

.process span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 820;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--canvas);
  color: var(--blue-dark);
  font-size: 14px;
}

tr:last-child td {
  border-bottom: 0;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border-radius: 8px;
  background: var(--blue-dark);
  color: #fff;
}

.cta-band h2,
.cta-band p {
  color: #fff;
  margin-bottom: 0;
}

.cta-band .section-label {
  color: #b8d9ff;
  margin-bottom: 8px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stat {
  min-height: 160px;
  padding: 24px;
}

.stat strong {
  display: block;
  color: var(--blue-dark);
  font-size: 46px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
}

.mini-calendar {
  display: grid;
  gap: 10px;
}

.mini-calendar span {
  display: block;
  padding: 12px 14px;
  border-radius: 7px;
  background: var(--canvas);
  color: #334155;
  font-weight: 680;
}

.document-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.document-panel--front {
  position: relative;
  z-index: 2;
  width: min(100%, 440px);
  margin-left: auto;
  padding: 28px;
}

.document-panel--back {
  position: absolute;
  inset: 72px 34px auto auto;
  width: 320px;
  height: 300px;
  background: var(--canvas);
  transform: translate(-18px, 48px) rotate(-3deg);
}

.document-panel__tag,
.stamp {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 6px;
  background: var(--amber-soft);
  color: #79510d;
  font-size: 13px;
  font-weight: 820;
}

.stamp {
  position: absolute;
  right: 20px;
  bottom: 24px;
  border: 1px solid #f3d48b;
}

.meter {
  height: 10px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--soft);
  margin: 24px 0;
}

.meter span {
  display: block;
  height: 100%;
  background: var(--blue);
}

.ledger-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.ledger-row span {
  color: var(--muted);
}

.site-contact-list {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  color: #cbd5e1;
  font-size: 14px;
}

.site-contact-list a {
  color: inherit;
  text-decoration: none;
}

.site-contact-list a:hover {
  color: #fff;
}

.footer {
  border-top: 1px solid #162235;
  background: #08111f;
  color: #fff;
}

.footer p,
.footer small,
.footer li,
.footer a {
  color: #d8e0ec;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.9fr;
  gap: 40px;
  padding: 54px 0 34px;
}

.brand--footer {
  margin-bottom: 18px;
}

.footer h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 17px;
}

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

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-notes {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer__bottom {
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__bottom p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 1280px) {
  .site-header__inner {
    gap: 12px;
  }

  .brand {
    min-width: 220px;
  }

  .site-nav a {
    padding: 0 7px;
    font-size: 13px;
  }

  .button--small.header-cta {
    padding: 0 12px;
    font-size: 13px;
  }
}

@media (max-width: 1080px) {
  .wrap {
    width: min(100% - 32px, 760px);
  }

  .site-header__inner {
    min-height: 68px;
    flex-wrap: nowrap;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    width: auto;
    min-width: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    justify-content: center;
  }

  .hero {
    min-height: auto;
  }

  .hero__grid,
  .page-hero__inner,
  .split,
  .split--reverse,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    padding: 46px 0;
    gap: 30px;
  }

  .hero-visual,
  .hero-media,
  .hero-media img {
    min-height: 330px;
  }

  .page-hero__inner {
    min-height: auto;
    padding: 48px 0;
  }

  .feature-grid,
  .beneficiary-grid,
  .beneficiary-info,
  .process,
  .resource-list,
  .resource-list--large,
  .stats-grid,
  .glossary-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .process li {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process li:last-child {
    border-bottom: 0;
  }

  .form-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-sidebar {
    position: static;
  }
}

@media (max-width: 520px) {
  .site-header__inner {
    width: min(100% - 24px, 100%);
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 14px;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .button {
    min-height: 48px;
  }

  .card,
  .panel,
  .form-card,
  .form-summary,
  .cta-band,
  .beneficiary-card,
  .resource-list a {
    padding: 20px;
  }

  .hero-media,
  .hero-media img,
  .page-hero .hero-media,
  .page-hero .hero-media img {
    min-height: 250px;
  }

  .hero-media__note {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 12px;
  }

  .document-panel--front {
    padding: 20px;
  }

  .document-panel--back {
    width: 245px;
    height: 245px;
    transform: translate(-4px, 58px) rotate(-3deg);
  }
}

/* Minimal flow redesign v3: visibly different page rhythm and layout. */
.hero {
  min-height: auto;
  background: #fff;
}

.hero__grid {
  grid-template-columns: 1fr;
  gap: 36px;
  padding: clamp(64px, 8vw, 104px) 0 56px;
}

.hero__copy {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}

.hero__copy h1 {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(48px, 6.4vw, 86px);
}

.hero__lead {
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  justify-content: center;
}

.hero-visual {
  min-height: 0;
}

.hero .hero-media {
  min-height: 360px;
  aspect-ratio: 16 / 5.4;
}

.hero .hero-media img {
  min-height: 360px;
}

.page-hero {
  background: #fff;
}

.page-hero__inner {
  min-height: auto;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: clamp(56px, 8vw, 90px) 0 54px;
}

.page-hero__inner > div:first-child {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.page-hero h1 {
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(42px, 5.5vw, 72px);
}

.page-hero p {
  margin-left: auto;
  margin-right: auto;
}

.page-hero .hero-media {
  min-height: 310px;
  aspect-ratio: 16 / 5.2;
}

.page-hero .hero-media img {
  min-height: 310px;
}

.media-frame {
  box-shadow: none;
}

.section {
  padding: clamp(56px, 7vw, 86px) 0;
}

.section-head {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: end;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.section-head .section-label {
  margin-bottom: 0;
}

.section-head h2 {
  margin-bottom: 0;
}

.section-head p {
  max-width: 700px;
}

.feature-grid,
.beneficiary-grid,
.glossary-grid,
.stats-grid {
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature-grid .card,
.beneficiary-card,
.glossary-grid article,
.stat {
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
}

.feature-grid .card {
  min-height: 0;
  padding: 28px 28px 28px 0;
}

.feature-grid .card + .card,
.beneficiary-card + .beneficiary-card,
.glossary-grid article + article {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.card-mark {
  width: 28px;
  height: 2px;
  margin-bottom: 22px;
}

.split,
.split--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
}

.panel,
.form-card,
.form-summary,
.resource-list a {
  box-shadow: none;
}

.panel {
  background: var(--canvas);
}

.resource-list {
  gap: 0;
  border-top: 1px solid var(--line);
}

.resource-list a {
  min-height: 118px;
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
}

.resource-list a:hover {
  background: var(--canvas);
  transform: none;
}

.form-card,
.form-summary {
  background: #fff;
}

.form-card {
  padding: clamp(28px, 4vw, 42px);
}

.form-card h2 {
  font-size: clamp(30px, 4vw, 46px);
}

.field-group {
  padding-bottom: 28px;
}

.footer {
  margin-top: 0;
}

@media (max-width: 1080px) {
  .hero__copy,
  .page-hero__inner > div:first-child {
    text-align: left;
    margin: 0;
  }

  .hero__actions {
    justify-content: flex-start;
  }

  .section-head,
  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }

  .feature-grid .card,
  .beneficiary-card,
  .glossary-grid article,
  .stat {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 520px) {
  .hero .hero-media,
  .hero .hero-media img,
  .page-hero .hero-media,
  .page-hero .hero-media img {
    min-height: 280px;
    aspect-ratio: auto;
  }
}

/* Dark agency direction inspired by the requested reference, adapted for this brand/content. */
:root {
  --ink: #f5f7ee;
  --muted: #a8b8d4;
  --subtle: #7688a8;
  --paper: #030916;
  --canvas: #07111f;
  --soft: #0b1728;
  --soft-blue: rgba(56, 189, 248, 0.12);
  --line: rgba(245, 247, 238, 0.14);
  --line-strong: rgba(245, 247, 238, 0.28);
  --blue: #38bdf8;
  --blue-dark: #8bdcff;
  --cyan: #7dd3fc;
  --amber: #60a5fa;
  --amber-soft: rgba(56, 189, 248, 0.14);
  --danger: #ff7b5f;
  --danger-soft: rgba(255, 123, 95, 0.12);
  --shadow: 0 28px 90px rgba(2, 6, 23, 0.42);
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 76% 10%, rgba(56, 189, 248, 0.12), transparent 24%),
    linear-gradient(180deg, #020617 0%, #07111f 48%, #020617 100%);
}

html {
  background: #020617;
}

p,
.hero__lead,
.page-hero p,
.beneficiary-details dd,
.stat span {
  color: var(--muted);
}

.site-header {
  padding: 16px 0 0;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

.site-header__inner {
  min-height: 66px;
  width: min(1152px, calc(100% - 48px));
  padding: 0 14px 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 9, 8, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brand {
  color: var(--ink);
}

.brand__mark {
  border-radius: 12px;
  background: var(--blue);
  color: #031225;
}

.brand small {
  color: var(--muted);
}

.site-nav a {
  color: rgba(245, 247, 238, 0.72);
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(245, 247, 238, 0.08);
  color: var(--ink);
}

.nav-toggle {
  border-color: var(--line);
  background: rgba(245, 247, 238, 0.06);
  color: var(--ink);
}

.button {
  border-color: var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: #031225;
}

.button:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  color: #031225;
}

.button--secondary,
.button--light {
  border-color: var(--line);
  background: rgba(245, 247, 238, 0.03);
  color: var(--ink);
}

.button--secondary:hover,
.button--light:hover {
  border-color: var(--line-strong);
  background: rgba(245, 247, 238, 0.08);
  color: var(--ink);
}

.hero,
.page-hero,
.section--tint {
  background: transparent;
  border-bottom-color: var(--line);
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: calc(100vh - 82px);
  background: #020617;
}

.hero__grid {
  position: relative;
  z-index: 2;
  padding-top: clamp(72px, 10vw, 132px);
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #020617;
  pointer-events: none;
}

.hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, 177.78vh);
  height: max(56.25vw, 100vh);
  min-width: 100%;
  min-height: 100%;
  border: 0;
  transform: translate(-50%, -50%) scale(1.08);
  opacity: 0.46;
  mix-blend-mode: normal;
  filter: saturate(1.25) contrast(1.12) brightness(0.92);
  transition: opacity 260ms ease;
}

.hero-video.is-loaded iframe {
  opacity: 0.6;
}

.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(56, 189, 248, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.76) 0%, rgba(2, 6, 23, 0.68) 42%, rgba(2, 6, 23, 0.94) 100%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.48) 50%, rgba(2, 6, 23, 0.9) 100%);
}

.section-label {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(245, 247, 238, 0.04);
  font-size: 12px;
  text-transform: uppercase;
}

.section-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.82);
}

.hero__copy .section-label,
.page-hero__inner > div:first-child .section-label {
  margin-left: auto;
  margin-right: auto;
}

h1 {
  color: var(--ink);
  font-weight: 900;
}

h2,
h3,
.resource-list strong {
  color: var(--ink);
}

.hero__copy h1 {
  font-size: clamp(58px, 9vw, 138px);
  line-height: 0.9;
}

.page-hero h1 {
  font-size: clamp(50px, 7vw, 102px);
  line-height: 0.92;
}

.hero-media,
.page-hero .hero-media {
  border-color: var(--line);
  background: #0f120f;
  box-shadow: 0 32px 120px rgba(0, 0, 0, 0.45);
}

.hero-media::after {
  background:
    linear-gradient(180deg, rgba(6, 7, 6, 0) 42%, rgba(6, 7, 6, 0.66) 100%),
    linear-gradient(90deg, rgba(56, 189, 248, 0.12), transparent 34%);
}

.hero-media__note {
  border-color: rgba(245, 247, 238, 0.18);
  border-radius: 18px;
  background: rgba(8, 9, 8, 0.78);
  backdrop-filter: blur(16px);
}

.hero-media__note strong {
  color: var(--ink);
}

.hero-media__note span {
  color: var(--muted);
}

.section {
  border-bottom: 1px solid var(--line);
}

.section-head {
  border-bottom-color: var(--line);
}

.feature-grid,
.beneficiary-grid,
.glossary-grid,
.stats-grid,
.resource-list {
  border-top-color: var(--line);
}

.card,
.panel,
.form-card,
.stat,
.glossary-grid article,
.article-sidebar,
.beneficiary-card,
.resource-list a,
.form-summary,
.table-wrap,
.document-panel {
  border-color: var(--line);
  background: rgba(245, 247, 238, 0.035);
}

.feature-grid .card,
.beneficiary-card,
.glossary-grid article,
.stat,
.resource-list a {
  border-color: var(--line);
}

.feature-grid .card + .card,
.beneficiary-card + .beneficiary-card,
.glossary-grid article + article {
  border-left-color: var(--line);
}

.card-mark,
.meter span,
.process span {
  background: var(--blue);
}

.panel,
.form-summary {
  background: rgba(245, 247, 238, 0.05);
}

.panel--warning {
  border-color: rgba(255, 123, 95, 0.32);
  background: var(--danger-soft);
}

.checklist li {
  color: var(--ink);
}

.checklist li::before {
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(56, 189, 248, 0.14);
}

.resource-list a:hover {
  background: rgba(245, 247, 238, 0.06);
}

.beneficiary-avatar {
  background: var(--blue);
  color: #031225;
}

.beneficiary-contact,
.mini-calendar span {
  background: rgba(56, 189, 248, 0.1);
}

.beneficiary-contact a,
.beneficiary-contact span,
.beneficiary-details dt,
.profile-summary strong,
.glossary-grid h2,
.stat strong,
.field-group legend,
.text-link,
.resource-list span {
  color: var(--blue);
}

.profile-summary span,
.process,
.process li,
.table-wrap,
th,
td,
.field-group,
.choice-grid label,
.acknowledgement,
.notice {
  border-color: var(--line);
}

.status-pill--active {
  background: rgba(56, 189, 248, 0.15);
  color: var(--blue);
}

.status-pill--review,
.status-pill--new,
.acknowledgement,
.notice {
  background: rgba(245, 247, 238, 0.06);
  color: var(--ink);
}

.form-card,
.form-summary {
  background: rgba(245, 247, 238, 0.04);
}

label span,
.field-label,
.choice-grid span,
.acknowledgement span {
  color: var(--ink);
}

input,
select,
textarea {
  border-color: var(--line);
  background: rgba(245, 247, 238, 0.06);
  color: var(--ink);
}

input::placeholder,
textarea::placeholder {
  color: rgba(245, 247, 238, 0.45);
}

select option {
  color: #031225;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.16);
}

th {
  background: rgba(245, 247, 238, 0.07);
  color: var(--ink);
}

.cta-band,
.footer {
  background: #050605;
}

.footer {
  border-top-color: var(--line);
}

.footer p,
.footer small,
.footer li,
.footer a {
  color: var(--muted);
}

@media (max-width: 1080px) {
  .site-header__inner {
    border-radius: 24px;
  }

  .site-nav {
    border-color: var(--line);
    background: #070807;
  }

  .hero__copy .section-label,
  .page-hero__inner > div:first-child .section-label {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-top: 8px;
  }

  .site-header__inner {
    width: min(100% - 24px, 100%);
  }

  .hero__copy h1 {
    font-size: clamp(48px, 15vw, 64px);
  }

  .page-hero h1 {
    font-size: clamp(42px, 13vw, 56px);
  }
}

/* Transparent wallet reward animation hero asset */
.hero .hero-media,
.page-hero .hero-media {
  display: grid;
  place-items: center;
  width: min(100%, 580px);
  min-height: 0;
  aspect-ratio: auto;
  margin-inline: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.page-hero .hero-media {
  min-height: 0;
}

.hero .hero-media img,
.page-hero .hero-media img {
  width: min(100%, 560px);
  height: auto;
  max-width: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  transform: none;
  filter: drop-shadow(0 34px 70px rgba(0, 0, 0, 0.46));
}

.page-hero .hero-media--banner {
  width: min(100%, 820px);
}

.page-hero .hero-media--banner img {
  width: min(100%, 820px);
  border-radius: 0;
  filter: drop-shadow(0 28px 68px rgba(5, 20, 45, 0.34));
}

.hero-media::after {
  display: none;
}

.hero-media__note {
  position: static;
  width: min(100%, 720px);
  margin: 18px auto 0;
  transform: none;
}

@media (max-width: 640px) {
  .hero .hero-media,
  .page-hero .hero-media {
    min-height: 0;
    padding: 0;
  }

  .hero .hero-media img,
  .page-hero .hero-media img {
    width: 100%;
    height: auto;
    max-width: 100%;
    transform: none;
  }

  .hero-media__note {
    width: min(100%, 520px);
  }
}

/* Light modal contrast override: this sits after the dark theme variables on purpose. */
.terms-gate__panel {
  color: #102033;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.98));
  border-color: rgba(56, 189, 248, 0.42);
}

.terms-gate__panel .section-label {
  color: #1769aa;
}

.terms-gate__panel h2 {
  color: #071426;
}

.terms-gate__panel p,
.terms-gate__panel .checklist li {
  color: #334965;
}

.terms-gate__panel .checklist {
  gap: 12px;
}

.terms-gate__panel .checklist li::before {
  background: #38bdf8;
  box-shadow: 0 0 0 5px rgba(56, 189, 248, 0.16);
}

.terms-gate__actions .button--secondary {
  border-color: #bfd3ea;
  background: #ffffff;
  color: #12304f;
}

.terms-gate__actions .button--secondary:hover {
  border-color: #6fbdec;
  background: #eaf7ff;
  color: #071426;
}

@media (max-width: 640px) {
  .terms-gate {
    padding: 14px;
  }

  .terms-gate__panel {
    padding: 22px;
  }

  .terms-gate__actions .button {
    width: 100%;
  }
}

/* Full-cover YouTube hero video. */
.hero {
  display: block;
  min-height: calc(100vh - 82px);
}

.hero__grid {
  min-height: calc(100vh - 82px);
  padding-top: clamp(24px, 4vw, 58px);
  padding-bottom: clamp(54px, 7vw, 96px);
}

.hero-video {
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video iframe {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  opacity: 0.62;
  transform: translate(-50%, -50%) scale(1.035);
}

.hero-video.is-loaded iframe {
  opacity: 0.72;
}

.hero-video::after {
  background:
    radial-gradient(circle at 50% 18%, rgba(56, 189, 248, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.48) 0%, rgba(2, 6, 23, 0.58) 46%, rgba(2, 6, 23, 0.9) 100%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.84) 0%, rgba(2, 6, 23, 0.34) 50%, rgba(2, 6, 23, 0.82) 100%);
}

@media (max-width: 1080px) {
  .hero__grid {
    padding-top: 28px;
  }
}

/* Checklist markers for management lists. */
.checklist li,
.footer-notes li {
  position: relative;
  padding-left: 32px;
}

.checklist li::before,
.footer-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(56, 189, 248, 0.44);
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  box-shadow: none;
}

.checklist li::after,
.footer-notes li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 5px;
  width: 4px;
  height: 9px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
}

.checklist--warning li::before {
  border-color: rgba(239, 68, 68, 0.42);
  background: rgba(239, 68, 68, 0.13);
}

.checklist--warning li::after {
  border-color: var(--danger);
}

/* Claim Rewards multi-step form. */
.claim-form-layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
}

.claim-form-layout--single {
  grid-template-columns: minmax(0, 900px);
  justify-content: center;
}

.claim-wizard {
  gap: 22px;
}

.claim-stepper {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 2px 0 4px;
}

.claim-stepper li {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(245, 247, 238, 0.04);
  color: var(--muted);
  font-size: 13px;
  font-weight: 780;
}

.claim-stepper span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.13);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.claim-stepper li.is-active {
  border-color: rgba(56, 189, 248, 0.5);
  background: rgba(56, 189, 248, 0.1);
  color: var(--ink);
}

.claim-stepper li.is-complete span {
  background: var(--blue);
  color: #031225;
}

.claim-step[hidden] {
  display: none;
}

.claim-step.is-active {
  display: block;
}

.claim-step .form-actions {
  margin-top: 22px;
}

.claim-wallet-notice {
  position: relative;
  margin: 0;
  padding: 16px 18px 16px 48px;
  border: 1px solid rgba(251, 191, 36, 0.56);
  border-left: 5px solid #fbbf24;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.16), rgba(56, 189, 248, 0.08));
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 740;
}

.claim-wallet-notice::before {
  content: "!";
  position: absolute;
  left: 17px;
  top: 17px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fbbf24;
  color: #07111f;
  font-size: 13px;
  font-weight: 950;
}

.claim-wallet-notice strong {
  color: #facc15;
}

.form-status[data-status="success"] {
  border: 1px solid rgba(56, 189, 248, 0.42);
  background: rgba(56, 189, 248, 0.14);
  color: var(--blue-dark);
}

.form-status[data-status="error"] {
  border: 1px solid rgba(255, 123, 95, 0.34);
  background: rgba(255, 123, 95, 0.12);
  color: var(--danger);
}

.form-status[data-status="loading"] {
  border: 1px solid rgba(245, 247, 238, 0.18);
  background: rgba(245, 247, 238, 0.06);
  color: var(--ink);
}

@media (max-width: 720px) {
  .claim-stepper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Avoid flashing the static fallback brand before admin settings load. */
html:not(.site-settings-ready) .brand strong,
html:not(.site-settings-ready) .brand small {
  opacity: 0;
}

/* Floating WhatsApp quick chat. */
.whatsapp-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 90;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(186, 230, 253, 0.78);
  border-radius: 999px;
  background: #7dd3fc;
  color: #031225;
  box-shadow: 0 18px 42px rgba(14, 165, 233, 0.36);
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.whatsapp-float:hover {
  background: #bae6fd;
  transform: translateY(-3px);
  box-shadow: 0 24px 52px rgba(14, 165, 233, 0.42);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.whatsapp-float span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 560px) {
  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: max(22px, calc(clamp(16px, 3vw, 28px) + 25vh));
  }

  .whatsapp-float svg {
    width: 29px;
    height: 29px;
  }
}
