:root {
  /* Rose/wine palette */
  --rose: #921A40;
  --rose-deep: #6E1432;
  --rose-light: #B44462;
  --rose-soft: #E7C8CF;
  --rose-mist: #F7EEF1;
  --peach: #C4707E;
  --peach-light: #D9A0AB;
  --peach-pale: #ECCDD4;

  /* Neutral/cream palette */
  --cream: #F5EDE8;
  --cream-mid: #EDE3DC;
  --cream-dark: #DDD0C8;
  --sand: #F4E8E2;
  --ivory: #FFFDFC;
  --beige-light: #FAF4EF;
  --blush: #F0E2DE;
  --white: #FFFFFF;
  --line: rgba(120, 57, 82, .14);

  /* Text */
  --text-dark: #2A1525;
  --text-body: #4A2838;
  --text-muted: #8A6878;
  --text: #5F4452;

  /* Utility */
  --green: #2D8B55;
  --yellow: #D4A030;
  --red: #921A40;
  --shadow: 0 30px 90px rgba(93, 27, 52, .10);

  /* Radii */
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  /* Fonts */
  --sans: 'Plus Jakarta Sans', 'DM Sans', sans-serif;
  --serif: 'Playfair Display', Georgia, serif;

  /* Type scale */
  --heading-display: clamp(2.2rem, 4.5vw, 3.5rem);
  --heading-section: clamp(1.75rem, 3.2vw, 2.6rem);
  --heading-card: clamp(1.025rem, 1.7vw, 1.35rem);
  --heading-subsection: clamp(1.3rem, 2.4vw, 1.9rem);
  --heading-form: clamp(1.85rem, 3vw, 2.15rem);
  --heading-dashboard: clamp(1.9rem, 3vw, 2.8rem);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden
}

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

svg,
canvas {
  max-width: 100%
}

a {
  text-decoration: none;
  color: inherit
}

ul {
  list-style: none
}

.form-group {
  margin-bottom: 18px
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  min-height: 44px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: inherit;
  background: var(--white);
  color: var(--text-dark);
  transition: border-color .3s;
  outline-color: transparent;
  outline-style: solid;
  outline-width: 0
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 46px;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 22px) calc(50% - 2px), calc(100% - 16px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer
}

[dir="rtl"] .form-select {
  padding-right: 16px;
  padding-left: 46px;
  background-position: 16px calc(50% - 2px), 22px calc(50% - 2px)
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--rose);
  outline: 2px solid rgba(146, 26, 64, .18);
  outline-offset: 0
}

.form-textarea {
  min-height: 100px;
  resize: vertical
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  min-height: 44px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color .3s, border-color .3s, color .3s, transform .3s, box-shadow .3s;
  text-decoration: none
}

.btn-primary {
  background: var(--rose);
  color: var(--cream);
  box-shadow: 0 2px 12px rgba(146, 26, 64, .2)
}

.btn-primary:hover {
  background: var(--rose-deep);
  transform: translateY(-1px)
}

.btn-secondary {
  background: var(--white);
  color: var(--text-body);
  border: 1.5px solid var(--cream-dark)
}

.btn-secondary:hover {
  border-color: var(--rose);
  color: var(--rose)
}

.btn-danger {
  background: #fee;
  color: var(--red);
  border: 1.5px solid #fcc
}

.btn-danger:hover {
  background: var(--red);
  color: white
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px
}

.btn-block {
  width: 100%
}

.card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow .3s, transform .3s, border-color .3s;
  position: relative
}

.card:hover {
  box-shadow: 0 8px 30px rgba(146, 26, 64, .06)
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500
}

.badge-green {
  background: #e8f5e9;
  color: var(--green)
}

.badge-yellow {
  background: #fff8e1;
  color: var(--yellow)
}

.badge-red {
  background: #fce4ec;
  color: var(--red)
}

.badge-blue {
  background: #e3f2fd;
  color: #1976d2
}

.badge-gray {
  background: #f5f5f5;
  color: #757575
}

.table-wrap {
  overflow-x: auto
}

table {
  width: 100%;
  border-collapse: collapse
}

th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  padding: 12px 16px;
  border-bottom: 1px solid var(--cream-dark)
}

td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--cream-mid);
  font-size: 16px
}

tr:hover td {
  background: var(--cream)
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px
}

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

.dash-layout {
  display: flex;
  min-height: 100vh
}

.dash-sidebar {
  width: 292px;
  background: var(--text-dark);
  color: var(--cream);
  padding: 24px 0;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  overflow-y: auto;
  z-index: 50
}

.dash-main {
  margin-left: 292px;
  flex: 1;
  padding: 32px;
  min-height: 100vh;
  background: var(--cream)
}

.dash-sidebar .logo {
  padding: 0 24px 28px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  margin-bottom: 16px
}

.dash-sidebar .logo span {
  opacity: .5;
  font-weight: 400
}

.dash-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  color: rgba(253, 246, 240, .5);
  font-size: 16px;
  transition: background-color .2s, color .2s, box-shadow .2s
}

.dash-sidebar nav a:hover,
.dash-sidebar nav a.active {
  color: var(--cream);
  background: rgba(255, 255, 255, .06)
}

.dash-sidebar nav a.active {
  border-right: 3px solid var(--peach)
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px
}

.dash-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--text-dark)
}

.match-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: box-shadow .3s, transform .3s, border-color .3s
}

.match-card:hover {
  box-shadow: 0 8px 30px rgba(146, 26, 64, .08);
  transform: translateY(-2px)
}

.match-rank {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rose);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0
}

.match-info {
  flex: 1
}

.match-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px
}

.match-detail {
  font-size: 14px;
  color: var(--text-muted)
}

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

.stat-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center
}

.stat-card .number {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--rose)
}

.stat-card .label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px
}

@media(max-width:768px) {
  .dash-sidebar {
    display: none
  }

  .dash-main {
    margin-left: 0
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr
  }

  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important
  }

  .legal-content {
    padding: 26px 22px;
  }

  .legal-section h2 {
    align-items: flex-start;
  }
}

