:root {
  --bg: #f7f5f0;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-solid: #ffffff;
  --surface-soft: #faf8f4;
  --border: rgba(51, 51, 51, 0.08);
  --border-strong: rgba(51, 51, 51, 0.12);
  --text: #333333;
  --text-soft: #5f5a54;
  --text-muted: #8a837a;
  --primary: #333333;
  --primary-2: #000000;
  --primary-3: #b0732b;
  --primary-4: #b0732b;
  --success: #00a76e;
  --danger: #7e4c8b;
  --warning: #b0732b;
  --shadow-soft: 0 18px 40px rgba(51, 51, 51, 0.08);
  --shadow-card: 0 26px 60px rgba(51, 51, 51, 0.1);
  --shadow-hover: 0 30px 70px rgba(51, 51, 51, 0.14);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Open Sans", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(176, 115, 43, 0.1), transparent 24%),
    radial-gradient(circle at top right, rgba(51, 51, 51, 0.05), transparent 28%),
    linear-gradient(180deg, #f7f5f0 0%, #f4f1eb 100%);
}

a {
  color: inherit;
}

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

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

button {
  cursor: pointer;
}

.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;
}

.site-header {
  position: relative;
  z-index: 200;
  padding: 18px 24px 20px;
}

.navbar-wrapper {
  width: 100%;
}

.main-navbar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 4px;
}

.navbar-shell {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 40px rgba(51, 51, 51, 0.06);
  backdrop-filter: blur(16px);
}

.navbar-container {
  min-height: 92px;
  padding: 0 34px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.navbar-brand img {
  width: 128px;
  height: auto;
  object-fit: contain;
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff, #faf8f4);
  box-shadow: 0 8px 22px rgba(51, 51, 51, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.menu-button:hover {
  transform: translateY(-1px);
  color: var(--primary-3);
  box-shadow: 0 12px 24px rgba(51, 51, 51, 0.1);
}

.navbar-right {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0 auto;
}

.nav-link,
.dropdown-toggle,
.user-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #333333;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-link:hover,
.dropdown-toggle:hover,
.user-trigger:hover,
.nav-link:focus-visible,
.dropdown-toggle:focus-visible,
.user-trigger:focus-visible {
  color: var(--primary-3);
  outline: none;
}

.join-btn,
.primary-cta,
.join-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #333333, #333333);
  box-shadow:
    0 14px 24px rgba(51, 51, 51, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

.join-btn:hover,
.join-btn:focus-visible,
.primary-cta:hover,
.primary-cta:focus-visible,
.join-card-cta:hover,
.join-card-cta:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow:
    0 18px 30px rgba(51, 51, 51, 0.2),
    0 10px 20px rgba(176, 115, 43, 0.12);
  outline: none;
}

.dropdown,
.user-dropdown-container {
  position: relative;
}

.dropdown-content,
.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  min-width: 240px;
  margin: 0;
  padding: 12px 0;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 50px rgba(51, 51, 51, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
  z-index: 50;
}

.dropdown-content {
  left: 0;
}

.user-dropdown-menu {
  right: 0;
}

.dropdown-content a,
.user-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  text-decoration: none;
  color: #333333;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-content a:hover,
.user-dropdown-menu a:hover,
.dropdown-content a:focus-visible,
.user-dropdown-menu a:focus-visible {
  background: #faf8f4;
  color: var(--primary-3);
  outline: none;
}

.user-dropdown-menu .divider {
  height: 1px;
  margin: 8px 14px;
  background: rgba(51, 51, 51, 0.08);
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content,
.dropdown.is-open .dropdown-content,
.user-dropdown-container:hover .user-dropdown-menu,
.user-dropdown-container:focus-within .user-dropdown-menu,
.user-dropdown-container.is-open .user-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hello-label {
  color: var(--text-muted);
  font-weight: 400;
}

#username {
  color: #000000;
  font-weight: 700;
}

.dropdown-icon {
  font-size: 13px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.dropdown.is-open .dropdown-icon,
.user-dropdown-container.is-open .dropdown-icon {
  transform: rotate(180deg);
}

.about-page {
  padding: 20px 24px 72px;
}

.hero-section,
.story-section,
.workflow-section,
.benefits-section,
.join-section,
.final-cta-section {
  max-width: var(--container);
  margin: 0 auto;
}

.hero-shell,
.join-shell,
.final-cta-card {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.88));
  box-shadow: var(--shadow-card);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 28px;
  padding: 38px;
}

.hero-copy h1,
.section-heading h2,
.hero-panel h2,
.final-cta-card h2 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--primary-2);
}

.hero-copy h1 {
  font-size: clamp(2.3rem, 4.5vw, 4.1rem);
  line-height: 1.08;
  max-width: 780px;
}

