:root {
  --seb-primary: #dc2626;
  --seb-secondary: #a855f7;
  --seb-accent: #2563eb;
  --seb-text: #111827;
  --seb-muted-text: #4b5563;
  --seb-border: #e5e7eb;
  --seb-panel: #f8f5ff;
  --seb-footer: #111827;
  --seb-bg: #ffffff;
  --seb-gradient: linear-gradient(90deg, rgba(220,38,38,0.88) 0%, rgba(192,38,211,0.82) 52%, rgba(59,130,246,0.78) 100%);
  --seb-shadow: 0 14px 36px rgba(17, 24, 39, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--seb-text);
  background: var(--seb-bg);
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 2rem)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--seb-border);
  backdrop-filter: blur(8px);
}
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  color: var(--seb-text);
}
.brand-mark { font-size: 1.15rem; }
.brand-muted { color: #6b7280; }
.brand-reference {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 900;
  letter-spacing: 0.02em;
}
.brand-reference-dark { color: #08224a; }
.brand-reference-accent { color: #2182e3; }
nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
nav > a, .link-button, .nav-button {
  font-size: 0.95rem;
  font-weight: 600;
}
.inline-form { display: inline; }
.nav-button, .button, button {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.8rem 1.25rem;
  cursor: pointer;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-button.subtle, .button.secondary {
  background: #fff;
  border-color: var(--seb-border);
  color: var(--seb-text);
}
.nav-button.primary, .button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--seb-primary), #ef4444 38%, var(--seb-secondary));
  box-shadow: 0 10px 28px rgba(220, 38, 38, 0.22);
}
.button.light {
  background: rgba(255,255,255,0.96);
  color: var(--seb-primary);
  border-color: rgba(255,255,255,0.75);
}
.wide-button { width: 100%; }
.left-actions { justify-content: flex-start; }
.compact-actions { margin-top: 0; }

.page-shell { padding: 2rem 0 4rem; }
.page-shell--compact { padding-bottom: 0; }
.messages { list-style: none; padding: 0; margin: 0.75rem 0 0; }
.message {
  border-radius: 14px;
  padding: 0.95rem 1rem;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.hero-banner {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-image, .hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-image {
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero-overlay { background: var(--seb-gradient); }
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 7rem 0 6rem;
}
.hero-shell {
  position: relative;
  z-index: 2;
  min-height: 600px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  align-items: center;
  gap: 2rem;
}
.hero-copy {
  text-align: left;
}
.hero-copy p {
  margin-left: 0;
}
.hero-copy .hero-actions {
  justify-content: flex-start;
}
.hero-badge {
  position: relative;
  z-index: 2;
  justify-self: end;
  width: min(420px, 96%);
  display: flex;
  justify-content: center;
}
.hero-badge img {
  display: block;
  width: min(400px, 100%);
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.34));
}
.hero-content h1 {
  font-size: clamp(3rem, 7vw, 4.8rem);
  line-height: 1.04;
  margin: 0 0 1rem;
  font-weight: 800;
}
.hero-content p {
  width: min(820px, 100%);
  margin: 0 auto;
  font-size: clamp(1.15rem, 2vw, 1.85rem);
  color: rgba(255,255,255,0.92);
}
.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.top-strip {
  height: 34px;
  background: #061b3d;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding: 0 6vw;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.top-strip-link {
  color: inherit;
  text-decoration: none;
}

.top-strip-link:hover,
.top-strip-link:focus-visible {
  text-decoration: underline;
}

.test-example-home {
  color: #061b3d;
  background: #fff;
}
.test-example-home .container {
  width: min(1180px, calc(100% - 12vw));
}
.example-header {
  min-height: 86px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(6, 27, 61, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.example-nav-shell {
  min-height: 86px;
}
.example-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.example-brand-main {
  display: inline-flex;
  gap: 0.45rem;
  align-items: baseline;
}
.example-brand-sub {
  font-size: clamp(0.72rem, 1.2vw, 0.95rem);
  letter-spacing: 0.22em;
  color: #08224a;
}
.example-nav {
  display: flex;
  gap: clamp(18px, 3vw, 42px);
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  flex-wrap: nowrap;
}
.example-nav a {
  color: #101827;
  text-decoration: none;
  padding: 32px 0 26px;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.example-nav a.active,
.example-nav a:hover {
  color: #0b75c9;
  border-bottom-color: #0b75c9;
}

.example-hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.72), rgba(0,0,0,0.36) 38%, rgba(0,0,0,0.12) 64%, rgba(0,0,0,0.18) 100%),
    url('/static/images/test-home-riders-sunrise.jpg') center/cover no-repeat;
}
.example-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.34), transparent 45%);
  pointer-events: none;
}
.example-hero-shell {
  position: relative;
  z-index: 1;
  min-height: 640px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  padding: 74px 0;
}
.example-hero-content,
.example-hero-badge {
  position: relative;
  z-index: 1;
}
.example-hero-content h1 {
  margin: 0 0 24px;
  max-width: 620px;
  font-size: clamp(44px, 6vw, 86px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.example-hero-content h1 span { color: #0b75c9; }
.example-hero-content p {
  max-width: 560px;
  margin: 0 0 34px;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
  color: rgba(255,255,255,0.94);
}
.example-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.example-primary,
.example-secondary {
  min-width: 150px;
  padding: 18px 28px;
  border-radius: 6px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.example-primary {
  background: #0b75c9;
  color: #fff;
  box-shadow: none;
}
.example-secondary {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.85);
  color: #fff;
}
.example-hero-badge {
  justify-self: end;
  align-self: center;
  width: min(520px, 96%);
  display: flex;
  justify-content: center;
}
.example-hero-badge img {
  display: block;
  width: min(500px, 100%);
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.32));
}
.example-dots {
  position: absolute;
  left: 0;
  bottom: 30px;
  display: flex;
  gap: 14px;
  z-index: 2;
}
.example-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
}
.example-dots span:first-child { background: #0b75c9; }

.example-intro {
  padding: 50px 0 62px;
  background: linear-gradient(180deg, #ffffff, #f4f7fb);
  text-align: center;
}
.example-intro h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.example-rule {
  width: 58px;
  height: 4px;
  background: #0b75c9;
  margin: 0 auto 34px;
  border-radius: 3px;
}
.example-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1180px;
  margin: 0 auto;
}
.example-card {
  padding: 24px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.74);
}
.example-icon {
  font-size: 38px;
  margin-bottom: 14px;
  color: #0b75c9;
}
.example-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  text-transform: uppercase;
  font-weight: 900;
}
.example-card p {
  margin: 0;
  color: #5b677a;
  line-height: 1.45;
  font-size: 15px;
}

