/* ==========================================================================
   Sakeenah — design tokens
   Palette: deep palm green (identity) + warm gold (trust/verified) +
   rosewood (warmth/CTA) on a warm ivory paper ground. Fraunces for display
   type (restrained), Inter for body/UI, JetBrains Mono for data — profile
   IDs, prices, timestamps — the small print of a serious decision.
   ========================================================================== */
:root {
	--ink: #1B1B18;
	--ink-soft: #4A4A42;
	--ivory: #F7F2E6;
	--ivory-deep: #EFE7D4;
	--paper: #FFFDF8;

	--palm-900: #0A2E26;
	--palm-700: #12463B;
	--palm-600: #1B5A4B;
	--palm-500: #256E5C;
	--palm-100: #E4EEE9;

	--gold-700: #8C6423;
	--gold-600: #B8863B;
	--gold-300: #E9D7B0;
	--gold-100: #F5EDD9;

	--rose-700: #7A2E3B;
	--rose-500: #A8425A;
	--rose-100: #F3E1E4;

	--line: rgba(18, 70, 59, 0.14);
	--line-strong: rgba(18, 70, 59, 0.26);
	--shadow-card: 0 1px 2px rgba(18,25,22,.06), 0 12px 28px -16px rgba(10,46,38,.28);
	--shadow-pop: 0 20px 60px -20px rgba(10,46,38,.45);

	--font-display: 'Fraunces', ui-serif, Georgia, serif;
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

	--radius-sm: 8px;
	--radius-md: 14px;
	--radius-lg: 22px;
	--container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--ivory);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .4em; color: var(--palm-900); }
p { margin: 0 0 1em; color: var(--ink-soft); }
.mono { font-family: var(--font-mono); letter-spacing: .01em; }

:focus-visible { outline: 2px solid var(--gold-600); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--tight { padding: 40px 0; }
.section--sunk { background: var(--palm-900); color: var(--ivory); }
.section--sunk h2, .section--sunk h3 { color: var(--ivory); }
.section--panel { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--gold-600); display: inline-block; }

.lede { font-size: 19px; max-width: 620px; color: var(--ink-soft); }

