/* =========================================================
   GENZ ASTROLOGER — tokens taken from the Dribbble design palette
   ========================================================= */
:root {
  --white: #ffffff;
  --paper: #fbfbfb;
  --paper-2: #faf7f1;
  --ink: #141014;
  --ink-2: #2f2925;
  --muted: #8b8279;
  --muted-2: #6c635b;
  --line: #eeebe5;
  --line-2: #e3dccf;
  --tan: #b59a78;
  --tan-2: #c4baa7;
  --brown: #7c5a32;
  --brown-2: #6a4c29;
  --brown-deep: #5f2f22;
  --cream: #f6f2e4;
  --beige: #e8e4d6;
  --saffron: #c65a1f;
  --gold: #dba452;
  --dusk: #6a6f8e;
  --night: #120a1a;
  --night-2: #1e1030;
  --wa: #25d366;
  --wa-dark: #128c4b;

  --shadow-sm: 0 2px 8px rgba(60, 40, 20, 0.08);
  --shadow: 0 18px 40px -18px rgba(60, 40, 20, 0.35);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-glyph: 'Noto Sans Symbols', 'Segoe UI Symbol', 'Apple Symbols', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.container { width: min(1280px, 100%); margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
h2 { font-size: clamp(30px, 3.4vw, 42px); }
h1 em, h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--saffron); letter-spacing: 0; }
small { font-size: 0.82em; color: var(--muted); font-weight: 400; }
.glyph { font-family: var(--font-glyph); font-style: normal; line-height: 1; }

