:root {
    --color-plum: #5b3a66;
    --color-plum-dark: #472c51;
    --color-blush: #d8b4b6;
    --color-dusty-rose: #e7cbcd;
    --color-cream: #f7f1ea;
    --color-ivory: #fff9f5;
    --color-mauve: #b68cb8;
    --color-mauve-light: #d9c4da;
    --color-charcoal: #2f2a2e;
    --color-grey: #6e6268;
    --color-border: #e6dad3;
    --color-sage: #93a68c;
    --color-gold: #c9a96b;
    --shadow-xs: 0 8px 20px rgba(71, 44, 81, 0.05);
    --shadow-sm: 0 14px 32px rgba(71, 44, 81, 0.08);
    --shadow-md: 0 24px 54px rgba(71, 44, 81, 0.12);
    --shadow-lg: 0 36px 90px rgba(71, 44, 81, 0.16);
    --radius-sm: 16px;
    --radius-md: 22px;
    --radius-lg: 30px;
    --radius-pill: 999px;
    --space-1: 0.4rem;
    --space-2: 0.75rem;
    --space-3: 1rem;
    --space-4: 1.25rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 2.75rem;
    --space-8: 3.5rem;
    --space-9: 5rem;
    --content-width: min(1180px, calc(100% - 32px));
    --content-narrow: min(760px, calc(100% - 32px));
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--color-charcoal);
    background:
        radial-gradient(circle at top left, rgba(231, 203, 205, 0.45), transparent 30%),
        radial-gradient(circle at top right, rgba(217, 196, 218, 0.38), transparent 32%),
        linear-gradient(180deg, var(--color-cream) 0%, var(--color-ivory) 100%);
    overflow-x: hidden;
}

[hidden] {
    display: none !important;
}

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

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

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

.shell {
    width: var(--content-width);
    margin: 0 auto;
}

.narrow {
    width: var(--content-narrow);
    margin: 0 auto;
}

.section {
    padding: var(--space-9) 0;
}

.section-tight {
    padding: var(--space-8) 0;
}

.section-heading {
    max-width: 42rem;
    margin-bottom: var(--space-7);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 var(--space-3);
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-pill);
    background: rgba(182, 140, 184, 0.14);
    color: var(--color-plum-dark);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    font-weight: 700;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: var(--color-plum-dark);
}

h1 {
    font-size: clamp(2.2rem, 4.4vw, 4rem);
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.55rem);
}

p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-grey);
}

.lead {
    font-size: 1.12rem;
    line-height: 1.8;
}

.muted {
    color: var(--color-grey);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(22px);
    background: rgba(247, 241, 234, 0.85);
    border-bottom: 1px solid rgba(230, 218, 211, 0.8);
    box-shadow: 0 10px 28px rgba(71, 44, 81, 0.04);
}

.header-row {
    display: grid;
    grid-template-columns: minmax(150px, 220px) minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    min-height: 80px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--color-plum);
}

.brand::before {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--color-blush), var(--color-mauve));
    box-shadow: 0 0 0 8px rgba(216, 180, 182, 0.18);
}

.top-nav {
    justify-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 0;
    padding: 0.35rem;
    border: 1px solid rgba(230, 218, 211, 0.8);
    border-radius: var(--radius-pill);
    background: rgba(255, 249, 245, 0.84);
    box-shadow: var(--shadow-xs);
}

.top-nav a,
.top-nav button {
    padding: 0.74rem 0.95rem;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-grey);
    white-space: nowrap;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.top-nav a:hover,
.top-nav button:hover {
    color: var(--color-plum-dark);
    background: rgba(216, 180, 182, 0.2);
}

.top-nav a.active {
    color: var(--color-plum-dark);
    background: rgba(216, 180, 182, 0.32);
    box-shadow: inset 0 0 0 1px rgba(182, 140, 184, 0.22);
}

.inline-form {
    display: inline-flex;
    margin: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 0.7rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0 1.15rem;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--color-plum);
    color: var(--color-ivory);
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.2s ease;
}

.button:hover {
    background: var(--color-plum-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.button-secondary {
    background: rgba(216, 180, 182, 0.8);
    color: var(--color-charcoal);
}

.button-ghost {
    background: rgba(255, 249, 245, 0.8);
    color: var(--color-plum-dark);
    border: 1px solid rgba(230, 218, 211, 0.95);
    box-shadow: none;
}

.button-ghost:hover {
    background: rgba(216, 180, 182, 0.24);
}

.hero {
    padding: var(--space-8) 0 var(--space-9);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
    gap: var(--space-7);
    align-items: center;
}

.hero-copy {
    max-width: 42rem;
    margin-top: var(--space-4);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: var(--space-6);
}

.hero-points,
.tag-row,
.tab-row,
.plain-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.hero-points {
    margin-top: var(--space-6);
}

.tag-row,
.chip-row,
.plain-list,
.mini-profile-list,
.message-thread,
.profile-gallery {
    margin-top: 1rem;
}

.tag,
.hero-points li,
.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.7rem 0.95rem;
    border-radius: var(--radius-pill);
    background: rgba(182, 140, 184, 0.13);
    color: var(--color-plum-dark);
    font-size: 0.86rem;
    font-weight: 700;
}

.hero-visual {
    position: relative;
    min-height: 640px;
}

.hero-surface {
    position: absolute;
    inset: 6% 3% auto auto;
    width: min(540px, 100%);
    min-height: 540px;
    border-radius: 38px;
    background:
        linear-gradient(180deg, rgba(255, 249, 245, 0.96), rgba(247, 241, 234, 0.9));
    border: 1px solid rgba(230, 218, 211, 0.92);
    box-shadow: var(--shadow-lg);
}

.hero-profile-grid {
    position: absolute;
    inset: 0;
    display: grid;
    align-content: center;
    justify-items: end;
    gap: 1rem;
}

.floating {
    width: min(360px, 100%);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating:nth-child(1) {
    transform: translate(-55px, 34px) rotate(-6deg);
}

.floating:nth-child(2) {
    transform: translate(8px, 0) rotate(3deg);
}

.floating:nth-child(3) {
    transform: translate(-40px, -26px) rotate(-2deg);
}

.floating:hover {
    transform: translateY(-4px) rotate(0deg);
}

.grid-2,
.grid-3,
.grid-4,
.feature-grid,
.pricing-grid,
.profile-grid,
.stats-grid,
.dashboard-grid,
.two-col,
.footer-grid,
.support-grid,
.discover-layout,
.message-layout {
    display: grid;
    gap: var(--space-5);
}

.grid-2,
.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

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

.dashboard-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
}

.discover-layout {
    grid-template-columns: 320px minmax(0, 1fr);
    align-items: start;
}

.message-layout {
    grid-template-columns: 360px minmax(0, 1fr);
    align-items: start;
}

.card,
.feature-card,
.profile-card,
.panel,
.stat-card,
.pricing-card,
.message-card,
.info-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 249, 245, 0.94);
    border: 1px solid rgba(230, 218, 211, 0.94);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.card::before,
