@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --font-dm-sans: 'DM Sans', system-ui, sans-serif;
  --font-cormorant: 'Cormorant Garamond', Georgia, serif;
  --brand-red: #dc2626;
  --brand-red-light: #ef4444;
  --brand-blue: #1d4ed8;
  --brand-blue-dark: #1e3a8a;
  --brand-blue-light: #3b82f6;
  --brand-green: #16a34a;
  --brand-green-light: #22c55e;
  --brand-yellow: #eab308;
  --brand-yellow-light: #facc15;
  --brand-white: #ffffff;
  --navy: var(--brand-blue-dark);
  --navy-light: var(--brand-blue);
  --gold: var(--brand-yellow);
  --gold-light: var(--brand-yellow-light);
  --cream: #f8fafc;
  --cream-dark: #f1f5f9;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --success: var(--brand-green);
  --danger: var(--brand-red);
  --background: var(--brand-white);
  --foreground: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-dm-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.font-display { font-family: var(--font-cormorant), Georgia, serif; }
.text-navy, .text-brand-blue-dark { color: var(--brand-blue-dark); }
.text-muted { color: var(--text-muted); }
.text-white { color: #fff; }
.text-brand-green { color: var(--brand-green); }
.text-brand-red { color: var(--brand-red); }
.text-brand-blue { color: var(--brand-blue); }
.text-brand-yellow { color: var(--brand-yellow); }
.text-brand-yellow-light { color: var(--brand-yellow-light); }
.text-gold { color: var(--gold); }
.bg-cream-dark { background: var(--cream-dark); }
.bg-white { background: #fff; }
.bg-brand-blue-dark { background: var(--brand-blue-dark); }
.antialiased { -webkit-font-smoothing: antialiased; }
.min-h-screen { min-height: 100vh; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.shrink-0 { flex-shrink: 0; }
.min-w-0 { min-width: 0; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { inset: 0; }
.inset-x-0 { left: 0; right: 0; }
.bottom-0 { bottom: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.overflow-hidden { overflow: hidden; }
.text-center { text-align: center; }
.text-start { text-align: start; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.leading-none { line-height: 1; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.ms-0 { margin-inline-start: 0; }
.me-auto { margin-inline-end: auto; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-inline: 0.5rem; }
.px-3 { padding-inline: 0.75rem; }
.px-4 { padding-inline: 1rem; }
.py-1 { padding-block: 0.25rem; }
.py-2 { padding-block: 0.5rem; }
.py-4 { padding-block: 1rem; }
.py-10 { padding-block: 2.5rem; }
.py-12 { padding-block: 3rem; }
.py-16 { padding-block: 4rem; }
.pt-4 { padding-top: 1rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-20 { padding-bottom: 5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }
.border { border: 1px solid var(--border); }
.border-2 { border-width: 2px; border-style: solid; }
.border-t { border-top: 1px solid var(--border); }
.border-border { border-color: var(--border); }
.border-s-4 { border-inline-start-width: 4px; border-inline-start-style: solid; }
.border-s-brand-red { border-inline-start-color: var(--brand-red); }
.border-s-brand-blue { border-inline-start-color: var(--brand-blue); }
.border-s-brand-green { border-inline-start-color: var(--brand-green); }
.border-s-brand-yellow { border-inline-start-color: var(--brand-yellow); }
.border-brand-yellow { border-color: color-mix(in srgb, var(--brand-yellow) 50%, transparent); }
.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.shadow-md { box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.ring-1 { box-shadow: 0 0 0 1px var(--border); }
.ring-2 { box-shadow: 0 0 0 2px var(--gold); }
.scale-105 { transform: scale(1.05); }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.hidden { display: none; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }
.min-h-\[70vh\] { min-height: 70vh; }
.min-h-\[500px\] { min-height: 500px; }
.scroll-mt-20 { scroll-margin-top: 5rem; }
.scroll-mt-24 { scroll-margin-top: 6rem; }
.transition-colors { transition: color .2s, background-color .2s, border-color .2s; }
.transition-all { transition: all .2s; }
.hover\:underline:hover { text-decoration: underline; }
.hover\:text-brand-green:hover { color: var(--brand-green); }
.hover\:text-brand-red:hover { color: var(--brand-red); }
.hover\:text-brand-blue:hover { color: var(--brand-blue); }
.hover\:shadow-md:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.backdrop-blur-md { backdrop-filter: blur(12px); }
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.bg-white\/95 { background: color-mix(in srgb, white 95%, transparent); }
.text-white\/70 { color: color-mix(in srgb, white 70%, transparent); }
.text-white\/80 { color: color-mix(in srgb, white 80%, transparent); }
.text-white\/90 { color: color-mix(in srgb, white 90%, transparent); }
.text-white\/92 { color: color-mix(in srgb, white 92%, transparent); }
.bg-brand-blue-dark\/80 { background: color-mix(in srgb, var(--brand-blue-dark) 80%, transparent); }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-from, transparent), var(--tw-gradient-to, transparent)); }
.from-cream-dark\/40 { --tw-gradient-from: color-mix(in srgb, var(--cream-dark) 40%, transparent); }
.to-white { --tw-gradient-to: #fff; }
.bg-cream-dark\/50 { background: color-mix(in srgb, var(--cream-dark) 50%, transparent); }
.h-2 { height: 0.5rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-13 { height: 3.25rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.w-2 { width: 0.5rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.h-2\.5 { height: 0.625rem; }
.w-2\.5 { width: 0.625rem; }
.text-4xl-flag { font-size: 2.25rem; line-height: 1; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.-top-3 { top: -0.75rem; }
.start-1\/2 { inset-inline-start: 50%; }
.-translate-x-1\/2 { transform: translateX(-50%); }
[dir="rtl"] .-translate-x-1\/2 { transform: translateX(50%); }
.self-start { align-self: flex-start; }
.list-none { list-style: none; padding: 0; margin: 0; }
a { color: inherit; text-decoration: none; }
a.link { color: var(--brand-blue); }
a.link:hover { text-decoration: underline; }

@media (min-width: 640px) {
  .sm\:block { display: block; }
  .sm\:flex { display: flex; }
  .sm\:hidden { display: none; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:items-center { align-items: center; }
  .sm\:px-6 { padding-inline: 1.5rem; }
  .sm\:py-20 { padding-block: 5rem; }
  .sm\:py-20-section { padding-block: 5rem; }
  .sm\:text-4xl { font-size: 2.25rem; }
  .sm\:text-5xl { font-size: 3rem; }
  .sm\:text-lg { font-size: 1.125rem; }
  .sm\:text-sm { font-size: 0.875rem; }
  .sm\:text-2xl { font-size: 1.5rem; }
  .sm\:text-start { text-align: start; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:gap-4 { gap: 1rem; }
  .sm\:p-8 { padding: 2rem; }
  .sm\:min-h-\[560px\] { min-height: 560px; }
  .sm\:leading-tight { line-height: 1.25; }
  .sm\:w-auto { width: auto; }
  .sm\:pb-0 { padding-bottom: 0; }
  .min-h-\[500px\] { min-height: 560px; }
  .hero-section { align-items: center; }
}
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:flex-row { flex-direction: row; }
  .md\:text-start { text-align: start; }
  .md\:pb-0 { padding-bottom: 0; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:text-6xl { font-size: 3.75rem; }
}

/* Identity gradients */
.gold-gradient, .brand-accent-gradient {
  background: linear-gradient(135deg, var(--brand-yellow) 0%, var(--brand-yellow-light) 100%);
}
.navy-gradient, .brand-primary-gradient {
  background: linear-gradient(145deg, var(--brand-blue-dark) 0%, var(--brand-blue) 45%, #1e40af 100%);
}
.brand-hero-gradient {
  background: linear-gradient(155deg, var(--brand-blue-dark) 0%, var(--brand-blue) 40%, #172554 100%);
}

/* Hero */
.hero-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
}
.hero-bg-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
[dir="rtl"] .hero-bg-img--mirror { transform: scaleX(-1); }
@media (max-width: 639px) {
  .hero-bg-img--default, .hero-bg-img--mirror { object-position: 78% 28%; }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-scrim::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--brand-blue-dark) 0%, color-mix(in srgb, var(--brand-blue-dark) 55%, transparent) 32%, transparent 52%);
}
.hero-scrim::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background: linear-gradient(to top, color-mix(in srgb, var(--brand-blue) 18%, transparent) 0%, color-mix(in srgb, var(--brand-green) 8%, transparent) 20%, transparent 55%);
}
@media (min-width: 640px) {
  .hero-scrim::before { background: transparent; }
  .hero-scrim--ltr::before {
    background: linear-gradient(98deg, var(--brand-blue-dark) 0%, color-mix(in srgb, var(--brand-blue-dark) 94%, var(--brand-blue)) 26%, color-mix(in srgb, var(--brand-blue-dark) 72%, var(--brand-blue) 8%) 44%, color-mix(in srgb, var(--brand-blue-dark) 38%, transparent) 58%, transparent 72%);
  }
  .hero-scrim--rtl::before {
    background: linear-gradient(262deg, var(--brand-blue-dark) 0%, color-mix(in srgb, var(--brand-blue-dark) 94%, var(--brand-blue)) 26%, color-mix(in srgb, var(--brand-blue-dark) 72%, var(--brand-blue) 8%) 44%, color-mix(in srgb, var(--brand-blue-dark) 38%, transparent) 58%, transparent 72%);
  }
  .hero-scrim::after {
    opacity: 0.28;
    background: linear-gradient(125deg, color-mix(in srgb, var(--brand-red) 14%, transparent) 0%, transparent 22%, color-mix(in srgb, var(--brand-blue) 12%, transparent) 40%, color-mix(in srgb, var(--brand-green) 10%, transparent) 58%, color-mix(in srgb, var(--brand-yellow) 12%, transparent) 78%, transparent 100%);
  }
}
.hero-content h1 {
  text-shadow: 0 1px 2px rgba(15,23,42,.45), 0 2px 14px rgba(15,23,42,.35), 0 0 32px rgba(30,58,138,.22);
}
.hero-content p {
  text-shadow: 0 1px 2px rgba(15,23,42,.4), 0 1px 10px rgba(15,23,42,.28), 0 0 20px rgba(30,58,138,.18);
}
.hero-tagline-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid color-mix(in srgb, var(--brand-yellow) 50%, transparent);
  background: color-mix(in srgb, var(--brand-blue-dark) 80%, transparent);
  backdrop-filter: blur(4px);
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  color: var(--brand-yellow-light);
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
@media (max-width: 639px) {
  .hero-panel {
    background: linear-gradient(165deg, color-mix(in srgb, var(--brand-blue-dark) 88%, var(--brand-blue) 12%) 0%, color-mix(in srgb, var(--brand-blue-dark) 94%, transparent) 100%);
    border: 1px solid color-mix(in srgb, white 14%, transparent);
    border-radius: 1.25rem;
    padding: 1.25rem 1rem 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 40px rgba(15,23,42,.28);
  }
  .hero-content { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.75rem; }
  .hero-tagline-pill { margin-bottom: 0.25rem; }
  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    width: 100%;
    max-width: 22rem;
    margin-top: 0.5rem;
  }
  .hero-btn { height: 2.875rem; padding-inline: 1rem; font-size: 0.875rem; line-height: 1.25; font-weight: 600; width: 100%; }
}
@media (min-width: 640px) {
  .hero-section { align-items: center; }
  .hero-panel { background: transparent; border: none; border-radius: 0; padding: 0; backdrop-filter: none; box-shadow: none; }
  .hero-content { display: block; text-align: start; }
  .hero-tagline-pill { display: none; }
  .hero-content h1 { margin-bottom: 0; font-size: 3rem; line-height: 1.1; }
  .hero-content p { margin-top: 1.5rem; font-size: 1.125rem; color: color-mix(in srgb, white 90%, transparent); }
  .hero-actions { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.875rem; margin-top: 2rem; width: auto; max-width: none; }
  .hero-btn { width: auto; min-width: 10.5rem; height: 3rem; padding-inline: 1.75rem; font-size: 1rem; font-weight: 600; }
}
.hero-btn-secondary {
  background: color-mix(in srgb, white 12%, transparent);
  border: 1.5px solid color-mix(in srgb, white 45%, transparent);
  color: white;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 12px rgba(15,23,42,.12);
}
@media (min-width: 640px) {
  .hero-btn-secondary {
    background: color-mix(in srgb, white 10%, transparent);
    border: 1.5px solid color-mix(in srgb, var(--brand-yellow) 55%, white 45%);
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 18px rgba(15,23,42,.18);
  }
  .hero-btn-secondary:hover {
    background: color-mix(in srgb, white 18%, transparent);
    border-color: var(--brand-yellow-light);
  }
}
.home-cta-btn { height: 3rem; padding-inline: 1.75rem; font-size: 1rem; font-weight: 600; }
.home-cta-btn-secondary {
  background: white;
  border: 1.5px solid color-mix(in srgb, var(--brand-blue-dark) 35%, var(--brand-yellow) 65%);
  color: var(--brand-blue-dark);
  box-shadow: 0 2px 12px rgba(30,58,138,.08);
}
.home-cta-btn-secondary:hover {
  background: color-mix(in srgb, var(--brand-yellow) 8%, white);
  border-color: var(--brand-yellow);
}
.home-cta-actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; }
@media (min-width: 640px) {
  .home-cta-actions { flex-direction: row; gap: 1rem; }
  .home-cta-btn { height: 2.875rem; }
}

/* Homepage — professional layout */
.home-page {
  background: linear-gradient(180deg, #fff 0%, var(--cream) 12%, #fff 100%);
}
.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-yellow-light);
}
.home-eyebrow--dark {
  color: var(--brand-blue);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid color-mix(in srgb, var(--brand-yellow) 50%, transparent);
  background: color-mix(in srgb, var(--brand-blue-dark) 80%, transparent);
  backdrop-filter: blur(4px);
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand-yellow-light);
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
  margin-bottom: 1rem;
}
@media (max-width: 639px) {
  .hero-eyebrow { margin-bottom: 0.25rem; }
}
@media (min-width: 640px) {
  .hero-eyebrow {
    margin-bottom: 1.25rem;
    font-size: 0.9375rem;
    padding: 0.5rem 1.125rem;
  }
}
.home-stats-strip {
  position: relative;
  z-index: 20;
  margin-top: -2.75rem;
  margin-bottom: 0.5rem;
}
.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(30,58,138,.12), 0 4px 12px rgba(15,23,42,.06);
}
@media (min-width: 640px) {
  .home-stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding: 0;
  }
  .home-stat + .home-stat {
    border-inline-start: 1px solid var(--border);
  }
}
.home-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.25rem;
  padding: 1rem 0.75rem;
}
@media (min-width: 640px) {
  .home-stat { padding: 1.5rem 1rem; }
}
.home-stat-value {
  font-family: var(--font-cormorant), Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--brand-blue-dark);
}
@media (min-width: 640px) {
  .home-stat-value { font-size: 2.25rem; }
}
.home-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-green);
}
.home-stat-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.35;
}
@media (min-width: 640px) {
  .home-stat-label { font-size: 0.875rem; }
}
.home-section-header .section-heading-accent {
  align-items: center;
}
.home-section-header.text-center .section-heading-accent::after {
  margin-inline: auto;
}
.home-features-section {
  position: relative;
}
.home-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .home-features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .home-features-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.home-browse-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 56rem;
  margin-inline: auto;
}
@media (min-width: 640px) {
  .home-browse-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
}
.home-countries-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .home-countries-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .home-countries-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.home-feature-card {
  height: 100%;
  min-height: 0;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
@media (min-width: 1024px) {
  .home-feature-card { padding: 1.5rem 1.25rem; }
  .home-browse-card { min-height: 11rem; }
  .home-country-card { min-height: 5.5rem; }
}
.home-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(30,58,138,.12);
}
.home-browse-section {
  background: color-mix(in srgb, var(--cream-dark) 55%, white) !important;
}
.home-browse-card,
.home-country-card {
  transition: transform .2s ease, box-shadow .2s ease;
}
.home-browse-card:hover,
.home-country-card:hover {
  transform: translateY(-2px);
}
.home-cta-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 0% 0%, color-mix(in srgb, var(--brand-red) 7%, transparent), transparent 55%),
    radial-gradient(ellipse 65% 50% at 100% 0%, color-mix(in srgb, var(--brand-blue) 8%, transparent), transparent 52%),
    radial-gradient(ellipse 60% 45% at 50% 100%, color-mix(in srgb, var(--brand-yellow) 10%, transparent), transparent 48%),
    linear-gradient(168deg, #fff 0%, var(--cream) 100%);
}
.home-cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background: linear-gradient(120deg, color-mix(in srgb, var(--brand-green) 6%, transparent) 0%, transparent 40%, color-mix(in srgb, var(--brand-blue) 5%, transparent) 100%);
}
.home-cta-section > div {
  position: relative;
  z-index: 1;
}

