/* Rich interior pages — aligned with PatchWork homepage */
:root {
  /* Match homepage ramp (fallbacks — avoid dropped gradients when vars missing) */
  --purple-deep: #2a0a5e;
  --purple-800: #4c1ba8;
  --purple-500: #9445ff;
  --purple-400: #ac6dff;
  --purple-300: #c79bff;
  --purple-50: #f6eeff;
  --purple-100: #ece0ff;
  --pink-300: #d5a3ff;
  --gray-700: #423a5c;
  --gray-600: #5e5478;
  --gray-300: #cec6e3;
  --gray-50: #f7f3fc;
  --shadow-lg: 0 20px 60px rgba(123, 44, 255, 0.15);
}

.page-rich .subpage-main {
  padding-bottom: 0;
}

.page-rich em {
  font-style: normal !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-rich .nav-links > li > a[aria-current="page"] {
  color: #fff;
}

/* ═══ SHARED TYPO (homepage-aligned) ═══ */
.ir-eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--purple-600);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  padding: 5px 14px;
  background: rgba(123, 44, 255, 0.1);
  border: 1px solid rgba(123, 44, 255, 0.2);
  border-radius: 100px;
}
.ir-section-title {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 16px;
}
.ir-section-title em {
  font-style: normal;
  font-weight: 500;
  color: var(--purple-600);
}
.ir-section-sub {
  font-size: clamp(17px, 2vw, 19px);
  color: var(--gray-700);
  line-height: 1.55;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.ir-head-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
  position: relative;
  z-index: 1;
}

/* ═══ WHY — hero ═══ */
.interior-hero-why {
  position: relative;
  padding: clamp(72px, 12vw, 120px) 32px 48px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(123, 44, 255, 0.16), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(199, 125, 255, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 35% at 0% 60%, rgba(179, 157, 219, 0.1), transparent 45%),
    linear-gradient(180deg, #fff 0%, var(--purple-50) 55%, var(--gray-50) 100%);
}
.interior-hero-why::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(123, 44, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 44, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 40%, transparent);
  pointer-events: none;
}
.interior-hero-why-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* WHY — pillars grid */
.why-pillars {
  padding: 0 32px 100px;
  background: linear-gradient(180deg, var(--gray-50) 0%, #fff 35%);
}
.why-pillars-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) {
  .why-pillars-inner { grid-template-columns: 1fr; max-width: 520px; }
}
.why-pillar {
  position: relative;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(123, 44, 255, 0.45), rgba(199, 125, 255, 0.25), rgba(123, 44, 255, 0.15));
}
.why-pillar-inner {
  height: 100%;
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  padding: 28px 26px 32px;
  box-shadow: 0 24px 50px rgba(42, 10, 94, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.why-pillar:hover .why-pillar-inner {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.why-pillar-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-600);
  margin-bottom: 14px;
  opacity: 0.85;
}
.why-pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: linear-gradient(145deg, rgba(123, 44, 255, 0.15), rgba(199, 125, 255, 0.08));
  border: 1px solid rgba(123, 44, 255, 0.2);
  color: var(--purple-600);
}
.why-pillar h3 {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}
.why-pillar p {
  font-size: 15px;
  line-height: 1.62;
  color: var(--gray-600);
}

/* WHY — wide visual band */
.why-visual {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px 100px;
}
.why-visual-card {
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  min-height: 320px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 800px) {
  .why-visual-card { grid-template-columns: 1fr; min-height: 0; }
}
.why-visual-img {
  position: relative;
  min-height: 280px;
}
.why-visual-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.why-visual-copy {
  background-color: var(--purple-deep);
  background-image: linear-gradient(145deg, var(--purple-deep) 0%, #4c1ba8 45%, var(--purple-800) 100%);
  padding: clamp(36px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  color: #fff;
}
/* Explicit colors — never inherit page ink on fallback backgrounds */
.why-visual-copy blockquote {
  margin: 0;
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.98);
}
.why-visual-copy cite {
  font-size: 14px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.04em;
}
.why-visual-copy .ir-eyebrow {
  color: var(--pink-300) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  background: rgba(255, 255, 255, 0.12) !important;
}

/* WHY — closing band */
.why-metrics {
  padding: 56px 32px;
  background: linear-gradient(135deg, #0d0820 0%, #2a0a5e 50%, #3b1283 100%);
  position: relative;
  overflow: hidden;
}
.why-metrics::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  top: -200px;
  right: -120px;
  background: radial-gradient(circle, rgba(199, 125, 255, 0.22), transparent 68%);
  filter: blur(40px);
  pointer-events: none;
}
.why-metrics-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 700px) {
  .why-metrics-inner { grid-template-columns: 1fr; gap: 28px; }
}
.why-metric-num {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff, var(--pink-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.why-metric-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 220px;
  margin: 0 auto;
}
.why-metrics-cta-wrap {
  text-align: center;
  margin-top: 44px;
  position: relative;
  z-index: 1;
}
.ir-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 100px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff !important;
  text-decoration: none !important;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.25s, border-color 0.25s;
}
.ir-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
}

