.policy-main{padding:40px 20px 60px;max-width:760px;}
.policy-main h1{color:var(--navy);font-size:1.9rem;margin-bottom:4px;}
.policy-updated{color:var(--muted);font-size:0.85rem;margin-bottom:30px;}
.policy-main h2{color:var(--navy);font-size:1.15rem;margin-top:28px;margin-bottom:8px;}
.policy-main p, .policy-main li{color:var(--text);line-height:1.6;font-size:0.97rem;}
.policy-main ul{padding-left:20px;}
.policy-main li{margin-bottom:8px;}
.policy-main a{color:var(--gold);text-decoration:underline;}
.site-header .brand{text-decoration:none;}
.contact-card{background:var(--surface);border:1px solid var(--rule);border-radius:var(--radius-lg,10px);box-shadow:var(--shadow-sm);padding:18px 22px;margin:16px 0;}
.contact-card p{margin:8px 0;}
.footer-links{margin-top:8px;font-size:0.8rem;}
.footer-links a{color:#c7cbdb;margin:0 8px;}

/* ---- Site-wide dark theme pass: Contact/Privacy/Terms/Refund now carry
   body.pg-account like every other account-family page, reusing the exact
   --ink/--surface-dark*/--line-dark tokens the homepage already uses.
   Legal text itself is untouched -- only color/background/border. ---- */
.pg-account .policy-main h1, .pg-account .policy-main h2{color:#fff;}
.pg-account .policy-main p, .pg-account .policy-main li{color:#c3c9dc;}
.pg-account .policy-updated{color:#8fa0b8;}
.pg-account .contact-card{background:var(--surface-dark);border-color:var(--line-dark);}
.pg-account .contact-card p{color:#c3c9dc;}

/* ==============================================================================
 * IdeasPulse reusable premium design system (Major Design Upgrade pass).
 * Loaded on every page that needs the inner-page hero/card language
 * (contact/privacy/terms/refund-policy + homepage, all of which already
 * load policy.css) — Idea Detail/account pages keep their own equivalent
 * dark-hero pattern already built in css/idea-detail.css, and are not
 * duplicated here. Every rule below reuses existing brand tokens
 * (--navy/--navy2/--gold/--gold-light/--teal/--paper/--surface/--radius-*/
 * --shadow-*/--font-heading/--font-body) — no new color or type tokens.
 * ============================================================================*/

/* ---- Eyebrow: small gold uppercase label used above every major heading ---- */
.ip-eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-size:0.74rem;font-weight:700;letter-spacing:0.14em;text-transform:uppercase;
  color:var(--gold-light);margin:0 0 14px;
}
.ip-eyebrow::before{content:"";width:22px;height:2px;background:var(--gold);border-radius:2px;}

/* ---- Inner-page hero: compact premium dark banner for pages that have no
   hero of their own today (Contact/Privacy/Terms/Refund; reused by the
   homepage's own hero markup is NOT this class — the homepage keeps its
   larger, cinematic .hero). Deliberately capped height, per "don't make
   every page have an enormous hero." ---- */
.ip-page-hero{
  position:relative;overflow:hidden;
  background:linear-gradient(165deg,var(--navy),var(--navy2));
  color:#fff;text-align:center;
  padding:clamp(40px,7vw,72px) 20px clamp(36px,6vw,56px);
}
.ip-page-hero::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(circle at 18% 20%, rgba(212,173,99,0.18) 0%, transparent 45%),
    radial-gradient(circle at 82% 75%, rgba(47,145,121,0.16) 0%, transparent 45%);
}
.ip-page-hero-inner{position:relative;z-index:1;max-width:720px;margin:0 auto;}
.ip-page-hero h1{
  font-family:var(--font-heading);font-weight:700;letter-spacing:-0.01em;color:#fff;
  font-size:clamp(1.7rem,4vw,2.5rem);line-height:1.16;margin:0 0 14px;
}
.ip-page-hero-sub{color:#c3c9dc;font-size:clamp(0.95rem,1.6vw,1.08rem);line-height:1.6;margin:0;}
.ip-page-hero .ip-eyebrow{justify-content:center;}

/* ---- Information card + grid: Contact's Email/WhatsApp/Location blocks ---- */
.ip-info-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:18px;margin:0 0 8px;
}
.ip-info-card{
  background:var(--surface);border:1px solid var(--rule);border-radius:var(--radius-lg,14px);
  box-shadow:var(--shadow-sm);padding:22px 20px;text-align:center;
  transition:box-shadow var(--dur-base,220ms) ease, transform var(--dur-base,220ms) ease;
}
.ip-info-card:hover{box-shadow:var(--shadow-md);transform:translateY(-3px);}
.ip-info-card .ip-info-icon{font-size:1.5rem;margin-bottom:10px;display:block;}
.ip-info-card h3{font-family:var(--font-heading);color:var(--navy);font-size:1.02rem;margin:0 0 6px;}
.ip-info-card p, .ip-info-card a{color:var(--text);font-size:0.92rem;line-height:1.5;margin:0;}
.ip-info-card a{color:var(--gold-dark);font-weight:600;text-decoration:none;}
.ip-info-card a:hover{text-decoration:underline;}

/* ---- Content sections: Contact's "Order & Refund" / "General Questions"
   blocks and Privacy/Terms/Refund's per-<h2> body sections ---- */
.ip-section-header{margin:0 0 10px;}
.ip-section-header h2{font-family:var(--font-heading);color:var(--navy);font-size:clamp(1.1rem,2vw,1.35rem);margin:0;}
.ip-content-card{
  background:var(--surface-2,#f3f1ea);border:1px solid var(--rule);border-radius:var(--radius-lg,14px);
  padding:clamp(18px,3vw,28px);margin:0 0 20px;
}
.ip-content-card p{color:var(--text);line-height:1.65;font-size:0.97rem;margin:0;}

/* ---- Legal page section rhythm: thin gold rule above each heading, more
   generous vertical spacing than the plain .policy-main defaults ---- */
.ip-legal-section{padding-top:26px;margin-top:26px;border-top:1px solid var(--rule);}
.ip-legal-section:first-of-type{border-top:none;margin-top:8px;padding-top:0;}
.ip-legal-section h2{
  font-family:var(--font-heading);color:var(--navy);font-size:1.2rem;
  margin:0 0 10px;padding-left:14px;position:relative;
}
.ip-legal-section h2::before{
  content:"";position:absolute;left:0;top:0.15em;bottom:0.15em;width:3px;
  background:var(--gold);border-radius:2px;
}
.ip-legal-section p, .ip-legal-section li{color:var(--text);line-height:1.65;font-size:0.97rem;}

/* ---- Callout: one highlighted key-fact box (e.g. refund window) ---- */
.ip-callout{
  background:#fdf6e6;border:1px solid var(--gold);border-left:4px solid var(--gold);
  border-radius:var(--radius-md,10px);padding:16px 18px;margin:18px 0;
  color:var(--navy);font-size:0.94rem;font-weight:600;line-height:1.55;
}

/* Dark variants (see the site-wide dark theme pass note above) */
.pg-account .ip-info-card{background:var(--surface-dark);border-color:var(--line-dark);}
.pg-account .ip-info-card h3{color:#fff;}
.pg-account .ip-info-card p, .pg-account .ip-info-card a{color:#c3c9dc;}
.pg-account .ip-info-card a{color:var(--gold-light);}
.pg-account .ip-section-header h2{color:#fff;}
.pg-account .ip-content-card{background:var(--surface-dark);border-color:var(--line-dark);}
.pg-account .ip-content-card p{color:#c3c9dc;}
.pg-account .ip-legal-section{border-top-color:var(--line-dark);}
.pg-account .ip-legal-section h2{color:#fff;}
.pg-account .ip-legal-section p, .pg-account .ip-legal-section li{color:#c3c9dc;}
.pg-account .ip-callout{background:rgba(212,173,99,0.14);color:#fff;}

/* ---- CTA banner: full-width closing section (Contact + Homepage) ---- */
.ip-cta-banner{
  background:linear-gradient(165deg,var(--navy),var(--navy2));color:#fff;
  border-radius:var(--radius-lg,16px);text-align:center;
  padding:clamp(34px,5vw,52px) clamp(20px,4vw,40px);margin:clamp(28px,4vw,48px) 0 8px;
  position:relative;overflow:hidden;
}
.ip-cta-banner::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(circle at 50% 0%, rgba(212,173,99,0.16) 0%, transparent 55%);
}
.ip-cta-banner-inner{position:relative;z-index:1;max-width:560px;margin:0 auto;}
.ip-cta-banner h2{font-family:var(--font-heading);font-size:clamp(1.3rem,2.6vw,1.7rem);margin:0 0 10px;color:#fff;}
.ip-cta-banner p{color:#c3c9dc;font-size:0.98rem;line-height:1.6;margin:0 0 20px;}

/* ---- Stat strip: bordered/divided number blocks (homepage) ---- */
.ip-stat-strip{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
  border:1px solid var(--rule);border-radius:var(--radius-lg,14px);overflow:hidden;
  background:var(--surface);margin:clamp(18px,3vw,32px) 0;
}
.ip-stat-strip > div{
  padding:22px 16px;text-align:center;border-right:1px solid var(--rule);
}
.ip-stat-strip > div:last-child{border-right:none;}
.ip-stat-strip strong{
  display:block;font-family:var(--font-heading);font-size:clamp(1.5rem,3vw,2rem);
  color:var(--gold-dark);line-height:1.1;margin-bottom:4px;
}
.ip-stat-strip span{font-size:0.76rem;font-weight:700;letter-spacing:0.06em;text-transform:uppercase;color:var(--muted);}

@media (max-width:640px){
  .ip-stat-strip{grid-template-columns:repeat(2,1fr);}
  .ip-stat-strip > div:nth-child(2n){border-right:none;}
  .ip-stat-strip > div{border-bottom:1px solid var(--rule);}
  .ip-stat-strip > div:nth-last-child(-n+2){border-bottom:none;}
}