.test-reference-host {
  color: #061b3d;
  background: linear-gradient(180deg, #f4f7fb 0, #ffffff 180px, #f4f7fb 100%);
}
.test-reference-host .container {
  width: min(1180px, calc(100% - 12vw));
}
.test-reference-host .site-header {
  position: static;
  background: #ffffff;
  border-bottom: 1px solid #d7dde7;
  box-shadow: 0 2px 10px rgba(6, 27, 61, 0.08);
}
.test-reference-host .nav-shell {
  min-height: 82px;
}
.test-reference-host nav > a,
.test-reference-host .nav-button,
.test-reference-host .button {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
}
.test-reference-host nav > a:first-child {
  color: #2182e3;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 10px;
}
.test-reference-host .page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.72), rgba(0,0,0,0.34) 44%, rgba(0,0,0,0.18)),
    radial-gradient(circle at 10% 50%, rgba(246,179,49,0.78), transparent 24%),
    linear-gradient(140deg, #40546b 0%, #1c2c3d 42%, #071a33 100%);
}
.test-reference-host .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.32), transparent 45%);
  pointer-events: none;
}
.test-reference-host .centered-hero-copy {
  position: relative;
  z-index: 1;
}
.test-reference-host .centered-hero-copy h1,
.test-reference-host .section-intro h2,
.test-reference-host .next-steps-section h2,
.test-reference-host .policy-shell h1,
.test-reference-host .policy-shell h2,
.test-reference-host .panel h2,
.test-reference-host .panel h3,
.test-reference-host .schedule-card h3 {
  color: #08224a;
}
.test-reference-host .centered-hero-copy h1 {
  color: #ffffff;
}
.test-reference-host .join-section,
.test-reference-host .member-section,
.test-reference-host .policy-section,
.test-reference-host .info-section,
.test-reference-host .feature-section,
.test-reference-host .schedule-section,
.test-reference-host .about-section {
  background: linear-gradient(180deg, #ffffff, #f4f7fb);
}
.test-reference-host .panel,
.test-reference-host .schedule-card,
.test-reference-host .step-card,
.test-reference-host .feature-card {
  border-color: #d7dde7;
  box-shadow: 0 18px 40px rgba(6, 27, 61, 0.08);
}
.test-reference-host .panel,
.test-reference-host .step-card,
.test-reference-host .schedule-card {
  border-radius: 14px;
}
.test-reference-host .button.primary,
.test-reference-host .nav-button.primary {
  background: #0b75c9;
  color: #ffffff;
  border-color: #0b75c9;
  box-shadow: none;
  border-radius: 6px;
}
.test-reference-host .button.secondary,
.test-reference-host .nav-button.subtle {
  border-color: #d7dde7;
  color: #08224a;
  background: #ffffff;
  border-radius: 6px;
}
.test-reference-host .message {
  background: #eef6ff;
  border-color: #bfdbfe;
  color: #0b75c9;
}
.test-reference-host label {
  color: #08224a;
}
.test-reference-host input,
.test-reference-host select,
.test-reference-host textarea {
  border-color: #c8d4e3;
  background: #ffffff;
}
.test-reference-host input:focus,
.test-reference-host select:focus,
.test-reference-host textarea:focus {
  outline: 2px solid rgba(11, 117, 201, 0.18);
  border-color: #0b75c9;
}
.test-reference-host .form-block {
  border-top-color: #e3eaf3;
}
.test-reference-host .step-icon,
.test-reference-host .feature-icon {
  background: rgba(11, 117, 201, 0.1);
  color: #0b75c9;
}
.test-reference-host .step-number,
.test-reference-host .schedule-meta dt,
.test-reference-host .schedule-distance,
.test-reference-host .detail-list dd,
.test-reference-host .muted,
.test-reference-host .policy-shell p,
.test-reference-host .policy-shell li,
.test-reference-host .step-card p {
  color: #5b677a !important;
}
.test-reference-host .pill {
  background: rgba(11, 117, 201, 0.1);
  color: #0b75c9;
}
.test-reference-host .auth-panel {
  margin: 4rem auto 5rem;
}
.test-reference-host .policy-shell a,
.test-reference-host .panel a {
  color: #0b75c9;
}
.test-reference-host .site-footer {
  background: #061b3d;
}

.reference-hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.reference-hero-image,
.reference-hero-overlay {
  position: absolute;
  inset: 0;
}
.reference-hero-image {
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}
.reference-hero-overlay {
  background: linear-gradient(90deg, rgba(8, 18, 37, 0.68) 0%, rgba(8, 18, 37, 0.38) 42%, rgba(8, 18, 37, 0.08) 100%);
}
.reference-hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 2rem;
  align-items: center;
  padding: 4.8rem 0 4rem;
}
.reference-hero-copy {
  color: #fff;
  max-width: 560px;
}
.reference-hero-copy h1 {
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 5.3rem);
  line-height: 0.94;
  font-weight: 900;
  letter-spacing: 0.01em;
}
.reference-hero-copy h1 span {
  color: #1f8cf0;
}
.reference-hero-copy p {
  margin: 1.5rem 0 0;
  max-width: 420px;
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.92);
}
.reference-hero-actions {
  margin-top: 1.75rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.reference-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.8);
}
.reference-hero-badge {
  justify-self: end;
  width: min(100%, 420px);
}
.reference-hero-badge img {
  width: 100%;
  filter: drop-shadow(0 18px 35px rgba(0,0,0,0.35));
}