/* RTL Support */
[dir="rtl"] {
  text-align: right
}

[dir="rtl"] body {
  font-family: 'Noto Naskh Arabic', 'DM Sans', sans-serif
}

[dir="rtl"][lang="ur"] body {
  font-family: 'Noto Nastaliq Urdu', 'Noto Naskh Arabic', sans-serif
}

[dir="rtl"] .dash-sidebar {
  left: auto;
  right: 0
}

[dir="rtl"] .pub-nav-links {
  flex-direction: row-reverse
}

[dir="rtl"] .pub-footer-grid {
  direction: rtl
}

[dir="rtl"] .pub-footer-bottom {
  flex-direction: row-reverse
}

[dir="rtl"] .dash-main {
  margin-left: 0;
  margin-right: 292px
}

[dir="rtl"] .dash-sidebar nav a.active {
  border-right: none;
  border-left: 3px solid var(--peach)
}

[dir="rtl"] .form-group {
  text-align: right
}

[dir="rtl"] .grid-2 {
  direction: rtl
}

[dir="rtl"] table {
  direction: rtl
}

[dir="rtl"] th {
  text-align: right
}

[dir="rtl"] .badge {
  direction: ltr
}

@media(max-width:768px) {
  [dir="rtl"] .dash-main {
    margin-right: 0
  }
}

@media(max-width:768px) {
  .pub-nav {
    padding: 12px 20px
  }

  .pub-nav-links {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255, 249, 249, .98);
    backdrop-filter: blur(14px);
    flex-direction: column !important;
    align-items: stretch;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(146, 26, 64, .08);
    box-shadow: 0 18px 40px rgba(89, 29, 51, .08)
  }

  .pub-nav-links.open {
    display: flex
  }

  .pub-nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 10px 14px
  }

  .pub-mobile {
    display: block
  }

  .pub-footer-grid {
    grid-template-columns: 1fr 1fr
  }

  .pub-footer {
    padding: 42px 20px 24px
  }

  .pub-footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center
  }
}

@media(max-width:480px) {
  .pub-footer-grid {
    grid-template-columns: 1fr
  }
}

/* Responsive grids for inner pages */
@media(max-width:768px) {
  [style*="grid-template-columns:120px"] {
    grid-template-columns: 1fr !important;
    text-align: center
  }

  [style*="grid-template-columns: 1fr 320px"] {
    grid-template-columns: 1fr !important
  }
}

@media(max-width:480px) {
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important
  }

  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important
  }
}

/* Link color reset - prevent default blue */
a {
  color: inherit
}

a:visited {
  color: inherit
}

a.btn-primary,
a.btn-primary:visited {
  color: var(--cream) !important
}

a.btn-secondary,
a.btn-secondary:visited {
  color: var(--text-body) !important
}

a.btn-danger,
a.btn-danger:visited {
  color: var(--red) !important
}

.pub-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(253, 247, 249, .92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(146, 26, 64, .07);
  box-shadow: 0 4px 24px rgba(89, 29, 51, .05);
}

.pub-nav-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.pub-nav-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.pub-nav-logo img {
  height: 26px;
  width: auto;
}

.pub-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pub-nav li,
.pub-footer li {
  list-style: none;
}

.pub-nav-links a {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 7px 14px;
  border-radius: 999px;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
  text-decoration: none;
}

.pub-nav-links a:hover {
  color: var(--rose);
  background: rgba(146, 26, 64, .06);
}

.pub-nav-links .cta,
.pub-nav-links .cta:visited {
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  color: var(--cream) !important;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(110, 20, 50, .28);
}

.pub-nav-links .cta:hover,
.pub-nav-links .cta:focus-visible {
  background: linear-gradient(135deg, #7d1737, #5f102b);
  color: var(--cream) !important;
  box-shadow: 0 12px 28px rgba(110, 20, 50, .32);
  transform: translateY(-1px);
}

.pub-nav-links .outline,
.pub-nav-links .outline:visited {
  padding: 12px 20px;
  border: 1.5px solid rgba(146, 26, 64, .18);
  background: transparent;
  border-radius: 999px !important;
  margin-left: .5rem;
  margin-right: .2rem;
}

.pub-nav-links .outline:hover {
  border-color: rgba(146, 26, 64, .32);
  color: var(--rose);
}

.pub-mobile {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  padding: 6px;
  border-radius: 8px;
}

.pub-footer {
  background: linear-gradient(180deg, #1A0510 0%, #0E020A 100%);
  color: rgba(245, 237, 232, .68);
  padding: 66px 40px 28px;
}

.pub-footer-grid {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr .8fr .8fr .8fr;
  gap: 26px;
}

.pub-footer-grid>div {
  min-width: 0;
}

.pub-footer-brand p {
  font-size: 16px;
  line-height: 1.8;
  margin-top: 10px;
  max-width: 320px;
  color: rgba(245, 237, 232, .62);
}

.pub-footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: 16px;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  border-radius: 24px;
  background: rgba(37, 22, 31, .92);
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 22px 60px rgba(24, 10, 17, .28);
}

.cookie-banner-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-banner-copy {
  flex: 1;
  margin: 0;
  line-height: 1.65;
  font-size: 13px;
}

.cookie-banner-link {
  color: #f0c67c;
  text-decoration: underline;
}

.cookie-banner-btn {
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  color: var(--cream);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.pub-footer h4 {
  font-size: 16px;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(245, 237, 232, .9);
  margin-bottom: 16px;
}

.pub-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pub-footer li {
  margin-bottom: 10px;
}

.pub-footer a {
  font-size: 16px;
  color: rgba(245, 237, 232, .62);
  text-decoration: none;
  transition: color .25s ease;
}

.pub-footer a:hover {
  color: #f7e7d0;
}

.pub-footer-bottom {
  max-width: 1250px;
  margin: 30px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: rgba(245, 237, 232, .48);
}

.btn-light,
a.btn-light,
a.btn-light:visited {
  display: inline-block;
  background: #fff;
  color: var(--rose-deep) !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 100px;
  border: none;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .15);
  transition: background .2s, transform .15s, box-shadow .2s;
  cursor: pointer;
  text-decoration: none;
}

.btn-light:hover,
a.btn-light:hover {
  background: var(--cream);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .2);
}

