/**
 * Amorflo — Premium LIGHT theme
 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-base: #ffffff;
  --bg-soft: #ffffff;
  --bg-muted: #fff5f7;
  --bg-section: #fffafb;

  --text-primary: #3b1229;
  --text-secondary: #7a4a62;
  --text-muted: #a87a8f;
  --text-inverse: #ffffff;

  --accent: #db2777;
  --accent-soft: #fce7f3;
  --accent-border: rgba(244, 114, 182, 0.28);

  --glass-bg: rgba(255, 255, 255, 0.92);
  --glass-border: rgba(255, 255, 255, 1);
  --card-border: rgba(251, 207, 232, 0.65);
  --card-shadow: 0 8px 32px rgba(219, 39, 119, 0.06), 0 2px 8px rgba(251, 207, 232, 0.25);
  --card-shadow-lg: 0 20px 50px rgba(219, 39, 119, 0.1);

  --header-bg: rgba(255, 255, 255, 0.94);
  --footer-bg: #fff5f8;
  --overlay-hero: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.99) 0%,
    rgba(255, 245, 249, 0.9) 40%,
    rgba(255, 255, 255, 0.35) 100%
  );
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(ellipse 90% 55% at 50% -5%, rgba(251, 207, 232, 0.45), transparent 58%),
    radial-gradient(ellipse 55% 45% at 100% 100%, rgba(255, 228, 230, 0.55), transparent 52%),
    radial-gradient(ellipse 40% 35% at 0% 80%, rgba(252, 231, 243, 0.5), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #fffafb 50%, #fff5f7 100%);
  color: var(--text-primary);
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100dvh;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.hidden { display: none !important; }
.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;
}

.text-center { text-align: center; }
.mt-8 { margin-top: 2rem; }

/* Inline 18+ banner */
.age-banner {
  background: #fff1f2;
  border-bottom: 1px solid #fecdd3;
  padding: 0.625rem 1rem;
  box-shadow: 0 2px 8px rgba(219, 39, 119, 0.05);
}

.age-banner-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}

.age-banner-text p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-top: 0.375rem;
}

.age-banner-btn { width: 100%; }

@media (min-width: 640px) {
  .age-banner-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  .age-banner-btn { width: auto; flex-shrink: 0; }
}

/* Layout */
.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.page-shell-narrow { max-width: 32rem; margin: 0 auto; width: 100%; }

.container {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.section { padding: 4rem 0; }
.section-sub {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 38ch;
  margin: 0.75rem auto 0;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.eyebrow-accent { color: #db2777; }

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* Glass */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--card-border);
  border-radius: 1.25rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--card-shadow);
}

.glass-card-glow {
  box-shadow: 0 0 0 1px rgba(251, 207, 232, 0.8), var(--card-shadow-lg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.875rem 1.5rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  width: 100%;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
  color: var(--text-inverse);
  box-shadow: 0 8px 28px rgba(236, 72, 153, 0.32);
}

.btn-primary:hover {
  box-shadow: 0 12px 36px rgba(236, 72, 153, 0.42);
}

.btn-ghost {
  background: var(--bg-soft);
  color: var(--text-primary);
  border: 1px solid var(--card-border);
  box-shadow: 0 2px 8px rgba(219, 39, 119, 0.05);
}

.btn-ghost:hover {
  background: var(--accent-soft);
  border-color: rgba(244, 114, 182, 0.45);
}

.btn-lg { min-height: 3.5rem; font-size: 1.0625rem; }

.btn-sm {
  min-height: 2.75rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  width: auto;
}

.badge-18 {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #be123c;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid var(--card-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(219, 39, 119, 0.04);
}

.site-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.875rem 1rem;
  gap: 1rem;
}

.site-logo-text {
  max-width: 9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.logo-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #f472b6, #fb7185);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
  color: #fff;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.5rem;
  background: var(--bg-soft);
  border: 1px solid var(--card-border);
  border-radius: 0.75rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
}

.nav-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--card-border);
  padding: 0.75rem 1rem 1rem;
  box-shadow: 0 12px 32px rgba(219, 39, 119, 0.07);
}

.nav-menu.nav-open { display: block; }

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li + li { margin-top: 0.25rem; }

.nav-link {
  display: block;
  padding: 0.75rem;
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  border-radius: 0.75rem;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  background: var(--accent-soft);
  color: var(--accent);
}

.header-cta { display: none; }

.header-user-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.header-user-menu {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--card-border);
}