/* Brand stripe & logo */
.brand-stripe {
  display: flex;
  height: 4px;
  width: 100%;
  overflow: hidden;
  flex-shrink: 0;
}
.site-header .brand-stripe {
  border-radius: 0;
}
.brand-stripe > span:nth-child(1) { background: var(--brand-red); flex: 1; }
.brand-stripe > span:nth-child(2) { background: var(--brand-white); flex: 1; }
.brand-stripe > span:nth-child(3) { background: var(--brand-blue); flex: 1; }
.brand-stripe > span:nth-child(4) { background: var(--brand-green); flex: 1; }
.brand-stripe > span:nth-child(5) { background: var(--brand-yellow); flex: 1; }

.brand-logo {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  flex-shrink: 0;
}
.brand-logo--sm { width: 2rem; height: 2rem; }
.brand-logo--md { width: 2.25rem; height: 2.25rem; }
.brand-logo--lg { width: 3rem; height: 3rem; }
.brand-logo span { display: block; }
.brand-logo .r { background: var(--brand-red); }
.brand-logo .b { background: var(--brand-blue); }
.brand-logo .g { background: var(--brand-green); }
.brand-logo .y {
  background: var(--brand-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cormorant), Georgia, serif;
  font-weight: 700;
  color: var(--brand-blue-dark);
}
.brand-logo--sm .y { font-size: 0.875rem; }
.brand-logo--md .y { font-size: 1.125rem; }
.brand-logo--lg .y { font-size: 1.25rem; }