.btn-light:active,
a.btn-light:active {
  transform: scale(.97);
}

article a,
article a:visited {
  color: var(--rose)
}

article a:hover {
  text-decoration: underline
}

/* FOCUS VISIBLE — keyboard nav rings */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
  border-radius: 4px
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 10000;
  padding: 8px 16px;
  background: var(--rose);
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 0 8px 0;
  text-decoration: none;
}

.skip-link:focus {
  position: fixed;
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  overflow: visible;
}

/* PREFERS REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important
  }
}

.brand-page {
  background:
    radial-gradient(ellipse at 12% 18%, rgba(146, 26, 64, .14) 0%, transparent 38%),
    radial-gradient(ellipse at 88% 10%, rgba(231, 200, 207, .48) 0%, transparent 28%),
    radial-gradient(ellipse at 60% 92%, rgba(180, 68, 98, .08) 0%, transparent 44%),
    linear-gradient(155deg, #fffdfc 0%, #fbf1f4 34%, #f6e7e4 72%, #fffdfa 100%);
}

.brand-shell,
.blog-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 24px;
}

.brand-shell.narrow,
.blog-shell.narrow {
  max-width: 980px;
}

.brand-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: center;
  margin-bottom: 56px;
}

.brand-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(146, 26, 64, .12);
  color: var(--rose);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 12px;
  box-shadow: 0 10px 28px rgba(89, 29, 51, .05);
}

.brand-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--peach));
  box-shadow: 0 0 0 5px rgba(146, 26, 64, .08);
}

.brand-title {
  margin-top: 16px;
  font-family: 'Playfair Display', serif;
  font-size: var(--heading-display);
  line-height: 1.06;
  letter-spacing: -.028em;
  color: var(--text-dark);
  text-wrap: balance;
}

.brand-lead {
  margin-top: 20px;
  max-width: 58ch;
  font-size: 17px;
  line-height: 1.86;
  color: var(--text-body);
}

.brand-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.brand-media,
.brand-card,
.brand-surface,
.blog-card,
.blog-article-card,
.auth-card,
.auth-visual,
.contact-panel,
.journey-card {
  position: relative;
  border-radius: 28px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(146, 26, 64, .09);
  box-shadow: 0 28px 72px rgba(89, 29, 51, .08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

.brand-card::before,
.brand-surface::before,
.blog-card::before,
.blog-article-card::before,
.auth-card::before,
.contact-panel::before,
.journey-card::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(180deg, rgba(255, 255, 255, .36), transparent 42%); */
  pointer-events: none;
}

.brand-card>*,
.brand-surface>*,
.blog-card>*,
.blog-article-card>*,
.auth-card>*,
.contact-panel>*,
.journey-card>* {
  position: relative;
  z-index: 1;
}

.brand-media {
  position: relative;
  min-height: 470px;
  box-shadow: 0 34px 90px rgba(89, 29, 51, .12);
}

.brand-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .18), transparent 30%),
    linear-gradient(180deg, transparent 42%, rgba(24, 10, 17, .16) 100%);
  pointer-events: none;
}

.brand-media img,
.blog-card img,
.blog-article-hero img,
.contact-panel img,
.auth-visual img,
.journal-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-media-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 22px;
  background: rgba(37, 22, 31, .74);
  color: var(--cream);
  max-width: 320px;
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 22px 54px rgba(24, 10, 17, .18);
  font-size: 13px;
  line-height: 1.6;
}

.brand-grid-2,
.brand-grid-3,
.brand-grid-4,
.contact-grid-brand,
.auth-grid,
.blog-grid,
.journal-grid-brand {
  display: grid;
  gap: 28px;
}

.brand-grid-2,
.contact-grid-brand,
.auth-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

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

.brand-section {
  margin-top: 48px;
}

.brand-section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.brand-section-head h2,
.brand-card h2,
.brand-card h3,
.blog-card h3,
.contact-panel h2,
.contact-panel-title,
.auth-copy h2,
.auth-copy-title,
.journey-card h2,
.journey-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--text-dark);
}

.brand-card h2,
.brand-card h3,
.journey-card h2,
.journey-card h3 {
  margin-bottom: 10px;
}

.brand-section-head h2 {
  font-size: var(--heading-section);
  line-height: 1.12;
  letter-spacing: -.02em;
}

/* ══════════════════════════
   FINAL CTA — LIGHT
══════════════════════════ */
.brand-page .final-cta {
  padding: 96px 40px;
  background: linear-gradient(150deg, var(--ivory) 0%, var(--beige-light) 50%, var(--sand) 100%);
}

.brand-page .final-cta-card {
  margin: 0 auto;
  text-align: center;
  max-width: 1124px;
  padding: 64px;
  margin: 78px auto;
  background: linear-gradient(180deg, rgba(146, 26, 64, .97), rgba(110, 20, 50, .97));
  border-radius: 32px !important;
}

.brand-page .final-cta-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: white !important;
  line-height: 1.18;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}

.brand-page .final-cta-card p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, .65);
  line-height: 1.7;
  max-width: 804px;
  margin: auto auto 36px;
}

.brand-page .final-cta a.btn-primary {
  background: white;
  color: var(--rose) !important;
  font-weight: 800 !important;
  box-shadow: 0 6px 24px rgba(245, 237, 232, .25) !important;
  display: inline-block;
  border-radius: 100px !important;
  font-size: .9375rem;
  padding: 18px 30px;
  border-radius: var(--radius-pill);
  transition: opacity .2s ease-out, transform .15s ease-out, box-shadow .2s ease-out;
  box-shadow: 0 8px 28px rgba(110, 20, 50, .45);
  touch-action: manipulation;
  cursor: pointer;
}