.page-eyebrow,
.section-eyebrow {
  margin: 0 0 14px;
  color: var(--primary-3);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-lead,
.section-heading p,
.hero-panel p,
.story-card p,
.timeline-step p,
.benefit-card p,
.join-card p,
.final-cta-card p {
  color: var(--text-soft);
  line-height: 1.85;
}

.hero-lead {
  max-width: 740px;
  margin: 18px 0 0;
  font-size: 1.05rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(176, 115, 43, 0.18);
  background: rgba(176, 115, 43, 0.08);
  color: var(--primary);
  font-weight: 700;
}

.hero-actions,
.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.secondary-cta:hover,
.secondary-cta:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(176, 115, 43, 0.38);
  color: var(--primary-3);
  outline: none;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 30px;
  background: linear-gradient(180deg, rgba(51, 51, 51, 0.98), rgba(25, 25, 25, 0.96));
  box-shadow: 0 24px 52px rgba(51, 51, 51, 0.18);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(176, 115, 43, 0.24), transparent 28%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01) 48%);
  pointer-events: none;
}

.hero-panel-top,
.hero-metrics {
  position: relative;
  z-index: 1;
}

.hero-panel-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(176, 115, 43, 0.18);
  color: #f5d3a4;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel h2 {
  margin-top: 18px;
  color: #ffffff;
  font-size: 1.85rem;
  line-height: 1.2;
}

.hero-panel p {
  margin-top: 12px;
  color: rgba(240, 236, 230, 0.85);
}

.hero-metrics {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.metric-card,
.story-card,
.timeline-step,
.benefit-card,
.join-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.metric-card {
  padding: 18px 18px 16px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.metric-card strong {
  display: block;
  margin-top: 12px;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
}

.metric-card p {
  margin: 8px 0 0;
  font-size: 0.95rem;
}

.metric-icon,
.benefit-icon,
.join-card-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: var(--primary-3);
  background: linear-gradient(180deg, rgba(176, 115, 43, 0.18), rgba(176, 115, 43, 0.08));
  border: 1px solid rgba(176, 115, 43, 0.14);
}

.section-heading {
  max-width: 760px;
  margin: 0 0 26px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(1.95rem, 3vw, 3rem);
  line-height: 1.15;
}

.story-section,
.workflow-section,
.benefits-section,
.join-section,
.final-cta-section {
  margin-top: 30px;
}

.story-grid,
.benefit-grid,
.join-grid,
.timeline-grid {
  display: grid;
  gap: 22px;
}

.story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-card,
.timeline-step,
.benefit-card,
.join-card {
  padding: 28px;
}

.story-card h3,
.timeline-step h3,
.benefit-card h3,
.join-card h3 {
  margin: 18px 0 12px;
  font-family: "Montserrat", sans-serif;
  font-size: 1.28rem;
  color: var(--primary-2);
}

.story-card ul,
.join-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--text-soft);
  line-height: 1.9;
}

.accent-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 238, 0.95));
  border-color: rgba(176, 115, 43, 0.16);
}

.workflow-section {
  padding: 10px 0 0;
}

.timeline-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-step {
  position: relative;
  padding-top: 74px;
}

.step-number {
  position: absolute;
  top: 24px;
  left: 28px;
  font-family: "Montserrat", sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: rgba(176, 115, 43, 0.92);
}

.benefit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.join-shell {
  padding: 34px;
}

.join-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gold-card {
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(255, 245, 230, 0.95));
  border-color: rgba(176, 115, 43, 0.18);
}

.join-card-cta {
  margin-top: 14px;
}

.final-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 36px;
}

.final-cta-card p {
  max-width: 760px;
}

.rx-footer {
  padding: 18px 24px 28px;
}

.rx-footer-shell {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 36px 36px 22px;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(51, 51, 51, 0.98), rgba(0, 0, 0, 0.96));
  box-shadow:
    0 28px 60px rgba(51, 51, 51, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.rx-footer-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(176, 115, 43, 0.12), transparent 24%),
    radial-gradient(circle at 88% 14%, rgba(255, 255, 255, 0.08), transparent 18%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 36%, rgba(255, 255, 255, 0.01));
}

.rx-footer-shell::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 115, 43, 0.14), transparent 68%);
  pointer-events: none;
}

.rx-footer-top,
.rx-footer-bottom {
  position: relative;
  z-index: 1;
}

.rx-footer-top {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(0, 2fr);
  gap: 34px;
  padding-bottom: 28px;
}

.rx-footer-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 154px;
  min-height: 76px;
  padding: 16px 20px;
  background: #ffffff;
}

.rx-footer-logo {
  max-width: 118px;
  height: auto;
}

.rx-footer-description {
  max-width: 390px;
  margin: 24px 0 28px;
  color: rgba(240, 236, 230, 0.88);
  font-size: 15px;
  line-height: 1.85;
}