/* Cards */
.card-premium {
  background: white;
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(30,58,138,.06);
  transition: all .3s ease;
}
.card-premium:hover {
  box-shadow: 0 12px 40px rgba(30,58,138,.1);
  border-color: rgba(29,78,216,.25);
}
.card-brand-top-red { border-top: 3px solid var(--brand-red); }
.card-brand-top-blue { border-top: 3px solid var(--brand-blue); }
.card-brand-top-green { border-top: 3px solid var(--brand-green); }
.card-brand-top-yellow { border-top: 3px solid var(--brand-yellow); }
.brand-icon-red { background: color-mix(in srgb, var(--brand-red) 12%, white); color: var(--brand-red); }
.brand-icon-green { background: color-mix(in srgb, var(--brand-green) 12%, white); color: var(--brand-green); }
.brand-icon-blue { background: color-mix(in srgb, var(--brand-blue) 12%, white); color: var(--brand-blue); }
.brand-icon-yellow { background: color-mix(in srgb, var(--brand-yellow) 18%, white); color: var(--brand-blue-dark); }
.section-heading-accent {
  display: inline-flex;
  flex-direction: column;
  align-items: inherit;
  gap: 0.5rem;
}
.section-heading-accent::after {
  content: "";
  display: block;
  height: 4px;
  width: 3.5rem;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-blue), var(--brand-green), var(--brand-yellow));
}
.profile-hero-soft {
  position: relative;
  background-color: #fff;
  background-image:
    radial-gradient(ellipse 85% 65% at 0% 0%, color-mix(in srgb, var(--brand-red) 9%, transparent), transparent 55%),
    radial-gradient(ellipse 75% 60% at 100% 0%, color-mix(in srgb, var(--brand-blue) 8%, transparent), transparent 52%),
    radial-gradient(ellipse 80% 55% at 0% 100%, color-mix(in srgb, var(--brand-green) 8%, transparent), transparent 50%),
    radial-gradient(ellipse 70% 50% at 100% 100%, color-mix(in srgb, var(--brand-yellow) 10%, transparent), transparent 48%),
    linear-gradient(168deg, #fff 0%, #fafbfc 45%, #f4f7fb 100%);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--brand-blue) 6%, white), 0 12px 40px rgba(15,23,42,.06);
}
.profile-hero-soft::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-blue), var(--brand-green), var(--brand-yellow), var(--brand-red));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 5;
}
.profile-hero-soft::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.35;
  background: linear-gradient(120deg, color-mix(in srgb, var(--brand-red) 14%, transparent) 0%, transparent 28%, color-mix(in srgb, var(--brand-blue) 12%, transparent) 50%, transparent 72%, color-mix(in srgb, var(--brand-green) 12%, transparent) 100%);
}
.profile-public-avatar {
  height: 7rem;
  width: 7rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  ring: 4px solid rgba(255,255,255,.8);
}
@media (min-width: 640px) {
  .profile-public-avatar { height: 8rem; width: 8rem; }
}

/* Buttons */
.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
  font-family: inherit;
  line-height: 1.25;
}
.btn:disabled { opacity: .5; pointer-events: none; }
.btn-sm { height: 2.25rem; padding-inline: 1rem; font-size: 0.875rem; }
.btn-md { height: 2.75rem; padding-inline: 1.5rem; }
.btn-lg { height: 3.25rem; padding-inline: 2rem; font-size: 1rem; }
.btn-default, .btn-gold {
  background: linear-gradient(135deg, var(--brand-yellow) 0%, var(--brand-yellow-light) 100%);
  color: var(--brand-blue-dark);
  box-shadow: 0 4px 14px rgba(234,179,8,.3);
}
.btn-default:hover, .btn-gold:hover { opacity: .95; }
.btn-primary, .btn-secondary {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.btn-primary:hover, .btn-secondary:hover { background: var(--brand-blue-dark); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--brand-blue);
  color: var(--brand-blue);
}
.btn-outline:hover { background: color-mix(in srgb, var(--brand-blue) 5%, white); }
.btn-ghost {
  background: transparent;
  color: var(--brand-blue-dark);
}
.btn-ghost:hover { background: var(--cream-dark); }
.btn-danger { background: var(--brand-red); color: #fff; }

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
}
.badge-gold { background: linear-gradient(135deg, var(--brand-yellow), var(--brand-yellow-light)); color: var(--brand-blue-dark); font-weight: 600; }
.badge-default { background: var(--cream-dark); color: var(--brand-blue-dark); }

/* Forms */
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-blue-dark);
  margin-bottom: 0.5rem;
  line-height: 1.375;
}
.form-control {
  width: 100%;
  border-radius: 0.75rem;
  border: 2px solid var(--border);
  background: #fff;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--brand-blue-dark);
  font-family: inherit;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-control::placeholder { color: color-mix(in srgb, var(--text-muted) 70%, transparent); }
.form-control:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(29,78,216,.15);
}
.form-group { margin-bottom: 1rem; }
.error, .text-red-600 { color: var(--brand-red); font-size: 0.875rem; margin-top: 0.25rem; }
.alert-success {
  background: #ecfdf5;
  color: #166534;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, white 95%, transparent);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  height: 4rem;
  max-width: 80rem;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  padding-inline: 1rem;
  gap: 1rem;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
  min-height: 2.75rem;
}
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}
.brand-logo-img {
  display: block;
  border-radius: 8px;
  vertical-align: middle;
}
.brand-name {
  font-size: 1.3125rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  line-height: 1;
  margin: 0;
  padding: 0;
  transform: translateY(-1px);
  letter-spacing: 0.02em;
}
.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--brand-blue-dark);
  transition: color .2s;
}
.nav-links a.nav-home:hover, .nav-links a.nav-home.active { color: var(--brand-green); font-weight: 600; }
.nav-links a.nav-employers:hover, .nav-links a.nav-employers.active { color: var(--brand-red); font-weight: 600; }
.nav-links a.nav-pricing:hover, .nav-links a.nav-pricing.active { color: var(--brand-blue); font-weight: 600; }
.header-actions { display: none; align-items: center; gap: 0.75rem; }
.header-actions .locale-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 1rem;
  color: var(--text-muted);
  transition: color .2s;
}
.header-actions .locale-link:hover { color: var(--brand-blue); }
.mobile-menu-btn {
  display: block;
  padding: 0.5rem;
  background: none;
  border: none;
  color: var(--brand-blue-dark);
  cursor: pointer;
}
.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 1rem;
}
.mobile-menu.open { display: block; }
.mobile-menu > a {
  display: block;
  padding: 0.5rem 0;
  color: var(--brand-blue-dark);
  font-weight: 500;
}
.mobile-menu .mobile-auth {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border);
}
.mobile-menu .mobile-auth .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  min-height: 2.75rem;
  padding-inline: 1rem;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .header-actions { display: flex; }
  .mobile-menu-btn { display: none; }
  .mobile-menu { display: none !important; }
  .header-inner { padding-inline: 1.5rem; }
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: var(--brand-blue-dark);
  color: #fff;
}
.footer-inner-wrap {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2.5rem 1rem;
}
.footer-row {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.footer-dots {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}
.footer-dots span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
}
@media (min-width: 768px) {
  .footer-row { flex-direction: row; }
  .footer-brand { text-align: start; }
  .footer-inner-wrap { padding-inline: 1.5rem; }
}

