/* ================================================================
   SMAC Families Fundraiser — Design System
   Typography: Lora (display) + DM Sans (body)
   Palette: Navy + Gold (official SMAC Crusader colors)
   ================================================================ */

/* --- Tokens --- */
:root {
  --navy: #0E294A;
  --navy-dark: #091D36;
  --navy-deep: #051224;
  --gold: #FFD800;
  --gold-light: #FFE44D;
  --gold-pale: #FFF8D6;
  --scarlet: #CC0022;
  --cream: #F7F9FC;
  --warm-white: #FCFDFE;
  --text: #1A2332;
  --text-muted: #4A5568;
  --text-light: #718096;
  --border: #E2E8F0;
  --border-light: #EDF2F7;
  --shadow-sm: 0 1px 3px rgba(14,41,74,0.06);
  --shadow: 0 4px 12px rgba(14,41,74,0.07);
  --shadow-md: 0 8px 24px rgba(14,41,74,0.09);
  --shadow-lg: 0 16px 40px rgba(14,41,74,0.12);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --font-display: 'Lora', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); }

::selection {
  background: var(--gold-pale);
  color: var(--navy-dark);
}

/* --- Layout --- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

/* --- Header --- */
.site-header {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-dark) 100%);
  padding: 0;
  padding-top: env(safe-area-inset-top, 0px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(61,13,28,0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--gold);
}

.logo-crest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: #fff;
}

.header-nav { display: flex; align-items: center; gap: 8px; }

.nav-link {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease-out);
  border: 1px solid transparent;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
}

.nav-link-signin,
.nav-link-dashboard {
  border-color: rgba(255,255,255,0.25);
}

.nav-link-dashboard {
  color: var(--yellow);
  border-color: var(--yellow);
}
.nav-link-dashboard:hover {
  background: var(--yellow);
  color: var(--navy);
  border-color: var(--yellow);
}

/* --- Footer --- */
.site-footer {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  margin-top: 80px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand { max-width: 300px; }

.footer-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.5;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s var(--ease-out);
  box-shadow: 0 2px 8px rgba(123,27,58,0.2);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: var(--navy-dark);
  box-shadow: 0 4px 16px rgba(123,27,58,0.3);
  transform: translateY(-1px);
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--navy);
  transition: all 0.25s var(--ease-out);
}

.btn-secondary:hover {
  background: var(--navy);
  color: #fff;
}

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-full { display: block; width: 100%; text-align: center; }

/* --- Entrance Animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.animate-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s var(--ease-out) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* --- Gold accent line (used under headings) --- */
.gold-line {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 12px auto 0;
}

/* ================================================================
   HOME PAGE
   ================================================================ */

.hero {
  text-align: center;
  padding: 72px 0 48px;
}

.hero-crest {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 20px;
  filter: drop-shadow(0 2px 8px rgba(14,41,74,0.15));
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.families-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 24px 0 48px;
}

.family-card {
  text-decoration: none;
  color: var(--text);
  background: var(--warm-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all 0.3s var(--ease-out);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.family-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--gold-light);
}

.family-card-inner {
  padding: 36px 32px;
  text-align: center;
}

.family-card h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.student-count {
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  margin-bottom: 12px;
}

.family-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.55;
}

.btn-view {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.25s var(--ease-out);
}

.family-card:hover .btn-view {
  background: var(--navy-dark);
  box-shadow: 0 4px 12px rgba(123,27,58,0.25);
}

/* ================================================================
   FAMILY PAGE
   ================================================================ */

.family-hero {
  text-align: center;
  padding: 64px 0 36px;
  position: relative;
}

.family-hero.has-hero-image {
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 24px;
}

.hero-banner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(14,41,74,0.35) 0%, rgba(14,41,74,0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.family-hero.has-hero-image .hero-content {
  padding: 60px 24px 40px;
}

.family-hero.has-hero-image h1 {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.family-hero.has-hero-image .family-description {
  color: rgba(255,255,255,0.9);
}

.family-hero.has-hero-image .manage-page-link {
  color: rgba(255,255,255,0.7);
}

.family-hero.has-hero-image .manage-page-link:hover {
  color: #fff;
}

.family-hero h1 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.family-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.manage-page-form { display: inline-block; margin-top: 8px; }

.manage-page-link {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-body);
}

.manage-page-link:hover {
  color: var(--navy);
  border-color: var(--navy);
  background: var(--cream);
}

.donation-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-pale);
  border: 1px solid var(--gold-light);
  border-radius: 100px;
  padding: 10px 24px;
  font-size: 0.9rem;
  color: var(--text);
}

/* --- Student Cards --- */
.students-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  padding: 24px 0 48px;
}