.brand-card h2,
.brand-card h3,
.blog-card h3,
.contact-panel h2,
.contact-panel-title,
.journey-card h2,
.journey-card h3,
.legal-summary-card h2,
.legal-summary-title {
  font-size: var(--heading-card);
  line-height: 1.35;
  letter-spacing: -.01em;
}

.brand-section-head p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.82;
  color: var(--text-body);
}

.brand-card,
.contact-panel,
.journey-card {
  padding: 34px;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.brand-card:hover,
.contact-panel:hover,
.journey-card:hover {
  transform: translateY(-4px);
  border-color: rgba(146, 26, 64, .14);
  box-shadow: 0 34px 82px rgba(89, 29, 51, .12);
}

.brand-card p,
.contact-panel p,
.journey-card p {
  color: var(--text-body);
  line-height: 1.82;
}

.brand-card p+p,
.journey-card p+p {
  margin-top: 14px;
}

.brand-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(146, 26, 64, .14), rgba(196, 112, 126, .14));
  color: var(--rose);
  border: 1px solid rgba(146, 26, 64, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65);
}

.brand-metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brand-metric strong {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  color: var(--rose);
  line-height: 1;
}

.brand-inline-list,
.brand-check-list {
  display: grid;
  gap: 10px;
}

.brand-check-list div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-body);
}

.brand-check-list span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--rose), var(--peach));
  box-shadow: 0 0 0 5px rgba(146, 26, 64, .08);
}

.brand-cta {
  margin-top: 38px;
  padding: 52px 40px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(146, 26, 64, .97), rgba(110, 20, 50, .97));
  box-shadow: 0 24px 65px rgba(89, 29, 51, .18);
  color: rgba(245, 237, 232, .84);
  text-align: center;
}

.brand-cta h3 {
  font-family: 'Playfair Display', serif;
  color: var(--cream);
  font-size: var(--heading-subsection);
  line-height: 1.25;
  letter-spacing: -.015em;
  margin-bottom: 12px;
}

.brand-cta p {
  max-width: 600px;
  margin: 0 auto 24px;
  line-height: 1.75;
}

.blog-shell {
  padding-top: 72px;
}

.blog-index-head {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.blog-index-head p {
  margin-top: 16px;
  line-height: 1.76;
  color: var(--text-body);
}

.blog-card {
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 78px rgba(89, 29, 51, .12);
}

.blog-card-body {
  padding: 28px;
}

.blog-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  font-size: 12px;
}

.blog-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(146, 26, 64, .08);
  color: var(--rose);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.blog-meta span:last-child {
  color: var(--text-muted);
}

.blog-read {
  margin-top: 16px;
  color: var(--rose);
  font-weight: 600;
}

.blog-article-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px 96px;
}

.blog-article-card {
  padding: 36px;
}

.blog-article-hero {
  overflow: hidden;
  border-radius: 24px;
  margin: 28px 0 34px;
  height: 420px;
  border: 1px solid rgba(146, 26, 64, .10);
}

.blog-rich {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-body);
}

.blog-rich h3 {
  margin: 30px 0 12px;
  font-family: 'Playfair Display', serif;
  font-size: var(--heading-subsection);
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: -.015em;
}

.blog-rich p+p {
  margin-top: 14px;
}

.blog-more {
  margin-top: 34px;
}

.blog-hero-shell {
  display: grid;
  gap: 24px;
}

.blog-featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 28px;
  align-items: stretch;
}

.blog-featured-card {
  padding: 0;
  overflow: hidden;
}

.blog-featured-copy {
  padding: 34px;
  display: grid;
  gap: 16px;
}

.blog-featured-copy h2 {
  font-family: 'Playfair Display', serif;
  font-size: var(--heading-section);
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--text-dark);
}

.blog-featured-copy p {
  color: var(--text-body);
  line-height: 1.8;
}

.blog-side-list {
  display: grid;
  gap: 20px;
}

.blog-side-card {
  padding: 24px;
}

.blog-side-card h3 {
  font-size: var(--heading-card);
  line-height: 1.35;
  margin: 10px 0 8px;
}

.blog-side-card p {
  color: var(--text-body);
  line-height: 1.7;
}

.blog-article-card {
  padding: 0;
  overflow: hidden;
  box-shadow: 0 34px 90px rgba(89, 29, 51, .10);
}

.blog-article-inner {
  padding: 42px;
}

.blog-article-head {
  display: grid;
  gap: 12px;
}

.blog-rich {
  border-top: 1px solid rgba(146, 26, 64, .10);
  margin-top: 30px;
  padding-top: 30px;
}

.blog-rich ul,
.blog-rich ol {
  margin: 16px 0 0 22px;
}

.blog-rich li+li {
  margin-top: 8px;
}

.blog-inline-cta {
  margin-top: 30px;
  padding: 32px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(231, 200, 207, .18), transparent 34%),
    linear-gradient(180deg, rgba(146, 26, 64, .97), rgba(110, 20, 50, .97));
  box-shadow: 0 30px 78px rgba(89, 29, 51, .2);
  color: rgba(245, 237, 232, .84);
}

.blog-inline-cta h2,
.blog-inline-cta-title {
  color: var(--cream);
  font-size: var(--heading-subsection);
  line-height: 1.25;
  letter-spacing: -.015em;
  margin-bottom: 10px;
}

.blog-inline-cta p {
  color: rgba(245, 237, 232, .74);
  margin-bottom: 18px;
}

.auth-grid {
  align-items: stretch;
}

.auth-card {
  overflow: hidden;
  box-shadow: 0 34px 90px rgba(89, 29, 51, .12);
}