/* ---------- buttons, pills, stickers ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 8px; padding: 12px 22px; font-weight: 600; font-size: 14px; line-height: 1.2; cursor: pointer; white-space: nowrap; transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; fill: currentColor; }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-brown { background: var(--brown); color: #fff; box-shadow: 0 8px 18px -6px rgba(124, 90, 50, 0.55); }
.btn-brown:hover { background: var(--brown-2); }
.btn-cream { background: var(--cream); color: #5b4630; box-shadow: 0 3px 10px rgba(60, 40, 20, 0.14); }
.btn-cream:hover { background: #fff; }
.btn-gold { background: linear-gradient(135deg, #f3cd82, var(--gold)); color: #2a1a07; }
.btn-ghost { background: transparent; border: 1px solid var(--line-2); color: var(--ink-2); }
.btn-ghost:hover { background: var(--paper-2); }
.btn-wa { background: var(--wa); color: #05301a; box-shadow: 0 10px 22px -10px rgba(37, 211, 102, 0.8); }
.btn-wa:hover { background: #2fe072; }
.btn.is-busy { pointer-events: none; opacity: 0.85; }
.btn.is-busy::after { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite; }

.pill { display: inline-flex; align-items: center; gap: 6px; background: var(--beige); color: #5b4a35; font-size: 13px; font-weight: 500; padding: 7px 16px; border-radius: 999px; }
.pill-caps { text-transform: uppercase; letter-spacing: 0.08em; font-size: 11.5px; font-weight: 600; }
.pill-dark { background: rgba(255, 255, 255, 0.07); color: #eadcc2; border: 1px solid rgba(255, 255, 255, 0.12); }
.pill-light { background: rgba(255, 255, 255, 0.22); color: #fff; }

.sticker { position: absolute; z-index: 3; display: inline-block; pointer-events: none; padding: 7px 15px; border-radius: 999px; white-space: nowrap; font-weight: 700; font-size: 13px; letter-spacing: 0.01em; background: var(--saffron); color: #fff; transform: rotate(-8deg); box-shadow: 0 10px 22px -8px rgba(198, 90, 31, 0.6); }
.sticker-inline { position: relative; display: inline-block; vertical-align: middle; margin-left: 14px; font-family: var(--font); font-size: 14px; line-height: 1.2; transform: rotate(8deg) translateY(-10px); }
.spinner { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--tan); border-right-color: transparent; animation: spin 0.7s linear infinite; vertical-align: -3px; }

/* ---------- header ---------- */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 60; transition: background 0.3s ease, box-shadow 0.3s ease; }
.site-header.is-stuck { position: fixed; background: rgba(255, 255, 255, 0.88); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(60, 40, 20, 0.35); animation: dropIn 0.35s ease; }
.site-header.is-solid { position: sticky; top: 0; background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.header-inner { position: relative; display: flex; align-items: center; gap: clamp(24px, 3.4vw, 56px); height: 88px; transition: height 0.3s ease; }
.site-header.is-stuck .header-inner, .site-header.is-solid .header-inner { height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-orb { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe6ad 0%, #f3a64b 36%, var(--saffron) 74%, #8a3510 100%); box-shadow: 0 0 0 3px rgba(198, 90, 31, 0.14), 0 4px 12px rgba(198, 90, 31, 0.4); }
.brand-name { font-family: 'Cinzel', var(--font-serif); font-weight: 700; letter-spacing: 0.1em; font-size: 15px; color: #2b211a; white-space: nowrap; }
.brand-name b { color: var(--saffron); }
.main-nav { display: flex; gap: clamp(16px, 1.9vw, 28px); font-size: 14.5px; color: #3e3a37; }
.main-nav a { position: relative; padding: 6px 0; white-space: nowrap; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--saffron); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a.is-active { color: var(--ink); font-weight: 600; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.wa-btn svg { fill: #1faf55; }
.icon-btn { position: relative; width: 42px; height: 42px; display: grid; place-items: center; flex-shrink: 0; border: 0; border-radius: 12px; background: transparent; color: #2b211a; cursor: pointer; }
.icon-btn svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { background: var(--paper-2); }
.menu-btn { display: none; }

/* floating WhatsApp button */
.wa-fab { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 16px 32px -12px rgba(18, 140, 75, 0.8); transition: transform 0.2s ease; }
.wa-fab svg { width: 30px; height: 30px; fill: currentColor; }
.wa-fab::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: waPulse 2.6s ease-out infinite; pointer-events: none; }
.wa-fab:hover { transform: scale(1.07); }

/* ---------- home hero (Dribbble layout) ---------- */
.hero { position: relative; padding: 150px 0 84px; overflow: hidden; }
.hero-panel { position: absolute; top: 0; right: 0; width: 36%; height: calc(100% - 46px); max-height: 820px; background: var(--tan); border-bottom-left-radius: 56px; }
.hero-panel::after { content: ''; position: absolute; inset: 0; border-bottom-left-radius: inherit; opacity: 0.35; background: radial-gradient(60% 40% at 70% 20%, rgba(255, 255, 255, 0.35), transparent 70%); }
.hero-lineart { position: absolute; left: -160px; top: 40px; width: 640px; height: 640px; opacity: 0.55; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.hero-copy { position: relative; padding-top: 28px; }
.hero h1 { font-size: clamp(40px, 4vw, 58px); font-weight: 500; margin: 26px 0 32px; color: #111; }
.hero-cta { display: flex; align-items: flex-start; gap: 30px; }
.hero-cta p { margin: 0; max-width: 300px; color: var(--muted-2); font-size: 14px; line-height: 1.7; }
.service-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 60px; max-width: 590px; }
.service-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 7px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.service-card:hover { transform: translateY(-5px) rotate(-1.2deg); box-shadow: var(--shadow); }
.service-card .thumb { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 0.84; border-radius: 8px; font-size: clamp(30px, 3vw, 42px); overflow: hidden; }
.service-card .thumb::after { content: '✦'; position: absolute; top: 8px; right: 10px; font-size: 13px; color: rgba(255, 255, 255, 0.85); }
.thumb-match { background: linear-gradient(150deg, #fbd8c4, #e68fa3); }
.thumb-horoscope { background: radial-gradient(circle at 30% 25%, #7a54b8 0%, #2a1645 70%); }
.thumb-chart { background: linear-gradient(150deg, #cfd3e8, var(--dusk)); }
.thumb-besties { background: linear-gradient(150deg, var(--saffron), var(--brown-deep)); }
.service-card .label { display: block; text-align: center; font-size: 12px; font-weight: 500; padding: 8px 2px 3px; color: #3d342c; line-height: 1.3; }

.hero-visual { position: relative; height: 640px; }
.hero-moon { position: absolute; right: 2%; top: -24px; width: 130px; height: 130px; opacity: 0.95; animation: floaty 9s ease-in-out infinite; }
.phone { position: absolute; left: 36%; top: 6px; width: 272px; height: 560px; padding: 11px; transform: translateX(-50%) rotate(-6deg); border-radius: 48px; background: #16111c; box-shadow: 0 50px 90px -28px rgba(60, 30, 5, 0.6), inset 0 0 0 2px #2c2535, inset 0 0 0 5px #0b080e; animation: phoneFloat 8s ease-in-out infinite; }
.phone-screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; color: #fff; padding: 12px 12px 14px; background: radial-gradient(120% 60% at 50% 115%, rgba(198, 90, 31, 0.95) 0%, rgba(198, 90, 31, 0) 58%), radial-gradient(90% 55% at 85% 0%, #4b2a6b 0%, rgba(75, 42, 107, 0) 62%), linear-gradient(180deg, #150b23 0%, #24123a 58%, #3a1a33 100%); }
.phone-screen::before { content: ''; position: absolute; inset: 0; opacity: 0.7; pointer-events: none; background-image: radial-gradient(1px 1px at 22px 40px, #fff, transparent), radial-gradient(1px 1px at 120px 90px, #fff, transparent), radial-gradient(1.4px 1.4px at 200px 30px, #fff, transparent), radial-gradient(1px 1px at 60px 160px, #fff, transparent), radial-gradient(1px 1px at 180px 210px, #fff, transparent), radial-gradient(1.2px 1.2px at 230px 120px, #fff, transparent); }
.phone-island { position: relative; z-index: 1; width: 88px; height: 25px; border-radius: 20px; background: #000; margin: 2px auto 0; }
.phone-status { position: absolute; top: 15px; left: 24px; right: 24px; display: flex; justify-content: space-between; font-size: 10.5px; font-weight: 600; opacity: 0.85; }
.lock-date { position: relative; text-align: center; font-size: 13px; font-weight: 500; opacity: 0.85; margin-top: 18px; }
.lock-time { position: relative; text-align: center; font-family: var(--font-display); font-size: 66px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; margin-top: 2px; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.25); }
.lock-moon { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 11.5px; opacity: 0.9; margin: 10px 0 12px; min-height: 26px; }
.lock-moon svg { width: 24px; height: 24px; }
.notifs { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.notif { display: block; padding: 9px 11px 10px; border-radius: 16px; background: rgba(255, 255, 255, 0.15); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.12); animation: notifIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.notif:nth-child(2) { animation-delay: 0.15s; }
.notif:nth-child(3) { animation-delay: 0.3s; }
.notif.skeleton { height: 62px; background: rgba(255, 255, 255, 0.08); }
.notif a { display: block; color: inherit; }
.notif-top { display: flex; align-items: center; gap: 6px; font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.75; }
.notif-top .mini-orb { width: 14px; height: 14px; border-radius: 4px; background: radial-gradient(circle at 35% 30%, #ffe6ad, var(--saffron) 70%); }
.notif-top time { margin-left: auto; text-transform: none; letter-spacing: 0; }
.notif strong { display: block; font-size: 12px; margin-top: 4px; }
.notif p { margin: 1px 0 0; font-size: 11.2px; line-height: 1.38; opacity: 0.92; }
.chip { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 8px; background: var(--cream); color: #4c3d2c; font-size: 13px; font-weight: 500; white-space: nowrap; box-shadow: 0 10px 24px -10px rgba(60, 40, 20, 0.45), 0 1px 0 rgba(255, 255, 255, 0.7) inset; animation: floaty 6s ease-in-out infinite; transition: background 0.2s ease; }
.chip:hover { background: #fff; }
.chip-1 { left: -6%; top: 120px; animation-delay: -1s; }
.chip-2 { left: -12%; top: 300px; animation-delay: -3s; }
.chip-3 { right: 3%; top: 200px; animation-delay: -2s; }
.chip-4 { right: -3%; top: 318px; animation-delay: -4s; }
.chip-5 { right: 5%; top: 436px; animation-delay: -0.5s; }

/* ---------- ticker ---------- */
.ticker { position: relative; z-index: 5; overflow: hidden; background: #2a1d13; color: #f3e6cc; transform: rotate(-1.4deg); margin: 0 -20px; box-shadow: 0 16px 30px -18px rgba(42, 29, 19, 0.6); }
.ticker-track { display: flex; width: max-content; padding: 14px 0; animation: ticker 60s linear infinite; font-weight: 600; font-size: 14px; white-space: nowrap; }
.ticker-track span { display: inline-flex; align-items: center; gap: 10px; padding: 0 22px; }
.ticker-track span::after { content: '✦'; color: var(--gold); margin-left: 22px; }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: 48px 0 60px; background: linear-gradient(180deg, #fff 0%, var(--paper-2) 100%); }
.page-hero-panel { position: absolute; top: 0; right: 0; width: 30%; height: 100%; background: var(--tan); border-bottom-left-radius: 56px; }
.page-hero-wrap { position: relative; }
.page-hero-inner { position: relative; max-width: 720px; }
.page-hero h1 { font-size: clamp(36px, 4.4vw, 58px); margin: 18px 0 14px; }
.page-hero .lede { font-size: 16.5px; }
.page-hero .btn { margin-top: 22px; }
.page-hero-art { position: absolute; right: clamp(16px, 6vw, 110px); top: 50%; transform: translateY(-50%) rotate(-6deg); width: clamp(150px, 15vw, 210px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-size: clamp(64px, 7vw, 100px); background: radial-gradient(circle at 35% 30%, #fffaf0, var(--cream)); box-shadow: 0 30px 60px -22px rgba(60, 40, 20, 0.5), 0 0 0 10px rgba(255, 255, 255, 0.25); animation: floaty 8s ease-in-out infinite; }
.page-hero-art .hero-glyph { color: var(--brown); font-size: 0.9em; }
.crumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { transition: color 0.2s; }
.crumbs a:hover { color: var(--saffron); }
.crumbs [aria-current] { color: var(--ink-2); font-weight: 500; }
.crumbs-dark { color: #a99c8a; }
.crumbs-dark [aria-current] { color: #eadfcb; }
.crumbs-dark a:hover { color: var(--gold); }

/* ---------- generic sections ---------- */
.section { position: relative; padding: clamp(72px, 8.5vw, 120px) 0; }
.section-tight { padding: 44px 0 clamp(64px, 7vw, 96px); }
.section-head { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 30px; flex-wrap: wrap; }
.section-head h2 { margin-top: 16px; }
.section-head.center { justify-content: center; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }
.lede { color: var(--muted-2); max-width: 60ch; margin: 14px 0 0; font-size: 15.5px; line-height: 1.7; }
.sub-head { font-size: clamp(22px, 2.3vw, 28px); font-weight: 600; margin: 40px 0 18px; }
.hint-line { margin: 26px 0 0; font-size: 14.5px; color: var(--muted-2); }
.hint-line a { color: var(--brown); font-weight: 600; border-bottom: 1px solid rgba(124, 90, 50, 0.3); }
.hint-line a:hover { color: var(--saffron); border-color: var(--saffron); }

.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03); }
.card h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brown); margin: 0 0 12px; font-weight: 700; }
.loading-card { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 220px; color: var(--muted); }
.error-card { text-align: center; color: var(--muted-2); }

.segmented { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); }
.segmented button { border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #6b5a48; cursor: pointer; transition: background 0.2s, color 0.2s; }
.segmented button[aria-selected='true'] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(60, 40, 20, 0.1); }
.segmented-dark { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); }
.segmented-dark button { color: #cbbfae; }
.segmented-dark button[aria-selected='true'] { background: rgba(219, 164, 82, 0.18); color: #fff; box-shadow: none; }

.field { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: #5b4a35; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line-2); background: #fff; border-radius: 10px; padding: 11px 14px; font-size: 15px; color: var(--ink); outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { resize: vertical; min-height: 46px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brown); box-shadow: 0 0 0 3px rgba(124, 90, 50, 0.15); }
.field input:disabled { background: var(--paper-2); color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: center; font-size: 14px; color: #5b4a35; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brown); }
.form-note { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- tool cards & cross-links ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tool-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tool-card { display: flex; flex-direction: column; gap: 8px; padding: 10px 10px 18px; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.tool-card:hover { transform: translateY(-5px) rotate(-0.6deg); box-shadow: var(--shadow); }
.tool-thumb { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 8.5; border-radius: 14px; font-size: 44px; overflow: hidden; margin-bottom: 6px; }
.tool-thumb::after { content: '✦'; position: absolute; top: 10px; right: 12px; font-size: 13px; color: rgba(255, 255, 255, 0.85); }
.tool-card h3 { font-size: 18px; font-weight: 600; padding: 0 8px; }
.tool-card p { margin: 0; padding: 0 8px; font-size: 14px; color: var(--muted-2); line-height: 1.55; }
.tool-card .go { margin-top: auto; padding: 6px 8px 0; font-weight: 600; font-size: 14px; color: var(--brown); }
.related { background: var(--paper-2); padding: 64px 0; }
.related h2 { font-size: clamp(24px, 2.6vw, 32px); }

.wa-cta { padding: 64px 0 80px; }
.wa-cta-card { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 40px clamp(22px, 4vw, 52px); border-radius: 30px; background: var(--tan); color: #fff; }
.wa-cta-card::before { content: ''; position: absolute; right: -60px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 70%); pointer-events: none; }
.wa-cta-card > * { position: relative; }
.wa-cta-card h2 { color: #fff; font-size: clamp(24px, 2.8vw, 34px); margin-top: 14px; }
.wa-cta-card p { margin: 10px 0 0; color: #fff8ec; max-width: 56ch; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.about-copy h2 { margin: 22px 0; }
.about-copy p { color: var(--muted-2); font-size: 15px; line-height: 1.85; max-width: 58ch; margin: 0 0 14px; }
.stats { display: flex; gap: clamp(20px, 4vw, 44px); list-style: none; padding: 0; margin: 30px 0 28px; flex-wrap: wrap; }
.stats strong { display: block; font-family: var(--font-display); font-size: 38px; font-weight: 600; color: var(--brown); line-height: 1; }
.stats span { font-size: 13px; color: var(--muted); }
.about-art { position: relative; display: grid; place-items: center; }
.wheel { width: min(430px, 82vw); aspect-ratio: 1; }
.wheel svg { width: 100%; height: 100%; filter: drop-shadow(0 34px 40px rgba(60, 40, 20, 0.28)); }
.wheel .spin { transform-box: fill-box; transform-origin: center; animation: spin 160s linear infinite; }
.wheel .spin-rev { transform-box: fill-box; transform-origin: center; animation: spin 90s linear infinite reverse; }
.sticker-wheel { right: 4%; bottom: 8%; background: var(--night-2); color: #f6e7cf; transform: rotate(-7deg); }
.how-section { background: var(--paper-2); }
.how-grid, .values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.how-card { padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.how-emoji { font-size: 34px; }
.how-card h3 { font-size: 20px; font-weight: 600; margin: 12px 0 8px; }
.how-card p, .value p { margin: 0; color: var(--muted-2); font-size: 14.5px; line-height: 1.65; }
.how-card a { color: var(--brown); font-weight: 600; }
.value { padding: 22px; border-radius: 18px; border-left: 4px solid var(--gold); background: var(--paper-2); }
.value strong { display: block; font-size: 17px; margin-bottom: 6px; }

/* ---------- horoscope ---------- */
.sign-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sign-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s; }
.sign-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sign-card.is-mine { border-color: var(--brown); box-shadow: 0 0 0 2px rgba(124, 90, 50, 0.2); }
.sign-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 4px; }
.sign-card-top .glyph { font-size: 34px; color: var(--brown); }
.sign-card-vibe { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--night-2); color: #f3e6cc; text-transform: uppercase; letter-spacing: 0.05em; }
.sign-card-vibe:empty { display: none; }
.sign-card strong { font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.sign-card small { font-size: 12px; }
.sign-card-headline { font-size: 14px; color: var(--ink-2); line-height: 1.45; min-height: 41px; }
.sign-card .go { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 13.5px; color: var(--saffron); }

.horoscope { background: linear-gradient(180deg, #fff 0%, var(--paper-2) 100%); }
.sign-strip { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px; margin-bottom: 30px; }
.sign-chip { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 14px 4px 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.sign-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.sign-chip .glyph { font-size: 24px; color: var(--brown); }
.sign-chip .name { font-size: 12.5px; font-weight: 600; }
.sign-chip .dates { font-size: 10px; color: var(--muted); white-space: nowrap; }
.sign-chip[aria-current='page'] { background: var(--brown); border-color: var(--brown); color: #fff; box-shadow: 0 12px 24px -12px rgba(124, 90, 50, 0.8); }
.sign-chip[aria-current='page'] .glyph, .sign-chip[aria-current='page'] .dates { color: #f6e7cf; }
.horoscope-result { transition: opacity 0.25s ease; }
.horoscope-result.is-loading { opacity: 0.45; }
.h-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.h-side { display: grid; gap: 20px; }
.h-top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.big-glyph { width: 64px; height: 64px; flex-shrink: 0; border-radius: 18px; display: grid; place-items: center; font-size: 32px; color: var(--brown); background: linear-gradient(145deg, #f6ebd8, #e6d3b5); }
.h-meta { font-size: 13px; color: var(--muted); }
.h-headline { font-size: clamp(21px, 2vw, 26px); font-weight: 600; margin-top: 2px; }
.vibe-tag { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; background: var(--night-2); color: #f3e6cc; font-size: 11.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.06em; }
.h-reading { font-size: 16.5px; line-height: 1.78; color: var(--ink-2); margin: 0; }
.h-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.h-section { background: var(--paper-2); border-radius: 14px; padding: 16px; }
.h-section h4 { margin-bottom: 6px; }
.h-section p { margin: 0; font-size: 14px; line-height: 1.6; color: #4a423b; }
.context-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.context-chip { display: inline-flex; gap: 6px; align-items: center; font-size: 12.5px; padding: 6px 11px; border-radius: 999px; background: #f2ece1; color: #5b4a35; }
.h-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.timeline { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.timeline li { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--paper-2); font-size: 14px; }
.timeline .when { font-weight: 700; color: var(--brown); }
.timeline .focus { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.text-them { display: flex; align-items: center; gap: 16px; background: var(--night-2); color: #fff; border: 0; position: relative; overflow: hidden; }
.text-them::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(198, 90, 31, 0.6), transparent 70%); }
.text-them h4 { color: var(--gold); margin-bottom: 4px; }
.text-them .big { font-size: 40px; position: relative; z-index: 1; }
.text-them strong { display: block; font-family: var(--font-display); font-size: 21px; font-weight: 600; }
.text-them p { margin: 4px 0 0; font-size: 13px; opacity: 0.8; }
.text-them a { color: var(--gold); font-weight: 600; font-size: 13px; position: relative; z-index: 1; }
.meter { display: grid; grid-template-columns: 26px 1fr 34px; align-items: center; gap: 10px; margin: 11px 0; font-size: 13.5px; }
.meter-label { grid-column: 2 / 4; display: flex; justify-content: space-between; font-weight: 500; color: var(--ink-2); margin-bottom: -6px; }
.meter-bar { grid-column: 2 / 3; height: 10px; border-radius: 999px; background: #efe9de; overflow: hidden; }
.meter-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--saffron)); transition: width 1.1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.meter-value { font-weight: 700; font-size: 13px; text-align: right; }
.meter-emoji { grid-row: span 2; font-size: 18px; }
.lucky-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lucky { background: var(--paper-2); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.lucky small { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin-bottom: 2px; }
.lucky strong { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.lucky.wide { grid-column: span 2; }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: -2px; margin-right: 6px; border: 1px solid rgba(0, 0, 0, 0.12); }
.dodont { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dodont ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.traits-section { background: #fff; }
.traits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.trait { padding: 18px; border-radius: 16px; background: var(--paper-2); }
.trait small { display: block; text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; font-weight: 700; color: var(--brown); margin-bottom: 6px; }
.trait p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.trait-facts { margin: 16px 0 0; font-size: 14px; color: var(--muted-2); }
.match-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.match-link { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: #fff; transition: transform 0.2s, box-shadow 0.2s; }
.match-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.match-link.chaotic { background: #fff6ee; border-color: #f3d3b0; }
.match-link-glyphs { display: flex; align-items: center; gap: 4px; font-size: 22px; color: var(--saffron); }
.match-link-glyphs > span[aria-hidden] { font-size: 14px; color: var(--muted); }
.match-link strong { display: block; font-size: 15px; }
.match-link small { display: block; font-size: 12.5px; margin-top: 2px; }

/* ---------- cosmic weather (dark) ---------- */
.sky { color: #f4ecdd; overflow: hidden; background: radial-gradient(70% 55% at 88% 8%, rgba(198, 90, 31, 0.3), transparent 62%), radial-gradient(60% 55% at 0% 100%, rgba(106, 111, 142, 0.38), transparent 62%), linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); }
.sky-page { padding-top: 44px; }
.stars { position: absolute; inset: 0; opacity: 0.55; pointer-events: none; background-image: radial-gradient(1px 1px at 20px 30px, #fff, transparent), radial-gradient(1px 1px at 140px 80px, #fff, transparent), radial-gradient(1.5px 1.5px at 260px 160px, #fff, transparent), radial-gradient(1px 1px at 80px 220px, #fff, transparent), radial-gradient(1px 1px at 330px 40px, #fff, transparent), radial-gradient(1.2px 1.2px at 210px 290px, #fff, transparent); background-size: 360px 320px; animation: twinkle 6s ease-in-out infinite alternate; }
.sky .container { position: relative; }
.sky-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.sky h1, .sky h2 { color: #fff; font-size: clamp(34px, 4.6vw, 58px); margin: 18px 0 6px; }
.sky-verdict { font-family: var(--font-display); font-size: clamp(84px, 13vw, 168px); font-weight: 700; line-height: 0.95; letter-spacing: -0.05em; background: linear-gradient(95deg, #f7d58e 10%, var(--saffron) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sky-verdict .emoji { -webkit-text-fill-color: initial; color: initial; font-size: 0.55em; vertical-align: 0.25em; margin-left: 8px; }
.sky-line { font-size: 18px; color: #eadfcb; max-width: 44ch; margin: 14px 0 22px; }
.sky-vibe { margin-top: 4px; padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); max-width: 560px; }
.sky-vibe:empty { display: none; }
.sky-vibe strong { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: #fff; }
.sky-vibe p { margin: 6px 0 0; color: #d9cdb9; font-size: 14.5px; }
.sky-side { display: grid; gap: 16px; }
.moon-card, .season-card { border-radius: 22px; padding: 22px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }
.moon-card { display: grid; grid-template-columns: 130px 1fr; gap: 20px; align-items: center; }
.moon-card h3, .season-card h3 { font-size: 22px; color: #fff; font-weight: 600; }
.moon-card .sub, .season-card .sub { color: #cbbfae; font-size: 14px; margin: 4px 0 0; }
.moon-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.moon-facts span { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); color: #eadfcb; }
.season-card { display: flex; gap: 16px; align-items: center; }
.season-glyph { width: 58px; height: 58px; flex-shrink: 0; border-radius: 16px; display: grid; place-items: center; font-size: 30px; color: var(--night-2); background: linear-gradient(145deg, #f7d58e, var(--gold)); }
.season-card a { color: var(--gold); font-weight: 600; }
.planets-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 56px 0 18px; }
.planets-head h2 { color: #fff; font-size: 24px; font-weight: 600; margin: 0; }
.planets-head h2 span { color: #a99c8a; font-weight: 400; }
.planets-head p { margin: 0; color: #cbbfae; font-size: 14px; }
.planet-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.planet { position: relative; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.09); transition: transform 0.2s ease, background 0.2s ease; }
.planet:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.08); }
.planet.rx { border-color: rgba(219, 164, 82, 0.55); background: rgba(219, 164, 82, 0.08); }
.planet .pg { font-size: 24px; color: var(--gold); }
.planet h4 { margin: 10px 0 2px; font-size: 15px; color: #fff; font-weight: 600; letter-spacing: 0; }
.planet .where { font-size: 13.5px; color: #eadfcb; }
.planet .rules { font-size: 11.5px; color: #a99c8a; margin-top: 6px; line-height: 1.4; }
.rx-badge { position: absolute; top: 14px; right: 14px; font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--saffron); color: #fff; letter-spacing: 0.06em; }
.retro-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.retro-item { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.retro-item.now { border-color: rgba(198, 90, 31, 0.5); background: #fff6ee; }
.retro-item .pg { font-size: 26px; color: var(--brown); text-align: center; }
.retro-item strong { display: block; font-size: 15.5px; }
.retro-item span.when { font-size: 13.5px; color: var(--muted-2); }
.status-pill { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.status-pill.rx { background: var(--saffron); color: #fff; }
.status-pill.direct { background: #e7f3ea; color: #2f7a4f; }
.tips-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tip { padding: 18px; border-radius: 16px; background: var(--paper-2); font-size: 14.5px; line-height: 1.55; color: var(--muted-2); }
.tip strong { display: block; color: var(--ink); margin-bottom: 6px; }
.tip a { display: inline-block; margin-top: 6px; color: var(--brown); font-weight: 600; }

/* ---------- problems ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.problem-tile { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.problem-tile:hover { transform: translateY(-3px); border-color: var(--tan-2); box-shadow: var(--shadow-sm); }
.problem-tile .pe { font-size: 26px; line-height: 1; }
.problem-tile strong { display: block; font-size: 14.5px; font-weight: 600; }
.problem-tile small { display: block; font-size: 12px; margin-top: 3px; line-height: 1.4; }
.problem-form { padding: 22px; }
.problem-controls { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.problem-controls .field:first-child { min-width: 200px; }
.field-grow { flex: 1; min-width: 240px; }
.solution { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px; margin-top: 26px; align-items: start; }
.solution-side { display: grid; gap: 20px; }
.solution-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.solution-head .pe { font-size: 40px; }
.solution-head h3 { font-size: 24px; font-weight: 600; }
.diagnosis { font-size: 17px; line-height: 1.7; color: var(--ink-2); margin: 0 0 16px; }
.cosmic-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.cosmic-list li { padding: 12px 14px; border-radius: 12px; background: #f4eff9; color: #3b2f4d; font-size: 14px; line-height: 1.55; }
.cosmic-list li::before { content: '✦ '; color: #7b5cb3; }
.sign-angle { font-size: 14px; color: var(--muted-2); margin: 0 0 18px; padding-left: 12px; border-left: 3px solid var(--gold); }
.fix-list { counter-reset: fix; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.fix-list li { counter-increment: fix; display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 15px; line-height: 1.55; }
.fix-list li::before { content: counter(fix); width: 28px; height: 28px; border-radius: 50%; background: var(--brown); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.verdict-card { text-align: center; background: var(--night-2); color: #fff; border: 0; }
.verdict-card h4 { color: var(--gold); }
.verdict-card .big { font-size: 52px; }
.verdict-card strong { display: block; font-family: var(--font-display); font-size: 24px; margin-top: 6px; }
.affirmation { font-family: var(--font-serif); font-style: italic; font-size: 27px; line-height: 1.28; color: var(--brown-deep); margin: 0; }
.ritual { font-size: 14.5px; line-height: 1.6; margin: 0; color: var(--ink-2); }
.heard { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.heard li { font-size: 14px; padding: 10px 12px; background: #fff7e8; border-radius: 10px; color: #6b4a1a; }
.realtalk { background: #fff4e8; border: 1px solid #f3d3b0; border-radius: 14px; padding: 14px 16px; font-size: 14px; line-height: 1.55; color: #6b4a1a; }
.wa-card { background: #effaf3; border-color: #bfe8cf; }
.wa-card h4 { color: var(--wa-dark); }
.wa-card p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.next-links { display: grid; gap: 8px; }
.next-links a { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--paper-2); font-weight: 600; font-size: 14px; color: var(--brown); transition: background 0.2s; }
.next-links a:hover { background: #f2ead9; }
.support-card { border: 2px solid #f0c9a8; background: #fffaf3; margin-top: 26px; }
.support-card h3 { font-size: 22px; margin-bottom: 10px; }
.support-card ul { margin: 14px 0 0; padding-left: 18px; display: grid; gap: 6px; }

/* ---------- match ---------- */
.match { background: linear-gradient(180deg, var(--paper-2), #fbf5ec); }
.match-form { display: grid; grid-template-columns: 1fr auto 1fr; gap: 26px; align-items: center; max-width: 880px; margin: 0 auto; }
.match-person { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: grid; gap: 12px; box-shadow: var(--shadow-sm); }
.match-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 700; }
.match-heart { width: 116px; height: 116px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; display: grid; place-items: center; align-content: center; gap: 2px; background: radial-gradient(circle at 35% 30%, #f7b58a, var(--saffron) 70%); box-shadow: 0 20px 40px -14px rgba(198, 90, 31, 0.7); animation: heartbeat 2.6s ease-in-out infinite; font-weight: 700; font-size: 13px; }
.match-heart .heart-emoji { font-size: 34px; line-height: 1; }
.match-heart:hover { animation-play-state: paused; transform: scale(1.06); }
.match-result { margin-top: 36px; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; align-items: start; }
.score-card { text-align: center; }
.score-ring { position: relative; width: 200px; height: 200px; margin: 0 auto; }
.score-ring svg { transform: rotate(-90deg); }
.score-ring .ring-fg { transition: stroke-dashoffset 1.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.score-num { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; font-family: var(--font-display); font-size: 54px; font-weight: 700; line-height: 1; }
.score-num small { font-size: 13px; font-family: var(--font); font-weight: 500; margin-top: 4px; }
.pair { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; font-weight: 600; flex-wrap: wrap; }
.pair .glyph { color: var(--saffron); font-size: 20px; }
.verdict-title { font-family: var(--font-display); font-size: 28px; font-weight: 600; margin: 4px 0 6px; }
.match-details { display: grid; gap: 20px; }
.flags { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.flags ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; line-height: 1.5; }
.flag-green h4 { color: #2f7a4f; }
.flag-red h4 { color: #b23b1e; }
.match-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }

/* ---------- big three ---------- */
.chart { background: linear-gradient(180deg, var(--paper-2), #fff); }
.chart-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 40px; align-items: start; }
.chart-form { display: grid; gap: 14px; }
.city-picker { position: relative; }
.city-list { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); max-height: 280px; overflow: auto; }
.city-list li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 8px; cursor: pointer; font-size: 14px; }
.city-list li span { color: var(--muted); font-size: 12.5px; }
.city-list li[aria-selected='true'], .city-list li:hover { background: #f6f0e5; }
.city-list .empty { color: var(--muted); cursor: default; }
.chart-placeholder { min-height: 440px; display: grid; place-items: center; align-content: center; gap: 18px; text-align: center; color: var(--muted-2); border: 1.5px dashed #e3d8c6; border-radius: 26px; background: #fdfbf7; padding: 24px; }
.placeholder-orbs { display: flex; gap: 14px; justify-content: center; }
.placeholder-orbs span { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; color: #fff; font-family: var(--font-glyph); }
.placeholder-orbs span:nth-child(1) { background: linear-gradient(160deg, #f3b65b, var(--saffron)); }
.placeholder-orbs span:nth-child(2) { background: linear-gradient(160deg, var(--dusk), #2f3558); }
.placeholder-orbs span:nth-child(3) { background: linear-gradient(160deg, var(--tan), var(--brown-deep)); }
.chart-summary { font-size: 16px; line-height: 1.7; margin: 0 0 18px; color: var(--ink-2); }
.big-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.b3 { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 240px; padding: 20px; border-radius: 22px; color: #fff; }
.b3::after { content: ''; position: absolute; right: -30px; bottom: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.b3-sun { background: linear-gradient(160deg, #f3b65b, var(--saffron)); }
.b3-moon { background: linear-gradient(160deg, var(--dusk), #2f3558); }
.b3-rising { background: linear-gradient(160deg, var(--tan), var(--brown-deep)); }
.b3-rising.locked { background: repeating-linear-gradient(135deg, #efe7da 0 10px, #f6f0e5 10px 20px); color: var(--muted-2); }
.b3-label { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.88; font-weight: 600; }
.b3-glyph { font-size: 44px; margin: 12px 0 6px; }
.b3 h3 { font-size: 24px; font-weight: 600; }
.b3 .deg { font-size: 12.5px; opacity: 0.85; }
.b3 p { position: relative; z-index: 1; margin: 10px 0 0; font-size: 13.5px; line-height: 1.5; }
.moon-alt { margin: 12px 0 0; font-size: 13px; color: var(--muted-2); }
.element-card { margin-top: 16px; }
.element-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; margin: 10px 0 8px; background: #efe9de; }
.element-bar span { height: 100%; }
.el-fire { background: #e8743b; } .el-earth { background: #8aa36c; } .el-air { background: #a7c7e7; } .el-water { background: #6a6f8e; }
.element-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted-2); }
.element-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; }
.placements { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.placement { display: grid; grid-template-columns: 38px 1fr; gap: 10px; padding: 12px; border-radius: 14px; background: var(--paper-2); }
.placement .pg { font-size: 22px; color: var(--brown); text-align: center; padding-top: 2px; }
.placement strong { font-size: 14px; }
.placement em { font-style: normal; color: var(--saffron); font-weight: 600; }
.placement p { margin: 3px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--muted-2); }

/* ---------- consultation ---------- */
.reading-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.reading { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 22px; border: 1px solid var(--line); background: #fff; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.reading:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.reading .re { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; }
.reading h3 { font-size: 19px; font-weight: 600; }
.reading p { margin: 0; color: var(--muted-2); font-size: 14.5px; line-height: 1.6; }
.reading ul { margin: 0 0 6px; padding-left: 18px; font-size: 14px; color: var(--ink-2); display: grid; gap: 4px; }
.reading .btn { margin-top: auto; align-self: flex-start; }
.steps-section { background: var(--paper-2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.steps li { counter-increment: step; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brown); color: #fff; font-weight: 700; margin-bottom: 14px; }
.steps strong { font-size: 17px; }
.steps p { margin: 6px 0 0; font-size: 14.5px; color: var(--muted-2); line-height: 1.6; }

/* ---------- the void (dark) ---------- */
.void { background: #0e0912; color: #efe6d8; overflow: hidden; padding-top: 44px; }
.void::before { content: ''; position: absolute; left: -10%; top: 10%; width: 60%; height: 80%; background: radial-gradient(circle, rgba(106, 63, 160, 0.28), transparent 65%); pointer-events: none; }
.void .container { position: relative; }
.void h1 { color: #fff; margin-top: 16px; font-size: clamp(34px, 4.4vw, 54px); }
.void .lede { color: #bfb3a2; }
.void-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.void-form { margin-top: 26px; padding: 18px; border-radius: 22px; background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.1); }
.void-form textarea { width: 100%; min-height: 130px; resize: vertical; border: 0; outline: none; background: transparent; color: #fff; font-size: 16.5px; line-height: 1.6; }
.void-form textarea::placeholder { color: #8d8191; }
.void-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.void-meta select { border: 1px solid rgba(255, 255, 255, 0.14); background: #1a1220; color: #efe6d8; border-radius: 10px; padding: 9px 12px; font-size: 14px; }
.mood-picker { display: flex; gap: 6px; }
.mood { width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.12); background: transparent; font-size: 19px; cursor: pointer; transition: transform 0.15s, background 0.2s, border-color 0.2s; }
.mood:hover { transform: translateY(-2px); }
.mood[aria-checked='true'] { background: rgba(219, 164, 82, 0.18); border-color: var(--gold); }
.void-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.counter { font-size: 12.5px; color: #8d8191; }
.counter.warn { color: var(--gold); }
.void-note { margin: 16px 0 0; font-size: 13px; color: #a99c8a; }
.confession-list { columns: 2; column-gap: 14px; margin-top: 16px; }
.confession { break-inside: avoid; margin: 0 0 14px; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); animation: fadeUp 0.5s ease both; }
.confession.fresh { border-color: rgba(219, 164, 82, 0.6); box-shadow: 0 0 0 4px rgba(219, 164, 82, 0.08); }
.confession-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: #a99c8a; }
.confession-meta .who { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.confession-meta .glyph { color: var(--gold); font-size: 15px; }
.sample-tag { font-size: 9.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); text-transform: uppercase; letter-spacing: 0.08em; color: #cbbfae; }
.confession p { margin: 10px 0 12px; font-size: 15px; line-height: 1.55; color: #f4ecdd; white-space: pre-line; overflow-wrap: anywhere; }
.confession .reply { font-size: 13px; color: var(--gold); font-style: italic; margin: 0; }
.reactions { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.react { display: inline-flex; gap: 5px; align-items: center; border: 1px solid rgba(255, 255, 255, 0.14); background: transparent; color: #efe6d8; border-radius: 999px; padding: 5px 11px; font-size: 13px; cursor: pointer; transition: background 0.2s, border-color 0.2s, transform 0.15s; }
.react:hover { transform: translateY(-1px); }
.react[aria-pressed='true'] { background: rgba(219, 164, 82, 0.2); border-color: var(--gold); }
.void-support { margin-top: 16px; padding: 18px; border-radius: 18px; background: #fff7ee; color: #4a2f17; }
.void-support .support-card { margin-top: 0; }

/* ---------- 404 ---------- */
.notfound { text-align: center; }
.notfound-art { font-size: 84px; animation: floaty 6s ease-in-out infinite; }
.notfound h1 { font-size: clamp(38px, 5vw, 64px); margin: 12px 0; }
.notfound .lede { margin: 0 auto 26px; }
.notfound-tools { margin-top: 56px; text-align: left; }

/* ---------- footer ---------- */
.site-footer { background: #22170f; color: #e9dcc4; padding: 64px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-grid h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 14px; font-weight: 600; }
.footer-grid a:not(.brand):not(.btn) { display: block; color: #d6c8b0; font-size: 14.5px; padding: 4px 0; transition: color 0.2s; }
.footer-grid a:not(.brand):not(.btn):hover { color: #fff; }
.footer-brand p, .footer-note { font-size: 14px; line-height: 1.7; color: #bfae94; margin: 14px 0 18px; max-width: 34ch; }
.brand-light .brand-name { color: #f6ecd8; }
.fineprint { margin: 44px 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 12.5px; color: #9c8b73; }

/* ---------- toasts & confetti ---------- */
.toasts { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 400; display: grid; gap: 8px; width: max-content; max-width: calc(100vw - 32px); pointer-events: none; }
.toasts[popover] { inset: auto auto 22px 50%; margin: 0; border: 0; padding: 0; background: transparent; overflow: visible; color: inherit; }
.toast { background: var(--night-2); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 14px; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.55); animation: toastIn 0.3s ease both; text-align: center; }
.toast.error { background: #7a1f1f; }
.toast.out { animation: toastOut 0.3s ease forwards; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 500; overflow: hidden; }
.confetti[popover] { inset: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; border: 0; padding: 0; background: transparent; }
.confetti i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: confettiFall linear forwards; }

/* ---------- keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes phoneFloat { 0%, 100% { transform: translateX(-50%) rotate(-6deg) translateY(0); } 50% { transform: translateX(-50%) rotate(-4.5deg) translateY(-10px); } }
@keyframes notifIn { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes twinkle { from { opacity: 0.35; } to { opacity: 0.7; } }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.07); } 28% { transform: scale(1); } 42% { transform: scale(1.05); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes dropIn { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }
@keyframes confettiFall { to { transform: translate3d(var(--dx), 105vh, 0) rotate(var(--rot)); } }
@keyframes waPulse { from { transform: scale(1); opacity: 0.7; } to { transform: scale(1.55); opacity: 0; } }

/* ---------- responsive ---------- */
@media (max-width: 1360px) {
  .main-nav { gap: 18px; font-size: 14px; }
}

@media (max-width: 1200px) {
  .sign-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .chip-2 { left: -6%; }
  .tool-grid-4, .match-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tips-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .menu-btn { display: grid; }
  .main-nav { position: absolute; top: calc(100% - 6px); left: 0; right: 0; display: none; flex-direction: column; gap: 0; padding: 10px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
  .main-nav.open { display: flex; animation: fadeUp 0.2s ease; }
  .main-nav a { padding: 12px 14px; border-radius: 10px; font-size: 16px; }
  .main-nav a:hover, .main-nav a.is-active { background: var(--paper-2); }
  .main-nav a::after { display: none; }

  .hero { padding-top: 120px; }
  .hero-panel { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .service-cards { max-width: none; }
  .hero-visual { height: 640px; margin-top: 36px; border-radius: 40px; background: var(--tan); }
  .phone { left: 50%; top: 40px; }
  .hero-moon { right: 6%; top: 34px; }
  .chip-1 { left: 5%; top: 110px; }
  .chip-2 { left: 3%; top: 320px; }
  .chip-3 { right: 5%; top: 210px; }
  .chip-4 { right: 3%; top: 350px; }
  .chip-5 { left: 7%; right: auto; top: 480px; }

  .page-hero-panel { width: 26%; }
  .about-grid, .sky-grid, .chart-grid, .void-grid { grid-template-columns: 1fr; }
  .about-art { order: -1; }
  .h-grid, .solution { grid-template-columns: 1fr; }
  .sign-grid, .reading-grid, .traits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .planet-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .problem-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .match-result { grid-template-columns: 1fr; }
  .how-grid, .values, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .retro-list { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .header-inner, .site-header.is-stuck .header-inner, .site-header.is-solid .header-inner { height: 64px; gap: 12px; }
  .wa-btn { width: 42px; height: 42px; padding: 0; }
  .wa-btn span { display: none; }
  .hero { padding-top: 96px; }
  .hero-cta { flex-direction: column; gap: 16px; }
  .service-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 36px; }
  .service-card .label { font-size: 10.5px; }
  .hero-visual { height: 610px; border-radius: 32px; overflow: hidden; }
  .phone { width: 236px; height: 486px; top: 58px; }
  .phone-island { width: 70px; height: 22px; }
  .phone-status { left: 18px; right: 18px; font-size: 9px; }
  .lock-time { font-size: 54px; }
  .chip { font-size: 12.5px; padding: 8px 12px; }
  .chip-2, .chip-3, .chip-4 { display: none; }
  .chip-1 { left: 5%; top: 16px; }
  .chip-5 { left: 0; right: 0; top: auto; bottom: 16px; width: max-content; margin: 0 auto; }
  .hero-moon { width: 80px; height: 80px; top: 14px; right: 5%; }
  .hero-lineart { width: 460px; height: 460px; left: -200px; }
  .ticker-track { font-size: 13px; padding: 11px 0; }

  .page-hero { padding: 28px 0 40px; }
  .page-hero-panel { display: none; }
  .page-hero-art { position: relative; right: auto; top: auto; transform: rotate(-6deg); width: 84px; font-size: 42px; margin-bottom: 18px; box-shadow: 0 16px 30px -14px rgba(60, 40, 20, 0.5), 0 0 0 6px var(--cream); }
  .sign-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .sign-strip::-webkit-scrollbar { display: none; }
  .sign-chip { flex: 0 0 88px; scroll-snap-align: start; }
  .card { padding: 20px; }
  .h-sections, .dodont, .flags, .traits, .sign-grid, .reading-grid, .tool-grid-4, .match-links, .tips-grid { grid-template-columns: 1fr; }
  .vibe-tag { margin-left: 0; }
  .planet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .moon-card { grid-template-columns: 96px 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-controls .btn { width: 100%; }
  .match-form { grid-template-columns: 1fr; gap: 14px; }
  .match-heart { margin: 0 auto; width: 96px; height: 96px; }
  .match-facts { grid-template-columns: 1fr 1fr; }
  .big-three { grid-template-columns: 1fr; }
  .b3 { min-height: 0; }
  .placements { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .confession-list { columns: 1; }
  .wa-cta-card { grid-template-columns: 1fr; }
  .wa-cta-card .btn { justify-self: start; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats strong { font-size: 30px; }
  .wa-fab { right: 14px; bottom: 14px; width: 54px; height: 54px; }
}

@media (max-width: 420px) {
  .service-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card .label { font-size: 12px; }
  .brand-name { font-size: 12.5px; letter-spacing: 0.05em; }
  .brand-orb { width: 26px; height: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