.student-card {
  background: var(--warm-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: center;
  transition: all 0.3s var(--ease-out);
  border: 1px solid var(--border-light);
}

.student-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.student-photo {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(145deg, #f0ece4 0%, #e8e2d8 100%);
  position: relative;
}

.student-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.student-card:hover .student-photo img {
  transform: scale(1.03);
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.placeholder-initial {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.85;
}

.student-info {
  padding: 24px 24px 12px;
}

.student-info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.grade {
  font-size: 0.82rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-bottom: 8px;
}

.bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Donation Buttons --- */
.donation-buttons {
  padding: 16px 24px 28px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.btn-donate {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s var(--ease-out);
  flex: 1;
  max-width: 110px;
  min-height: 64px;
  position: relative;
}

.btn-donate:active { transform: scale(0.95); }

.btn-donate-1 {
  background: var(--warm-white);
  color: var(--navy);
  border: 2px solid var(--border);
}

.btn-donate-1:hover {
  border-color: var(--navy);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-donate-5 {
  background: var(--navy);
  color: #fff;
  border: 2px solid var(--navy);
  box-shadow: 0 2px 8px rgba(123,27,58,0.2);
}

.btn-donate-5:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  box-shadow: 0 4px 12px rgba(123,27,58,0.3);
  transform: translateY(-2px);
}

.btn-donate-10 {
  background: linear-gradient(135deg, var(--gold) 0%, #FFE44D 100%);
  color: var(--navy-deep);
  border: 2px solid var(--gold);
  box-shadow: 0 2px 8px rgba(201,169,78,0.25);
}

.btn-donate-10:hover {
  box-shadow: 0 4px 16px rgba(201,169,78,0.35);
  transform: translateY(-2px);
}

.donate-amount {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
}

.donate-label {
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.75;
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* --- Share Section (family page) --- */
.share-section {
  text-align: center;
  padding: 48px 0;
}

.share-section h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.share-section p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.share-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.family-login-link {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.family-login-link a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.family-login-link a:hover {
  color: var(--gold);
}

.inline-form { display: inline; }
.link-as-button {
  background: none;
  border: none;
  padding: 0;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  font: inherit;
}
.link-as-button:hover { color: var(--gold); }

.btn-share {
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}

.btn-share:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
}

.share-buttons-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-share-action {
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.2s;
}

.btn-share-action:hover { opacity: 0.85; }

/* ================================================================
   JOIN / SALES PAGE
   ================================================================ */

.join-hero {
  text-align: center;
  padding: 80px 0 56px;
  position: relative;
}

.join-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,169,78,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.badge-launch {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--navy);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  border: 1px solid var(--gold-light);
}

.join-hero h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.join-hero .hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 0;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* --- Section Structure --- */
.join-section {
  padding: 64px 0;
}

.section-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-desc {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* --- Problem Cards --- */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.problem-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: left;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color 0.2s;
}

.problem-card:hover {
  border-color: var(--gold-light);
}

.problem-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.problem-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --- Solution / Features --- */
.solution-section {
  background: linear-gradient(180deg, var(--cream) 0%, #f3efe6 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin: 0;
  padding: 64px 0;
}

.solution-section .section-title,
.solution-section .section-desc {
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.feature-card {
  background: var(--warm-white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all 0.3s var(--ease-out);
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--gold-light);
}

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
  display: block;
  line-height: 1;
}

.feature-card h3 {
  font-family: var(--font-display);
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 1.05rem;
  font-weight: 600;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --- Steps --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--warm-white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  text-align: center;
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--gold);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 14px;
}

.step-card h3 {
  font-family: var(--font-display);
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 600;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Demo Section --- */
.demo-section { text-align: center; }

.demo-frame { max-width: 500px; margin: 0 auto; }

.demo-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s var(--ease-out);
}

.demo-link:hover { transform: translateY(-4px); }

.demo-browser {
  background: var(--warm-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.demo-bar {
  background: #f0ece4;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.demo-dot {
  width: 10px;
  height: 10px;
  background: #d4cfc4;
  border-radius: 50%;
}

.demo-url {
  background: var(--warm-white);
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-left: 10px;
  font-family: var(--font-body);
}

.demo-content {
  padding: 36px 28px;
  font-size: 1rem;
  line-height: 1.9;
}

.demo-buttons {
  font-family: var(--font-body);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* --- Pricing --- */
.pricing-section { text-align: center; }

/* --- Tier Pricing Grid --- */
.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 980px;
  margin: 0 auto 32px;
  align-items: stretch;
}

.tier-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  padding: 0;
  position: relative;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.tier-card:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.tier-card:last-child { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }

.tier-card:hover {
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.tier-card-selected {
  border-color: var(--navy) !important;
  box-shadow: 0 0 0 2px var(--navy), var(--shadow-md);
  z-index: 3;
}

/* Featured (Pro) card — taller, lifted */
.tier-card-featured {
  border: 2px solid var(--navy);
  border-radius: var(--radius-lg) !important;
  z-index: 2;
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
  margin: -12px -2px;
}

.tier-card-featured:hover {
  transform: scale(1.06);
  box-shadow: 0 20px 50px rgba(14, 41, 74, 0.18);
}

/* Ribbon */
.tier-ribbon {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  white-space: nowrap;
}

/* Tier header */
.tier-header {
  padding: 40px 24px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.tier-card-featured .tier-header {
  padding-top: 52px;
  background: linear-gradient(180deg, rgba(123,27,58,0.03) 0%, transparent 100%);
}

.tier-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.tier-card-featured .tier-name {
  color: var(--navy);
}

.tier-price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}

.tier-card-featured .tier-price {
  font-size: 2.8rem;
  color: var(--navy);
}

.tier-per {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.tier-cap {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 6px;
}

/* Tier body */
.tier-body {
  padding: 24px 24px 28px;
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tier-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-style: italic;
  text-align: center;
}

.tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}

.tier-features li {
  padding: 8px 0;
  font-size: 0.86rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.tier-features li::before {
  content: "\2713";
  color: var(--navy);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.tier-feature-muted {
  color: var(--text-light) !important;
  text-decoration: line-through;
  opacity: 0.6;
}

.tier-feature-muted::before {
  content: "\2717" !important;
  color: var(--text-light) !important;
  font-weight: 400 !important;
}

/* Tier buttons */
.tier-btn {
  display: block;
  text-align: center;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.25s var(--ease-out);
  cursor: pointer;
  border: none;
  width: 100%;
}

.tier-btn-outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text);
}

.tier-btn-outline:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: rgba(14, 41, 74, 0.03);
}

.tier-btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 12px rgba(14, 41, 74, 0.25);
}

.tier-btn-primary:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(14, 41, 74, 0.35);
  color: #fff;
}

.tier-btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #FFE44D 100%);
  color: var(--navy-deep);
  box-shadow: 0 4px 12px rgba(255, 216, 0, 0.3);
}

.tier-btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 216, 0, 0.45);
  color: var(--navy-deep);
}

.pricing-guarantee {
  font-size: 0.82rem;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto;
}

/* --- Tier Upsell Overlay --- */
.tier-upsell-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 33, 24, 0.65);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}

.tier-upsell-modal {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  max-width: 480px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 24px 60px rgba(42, 33, 24, 0.25);
  animation: slideUp 0.35s var(--ease-spring);
}

.tier-upsell-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

.tier-upsell-close:hover { color: var(--text); }

.tier-upsell-badge {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid var(--gold-light);
  margin-bottom: 16px;
}

.tier-upsell-modal h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 10px;
}

.tier-upsell-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 24px;
}