.header-user-chip {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.375rem 0.625rem 0.375rem 0.375rem;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--bg-soft);
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color 0.15s ease, background 0.15s ease;
  max-width: 100%;
}

.header-user-chip:hover,
.header-user-chip.is-active {
  border-color: #fbcfe8;
  background: linear-gradient(135deg, #fdf2f8, #fce7f3);
}

.header-user-chip--compact {
  padding-right: 0.875rem;
}

.header-user-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #db2777);
  flex-shrink: 0;
}

.header-user-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.header-user-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  line-height: 1.2;
}

.header-user-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 7rem;
}

.header-user-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #f59e0b;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px #fff;
}

.header-logout {
  white-space: nowrap;
}

.site-header--auth .nav-menu.nav-open .header-user-menu {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-header--auth .nav-menu.nav-open .header-user-chip {
  width: 100%;
}

.site-header--auth .nav-menu.nav-open .header-logout {
  width: 100%;
  justify-content: center;
}

/* Hero full screen */
.hero-full {
  position: relative;
  min-height: 100dvh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg-soft);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media--abstract {
  background:
    radial-gradient(circle at 20% 20%, rgba(251, 207, 232, 0.9), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(254, 205, 211, 0.75), transparent 40%),
    linear-gradient(160deg, #fff5f7 0%, #fdf2f8 45%, #fce7f3 100%);
}

.hero-blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.65;
}

.hero-blob-1 {
  width: 16rem;
  height: 16rem;
  top: 10%;
  right: -2rem;
  background: #f9a8d4;
}

.hero-blob-2 {
  width: 12rem;
  height: 12rem;
  bottom: 20%;
  left: -1rem;
  background: #fda4af;
}

.hero-blob-3 {
  width: 10rem;
  height: 10rem;
  top: 45%;
  left: 35%;
  background: #fbcfe8;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1rem calc(6rem + env(safe-area-inset-bottom));
}

.hero-title {
  font-size: clamp(2rem, 7vw, 3.25rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-top: 1rem;
  max-width: 18ch;
  color: var(--text-primary);
}

.hero-sub {
  margin-top: 1rem;
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 32ch;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.75rem;
  max-width: 22rem;
}

.hero-soft-urgency {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.animate-fade-up {
  animation: fadeUp 0.7s ease-out forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Stats */
.section-stats { background: var(--bg-section); }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.stat-card {
  padding: 1.5rem;
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ec4899, #f43f5e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
}

.stat-label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-card { padding: 1.5rem; }

.highlight-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.testimonial-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.testimonial-card footer {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.testimonial-card cite {
  font-style: normal;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.benefit-card { padding: 1.5rem; }

.benefit-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
  color: var(--text-primary);
}

.benefit-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
  margin-top: 2rem;
}

.gallery-card {
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
}

.gallery-img-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255,255,255,0.15), transparent 45%);
}

.gallery-info {
  padding: 0.875rem 1rem 1rem;
  background: var(--bg-soft);
}

.gallery-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.gallery-tag {
  display: inline-block;
  margin-top: 0.375rem;
  font-size: 0.6875rem;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  background: #fff1f2;
  color: #e11d48;
  border: 1px solid #fecdd3;
}

/* CTA panel */
.section-cta { padding-bottom: 5rem; }

.cta-panel {
  padding: 2rem 1.5rem;
  text-align: center;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 241, 245, 0.98));
  border: 1px solid rgba(251, 207, 232, 0.7);
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 24rem;
  margin: 1.5rem auto 0;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--card-border);
  background: var(--bg-soft);
  color: var(--text-primary);
  font: inherit;
  font-size: 1rem;
}

.form-input::placeholder { color: var(--text-muted); }

.form-input:focus {
  outline: none;
  border-color: rgba(244, 114, 182, 0.55);
  box-shadow: 0 0 0 3px rgba(252, 231, 243, 0.9);
}

.form-note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--card-border);
  background: var(--footer-bg);
  padding: 2.5rem 0 calc(5rem + env(safe-area-inset-bottom));
}