.auth-visual {
  min-height: 100%;
  padding: 48px 38px;
  background:
    radial-gradient(circle at top left, rgba(146, 26, 64, .16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(231, 200, 207, .38), transparent 30%),
    linear-gradient(180deg, #fffaf9 0%, #f4e6e7 100%);
}

.auth-copy h2,
.auth-copy-title {
  font-size: clamp(1.95rem, 3.4vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 18px 0 10px;
}

.auth-form-title,
.page-cta-title,
.status-card-title,
.empty-state-title {
  font-family: 'Playfair Display', serif;
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: -.015em;
}

.auth-form-title {
  font-size: var(--heading-form);
}

.page-cta-title {
  font-size: var(--heading-subsection);
}

.status-card-title {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.empty-state-title {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.brand-cta-block {
  text-align: center;
}

.brand-cta-copy {
  max-width: 540px;
  margin: 0 auto 28px;
  color: #5F4452;
  line-height: 1.75;
  font-size: 1.05rem;
}

.brand-primary-action {
  font-size: 1rem;
  padding: 15px 40px;
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(110, 20, 50, .35);
}

.status-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top left, rgba(146, 26, 64, .12), transparent 28%),
    radial-gradient(circle at top right, rgba(231, 200, 207, .34), transparent 26%),
    linear-gradient(160deg, #fffdfc 0%, #f9eff2 46%, #f4e8e2 100%);
}

.status-shell.pad {
  padding: 24px;
}

.status-card {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(146, 26, 64, .09);
  box-shadow: 0 32px 90px rgba(89, 29, 51, .12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.status-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .38), transparent 42%);
  pointer-events: none;
}

.status-card>* {
  position: relative;
  z-index: 1;
}

.status-card.centered {
  text-align: center;
}

.status-card-copy {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.status-card-action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
}

.status-icon-mark {
  width: 88px;
  height: 88px;
  margin: 0 auto 22px;
  border-radius: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(146, 26, 64, .12), rgba(196, 112, 126, .16));
  border: 1px solid rgba(146, 26, 64, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65);
  color: var(--rose);
}

.status-icon-mark svg {
  width: 38px;
  height: 38px;
  display: block;
}

.status-note-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(245, 237, 232, .76));
  border: 1px solid rgba(146, 26, 64, .09);
  border-radius: 18px;
  padding: 18px 20px;
}

.auth-copy p {
  color: var(--text-body);
  line-height: 1.72;
}

.auth-points {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.auth-points div {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--text-body);
  font-size: 14px;
}

.auth-point-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(146, 26, 64, .14), rgba(196, 112, 126, .16));
  border: 1px solid rgba(146, 26, 64, .10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55);
}

.auth-point-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.auth-point-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.auth-point-copy strong {
  font-size: 13px;
  color: var(--text-dark);
  letter-spacing: -.01em;
}

.auth-point-copy span {
  line-height: 1.55;
}

.auth-form {
  padding: 42px;
}

.auth-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.contact-grid-brand {
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 18px;
}

.contact-info-list {
  display: grid;
  gap: 16px;
}

.contact-info-list div strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.legal-hero {
  margin-bottom: 26px;
}

.legal-hero .brand-title {
  font-size: var(--heading-display);
}

.legal-hero .brand-lead {
  max-width: 62ch;
}

.legal-shell {
  display: grid;
  gap: 24px;
}

.legal-summary {
  display: grid;
  gap: 18px;
  align-content: start;
}

.legal-summary-card {
  padding: 26px;
}

.legal-summary-card h2,
.legal-summary-title,
.legal-summary-card strong {
  color: var(--text-dark);
}

.legal-summary-card p,
.legal-summary-card li {
  color: var(--text-body);
  line-height: 1.7;
}

.legal-summary-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.legal-content {
  padding: 34px;
}

.legal-section {
  padding: 0 0 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(146, 26, 64, .10);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
  font-family: 'Playfair Display', serif;
  font-size: var(--heading-subsection);
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--text-dark);
}

.legal-number {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(146, 26, 64, .14), rgba(196, 112, 126, .18));
  border: 1px solid rgba(146, 26, 64, .10);
  color: var(--rose);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.legal-section p,
.legal-section li {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.82;
}

.legal-section p+p {
  margin-top: 14px;
}

.legal-list {
  margin: 16px 0 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.legal-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 15px 18px;
  border-radius: 18px;
  background: rgba(146, 26, 64, .05);
}

.legal-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose), var(--peach));
  box-shadow: 0 0 0 5px rgba(146, 26, 64, .08);
  flex-shrink: 0;
}

.legal-note {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(245, 237, 232, .95), rgba(240, 226, 222, .9));
  border: 1px solid rgba(146, 26, 64, .09);
}

.legal-note strong {
  color: var(--text-dark);
}

.legal-note p {
  margin: 0;
}

.legal-meta {
  display: grid;
  gap: 12px;
}

.legal-meta-item {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(146, 26, 64, .05);
}

.legal-meta-item strong {
  display: block;
  margin-bottom: 4px;
}

.legal-contact-card {
  background: linear-gradient(180deg, rgba(146, 26, 64, .96), rgba(110, 20, 50, .98));
  color: rgba(245, 237, 232, .84);
  border-color: rgba(255, 255, 255, .08);
}

.legal-contact-card h3,
.legal-contact-card strong,
.legal-contact-card p {
  color: inherit;
}

.legal-contact-card a {
  color: var(--cream);
  text-decoration: underline;
}

.dash-layout {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(180, 68, 98, .1), transparent 24%),
    radial-gradient(circle at top right, rgba(231, 200, 207, .34), transparent 26%),
    linear-gradient(180deg, #fffdfc 0%, #f7efee 100%);
}

.dash-sidebar {
  width: 292px;
  background:
    radial-gradient(circle at top, rgba(180, 68, 98, .16), transparent 24%),
    rgba(37, 22, 31, .95);
  backdrop-filter: blur(18px);
  border-right: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 26px 0 72px rgba(37, 22, 31, .16);
}

.dash-main {
  padding: 42px 36px 56px;
  background: transparent;
}