/* ---------------- Buttons ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--palm-700); color: var(--ivory); }
.btn--primary:hover { background: var(--palm-600); box-shadow: 0 10px 24px -10px rgba(18,70,59,.55); }
.btn--gold { background: var(--gold-600); color: var(--palm-900); }
.btn--gold:hover { background: #c99a4b; }
.btn--outline { background: transparent; color: var(--palm-700); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--palm-700); background: var(--palm-100); }
.btn--ghost-light { background: transparent; color: var(--ivory); border-color: rgba(247,242,230,.35); }
.btn--ghost-light:hover { background: rgba(247,242,230,.1); }
.btn--rose { background: var(--rose-500); color: #fff; }
.btn--rose:hover { background: var(--rose-700); }
.btn--sm { padding: 9px 16px; font-size: 13px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ---------------- Header ---------------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(247,242,230,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: var(--container); margin: 0 auto; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--palm-900); }
.brand__mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand small { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-700); font-weight: 500; }

.primary-nav { display: flex; align-items: center; gap: 6px; }
.primary-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.primary-nav a { padding: 10px 14px; border-radius: 999px; font-weight: 500; font-size: 14.5px; color: var(--ink); }
.primary-nav a:hover { background: var(--palm-100); color: var(--palm-700); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.avatar-chip { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--line); }
.avatar-chip img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.avatar-chip span { font-size: 13.5px; font-weight: 600; }

.nav-toggle { display: none; }

@media (max-width: 900px) {
	.primary-nav { position: fixed; inset: 0 0 0 auto; width: min(320px,86vw); background: var(--paper); transform: translateX(100%); transition: transform .25s ease; padding: 90px 24px 24px; box-shadow: var(--shadow-pop); flex-direction: column; align-items: flex-start; }
	.primary-nav.is-open { transform: translateX(0); }
	.primary-nav ul { flex-direction: column; width: 100%; }
	.primary-nav a { display: block; }
	.nav-toggle { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: none; }
}

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 90px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.4vw, 54px); letter-spacing: -.01em; }
.hero h1 em { font-style: italic; color: var(--gold-700); }
.hero-search { margin-top: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-card); }
.hero-search form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 12px; }
.hero-search__field { display: flex; flex-direction: column; gap: 4px; }
.hero-search__field label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-700); font-family: var(--font-mono); }
.hero-stats { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats .stat b { font-family: var(--font-display); font-size: 26px; color: var(--palm-900); display: block; }
.hero-stats .stat span { font-size: 12.5px; color: var(--ink-soft); }

.hero-fan { position: relative; height: 460px; }
.hero-fan .rishta-card { position: absolute; width: 240px; opacity: 0; transform: translateY(24px); animation: fan-in .7s cubic-bezier(.2,.8,.2,1) forwards; }
.hero-fan .rishta-card:nth-child(1) { left: 10px; top: 60px; transform: rotate(-7deg) translateY(24px); animation-delay: .05s; z-index: 1; }
.hero-fan .rishta-card:nth-child(2) { left: 130px; top: 0; z-index: 2; animation-delay: .2s; }
.hero-fan .rishta-card:nth-child(3) { left: 250px; top: 70px; transform: rotate(6deg) translateY(24px); animation-delay: .35s; z-index: 1; }
@keyframes fan-in { to { opacity: 1; transform: translateY(0) rotate(var(--r, 0deg)); } }
.hero-fan .rishta-card:nth-child(1) { --r: -7deg; }
.hero-fan .rishta-card:nth-child(3) { --r: 6deg; }
.hero-fan .rishta-card:hover { transform: translateY(-6px) rotate(0deg) !important; z-index: 5; }

@media (max-width: 980px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero-fan { display: none; }
	.hero-search form { grid-template-columns: 1fr 1fr; }
	.hero-search form .btn { grid-column: 1 / -1; }
}

/* ---------------- Rishta card (signature component) ---------------- */
.rishta-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); transition: transform .2s ease, box-shadow .2s ease; position: relative; }
.rishta-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.rishta-card::before {
	content: ''; position: absolute; top: 10px; left: 10px; width: 20px; height: 20px; z-index: 3; pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0 14 10 24 12 14 14 12 24 10 14 0 12 10 10 12 0Z' fill='%23E9D7B0'/%3E%3C/svg%3E");
	background-size: contain; opacity: .9;
}
.rishta-card__ribbon { position: absolute; top: 14px; right: -32px; background: var(--gold-600); color: var(--palm-900); font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; padding: 4px 34px; transform: rotate(38deg); z-index: 4; text-transform: uppercase; }
.rishta-card__photo-wrap { position: relative; display: block; aspect-ratio: 4/5; background: var(--palm-100); overflow: hidden; }
.rishta-card__photo { width: 100%; height: 100%; object-fit: cover; }
.rishta-card__photo.is-blurred { filter: blur(14px) saturate(85%); transform: scale(1.12); }
.rishta-card__lock { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--ivory); background: linear-gradient(180deg, rgba(10,46,38,.05), rgba(10,46,38,.55)); }
.rishta-card__lock svg { width: 26px; height: 26px; }
.rishta-card__verified { position: absolute; bottom: 10px; left: 10px; background: var(--palm-700); color: var(--ivory); width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.rishta-card__body { padding: 16px; }
.rishta-card__name { display: flex; align-items: baseline; gap: 8px; font-size: 19px; margin-bottom: 2px; }
.rishta-card__name a:hover { color: var(--gold-700); }
.rishta-card__age { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft); font-weight: 500; }
.rishta-card__meta { font-size: 13.5px; margin: 0 0 8px; }
.rishta-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.tag { font-size: 11.5px; padding: 4px 9px; border-radius: 999px; background: var(--palm-100); color: var(--palm-700); font-weight: 600; }
.tag--muted { background: var(--ivory-deep); color: var(--ink-soft); font-weight: 500; }
.rishta-card__footer { display: flex; justify-content: flex-end; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }

