:root {
  --purple: #4b0067;
  --heading: #67166e;
  --pink: #e9088e;
  --cream: #fbf8ef;
  --paper: #fffdf9;
  --ink: #302936;
  --muted: #6d6370;
  --line: #e5d7e8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
}
a { color: var(--heading); }
img { display: block; max-width: 100%; }

.announcement {
  padding: 8px 20px;
  background: var(--purple);
  color: #fff;
  font-family: "Lora", Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 12px max(28px, calc((100vw - 1180px) / 2));
  background: var(--paper);
  border-bottom: 1px solid rgba(75, 0, 103, .1);
}
.brand img {
  width: 185px;
  height: auto;
  filter: brightness(0) saturate(100%) invert(14%) sepia(75%) saturate(4650%) hue-rotate(274deg) brightness(75%);
}
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: #493f4c; font-size: 15px; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--pink); }
.nav-cta { padding: 9px 15px; border-radius: 8px; background: var(--pink); color: #fff !important; }

.rainbow-bg {
  background:
    radial-gradient(circle at 8% 35%, rgba(205, 255, 239, .75), transparent 34%),
    radial-gradient(circle at 51% 50%, rgba(255, 220, 232, .78), transparent 40%),
    radial-gradient(circle at 92% 25%, rgba(211, 220, 255, .85), transparent 36%),
    #f7f0f4;
}
.hub-hero { padding: 78px 28px 70px; }
.hub-hero-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 64px;
}
.eyebrow {
  margin: 0 0 10px;
  color: #981177;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1, h2, h3 {
  color: var(--heading);
  font-family: "Lora", Georgia, serif;
  line-height: 1.2;
}
h1 { margin: 0 0 20px; font-size: clamp(40px, 5vw, 64px); }
.hub-hero-copy > p:not(.eyebrow) { margin: 0 0 28px; font-size: 21px; line-height: 1.55; }
.hub-hero img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: 0 24px 54px rgba(72, 16, 82, .2); }
.palm-hub-hero img { aspect-ratio: 3 / 2; }
.psychic-abilities-hub-hero img { aspect-ratio: 3 / 2; }
.blog-directory-hero { margin-top: 24px; }
.blog-directory-hero .hub-hero-inner { grid-template-columns: minmax(0, 820px); justify-content: center; }
.blog-directory-hero .hub-hero-copy { text-align: center; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 9px;
  background: var(--pink);
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}
.button:hover { background: #cf007c; }
.button-secondary { background: var(--purple); }

.section { padding: 68px 28px; }
.section-inner { width: min(1060px, 100%); margin: 0 auto; }
.section-heading { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.section-heading h2 { margin: 0 0 12px; font-size: clamp(31px, 4vw, 43px); }
.section-heading p { margin: 0; color: var(--muted); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.intro-grid h2 { margin-top: 0; font-size: 34px; }
.intro-grid p:first-of-type { margin-top: 0; }
.note {
  padding: 24px 26px;
  border: 1px solid #dbc3e2;
  border-radius: 14px;
  background: #f8ecfb;
}
.note h3 { margin: 0 0 7px; font-size: 21px; }
.note p { margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.psychic-ability-steps { grid-template-columns: repeat(4, 1fr); }
.step {
  counter-increment: step;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.step::before {
  content: counter(step);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-weight: 800;
}
.step h3 { margin: 0 0 8px; font-size: 22px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.psychic-abilities-guides { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); justify-content: center; }
.card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(79, 29, 96, .06);
}
.card .tag { color: #9c167f; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.card h3 { margin: 8px 0 10px; font-size: 24px; }
.card p { margin: 0 0 20px; color: var(--muted); font-size: 16px; }
.card a:last-child { margin-top: auto; font-weight: 800; text-decoration: none; }
.blog-directory-grid { align-items: stretch; }
.blog-directory-card { padding: 0; overflow: hidden; }
.blog-directory-card > img { width: 100%; height: 240px; object-fit: cover; }
.blog-directory-card:first-child > img { object-position: center 18%; }
.blog-directory-card > div { display: flex; flex: 1; flex-direction: column; padding: 28px; }
.blog-directory-card > div > a:last-child { margin-top: auto; font-weight: 800; text-decoration: none; }

.faq-list { max-width: 850px; margin: 0 auto; }
.faq-list details { margin-bottom: 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.faq-list summary { padding: 17px 20px; color: var(--heading); font-weight: 800; cursor: pointer; }
.faq-list details p { margin: 0; padding: 0 20px 19px; }
.cta-band { padding: 55px 28px; background: var(--purple); color: #fff; text-align: center; }
.cta-band > div { width: min(740px, 100%); margin: 0 auto; }
.cta-band h2 { margin: 0 0 12px; color: #fff; font-size: 38px; }
.cta-band p { margin: 0 0 23px; color: rgba(255,255,255,.82); }

.breadcrumbs { width: min(1080px, calc(100% - 48px)); margin: 24px auto 0; color: var(--muted); font-size: 14px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.article-header { width: min(900px, calc(100% - 48px)); margin: 0 auto; padding: 58px 0 34px; text-align: center; }
.article-header h1 { font-size: clamp(38px, 5.4vw, 58px); }
.article-deck { max-width: 760px; margin: 0 auto 18px; color: #514758; font-size: 21px; line-height: 1.55; }
.byline { color: var(--muted); font-size: 14px; }
.article-hero { width: min(980px, calc(100% - 48px)); margin: 0 auto; }
.article-hero img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 20px; }
:is(.relationship-conversion, .psychic-conversion) .article-header { padding-bottom: 18px; }
.relationship-conversion .article-hero img { max-height: 300px; object-position: center 40%; }
:is(.relationship-conversion, .psychic-conversion) .article-body .early-reading-link { margin: 18px 0 28px; font-size: 16px; }
:is(.relationship-conversion, .psychic-conversion) .reading-benefits { padding-left: 24px; }
:is(.relationship-conversion, .psychic-conversion) .question-offer { padding: 22px 24px; margin: 22px 0 34px; border: 1px solid var(--line); border-radius: 12px; background: #f7ebf8; }
:is(.relationship-conversion, .psychic-conversion) .article-body .offer-details { font-size: 14px; line-height: 1.6; }
:is(.relationship-conversion, .psychic-conversion) .question-offer > :last-child { margin-bottom: 0; }
:is(.relationship-conversion, .psychic-conversion) :is(.callout, .question-offer, .reading-bridge) .button { max-width: 100%; white-space: normal; overflow-wrap: anywhere; text-align: center; }
.psychic-conversion .psychic-abilities-article-hero img { max-height: none; height: auto; }
:is(.relationship-conversion, .psychic-conversion) .maria-portrait-hero { text-align: center; background: var(--paper); border-radius: 20px; }
:is(.relationship-conversion, .psychic-conversion) .maria-portrait-hero img { width: auto; height: 380px; max-width: 100%; max-height: none; object-fit: contain; }
.psychic-conversion .additional-reading-questions { margin: 20px 0 28px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; }
.psychic-conversion .additional-reading-questions summary { cursor: pointer; font-weight: 700; }
.psychic-conversion .additional-reading-questions ul { margin: 18px 0 0; }
.palm-article-hero img { max-height: none; height: auto; aspect-ratio: 3 / 2; }
.article-hero img[src*="maria-psychic-tarot-reader-v4"] { object-position: center 10%; }
.article-layout {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0 76px;
  display: grid;
  grid-template-columns: minmax(0, 720px) 260px;
  justify-content: space-between;
  gap: 56px;
}
.article-body { min-width: 0; }
.article-body > p:first-child { font-size: 21px; }
.article-body h2 { margin: 45px 0 12px; font-size: 32px; }
.article-body h3 { margin: 28px 0 8px; font-size: 23px; }
.article-body p, .article-body ul, .article-body ol { margin-top: 0; }
.article-body li + li { margin-top: 8px; }
.article-body blockquote {
  margin: 32px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--pink);
  background: #f7ebf8;
  color: #4e3b52;
  font-family: "Lora", Georgia, serif;
  font-size: 21px;
}
.comparison-table-wrap { margin: 24px 0 34px; overflow-x: auto; }
.comparison-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 15px; line-height: 1.45; }
.comparison-table th, .comparison-table td { padding: 13px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison-table th { background: #f3e8f6; color: var(--heading); font-weight: 800; }
.comparison-table td:first-child { font-weight: 700; }
.article-body .palm-teaching-visual {
  margin: 30px 0 38px;
  overflow: hidden;
  border: 1px solid #dfcfe5;
  border-radius: 16px;
  background: #fffaf6;
  box-shadow: 0 12px 28px rgba(70, 27, 82, .09);
}
.palm-teaching-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #fbf6ef;
}
.article-body .palm-teaching-visual figcaption {
  padding: 15px 18px 17px;
  border-top: 1px solid #eadfea;
  color: #5a4860;
  font-size: 14px;
  line-height: 1.55;
}
.palm-teaching-visual figcaption strong { color: var(--heading); }
.article-body .callout {
  margin: 32px 0;
  padding: 24px 26px;
  border: 1px solid #dbc3e2;
  border-radius: 13px;
  background: #fdf8ff;
}
.article-body .callout h2, .article-body .callout h3 { margin-top: 0; }
.article-body .reader-moment {
  margin: 28px 0 32px;
  padding: 18px 21px;
  border-left: 3px solid #d72099;
  border-radius: 0 12px 12px 0;
  background: linear-gradient(90deg, #fff4fb, #fdf9ff);
  color: #593d5c;
  font-family: "Lora", Georgia, serif;
  font-size: 19px;
  line-height: 1.55;
}
.article-body .palm-mid-reading-cta {
  margin: 36px 0;
  padding: 20px 22px;
  border: 1px solid #e0c9e5;
  border-left: 4px solid var(--pink);
  border-radius: 12px;
  background: #fff8fc;
}
.article-body .palm-mid-reading-cta p { margin: 0 0 8px; color: #573e59; font-size: 16px; line-height: 1.6; }
.article-body .palm-mid-reading-cta a { color: #8b126c; font-size: 15px; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body .palm-mid-reading-cta a:hover { color: #c30079; }
.article-body .reading-bridge {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(180px, .62fr);
  margin: 42px 0;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 16% 12%, rgba(255,255,255,.24), transparent 31%),
    linear-gradient(135deg, #35104f 0%, #5c176e 54%, #a8137d 100%);
  box-shadow: 0 14px 30px rgba(69, 18, 104, .22);
  color: #fff;
}
.reading-bridge-copy { padding: 31px 32px 30px; }
.psychic-conversion .reading-bridge-details { grid-column: 1 / -1; padding: 0 32px 30px; }
.psychic-conversion .reading-bridge-details h3 { color: #fff; }
.psychic-conversion .reading-bridge-details .offer-details a { color: #fff; text-underline-offset: 3px; }
.psychic-conversion .reading-bridge > img { align-self: start; height: auto; min-height: 0; object-fit: contain; }
.article-body .reading-bridge-eyebrow {
  margin: 0 0 9px;
  color: #ffd6ed;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.article-body .reading-bridge h2 {
  margin: 0 0 13px;
  color: #fff;
  font-size: 30px;
  line-height: 1.12;
}
.article-body .reading-bridge p:not(.reading-bridge-eyebrow) { color: #f9eaf5; }
.article-body .reading-bridge .button {
  margin-top: 5px;
  background: #fff;
  color: #81105f;
  box-shadow: 0 5px 12px rgba(32, 4, 49, .22);
}
.article-body .reading-bridge .button:hover { background: #fff0fa; }
.reading-bridge img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center;
  background: #301150;
}
.article-body .reading-bridge.palm-tool-bridge { display: block; }
.palm-tool-bridge .reading-bridge-copy { max-width: 680px; }

.palm-waitlist-dialog {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 20px;
  background: transparent;
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(35, 4, 52, .38);
}
.palm-waitlist-dialog::backdrop { background: rgba(25, 6, 34, .72); }
.palm-waitlist-card {
  position: relative;
  padding: 38px;
  background: radial-gradient(circle at 100% 0, rgba(231, 182, 255, .34), transparent 40%), var(--paper);
}
.palm-waitlist-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.palm-waitlist-eyebrow {
  margin: 0 0 8px;
  color: #981177;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.palm-waitlist-card h2 { margin: 0 32px 12px 0; font-size: 34px; }
.palm-waitlist-card > p { line-height: 1.55; }
.palm-waitlist-form { margin-top: 24px; }
.palm-waitlist-form label:not(.palm-waitlist-honeypot) { display: block; margin-bottom: 7px; color: var(--heading); font-size: 15px; font-weight: 800; }
.palm-waitlist-form input[type="email"] { width: 100%; min-height: 52px; margin-bottom: 13px; padding: 12px 14px; border: 1px solid #cdb8d2; border-radius: 9px; background: #fff; color: var(--ink); font: inherit; }
.palm-waitlist-form input[type="email"]:focus { outline: 3px solid rgba(233, 8, 142, .18); border-color: var(--pink); }
.palm-waitlist-form .button { width: 100%; border: 0; cursor: pointer; }
.palm-waitlist-form .button:disabled { cursor: wait; opacity: .68; }
.palm-waitlist-honeypot { position: absolute; left: -10000px; }
.palm-waitlist-status { min-height: 1.5em; margin: 12px 0 0; font-size: 15px; line-height: 1.45; }
.palm-waitlist-status--success { color: #246230; font-weight: 700; }
.palm-waitlist-status--error { color: #a31d31; font-weight: 700; }
.palm-waitlist-note { margin: 15px 0 0; color: var(--muted); font-size: 13px; }

@media (max-width: 560px) {
  .palm-waitlist-card { padding: 30px 22px 25px; }
  .palm-waitlist-card h2 { font-size: 28px; }
}
.article-aside { align-self: start; position: sticky; top: 24px; }
.aside-box { padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.aside-box + .aside-box { margin-top: 18px; }
.aside-box h2 { margin: 0 0 12px; font-size: 20px; }
.aside-box a { display: block; margin: 8px 0; font-size: 14px; font-weight: 700; line-height: 1.4; text-decoration: none; }
.aside-box p { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.aside-box .button { color: #fff; text-align: center; }

.footer { padding: 48px 28px 30px; background: #310044; color: rgba(255,255,255,.72); }
.footer-inner { width: min(1060px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 42px; }
.footer img { width: 190px; height: auto; margin-bottom: 14px; }
.footer h2 { margin: 0 0 14px; color: #fff; font-size: 19px; }
.footer a { display: block; margin-bottom: 9px; color: rgba(255,255,255,.76); font-size: 14px; text-decoration: none; }
.footer small { width: min(1060px, 100%); display: block; margin: 35px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }

@media (max-width: 820px) {
  body { font-size: 17px; }
  .site-header { justify-content: center; }
  .site-nav a:not(.nav-cta) { display: none; }
  .hub-hero { padding-top: 52px; }
  .hub-hero-inner, .intro-grid, .article-layout { grid-template-columns: 1fr; }
  .hub-hero-copy { text-align: center; }
  .hub-hero img { max-height: 420px; }
  .steps, .cards { grid-template-columns: 1fr; }
  .article-layout { gap: 26px; }
  .article-aside { position: static; }
  .article-body .reading-bridge { grid-template-columns: minmax(0, 1fr) 240px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .announcement { font-size: 12px; }
  .site-header { padding: 11px 18px; }
  .brand img { width: 150px; }
  .nav-cta { padding: 8px 10px; font-size: 13px !important; }
  .hub-hero, .section { padding-left: 20px; padding-right: 20px; }
  .hub-hero-inner { gap: 36px; }
  h1 { font-size: 39px; }
  .article-header, .article-hero, .article-layout, .breadcrumbs { width: min(100% - 36px, 1080px); }
  .article-header { padding-top: 40px; }
  .article-header h1 { font-size: 37px; }
  :is(.relationship-conversion, .psychic-conversion) .article-header { padding-top: 24px; }
  :is(.relationship-conversion, .psychic-conversion) .article-header h1 { font-size: 31px; }
  .relationship-conversion .article-hero img { max-height: 220px; }
  .relationship-conversion .maria-portrait-hero img { height: 300px; max-height: none; }
  :is(.relationship-conversion, .psychic-conversion) .article-layout { padding-top: 28px; }
  :is(.relationship-conversion, .psychic-conversion) :is(.callout, .question-offer) .button { display: block; width: 100%; }
  .psychic-conversion .reading-bridge-details { padding: 24px; }
  .article-deck, .article-body > p:first-child { font-size: 19px; }
  .article-body h2 { font-size: 28px; }
  .article-body .reader-moment { font-size: 18px; }
  .article-body .reading-bridge { grid-template-columns: 1fr; }
  .reading-bridge-copy { padding: 28px 24px 26px; }
  .article-body .reading-bridge h2 { font-size: 28px; }
  .reading-bridge img { min-height: 0; max-height: 290px; object-position: center 35%; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner > div:first-child { grid-column: auto; }
}