.feature-card::before,
.profile-card::before,
.panel::before,
.stat-card::before,
.pricing-card::before,
.message-card::before,
.info-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(182, 140, 184, 0.5), transparent);
}

.feature-card,
.panel,
.stat-card,
.pricing-card,
.info-card {
    padding: var(--space-6);
}

.profile-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(182, 140, 184, 0.35);
}

.profile-card:hover .media-slide.is-active img,
.profile-hero-gallery:hover .media-slide.is-active img,
.saved-profile-card:hover img,
.liked-row:hover img {
    transform: scale(1.03);
}

.profile-card img,
.media-top {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.35s ease;
}

.profile-card-body {
    display: grid;
    gap: 0.9rem;
    padding: var(--space-5);
}

.compact-card-body {
    gap: 0.75rem;
    padding: 1rem;
}

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

.profile-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.profile-location {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-grey);
    font-size: 0.92rem;
}

.profile-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.35rem;
}

.compact-profile-actions .button {
    min-height: 42px;
}

.stat-card {
    min-height: 160px;
}

.stat-card strong {
    display: block;
    margin-bottom: 0.65rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.4rem;
    color: var(--color-plum);
}

.mini-profile-list {
    display: grid;
    gap: 1rem;
}

.mini-profile {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 0.9rem;
    border-radius: var(--radius-md);
    background: rgba(247, 241, 234, 0.72);
    border: 1px solid rgba(230, 218, 211, 0.9);
}

.mini-profile img {
    width: 84px;
    height: 84px;
    border-radius: 24px;
    object-fit: cover;
}

.stacked-list {
    display: grid;
    gap: 1rem;
}

.plain-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding-bottom: 0.9rem;
    border-bottom: 1px dashed rgba(230, 218, 211, 0.9);
}

.plain-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.surface-stack {
    display: grid;
    gap: var(--space-5);
}

.discover-content {
    display: grid;
    gap: var(--space-5);
}

.discover-chip-row {
    margin-bottom: 1.5rem;
}

.filter-panel {
    position: sticky;
    top: 108px;
}

.filter-group {
    display: grid;
    gap: 1rem;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.chip.active,
.tab.active {
    background: var(--color-plum);
    color: var(--color-ivory);
    box-shadow: var(--shadow-sm);
}

.tab-row {
    margin-bottom: var(--space-5);
}

.tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 1rem;
    border-radius: var(--radius-pill);
    background: rgba(216, 180, 182, 0.28);
    color: var(--color-plum-dark);
    font-weight: 700;
    border: 0;
    cursor: pointer;
}

.form-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.72fr);
    gap: var(--space-6);
    align-items: start;
}

.form-card {
    padding: var(--space-7);
}

.form-stack {
    display: grid;
    gap: 1.1rem;
    margin-top: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

label {
    display: grid;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-charcoal);
}

.field-hint {
    font-size: 0.85rem;
    color: var(--color-grey);
}

input,
select,
textarea {
    width: 100%;
    min-height: 54px;
    border: 1px solid rgba(230, 218, 211, 0.95);
    border-radius: 18px;
    padding: 0.95rem 1rem;
    background: rgba(255, 249, 245, 0.96);
    color: var(--color-charcoal);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(182, 140, 184, 0.7);
    box-shadow: 0 0 0 4px rgba(182, 140, 184, 0.18);
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-row input {
    width: auto;
    min-height: auto;
}

.notice {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    border: 1px solid rgba(230, 218, 211, 0.95);
    margin-top: 1.25rem;
}

.notice-error {
    background: rgba(163, 93, 106, 0.12);
}

.message-card {
    padding: 1rem;
}

.message-layout > .panel,
.message-layout > .message-card {
    min-height: 100%;
}

.message-thread {
    display: grid;
    gap: 1rem;
}

.bubble {
    max-width: 75%;
    padding: 1rem 1.1rem;
    border-radius: 24px;
    background: rgba(247, 241, 234, 0.92);
    color: var(--color-charcoal);
    box-shadow: var(--shadow-xs);
}

.bubble.me {
    margin-left: auto;
    background: rgba(216, 180, 182, 0.35);
}

.bubble.is-pending {
    opacity: 0.68;
}

.profile-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.7fr);
    gap: var(--space-6);
    align-items: start;
}

.profile-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.gallery-card {
    overflow: hidden;
    min-height: 240px;
    border-radius: var(--radius-lg);
    background: rgba(255, 249, 245, 0.94);
    border: 1px solid rgba(230, 218, 211, 0.94);
    box-shadow: var(--shadow-sm);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
}

.gallery-card-large {
    grid-column: span 2;
    min-height: 440px;
}

.gallery-card-large img {
    min-height: 440px;
}

.sticky-card {
    position: sticky;
    top: 108px;
}

.compact-form {
    margin-top: 1.25rem;
}

.photo-manager-card {
    display: grid;
    gap: 1rem;
}

.photo-manager-list {
    display: grid;
    gap: 1rem;
}

.photo-manager-item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 249, 245, 0.92);
    border: 1px solid rgba(230, 218, 211, 0.94);
}

.photo-manager-item img {
    width: 92px;
    height: 92px;
    border-radius: 22px;
    object-fit: cover;
}

.photo-actions {
    flex-wrap: wrap;
}

