:root {
  --teal: #0a6e7c;
  --teal-deep: #064a54;
  --teal-bright: #0d8a9a;
  --teal-soft: rgba(10, 110, 124, 0.12);
  --gold: #c9a227;
  --gold-soft: rgba(201, 162, 39, 0.15);
  --text: #142428;
  --muted: #5a6d72;
  --border: #dce6e8;
  --bg: #eef4f5;
  --card: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(6, 74, 84, 0.06);
  --shadow-md: 0 8px 30px rgba(6, 74, 84, 0.1);
  --shadow-card: 0 4px 24px rgba(6, 74, 84, 0.08), 0 0 0 1px rgba(6, 74, 84, 0.04);
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.5rem 1rem;
  background: var(--teal-deep);
  color: #fff;
  text-decoration: none;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; top: 0; }

.flash-popup {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1200;
  width: min(460px, calc(100vw - 2rem));
  padding: 0.9rem 2.1rem 0.9rem 0.95rem;
  border-radius: 12px;
  border: 1px solid transparent;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(3px);
}

.flash-popup-error {
  background: #fff3f2;
  border-color: #ffc7c2;
  color: #5a1812;
}

.flash-popup-success {
  background: #f0fff8;
  border-color: #b8eed7;
  color: #0e4f34;
}

.flash-popup-title {
  margin: 0;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.flash-popup-text {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
}

.flash-popup-list {
  margin: 0.5rem 0 0;
  padding-left: 1rem;
  max-height: 40vh;
  overflow: auto;
  font-size: 0.78rem;
}

.flash-popup-list li + li {
  margin-top: 0.35rem;
}

.flash-popup-close {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  width: 1.5rem;
  height: 1.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  color: inherit;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.flash-popup-close:hover {
  background: rgba(0, 0, 0, 0.15);
}

@media (max-width: 640px) {
  .flash-popup {
    top: 0.65rem;
    right: 0.65rem;
    left: 0.65rem;
    width: auto;
  }
}

/* —— Top bar (DSC-style) —— */
.site-top {
  background: linear-gradient(180deg, #042f36 0%, #053a42 100%);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-top-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.logo-img {
  display: block;
  height: auto;
  max-height: 58px;
  width: auto;
  max-width: min(320px, 70vw);
  object-fit: contain;
  /* Rounds the bitmap; helps hide black JPEG fill outside the logo’s white rounded card */
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 640px) {
  .logo-img { max-height: 64px; max-width: 340px; }
}

.footer-logo {
  display: block;
  margin: 0 auto 1rem;
  height: auto;
  max-height: 72px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 14px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  flex-wrap: wrap;
}

.top-nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 500;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}

.top-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.top-nav a.cta-outline {
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.top-nav a.cta-gold {
  background: var(--gold);
  color: #1a1505;
  font-weight: 600;
}

.top-nav a.cta-gold:hover {
  background: #ddb82e;
  color: #1a1505;
}

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #064a54 0%, #0a6e7c 42%, #0b5c68 100%);
  color: #fff;
  padding: 2.25rem 1.25rem 2.75rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(201, 162, 39, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.pill {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 162, 39, 0.18);
  border: 1px solid rgba(201, 162, 39, 0.35);
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.15);
}

.hero h1 em {
  font-style: normal;
  color: #e8f7f9;
  font-weight: 700;
}

.hero-lead {
  margin: 0 auto;
  max-width: 32rem;
  font-size: 1rem;
  opacity: 0.92;
  line-height: 1.5;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  margin-top: 1.35rem;
}

.hero-badges span {
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
}

/* —— Content column —— */
.page {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.content-below-hero {
  margin-top: -1.5rem;
  position: relative;
  z-index: 1;
}

.lead-banner {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  margin-bottom: 1.25rem;
  text-align: center;
}

.lead-banner p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
}

.lead-banner strong {
  color: var(--text);
}

/* Intro */
.intro {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.35rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--teal) 0%, var(--teal-bright) 100%);
}