.reference-features {
  background: #ffffff;
  padding: 4rem 0 4.6rem;
}
.reference-section-heading {
  text-align: center;
  margin-bottom: 2.1rem;
}
.reference-section-heading h2 {
  margin: 0;
  color: #08224a;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  letter-spacing: 0.06em;
  font-weight: 900;
}
.reference-section-heading::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 0.9rem auto 0;
  background: #2182e3;
  border-radius: 999px;
}
.reference-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem;
}
.reference-feature-card {
  text-align: center;
  padding: 1rem 0.5rem;
}
.reference-feature-icon {
  font-size: 2.3rem;
  color: #2182e3;
  margin-bottom: 0.9rem;
}
.reference-feature-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: #08224a;
}
.reference-feature-card p {
  margin: 0 auto;
  max-width: 220px;
  color: var(--seb-muted-text);
  line-height: 1.6;
}

.info-section,
.feature-section,
.schedule-section,
.about-section,
.policy-section,
.join-section,
.member-section {
  padding: 5rem 0;
}
.intro-block,
.about-shell,
.policy-shell,
.join-shell,
.member-shell {
  max-width: 1100px;
}
.intro-block {
  text-align: center;
  max-width: 760px;
}
.intro-block h2,
.section-heading h2,
.about-shell h2,
.policy-shell h1,
.policy-shell h2,
.slim-hero h1,
.next-steps-section h2,
.section-intro h2 {
  margin-top: 0;
}
.intro-block h2, .section-heading h2, .about-shell h2, .next-steps-section h2, .section-intro h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.intro-block p, .about-copy p, .policy-shell p, .policy-shell li, .schedule-card p, .muted, .centered-hero-copy p, .step-card p {
  color: var(--seb-muted-text);
  line-height: 1.7;
  font-size: 1.05rem;
}
.centered { text-align: center; }
.centered-hero-copy { text-align: center; }
.centered-hero-copy h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  margin: 0;
}
.centered-hero-copy p {
  width: min(780px, 100%);
  margin: 1rem auto 0;
  color: rgba(255,255,255,0.92);
}
.feature-section { padding-top: 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--seb-panel);
  border: 1px solid #ece8f8;
  border-radius: 18px;
  padding: 1.6rem;
  box-shadow: var(--seb-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(168, 85, 247, 0.16);
}
.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(220, 38, 38, 0.08);
  color: var(--seb-primary);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.feature-card h3 {
  margin: 0 0 0.8rem;
  font-size: 2rem;
}
.schedule-shell { max-width: 760px; }
.schedule-card {
  border: 2px solid var(--seb-border);
  border-radius: 22px;
  padding: 1.8rem;
  box-shadow: var(--seb-shadow);
}
.schedule-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f3e8ff;
  color: #7c3aed;
  font-weight: 700;
  padding: 0.55rem 1rem;
}
.schedule-distance { color: var(--seb-muted-text); font-weight: 600; }
.schedule-card h3 { font-size: 2rem; margin: 0 0 1rem; }
.schedule-meta {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1rem;
}
.schedule-meta dt {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}
.schedule-meta dd {
  margin: 0.15rem 0 0;
  font-weight: 700;
  color: var(--seb-text);
}
.about-section { background: #fafafa; }
.about-shell { text-align: center; max-width: 860px; }
.about-highlight { color: var(--seb-text) !important; font-weight: 700; }
.centered-actions { margin-top: 2rem; }

.page-hero {
  color: #fff;
  background: var(--seb-gradient);
}
.slim-hero { padding: 4rem 0; }
.join-hero { padding: 4.75rem 0; }
.member-hero { padding: 3.75rem 0; }

.policy-shell { max-width: 860px; }
.policy-shell h2 {
  font-size: 2rem;
  margin: 2.25rem 0 0.75rem;
}
.policy-shell h3 {
  font-size: 1.35rem;
  margin: 1.5rem 0 0.5rem;
}
.policy-shell ul, .policy-shell ol {
  padding-left: 1.4rem;
  color: var(--seb-muted-text);
  line-height: 1.7;
}
.policy-note {
  font-size: 0.95rem !important;
  font-style: italic;
}

.panel {
  border: 1px solid var(--seb-border);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: var(--seb-shadow);
  background: #fff;
}
.form-panel, .auth-panel { max-width: 980px; margin: 0 auto; }
.stack-form { display: grid; gap: 1rem; }
.stack-form.narrow { max-width: 420px; }
.grid { display: grid; gap: 1rem; margin-top: 1.5rem; }
.tight-grid { margin-top: 0; }
.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
label { display: block; margin-bottom: 0.35rem; font-weight: 600; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--seb-border);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font: inherit;
  background: #fff;
}
textarea { min-height: 8rem; }
.errorlist {
  margin: 0.35rem 0 0;
  padding-left: 1rem;
  color: #b91c1c;
}
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.checkbox-row input { width: auto; margin-top: 0.35rem; }
.checkbox-stack {
  display: grid;
  gap: 0.9rem;
}
.family-members-builder {
  display: grid;
  gap: 1rem;
  margin-top: 0.75rem;
}
.family-members-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.family-members-header h4 {
  margin: 0;
  font-size: 1rem;
}
.family-member-add-button,
.family-member-remove-button {
  white-space: nowrap;
}
.family-member-list {
  display: grid;
  gap: 1rem;
}
.family-member-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--seb-border);
  border-radius: 16px;
  background: #fafafa;
}
.family-member-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.family-member-card-header h5 {
  margin: 0;
  font-size: 1rem;
}
.emergency-contact-note {
  margin-top: 0;
  line-height: 1.7;
}
.section-intro { margin-bottom: 1.5rem; }
.section-header.with-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.warning-panel {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid rgba(220, 38, 38, 0.28);
  border-radius: 16px;
  background: rgba(254, 242, 242, 0.95);
}
.warning-panel h4 {
  margin: 0;
  color: #991b1b;
}
.warning-panel p {
  margin: 0;
  color: #7f1d1d;
}
.danger-action {
  border-color: rgba(220, 38, 38, 0.24);
  color: #991b1b;
}
.danger-action:hover,
.danger-action:focus-visible {
  background: rgba(220, 38, 38, 0.08);
  color: #7f1d1d;
}
.form-block {
  display: grid;
  gap: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f0f0f0;
}
.form-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.form-block h3 {
  margin: 0;
  font-size: 1.25rem;
}
.compact-copy { margin-top: -0.35rem; }
.join-shell,
.member-shell {
  display: grid;
  gap: 2rem;
}
.join-panel { max-width: 100%; }
.next-steps-section { text-align: center; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.step-card {
  background: #fff;
  border: 1px solid var(--seb-border);
  border-radius: 18px;
  padding: 1.75rem 1.4rem;
  box-shadow: var(--seb-shadow);
}
.step-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.08);
  color: var(--seb-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.step-number {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem !important;
  font-weight: 700;
  color: #6b7280 !important;
}
.step-card h3 { margin: 0.35rem 0 0.75rem; }
.member-grid { margin-top: 0; }
.admin-tool-panel {
  display: grid;
  gap: 1rem;
}
.member-actions-panel {
  margin-top: 0;
}
.admin-tool-panel h2,
.admin-search-results h3,
.admin-lookup-result h3 {
  margin: 0;
}
.admin-lookup-form {
  display: grid;
  gap: 0.75rem;
}
.admin-lookup-form label {
  font-weight: 700;
}
.admin-search-results,
.admin-lookup-result {
  background: #f8fafc;
}
.admin-result-list {
  display: grid;
  gap: 0.9rem;
}
.admin-result-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--seb-border);
  border-radius: 14px;
  background: #fff;
}
.admin-result-card p {
  margin: 0.35rem 0 0;
}
.form-errors ul {
  margin: 0;
  padding-left: 1rem;
  color: #b91c1c;
}
.detail-list { display: grid; gap: 0.9rem; }
.detail-list dt { font-weight: 700; }
.detail-list dd { margin: 0.2rem 0 0; color: var(--seb-muted-text); }
.metric { font-size: 3rem; font-weight: 800; margin: 0; }