.profile-summary-card {
    display: grid;
    gap: 1.1rem;
}

.profile-stat-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.profile-stat {
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(247, 241, 234, 0.82);
    border: 1px solid rgba(230, 218, 211, 0.92);
}

.profile-stat strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
    color: var(--color-plum-dark);
}

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

.muted-card {
    background: rgba(247, 241, 234, 0.78);
}

.empty-state {
    display: grid;
    gap: 1rem;
    justify-items: start;
    padding: var(--space-7);
}

.footer-grid a {
    display: block;
    margin-top: 0.65rem;
}

.table-shell {
    overflow: auto;
    border-radius: var(--radius-lg);
    background: rgba(255, 249, 245, 0.94);
    border: 1px solid rgba(230, 218, 211, 0.96);
    box-shadow: var(--shadow-sm);
}

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

th,
td {
    padding: 1rem 1.1rem;
    text-align: left;
    border-bottom: 1px solid rgba(230, 218, 211, 0.9);
}

th {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-grey);
}

.pricing-card {
    display: grid;
    gap: 1rem;
    min-height: 100%;
}

.pricing-price {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.5rem;
    color: var(--color-plum-dark);
}

.accent {
    background:
        linear-gradient(180deg, rgba(255, 249, 245, 0.98), rgba(231, 203, 205, 0.32));
}

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

.split-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    gap: var(--space-7);
    align-items: center;
}

.quote-card {
    display: grid;
    gap: 1rem;
    padding: var(--space-6);
}

.quote-card strong {
    color: var(--color-plum);
}

.site-footer {
    margin-top: var(--space-7);
    padding: var(--space-6) 0;
    background: var(--color-plum-dark);
    color: var(--color-ivory);
}

.footer-grid {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: start;
}

.site-footer h3,
.site-footer p,
.site-footer a {
    color: var(--color-ivory);
}

.mobile-bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 60;
    display: none;
    width: min(calc(100% - 24px), 540px);
    padding: 0.6rem;
    border-radius: 28px;
    background: rgba(255, 249, 245, 0.94);
    border: 1px solid rgba(230, 218, 211, 0.95);
    box-shadow: var(--shadow-md);
}

.mobile-bottom-nav nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.4rem;
}

.mobile-bottom-nav a {
    display: grid;
    justify-items: center;
    gap: 0.3rem;
    padding: 0.7rem 0.35rem;
    border-radius: 18px;
    color: var(--color-grey);
    font-size: 0.8rem;
    font-weight: 700;
}

.mobile-bottom-nav a.active {
    background: rgba(216, 180, 182, 0.32);
    color: var(--color-plum-dark);
}

@media (max-width: 1024px) {
    .hero-grid,
    .split-hero,
    .discover-layout,
    .message-layout,
    .profile-detail-layout,
    .dashboard-grid,
    .form-shell,
    .grid-4,
    .grid-3,
    .grid-2,
    .feature-grid,
    .pricing-grid,
    .stats-grid,
    .two-col,
    .support-grid,
    .notifications-layout,
    .admin-subscription-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .profile-grid,
    .settings-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-plan-category-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 520px;
    }

    .filter-panel {
        position: static;
    }

    .sticky-card {
        position: static;
    }
}

@media (max-width: 820px) {
    .header-row {
        grid-template-columns: 1fr auto;
        min-height: 74px;
    }

    .top-nav {
        display: none;
    }

    .hero {
        padding-top: var(--space-7);
    }

    .hero-visual {
        min-height: 440px;
    }

    .hero-surface {
        inset: 5% 0 auto 0;
        width: 100%;
    }

    .hero-profile-grid {
        justify-items: center;
    }

    .floating {
        width: min(310px, 88%);
    }

    .floating:nth-child(1),
    .floating:nth-child(2),
    .floating:nth-child(3) {
        transform: none;
    }

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

    .utility-heading h1 {
        max-width: none;
        font-size: clamp(1.95rem, 9vw, 3rem);
    }

    .profile-gallery,
    .settings-grid,
    .profile-stat-strip,
    .photo-manager-item {
        grid-template-columns: 1fr;
    }

    .gallery-card-large {
        grid-column: span 1;
    }

    .gallery-card,
    .gallery-card img,
    .gallery-card-large,
    .gallery-card-large img {
        min-height: 260px;
    }

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

    .mobile-bottom-nav {
        display: block;
    }

    body {
        padding-bottom: 110px;
    }
}

.brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.brand small {
    font-family: "Segoe UI", ui-sans-serif, system-ui, sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-grey);
}

.nav-toggle {
    display: none;
    min-height: 48px;
    padding: 0 1rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(230, 218, 211, 0.95);
    background: rgba(255, 249, 245, 0.94);
    color: var(--color-plum-dark);
    font-weight: 700;
}

.nav-badge,
.header-icon-dot {
    display: inline-flex;
    min-width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    background: var(--color-blush);
    color: var(--color-plum-dark);
    font-size: 0.72rem;
    font-weight: 800;
}

.nav-badge:empty,
.header-icon-dot:empty {
    display: none;
}

.header-icon-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0 0.95rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(230, 218, 211, 0.95);
    background: rgba(255, 249, 245, 0.9);
    box-shadow: var(--shadow-xs);
}

.header-icon-dot {
    position: absolute;
    top: -6px;
    right: -6px;
}

.account-menu {
    position: relative;
}

.account-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    min-height: 52px;
    min-width: 176px;
    padding: 0.45rem 0.55rem 0.45rem 0.45rem;
    border: 1px solid rgba(230, 218, 211, 0.95);
    border-radius: var(--radius-pill);
    background: rgba(255, 249, 245, 0.94);
    box-shadow: var(--shadow-xs);
}

.account-trigger img,
.chat-header-profile img {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    object-fit: cover;
}

.account-trigger-copy {
    display: grid;
    text-align: left;
}

.account-trigger-copy small {
    color: var(--color-grey);
}

.account-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 70;
    display: none;
    min-width: 220px;
    padding: 0.8rem;
    border-radius: 24px;
    border: 1px solid rgba(230, 218, 211, 0.96);
    background: rgba(255, 249, 245, 0.98);
    box-shadow: var(--shadow-md);
}