@media (min-width: 640px) {
  .intro { padding: 1.75rem 2rem 1.65rem 2.25rem; }
}

.intro .brand {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.4rem;
}

.intro h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.intro p {
  margin: 0 0 0.85rem;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.62;
}

.intro p:last-of-type {
  margin-bottom: 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 560px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  background: linear-gradient(135deg, var(--teal-soft) 0%, rgba(255, 255, 255, 0.5) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.feature-item svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--teal);
  margin-top: 0.1rem;
}

.feature-item div {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text);
}

.feature-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--teal-deep);
  margin-bottom: 0.15rem;
}

/* Form card */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-card);
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--gold) 100%);
  opacity: 0.85;
}

@media (min-width: 640px) {
  .card { padding: 2.35rem 2.5rem 2.5rem; }
  .card::before { left: 2.5rem; right: 2.5rem; }
}

.card-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.35rem;
  padding-top: 0.35rem;
}

.card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.card-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal);
  background: var(--teal-soft);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
}

.card-hint {
  margin: 0 0 1.75rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* Registration form as expandable <details> */
.registration-details-card .registration-details {
  margin: 0;
  padding: 0;
}

.registration-details-summary {
  list-style: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  margin: calc(-0.25rem) calc(-0.35rem) 0;
  padding: 0.25rem 0.35rem 0.5rem;
  outline: none;
  transition: background 0.15s ease;
}

.registration-details-summary::-webkit-details-marker {
  display: none;
}

.registration-details-summary::marker {
  content: "";
}

.registration-details-summary:hover {
  background: var(--teal-soft);
}

.registration-details-summary:focus-visible {
  box-shadow: 0 0 0 3px rgba(10, 110, 124, 0.35);
}

.registration-details-summary-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.registration-details-summary-text {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.registration-details-header-row {
  display: block;
  margin-bottom: 0.35rem;
}

.registration-details-title-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.registration-details-hint {
  display: block;
  margin: 0 0 0.35rem;
}

.registration-details-cta {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal);
  margin-top: 0.25rem;
}

.registration-details:not([open]) .registration-details-cta-open,
.registration-details[open] .registration-details-cta-closed {
  display: none;
}

.registration-details-chevron {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--teal);
  line-height: 0;
}

.registration-details-chevron svg {
  display: block;
  transition: transform 0.2s ease;
}

.registration-details[open] .registration-details-chevron svg {
  transform: rotate(180deg);
}

.registration-details-body {
  padding-top: 0.25rem;
}

.registration-details-body .alert-error {
  margin-bottom: 1.25rem;
}

.section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.section-badge {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(10, 110, 124, 0.35);
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
}

.grid-2 {
  display: grid;
  gap: 1.25rem 1.5rem;
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field.full-width {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
}

.field .helper {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
  margin-bottom: 0.1rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field textarea {
  min-height: 5.5rem;
  resize: vertical;
  line-height: 1.5;
}

.field input::placeholder {
  color: #8fa3a8;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-soft);
}

.field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a6d72' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  padding-right: 2.35rem;
}

.upload-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .upload-grid { grid-template-columns: 1fr 1fr; }
}

.upload-zone {
  position: relative;
  border: 2px dashed #c5d5d8;
  border-radius: var(--radius-sm);
  padding: 1.75rem 1.25rem;
  text-align: center;
  background: linear-gradient(180deg, #f8fbfc 0%, #f2f7f8 100%);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--teal);
  background: linear-gradient(180deg, rgba(10, 110, 124, 0.06) 0%, rgba(10, 110, 124, 0.03) 100%);
  box-shadow: 0 4px 16px rgba(10, 110, 124, 0.08);
}

.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.75rem;
  padding: 10px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal);
}