.site-footer {
  background: var(--seb-footer);
  color: rgba(255,255,255,0.88);
  padding-top: 3rem;
}
.footer-primary {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
.site-footer h3 {
  margin-top: 0;
  color: #fff;
}
.footer-brand {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.footer-copy { color: rgba(255,255,255,0.74); line-height: 1.7; }
.footer-links-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.footer-secondary {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1.6rem 0 2rem;
  text-align: center;
}
.footer-policy-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.footer-policy-links span { color: rgba(255,255,255,0.36); }
.copyright { color: rgba(255,255,255,0.58); margin: 0; }

@media (max-width: 920px) {
  .example-header {
    position: sticky;
  }
  .hero-shell {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 1.25rem;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-copy .hero-actions {
    justify-content: center;
  }
  .hero-badge {
    justify-self: center;
    width: min(320px, 82vw);
  }
  .admin-result-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .admin-result-card .button {
    width: 100%;
  }
  .example-nav-shell {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 24px 0 0;
  }
  .example-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0;
  }
  .example-nav a { padding: 0 0 18px; }
  .example-hero-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .example-hero-badge {
    width: min(360px, 80%);
    justify-self: start;
  }
  .example-cards { grid-template-columns: repeat(2, 1fr); }
  .reference-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reference-hero-shell { grid-template-columns: 1fr; text-align: center; }
  .reference-hero-copy { margin: 0 auto; }
  .reference-hero-copy p { margin-left: auto; margin-right: auto; }
  .reference-hero-actions { justify-content: center; }
  .reference-hero-badge { justify-self: center; width: min(82vw, 360px); }
  .footer-primary, .feature-grid, .steps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-shell { padding: 0.9rem 0; }
  .nav-shell, nav { align-items: flex-start; }
  .nav-shell { flex-direction: column; }
  .top-strip { display: none; }
  .hero-banner { min-height: 520px; }
  .hero-content { padding: 6rem 0 4.5rem; }
  .hero-content p, .centered-hero-copy p { font-size: 1.05rem; }
  .example-hero { padding-top: 48px; }
  .example-actions .button { width: 100%; }
  .example-brand { white-space: normal; }
  .example-cards { grid-template-columns: 1fr; }
  .reference-hero { min-height: auto; }
  .reference-hero-shell { padding: 4rem 0 3rem; }
  .reference-hero-copy h1 { font-size: clamp(2.4rem, 12vw, 4rem); }
  .reference-feature-grid { grid-template-columns: 1fr; }
  .brand-reference { font-size: 1.45rem; }
  .two-up { grid-template-columns: 1fr; }
  .footer-policy-links { flex-direction: column; }
  .footer-policy-links span { display: none; }
}