/* ---------------- Badges / pills ---------------- */
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; }
.badge--verified { background: var(--palm-100); color: var(--palm-700); }
.badge--pending { background: var(--gold-100); color: var(--gold-700); }
.badge--free { background: var(--ivory-deep); color: var(--ink-soft); }
.badge--basic { background: var(--palm-100); color: var(--palm-700); }
.badge--premium { background: var(--gold-100); color: var(--gold-700); }
.pill { font-size: 12.5px; font-weight: 600; padding: 8px 14px; border-radius: 999px; display: inline-block; }
.pill--pending { background: var(--gold-100); color: var(--gold-700); }
.pill--muted { background: var(--ivory-deep); color: var(--ink-soft); }

/* ---------------- How it works / feature rows ---------------- */
.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 900px) { .feature-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-row { grid-template-columns: 1fr; } }
.feature { padding: 26px; border-radius: var(--radius-md); background: var(--paper); border: 1px solid var(--line); }
.feature__icon { width: 42px; height: 42px; border-radius: 12px; background: var(--palm-100); color: var(--palm-700); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature h4 { font-size: 17px; margin-bottom: 6px; }
.feature p { font-size: 14.5px; margin: 0; }

.step-list { counter-reset: step; display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
@media (max-width: 900px) { .step-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .step-list { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 8px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: 13px; color: var(--gold-600); display: block; margin-bottom: 10px; }
.step h4 { font-size: 16.5px; }
.step p { font-size: 14px; }

/* ---------------- Forms ---------------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--palm-900); }
.field .hint { font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=tel], select, textarea {
	width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--paper); font-family: var(--font-body); font-size: 14.5px; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { resize: vertical; min-height: 90px; }
input:focus, select:focus, textarea:focus { border-color: var(--palm-600); box-shadow: 0 0 0 3px var(--palm-100); outline: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.checkbox-row { display: flex; align-items: center; gap: 10px; }
.checkbox-row input { width: auto; }
fieldset { border: none; padding: 0; margin: 0 0 28px; }
fieldset legend { font-family: var(--font-display); font-size: 18px; color: var(--palm-900); margin-bottom: 4px; padding: 0; }
.fieldset-hint { font-size: 13px; color: var(--ink-soft); margin: 0 0 18px; }

.auth-shell { max-width: 460px; margin: 60px auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-card); }
.auth-shell h1 { font-size: 26px; }
.auth-shell .switch-link { text-align: center; margin-top: 18px; font-size: 14px; }
.auth-shell .switch-link a { color: var(--palm-700); font-weight: 600; }
.form-error { background: var(--rose-100); color: var(--rose-700); padding: 12px 14px; border-radius: 10px; font-size: 13.5px; margin-bottom: 18px; }
.form-notice { background: var(--palm-100); color: var(--palm-700); padding: 12px 14px; border-radius: 10px; font-size: 13.5px; margin-bottom: 18px; }

.register-wizard { max-width: 640px; margin: 50px auto; }

/* ---------------- Dashboard ---------------- */
.dash-shell { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .dash-shell { grid-template-columns: 1fr; } }
.dash-side { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; position: sticky; top: 100px; }
.dash-profile-summary { text-align: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.dash-profile-summary img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; border: 3px solid var(--gold-300); }
.dash-profile-summary h3 { font-size: 17px; margin-bottom: 4px; }
.dash-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.dash-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink-soft); }
.dash-nav a.is-active, .dash-nav a:hover { background: var(--palm-100); color: var(--palm-700); }
.dash-main { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; }
.dash-main h2 { font-size: 24px; }
.completion-bar { height: 8px; border-radius: 999px; background: var(--ivory-deep); overflow: hidden; margin: 10px 0 22px; }
.completion-bar__fill { height: 100%; background: linear-gradient(90deg, var(--gold-600), var(--palm-600)); border-radius: 999px; }

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

/* ---------------- Profile detail ---------------- */
.profile-detail { display: grid; grid-template-columns: 340px 1fr; gap: 40px; }
@media (max-width: 900px) { .profile-detail { grid-template-columns: 1fr; } }
.profile-photo-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-card); position: sticky; top: 100px; }
.profile-photo-panel .photo { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/5; margin-bottom: 16px; background: var(--palm-100); }
.profile-photo-panel .photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-photo-panel .photo img.is-blurred { filter: blur(18px); transform: scale(1.15); }
.profile-actions { display: flex; flex-direction: column; gap: 10px; }
.profile-id { font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); margin-bottom: 14px; }