.dash-sidebar .logo {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: 18px;
  padding-bottom: 24px;
}

.dash-side-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: rgba(245, 237, 232, .72);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dash-logo-image {
  height: 28px;
  width: auto;
}

.dash-link-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  color: rgba(245, 237, 232, .84);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  flex-shrink: 0;
}

.dash-link-mark svg {
  width: 18px;
  height: 18px;
}

.dash-sidebar nav a {
  margin: 0 14px 8px;
  padding: 12px 14px;
  border-radius: 16px;
  color: rgba(253, 246, 240, .72);
}

.dash-sidebar nav a:hover,
.dash-sidebar nav a.active {
  background: linear-gradient(135deg, rgba(180, 68, 98, .22), rgba(146, 26, 64, .14));
  color: var(--cream);
}

.dash-sidebar nav a.active {
  border-right: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
}

.dash-main-wrap {
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.dash-user-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.dash-avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.dash-user-meta strong {
  display: block;
  color: var(--text-dark);
  font-size: 14px;
}

.dash-user-meta span {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 12px;
}

.dash-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(146, 26, 64, .12);
  color: var(--text-body);
  font-size: 14px;
  font-weight: 600;
  background: rgba(255, 255, 255, .74);
}

.dash-sidebar-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(180deg, rgba(37, 22, 31, .04), rgba(37, 22, 31, .24));
}

.dash-sidebar-footer .dash-user-badge {
  width: 100%;
  align-items: center;
}

.dash-sidebar-footer .dash-user-meta strong {
  color: var(--cream);
}

.dash-sidebar-footer .dash-user-meta span {
  color: rgba(245, 237, 232, .54);
}

.dash-sidebar-footer .dash-logout {
  width: 100%;
  margin-top: 14px;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .10);
  color: rgba(245, 237, 232, .84);
}

.dash-panel {
  margin-top: 8px;
  margin-left: 14px;
  margin-right: 14px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .06);
}

.dash-panel-copy {
  font-size: 12px;
}

.dash-trial-label,
.dash-subscription-label {
  font-weight: 600;
}

.dash-subscription-label {
  color: var(--green);
}

.dash-trial-track {
  height: 4px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
}

.dash-trial-fill {
  height: 100%;
  border-radius: 999px;
}

.dash-renewal-note {
  margin-top: 2px;
  color: rgba(253, 246, 240, .4);
}

.dash-header {
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding: 8px 4px 0;
}

.dash-header h1 {
  font-size: var(--heading-dashboard);
  letter-spacing: -.03em;
}

.dash-header-copy {
  display: grid;
  gap: 8px;
}

.dash-header-copy p,
.dash-header-note {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.dash-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dash-toolbar-spread {
  justify-content: space-between;
  align-items: stretch;
}

.dash-progress {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid rgba(146, 26, 64, .08);
}

.dash-progress-bar {
  width: 90px;
  height: 8px;
  background: var(--cream-dark);
  border-radius: 999px;
  overflow: hidden;
}

.dash-progress-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.dash-stack {
  display: grid;
  gap: 24px;
}

.dash-alert {
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.6;
}

.dash-alert-success {
  background: #e8f5e9;
  color: var(--green);
}

.dash-alert-error {
  background: #fce4ec;
  color: var(--red);
}

.dash-alert-info {
  background: #fff4dd;
  color: #7a4a00;
}

.dash-card-title {
  font-family: 'Playfair Display', serif;
  font-size: var(--heading-card);
  color: var(--text-dark);
  margin-bottom: 18px;
  line-height: 1.25;
}

.dash-main>.dash-main-wrap>.card,
.dash-main>.dash-main-wrap>.stat-card,
.dash-main>.dash-main-wrap>.match-card {
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, .88);
}

.dash-main>.dash-main-wrap>.card::before,
.dash-main>.dash-main-wrap>.stat-card::before,
.dash-main>.dash-main-wrap>.match-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .36), transparent 40%);
  pointer-events: none;
}

.dash-card-copy {
  color: var(--text-muted);
  line-height: 1.7;
}

.dash-list {
  display: grid;
  gap: 14px;
}

.dash-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cream-mid);
}

.dash-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.dash-row-label {
  font-size: 15px;
  color: var(--text-body);
}

.dash-row-value {
  text-align: right;
  color: var(--text-dark);
  font-weight: 600;
}

.dash-empty {
  padding: 56px 28px;
  text-align: center;
}

.dash-empty-mark {
  width: 78px;
  height: 78px;
  border-radius: 24px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(146, 26, 64, .12), rgba(196, 112, 126, .16));
  color: var(--rose);
  font-family: 'Playfair Display', serif;
  font-size: 28px;
}

.dash-filterbar {
  padding: 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.dash-stats-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
}

.dash-stats-grid-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.dash-card-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.dash-card-title-tight {
  margin-bottom: 0;
}

.dash-search-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dash-search-input {
  width: 240px;
  padding: 8px 14px;
  font-size: 14px;
}

.dash-table-strong {
  font-weight: 500;
  font-size: 16px;
}

.dash-table-muted,
.dash-date-cell {
  font-size: 14px;
  color: var(--text-muted);
}

.dash-date-cell {
  font-size: 12px;
}

.dash-arrow-cell {
  color: var(--peach);
  font-weight: 700;
}

.dash-rank-mini {
  width: 28px;
  height: 28px;
  display: inline-flex;
  font-size: 12px;
}

.dash-plan-name {
  color: var(--rose);
  font-weight: 600;
}

.dash-notice-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.dash-notice {
  padding: 12px 16px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 15px;
}

.dash-notice-copy {
  flex: 1;
}

.dash-notice-copy span {
  opacity: .84;
  margin-left: 6px;
}

.dash-notice-link {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  color: inherit;
  text-decoration: underline;
}

.dash-notice-action {
  margin: 0;
}

.dash-notice-warning {
  background: #fff4dd;
  border: 1px solid #f3d48b;
  color: #7a4a00;
}

