/* ==========================================================================
   RIZE MORTGAGE — BUY A HOME (PURCHASE) PAGE
   Styles matching the uploaded design buy-a-home.html exactly.
   ========================================================================== */

/* ── Bootstrap & CSS Resets for Purchase Page ──────────────────────────── */
.p-hero ul, .p-hero ol,
.loans ul, .loans ol,
.vs-sec ul, .vs-sec ol,
.process ul, .process ol,
.tips ul, .tips ol,
.p-faq ul, .p-faq ol,
.band ul, .band ol {
  padding-left: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

/* Accent words use the plain sans (no serif italic, no underline swoosh) */
.accent,
.p-hero h1 .accent,
.vs-sec .head .accent {
  font-family: var(--sans, "Geist", ui-sans-serif, system-ui, sans-serif) !important;
  font-style: normal !important;
  font-weight: inherit !important;
  font-size: 1em !important;
  letter-spacing: inherit !important;
  text-decoration: none !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
  color: inherit !important;
}

/* ── Section Headings ─────────────────────────────────────────────────── */
.head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}
.head .h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--navy, #241C4F);
}
.rz-dark .head .h2 {
  color: #fff;
}
.head .sub {
  max-width: 520px;
  margin: 0;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.6;
  color: var(--body, #4A436E);
}
.rz-dark .head .sub {
  color: #C9C3E6;
}

/* Process lockup */
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.lockup-img,
.lockup img {
  height: 36px;
  width: auto;
  display: block;
  max-width: 100%;
}
.lockup .logo-word {
  font-family: var(--brand, "Source Serif 4", Georgia, serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--gold, #FFBA00);
  line-height: 1;
}
.lockup .logo-word b {
  color: var(--orange, #F36C37);
  font-weight: 600;
}

/* ── 01. Hero: "Evening Neighbourhood" ────────────────────────────────── */
.p-hero {
  min-height: min(calc(100svh - var(--header-h, 76px)), 820px);
  background: #241C4F;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.h-town {
  background: linear-gradient(170deg, #241C4F 0%, #241C4F 55%, #241C4F 100%);
  overflow: hidden;
  position: absolute;
  inset: 0;
}
.hb-glow i {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}
.hb-glow .g1 {
  width: 48vw;
  height: 48vw;
  left: -14vw;
  top: -24vw;
  background: radial-gradient(circle, rgba(124, 119, 150, .48), transparent 70%);
  animation: hbA 40s ease-in-out infinite alternate;
}
.hb-glow .g2 {
  width: 40vw;
  height: 40vw;
  right: -10vw;
  bottom: -20vw;
  background: radial-gradient(circle, rgba(243, 108, 55, .3), transparent 70%);
  animation: hbB 48s ease-in-out infinite alternate;
}
.hb-glow .g3 {
  width: 22vw;
  height: 22vw;
  right: 24%;
  top: 8%;
  background: radial-gradient(circle, rgba(255, 186, 0, .1), transparent 70%);
  animation: hbC 36s ease-in-out infinite alternate;
}
.hb-sky {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.35), transparent),
                    radial-gradient(1px 1px at 38% 9%, rgba(255,255,255,.25), transparent),
                    radial-gradient(1px 1px at 63% 22%, rgba(255,255,255,.3), transparent),
                    radial-gradient(1px 1px at 84% 12%, rgba(255,255,255,.25), transparent),
                    radial-gradient(1px 1px at 92% 34%, rgba(255,255,255,.2), transparent),
                    radial-gradient(1px 1px at 27% 31%, rgba(255,255,255,.18), transparent);
  opacity: .7;
}
.hb-strip {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200%;
  max-width: none;
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
  will-change: transform;
  -webkit-mask-image: linear-gradient(0deg, #241C4F 55%, transparent);
  mask-image: linear-gradient(0deg, #241C4F 55%, transparent);
}
.hb-strip path {
  stroke-width: 1;
}
.hb-strip .w {
  stroke: none;
  fill: #FFBA00;
  opacity: .08;
}
.hb-strip .w.tw {
  animation: hbWin 9s ease-in-out infinite;
  animation-delay: var(--d);
}
.hb-back {
  height: clamp(150px, 26vw, 330px);
  opacity: .5;
  animation: hbDrift 160s linear infinite;
}
.hb-back path {
  stroke: rgba(185, 182, 199, .28);
}
.hb-front {
  height: clamp(130px, 22vw, 290px);
  opacity: .75;
  animation: hbDrift 95s linear infinite;
}
.hb-front path {
  stroke: rgba(247, 133, 37, .34);
}
.hb-front .w {
  filter: drop-shadow(0 0 6px rgba(255, 186, 0, .7));
}
.hb-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(36, 28, 79, .72) 0%, rgba(36, 28, 79, .3) 42%, rgba(36, 28, 79, 0) 68%),
              linear-gradient(0deg, rgba(36, 28, 79, .45), transparent 18%);
}

@keyframes hbDrift {
  to { transform: translateX(-50%); }
}
@keyframes hbWin {
  0%, 100% { opacity: .08; }
  40%, 65% { opacity: .85; }
}
@keyframes hbA {
  to { transform: translate(10vw, 6vw); }
}
@keyframes hbB {
  to { transform: translate(-8vw, -5vw); }
}
@keyframes hbC {
  to { transform: translate(-6vw, 6vw); }
}

.p-hero .hero-in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  padding-top: 64px;
  padding-bottom: 84px;
}
.p-hero .hero-copy {
  display: flex;
  flex-direction: column;
}
.p-hero h1 {
  font-size: clamp(42px, 5.2vw, 82px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1;
  max-width: 720px;
  margin: 22px 0 22px;
  color: #fff;
}
.p-hero .hero-p {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
  color: #C8C5D2;
  max-width: 540px;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  color: #B8B5C6;
  margin: 0;
  padding: 0;
  list-style: none;
}
.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, .3);
}
.crumbs a {
  color: #E8E0DC;
  text-decoration: none;
  transition: color .2s;
}
.crumbs a:hover {
  color: var(--gold, #FFBA00);
}
.crumbs [aria-current] {
  color: #fff;
  font-weight: 500;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ── Hero Console Journey Starts ─────────────────────────────────────── */
.starts {
  display: grid;
  gap: 10px;
}
.starts .c-q {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.start {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 16px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .09);
  text-decoration: none;
  color: #fff;
  transition: background .3s, border-color .3s, transform .3s var(--ease, cubic-bezier(.2, .7, .2, 1));
}
.start:hover {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 186, 0, .55);
  transform: translateY(-2px);
  color: #fff;
}
.s-ic {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .08);
  color: var(--gold, #FFBA00);
  transition: background .3s, color .3s;
}
.s-ic svg {
  width: 20px;
  height: 20px;
}
.start:hover .s-ic {
  background: var(--g-sun, linear-gradient(120deg, #F36C37 0%, #F68327 48%, #FFBA00 100%));
  color: #241C4F;
}
.s-t b {
  display: block;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: #fff;
}
.s-t small {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #B8B5C6;
}
.s-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold, #FFBA00);
}
.s-go svg {
  width: 14px;
  height: 14px;
  transition: transform .3s var(--ease, cubic-bezier(.2, .7, .2, 1));
}
.start:hover .s-go svg {
  transform: translateX(3px);
}

/* ── 02. Loan Options (Homepage Card System) ─────────────────────────── */
.loans {
  background: linear-gradient(180deg, var(--lav, #E8E0DC) 0%, #E8E0DC 100%);
}
.p-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.p-cards .card {
  display: grid;
  grid-template-columns: 40% 60%;
  min-height: 268px;
  border-radius: var(--r, 16px);
  overflow: hidden;
  background: var(--cream, #FAF9F8);
  border: 1px solid var(--line, rgba(36,28,79,.11));
  box-shadow: var(--sh-1, 0 1px 2px rgba(36,28,79,.06), 0 12px 28px -18px rgba(36,28,79,.3));
  text-decoration: none;
  transition: transform .4s var(--ease, cubic-bezier(.2,.7,.2,1)), box-shadow .4s var(--ease, cubic-bezier(.2,.7,.2,1)), border-color .3s;
}
.p-cards .card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-2, 0 2px 4px rgba(36,28,79,.06), 0 28px 56px -26px rgba(36,28,79,.45));
  border-color: transparent;
}
.c-pan {
  position: relative;
  display: grid;
  place-items: center;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.c-pan::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(90% 75% at 85% 10%, rgba(255,255,255,.2), rgba(255,255,255,0) 62%),
              radial-gradient(85% 70% at 10% 105%, rgba(36,28,79,.28), rgba(36,28,79,0) 62%);
  transition: opacity .6s var(--ease, cubic-bezier(.2,.7,.2,1)), transform .8s var(--ease, cubic-bezier(.2,.7,.2,1));
}
.c-pan .glow {
  position: absolute;
  z-index: -1;
  width: 150%;
  aspect-ratio: 1;
  left: 30%;
  top: -75%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.14), rgba(255,255,255,0));
  pointer-events: none;
  transition: transform .8s var(--ease, cubic-bezier(.2,.7,.2,1));
}
.p-cards .card:hover .c-pan .glow {
  transform: translate(-8%, 8%) scale(1.08);
}
.c-pan svg {
  width: 88px;
  height: 88px;
  stroke-width: 1.3;
  color: inherit;
  transition: transform .5s var(--ease, cubic-bezier(.2,.7,.2,1));
}
.p-cards .card:hover .c-pan svg {
  transform: scale(1.08) translateY(-3px);
}
.pn-or { background: var(--g-orange, linear-gradient(135deg, #F5772F 0%, #F36C37 48%, #F36C37 100%)); color: #fff; }
.pn-nv { background: linear-gradient(160deg, #403966, #241C4F); color: #fff; }
.pn-br { background: linear-gradient(160deg, #E8E0DC 0%, #E8E0DC 55%, #E8E0DC 100%); color: var(--navy, #241C4F); }
.pn-br::before, .pn-gd::before {
  background: radial-gradient(90% 75% at 85% 10%, rgba(255,255,255,.7), rgba(255,255,255,0) 60%),
              radial-gradient(85% 70% at 10% 105%, rgba(36,28,79,.12), rgba(36,28,79,0) 62%);
}
.pn-br .glow, .pn-gd .glow {
  background: radial-gradient(closest-side, rgba(255,255,255,.55), rgba(255,255,255,0));
}
.pn-gd { background: linear-gradient(160deg, #FFBA00, #FFBA00 55%, #FFBA00); color: var(--navy, #241C4F); }
.pn-vi { background: linear-gradient(160deg, #706B8C, #4C466F); color: #fff; }
.pn-ink { background: linear-gradient(160deg, #241C4F, #241C4F); color: #fff; }
.pn-ink::after, .pn-vi::after, .pn-nv::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: var(--grain);
  background-size: 220px;
  opacity: .09;
  mix-blend-mode: screen;
}

.c-tag {
  display: block;
  margin-bottom: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--orange-600, #F36C37);
}
.p-cards .c-body {
  display: flex;
  flex-direction: column;
  padding: 28px 30px 24px;
}
.p-cards .c-body h3 {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--navy, #241C4F);
}
.p-cards .c-body p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--body, #4A436E);
  margin-bottom: auto;
}
.p-cards .tlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--orange-600, #F36C37);
  transition: gap .3s var(--ease, cubic-bezier(.2,.7,.2,1));
  margin-top: auto;
  padding-top: 18px;
}
.p-cards .card:hover .tlink {
  gap: 10px;
}
.p-cards .tlink svg {
  width: 10px;
  height: 10px;
  transition: transform .25s var(--ease, cubic-bezier(.2,.7,.2,1));
}
.p-cards .card:hover .tlink svg {
  transform: translateX(3px);
}

/* ── 03. Pre-Qualification vs Pre-Approval ───────────────────────────── */
.vs-sec {
  background: #fff;
}
.vs {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0 18px;
  align-items: stretch;
}
.vs-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 40px);
  border-radius: var(--r-lg, 24px);
  background: var(--cream, #FAF9F8);
  border: 1px solid var(--line, rgba(36,28,79,.11));
  overflow: hidden;
  transition: transform .4s var(--ease, cubic-bezier(.2,.7,.2,1)), box-shadow .4s var(--ease, cubic-bezier(.2,.7,.2,1));
}
.vs-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-2, 0 28px 56px -26px rgba(36,28,79,.45));
}
.vs-strong {
  background: radial-gradient(70% 60% at 100% 0%, rgba(124, 119, 150, .45), transparent 65%),
              radial-gradient(60% 60% at 0% 100%, rgba(243, 108, 55, .25), transparent 65%),
              linear-gradient(160deg, #241C4F, #241C4F 50%, #241C4F);
  border: 0;
  color: #fff;
}
.vs-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}
.vs-ic {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--lav, #E8E0DC);
  color: var(--navy, #241C4F);
}
.vs-ic svg {
  width: 24px;
  height: 24px;
}
.vs-strong .vs-ic {
  background: var(--g-sun, linear-gradient(120deg, #F36C37 0%, #F68327 48%, #FFBA00 100%));
  color: #241C4F;
}
.vs-step {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mute, #767191);
}
.vs-strong .vs-step {
  color: #C8C5D2;
}
.vs-card h3 {
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--navy, #241C4F);
}
.vs-strong h3 {
  color: #fff;
}
.vs-card > p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--body, #4A436E);
  max-width: 520px;
}
.vs-strong > p {
  color: #C8C5D2;
}
.vs-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}
.vs-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink, #241C4F);
}
.vs-strong .vs-list li {
  color: #fff;
}
.vs-list svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  color: var(--orange-600, #F36C37);
}
.vs-strong .vs-list svg {
  color: var(--gold, #FFBA00);
}
.vs-meter {
  margin-top: auto;
  height: 6px;
  border-radius: 6px;
  background: rgba(36, 28, 79, .1);
  overflow: hidden;
}
.vs-strong .vs-meter {
  background: rgba(255, 255, 255, .14);
}
.vs-meter i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 6px;
  background: var(--g-sun, linear-gradient(120deg, #F36C37 0%, #F68327 48%, #FFBA00 100%));
  transition: width 1.2s var(--ease, cubic-bezier(.2,.7,.2,1)) .3s;
}
.vs-card.in .vs-meter i {
  width: var(--w);
}
.vs-cap {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mute, #767191);
}
.vs-strong .vs-cap {
  color: var(--gold, #FFBA00);
}
.vs-mid {
  align-self: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line, rgba(36,28,79,.11));
  box-shadow: var(--sh-1, 0 12px 28px -18px rgba(36,28,79,.3));
  font-family: var(--serif, "Instrument Serif", Georgia, serif);
  font-style: italic;
  font-size: 24px;
  color: var(--orange-600, #F36C37);
  z-index: 2;
}
.vs-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ── 04. Process ("Journey Board") ───────────────────────────────────── */
.process {
  overflow: hidden;
  background: radial-gradient(50% 60% at 100% 0%, rgba(124, 119, 150, .38), transparent 65%),
              radial-gradient(45% 55% at 0% 100%, rgba(243, 108, 55, .22), transparent 65%),
              linear-gradient(180deg, #241C4F 0%, #241C4F 60%, #241C4F 100%);
  color: #fff;
}
.journey {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  counter-reset: none;
  padding: 0;
  list-style: none;
}
.jc {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 28px 28px 24px;
  border-radius: var(--r-lg, 24px);
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03) 70%);
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(6px);
  transition: transform .45s var(--ease, cubic-bezier(.2,.7,.2,1)), border-color .45s, background .45s, box-shadow .45s;
}
.jc:hover {
  border-color: rgba(255, 186, 0, .45);
  background: linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05) 70%);
  box-shadow: 0 30px 60px -30px rgba(36, 28, 79, .6);
}
/* arrow chips between cards (desktop rows) */
.jc:not(:nth-child(3n)):not(:last-child)::after {
  content: "";
  position: absolute;
  right: -22px;
  top: 50%;
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 186, 0, .6), rgba(243, 108, 55, .6));
}
.jc:not(:nth-child(3n)):not(:last-child)::before {
  content: "";
  position: absolute;
  right: -17px;
  top: calc(50% - 5px);
  width: 8px;
  height: 8px;
  border-top: 2px solid #F78327;
  border-right: 2px solid #F78327;
  transform: rotate(45deg);
  z-index: 2;
}
.jc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: auto;
}
.jc-n {
  font-family: var(--sans, "Geist", sans-serif);
  font-style: normal;
  font-weight: 600;
  font-size: 60px;
  line-height: .9;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  background: var(--g-sun-v, linear-gradient(180deg, #FFBA00 0%, #F68327 45%, #F36C37 100%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .05em;
}
.jc-ic {
  width: 68px;
  height: 68px;
  display: block;
  margin: -6px -6px 0 0;
}
.jc-ic svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 14px rgba(36, 28, 79, .25));
}
.jc h3 {
  margin: 34px 0 10px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.2;
  color: #fff;
}
.jc p {
  font-size: 15px;
  line-height: 1.6;
  color: #C1BFCD;
}
.jc-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.jc-bar {
  flex: 1;
  height: 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .1);
  overflow: hidden;
}
.jc-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 5px;
  background: var(--g-sun, linear-gradient(120deg, #F36C37 0%, #F68327 48%, #FFBA00 100%));
  transition: width 1.1s var(--ease, cubic-bezier(.2,.7,.2,1)) .35s;
}
.jc.in .jc-bar i {
  width: var(--p);
}
.jc-lab {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #A7A4B8;
  white-space: nowrap;
}

/* destination card */
.jc-end {
  background: linear-gradient(150deg, #F5772F 0%, #F36C37 50%, #F36C37 100%);
  border-color: transparent;
  box-shadow: 0 30px 60px -28px rgba(243, 108, 55, .6);
}
.jc-end:hover {
  background: linear-gradient(150deg, #F57B2D 0%, #F36C37 50%, #F36C37 100%);
  border-color: transparent;
}
.jc-end .jc-n {
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
  opacity: .95;
}
.jc-end .jc-ic svg {
  filter: drop-shadow(0 8px 14px rgba(36, 28, 79, .25));
}
.jc-end p {
  color: rgba(255, 255, 255, .92);
}
.jc-end .jc-foot {
  border-top-color: rgba(255, 255, 255, .25);
}
.jc-end .jc-bar {
  background: rgba(255, 255, 255, .25);
}
.jc-end .jc-bar i {
  background: #fff;
}
.jc-end .jc-lab {
  color: #fff;
}
.proc-cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ── 05. Tips ────────────────────────────────────────────────────────── */
.tips {
  background: var(--cream, #FAF9F8);
}
.tip-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  list-style: none;
}
.tip {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px 24px;
  border-radius: var(--r, 16px);
  background: #fff;
  border: 1px solid var(--line, rgba(36,28,79,.11));
  overflow: hidden;
  transition: transform .35s var(--ease, cubic-bezier(.2,.7,.2,1)), box-shadow .35s, border-color .35s;
}
.tip::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--g-sun, linear-gradient(120deg, #F36C37 0%, #F68327 48%, #FFBA00 100%));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease, cubic-bezier(.2,.7,.2,1));
}
.tip:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-2, 0 28px 56px -26px rgba(36,28,79,.45));
  border-color: transparent;
}
.tip:hover::before {
  transform: scaleX(1);
}
.t-ic {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--orange-50, #E8E0DC);
  color: var(--orange-600, #F36C37);
  transition: background .35s, color .35s;
}
.t-ic svg {
  width: 22px;
  height: 22px;
}
.tip:hover .t-ic {
  background: var(--g-orange, linear-gradient(135deg, #F5772F 0%, #F36C37 48%, #F36C37 100%));
  color: #fff;
}
.t-n {
  position: absolute;
  right: 20px;
  top: 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mute, #767191);
}
.tip h3 {
  margin: 22px 0 8px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.25;
  color: var(--navy, #241C4F);
}
.tip p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--body, #4A436E);
}

/* ── 06. FAQ + Ask MORTi Card ────────────────────────────────────────── */
.p-faq {
  background: #fff;
}
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, .68fr);
  gap: 56px;
  align-items: start;
}
.faq-list {
  display: grid;
  gap: 12px;
}
.p-faq .qa {
  border-radius: var(--r, 16px);
  background: var(--cream, #FAF9F8);
  border: 1px solid var(--line, rgba(36,28,79,.11));
  transition: box-shadow .3s, border-color .3s, background .3s;
}
.p-faq .qa:hover {
  border-color: rgba(36, 28, 79, .2);
}
.p-faq .qa[open] {
  background: #fff;
  box-shadow: var(--sh-1, 0 12px 28px -18px rgba(36,28,79,.3));
  border-color: transparent;
}
.qa summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 21px 24px;
  list-style: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--navy, #241C4F);
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary i {
  position: relative;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  transition: background .3s;
}
.qa summary i::before,
.qa summary i::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange, #F36C37);
  transition: transform .3s var(--ease, cubic-bezier(.2,.7,.2,1)), background .3s;
}
.qa summary i::after {
  transform: rotate(90deg);
}
.qa[open] summary i {
  background: var(--orange, #F36C37);
}
.qa[open] summary i::before,
.qa[open] summary i::after {
  background: #fff;
}
.qa[open] summary i::after {
  transform: rotate(0);
}
.qa .ans {
  padding: 0 24px 22px;
  max-width: 70ch;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--body, #4A436E);
}
.qa .ans a {
  font-weight: 600;
  color: var(--navy, #241C4F);
  text-decoration: underline;
  text-decoration-color: var(--orange, #F36C37);
  text-underline-offset: 3px;
}

/* MORTi Card in FAQ */
.morti-card {
  position: sticky;
  top: calc(var(--header-h, 76px) + 120px);
  margin-top: 118px;
  padding: 26px;
  border-radius: var(--r-lg, 24px);
  background: var(--sand-50, #E8E0DC);
  border: 1px solid var(--sand, #E8E0DC);
}
.morti-fig {
  position: absolute;
  right: 2px;
  top: -108px;
  width: 136px;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 18px 18px rgba(101, 78, 70, .28));
  animation: bob 6s ease-in-out infinite;
  transform-origin: 50% 100%;
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-8px) rotate(-2deg); }
}
.morti-card h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.025em;
  color: var(--navy, #241C4F);
  padding-right: 120px;
}
.morti-card > p {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--body, #4A436E);
  padding-right: 118px;
}
.ask {
  display: grid;
  gap: 10px;
  margin: 22px 0 18px;
}
.ask button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1.5px solid transparent;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy, #241C4F);
  cursor: pointer;
  transition: border-color .2s, transform .3s var(--ease, cubic-bezier(.2,.7,.2,1));
  box-shadow: none;
}
.ask button:hover {
  border-color: var(--orange, #F36C37);
  transform: translateX(3px);
  background: #fff;
}
.ask svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--orange, #F36C37);
}
.morti-card small {
  display: block;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--mute, #767191);
}

/* ── 07. CTA Band ────────────────────────────────────────────────────── */
.band {
  overflow: hidden;
  background: linear-gradient(100deg, #F36C37 0%, #F36C37 45%, #F68327 100%);
  color: #fff;
  position: relative;
}
.band::before {
  content: "";
  position: absolute;
  left: -4%;
  top: 0;
  bottom: 0;
  width: 48%;
  z-index: 0;
  background: rgba(255, 255, 255, .08);
  clip-path: polygon(0 0, 62% 0, 100% 100%, 0 100%);
}
.band .wrap::before {
  content: "";
  position: absolute;
  right: -30vw;
  top: 0;
  bottom: 0;
  width: 60vw;
  background: rgba(255, 186, 0, .2);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  z-index: -1;
}
.band .wrap {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 64px;
  padding-bottom: 64px;
  z-index: 1;
}
.band h2 {
  max-width: 600px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.12;
  color: #fff;
}
.band p {
  max-width: 620px;
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .94);
}
.band-b {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  position: relative;
  z-index: 2;
}
.band-b .btn,
.band-b .btn:hover {
  --fg: var(--orange-600, #F36C37);
  color: var(--orange-600, #F36C37);
  height: 56px;
  font-size: 14.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  --cut: 12px;
}
.btn-light {
  --c1: #fff;
  --c2: #fff;
  --fg: var(--navy, #241C4F);
  background: #fff;
  color: var(--navy, #241C4F);
  text-decoration: none;
}
.btn-light:hover {
  box-shadow: 0 14px 26px -12px rgba(36, 28, 79, .35);
  color: var(--navy, #241C4F);
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .tip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1024px) {
  .journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .jc:not(:last-child)::before,
  .jc:not(:last-child)::after {
    display: none;
  }
  .p-hero .hero-in {
    grid-template-columns: 1fr;
    padding-top: 48px;
    padding-bottom: 64px;
  }
  .hb-veil {
    background: linear-gradient(0deg, rgba(36, 28, 79, .55), transparent 30%),
                linear-gradient(180deg, rgba(36, 28, 79, .35), transparent 40%);
  }
  .starts {
    max-width: 640px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .morti-card {
    position: relative;
    top: 0;
    margin-top: 80px;
  }
}
@media (max-width: 860px) {
  .head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 28px;
  }
  .p-cards {
    grid-template-columns: 1fr;
  }
  .vs {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .vs-mid {
    margin: -14px auto;
    position: relative;
  }
  .tip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .p-hero h1 {
    font-size: clamp(38px, 10.6vw, 50px);
  }
  .hero-cta .btn {
    flex: 1 1 100%;
  }
  .start {
    grid-template-columns: 40px 1fr;
    padding: 16px;
  }
  .s-ic {
    width: 40px;
    height: 40px;
  }
  .p-cards .card {
    grid-template-columns: 1fr;
  }
  .c-pan {
    height: 140px;
  }
  .c-pan svg {
    width: 68px;
    height: 68px;
  }
  .tip-grid {
    grid-template-columns: 1fr;
  }
  .vs-cta .btn,
  .proc-cta .btn {
    width: 100%;
  }
  .journey {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .jc {
    min-height: 0;
    padding: 24px 22px 20px;
  }
  .jc-n {
    font-size: 46px;
  }
  .jc h3 {
    margin-top: 16px;
    font-size: 19px;
  }
  .morti-fig {
    width: 100px;
    height: auto;
    top: -65px;
  }
  .morti-card h3,
  .morti-card > p {
    padding-right: 80px;
  }
  .band .wrap {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .band-b {
    width: 100%;
  }
  .band-b .btn {
    flex: 1 1 100%;
    text-align: center;
  }
}
@media (max-width: 380px) {
  .hero-cta .btn,
  .proc-cta .btn,
  .vs-cta .btn,
  .band-b .btn {
    white-space: normal;
    height: auto;
    min-height: 52px;
    padding: 12px 16px;
    font-size: 15px;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .jc-bar i { width: var(--p) !important; }
  .hb-glow i, .hb-strip, .hb-strip .w.tw { animation: none; }
  .vs-meter i { width: var(--w); }
  .morti-fig { animation: none; }
}

/* Floating MORTi chat window stacking safety */
.chat-window {
  z-index: 99999 !important;
}
.floating-logo {
  z-index: 99998 !important;
}