.info-block { margin-bottom: 30px; }
.info-block h3 { font-size: 18px; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 16px; }
.info-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 560px) { .info-list { grid-template-columns: 1fr; } }
.info-list li { font-size: 14.5px; display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding-bottom: 8px; gap: 12px; }
.info-list li span:first-child { color: var(--ink-soft); }
.info-list li span:last-child { font-weight: 600; text-align: right; }

.match-score { display: inline-flex; align-items: center; gap: 10px; background: var(--palm-100); border-radius: 999px; padding: 8px 16px 8px 8px; }
.match-score__ring { width: 34px; height: 34px; border-radius: 50%; background: conic-gradient(var(--gold-600) calc(var(--pct)*1%), var(--palm-100) 0); display: flex; align-items: center; justify-content: center; }
.match-score__ring::after { content: ''; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); }
.match-score b { font-family: var(--font-mono); font-size: 13px; color: var(--palm-700); }

/* ---------------- Interests list ---------------- */
.interest-row { display: flex; align-items: center; gap: 16px; padding: 16px; border-bottom: 1px solid var(--line); }
.interest-row img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.interest-row .grow { flex: 1; }
.interest-row .grow h4 { margin: 0 0 2px; font-size: 15.5px; }
.interest-row .grow span { font-size: 12.5px; color: var(--ink-soft); font-family: var(--font-mono); }
.interest-row .actions { display: flex; gap: 8px; }