/* Mobile bottom nav */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, white 95%, transparent);
  backdrop-filter: blur(12px);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-bottom-nav-inner {
  display: flex;
  align-items: center;
  justify-content: around;
  height: 4rem;
  padding-inline: 0.5rem;
}
.mobile-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
  padding: 0.25rem 0.75rem;
  border-radius: 0.75rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  transition: color .2s;
}
.mobile-bottom-nav a.active { color: var(--brand-green); }
.mobile-bottom-nav a.nav-profiles.active { color: var(--brand-blue); }
.mobile-bottom-nav a.nav-pricing.active { color: var(--brand-yellow); }
.mobile-bottom-nav a.nav-dashboard.active, .mobile-bottom-nav a.nav-admin.active { color: var(--brand-red); }
@media (min-width: 768px) {
  .mobile-bottom-nav { display: none; }
  main.main-content { padding-bottom: 0; }
}
main.main-content { flex: 1; padding-bottom: 5rem; }

/* Auth center */
.auth-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}
.auth-card { width: 100%; max-width: 28rem; }

/* Admin / legacy */
.container { width: min(1120px, 92vw); margin: 0 auto; }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.stat { background: var(--cream); border-radius: 0.5rem; padding: 1rem; text-align: center; }
.stat strong { display: block; font-size: 1.5rem; color: var(--brand-blue-dark); }
.progress-wrap { margin: 1rem 0; }
.progress-bar { height: 8px; background: #e2e8f0; border-radius: 99px; overflow: hidden; }
.progress-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-blue), var(--brand-green)); }
.badge-green { background: #dcfce7; color: #166534; display: inline-block; padding: .2rem .55rem; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.badge-orange { background: #ffedd5; color: #9a3412; display: inline-block; padding: .2rem .55rem; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.badge-amber { background: #fef3c7; color: #92400e; display: inline-block; padding: .2rem .55rem; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.badge-gray { background: #f1f5f9; color: #475569; display: inline-block; padding: .2rem .55rem; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.badge-red { background: #fee2e2; color: #991b1b; display: inline-block; padding: .2rem .55rem; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.revision-box { background: #fffbeb; border: 1px solid #fde68a; border-radius: .5rem; padding: 1rem; margin: 1rem 0; }
.wizard-steps { color: var(--text-muted); margin-bottom: 1rem; }
.profile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin-top: 1rem; }
.profile-card { color: inherit; text-decoration: none; display: block; }
.profile-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.profile-avatar { width: 64px; height: 64px; border-radius: .5rem; object-fit: cover; }
.profile-avatar-lg { width: 96px; height: 96px; border-radius: .75rem; object-fit: cover; margin-bottom: 1rem; }
.muted { color: var(--text-muted); }
.form-group select, .form-group textarea { width: 100%; padding: .65rem .75rem; border: 1px solid var(--border); border-radius: .5rem; font: inherit; }
.form-group input[type="text"], .form-group input[type="email"], .form-group input[type="password"], .form-group input[type="tel"] {
  width: 100%; padding: .65rem .75rem; border: 1px solid var(--border); border-radius: .5rem; font: inherit;
}
.form-check { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.9rem; }
.btn-outline-gold { background: transparent; border: 2px solid var(--brand-yellow); color: var(--brand-blue-dark); }

input:focus, textarea:focus, select:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(29,78,216,.15);
  outline: none;
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up { animation: fade-in-up .6s ease forwards; }
.safe-bottom { padding-bottom: env(safe-area-inset-bottom, 0); }

.pricing-popular { ring: 2px solid var(--gold); transform: scale(1.05); }
.pricing-card-popular { box-shadow: 0 0 0 2px var(--gold); transform: scale(1.05); }
.pricing-features li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--navy); margin-bottom: 0.75rem; }
.pricing-features .check-icon { color: var(--gold); flex-shrink: 0; }

.page-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.page-back:hover { text-decoration: underline; }

.brand-border {
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box,
    linear-gradient(90deg, var(--brand-red), var(--brand-blue), var(--brand-green), var(--brand-yellow), var(--brand-red)) border-box;
}
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full-pill { border-radius: 9999px; }
.skill-pill { border-radius: 0.5rem; background: var(--cream-dark); padding: 0.25rem 0.625rem; font-size: 0.75rem; font-weight: 500; color: var(--navy); }
.status-pill { border-radius: 9999px; padding: 0.25rem 0.75rem; font-size: 0.875rem; font-weight: 500; }
.status-pill-blue { background: color-mix(in srgb, var(--brand-blue) 6%, white); border: 1px solid color-mix(in srgb, var(--brand-blue) 12%, white); color: var(--brand-blue-dark); }
.status-pill-yellow { background: color-mix(in srgb, var(--brand-yellow) 10%, white); border: 1px solid color-mix(in srgb, var(--brand-yellow) 20%, white); color: var(--brand-blue-dark); }
.legal-list { list-style: disc; padding-inline-start: 1.5rem; }
.legal-list li::marker { color: var(--brand-blue); }
.legal-list li { margin-bottom: 0.5rem; }
.otp-input { letter-spacing: 0.4em; text-align: center; font-size: 1.25rem; font-weight: 600; }
.otp-icon-wrap { width: 4rem; height: 4rem; border-radius: 9999px; background: color-mix(in srgb, var(--brand-yellow) 15%, white); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }

/* Admin SPA */
.admin-spa-body { margin: 0; background: var(--cream); overflow: hidden; }
.admin-spa-root { position: fixed; inset: 0; z-index: 40; display: flex; overflow: hidden; background: var(--cream); }
.admin-spa-sidebar { width: 16rem; flex-shrink: 0; display: none; flex-direction: column; border-inline-end: 1px solid var(--border); background: #fff; height: 100%; }
@media (min-width: 768px) { .admin-spa-sidebar { display: flex; } }
.admin-spa-sidebar.mobile-open { display: flex; position: fixed; inset-block: 0; z-index: 50; width: 18rem; max-width: 85vw; box-shadow: 0 25px 50px rgba(0,0,0,.15); }
[dir="rtl"] .admin-spa-sidebar.mobile-open { inset-inline-end: 0; border-inline-start: 1px solid var(--border); }
[dir="ltr"] .admin-spa-sidebar.mobile-open { inset-inline-start: 0; border-inline-end: 1px solid var(--border); }
.admin-spa-overlay { position: fixed; inset: 0; z-index: 40; background: color-mix(in srgb, var(--navy) 50%, transparent); }
.admin-spa-overlay.hidden { display: none; }
.admin-spa-main { flex: 1; display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; }
.admin-spa-header { display: flex; align-items: center; gap: 0.75rem; border-bottom: 1px solid var(--border); background: #fff; padding: 0.75rem 1rem; flex-shrink: 0; }
.admin-spa-content { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.admin-spa-nav-btn { display: flex; align-items: center; gap: 0.75rem; border-radius: 0.75rem; padding: 0.625rem 0.75rem; font-size: 0.875rem; font-weight: 500; color: var(--text-muted); background: none; border: none; width: 100%; text-align: start; cursor: pointer; transition: all .2s; }
.admin-spa-nav-btn:hover { background: var(--cream-dark); color: var(--brand-blue-dark); }
.admin-spa-nav-btn.active { background: linear-gradient(135deg, var(--brand-yellow), var(--brand-yellow-light)); color: var(--brand-blue-dark); box-shadow: 0 1px 3px rgba(0,0,0,.08); font-weight: 600; }
.revision-box { border-radius: 0.75rem; border: 1px solid #fcd34d; background: rgba(255,251,235,.5); padding: 1rem; }
.profile-avatar-lg { width: 4rem; height: 4rem; border-radius: 1rem; object-fit: cover; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.text-brand-blue { color: var(--brand-blue); }
.text-green-600 { color: #16a34a; }
.text-amber-600 { color: #d97706; }
.text-gold { color: var(--gold); }
.text-red-600 { color: #dc2626; }
.btn-danger { background: #dc2626; color: #fff; border-color: #dc2626; }
.btn-danger:hover { background: #b91c1c; }
.w-full { width: 100%; }
.shrink-0 { flex-shrink: 0; }
.min-w-0 { min-width: 0; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.ms-auto { margin-inline-start: auto; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-10 { padding: 2.5rem; }
.py-10 { padding-block: 2.5rem; }
.px-4 { padding-inline: 1rem; }
.rounded-xl { border-radius: 0.75rem; }
.border-t { border-top: 1px solid var(--border); }
.border-border { border-color: var(--border); }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1; }
.inline-flex { display: inline-flex; }
.text-start { text-align: start; }
.text-end { text-align: end; }
.text-center { text-align: center; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.break-all { word-break: break-all; }
.hover\\:underline:hover { text-decoration: underline; }
.hidden { display: none; }

.admin-body { margin: 0; background: var(--cream); }
.admin-shell { display: flex; height: 100vh; overflow: hidden; }
.admin-sidebar { width: 16rem; flex-shrink: 0; display: none; flex-direction: column; border-inline-end: 1px solid var(--border); background: #fff; height: 100%; }
@media (min-width: 768px) { .admin-sidebar { display: flex; } }
.admin-sidebar.open { display: flex; position: fixed; inset-block: 0; inset-inline-start: 0; z-index: 50; width: 18rem; max-width: 85vw; box-shadow: 0 25px 50px rgba(0,0,0,.15); }
.admin-sidebar-header { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; border-bottom: 1px solid var(--border); padding: 1rem; }
.admin-sidebar-icon { display: flex; height: 2.25rem; width: 2.25rem; align-items: center; justify-content: center; border-radius: 0.75rem; background: var(--brand-blue); color: var(--brand-yellow); flex-shrink: 0; }
.admin-sidebar-nav { display: flex; flex-direction: column; gap: 0.25rem; padding: 0.75rem; overflow-y: auto; flex: 1; }
.admin-sidebar-link { display: flex; align-items: center; gap: 0.75rem; border-radius: 0.75rem; padding: 0.625rem 0.75rem; font-size: 0.875rem; font-weight: 500; color: var(--text-muted); text-decoration: none; transition: all .2s; }
.admin-sidebar-link-icon { display: flex; align-items: center; justify-content: center; width: 1.25rem; height: 1.25rem; flex-shrink: 0; opacity: .85; }
.admin-sidebar-link.active .admin-sidebar-link-icon { opacity: 1; }
.admin-sidebar-link:hover { background: var(--cream-dark); color: var(--brand-blue-dark); }
.admin-sidebar-link.active { background: linear-gradient(135deg, var(--brand-yellow), var(--brand-yellow-light)); color: var(--brand-blue-dark); box-shadow: 0 1px 3px rgba(0,0,0,.08); font-weight: 600; }
.admin-main-wrap { flex: 1; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.admin-topbar { display: flex; align-items: center; gap: 1rem; border-bottom: 1px solid var(--border); background: #fff; padding: 0.75rem 1rem; flex-shrink: 0; }
.admin-topbar h1 { flex: 1; margin: 0; }
.admin-mobile-toggle { background: none; border: none; padding: 0.5rem; cursor: pointer; color: var(--brand-blue-dark); }
.admin-content { flex: 1; overflow-y: auto; padding: 1.5rem; }
.admin-overlay { position: fixed; inset: 0; z-index: 40; background: color-mix(in srgb, var(--navy) 50%, transparent); }
.admin-overlay.hidden { display: none; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 1024px) { .admin-stat-grid { grid-template-columns: repeat(4, 1fr); } }
.admin-stat-card { background: #fff; border: 1px solid var(--border); border-radius: 1rem; padding: 1.25rem; text-align: center; box-shadow: 0 4px 24px rgba(30,58,138,.04); }
.admin-stat-card strong { display: block; font-size: 1.75rem; color: var(--brand-blue-dark); margin-bottom: 0.25rem; }

/* Dashboard tabs */
.dashboard-wrap { max-width: 64rem; margin: 0 auto; padding: 1.5rem 1rem; }
.dashboard-tabs { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.5rem; margin-bottom: 1.5rem; }
.dashboard-tab { white-space: nowrap; padding: 0.5rem 1rem; border-radius: 0.75rem; font-size: 0.875rem; font-weight: 500; color: var(--text-muted); background: #fff; border: 1px solid var(--border); text-decoration: none; transition: all .2s; }
.dashboard-tab:hover { background: var(--cream-dark); }
.dashboard-tab.active { background: linear-gradient(135deg, var(--brand-yellow), var(--brand-yellow-light)); color: var(--brand-blue-dark); border-color: transparent; font-weight: 600; }
.dashboard-progress { background: var(--cream-dark); border-radius: 9999px; height: 0.5rem; overflow: hidden; margin-top: 0.5rem; }
.dashboard-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-yellow), var(--brand-yellow-light)); border-radius: 9999px; }
.navy-gradient-header { background: linear-gradient(145deg, var(--brand-blue-dark) 0%, var(--brand-blue) 45%, #1e40af 100%); color: #fff; border-radius: 1rem; padding: 1.5rem; margin-bottom: 1.5rem; }

/* Profile wizard */
.profile-wizard { position: relative; overflow: hidden; padding: 0; border: none; box-shadow: 0 8px 40px rgba(30,58,138,.08); }
.profile-wizard--standalone { max-width: 52rem; margin: 0 auto; }
.profile-wizard.card-premium:hover { box-shadow: 0 8px 40px rgba(30,58,138,.08); border-color: var(--border); }

/* Hero header — navy + brand stripe */
.wizard-hero {
  background: linear-gradient(145deg, var(--brand-blue-dark) 0%, var(--brand-blue) 50%, #1e40af 100%);
  color: #fff;
  position: relative;
}
.wizard-brand-stripe { margin: 0; border-radius: 0; height: 5px; }
.profile-wizard-heading {
  margin: 0 0 1rem;
  font-size: 1.65rem;
  font-weight: 700;
  color: #fff;
}
.wizard-hero-inner { padding: 1.25rem 1.5rem 1.35rem; }
.wizard-hero-stats {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem 1.25rem;
  align-items: end;
}
@media (max-width: 540px) {
  .wizard-hero-stats { grid-template-columns: 1fr 1fr; }
  .wizard-hero-stat--grow { grid-column: 1 / -1; }
}
.wizard-hero-stat-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,.65);
  margin-bottom: 0.35rem;
}
.wizard-hero-stat-value {
  font-family: var(--font-cormorant), Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--brand-yellow-light);
}
.wizard-hero-stat-of { font-size: 1.1rem; opacity: 0.55; font-weight: 500; }
.wizard-hero .wizard-progress-bar {
  height: 0.5rem;
  background: rgba(255,255,255,.15);
  border-radius: 9999px;
  overflow: hidden;
}
.wizard-hero .wizard-progress-bar span {
  display: block;
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-yellow), var(--brand-green));
  transition: width 0.4s ease;
}
.wizard-hero .wizard-badge {
  font-size: 0.95rem;
  min-width: 3rem;
  padding: 0.3rem 0.75rem;
}
.wizard-hero .wizard-badge--success {
  background: rgba(255,255,255,.18);
  color: #bbf7d0;
  border: 1px solid rgba(34,197,94,.45);
}
.wizard-hero .wizard-badge--warning {
  background: linear-gradient(135deg, var(--brand-yellow), var(--brand-yellow-light));
  color: var(--brand-blue-dark);
  border: none;
  font-weight: 800;
}

.wizard-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; padding: 0.2rem 0.65rem; border-radius: 9999px; font-size: 0.8rem; font-weight: 700; }
.wizard-badge--success { background: color-mix(in srgb, var(--brand-green) 14%, white); color: #166534; border: 1px solid color-mix(in srgb, var(--brand-green) 25%, white); }
.wizard-badge--warning { background: color-mix(in srgb, var(--brand-yellow) 18%, white); color: var(--brand-blue-dark); border: 1px solid color-mix(in srgb, var(--brand-yellow) 35%, white); }

/* Stepper */
.wizard-stepper-wrap {
  padding: 1.15rem 1.5rem;
  background: linear-gradient(180deg, var(--cream) 0%, #fff 100%);
  border-bottom: 1px solid var(--border);
}
.wizard-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}
.wizard-stepper-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  min-width: 4.5rem;
  max-width: 6.5rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}
.wizard-stepper-item:hover:not(.pending) { transform: translateY(-2px); }
.wizard-stepper-node {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 800;
  border: 2.5px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(30,58,138,.06);
}
.wizard-stepper-label {
  font-size: 0.62rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  color: var(--text-muted);
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wizard-stepper-connector {
  flex: 1 1 auto;
  min-width: 0.5rem;
  height: 2.5px;
  margin-top: 1.05rem;
  background: var(--border);
  border-radius: 9999px;
  transition: background 0.3s ease;
}
.wizard-stepper-connector.done {
  background: linear-gradient(90deg, var(--brand-green), var(--brand-green-light));
}

/* Brand-colored active nodes */
.wizard-stepper-item--red.active .wizard-stepper-node {
  border-color: var(--brand-red);
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-light));
  color: #fff;
  box-shadow: 0 4px 14px rgba(220,38,38,.35);
}
.wizard-stepper-item--blue.active .wizard-stepper-node {
  border-color: var(--brand-blue);
  background: linear-gradient(135deg, var(--brand-blue-dark), var(--brand-blue));
  color: #fff;
  box-shadow: 0 4px 14px rgba(29,78,216,.35);
}
.wizard-stepper-item--green.active .wizard-stepper-node {
  border-color: var(--brand-green);
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-light));
  color: #fff;
  box-shadow: 0 4px 14px rgba(22,163,74,.35);
}
.wizard-stepper-item--yellow.active .wizard-stepper-node {
  border-color: var(--brand-yellow);
  background: linear-gradient(135deg, var(--brand-yellow), var(--brand-yellow-light));
  color: var(--brand-blue-dark);
  box-shadow: 0 4px 14px rgba(234,179,8,.4);
}
.wizard-stepper-item.active .wizard-stepper-label { color: var(--brand-blue-dark); font-weight: 700; }
.wizard-stepper-item.done .wizard-stepper-node {
  border-color: var(--brand-green);
  background: var(--brand-green);
  color: #fff;
}
.wizard-stepper-item.done .wizard-stepper-label { color: #166534; }
.wizard-stepper-item.pending { opacity: 0.55; pointer-events: none; }
.wizard-stepper-item.pending .wizard-stepper-node { background: var(--cream-dark); }

.wizard-stepper-mobile {
  display: none;
  margin: 0.85rem 0 0;
  padding: 0.65rem 0.85rem;
  border-radius: 0.65rem;
  background: color-mix(in srgb, var(--brand-blue) 6%, white);
  border: 1px solid color-mix(in srgb, var(--brand-blue) 12%, white);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}
.wizard-stepper-mobile strong { color: var(--brand-blue-dark); }
@media (max-width: 767px) {
  .wizard-stepper { display: none; }
  .wizard-stepper-mobile { display: block; }
}

/* Form panel */
.wizard-form { padding: 0 1.5rem 1.5rem; }
.wizard-step-panel {
  margin-top: 1.25rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(30,58,138,.05);
  overflow: hidden;
}
.wizard-step-panel-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.35rem;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--brand-red) 6%, white),
    color-mix(in srgb, var(--brand-blue) 6%, white) 33%,
    color-mix(in srgb, var(--brand-green) 6%, white) 66%,
    color-mix(in srgb, var(--brand-yellow) 8%, white));
  border-bottom: 1px solid var(--border);
}
.wizard-step-panel-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  font-family: var(--font-cormorant), Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  background: linear-gradient(135deg, var(--brand-yellow), var(--brand-yellow-light));
  box-shadow: 0 2px 8px rgba(234,179,8,.3);
  flex-shrink: 0;
}
.wizard-step-title { margin: 0; font-size: 1.35rem; font-weight: 700; color: var(--brand-blue-dark); }
.wizard-step-fields { display: flex; flex-direction: column; gap: 0.85rem; padding: 1.15rem 1.35rem 1.35rem; }

/* Content blocks with brand accent */
.wizard-block {
  border-radius: 0.85rem;
  border: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(30,58,138,.04);
}
.wizard-block-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}
.wizard-block-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  flex-shrink: 0;
}
.wizard-block--red .wizard-block-dot { background: var(--brand-red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-red) 20%, transparent); }
.wizard-block--blue .wizard-block-dot { background: var(--brand-blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-blue) 20%, transparent); }
.wizard-block--green .wizard-block-dot { background: var(--brand-green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-green) 20%, transparent); }
.wizard-block--yellow .wizard-block-dot { background: var(--brand-yellow); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-yellow) 25%, transparent); }
.wizard-block--red .wizard-block-head { background: color-mix(in srgb, var(--brand-red) 5%, white); border-inline-start: 3px solid var(--brand-red); }
.wizard-block--blue .wizard-block-head { background: color-mix(in srgb, var(--brand-blue) 5%, white); border-inline-start: 3px solid var(--brand-blue); }
.wizard-block--green .wizard-block-head { background: color-mix(in srgb, var(--brand-green) 5%, white); border-inline-start: 3px solid var(--brand-green); }
.wizard-block--yellow .wizard-block-head { background: color-mix(in srgb, var(--brand-yellow) 8%, white); border-inline-start: 3px solid var(--brand-yellow); }
.wizard-block-title {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  letter-spacing: 0.01em;
}
.wizard-block-body { padding: 1rem; display: flex; flex-direction: column; gap: 0.25rem; }