.account-dropdown.is-open {
    display: grid;
    gap: 0.35rem;
}

.account-dropdown a,
.menu-form button {
    display: flex;
    width: 100%;
    padding: 0.9rem 1rem;
    border: 0;
    border-radius: 18px;
    background: transparent;
    color: var(--color-charcoal);
    text-align: left;
}

.account-dropdown a:hover,
.menu-form button:hover {
    background: rgba(216, 180, 182, 0.18);
}

.notification-dropdown {
    min-width: 320px;
}

.notification-dropdown-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0.65rem 0.8rem;
}

.notification-dropdown-item {
    display: grid;
    gap: 0.35rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
}

.notification-dropdown-item span {
    color: var(--color-grey);
    font-size: 0.92rem;
    line-height: 1.5;
}

.notification-dropdown-item:hover {
    background: rgba(216, 180, 182, 0.14);
}

.menu-form {
    margin: 0;
}

.hero-product {
    padding-top: var(--space-9);
}

.hero-grid-product {
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
}

.hero-copy-stack {
    display: grid;
    gap: var(--space-5);
    min-width: 0;
    max-width: 100%;
}

.hero-copy-stack > * {
    min-width: 0;
    max-width: 100%;
}

.stats-ribbon {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    min-width: 0;
}

.mini-stat {
    padding: 1rem 1.1rem;
    border-radius: 22px;
    border: 1px solid rgba(230, 218, 211, 0.95);
    background: rgba(255, 249, 245, 0.86);
    box-shadow: var(--shadow-xs);
}

.mini-stat strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.7rem;
    color: var(--color-plum-dark);
    overflow-wrap: anywhere;
}

.chip-scroller,
.saved-search-pills {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: none;
}

.chip-scroller::-webkit-scrollbar,
.saved-search-pills::-webkit-scrollbar,
.horizontal-slider-track::-webkit-scrollbar {
    display: none;
}

.hero-product-panel {
    display: grid;
    gap: 1rem;
}

.hero-art-board {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    padding: 1rem;
    border-radius: 36px;
    border: 1px solid rgba(230, 218, 211, 0.96);
    background: linear-gradient(180deg, rgba(255, 249, 245, 0.98), rgba(247, 241, 234, 0.9));
    box-shadow: var(--shadow-lg);
}

.hero-art-layer {
    position: absolute;
    border-radius: 999px;
    filter: blur(2px);
}

.hero-art-layer-one {
    top: 40px;
    right: 60px;
    width: 180px;
    height: 180px;
    background: rgba(216, 180, 182, 0.55);
}

.hero-art-layer-two {
    left: 36px;
    bottom: 48px;
    width: 210px;
    height: 210px;
    background: rgba(182, 140, 184, 0.22);
}

.hero-art-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
    margin-top: 1rem;
}

.hero-signal-panel,
.hero-mini-profile-card,
.hero-stat-card {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 28px;
    background: rgba(255, 249, 245, 0.92);
    border: 1px solid rgba(230, 218, 211, 0.96);
    box-shadow: var(--shadow-sm);
}

.hero-signal-bars {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: end;
    gap: 0.65rem;
    min-height: 128px;
}

.hero-signal-bars span {
    display: block;
    border-radius: 18px 18px 12px 12px;
    background: linear-gradient(180deg, rgba(216, 180, 182, 0.9), rgba(91, 58, 102, 0.88));
}

.hero-signal-bars span:nth-child(1) { height: 64px; }
.hero-signal-bars span:nth-child(2) { height: 108px; }
.hero-signal-bars span:nth-child(3) { height: 82px; }
.hero-signal-bars span:nth-child(4) { height: 122px; }

.hero-mini-profile-card {
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
}

.hero-mini-profile-card img {
    width: 72px;
    height: 92px;
    border-radius: 20px;
    object-fit: cover;
}

.hero-mini-profile-card-alt {
    transform: translateY(22px);
}

.hero-stat-card {
    grid-column: span 2;
}

.hero-compact-insights {
    display: grid;
    gap: 0.85rem;
}

.hero-app-card {
    padding: 1rem;
    border-radius: 36px;
    border: 1px solid rgba(230, 218, 211, 0.96);
    background: linear-gradient(180deg, rgba(255, 249, 245, 0.98), rgba(247, 241, 234, 0.86));
    box-shadow: var(--shadow-lg);
}

.hero-app-topbar {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
    color: var(--color-grey);
}

.window-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(182, 140, 184, 0.45);
}

.carousel-shell,
.horizontal-slider {
    overflow: hidden;
}

.carousel-track,
.horizontal-slider-track {
    display: flex;
    gap: 1rem;
}

.carousel-slide {
    min-width: 100%;
}

.slider-card {
    min-width: min(360px, 84vw);
}

.compact-slider-card {
    min-width: min(300px, 72vw);
}

.profile-card-rich {
    overflow: hidden;
}

.profile-media-carousel {
    position: relative;
    overflow: hidden;
    min-height: 340px;
    background: rgba(247, 241, 234, 0.88);
}

.profile-card-rich .profile-media-carousel {
    min-height: 300px;
}

.profile-card-hero .profile-media-carousel {
    min-height: 360px;
}

.profile-page-carousel {
    min-height: 360px;
    border-radius: 34px;
}

.media-slide {
    position: relative;
    display: none;
    min-height: inherit;
}

.media-slide.is-active {
    display: block;
}

.media-slide img {
    width: 100%;
    min-height: inherit;
    height: 100%;
    object-fit: cover;
}

.media-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(47, 42, 46, 0.06), rgba(47, 42, 46, 0.58));
}

.media-overlay,
.profile-hero-overlay {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem;
    color: var(--color-ivory);
}

.profile-hero-overlay h1,
.profile-hero-overlay p {
    color: var(--color-ivory);
}

.overlay-plan,
.overlay-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 0.8rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 249, 245, 0.18);
    backdrop-filter: blur(10px);
    color: var(--color-ivory);
    font-size: 0.78rem;
    font-weight: 700;
}

.profile-overlay-meta {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.6rem;
    z-index: 2;
}

.overlay-like {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 3;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 249, 245, 0.94);
    color: var(--color-plum-dark);
    box-shadow: var(--shadow-sm);
}