.tab-strip { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.tab-strip a { padding: 12px 18px; font-size: 14px; font-weight: 600; color: var(--ink-soft); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab-strip a.is-active { color: var(--palm-700); border-color: var(--gold-600); }

/* ---------------- Messages / chat ---------------- */
.chat-shell { display: grid; grid-template-columns: 300px 1fr; height: 640px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
@media (max-width: 820px) { .chat-shell { grid-template-columns: 1fr; height: auto; } }
.thread-list { border-right: 1px solid var(--line); overflow-y: auto; }
.thread-item { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.thread-item img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.thread-item.is-active { background: var(--palm-100); }
.thread-item h5 { margin: 0; font-size: 14.5px; }
.thread-item p { margin: 2px 0 0; font-size: 12.5px; color: var(--ink-soft); }

.chat-panel { display: flex; flex-direction: column; }
.chat-panel__header { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.chat-panel__header img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.chat-log { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 10px; background: var(--ivory); }
.bubble { max-width: 70%; padding: 10px 14px; border-radius: 16px; font-size: 14px; }
.bubble p { margin: 0; color: inherit; }
.bubble time { font-size: 10.5px; opacity: .6; display: block; margin-top: 4px; font-family: var(--font-mono); }
.bubble--theirs { background: var(--paper); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble--mine { background: var(--palm-700); color: var(--ivory); align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-composer { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--line); }
.chat-composer textarea { min-height: 44px; }

/* ---------------- Pricing ---------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; display: flex; flex-direction: column; }
.price-card--featured { border-color: var(--gold-600); box-shadow: var(--shadow-pop); position: relative; }
.price-card--featured::before { content: 'Most chosen'; position: absolute; top: -13px; left: 28px; background: var(--gold-600); color: var(--palm-900); font-family: var(--font-mono); font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.price-card h3 { font-size: 20px; }
.price-card .price { font-family: var(--font-mono); font-size: 34px; color: var(--palm-900); margin: 6px 0 18px; }
.price-card .price small { font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.price-card ul { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.price-card li { font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.price-card li svg { flex-shrink: 0; margin-top: 2px; color: var(--palm-600); }
.price-card li.is-off { color: #b6b0a2; }
.price-card li.is-off svg { color: #cfc9b8; }

/* ---------------- Testimonials ---------------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 26px; }
.testimonial p { font-family: var(--font-display); font-size: 17px; font-style: italic; color: var(--ink); }
.testimonial footer { font-family: var(--font-mono); font-size: 12.5px; color: var(--gold-700); }

/* ---------------- CTA band ---------------- */
.cta-band { background: var(--palm-900); border-radius: var(--radius-lg); padding: 56px; text-align: center; color: var(--ivory); position: relative; overflow: hidden; }
.cta-band h2 { color: var(--ivory); }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--palm-900); color: rgba(247,242,230,.8); padding: 64px 0 28px; margin-top: 40px; }
.site-footer h4 { color: var(--ivory); font-size: 15px; font-family: var(--font-body); font-weight: 700; margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.footer-grid a:hover { color: var(--gold-300); }
.footer-brand p { color: rgba(247,242,230,.7); max-width: 280px; font-size: 14px; }
.footer-bottom { border-top: 1px solid rgba(247,242,230,.14); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; font-size: 12.5px; color: rgba(247,242,230,.55); flex-wrap: wrap; gap: 10px; }

/* ---------------- Misc utility ---------------- */
.stack { display: flex; flex-direction: column; gap: 14px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-soft); }
.empty-state__motif { color: var(--gold-600); margin-bottom: 14px; display: flex; justify-content: center; }
.empty-state h3 { color: var(--palm-900); }
.toast { position: fixed; bottom: 24px; right: 24px; background: var(--palm-900); color: var(--ivory); padding: 14px 20px; border-radius: 10px; font-size: 14px; box-shadow: var(--shadow-pop); z-index: 100; opacity: 0; transform: translateY(10px); transition: all .25s ease; pointer-events: none; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.toast.is-error { background: var(--rose-700); }

/* ------------------------------------------------------------------ */
/*  Loading spinner — a thin rotating ring used inline in buttons      */
/*  (.btn-spinner) and as a larger section overlay (--lg variant)      */
/*  whenever an action is in flight. Color inherits currentColor so it */
/*  automatically matches whichever button variant it's placed inside. */
/* ------------------------------------------------------------------ */
@keyframes mm-spin { to { transform: rotate(360deg); } }

.btn-spinner {
	display: inline-block;
	width: 15px;
	height: 15px;
	border: 2px solid currentColor;
	border-top-color: transparent;
	border-radius: 50%;
	opacity: .85;
	animation: mm-spin .7s linear infinite;
	flex-shrink: 0;
}
.btn-spinner--lg { width: 30px; height: 30px; border-width: 3px; }
.btn-spinner-label { display: inline-block; }
.btn.is-loading,
button.is-loading { cursor: wait; }

.is-section-loading { position: relative; min-height: 160px; }
.is-section-loading > *:not(.section-spinner-overlay) { opacity: .35; pointer-events: none; transition: opacity .15s ease; }
.section-spinner-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--palm-700);
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.browse-shell { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .browse-shell { grid-template-columns: 1fr; } }
.filter-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; position: sticky; top: 100px; }
.filter-panel h3 { font-size: 16px; }
.filter-panel .field:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ */
/*  Pagination — modern, numbered, pill-shaped to match the .btn        */
/*  language already established (999px radius, palm/gold palette).    */
/* ------------------------------------------------------------------ */
.pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 36px;
	flex-wrap: wrap;
}
.pagination__pages { display: flex; align-items: center; gap: 4px; }
.pagination__arrow,
.pagination__page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 6px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--paper);
	color: var(--palm-700);
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.pagination__arrow:hover:not(.is-disabled),
.pagination__page:hover:not(.is-current) {
	border-color: var(--palm-600);
	background: var(--palm-100);
}
.pagination__page.is-current {
	background: var(--palm-700);
	border-color: var(--palm-700);
	color: var(--ivory);
	cursor: default;
}
.pagination__arrow.is-disabled {
	opacity: .35;
	pointer-events: none;
}
.pagination__ellipsis {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	color: var(--ink-soft);
	font-weight: 600;
}
@media (max-width: 480px) {
	.pagination__pages .pagination__page { min-width: 34px; height: 34px; font-size: 13px; }
}


/* ---------------- Checkout status (plugin integration) ---------------- */
/* Styled to match Sakeenah palette; sits below the payment buttons on    */
/* the pricing page. checkout.js adds/removes these classes on the div    */
/* with [data-mm-plan-status].                                            */
.mm-checkout-status {
	margin-top: 10px;
	font-size: 13.5px;
	font-family: var(--font-mono);
	min-height: 1.4em;
	text-align: center;
}
.mm-checkout-status--info  { color: var(--palm-600); }
.mm-checkout-status--error { color: var(--rose-700); }