.dash-notice-info {
  background: #e3f2fd;
  border: 1px solid #90caf9;
  color: #1565c0;
}

.dash-notice-success {
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #2D8B55;
}

.dash-notice-error {
  background: #fce4ec;
  border: 1px solid #f8bbd0;
  color: #c62828;
}

.dash-subscription-wall {
  padding: 28px 24px;
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(146, 26, 64, .96), rgba(110, 20, 50, .98));
  color: var(--cream);
  box-shadow: 0 24px 64px rgba(89, 29, 51, .18);
}

.dash-subscription-wall-mark {
  margin-bottom: 10px;
  font-size: 32px;
  font-family: 'Playfair Display', serif;
}

.dash-subscription-wall-title {
  color: var(--cream);
  margin-bottom: 8px;
}

.dash-subscription-wall-copy {
  max-width: 480px;
  margin: 0 auto;
  color: rgba(245, 237, 232, .84);
}

.dash-plan-grid {
  align-items: stretch;
}

.dash-plan-card {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.dash-plan-card-featured {
  border-width: 2px;
  border-color: var(--rose);
}

.dash-plan-card-current {
  opacity: .6;
}

.dash-plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--rose);
  color: #fff;
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.dash-plan-feature-list {
  list-style: none;
  text-align: left;
  margin: 20px 0 28px;
  display: grid;
  gap: 8px;
  flex: 1;
}

.dash-plan-feature-item {
  padding: 6px 0;
  display: flex;
  gap: 8px;
}

.dash-plan-feature-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--rose);
  flex-shrink: 0;
}

.dash-plan-feature-check svg {
  display: block;
}

.dash-plan-current {
  pointer-events: none;
}

.dash-plan-form {
  margin-top: auto;
}

.dash-plan-callout {
  margin-top: 24px;
  padding: 16px;
  background: var(--cream-mid);
  border-radius: 14px;
  text-align: center;
}

.dash-filterbar .form-input {
  flex: 1;
  min-width: 220px;
}

.dash-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.dash-media-card {
  text-align: center;
}

.dash-media-preview {
  margin: 0 auto 18px;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--cream-dark);
  overflow: hidden;
}

.dash-media-preview.round {
  width: 180px;
  height: 180px;
  border-radius: 50%;
}

.dash-media-preview.portrait {
  width: 180px;
  height: 240px;
  border-radius: 18px;
}

.dash-media-preview.video {
  width: 100%;
  height: 240px;
  border-radius: 18px;
}

.dash-media-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(146, 26, 64, .10), rgba(196, 112, 126, .14));
  border: 1px solid rgba(146, 26, 64, .08);
  color: var(--rose);
}

.dash-media-placeholder svg {
  width: 32px;
  height: 32px;
  display: block;
}

.dash-pill-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dash-key-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

.dash-key-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--cream-mid);
  font-size: 15px;
  line-height: 1.6;
}

.dash-key-item strong {
  color: var(--text-muted);
  font-weight: 500;
}

.dash-soft-panel {
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(245, 237, 232, .74));
  border-radius: 18px;
  border: 1px solid rgba(146, 26, 64, .08);
}

.dash-soft-panel-title {
  font-family: 'Playfair Display', serif;
  font-size: var(--heading-card);
  color: var(--text-dark);
  line-height: 1.25;
  margin: 0;
}

.dash-section-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  color: var(--text-dark);
  font-family: 'Playfair Display', serif;
  font-size: var(--heading-card);
  line-height: 1.3;
}

.dash-section-toggle::-webkit-details-marker {
  display: none;
}

.dash-section-toggle-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(146, 26, 64, .12), rgba(196, 112, 126, .14));
  border: 1px solid rgba(146, 26, 64, .10);
  color: var(--rose);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55);
}

.dash-section-toggle-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.dash-section-toggle-meta {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: .02em;
}

.dash-section-toggle-chevron {
  font-size: 20px;
  color: var(--text-muted);
  transition: transform .2s ease;
}

details[open]>.dash-section-toggle .dash-section-toggle-chevron {
  transform: rotate(180deg);
}

.dash-section-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: var(--heading-card);
  color: var(--text-dark);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--cream-dark);
  line-height: 1.3;
}

.dash-microcopy {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.dash-meta-label {
  font-size: 13px;
  color: var(--text-muted);
}

.dash-metric-value {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
}

.dash-plan-price {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--rose);
  line-height: 1;
  margin: 12px 0;
}

.dash-plan-price span {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
}

.dash-list-note {
  font-size: 13px;
  color: var(--text-muted);
}

.dash-link {
  color: var(--text-dark);
  text-decoration: none;
  transition: color .2s ease;
}

.dash-link:hover,
.dash-link:focus-visible {
  color: var(--rose);
}

.dash-danger-summary {
  cursor: pointer;
  color: var(--red);
  font-size: 16px;
  font-weight: 500;
}

.dash-note-list {
  display: grid;
  gap: 10px;
}

.dash-note-item {
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 12px;
  display: flex;
  gap: 12px;
}

.stat-card,
.card {
  border-color: rgba(146, 26, 64, .10);
  box-shadow: 0 18px 46px rgba(89, 29, 51, .04);
}

.stat-card {
  border-radius: 24px;
}

.card {
  border-radius: 24px;
}

/* ══ Full-bleed section system for inner pages ══ */
.brand-section-dark {
  padding: 80px 40px;
  background:
    radial-gradient(circle at top right, rgba(231, 200, 207, .14), transparent 28%),
    linear-gradient(180deg, rgba(146, 26, 64, .98), rgba(110, 20, 50, .98));
}

.brand-section-light {
  padding: 80px 40px;
  background:
    radial-gradient(circle at top left, rgba(146, 26, 64, .08), transparent 26%),
    linear-gradient(150deg, #fffdfc 0%, #faf1f3 48%, #f4e8e2 100%);
}

.brand-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.brand-inner.narrow {
  max-width: 980px;
}

.brand-section-dark .brand-section-head h2 {
  color: #fff;
}

.brand-section-dark .brand-section-head p {
  color: rgba(255, 255, 255, .68);
}

.brand-section-dark .brand-kicker {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .18);
  color: #E7C8CF;
}

