:root {
  --bcp-blue: #004b8e;
  --bcp-blue-dark: #002f66;
  --bcp-blue-deep: #001c4e;
  --bcp-orange: #f36e29;
  --bcp-orange-dark: #d85a18;
  --ink: #14213d;
  --muted: #5e6b7a;
  --line: #d8e2ee;
  --surface: #ffffff;
  --surface-soft: #f4f8fc;
  --teal: #008b9a;
  --shadow: 0 20px 54px rgba(0, 47, 102, 0.18);
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface-soft);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(243, 110, 41, 0.6);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 78px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(0, 47, 102, 0.08);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--bcp-blue);
  padding: 10px 14px;
}

.brand img {
  width: 118px;
  height: auto;
}

.main-nav,
.footer-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.main-nav a,
.footer-nav a {
  border-radius: 8px;
  color: var(--bcp-blue-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding: 11px 12px;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.main-nav a:hover,
.footer-nav a:hover {
  background: rgba(0, 75, 142, 0.09);
  color: var(--bcp-orange-dark);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  min-height: calc(100svh - 78px);
  padding: clamp(46px, 6vw, 88px) clamp(18px, 5vw, 72px);
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(0, 28, 78, 0.88), rgba(0, 47, 102, 0.64) 58%, rgba(0, 75, 142, 0.32)),
    url("assets/anniversary-hero.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 7px;
  background: linear-gradient(90deg, var(--bcp-orange), #ffb05f 42%, var(--teal));
}

.hero-copy,
.survey-panel {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-copy {
  width: 100%;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--bcp-orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  max-width: 820px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 10px;
  color: var(--bcp-blue-deep);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lead,
.hero-text {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.55;
}

.hero-lead {
  margin-bottom: 16px;
  font-size: clamp(18px, 2vw, 23px);
}

.hero-text {
  margin-bottom: 28px;
  font-size: clamp(16px, 1.7vw, 19px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 14px 20px;
  font: inherit;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, opacity 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
  transform: none;
}

.button-primary {
  background: var(--bcp-orange);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(243, 110, 41, 0.28);
}

.button-primary:hover:not(:disabled) {
  background: var(--bcp-orange-dark);
}

.survey-panel {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.survey-heading,
.survey-form,
.survey-result {
  padding: 24px;
}

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

.survey-heading p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.question {
  margin-bottom: 18px;
  padding: 0;
  border: 0;
}

.question legend {
  margin-bottom: 10px;
  color: var(--bcp-blue-deep);
  font-weight: 800;
  line-height: 1.35;
}

.question label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  line-height: 1.35;
}

.question label:hover {
  border-color: rgba(243, 110, 41, 0.42);
  background: rgba(243, 110, 41, 0.06);
}

.question input {
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--bcp-orange);
}

.survey-submit {
  width: 100%;
}

.survey-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.survey-result {
  text-align: left;
}

.survey-result[hidden] {
  display: none;
}

.survey-result h2 {
  font-size: clamp(27px, 4vw, 42px);
}

.survey-result p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.result-kicker {
  margin-bottom: 12px;
  color: var(--bcp-orange-dark) !important;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px 34px;
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 32px clamp(18px, 5vw, 72px);
}

.footer-brand img {
  width: 106px;
}

.footer-nav {
  justify-content: flex-end;
}

.footer-inner p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

body.auth-page {
  min-height: 100svh;
  background: var(--bcp-blue-deep);
}

.auth-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  min-height: calc(100svh - 78px);
  padding: clamp(34px, 5vw, 72px) clamp(18px, 5vw, 72px);
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(0, 28, 78, 0.92), rgba(0, 47, 102, 0.76) 54%, rgba(0, 75, 142, 0.38)),
    url("assets/anniversary-hero.png") center / cover no-repeat;
}

.auth-shell::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 7px;
  background: linear-gradient(90deg, var(--bcp-orange), #ffb05f 42%, var(--teal));
}

.auth-promo,
.auth-card {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.auth-promo {
  align-self: center;
  max-width: 720px;
}

.auth-logo,
.auth-card-logo {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  background: var(--bcp-blue);
}

.auth-logo {
  margin-bottom: clamp(30px, 5vw, 56px);
  padding: 12px 16px;
}

.auth-logo img {
  width: 132px;
}

.auth-card-logo {
  margin-bottom: 18px;
  padding: 9px 13px;
}

.auth-card-logo img {
  width: 108px;
}

.auth-eyebrow {
  margin-bottom: 16px;
}

.auth-promo h1 {
  margin-bottom: 18px;
  max-width: 780px;
  font-size: clamp(42px, 6.4vw, 76px);
}

.auth-lead {
  max-width: 640px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.52;
}

.auth-promo-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.auth-promo-pills span {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.auth-card {
  justify-self: end;
  width: min(100%, 460px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  color: var(--ink);
  padding: 28px;
}

.auth-card-wide {
  width: min(100%, 540px);
}

.auth-card-header {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.auth-kicker {
  margin-bottom: 8px;
  color: var(--bcp-orange-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.auth-card h2 {
  margin-bottom: 8px;
  font-size: clamp(27px, 3vw, 36px);
}

.auth-card-header p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.auth-alert {
  margin-bottom: 18px;
  border-radius: 8px;
  padding: 13px 14px;
  font-size: 14px;
  line-height: 1.45;
}

.auth-alert strong {
  display: block;
  margin-bottom: 2px;
}

.auth-alert-success {
  border: 1px solid #a8dbb8;
  background: #eaf7ef;
  color: #0f5931;
}

.auth-alert-error {
  border: 1px solid rgba(243, 110, 41, 0.42);
  background: #fff2ec;
  color: #82330f;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-field {
  display: grid;
  gap: 7px;
}

.auth-field span {
  color: var(--bcp-blue-deep);
  font-size: 14px;
  font-weight: 800;
}

.auth-field input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.auth-field input:focus {
  border-color: var(--bcp-orange);
  box-shadow: 0 0 0 4px rgba(243, 110, 41, 0.13);
  outline: 0;
}

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

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 2px 0 4px;
}

.auth-link,
.auth-switch a,
.auth-footer-links a {
  color: var(--bcp-blue-dark);
  font-weight: 900;
}

.auth-link:hover,
.auth-switch a:hover,
.auth-footer-links a:hover {
  color: var(--bcp-orange-dark);
}

.auth-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.auth-check input {
  flex: 0 0 auto;
  margin-top: 1px;
  accent-color: var(--bcp-orange);
}

.auth-check-full {
  margin-top: 2px;
}

.auth-submit {
  width: 100%;
}

.auth-switch {
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.45;
  text-align: center;
}

.auth-security {
  margin-top: 18px;
  border-left: 4px solid var(--bcp-orange);
  border-radius: 8px;
  background: #f7f9fc;
  color: var(--muted);
  padding: 15px 16px;
}

.auth-security h3 {
  margin: 0 0 8px;
  color: var(--bcp-blue-deep);
  font-size: 16px;
}

.auth-security ul {
  margin: 0;
  padding-left: 19px;
  line-height: 1.5;
}

.auth-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
}

.auth-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 22px clamp(18px, 5vw, 72px);
}

.auth-footer-inner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.auth-footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .survey-panel {
    max-height: none;
  }

  .auth-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .auth-card,
  .auth-card-wide {
    justify-self: stretch;
    width: min(620px, 100%);
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .main-nav {
    width: 100%;
  }

  .main-nav a {
    background: rgba(0, 75, 142, 0.06);
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .auth-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 70px;
    padding: 12px 16px;
  }

  .brand img {
    width: 96px;
  }

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

  .main-nav a {
    width: 100%;
    min-height: 40px;
    padding: 10px 8px;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 44px 16px;
    background-position: 62% center;
  }

  .hero-copy,
  .hero-lead,
  .hero-text {
    width: min(344px, 100%);
    max-width: calc(100vw - 32px);
  }

  h1 {
    max-width: 344px;
    font-size: clamp(36px, 11vw, 44px);
  }

  .hero-lead,
  .hero-text {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .survey-heading,
  .survey-form,
  .survey-result {
    padding: 20px;
  }

  .footer-nav a {
    width: calc(50% - 5px);
    min-height: 40px;
    text-align: center;
  }

  .auth-shell {
    padding: 28px 16px 40px;
  }

  .auth-logo {
    margin-bottom: 28px;
  }

  .auth-logo img {
    width: 106px;
  }

  .auth-promo h1 {
    max-width: 344px;
    font-size: clamp(35px, 11vw, 44px);
  }

  .auth-lead {
    font-size: 16px;
  }

  .auth-promo-pills {
    display: grid;
    grid-template-columns: 1fr;
  }

  .auth-card {
    padding: 20px;
  }

  .auth-grid {
    grid-template-columns: 1fr;
  }
}