.tier-upsell-compare {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.tier-upsell-option {
  flex: 1;
  padding: 16px 12px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.tier-upsell-dim {
  background: var(--cream);
  border: 1px solid var(--border-light);
  opacity: 0.7;
}

.tier-upsell-highlight {
  background: rgba(14, 41, 74, 0.04);
  border: 2px solid var(--navy);
  position: relative;
}

.tier-upsell-vs {
  font-weight: 700;
  color: var(--text-light);
  font-size: 0.82rem;
  text-transform: uppercase;
  flex-shrink: 0;
}

.tier-upsell-label {
  display: block;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.tier-upsell-price {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
}

.tier-upsell-highlight .tier-upsell-price {
  color: var(--navy);
}

.tier-upsell-what {
  display: block;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 2px;
}

.tier-upsell-same {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-top: 8px;
}

.tier-upsell-skip {
  display: block;
  margin: 14px auto 0;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tier-upsell-skip:hover { color: var(--text-muted); }

/* --- Form Tier Badge --- */
.form-tier-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: rgba(14, 41, 74, 0.04);
  border: 1px solid rgba(14, 41, 74, 0.12);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 24px;
}

.form-tier-badge-basic {
  background: var(--cream);
  border-color: var(--border);
  color: var(--text);
}

.form-tier-badge-premium {
  background: rgba(255, 216, 0, 0.08);
  border-color: rgba(255, 216, 0, 0.3);
  color: var(--navy-deep);
}

.form-tier-icon { font-size: 1.1rem; }

.form-tier-change {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- Tier responsive --- */
@media (max-width: 840px) {
  .pricing-tiers {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: 16px;
  }
  .tier-card,
  .tier-card:first-child,
  .tier-card:last-child {
    border-radius: var(--radius-lg) !important;
  }
  .tier-card-featured {
    transform: none;
    margin: 0;
    order: -1;
  }
  .tier-card-featured:hover { transform: none; }
  .tier-upsell-compare { flex-direction: column; gap: 8px; }
  .tier-upsell-vs { display: none; }
  .tier-upsell-modal { padding: 32px 24px; }
}

/* --- What You'll Need --- */
.needs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.need-card {
  background: var(--warm-white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.need-card h3 {
  font-family: var(--font-display);
  color: var(--navy);
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.need-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.55;
}

.tip-box {
  background: var(--gold-pale);
  border-left: 3px solid var(--gold);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.84rem;
  color: var(--text);
  line-height: 1.5;
}

/* --- FAQ --- */
.faq-list {
  max-width: 680px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-item h3 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.02rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.faq-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Signup Form --- */
.signup-form {
  max-width: 580px;
  margin: 0 auto;
  background: var(--warm-white);
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.signup-form label,
.admin-form label {
  display: block;
  margin-bottom: 18px;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.signup-form input[type="text"],
.signup-form input[type="email"],
.signup-form input[type="tel"],
.signup-form select,
.signup-form textarea,
.admin-form input[type="text"],
.admin-form input[type="password"],
.admin-form input[type="number"],
.admin-form input[type="email"],
.admin-form input[type="tel"],
.admin-form textarea,
.admin-form select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-body);
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus,
.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(123,27,58,0.08);
}

.req { color: var(--navy); font-weight: 600; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
}

.checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
  cursor: pointer;
}

.cost-display {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--gold-pale);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius);
  padding: 18px;
}

.cost-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.cost-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.cost-note {
  font-size: 0.72rem;
  color: var(--text-light);
}

.cost-savings {
  font-size: 0.78rem;
  font-weight: 600;
  color: #2d6b2d;
  margin-top: 4px;
}

/* --- Confirmation --- */
.confirmation-hero {
  text-align: center;
  padding: 72px 0 24px;
}

.confirmation-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: #e8f5e8;
  color: #2d7a2d;
  border-radius: 50%;
  font-size: 2.5rem;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(45,122,45,0.15);
}

.confirmation-hero h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.confirmation-hero .hero-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.next-steps {
  max-width: 680px;
  margin: 40px auto 0;
  display: grid;
  gap: 16px;
}

.next-steps .step-card {
  text-align: left;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.next-steps .step-num {
  flex-shrink: 0;
  margin-bottom: 0;
}

/* ================================================================
   PIN PAGE
   ================================================================ */

.pin-page {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 24px;
  min-height: 60vh;
}

.pin-card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 48px 40px;
  text-align: center;
  max-width: 380px;
  width: 100%;
  border: 1px solid var(--border-light);
}

.pin-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
  display: block;
}

.pin-card h1 {
  font-family: var(--font-display);
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.pin-card p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.pin-input {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 2rem;
  letter-spacing: 0.35em;
  padding: 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-family: var(--font-body);
  color: var(--navy);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pin-input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(123,27,58,0.1);
}

.btn-full { display: block; width: 100%; text-align: center; }

/* ================================================================
   DASHBOARD
   ================================================================ */

.dashboard {
  padding: 48px 0;
  max-width: 900px;
  margin: 0 auto;
}

.dashboard h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.dashboard > a,
.dashboard > p > a {
  color: var(--navy);
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 500;
}

.dashboard > a:hover,
.dashboard > p > a:hover {
  text-decoration: underline;
}

.dashboard h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold-pale);
}

/* --- Stats --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.stat-card {
  background: var(--warm-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  padding: 28px 24px;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  margin-top: 6px;
  display: block;
}

/* --- QR Section --- */
.qr-section {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  background: var(--warm-white);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.qr-image {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-sm);
}

.qr-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* --- Share Kit --- */
.share-kit { display: grid; gap: 16px; }

.share-item {
  background: var(--warm-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  padding: 24px;
  position: relative;
}

.share-item h3 {
  font-family: var(--font-display);
  color: var(--navy);
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 600;
}

.share-text {
  background: #f8f6f0;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  line-height: 1.65;
  white-space: pre-wrap;
  margin-bottom: 12px;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}

.btn-copy {
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}

.btn-copy:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
}

/* --- Tips Grid --- */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.tip-card {
  background: var(--warm-white);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.tip-card h3 {
  font-family: var(--font-display);
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 0.92rem;
  font-weight: 600;
}

.tip-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ================================================================
   ADMIN STYLES
   ================================================================ */

.admin-form {
  max-width: 600px;
  margin: 48px auto;
  padding: 0 24px;
}

.admin-form h1 {
  font-family: var(--font-display);
  color: var(--navy);
  margin-bottom: 28px;
  font-size: 1.8rem;
}

.admin-form .btn-primary {
  margin-top: 8px;
}

.admin-dashboard {
  padding: 48px 0;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-header h1, .admin-header h2 {
  font-family: var(--font-display);
  color: var(--navy);
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat {
  font-size: 0.88rem;
  color: var(--text-light);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--warm-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.admin-table th,
.admin-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.admin-table th {
  background: #f5f2eb;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-table td {
  font-size: 0.92rem;
}

.admin-table td a {
  color: var(--navy);
  margin-right: 12px;
  text-decoration: none;
  font-weight: 500;
}

.admin-table td a:hover { text-decoration: underline; }

.admin-thumb {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.admin-photo-preview {
  width: 200px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-active {
  background: #e8f5e8;
  color: #2d6b2d;
}

.badge-inactive {
  background: #f5e8e8;
  color: #6b2d2d;
}

.no-photo { color: var(--text-light); }

.form-note {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 8px;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 36px 0;
}

/* --- Error States --- */
.error-msg {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-size: 0.9rem;
}

.error-page {
  text-align: center;
  padding: 100px 24px;
}

.error-page h1 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 2rem;
  margin-bottom: 12px;
}

.error-page p { color: var(--text-muted); margin-bottom: 24px; }
.error-page a { color: var(--navy); font-weight: 500; }

/* --- Alert Box --- */
.alert-box {
  background: var(--gold-pale);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 0.92rem;
}

/* ================================================================
   GRAND PRIZE BANNER
   ================================================================ */

.prize-banner {
  background: linear-gradient(135deg, var(--gold-pale) 0%, #FFFBE6 100%);
  border-bottom: 2px solid var(--gold-light);
  padding: 14px 0;
}

.prize-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.prize-icon { font-size: 1.4rem; }

.prize-text {
  font-size: 0.92rem;
  color: var(--text);
}

.prize-sub {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ================================================================
   RECIPIENT BANNER (squeeze page personalization)
   ================================================================ */

.recipient-banner {
  margin-top: 24px;
}

.recipient-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--warm-white);
  border: 2px solid var(--gold-light);
  border-radius: var(--radius);
  padding: 18px 24px;
  font-size: 1rem;
}

.recipient-wave { font-size: 1.6rem; }

/* ================================================================
   HOW IT WORKS
   ================================================================ */

.how-it-works {
  margin-bottom: 32px;
}

.how-it-works h2 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 24px;
}

.hiw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hiw-item {
  background: var(--warm-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.hiw-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 12px;
}

.hiw-item strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.hiw-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ================================================================
   FAMILY BUNDLE
   ================================================================ */

.family-bundle {
  margin-bottom: 8px;
}

.bundle-card {
  background: var(--warm-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: center;
}

.bundle-header h2 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.bundle-header p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.bundle-options {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}

.bundle-option {
  flex: 1;
  max-width: 160px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 12px;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  font-family: var(--font-body);
  text-align: center;
}

.bundle-option:hover {
  border-color: var(--navy);
}

.bundle-option.active {
  border-color: var(--navy);
  background: rgba(123,27,58,0.04);
  box-shadow: 0 0 0 3px rgba(123,27,58,0.08);
}

.bundle-qty {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.bundle-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 4px 0 8px;
}

.bundle-total {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.bundle-summary {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.bundle-cta {
  max-width: 360px;
  margin: 0 auto;
}

.bundle-note {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 10px;
}

/* --- OR Divider --- */
.or-divider {
  text-align: center;
  position: relative;
  margin: 32px auto;
}

.or-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.or-divider span {
  position: relative;
  background: var(--cream);
  padding: 0 20px;
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* ================================================================
   UPSELL MODAL
   ================================================================ */

.upsell-overlay,
.bundle-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14,41,74,0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}

.upsell-modal,
.bundle-modal {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: scaleIn 0.3s var(--ease-out);
}

.upsell-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.upsell-close:hover { color: var(--text); }

.upsell-prize {
  text-align: center;
  background: var(--gold-pale);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.upsell-modal h3 {
  font-family: var(--font-display);
  color: var(--navy);
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.upsell-student {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.upsell-options {
  display: flex;
  gap: 10px;
}

.upsell-option {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 12px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.25s var(--ease-out);
  text-align: center;
  position: relative;
}

.upsell-go {
  background: var(--warm-white);
  border: 2px solid var(--border);
  color: var(--text);
}

.upsell-go:hover {
  border-color: var(--navy);
}

.upsell-upgrade {
  background: var(--navy);
  color: #fff;
  border: 2px solid var(--navy);
  box-shadow: 0 4px 12px rgba(123,27,58,0.25);
  transform: scale(1.04);
}

.upsell-upgrade:hover {
  background: var(--navy-dark);
  transform: scale(1.06);
}

.upsell-big {
  background: linear-gradient(135deg, var(--gold) 0%, #FFE44D 100%);
  color: var(--navy-deep);
  border: 2px solid var(--gold);
}

.upsell-big:hover {
  box-shadow: 0 4px 16px rgba(201,169,78,0.35);
  transform: scale(1.02);
}

.upsell-amount {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
}

.upsell-desc {
  font-size: 0.75rem;
  margin-top: 4px;
  opacity: 0.85;
}

.upsell-badge {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 8px;
  opacity: 0.9;
}

/* ================================================================
   BUNDLE MODAL (step-by-step)
   ================================================================ */

.bundle-modal h3 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.bundle-student-list {
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 4px;
}

.bundle-student-list > div:last-child {
  border-bottom: none !important;
}

.bundle-progress {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.bundle-final {
  text-align: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.bundle-final p {
  color: #2d6b2d;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 12px;
}

/* ================================================================
   RECIPIENT TRACKING (dashboard)
   ================================================================ */

.recipient-table td { font-size: 0.85rem; }

.recipient-url {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.btn-copy-sm {
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  margin-left: 6px;
  font-family: var(--font-body);
  transition: background 0.2s;
}

.btn-copy-sm:hover { background: var(--navy-dark); }

.btn-delete-sm {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-light);
  width: 24px;
  height: 24px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: all 0.2s;
}

.btn-delete-sm:hover {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.badge-viewed {
  background: #fef3e2;
  color: #92600e;
}

.badge-pending {
  background: #f5f2eb;
  color: var(--text-light);
}

.follow-up-row td {
  padding: 0 18px 14px !important;
  border-bottom: 1px solid var(--border-light) !important;
}

.follow-up-tip {
  background: var(--gold-pale);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* --- Recipient Cards (mobile-first share) --- */
.recipient-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.recipient-card {
  background: var(--warm-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.recipient-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.recipient-card-name {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.recipient-card-stats {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  gap: 6px;
}

.recipient-card-actions {
  display: flex;
  gap: 8px;
}

.recipient-share-btn {
  flex: 1;
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s;
}

.recipient-share-btn:hover { opacity: 0.85; }

.share-text-btn {
  background: #34C759;
  color: #fff;
}

.share-copy-btn {
  background: var(--navy);
  color: #fff;
}

.share-native-btn {
  background: var(--gold);
  color: var(--navy-dark);
}

.follow-up-link {
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}

.follow-up-link:hover { text-decoration: underline; }

.recipient-form {
  margin-top: 20px;
}

.recipient-form-row {
  display: flex;
  gap: 10px;
}

.recipient-form-row input {
  flex: 1;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: var(--font-body);
  background: #fff;
}

.recipient-form-row input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(123,27,58,0.08);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 768px) {
  .hero h1,
  .family-hero h1 {
    font-size: 2rem;
  }

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

  .join-hero {
    padding: 56px 0 40px;
  }

  .section-title {
    font-size: 1.6rem;
  }

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

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

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

  .hiw-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand { max-width: none; }

  .bundle-options {
    flex-direction: row;
  }

  .upsell-options {
    flex-direction: column;
  }

  .upsell-upgrade {
    transform: none;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
  }

  .hero h1,
  .family-hero h1 {
    font-size: 1.7rem;
  }

  .join-hero h1 {
    font-size: 1.65rem;
  }

  .join-section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .section-desc {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }

  .students-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .student-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    grid-template-rows: auto auto;
    text-align: left;
  }

  .student-photo {
    aspect-ratio: 1;
    grid-row: 1 / 3;
  }

  .student-info {
    padding: 16px 16px 4px;
  }

  .student-info h3 { font-size: 1.1rem; }

  .donation-buttons {
    padding: 4px 16px 16px;
    justify-content: flex-start;
    gap: 8px;
  }

  .btn-donate {
    max-width: 80px;
    padding: 10px 8px;
    min-height: auto;
  }

  .donate-amount { font-size: 1rem; }

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

  .signup-form {
    padding: 28px 22px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    padding: 0 18px;
  }

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

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn-primary,
  .hero-cta .btn-secondary {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }


  .pin-card { padding: 36px 28px; }

  .dashboard { padding: 32px 0; }
  .dashboard h1 { font-size: 1.6rem; }

  .qr-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .qr-actions { align-items: center; }

  .admin-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-table { font-size: 0.82rem; }
  .admin-table th, .admin-table td { padding: 10px 12px; }

  .footer-links { gap: 16px; }

  .bundle-options { gap: 8px; }
  .bundle-option { padding: 14px 8px; }
  .bundle-card { padding: 24px 18px; }

  .upsell-modal, .bundle-modal { padding: 28px 20px; }

  .recipient-form-row {
    flex-direction: column;
  }

  .recipient-table th:nth-child(2),
  .recipient-table td:nth-child(2) {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .prize-banner-inner {
    flex-direction: column;
    gap: 6px;
  }
}

/* --- Print Styles --- */
@media print {
  .site-header, .site-footer, .no-print { display: none !important; }
  body { background: #fff; }
  .student-card { break-inside: avoid; }
}

/* --- Auth Pages --- */
.auth-page { display: flex; justify-content: center; padding: 60px 24px; min-height: 60vh; align-items: flex-start; }
.auth-card { background: #fff; border-radius: var(--radius); padding: 40px 32px; max-width: 440px; width: 100%; text-align: center; box-shadow: var(--shadow-md); }
.auth-icon-wrap { margin-bottom: 20px; }
.auth-message { color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; }
.auth-hint { color: var(--text-muted); font-size: 0.85rem; margin-top: 16px; }
.auth-form { margin-top: 20px; }
.auth-input { width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: var(--radius-sm); font-size: 16px; font-family: var(--font-body); margin-bottom: 12px; transition: border-color 0.2s; }
.auth-input:focus { border-color: var(--primary); outline: none; }
.auth-back-link { margin-top: 24px; font-size: 0.9rem; }
.auth-back-link a { color: var(--primary); text-decoration: none; }
.auth-back-link a:hover { text-decoration: underline; }
.auth-spinner {
  width: 48px; height: 48px; margin: 0 auto;
  border: 4px solid var(--border);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: authSpin 0.8s linear infinite;
}
@keyframes authSpin { to { transform: rotate(360deg); } }

.error-msg { color: #cc0022; background: #fce4ec; padding: 8px 12px; border-radius: 6px; margin-bottom: 12px; font-size: 0.9rem; }

/* --- Self-Serve Edit Section --- */
.edit-intro { color: var(--text-muted); margin-bottom: 24px; line-height: 1.6; }
.edit-section {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light, #edf2f7);
}
.edit-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light, #edf2f7);
}
.edit-section-header h3 {
  font-size: 1.05rem;
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0;
}
.edit-section-hint {
  font-size: 0.8rem;
  color: var(--text-light);
}
.edit-textarea, .edit-textarea-sm {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--warm-white, #fcfdfe);
}
.edit-textarea:focus, .edit-textarea-sm:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(14, 41, 74, 0.08);
  outline: none;
}
.edit-textarea-sm { font-size: 13px; padding: 10px 14px; }
.edit-actions { margin-top: 10px; display: flex; justify-content: flex-end; }
.edit-empty { color: var(--text-muted); font-style: italic; }

.student-edit-grid { display: grid; gap: 20px; }
.student-edit-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: var(--radius);
  background: var(--cream, #f7f9fc);
  transition: box-shadow 0.2s;
}
.student-edit-card:hover { box-shadow: var(--shadow-sm); }
.student-edit-photo { flex-shrink: 0; width: 100px; text-align: center; }
.student-edit-photo img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  border: 2px solid #fff;
  box-shadow: var(--shadow-sm);
}
.photo-placeholder-sm {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--cream, #f7f9fc) 0%, #e8ecf2 100%);
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--navy, #0E294A);
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 10px;
}
.student-edit-info { flex: 1; min-width: 0; }
.student-edit-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
}
.student-edit-grade {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 10px;
}
.upload-btn {
  cursor: pointer;
  font-size: 0.78rem;
  padding: 5px 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font-body);
  transition: all 0.2s;
}
.upload-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--cream);
}
.upload-btn-icon { font-size: 0.9rem; }
.btn-text { background: none; border: none; color: var(--navy, #0E294A); text-decoration: underline; cursor: pointer; font-size: inherit; padding: 0; }
.btn-text:hover { opacity: 0.7; }
.btn-sm { font-size: 0.8rem; padding: 6px 14px; }
.btn-full { width: 100%; }

@media (max-width: 600px) {
  .auth-card { padding: 32px 20px; }
  .edit-section { padding: 20px 16px; }
  .edit-section-header { flex-direction: column; gap: 4px; }
  .student-edit-card { flex-direction: column; align-items: center; text-align: center; padding: 16px; }
  .student-edit-info { width: 100%; }
  .edit-actions { justify-content: center; }
}

/* ================================================================
   MOBILE-FIRST FIXES — added 2026-02-24
   Targets phones <480px (iPhone SE, standard iPhone, etc.)
   ================================================================ */

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
  }

  /* Header — compact for phones */
  .header-inner { height: 56px; }
  .logo-text { font-size: 1rem; }
  .logo-crest { width: 30px; height: 30px; font-size: 0.9rem; }
  .site-logo { gap: 8px; }
  .nav-link { padding: 6px 10px; font-size: 0.8rem; }

  /* Hero sections — tighter vertical spacing */
  .hero { padding: 48px 0 32px; }
  .hero h1, .family-hero h1 { font-size: 1.5rem; }
  .family-hero { padding: 44px 0 24px; }
  .hero-subtitle { font-size: 1rem; }
  .family-description { font-size: 0.95rem; }

  /* Grid minimums — prevent horizontal scroll */
  .families-grid { grid-template-columns: 1fr; gap: 16px; padding: 16px 0 32px; }
  .family-card-inner { padding: 24px 20px; }

  .students-grid { gap: 16px; }

  .how-it-works { margin-bottom: 24px; }
  .how-it-works h2 { font-size: 1.2rem; margin-bottom: 16px; }
  .hiw-item { padding: 20px 16px; }
  .hiw-icon { font-size: 1.6rem; margin-bottom: 8px; }
  .hiw-item strong { font-size: 0.95rem; }
  .hiw-item p { font-size: 0.85rem; }

  /* Student card horizontal layout — smaller photo */
  .student-card { grid-template-columns: 100px 1fr; }
  .student-info { padding: 12px 12px 4px; }
  .student-info h3 { font-size: 1rem; }
  .grade { font-size: 0.75rem; margin-bottom: 4px; }
  .bio { font-size: 0.82rem; }
  .donation-buttons { padding: 4px 12px 12px; gap: 6px; }
  .btn-donate { max-width: 70px; padding: 8px 6px; }
  .donate-amount { font-size: 0.9rem; }
  .donate-label { font-size: 0.62rem; }

  /* Dashboard — roomier on mobile */
  .dashboard { padding: 20px 0; }
  .dashboard h1 { font-size: 1.4rem; margin-bottom: 2px; }
  .dashboard h2 { font-size: 1.15rem; margin: 32px 0 14px; }

  .stats-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 16px 12px; }
  .stat-number { font-size: 1.8rem; }
  .stat-label { font-size: 0.72rem; }

  .qr-section { padding: 20px 16px; }
  .qr-image { width: 160px; height: 160px; }

  .share-item { padding: 16px; }
  .share-text { padding: 10px 12px; font-size: 0.82rem; word-break: break-all; }

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

  /* Recipient cards — more room between cards, wrap buttons to 2x2 */
  .recipient-cards { gap: 14px; }
  .recipient-card { padding: 14px 16px; }
  .recipient-card-actions { flex-wrap: wrap; gap: 6px; }
  .recipient-share-btn { flex: 1 1 calc(50% - 3px); min-width: 0; font-size: 0.82rem; padding: 10px 6px; }
  .follow-up-tip { font-size: 0.78rem; padding: 10px 12px; flex-direction: column; gap: 4px; }

  /* Recipient form */
  .recipient-form-row { flex-direction: column; }
  .recipient-form-row input { padding: 12px 14px; font-size: 0.92rem; }
  .recipient-form-row .btn-primary { width: 100%; padding: 12px; }

  /* Admin tables — tighter on phone */
  .admin-table th, .admin-table td { padding: 8px 10px; font-size: 0.8rem; }

  /* Share section */
  .share-section { padding: 32px 0; }
  .share-section h2 { font-size: 1.3rem; }
  .share-buttons { gap: 8px; }
  .btn-share { padding: 10px 18px; font-size: 0.88rem; }

  /* Auth pages */
  .auth-page { padding: 40px 16px; }
  .auth-card { padding: 28px 18px; }
  .auth-input { padding: 10px 14px; }

  /* Edit section (self-serve) — more breathing room */
  .edit-section { padding: 20px 16px; margin-bottom: 16px; }
  .student-edit-card { padding: 14px; gap: 12px; }
  .student-edit-photo { width: 64px; }
  .student-edit-photo img { width: 64px; height: 64px; }
  .photo-placeholder-sm { width: 64px; height: 64px; font-size: 22px; }

  /* Portal section mobile fixes */
  .portal-link-card { padding: 20px 16px !important; }
  .portal-tabs { gap: 0; }
  .portal-tab { padding: 10px 14px; font-size: 0.82rem; }
  .contrib-card { padding: 14px; }
  .contrib-actions { gap: 6px; flex-wrap: wrap; }
  .btn-sms, .btn-email { padding: 8px 12px; font-size: 0.78rem; }

  /* Dashboard inner cards — override inline padding for mobile */
  .dashboard #referrals > div[style] { padding: 18px !important; border-radius: 10px !important; }
  .dashboard #referrals > div[style] > div { gap: 12px !important; }

  /* Share kit textareas */
  .share-item textarea { padding: 10px !important; font-size: 0.86rem !important; }

  /* Join page */
  .join-hero { padding: 40px 0 32px; }
  .join-hero h1 { font-size: 1.45rem; }
  .join-section { padding: 36px 0; }
  .section-title { font-size: 1.25rem; }
  .section-desc { font-size: 0.88rem; margin-bottom: 24px; }
  .signup-form { padding: 22px 16px; }

  /* Pricing tiers — single column */
  .pricing-tiers { max-width: 100%; }
  .tier-header { padding: 28px 18px 18px; }
  .tier-body { padding: 18px 18px 22px; }
  .tier-price { font-size: 2rem; }
  .tier-card-featured .tier-price { font-size: 2.2rem; }

  /* Feature cards */
  .feature-card { padding: 20px 18px; }
  .step-card { padding: 20px 16px; }

  /* Bundle */
  .bundle-card { padding: 20px 14px; }
  .bundle-option { padding: 12px 6px; }
  .bundle-qty { font-size: 1.3rem; }

  /* Footer */
  .site-footer { padding: 32px 0 0; margin-top: 48px; }
  .footer-inner { padding-bottom: 24px; gap: 20px; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 12px; }

  /* Modals */
  .upsell-modal, .bundle-modal { padding: 24px 16px; }
  .tier-upsell-modal { padding: 28px 18px; }

  /* Prize banner */
  .prize-banner { padding: 10px 0; }
  .prize-text { font-size: 0.84rem; }
  .prize-sub { font-size: 0.72rem; }

  /* Recipient banner */
  .recipient-inner { padding: 14px 16px; font-size: 0.9rem; }

  /* Pin page */
  .pin-page { padding: 48px 14px; }
  .pin-card { padding: 28px 22px; }
  .pin-input { font-size: 1.6rem; letter-spacing: 0.3em; padding: 12px; }

  /* Donation info pill */
  .donation-info { padding: 8px 16px; font-size: 0.82rem; }

  /* ScanBlitz analytics on dashboard */
  .scanblitz-stats { grid-template-columns: 1fr 1fr !important; }

  /* Crop modal mobile */
  .crop-modal { padding: 20px 16px; }
  .crop-preview { width: 220px; height: 220px; }
}

/* ================================================================
   CROP MODAL
   ================================================================ */

.crop-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 41, 74, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
  animation: fadeIn 0.2s ease;
}

.crop-modal {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  max-width: 340px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.crop-modal h3 {
  font-family: var(--font-display);
  color: var(--navy);
  text-align: center;
  margin-bottom: 2px;
  font-size: 1.15rem;
}

.crop-hint {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 14px;
}

.crop-preview {
  width: 260px;
  height: 260px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: grab;
  background: #eee;
  touch-action: none;
  border: 2px solid var(--border);
}

.crop-preview:active { cursor: grabbing; }

.crop-preview img {
  position: absolute;
  top: 0;
  left: 0;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.crop-zoom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.crop-zoom-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--warm-white);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: background 0.15s;
}

.crop-zoom-btn:hover { background: var(--cream); }

#cropZoomRange {
  width: 130px;
  accent-color: var(--navy);
}

.crop-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
}

/* --- Premium Badge --- */
.premium-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-deep);
  font-family: var(--font-body);
  font-size: 0.52rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 100px;
  vertical-align: middle;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(255, 216, 0, 0.3);
  position: relative;
  top: -2px;
}

.family-hero.has-hero-image .premium-badge {
  box-shadow: 0 2px 12px rgba(255, 216, 0, 0.5), 0 0 20px rgba(255, 216, 0, 0.2);
}

/* ── Progress Bars (shared) ── */
.progress-track {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 100px;
  overflow: hidden;
  height: 18px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
}
.progress-track-lg { height: 24px; }
.progress-track-sm { height: 10px; }

.progress-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, #0a1628, #1a3a5c, #c9a227);
  transition: width 0.6s ease;
  min-width: 0;
}
.progress-fill-gold {
  background: linear-gradient(90deg, #b8941f, #e8c840, #ffd700);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
  animation: shimmer 2.5s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.15); }
}

/* ── Family-wide progress card (public page) ── */
.ticket-progress-card {
  margin-bottom: 32px;
}
.ticket-progress-inner {
  background: linear-gradient(135deg, #0a1628, #162d50);
  border-radius: 16px;
  padding: 28px 32px;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.ticket-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}
.ticket-progress-header h2 {
  font-size: 1.15rem;
  margin: 0;
  color: #ffd700;
  font-family: 'Lora', serif;
}
.ticket-progress-counts {
  font-size: 0.9rem;
  opacity: 0.85;
}
.ticket-progress-pct {
  text-align: right;
  font-size: 0.85rem;
  margin-top: 8px;
  color: #ffd700;
  font-weight: 600;
}

/* ── Per-student progress (public page student cards) ── */
.student-progress {
  padding: 8px 0 4px;
}
.student-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #8899aa;
  margin-bottom: 4px;
}

/* ── Dashboard ticket goal editing ── */
.ticket-goal-summary {
  background: linear-gradient(135deg, #0a1628, #162d50);
  border-radius: 12px;
  padding: 20px 24px;
  color: #fff;
  margin-bottom: 20px;
}
.ticket-goal-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 6px;
}
.ticket-goal-label {
  font-weight: 600;
  font-size: 0.95rem;
}
.ticket-goal-counts {
  font-size: 0.85rem;
  opacity: 0.8;
}
.ticket-goal-pct {
  text-align: right;
  font-size: 0.8rem;
  margin-top: 6px;
  color: #ffd700;
  font-weight: 600;
}
.ticket-goal-summary .progress-track {
  background: rgba(255, 255, 255, 0.15);
}
.ticket-goal-summary .progress-fill {
  background: linear-gradient(90deg, #b8941f, #e8c840, #ffd700);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.35);
}

.ticket-goal-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ticket-goal-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto 120px;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.ticket-goal-name {
  font-weight: 600;
  font-size: 0.95rem;
}
.ticket-goal-input-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.ticket-goal-input-group span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #8899aa;
}
.ticket-goal-input-group input {
  width: 70px;
  padding: 6px 8px;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
  font-size: 0.95rem;
}
.online-badge {
  display: inline-block;
  min-width: 36px;
  padding: 6px 10px;
  background: rgba(14, 41, 74, 0.06);
  color: #0E294A;
  border-radius: 8px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
}
.ticket-goal-mini-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ticket-goal-mini-bar .progress-track {
  flex: 1;
  min-width: 60px;
}
.ticket-goal-mini-pct {
  font-size: 0.75rem;
  color: #8899aa;
  min-width: 32px;
  text-align: right;
}

@media (max-width: 600px) {
  .ticket-goal-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .ticket-goal-name {
    grid-column: 1 / -1;
  }
  .ticket-goal-mini-bar {
    grid-column: 1 / -1;
  }
  .ticket-progress-inner {
    padding: 20px;
  }
}

/* ================================================================
   Homepage — Prize Banner, Countdown, School Callout, CTA
   ================================================================ */

/* Prize Highlight Banner */
.home-prizes { margin-bottom: 0; }

.home-prizes-inner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  text-align: center;
  color: #fff;
}

.home-prizes-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 28px;
}

.home-prizes-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.home-prizes-grand,
.home-prizes-secondary {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-prizes-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}

.home-prizes-secondary .home-prizes-amount {
  font-size: 1.6rem;
}

.home-prizes-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.home-prizes-plus {
  font-size: 1.5rem;
  color: rgba(255,255,255,0.4);
  font-weight: 300;
}

.home-prizes-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
}

.home-prizes-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.home-prizes-stat strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
}

.home-prizes-stat span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Countdown Timer */
.home-countdown {
  text-align: center;
  padding-top: 32px;
  padding-bottom: 8px;
}

.home-countdown-title {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.countdown-boxes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.countdown-box {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  min-width: 80px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.countdown-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.countdown-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
}

.countdown-sep {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  opacity: 0.3;
  margin-top: -16px;
}

.countdown-done {
  background: var(--warm-white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  max-width: 480px;
  margin: 0 auto;
}

.countdown-done-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 8px;
}

.countdown-done strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  display: block;
  margin-bottom: 4px;
}

.countdown-done p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* School Callout */
.home-school { margin-bottom: 0; }

.home-school-inner {
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  text-align: center;
  background: var(--warm-white);
}

.home-school-inner h2 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.home-school-inner p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

/* Choose a Family CTA heading */
.home-cta {
  text-align: center;
  padding-top: 16px;
  padding-bottom: 4px;
}

.home-cta h2 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.home-cta p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ================================================================
   Thermometer — Vertical goal graphic for Premium families
   ================================================================ */

.thermometer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 0 8px;
}

.thermometer-goal {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.thermometer-body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.thermometer-tube {
  width: 48px;
  height: 220px;
  background: #E8ECF1;
  border-radius: 24px 24px 0 0;
  position: relative;
  overflow: hidden;
  border: 3px solid var(--border);
  border-bottom: none;
}

.thermometer-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, #E8A800, var(--gold), var(--gold-light));
  border-radius: 20px 20px 0 0;
  transition: height 1s var(--ease-out);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 4px;
}

.thermometer-pct-inside {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 6px;
  text-shadow: 0 0 4px rgba(255,255,255,0.5);
}

.thermometer-pct-outside {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}

.thermometer-ticks {
  position: absolute;
  top: 0;
  right: -32px;
  bottom: 0;
  width: 30px;
  pointer-events: none;
}

.thermometer-tick {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 4px;
  transform: translateY(50%);
}

.thermometer-tick::before {
  content: '';
  display: block;
  width: 8px;
  height: 2px;
  background: var(--border);
}

.thermometer-tick span {
  font-size: 0.65rem;
  color: var(--text-light);
  font-weight: 600;
}

.thermometer-bulb {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--gold) 0%, #E8A800 100%);
  border-radius: 50%;
  border: 3px solid var(--border);
  margin-top: -12px;
  position: relative;
  z-index: 1;
  animation: thermometer-pulse 2.5s ease-in-out infinite;
}

@keyframes thermometer-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,216,0,0.3); }
  50% { transform: scale(1.04); box-shadow: 0 0 12px 4px rgba(255,216,0,0.2); }
}