.brand-section-dark .brand-kicker::before {
  background: #E7C8CF;
  box-shadow: 0 0 0 5px rgba(231, 200, 207, .15);
}

.brand-section-dark .brand-card,
.brand-section-dark .journey-card {
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .14);
  box-shadow: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.brand-section-dark .brand-card:hover,
.brand-section-dark .journey-card:hover {
  background: rgba(255, 255, 255, .15);
  box-shadow: none;
  transform: translateY(-3px);
}

.brand-section-dark .brand-card h2,
.brand-section-dark .brand-card h3,
.brand-section-dark .journey-card h2,
.brand-section-dark .journey-card h3,
.brand-section-dark .brand-card p,
.brand-section-dark .journey-card p,
.brand-section-dark .contact-info-list strong {
  color: #fff;
}

.brand-section-dark .brand-card p,
.brand-section-dark .journey-card p,
.brand-section-dark .contact-info-list p {
  color: rgba(255, 255, 255, .72);
}

.brand-section-dark .brand-icon {
  background: rgba(255, 255, 255, .15);
  color: #fff;
  border-color: rgba(255, 255, 255, .20);
}

.brand-section-dark .brand-metric strong {
  color: #F5EDE8;
  font-size: 38px;
}

.brand-cta-strip {
  padding: 72px 40px;
  background: linear-gradient(180deg, rgba(146, 26, 64, .97), rgba(110, 20, 50, .97));
  text-align: center;
}

.brand-cta-strip-inner {
  max-width: 680px;
  margin: 0 auto;
}

.brand-cta-strip h3 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}

.brand-cta-strip p {
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .70);
  font-size: 1.0625rem;
}

.brand-cta-strip .btn-cta-white {
  display: inline-block;
  background: #fff;
  color: #6E1432;
  font-weight: 800;
  font-size: 1rem;
  padding: 15px 40px;
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .2);
  transition: background .2s, transform .15s, box-shadow .2s;
  text-decoration: none;
}

.brand-cta-strip .btn-cta-white:hover {
  background: #F4E8E2;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .25);
}

.brand-cta-strip .btn-cta-white:active {
  transform: scale(.97);
}

.compat-page .brand-shell {
  padding-bottom: 56px;
}

.compat-score-mark {
  width: 132px;
  height: 132px;
  margin: 28px auto 0;
}

.compat-weight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.compat-weight-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  padding: 28px 30px;
  border-radius: 24px;
  border: 1px solid rgba(146, 26, 64, .10);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 18px 46px rgba(89, 29, 51, .04);
}

.compat-weight-card.dark {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .14);
  box-shadow: none;
}

.compat-weight-card.dark h3 {
  color: #fff;
}

.compat-weight-card.dark p {
  color: rgba(255, 255, 255, .72);
}

.compat-weight-badge {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.compat-weight-card.dark .compat-weight-badge {
  background: rgba(255, 255, 255, .12);
  color: #F2D7DE;
}

.compat-weight-card:not(.dark) .compat-weight-badge {
  background: rgba(146, 26, 64, .08);
  color: var(--rose);
}

.compat-weight-card h3 {
  margin-bottom: 8px;
}

.compat-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.compat-mini-card {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(146, 26, 64, .10);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 16px 40px rgba(89, 29, 51, .04);
}

.compat-mini-card strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--rose);
  line-height: 1;
  margin-bottom: 10px;
}

.compat-mini-card h3 {
  margin-bottom: 8px;
}

.not-found-card {
  width: 100%;
  max-width: 520px;
  padding: 48px;
}

.not-found-illustration {
  width: 200px;
  height: 160px;
  margin: 0 auto 24px;
}

.not-found-code {
  margin-bottom: 8px;
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  color: var(--rose);
  line-height: 1;
}

.not-found-copy {
  margin-bottom: 28px;
}

.not-found-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media(max-width:768px) {

  .brand-section-dark,
  .brand-section-light {
    padding: 60px 20px;
  }

  .brand-cta-strip {
    padding: 56px 20px;
  }

  .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .compat-weight-grid,
  .compat-mini-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width:1024px) {

  .brand-hero,
  .blog-featured-grid,
  .brand-grid-2,
  .contact-grid-brand,
  .auth-grid,
  .content-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .brand-grid-3,
  .brand-grid-4,
  .blog-grid,
  .journal-grid-brand {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-media {
    min-height: 340px;
  }
}

@media(max-width:768px) {

  .brand-shell,
  .blog-shell,
  .blog-article-shell {
    padding: 42px 20px 78px;
  }

  .brand-grid-3,
  .brand-grid-4,
  .blog-grid,
  .journal-grid-brand {
    grid-template-columns: 1fr;
  }

  .brand-title {
    font-size: clamp(34px, 10vw, 48px);
  }

  .brand-card,
  .contact-panel,
  .journey-card,
  .blog-inline-cta,
  .auth-form,
  .auth-visual {
    padding: 24px;
  }

  .blog-article-inner,
  .blog-featured-copy {
    padding: 24px;
  }

  .blog-article-hero {
    height: 260px;
  }

  .dash-main {
    padding: 20px;
  }

  .dash-stats-grid-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dash-user-badge {
    justify-content: space-between;
  }

  .dash-row {
    flex-direction: column;
  }

  .dash-row-value {
    text-align: left;
  }

  .dash-media-grid {
    grid-template-columns: 1fr;
  }

  .dash-key-grid {
    grid-template-columns: 1fr;
  }

  .dash-card-toolbar,
  .dash-notice,
  .cookie-banner-inner {
    align-items: flex-start;
  }

  .dash-search-input {
    width: 100%;
  }

  .not-found-card {
    padding: 32px 24px;
  }
}