.footer-inner { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-desc {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 36ch;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.footer-col ul { list-style: none; }
.footer-col li + li { margin-top: 0.375rem; }
.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8125rem;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--card-border);
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-legal { margin-top: 0.5rem; }

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 45;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid var(--card-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 -8px 32px rgba(219, 39, 119, 0.06);
}

.sticky-cta-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sticky-cta-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.sticky-cta-btn { flex-shrink: 0; }

.safe-bottom { padding-bottom: env(safe-area-inset-bottom, 0px); }

/* Quiz */
.page-quiz .quiz-header { text-align: center; padding: 1rem; }
.quiz-disclaimer { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.5rem; }

.quiz-progress { padding: 0 1.25rem; }
.progress-track {
  height: 0.375rem;
  background: var(--bg-muted);
  border-radius: 9999px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #f472b6, #fb7185);
  border-radius: 9999px;
  transition: width 0.35s ease;
}
.progress-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.5rem;
}

.quiz-main {
  flex: 1;
  padding: 1rem 1rem 6rem;
}

.quiz-step { min-height: 22rem; display: flex; align-items: center; }
.quiz-step-inner { padding: 1.75rem 1.25rem; width: 100%; }
.quiz-title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 0.5rem;
  color: var(--text-primary);
}
.quiz-title-sm { font-size: 1.25rem; font-weight: 800; color: var(--text-primary); }
.quiz-text { font-size: 0.9375rem; color: var(--text-secondary); margin-top: 0.5rem; }
.quiz-actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }

.quiz-checklist {
  list-style: none;
  text-align: left;
  margin: 1rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.quiz-checklist li { padding: 0.25rem 0; }
.quiz-checklist li::before { content: "✓ "; color: #059669; font-weight: 700; }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  text-align: left;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin: 1rem 0;
}
.checkbox-row input { margin-top: 0.2rem; accent-color: #ec4899; flex-shrink: 0; }

.offer-hint { font-size: 0.75rem; color: #db2777; margin-top: 0.5rem; }

.quiz-footer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 30;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid var(--card-border);
  text-align: center;
  font-size: 0.6875rem;
  color: var(--text-muted);
  box-shadow: 0 -4px 20px rgba(219, 39, 119, 0.05);
}
.quiz-footer-bar a { color: var(--accent); text-decoration: none; }

/* Content pages */
.page-main {
  flex: 1;
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1rem 5rem;
  width: 100%;
}

.page-title {
  font-size: 1.75rem;
  font-weight: 900;
  margin-top: 1rem;
  color: var(--text-primary);
}

.prose h2 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 1.5rem 0 0.5rem;
}

.prose p, .prose li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.prose ul { margin: 0.5rem 0 0.5rem 1.25rem; }
.prose a { color: var(--accent); }

.link { color: var(--accent); text-decoration: none; }
.link:hover { text-decoration: underline; }

.form-group { margin-bottom: 1rem; }
.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.375rem;
}
.form-textarea {
  width: 100%;
  min-height: 7rem;
  padding: 0.875rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--card-border);
  background: var(--bg-soft);
  color: var(--text-primary);
  font: inherit;
  resize: vertical;
}
.form-success {
  padding: 1rem;
  border-radius: 1rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  font-size: 0.875rem;
  text-align: center;
  margin-bottom: 1rem;
}

.form-error {
  padding: 1rem;
  border-radius: 1rem;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #be123c;
  font-size: 0.875rem;
  text-align: center;
  margin-bottom: 1rem;
}

.contact-form { padding: 1.5rem; margin-top: 1rem; }
.contact-submit { margin-top: 1rem; }

.account-dl { margin: 0 0 1.5rem; }
.account-dl dt {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-top: 1rem;
}
.account-dl dt:first-child { margin-top: 0; }
.account-dl dd {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 0.25rem;
}

.page-updated {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Auth & account */
.page-auth .auth-main { padding-bottom: 2rem; }

.auth-steps {
  display: flex;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  flex-wrap: wrap;
}

.auth-step {
  flex: 1;
  min-width: 5rem;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text-muted);
  border: 1px solid var(--card-border);
}