/* Legacy section aliases */
.wizard-section { padding: 0; border: none; }
.wizard-section-title { display: none; }
.wizard-section--accent { margin: 0; padding: 0; border: none; background: none; }

.wizard-fields-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 1rem;
}
@media (min-width: 640px) {
  .wizard-fields-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .wizard-fields-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.wizard-bilingual-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 1rem;
}
@media (min-width: 768px) {
  .wizard-bilingual-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.wizard-lang-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  padding: 0.12rem 0.4rem;
  margin-inline-end: 0.4rem;
  border-radius: 0.35rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  vertical-align: middle;
}
.wizard-lang-tag--ar { background: color-mix(in srgb, var(--brand-blue) 14%, white); color: var(--brand-blue); }
.wizard-lang-tag--en { background: color-mix(in srgb, var(--brand-green) 14%, white); color: #166534; }

.wizard-choice-row { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.wizard-choice-chip { display: inline-flex; cursor: pointer; }
.wizard-choice-chip input { position: absolute; opacity: 0; pointer-events: none; }
.wizard-choice-chip span {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.1rem;
  border-radius: 0.75rem;
  border: 2px solid var(--border);
  background: var(--cream);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s ease;
}
.wizard-choice-chip:hover span { border-color: var(--brand-blue-light); background: #fff; }
.wizard-choice-chip input:checked + span,
.wizard-choice-chip:has(input:checked) span {
  border-color: var(--brand-blue);
  background: color-mix(in srgb, var(--brand-blue) 8%, white);
  color: var(--brand-blue-dark);
  font-weight: 700;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-blue) 10%, transparent);
}

.wizard-role-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.65rem;
  border-radius: 0.75rem;
  border: 1.5px solid var(--border);
  background: var(--cream);
}
.wizard-role-grid--disabled {
  opacity: 0.55;
  pointer-events: none;
}
.wizard-role-chip span {
  font-size: 0.8125rem;
}
.wizard-field--roles {
  grid-column: 1 / -1;
}
.wizard-field-error {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-red);
}
.wizard-field-error[hidden] {
  display: none;
}

/* Toggle checkbox */
.wizard-toggle-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  user-select: none;
}
.wizard-toggle-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.wizard-toggle-check-box {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.1rem;
  border-radius: 0.4rem;
  border: 2px solid var(--border);
  background: #fff;
  transition: all 0.2s ease;
  position: relative;
}
.wizard-toggle-check input:checked + .wizard-toggle-check-box {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-light));
  border-color: var(--brand-blue);
}
.wizard-toggle-check input:checked + .wizard-toggle-check-box::after {
  content: '';
  position: absolute;
  inset: 0.2rem 0.35rem 0.35rem 0.2rem;
  border: solid #fff;
  border-width: 0 0 2.5px 2.5px;
  transform: rotate(-45deg);
}
.wizard-toggle-check-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.45;
}
.wizard-toggle-check--inline { margin-top: 0.35rem; }
.wizard-field--check { display: flex; align-items: flex-end; }

/* Numbered entries */
.wizard-entry { margin-top: 0; }
.wizard-entry + .wizard-entry,
.wizard-block + .wizard-block,
.wizard-block + .wizard-entry,
.wizard-entry + .wizard-block {
  margin-top: 0.85rem;
}
.wizard-entry-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--brand-blue-dark);
  background: linear-gradient(135deg, var(--brand-yellow), var(--brand-yellow-light));
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(234,179,8,.25);
}
.wizard-entry .wizard-block-dot { display: none; }

/* Inline rows (languages etc.) */
.wizard-entry-list { display: flex; flex-direction: column; gap: 0.75rem; }
.wizard-inline-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem;
  border-radius: 0.65rem;
  background: var(--cream);
  border: 1px solid var(--border);
}
.wizard-inline-row-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  background: var(--brand-blue);
  flex-shrink: 0;
  margin-top: 1.65rem;
}
.wizard-inline-row-fields { flex: 1; min-width: 0; }

/* Sub-entries inside a block */
.wizard-sub-entry {
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--border);
}
.wizard-sub-entry:last-child { border-bottom: none; padding-bottom: 0; }
.wizard-sub-entry-title {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
}
.wizard-sub-entry-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.wizard-sub-entry-head .wizard-sub-entry-title { margin: 0; }

.wizard-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  padding: 0.55rem 1rem;
  border-radius: 0.65rem;
  border: 1px dashed color-mix(in srgb, var(--brand-blue) 35%, var(--border));
  background: color-mix(in srgb, var(--brand-blue) 4%, white);
  color: var(--brand-blue-dark);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.wizard-add-btn:hover {
  background: color-mix(in srgb, var(--brand-blue) 8%, white);
  border-color: var(--brand-blue);
}
.wizard-add-btn[hidden] { display: none; }