.overlay-actions,
.slider-controls {
    display: flex;
    gap: 0.65rem;
}

.overlay-actions-card {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 2;
}

.media-control,
.slider-button,
.icon-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 0.9rem;
    border: 1px solid rgba(230, 218, 211, 0.95);
    border-radius: var(--radius-pill);
    background: rgba(255, 249, 245, 0.92);
    color: var(--color-plum-dark);
    font-weight: 700;
    box-shadow: var(--shadow-xs);
}

.gallery-dots {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    display: flex;
    gap: 0.45rem;
    z-index: 3;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 249, 245, 0.4);
}

.gallery-dot.is-active,
.thumbnail-chip.is-active {
    background: var(--color-ivory);
    box-shadow: 0 0 0 2px rgba(91, 58, 102, 0.2);
}

.floating-insight-row,
.pricing-mini-stack,
.accordion-stack {
    display: grid;
    gap: 1rem;
}

.featured-showcase,
.compact-home-grid {
    display: grid;
    gap: 1rem;
}

.featured-showcase {
    grid-template-columns: minmax(260px, 0.48fr) minmax(0, 1fr);
    align-items: start;
}

.featured-showcase,
.featured-showcase > *,
.featured-slider-heading,
.horizontal-slider {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.featured-intro-card {
    position: sticky;
    top: 106px;
}

.featured-slider-heading {
    margin-bottom: 1rem;
}

.compact-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compact-home-panel {
    display: grid;
    gap: 1rem;
}

.compact-trust-grid,
.compact-pricing-mini-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.floating-insight-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.floating-insight-card,
.benefit-tile,
.process-card,
.trust-tile,
.pricing-mini-card,
.fact-tile {
    padding: 1.15rem;
    border-radius: 24px;
    border: 1px solid rgba(230, 218, 211, 0.94);
    background: rgba(255, 249, 245, 0.92);
    box-shadow: var(--shadow-xs);
}

.section-heading-inline {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.horizontal-slider-track {
    overflow-x: auto;
    padding-bottom: 0.5rem;
    min-width: 100%;
}

.process-grid,
.benefit-tile-grid,
.trust-card-grid,
.fact-grid {
    display: grid;
    gap: 1rem;
}

.process-grid,
.benefit-tile-grid,
.trust-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compact-process-grid {
    grid-template-columns: 1fr;
}

.process-step,
.feature-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(216, 180, 182, 0.28);
    color: var(--color-plum-dark);
    font-weight: 800;
}

.interactive-feature-card {
    display: grid;
    gap: 1rem;
    padding: var(--space-6);
    border-radius: 30px;
    border: 1px solid rgba(230, 218, 211, 0.94);
    background: rgba(255, 249, 245, 0.92);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.interactive-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.app-section-grid {
    align-items: start;
}

.trust-board,
.premium-board,
.final-cta-panel,
.auth-card,
.auth-showcase,
.inbox-panel,
.chat-panel {
    padding: var(--space-6);
}

.final-cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-radius: 34px;
    border: 1px solid rgba(230, 218, 211, 0.96);
    background: rgba(255, 249, 245, 0.94);
    box-shadow: var(--shadow-md);
}

.discover-app-layout {
    grid-template-columns: 320px minmax(0, 1fr);
}

.discover-top-actions {
    display: grid;
    gap: 1rem;
    justify-items: end;
}

.discover-toolbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.discover-sort-select {
    min-height: 42px;
    width: auto;
    min-width: 190px;
}

.filter-chip-row {
    justify-content: flex-end;
}

.discover-sidebar {
    padding: var(--space-6);
}

.segmented-control {
    display: inline-grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
    padding: 0.45rem;
    border-radius: 24px;
    background: rgba(247, 241, 234, 0.86);
    border: 1px solid rgba(230, 218, 211, 0.92);
}

.compact-segments {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.segment {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 1rem;
    border-radius: 18px;
    border: 0;
    background: transparent;
    color: var(--color-grey);
    font-weight: 700;
}

.segment input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.segment.is-active,
.segment:has(input:checked) {
    background: var(--color-plum);
    color: var(--color-ivory);
    box-shadow: var(--shadow-xs);
}

.profile-grid-rich {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.drawer-backdrop,
.lightbox-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    background: rgba(47, 42, 46, 0.42);
    backdrop-filter: blur(10px);
}

.drawer-backdrop.is-open,
.lightbox-backdrop.is-open {
    display: grid;
}

.drawer-panel,
.lightbox-panel {
    width: min(94vw, 540px);
    max-height: min(88vh, 760px);
    overflow: auto;
    padding: var(--space-6);
    border-radius: 30px;
    border: 1px solid rgba(230, 218, 211, 0.94);
    background: rgba(255, 249, 245, 0.98);
    box-shadow: var(--shadow-lg);
}

.lightbox-panel {
    width: min(94vw, 920px);
}

.lightbox-panel img {
    width: 100%;
    max-height: 76vh;
    object-fit: contain;
    border-radius: 26px;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.has-overlay-open {
    overflow: hidden;
}

.profile-hero,
.profile-compact-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.55fr);
    gap: var(--space-6);
    align-items: start;
}

.profile-page-carousel-compact {
    min-height: 300px;
}

.compact-profile-summary {
    display: grid;
    gap: 1rem;
    padding: 1.4rem;
}

.compact-profile-head {
    display: grid;
    gap: 0.6rem;
}

.compact-profile-head h1 {
    font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.compact-summary-line {
    font-size: 0.98rem;
    line-height: 1.5;
}

.profile-compact-badge-row {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    display: flex;
    gap: 0.6rem;
}

.thumbnail-strip {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    margin-top: 1rem;
}

.thumbnail-chip {
    width: 82px;
    height: 82px;
    padding: 0;
    border: 0;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255, 249, 245, 0.92);
}

.thumbnail-chip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-frame-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.gallery-frame-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.gallery-rail-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    margin-top: 1rem;
}

.gallery-rail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-end;
}

.sticky-profile-actions {
    position: sticky;
    top: 106px;
}

.sticky-action-stack {
    display: grid;
    gap: 0.8rem;
}