.auth-step.is-done {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

.auth-step.is-active {
  background: linear-gradient(135deg, #fce7f3, #fdf2f8);
  color: var(--accent);
  border-color: #fbcfe8;
}

.auth-panel { margin-top: 0.5rem; }

.auth-form {
  padding: 1.5rem;
  margin-top: 1rem;
}

.auth-submit { width: 100%; margin-top: 0.5rem; }

.auth-switch { margin-top: 1rem; }

.form-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.375rem;
}

.form-label-row .form-label { margin-bottom: 0; }

.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.form-help {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0.375rem 0 0;
  line-height: 1.45;
}

.form-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.form-link:hover { text-decoration: underline; }

.input-password-wrap {
  position: relative;
}

.input-password-wrap .form-input {
  padding-right: 5.5rem;
}

.input-password-toggle {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.375rem 0.5rem;
}

.password-strength {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.password-strength-track {
  flex: 1;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--bg-soft);
  overflow: hidden;
}

.password-strength-bar {
  height: 100%;
  width: 20%;
  border-radius: inherit;
  transition: width 0.2s ease, background 0.2s ease;
  background: #f43f5e;
}

.password-strength-bar.is-fair { background: #f59e0b; }
.password-strength-bar.is-good { background: #10b981; }
.password-strength-bar.is-strong { background: #059669; }

.password-strength-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-muted);
  min-width: 4.5rem;
  text-align: right;
}

.form-alert {
  padding: 0.875rem 1rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  margin: 1rem 0 0;
}

.form-alert--success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}

.form-alert--error {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #be123c;
}

.checkbox-row-inline { margin-top: 0.25rem; }

.btn.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

.account-hero {
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.account-hero-main {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.account-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #db2777);
  flex-shrink: 0;
}

.account-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.account-name {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 0.125rem;
}

.account-email {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.125rem;
  word-break: break-all;
}

.account-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--card-border);
}

.account-stat {
  padding: 0.75rem;
  border-radius: 0.875rem;
  background: var(--bg-soft);
}

.account-stat-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.account-stat strong {
  font-size: 0.875rem;
  color: var(--text-primary);
}

.account-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.account-tab {
  flex: 1;
  min-width: 6.5rem;
  border: 1px solid var(--card-border);
  background: var(--bg-soft);
  color: var(--text-secondary);
  border-radius: 999px;
  padding: 0.625rem 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.account-tab.is-active {
  background: linear-gradient(135deg, #fce7f3, #fdf2f8);
  color: var(--accent);
  border-color: #fbcfe8;
}

.account-panel {
  padding: 1.5rem;
}

.account-panel-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.375rem;
}

.account-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.auth-help-list {
  margin: 0 0 1.25rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

.auth-help-list li + li { margin-top: 0.5rem; }

.verify-banner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid #fde68a;
  background: #fffbeb;
}

.verify-banner strong {
  display: block;
  color: #92400e;
  margin-bottom: 0.25rem;
}

.verify-banner p {
  margin: 0;
  font-size: 0.875rem;
  color: #b45309;
}

.verify-banner .btn {
  flex-shrink: 0;
  border-radius: 999px;
  white-space: nowrap;
}

.welcome-banner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid #a7f3d0;
  background: #ecfdf5;
}

.welcome-banner strong {
  display: block;
  color: #047857;
  font-size: 1.0625rem;
}

.welcome-banner p {
  margin: 0.375rem 0 0;
  font-size: 0.875rem;
  color: #065f46;
  line-height: 1.5;
}

.email-badge {
  display: inline-block;
  margin-top: 0.375rem;
  padding: 0.2rem 0.625rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.email-badge--ok {
  background: #ecfdf5;
  color: #047857;
}

.email-badge--pending {
  background: #fff7ed;
  color: #c2410c;
}

.auth-form code {
  font-size: 0.75rem;
  word-break: break-all;
}

/* Responsive */
@media (min-width: 640px) {
  .hero-cta-group { flex-direction: row; flex-wrap: wrap; max-width: none; }
  .hero-cta-group .btn { width: auto; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .nav-toggle { display: none; }

  .site-header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem 1rem;
  }

  .site-logo { grid-column: 1; }

  .nav-menu {
    display: flex !important;
    grid-column: 2;
    position: static;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: 100%;
  }

  .nav-list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.125rem;
    width: auto;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-list::-webkit-scrollbar { display: none; }

  .nav-menu li + li { margin-top: 0; }

  .nav-link {
    padding: 0.5rem 0.625rem;
    font-size: 0.8125rem;
  }

  .header-cta,
  .header-user-actions {
    grid-column: 3;
    display: inline-flex;
    justify-self: end;
  }

  .site-header--auth .header-user-menu { display: none !important; }
  .site-header--auth .header-user-name { max-width: 6.5rem; }
  .header-logout { padding-inline: 0.875rem; }
  .hero-content { padding-bottom: 4rem; }
  .site-footer { padding-bottom: 2rem; }
  .account-actions { flex-direction: row; flex-wrap: wrap; }
  .account-actions .btn { width: auto; }
  .verify-banner { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 1024px) {
  .nav-link {
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
  }

  .site-logo-text { max-width: none; }

  .benefits-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(6, 1fr); }
  .hero-title { max-width: 16ch; }
}