.rx-footer-emergency {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.rx-footer-emergency-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #b0732b;
  background: linear-gradient(180deg, rgba(176, 115, 43, 0.18), rgba(176, 115, 43, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rx-footer-emergency-label {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rx-footer-emergency-number {
  text-decoration: none;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
}

.rx-footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.rx-footer-column h4 {
  margin: 8px 0 18px;
  padding-bottom: 14px;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  position: relative;
}

.rx-footer-column h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(176, 115, 43, 0.95), rgba(176, 115, 43, 0));
}

.rx-footer-column a,
.rx-contact-item a {
  text-decoration: none;
  color: rgba(240, 236, 230, 0.9);
  font-size: 15px;
  line-height: 1.8;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.rx-footer-column a:hover,
.rx-contact-item a:hover,
.rx-footer-column a:focus-visible,
.rx-contact-item a:focus-visible {
  color: #b0732b;
  outline: none;
}

.rx-footer-column:not(.rx-footer-contact):not(.rx-footer-form-col) {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rx-contact-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
}

.rx-contact-item + .rx-contact-item {
  margin-top: 14px;
}

.rx-contact-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #b0732b;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.rx-contact-phones {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rx-footer-form {
  display: grid;
  gap: 14px;
  max-width: 240px;
}

.rx-footer-input {
  height: 52px;
  width: 100%;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.rx-footer-input::placeholder {
  color: rgba(240, 236, 230, 0.6);
}

.rx-footer-submit {
  height: 50px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #333333, #333333);
  box-shadow: 0 14px 22px rgba(0, 0, 0, 0.22);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.rx-footer-submit:hover,
.rx-footer-submit:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.26);
  outline: none;
}

.footer-form-feedback {
  min-height: 18px;
  margin: 0;
  color: rgba(176, 115, 43, 0.96);
  font-size: 0.85rem;
  line-height: 1.5;
}

.rx-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rx-footer-copy {
  margin: 0;
  color: rgba(240, 236, 230, 0.74);
  font-size: 0.95rem;
}

.rx-footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rx-social-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.rx-social-link:hover,
.rx-social-link:focus-visible {
  transform: translateY(-1px);
  color: #b0732b;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

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

  .story-grid,
  .benefit-grid,
  .join-grid,
  .timeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 1024px) {
  .site-header,
  .about-page,
  .rx-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .navbar-container {
    min-height: 82px;
    padding: 0 22px;
  }

  .nav-center {
    gap: 20px;
  }

  .rx-footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .navbar-container {
    flex-wrap: wrap;
    padding: 18px 20px;
    gap: 18px;
  }

  .navbar-right {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 10px 0 4px;
    border-top: 1px solid rgba(51, 51, 51, 0.08);
  }

  .navbar-right.is-open {
    display: flex;
  }

  .nav-center {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
  }

  .nav-link,
  .dropdown-toggle,
  .user-trigger {
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 0 4px;
  }

  .dropdown-content,
  .user-dropdown-menu {
    position: static;
    min-width: 0;
    margin-top: 8px;
    box-shadow: none;
    border-radius: 16px;
    border-color: rgba(51, 51, 51, 0.06);
    transform: none;
    display: none;
    opacity: 1;
    visibility: visible;
  }

  .dropdown.is-open .dropdown-content,
  .user-dropdown-container.is-open .user-dropdown-menu {
    display: block;
  }

  .user-dropdown-container {
    width: 100%;
  }

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

@media (max-width: 760px) {
  .hero-shell,
  .join-shell,
  .final-cta-card,
  .story-card,
  .timeline-step,
  .benefit-card,
  .join-card,
  .rx-footer-shell {
    border-radius: 28px;
  }

  .hero-shell {
    padding: 28px 22px;
  }

  .story-grid,
  .benefit-grid,
  .join-grid,
  .timeline-grid,
  .rx-footer-links {
    grid-template-columns: 1fr;
  }

  .rx-footer-shell {
    padding: 28px 22px 20px;
  }

  .rx-footer-form {
    max-width: 100%;
  }
}

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

  .about-page {
    padding-top: 16px;
    padding-bottom: 56px;
  }

  .navbar-shell {
    border-radius: 22px;
  }

  .navbar-brand img {
    width: 112px;
  }

  .menu-button {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .hero-copy h1 {
    font-size: 2.1rem;
  }

  .hero-actions,
  .final-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-cta,
  .secondary-cta,
  .join-card-cta {
    width: 100%;
  }

  .join-shell,
  .final-cta-card {
    padding: 26px 20px;
  }

  .rx-footer-top {
    gap: 26px;
    padding-bottom: 24px;
  }

  .rx-footer-emergency {
    width: 100%;
  }

  .rx-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