.tabs-shell {
    display: grid;
    gap: 1.25rem;
}

.tab-panel {
    display: none;
}

.tab-panel.is-active {
    display: block;
}

.accordion-card {
    overflow: hidden;
}

.accordion-trigger {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.2rem;
    border: 0;
    background: transparent;
    color: var(--color-plum-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
}

.accordion-panel {
    display: none;
    padding: 0 1.2rem 1.2rem;
}

.accordion-panel.is-open {
    display: block;
}

.tag-status {
    background: rgba(147, 166, 140, 0.2);
    color: var(--color-charcoal);
}

.notifications-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
    gap: var(--space-6);
}

.notification-card {
    display: grid;
    gap: 0.9rem;
}

.notification-card-compact {
    min-height: 0;
    align-content: start;
}

.notification-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.notification-card-messages {
    border-color: rgba(182, 140, 184, 0.26);
}

.notification-card-planner {
    border-color: rgba(147, 166, 140, 0.35);
}

.notification-card-privacy {
    border-color: rgba(201, 169, 107, 0.35);
}

.utility-page .section-heading {
    margin-bottom: var(--space-5);
}

.utility-heading {
    align-items: end;
}

.utility-heading h1 {
    max-width: 14ch;
    font-size: clamp(2.2rem, 4vw, 3.75rem);
    line-height: 0.94;
}

.utility-heading .lead {
    max-width: 36rem;
    font-size: 1rem;
    line-height: 1.6;
}

.admin-subscription-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
    gap: var(--space-6);
}

.admin-plan-builder {
    gap: 1.2rem;
}

.subscription-category-stack {
    gap: 1rem;
}

.admin-plan-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.header-icon-button-alerts {
    position: relative;
}

.message-empty-suggestions {
    margin-top: 1rem;
}

.bubble-locked {
    background: rgba(255, 249, 245, 0.88);
    border: 1px dashed rgba(182, 140, 184, 0.45);
    color: var(--color-grey);
}

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

.compact-grid {
    gap: 1rem;
}

.detail-card {
    padding: 1.1rem;
    border-radius: 24px;
    background: rgba(247, 241, 234, 0.72);
    border: 1px solid rgba(230, 218, 211, 0.94);
}

.profile-inline-summary {
    display: grid;
    gap: 1.25rem;
}

.profile-inline-summary-copy {
    display: grid;
    gap: 0.8rem;
}

.fact-tile span {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--color-grey);
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.fact-tile strong {
    color: var(--color-plum-dark);
}

.message-app-layout {
    grid-template-columns: 360px minmax(0, 1fr);
}

.inbox-toolbar,
.thread-topline,
.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.mini-profile-thread {
    position: relative;
    cursor: pointer;
}

.mini-profile-thread.is-active {
    background: rgba(216, 180, 182, 0.22);
    border-color: rgba(182, 140, 184, 0.34);
}

.thread-panel {
    display: none;
}

.thread-panel.is-active {
    display: block;
}

.thread-topline span,
.thread-meta {
    color: var(--color-grey);
    font-size: 0.86rem;
}

.thread-meta {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-sage);
}

.chat-thread {
    min-height: 360px;
    max-height: 520px;
    padding: 1.5rem 0;
    overflow-y: auto;
}

.chat-composer {
    display: grid;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(230, 218, 211, 0.94);
}

.composer-tools,
.auth-card-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.chat-input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
}

.mobile-action-bar {
    position: sticky;
    bottom: 88px;
    z-index: 58;
    display: none;
    width: min(var(--content-width), calc(100% - 24px));
    margin: 0 auto;
    padding: 0.7rem;
    border-radius: 28px;
    border: 1px solid rgba(230, 218, 211, 0.95);
    background: rgba(255, 249, 245, 0.96);
    box-shadow: var(--shadow-md);
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.92fr);
    gap: var(--space-6);
    align-items: stretch;
}

.auth-showcase,
.auth-card {
    border-radius: 34px;
    border: 1px solid rgba(230, 218, 211, 0.95);
    background: rgba(255, 249, 245, 0.95);
    box-shadow: var(--shadow-md);
}

.auth-showcase {
    display: grid;
    gap: 1.5rem;
    background: linear-gradient(180deg, rgba(255, 249, 245, 0.98), rgba(231, 203, 205, 0.2));
}

.auth-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.auth-demo-card {
    display: grid;
    gap: 0.4rem;
}

.pricing-grid-rich {
    align-items: stretch;
}

.pricing-card-rich {
    gap: 1.25rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card-rich:hover,
.pricing-card-rich.is-featured {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
    gap: var(--space-6);
    padding: var(--space-6);
}

.dashboard-hero-copy,
.dashboard-hero-rail,
.timeline-stack {
    display: grid;
    gap: 1rem;
}

.dashboard-hero-rail {
    align-content: start;
}

.dashboard-grid-rich {
    margin-top: 0;
}

.timeline-card {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255, 249, 245, 0.92);
    border: 1px solid rgba(230, 218, 211, 0.94);
}

.timeline-marker {
    width: 14px;
    height: 14px;
    margin-top: 0.35rem;
    border-radius: 50%;
    background: var(--color-mauve);
    box-shadow: 0 0 0 6px rgba(182, 140, 184, 0.16);
}

.profile-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.saved-profile-card,
.liked-row {
    display: grid;
    gap: 0.85rem;
    padding: 0.8rem;
    border-radius: 24px;
    border: 1px solid rgba(230, 218, 211, 0.94);
    background: rgba(255, 249, 245, 0.92);
}

.saved-profile-card img {
    width: 100%;
    height: 180px;
    border-radius: 20px;
    object-fit: cover;
}

.saved-profile-copy {
    display: grid;
    gap: 0.3rem;
}

.saved-profile-copy span {
    color: var(--color-grey);
    font-size: 0.88rem;
}

.liked-stack,
.settings-saved-grid {
    display: grid;
    gap: 1rem;
}

.liked-row {
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
}

.liked-row img {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    object-fit: cover;
}

.empty-inline-state {
    display: grid;
    gap: 0.45rem;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(247, 241, 234, 0.76);
    border: 1px solid rgba(230, 218, 211, 0.94);
}