.upload-zone .title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.upload-zone .req {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.sample-photo-preview {
  margin: 0.85rem auto 0.65rem;
  max-width: 230px;
}

.sample-photo-preview img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid #c5d5d8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.sample-photo-preview figcaption {
  margin-top: 0.4rem;
  font-size: 0.6875rem;
  color: #72858b;
}

.upload-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.6rem 0;
}

.upload-action-btn {
  padding: 0.45rem 0.8rem;
  font-size: 0.75rem;
}

.visually-hidden-file-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.upload-zone .formats {
  font-size: 0.6875rem;
  color: #8a9a9f;
}

.upload-zone .filename {
  font-size: 0.75rem;
  color: var(--teal);
  margin-top: 0.5rem;
  font-weight: 600;
  word-break: break-all;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: #f4f9fa;
  border-color: #b8ccd1;
}

.btn-primary {
  background: linear-gradient(180deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 14px rgba(10, 110, 124, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(180deg, var(--teal-bright) 0%, var(--teal) 100%);
  box-shadow: 0 6px 20px rgba(10, 110, 124, 0.4);
}

.note-backend {
  margin-top: 1.5rem;
  padding: 0.65rem 1rem;
  font-size: 0.75rem;
  color: var(--muted);
  background: #f4f8f9;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border);
}

.note-backend code {
  font-size: 0.85em;
  background: #e4eef0;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

/* Footer */
.site-footer {
  margin-top: 2.5rem;
  padding: 2rem 1.25rem;
  background: linear-gradient(180deg, #042f36 0%, #031f24 100%);
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius) var(--radius) 0 0;
}

.site-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.site-footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem 2.5rem;
}

.site-footer-left {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.25rem 2rem;
  flex: 1 1 280px;
  min-width: 0;
}

.site-footer .footer-logo {
  display: block;
  margin: 0;
  flex-shrink: 0;
  height: auto;
  max-height: 72px;
  width: auto;
  max-width: min(240px, 46vw);
  object-fit: contain;
  border-radius: 14px;
}

.site-footer-contact-block {
  flex: 1 1 200px;
  min-width: 0;
}

.site-footer .footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  margin: 0 0 0.25rem;
}

.site-footer .footer-tag {
  font-size: 0.8125rem;
  opacity: 0.85;
  margin: 0 0 1rem;
  line-height: 1.45;
}

.footer-contact-rows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.footer-contact-icon {
  flex-shrink: 0;
  margin-top: 0.12rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 0;
}

.footer-contact-icon svg {
  display: block;
}

.footer-contact-text {
  font-style: normal;
}

.footer-contact-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.footer-contact-link:hover {
  color: var(--gold);
  border-bottom-color: rgba(201, 162, 39, 0.65);
}

.site-footer-social {
  flex-shrink: 0;
  text-align: right;
}

.footer-follow-label {
  margin: 0 0 0.65rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
}

.footer-social-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-social-icons li {
  margin: 0;
  padding: 0;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.footer-social-link:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  transform: translateY(-1px);
}

.footer-social-link svg {
  display: block;
}

.site-footer-rule {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin: 1.75rem 0 1rem;
}

.site-footer .fine {
  font-size: 0.75rem;
  text-align: center;
  opacity: 0.6;
  margin: 0;
}

@media (max-width: 720px) {
  .site-footer-social {
    text-align: left;
    width: 100%;
  }

  .footer-social-icons {
    justify-content: flex-start;
  }
}

/* —— Timer, errors, consent, closed state —— */
.lead-banner .timer-block {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.lead-banner .timer-block p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text);
}

.lead-banner .countdown-digits {
  font-family: var(--font-display);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--teal);
  letter-spacing: 0.02em;
}

.alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
}

.alert-error ul {
  margin: 0;
  padding-left: 1.15rem;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.55;
  cursor: pointer;
}

.consent-label input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--teal);
}

.closed-main {
  text-align: center;
}

.closed-main h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text);
}

.closed-main .closed-lead {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.lead-banner a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}

.lead-banner a:hover {
  text-decoration: underline;
}