.wizard-row-remove {
  flex-shrink: 0;
  align-self: center;
  width: 2rem;
  height: 2rem;
  margin-top: 1.35rem;
  border: none;
  border-radius: 9999px;
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.wizard-row-remove:hover { background: rgba(220, 38, 38, 0.14); }
.wizard-row-remove[hidden] { display: none; }
.wizard-row-remove--text {
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.25rem 0.55rem;
  border-radius: 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
}
.wizard-certs-details { margin-top: 1rem; }
.wizard-certs-details[hidden] { display: none; }

.wizard-skill-tags {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.wizard-skill-tags-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-height: 2rem;
}
.wizard-skill-tags-chips:empty::before {
  content: '';
  display: block;
  width: 100%;
  min-height: 0.25rem;
}
.wizard-skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.45rem 0.3rem 0.65rem;
  border-radius: 9999px;
  background: color-mix(in srgb, var(--brand-blue) 10%, white);
  border: 1px solid color-mix(in srgb, var(--brand-blue) 22%, white);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
}
.wizard-skill-tag-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  border: none;
  border-radius: 9999px;
  background: rgba(220, 38, 38, 0.1);
  color: #b91c1c;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.wizard-skill-tag-remove:hover { background: rgba(220, 38, 38, 0.16); }
.wizard-skill-tags-input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  background: #fff;
  font-size: 0.92rem;
}
.wizard-skill-tags-input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--brand-blue) 45%, white);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-blue) 12%, white);
}
.wizard-skill-tags-hint { margin: 0; }
.wizard-skill-tags-min { margin-top: 0.35rem; }

@media (min-width: 640px) {
  .wizard-fields-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.wizard-block .wizard-scenario-grid { max-width: none; }
.wizard-block .wizard-review-grid { padding: 0; }
.wizard-step-fields > .wizard-block:first-child,
.wizard-step-fields > .wizard-entry:first-child { margin-top: 0; }

.wizard-exp-hint {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0.85rem 0;
  padding: 0.9rem 1rem;
  border-radius: 0.85rem;
  background: color-mix(in srgb, var(--brand-blue) 6%, white);
  border: 1px solid color-mix(in srgb, var(--brand-blue) 14%, white);
}
.wizard-exp-hint[hidden] { display: none; }
.wizard-exp-hint-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: var(--brand-blue);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.wizard-exp-hint p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--navy);
  line-height: 1.5;
}

.wizard-validation-errors {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(220, 38, 38, 0.25);
  background: rgba(254, 242, 242, 0.9);
}
.wizard-validation-errors-title {
  margin: 0 0 0.5rem;
  font-weight: 600;
  color: #991b1b;
  font-size: 0.92rem;
}
.wizard-validation-errors-list {
  margin: 0;
  padding: 0 1.2rem;
  color: #b91c1c;
  font-size: 0.88rem;
}
.wizard-validation-errors-list li { margin: 0.25rem 0; }
.wizard-validation-errors--client,
.wizard-validation-errors--server {
  margin-top: 0;
  margin-bottom: 0.85rem;
}
.wizard-nav {
  margin-top: 0.5rem;
}
.wizard-exp-details[hidden] { display: none; }
.wizard-exp-conditional[hidden] { display: none; }

.profile-wizard .form-group input[type="month"],
.profile-wizard .form-group input[type="number"],
.profile-wizard .wizard-field input[type="month"],
.profile-wizard .wizard-field input[type="number"] {
  appearance: auto;
}

.wizard-file-field .wizard-file-preview { margin-top: 0.65rem; }
.wizard-file-preview img {
  width: 5rem;
  height: 5rem;
  border-radius: 0.85rem;
  object-fit: cover;
  border: 3px solid #fff;
  outline: 2px solid var(--brand-yellow);
  box-shadow: 0 4px 16px rgba(30,58,138,.12);
}

.profile-wizard .form-group,
.profile-wizard .wizard-field { margin-bottom: 1rem; }
.profile-wizard .form-group label,
.profile-wizard .wizard-field label {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-blue-dark);
}
.profile-wizard .form-group input[type="text"], .profile-wizard .form-group input[type="email"], .profile-wizard .form-group input[type="password"], .profile-wizard .form-group input[type="tel"], .profile-wizard .form-group input[type="date"], .profile-wizard .form-group input[type="number"], .profile-wizard .form-group input[type="url"], .profile-wizard .form-group input[type="file"], .profile-wizard .form-group select, .profile-wizard .form-group textarea,
.profile-wizard .wizard-block input, .profile-wizard .wizard-block select, .profile-wizard .wizard-block textarea,
.profile-wizard .wizard-field input, .profile-wizard .wizard-field select, .profile-wizard .wizard-field textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 0.75rem;
  font: inherit;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.profile-wizard .form-group input:hover, .profile-wizard .form-group select:hover, .profile-wizard .form-group textarea:hover,
.profile-wizard .wizard-field input:hover, .profile-wizard .wizard-field select:hover, .profile-wizard .wizard-field textarea:hover {
  background: #fff;
  border-color: color-mix(in srgb, var(--brand-blue) 25%, white);
}
.profile-wizard .form-group textarea { min-height: 5.5rem; resize: vertical; }
.profile-wizard .form-group input:focus, .profile-wizard .form-group select:focus, .profile-wizard .form-group textarea:focus,
.profile-wizard .wizard-field input:focus, .profile-wizard .wizard-field select:focus, .profile-wizard .wizard-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-blue) 12%, transparent);
}
.profile-wizard .form-group input[type="file"] { padding: 0.6rem 0.85rem; cursor: pointer; }
.profile-wizard .muted, .profile-wizard .wizard-hint { margin: 0.5rem 0 0; font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }
.profile-wizard .wizard-step-fields hr { border: none; border-top: 1px dashed var(--border); margin: 1.25rem 0; }

.wizard-scenario-grid { display: grid; grid-template-columns: 1fr; gap: 0.85rem; max-width: 40rem; margin-inline: auto; }
@media (min-width: 640px) { .wizard-scenario-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wizard-scenario-card { display: block; cursor: pointer; position: relative; }
.wizard-scenario-card input { position: absolute; opacity: 0; pointer-events: none; }
.wizard-scenario-card-inner { display: flex; align-items: flex-start; gap: 0.75rem; padding: 1rem 1.1rem; border-radius: 1rem; border: 2px solid var(--border); background: var(--cream); transition: all 0.2s ease; min-height: 100%; }
.wizard-scenario-card:hover .wizard-scenario-card-inner { border-color: var(--brand-blue-light); background: #fff; box-shadow: 0 4px 16px rgba(30,58,138,.06); }
.wizard-scenario-card input:checked + .wizard-scenario-card-inner, .wizard-scenario-card:has(input:checked) .wizard-scenario-card-inner { border-color: var(--brand-yellow); background: color-mix(in srgb, var(--brand-yellow) 10%, white); box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand-yellow) 35%, white); }
.wizard-scenario-icon { flex-shrink: 0; width: 2.25rem; height: 2.25rem; border-radius: 0.65rem; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; font-weight: 700; background: color-mix(in srgb, var(--brand-blue) 10%, white); color: var(--brand-blue); }
.wizard-scenario-card:has(input:checked) .wizard-scenario-icon { background: linear-gradient(135deg, var(--brand-yellow), var(--brand-yellow-light)); color: var(--brand-blue-dark); }
.wizard-scenario-text { flex: 1; min-width: 0; }
.wizard-scenario-title { display: block; font-weight: 700; color: var(--brand-blue-dark); font-size: 0.95rem; }
.wizard-scenario-desc { display: block; margin-top: 0.25rem; font-size: 0.75rem; color: var(--text-muted); line-height: 1.45; }
.wizard-scenario-check { flex-shrink: 0; width: 1.35rem; height: 1.35rem; border-radius: 9999px; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 0.65rem; font-weight: 800; color: transparent; transition: all 0.2s; }
.wizard-scenario-card:has(input:checked) .wizard-scenario-check { border-color: var(--brand-green); background: var(--brand-green); color: #fff; }

.wizard-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  padding: 1.15rem 1.25rem;
  border-radius: 0.85rem;
  background: linear-gradient(180deg, var(--cream) 0%, #fff 100%);
  border: 1px solid var(--border);
}
.wizard-nav-btn { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.85rem; padding-inline: 1.25rem !important; border-radius: 0.75rem !important; font-weight: 600 !important; }
.wizard-nav-btn--primary { margin-inline-start: auto; box-shadow: 0 4px 16px rgba(234,179,8,.32); }
.wizard-nav-arrow { font-size: 1rem; line-height: 1; opacity: 0.85; }
.wizard-review-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; padding: 0 1.35rem 1.35rem; }
@media (min-width: 480px) { .wizard-review-grid { grid-template-columns: repeat(3, 1fr); } }
.wizard-review-stat { padding: 0.9rem 1rem; border-radius: 0.85rem; background: var(--cream); border: 1px solid var(--border); }
.wizard-review-label { display: block; font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.25rem; }
.wizard-review-value { font-size: 1rem; color: var(--brand-blue-dark); }
.wizard-review-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1rem; padding: 0 0 0.25rem; border-top: none; }
.wizard-review-preview-hint { margin: 0 1.35rem 1rem; }
.wizard-review-preview { padding: 0 1.35rem 1.35rem; }
.wizard-review-preview__frame {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #fff;
  overflow: hidden;
  max-height: 70vh;
  overflow-y: auto;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6);
}
.wizard-review-preview .wizard-public-preview {
  max-width: none;
  padding: 1rem 1.15rem 1.25rem;
}
.wizard-preview-noninteractive a,
.wizard-preview-noninteractive button,
.wizard-preview-noninteractive form {
  pointer-events: none;
}