.lightbox-close {
    margin-bottom: 1rem;
}

.discover-shell {
    display: grid;
    gap: 1.4rem;
}

.discover-heading {
    margin-bottom: 0;
    max-width: 52rem;
}

.discover-subcopy {
    max-width: 38rem;
}

.discover-command-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    padding: 1rem 1.1rem;
    align-items: center;
}

.discover-command-primary,
.discover-command-actions,
.discover-chip-scroll,
.profile-meta-main,
.profile-card-footer,
.compact-profile-anchor-links,
.footer-link-block,
.footer-brand-block {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.discover-command-primary {
    min-width: 0;
}

.discover-command-count {
    display: grid;
    place-items: center;
    min-width: 86px;
    padding: 0.8rem 1rem;
    border-radius: 22px;
    background: rgba(247, 241, 234, 0.9);
    border: 1px solid rgba(230, 218, 211, 0.94);
}

.discover-command-count strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.4rem;
    color: var(--color-plum-dark);
}

.discover-command-count span {
    font-size: 0.82rem;
    color: var(--color-grey);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.discover-chip-scroll {
    flex-wrap: wrap;
}

.discover-app-layout-wide {
    grid-template-columns: 1fr;
}

.discover-mobile-filter-row {
    display: grid;
    gap: 1rem;
}

.discover-mode-tabs {
    margin-bottom: 0;
}

.profile-card-footer {
    justify-content: space-between;
    align-items: flex-end;
}

.profile-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.discover-image-actions {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.overlay-like-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.overlay-like.is-selected {
    background: var(--color-plum);
    color: var(--color-ivory);
}

.overlay-status {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.8rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 249, 245, 0.92);
    color: var(--color-plum-dark);
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: var(--shadow-xs);
}

.deck-fab {
    width: 56px;
    height: 56px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    font-size: 1.45rem;
    font-weight: 800;
    cursor: pointer;
}

.deck-fab-pass {
    background: rgba(255, 249, 245, 0.96);
    color: var(--color-plum-dark);
}

.deck-fab-like {
    background: var(--color-plum);
    color: var(--color-ivory);
}

.compact-profile-head-rail {
    align-items: start;
}

.compact-profile-meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.profile-summary-actions {
    display: grid;
    gap: 0.7rem;
}

.profile-side-highlight {
    display: grid;
    gap: 1rem;
}

.trust-pricing-band {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 1rem;
}

.compact-section-heading {
    margin-bottom: 0;
}

.trust-band-panel,
.pricing-band-panel {
    display: grid;
    gap: 1rem;
}

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

.trust-tile-rich,
.pricing-band-panel .pricing-mini-card {
    min-height: 100%;
}

.chat-header-profile {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.chat-back-button {
    display: none;
}

.mini-profile-thread {
    text-align: left;
}

.mini-profile-thread p {
    line-height: 1.45;
}

.mini-profile-thread strong {
    color: var(--color-plum-dark);
}

.mini-profile-thread.is-active {
    box-shadow: var(--shadow-xs);
}

.mini-profile-thread[data-unread="true"] strong::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 0.45rem;
    border-radius: 50%;
    background: var(--color-mauve);
    vertical-align: middle;
}

.mini-profile-thread,
.saved-profile-card,
.liked-row,
.profile-card,
.gallery-card,
.thumbnail-chip,
.button,
.icon-pill {
    transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.mini-profile-thread:hover,
.saved-profile-card:hover,
.liked-row:hover,
.gallery-card:hover,
.thumbnail-chip:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.chat-thread .bubble {
    animation: bubbleIn 0.22s ease;
}

.message-thread.is-loading {
    opacity: 0.55;
    transform: translateY(4px);
}

.message-thread,
.chat-panel,
.mini-profile-thread {
    transition: opacity 0.22s ease, transform 0.22s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.toast-host {
    position: fixed;
    right: 16px;
    bottom: 96px;
    z-index: 120;
    display: grid;
    gap: 0.7rem;
}

.toast {
    min-width: 220px;
    max-width: min(360px, calc(100vw - 32px));
    padding: 0.9rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(230, 218, 211, 0.95);
    background: rgba(255, 249, 245, 0.98);
    color: var(--color-plum-dark);
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.toast-success {
    border-color: rgba(147, 166, 140, 0.7);
}

.toast-error {
    border-color: rgba(182, 95, 117, 0.55);
}

.message-app-layout.thread-open .chat-panel {
    animation: panelIn 0.22s ease;
}

.profile-card .button:hover,
.profile-card .icon-pill:hover,
.compact-profile-summary .button:hover,
.compact-profile-anchor-links .icon-pill:hover {
    transform: translateY(-2px);
}

.profile-page-carousel-compact {
    padding: 1rem;
    border-radius: 34px;
    background:
        linear-gradient(180deg, rgba(255, 249, 245, 0.82), rgba(247, 241, 234, 0.96));
    border: 1px solid rgba(230, 218, 211, 0.94);
    box-shadow: var(--shadow-md);
}

.profile-page-carousel-compact .media-slide {
    border-radius: 30px;
    overflow: hidden;
}

@keyframes bubbleIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes panelIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-footer {
    margin-top: var(--space-8);
    padding: var(--space-6) 0 calc(var(--space-6) + 58px);
    background: linear-gradient(180deg, var(--color-plum-dark), #4a2f55);
}

.footer-grid {
    gap: 1rem;
}

.footer-brand-block p {
    max-width: 24rem;
}

.footer-link-block {
    justify-content: flex-end;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .hero-grid-product,
    .profile-hero,
    .profile-compact-hero,
    .auth-layout,
    .message-app-layout,
    .discover-app-layout,
    .dashboard-hero,
    .process-grid,
    .benefit-tile-grid,
    .trust-card-grid,
    .stats-ribbon,
    .floating-insight-row,
    .fact-grid,
    .profile-grid-rich,
    .featured-showcase,
    .compact-home-grid,
    .compact-trust-grid,
    .compact-pricing-mini-stack,
    .trust-pricing-band,
    .compact-trust-grid-rich {
        grid-template-columns: 1fr;
    }

    .section-heading-inline,
    .final-cta-panel,
    .chat-input-row,
    .chat-header,
    .auth-card-header {
        grid-template-columns: 1fr;
        display: grid;
        justify-content: stretch;
    }
}

@media (max-width: 820px) {
    .nav-toggle {
        display: inline-flex;
        justify-self: end;
    }

    .header-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .top-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: stretch;
        justify-self: stretch;
        z-index: 75;
    }

    .top-nav.is-open {
        display: flex;
    }

    .header-actions {
        display: none;
    }

    h1 {
        font-size: clamp(1.8rem, 8vw, 2.6rem);
    }

    h2 {
        font-size: clamp(1.35rem, 6vw, 2rem);
    }

    .hero-copy-stack,
    .hero-copy,
    .hero-copy-stack h1,
    .hero-copy-stack p,
    .hero-copy-stack .eyebrow,
    .hero-actions,
    .stats-ribbon,
    .mini-stat {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .hero-grid,
    .hero-grid-product {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        gap: var(--space-5);
    }

    .hero-product-panel,
    .hero-app-card,
    .carousel-shell,
    .carousel-track,
    .carousel-slide {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .hero-art-board {
        min-height: auto;
        padding: 0.85rem;
    }

    .hero-art-grid {
        grid-template-columns: 1fr;
    }

    .hero-stat-card {
        grid-column: span 1;
    }

    .hero-mini-profile-card-alt {
        transform: none;
    }

    .stats-ribbon {
        grid-template-columns: 1fr;
    }

    .discover-sidebar {
        display: none;
    }

    .discover-top-actions,
    .discover-toolbar,
    .filter-chip-row,
    .discover-command-actions {
        justify-items: stretch;
        justify-content: flex-start;
    }

    .discover-command-bar {
        grid-template-columns: 1fr;
    }

    .discover-command-primary {
        flex-direction: column;
        align-items: stretch;
    }

    .discover-chip-scroll {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.2rem;
    }

    .discover-chip-scroll .chip {
        white-space: nowrap;
    }

    .discover-sort-select {
        width: 100%;
        min-width: 0;
    }

    .tab-row {
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .home-process-section,
    .home-compact-modules,
    .home-featured-section {
        padding-top: var(--space-5);
        padding-bottom: var(--space-5);
    }

    .featured-intro-card {
        display: none;
    }

    .featured-slider-heading .slider-controls {
        display: none;
    }

    .compact-slider-card {
        min-width: min(260px, 78vw);
    }

    .profile-card-body,
    .compact-card-body {
        gap: 0.6rem;
        padding: 0.85rem;
    }

    .profile-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-card-footer {
        display: grid;
        gap: 0.75rem;
        align-items: stretch;
    }

    .discover-message-action {
        display: none;
    }

    .profile-card-body h3 {
        font-size: 1.05rem;
    }

    .profile-location,
    .profile-card-body p,
    .profile-card-body .tag,
    .profile-card-body .chip {
        font-size: 0.82rem;
    }

    .discover-content {
        gap: 1rem;
    }

    .mobile-deck-toolbar {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        margin-top: 0.2rem;
    }

    .profile-grid-rich {
        position: relative;
        min-height: 500px;
        padding-top: 0.35rem;
    }

    .profile-grid-rich .profile-card-rich {
        position: absolute;
        inset: 0;
        margin-top: 0;
        border-radius: 28px;
        box-shadow: var(--shadow-md);
        transition: transform 0.28s ease, opacity 0.28s ease;
    }

    .profile-grid-rich .profile-card-rich.is-deck-active {
        z-index: 4;
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .profile-grid-rich .profile-card-rich.is-deck-next {
        z-index: 3;
        opacity: 1;
        transform: translateY(18px) scale(0.97);
    }

    .profile-grid-rich .profile-card-rich.is-deck-third {
        z-index: 2;
        opacity: 0.92;
        transform: translateY(34px) scale(0.94);
    }

    .profile-grid-rich .profile-card-rich.is-deck-hidden {
        z-index: 1;
        opacity: 0;
        pointer-events: none;
        transform: translateY(50px) scale(0.9);
    }

    .profile-grid-rich .profile-card-rich .profile-media-carousel {
        min-height: 260px;
    }

    .profile-grid-rich .profile-card-rich .profile-card-body {
        padding-top: 0.75rem;
    }

    .profile-grid-rich .profile-card-rich .tag-row {
        gap: 0.5rem;
    }

    .profile-grid-rich .profile-card-rich .overlay-actions {
        display: none;
    }

    .profile-grid-rich .profile-card-rich .overlay-like {
        position: static;
    }

    .profile-media-carousel,
    .profile-card-rich .profile-media-carousel,
    .profile-card-hero .profile-media-carousel {
        min-height: 240px;
    }

    .profile-page-carousel {
        min-height: 250px;
    }

    .profile-mini-grid {
        grid-template-columns: 1fr;
    }

    .sticky-profile-actions {
        position: static;
    }

    .compact-profile-summary {
        padding: 1rem;
    }

    .compact-profile-head h1 {
        font-size: clamp(1.55rem, 7vw, 2.1rem);
    }

    .compact-profile-anchor-links {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.15rem;
    }

    .compact-profile-anchor-links .icon-pill {
        white-space: nowrap;
    }

    .gallery-rail-card {
        display: grid;
        justify-content: stretch;
    }

    .gallery-frame-topbar {
        display: grid;
        justify-content: stretch;
    }

    .drawer-panel {
        width: calc(100vw - 24px);
        height: calc(100vh - 24px);
        max-height: none;
    }

    .mobile-action-bar {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.6rem;
    }

    .message-app-layout {
        display: block;
    }

    .message-app-layout .inbox-panel {
        display: block;
    }

    .message-app-layout.thread-open .inbox-panel {
        display: none;
    }

    .message-app-layout.thread-open .chat-panel {
        display: grid;
    }

    .message-app-layout .chat-panel {
        display: none;
    }

    .message-app-layout.thread-open .chat-back-button {
        display: inline-flex;
    }

    .site-footer {
        padding-bottom: calc(var(--space-5) + 72px);
    }

    .footer-link-block {
        justify-content: flex-start;
    }
}