/* ═══ PRICING ═══ */
.ir-pricing-hero {
  padding: clamp(64px, 10vw, 100px) 32px 32px;
  background: linear-gradient(180deg, var(--purple-50) 0%, var(--gray-50) 100%);
  position: relative;
}
.ir-pricing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 45% at 50% -10%, rgba(123, 44, 255, 0.12), transparent 55%);
  pointer-events: none;
}

/* Homepage-aligned pricing blocks */
.tinted-section--interior {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--purple-50) 55%, var(--purple-50) 100%);
  padding: 0 0 100px;
  position: relative;
}
.section-header {
  text-align: center;
}
.section-header--wide {
  max-width: 800px !important;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.price-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 24px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--purple-300);
  box-shadow: var(--shadow-lg);
}
.price-card.featured {
  background: linear-gradient(180deg, #fff 0%, var(--purple-50) 100%);
  border: 2px solid var(--purple-300);
}
.price-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-600), var(--pink-400));
  padding: 4px 10px;
  border-radius: 100px;
}
.price-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--purple-600);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.price-title {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--ink);
}
.price-sub {
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 24px;
  min-height: 38px;
}
.price-feats {
  list-style: none;
  padding: 20px 0;
  margin: 0;
  border-top: 1px solid var(--gray-100);
  flex: 1;
}
.price-feats li {
  font-size: 13.5px;
  color: var(--gray-700);
  padding: 8px 0 8px 24px;
  line-height: 1.5;
  position: relative;
}
.price-feats li::after {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-image: linear-gradient(135deg, var(--purple-500), var(--pink-400)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 100% 100%, 55% 55%;
  background-repeat: no-repeat;
  background-position: center;
}
.price-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  border-radius: 100px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 20px;
  transition: all 0.25s ease;
}
.price-cta:hover {
  background: var(--purple-600);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(123, 44, 255, 0.3);
}
.price-card.featured .price-cta {
  background: linear-gradient(135deg, var(--purple-600), var(--pink-400));
}

@media (max-width: 968px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

.ir-pricing-note {
  padding: 80px 32px;
  background: #fff;
}
.ir-note-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 800px) {
  .ir-note-grid { grid-template-columns: 1fr; }
}
.ir-note-card {
  border-radius: 18px;
  padding: 26px;
  border: 1px solid rgba(123, 44, 255, 0.12);
  background: linear-gradient(160deg, #fff 0%, var(--purple-50) 100%);
}
.ir-note-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.ir-note-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ═══ FAQ (dark panel) ═══ */
.page-faq .interior-faq-section {
  background: linear-gradient(135deg, #0d0820 0%, #2a0a5e 100%);
  padding: 0;
  position: relative;
  overflow: hidden;
}
.interior-faq-section .faq-blob-1 {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(199, 125, 255, 0.25), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}
.interior-faq-section .faq-blob-2 {
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(123, 44, 255, 0.25), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}
.page-faq .faq-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 32px;
  position: relative;
  z-index: 1;
}
.page-faq .faq-grid {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.page-faq .faq-intro .ir-eyebrow {
  background: rgba(199, 125, 255, 0.18);
  border: 1px solid rgba(199, 125, 255, 0.3);
  color: var(--pink-300);
}
.page-faq .faq-intro-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #fff;
  margin: 16px 0 20px;
  font-family: 'Segoe UI', system-ui, sans-serif;
}
.page-faq .faq-intro-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}
.page-faq .faq-intro {
  position: sticky;
  top: 92px;
}
.page-faq .dark-faq-list {
  display: flex;
  flex-direction: column;
}
.page-faq .dark-faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.page-faq .dark-faq-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.page-faq .dark-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1.4;
  user-select: none;
}
.page-faq .dark-faq-q:hover {
  color: #fff;
}
.page-faq .dark-faq-chevron {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease, color 0.2s;
}
.page-faq .dark-faq-item.open .dark-faq-chevron {
  transform: rotate(180deg);
  color: var(--pink-300);
}
.page-faq .dark-faq-item.open .dark-faq-q {
  color: #fff;
}
.page-faq .dark-faq-a {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0;
}
.page-faq .dark-faq-item.open .dark-faq-a {
  max-height: 600px;
  padding-bottom: 24px;
}
.page-faq .faq-more {
  padding: 40px 16px 8px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.page-faq .faq-more a {
  color: var(--pink-300);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(213, 163, 255, 0.45);
}

@media (max-width: 900px) {
  .page-faq .faq-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .page-faq .faq-intro {
    position: static;
  }
}

@media (max-width: 768px) {
  .page-faq .faq-inner {
    padding: 56px 20px 72px;
  }
  .page-faq .dark-faq-q {
    font-size: 16px;
    padding: 16px 0;
    gap: 12px;
  }
}