.profile-dashboard-preview { padding: 0; overflow: hidden; }
.profile-dashboard-preview-head {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.35rem; border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(29,78,216,.04) 0%, transparent 100%);
}
.profile-dashboard-preview-block { padding: 1.25rem 1.35rem 0; }
.profile-dashboard-preview-block + .profile-dashboard-preview-block { padding-top: 0.5rem; padding-bottom: 1.35rem; }
.profile-dashboard-preview-label {
  margin: 0 0 0.85rem; font-size: 0.95rem; font-weight: 600; color: var(--brand-blue-dark);
}
.profile-dashboard-browse-wrap { max-width: 28rem; }
.profile-dashboard-full-preview {
  border: 1px solid var(--border); border-radius: 1rem; background: #fff; overflow: hidden;
}
.profile-dashboard-full-preview .wizard-public-preview { padding: 1rem 1.15rem 1.25rem; max-width: none; }
.profile-card-inner--static { position: relative; cursor: default; }
.profile-card-preview-static .profile-card-inner--static:hover { box-shadow: inherit; transform: none; }
.profile-card-inline-edits {
  position: absolute; top: 0.75rem; inset-inline-end: 0.75rem; display: flex; gap: 0.35rem; z-index: 2;
}
.profile-section-head {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.85rem;
}
.profile-section-edit-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 0.55rem;
  border: 1px solid rgba(29,78,216,.15); background: rgba(29,78,216,.06);
  color: var(--brand-blue); flex-shrink: 0; transition: background .15s, border-color .15s;
}
.profile-section-edit-btn:hover { background: rgba(29,78,216,.12); border-color: rgba(29,78,216,.28); color: var(--brand-blue-dark); }
.profile-hero-edits {
  position: absolute; top: 0.85rem; inset-inline-end: 0.85rem; z-index: 3;
  display: flex; gap: 0.35rem;
}
.profile-hero-edits .profile-section-edit-btn { background: rgba(255,255,255,.92); }
.wizard-edit-mode-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.65rem;
  padding: 0.75rem 1.25rem; background: rgba(234,179,8,.08); border-bottom: 1px solid rgba(234,179,8,.2);
}
.wizard-edit-mode-back {
  display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.875rem; font-weight: 600; color: var(--brand-blue-dark);
}
.wizard-edit-mode-label { font-size: 0.875rem; color: var(--text-muted); }
.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;
}

/* Dashboard — incomplete profile sections */
.profile-incomplete { margin-bottom: 1.25rem; }
.profile-incomplete-card {
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--brand-yellow) 35%, white);
  background: #fff;
  box-shadow: 0 4px 24px rgba(30,58,138,.06);
  overflow: hidden;
}
.profile-incomplete-stripe {
  display: flex;
  height: 4px;
}
.profile-incomplete-stripe span { flex: 1; }
.profile-incomplete-stripe span:nth-child(1) { background: var(--brand-red); }
.profile-incomplete-stripe span:nth-child(2) { background: var(--brand-blue); }
.profile-incomplete-stripe span:nth-child(3) { background: var(--brand-green); }
.profile-incomplete-stripe span:nth-child(4) { background: var(--brand-yellow); }
.profile-incomplete-header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  background: linear-gradient(165deg, color-mix(in srgb, var(--brand-yellow) 10%, white) 0%, #fff 100%);
  border-bottom: 1px solid color-mix(in srgb, var(--brand-yellow) 22%, white);
}
.profile-incomplete-header-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, var(--brand-yellow), var(--brand-yellow-light));
  color: var(--brand-blue-dark);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(234,179,8,.28);
}
.profile-incomplete-header-text { flex: 1; min-width: 0; }
.profile-incomplete-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
}
.profile-incomplete-subtitle {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.profile-incomplete-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.85rem;
  height: 1.85rem;
  padding: 0 0.45rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--brand-blue-dark);
  background: linear-gradient(135deg, var(--brand-yellow), var(--brand-yellow-light));
  flex-shrink: 0;
}
.profile-incomplete-body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.85rem;
}
.profile-incomplete-group {
  border-radius: 0.85rem;
  border: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.profile-incomplete-group:hover { box-shadow: 0 4px 16px rgba(30,58,138,.06); }
.profile-incomplete-group-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}
.profile-incomplete-group-head:hover { background: var(--cream); }
.profile-incomplete-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.profile-incomplete-group--red .profile-incomplete-step-num { background: linear-gradient(135deg, var(--brand-red), var(--brand-red-light)); }
.profile-incomplete-group--blue .profile-incomplete-step-num { background: linear-gradient(135deg, var(--brand-blue-dark), var(--brand-blue)); }
.profile-incomplete-group--green .profile-incomplete-step-num { background: linear-gradient(135deg, var(--brand-green), var(--brand-green-light)); }
.profile-incomplete-group--yellow .profile-incomplete-step-num { background: linear-gradient(135deg, var(--brand-yellow), var(--brand-yellow-light)); color: var(--brand-blue-dark); }
.profile-incomplete-group--red { border-inline-start: 3px solid var(--brand-red); }
.profile-incomplete-group--blue { border-inline-start: 3px solid var(--brand-blue); }
.profile-incomplete-group--green { border-inline-start: 3px solid var(--brand-green); }
.profile-incomplete-group--yellow { border-inline-start: 3px solid var(--brand-yellow); }
.profile-incomplete-group-label {
  flex: 1;
  min-width: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
}
.profile-incomplete-group-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  background: var(--cream-dark);
  border: 1px solid var(--border);
}
.profile-incomplete-group-arrow {
  font-size: 0.9rem;
  color: var(--text-muted);
  opacity: 0.7;
  flex-shrink: 0;
}
.profile-incomplete-issues {
  list-style: none;
  margin: 0;
  padding: 0 0.85rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.profile-incomplete-issue {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text-muted);
}
.profile-incomplete-issue-dot {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 9999px;
  margin-top: 0.45rem;
  flex-shrink: 0;
  background: var(--brand-yellow);
}
.profile-incomplete-group--red .profile-incomplete-issue-dot { background: var(--brand-red); }
.profile-incomplete-group--blue .profile-incomplete-issue-dot { background: var(--brand-blue); }
.profile-incomplete-group--green .profile-incomplete-issue-dot { background: var(--brand-green); }
.profile-incomplete-group--yellow .profile-incomplete-issue-dot { background: var(--brand-yellow); }
.profile-incomplete--complete .profile-incomplete-complete {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--brand-green) 28%, white);
  background: color-mix(in srgb, var(--brand-green) 8%, white);
}
.profile-incomplete-complete-icon {
  display: flex;
  color: var(--brand-green);
  flex-shrink: 0;
}
.profile-incomplete-complete-text {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #166534;
}

.profile-browse-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 1.5rem; }
@media (min-width: 640px) { .profile-browse-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .profile-browse-grid { grid-template-columns: repeat(3, 1fr); } }
.profile-card-premium { position: relative; height: 100%; }
.profile-card-inner { display: flex; flex-direction: column; height: 100%; padding: 1.25rem; padding-inline-end: 3.5rem; }
.profile-card-avatar { width: 4rem; height: 4rem; border-radius: 1rem; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--border); flex-shrink: 0; }
.profile-card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-card-body { flex: 1; min-width: 0; }
.profile-card-footer { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.profile-public-avatar { width: 7rem; height: 7rem; border-radius: 1rem; overflow: hidden; }
@media (min-width: 640px) { .profile-public-avatar { width: 8rem; height: 8rem; } }
.profile-section { border-radius: 1rem; border: 1px solid var(--border); background: #fff; padding: 1.25rem; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.lg\:col-span-1 { grid-column: span 1; }
.lg\:col-span-2 { grid-column: span 2; }
@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:col-span-1 { grid-column: span 1; }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
}