.thermometer-sold {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ================================================================
   Responsive — Homepage & Thermometer
   ================================================================ */

@media (max-width: 768px) {
  .home-prizes-inner {
    padding: 28px 20px;
  }
  .home-prizes-amount {
    font-size: 1.8rem;
  }
  .home-prizes-secondary .home-prizes-amount {
    font-size: 1.3rem;
  }
  .home-prizes-stats {
    gap: 24px;
  }
  .countdown-box {
    min-width: 64px;
    padding: 12px 14px;
  }
  .countdown-value {
    font-size: 1.5rem;
  }
  .countdown-sep {
    font-size: 1.3rem;
  }
  .home-school-inner {
    padding: 24px 20px;
  }
  .thermometer-tube {
    height: 180px;
    width: 42px;
  }
  .thermometer-bulb {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 480px) {
  .home-prizes-grid {
    gap: 12px;
  }
  .home-prizes-amount {
    font-size: 1.5rem;
  }
  .home-prizes-secondary .home-prizes-amount {
    font-size: 1.15rem;
  }
  .home-prizes-stats {
    gap: 16px;
    flex-wrap: wrap;
  }
  .countdown-boxes {
    gap: 6px;
  }
  .countdown-box {
    min-width: 56px;
    padding: 10px 10px;
  }
  .countdown-value {
    font-size: 1.25rem;
  }
  .countdown-sep {
    font-size: 1rem;
    margin-top: -12px;
  }
  .countdown-label {
    font-size: 0.65rem;
  }
}

/* ================================================================
   DASHBOARD NAV + NEXT-STEP BANNER
   ================================================================ */

/* Sticky section nav */
.dash-nav {
  display: flex;
  gap: 6px;
  padding: 10px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: sticky;
  top: 64px;
  z-index: 50;
  background: var(--cream);
  margin: 0 -24px;
  padding-left: 24px;
  padding-right: 24px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.dash-nav::-webkit-scrollbar { display: none; }

.dash-nav-pill {
  flex-shrink: 0;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--warm-white);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.dash-nav-pill:hover { color: var(--navy); border-color: var(--navy); }
.dash-nav-pill.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* Next-step banner */
.next-step {
  background: linear-gradient(135deg, #EDE9FE 0%, #E0E7FF 100%);
  border: 1px solid #C7D2FE;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 20px 0 8px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.next-step-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
}
.next-step-body { flex: 1; min-width: 0; }
.next-step-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: #312E81;
  font-size: 1rem;
  margin-bottom: 2px;
}
.next-step-desc {
  font-size: 0.85rem;
  color: #4338CA;
  opacity: 0.85;
  line-height: 1.4;
}
.next-step-action {
  flex-shrink: 0;
}
.next-step .btn-primary {
  font-size: 0.82rem;
  padding: 8px 18px;
  white-space: nowrap;
}

/* Dashboard section spacing tweak for nav anchors */
.dash-section {
  scroll-margin-top: 120px;
}

@media (max-width: 640px) {
  .dash-nav {
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .next-step {
    padding: 18px 20px;
    gap: 12px;
  }
  .recipient-form-row { flex-direction: column; }
  .recipient-form-row .btn-primary { width: 100%; padding: 12px; }
}

@media (max-width: 480px) {
  .dash-nav {
    top: 56px;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    gap: 6px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .dash-nav-pill {
    padding: 7px 14px;
    font-size: 0.78rem;
  }
  .next-step {
    flex-direction: column;
    text-align: center;
    padding: 18px 16px;
    gap: 10px;
  }
  .next-step-icon { font-size: 1.5rem; }
  .dash-section {
    scroll-margin-top: 100px;
  }
}

/* ── Add to Home Screen banner ── */
.add-home-banner {
  display: none;
  align-items: flex-start;
  gap: 12px;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 12px 0 4px;
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
}
.add-home-banner.visible { display: flex; }
.add-home-content { flex: 1; min-width: 0; }
.add-home-title {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  font-size: 0.88rem;
}
.add-home-steps {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}
.add-home-steps .step-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin: -2px 2px 0;
}
.add-home-dismiss {
  flex-shrink: 0;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-light);
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
}
.add-home-dismiss:hover { color: var(--text); }
@media (max-width: 480px) {
  .add-home-banner { padding: 14px 16px; }
}
