/* ==========================================================================
   RIZE MORTGAGE — CONVENTIONAL LOANS PAGE
   Loads after Header-Footer.css, new-index.css, and purchase.css.
   ========================================================================== */

/* Brand tokens override for Conventional Loans page (Rize palette: Sand #E8E0DC) */
:root {
  --lav: #E8E0DC;
  --lav-200: #E8E0DC;
}

/* ── Hero background: "lights on at home" ─────────────────────────── */
.c-hero .hero-in {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
}
.c-hero h1 {
  font-size: clamp(40px, 4.1vw, 64px);
  line-height: 1.04;
  max-width: none;
}
.c-hero h1 .accent {
  display: block;
}
.h-home {
  --k: 1;
  background: radial-gradient(55% 60% at 100% 100%, rgba(243,108,55,.16), transparent 70%),
              radial-gradient(60% 55% at 0% 0%, rgba(232,224,220,.06), transparent 65%),
              #241C4F;
  overflow: hidden;
}
.hh {
  position: absolute;
  bottom: 0;
  height: calc(700px * var(--k));
  width: auto;
  left: calc(100vw - (100vw - min(100vw, var(--wrap, 1500px))) / 2 - var(--gutter, 24px) - 540px - 110px - 270px * var(--k));
}
.hh-ridge {
  fill: none;
  stroke: #FFBA00;
  stroke-opacity: .35;
  stroke-width: 1.5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.hh-eave {
  fill: none;
  stroke: #E8E0DC;
  stroke-opacity: .22;
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.hh-mull {
  fill: none;
  stroke: #241C4F;
  stroke-opacity: .4;
  stroke-width: 2.5;
}
.hh-win {
  opacity: .08;
  animation: hhOn .9s var(--ease, cubic-bezier(.2,.7,.2,1)) forwards;
  animation-delay: var(--d);
}
@keyframes hhOn {
  to { opacity: .55; }
}
.hh-door {
  opacity: 0;
  animation: hhOn2 1.1s var(--ease, cubic-bezier(.2,.7,.2,1)) .2s forwards,
             hhBreath 6s ease-in-out 1.4s infinite alternate;
}
@keyframes hhOn2 {
  to { opacity: .85; }
}
@keyframes hhBreath {
  from { opacity: .85; }
  to { opacity: .62; }
}
.hh-leaf {
  fill: #241C4F;
  fill-opacity: .8;
  stroke: #E8E0DC;
  stroke-opacity: .2;
  stroke-width: 1;
}
.hh-glow, .hh-spill {
  opacity: 0;
  animation: hhOn3 1.6s var(--ease, cubic-bezier(.2,.7,.2,1)) .5s forwards;
}
@keyframes hhOn3 {
  to { opacity: 1; }
}
.hh-ground {
  fill: none;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}
.hh-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(36,28,79,.9) 0%, rgba(36,28,79,.55) 32%, rgba(36,28,79,0) 52%);
}

/* ── Hero card: MORTi assistant + trust stats ───────────────────────── */
.hx-card {
  position: relative;
  width: 100%;
  max-width: 540px;
  justify-self: end;
  padding: 30px 0 0;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(160deg, rgba(232,224,220,.10), rgba(232,224,220,.03) 60%), #241C4F;
  border: 1px solid rgba(232,224,220,.16);
  box-shadow: 0 40px 80px -36px rgba(36,28,79,.9), inset 0 1px 0 rgba(232,224,220,.12);
}
.hm-fig {
  position: absolute;
  right: 22px;
  top: -122px;
  width: 100px;
  pointer-events: none;
}
.hm-fig img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 18px rgba(36,28,79,.45));
  transform-origin: 50% 100%;
  animation: bob 6s ease-in-out infinite;
}
.hm-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 32px;
}
.hm-head img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(232,224,220,.14);
  object-fit: contain;
}
.hm-head b {
  display: block;
  font-size: 18px;
  font-weight: 600;
}
.hm-head small {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: rgba(232,224,220,.78);
}
.hm-head small i {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFBA00;
}
.hm-head small i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #FFBA00;
  animation: onl 2s ease-out infinite;
}
@keyframes onl {
  from { transform: scale(1); opacity: .7; }
  to { transform: scale(2.6); opacity: 0; }
}
.hm-chat {
  position: relative;
  margin: 20px 32px 0;
  min-height: 84px;
}
.hm-typing {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  gap: 5px;
  padding: 16px 18px;
  border-radius: 6px 18px 18px 18px;
  background: rgba(232,224,220,.08);
  border: 1px solid rgba(232,224,220,.12);
  animation: hmHide .3s ease 1.7s forwards;
}
.hm-typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #E8E0DC;
  animation: hmDot 1.1s ease-in-out infinite;
}
.hm-typing i:nth-child(2) { animation-delay: .15s; }
.hm-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes hmDot {
  0%, 60%, 100% { opacity: .35; transform: none; }
  30% { opacity: 1; transform: translateY(-3px); }
}
@keyframes hmHide {
  to { opacity: 0; visibility: hidden; }
}
.hm-bubble {
  padding: 18px 20px;
  border-radius: 6px 20px 20px 20px;
  background: rgba(232,224,220,.08);
  border: 1px solid rgba(232,224,220,.12);
  font-size: 17px;
  line-height: 1.55;
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  animation: hmShow .5s var(--ease, cubic-bezier(.2,.7,.2,1)) 1.8s forwards;
}
@keyframes hmShow {
  to { opacity: 1; transform: none; }
}
.hm-bubble b {
  color: #FFBA00;
  font-weight: 600;
}
.hm-form {
  display: flex;
  gap: 8px;
  margin: 18px 32px 0;
  padding: 6px;
  border-radius: 10px;
  background: #fff;
  transition: box-shadow .25s;
}
.hm-form input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  color: #241C4F;
}
.hm-form input::placeholder {
  color: rgba(36,28,79,.55);
}
.hm-form button {
  width: 48px;
  height: 48px;
  flex: none;
  border: 0;
  border-radius: 5px;
  display: grid;
  place-items: center;
  background: #F36C37;
  color: #fff;
  cursor: pointer;
  transition: filter .2s, background .2s;
}
.hm-form button:hover {
  background: linear-gradient(135deg, #FFBA00 -60%, #F36C37 60%);
}
.hm-form button svg {
  width: 18px;
  height: 18px;
}
.hm-form:focus-within {
  box-shadow: 0 0 0 3px rgba(255,186,0,.5);
}
.hx-note {
  display: block;
  margin: 12px 32px 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(232,224,220,.62);
}
.c-hero .hx-card .hx-stats,
.hx-card .hx-stats,
.hx-stats {
  display: grid !important;
  grid-template-columns: 1.1fr .85fr 1.15fr;
  margin: 24px 0 0 0 !important;
  width: 100% !important;
  border-top: 1px solid rgba(232,224,220,.12);
  background: rgba(232,224,220,.05);
  border-radius: 0 0 27px 27px;
  padding: 0 !important;
  list-style: none !important;
}
.hx-stats li {
  padding: 18px 20px 20px;
}
.hx-stats li:first-child {
  padding-left: 32px;
}
.hx-stats li:last-child {
  padding-right: 32px;
}
.hx-stats li + li {
  border-left: 1px solid rgba(232,224,220,.12);
}
.hx-stats b {
  display: block;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
}
.hx-stats .stars {
  margin-left: 4px;
  font-size: 13px;
  letter-spacing: 1.5px;
  color: #FFBA00;
  vertical-align: 2px;
}
.hx-stats small {
  display: block;
  margin-top: 5px;
  font-size: 12.5px;
  line-height: 1.4;
  color: rgba(232,224,220,.7);
}

/* ── What is ─────────────────────────────────────────────────────────── */
.c-what {
  background: #fff;
}
.what-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 72px;
  align-items: center;
}
.what-lead {
  margin-top: 22px;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.65;
  color: var(--body, #4A4566);
  max-width: 640px;
}
.what-list {
  display: grid;
  gap: 12px;
  padding-left: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}
.what-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-radius: var(--r, 16px);
  background: var(--cream, #FAF9F8);
  border: 1px solid var(--line, rgba(36,28,79,.11));
  transition: transform .35s var(--ease, cubic-bezier(.2,.7,.2,1)),
              box-shadow .35s var(--ease, cubic-bezier(.2,.7,.2,1)),
              background .35s;
}
.what-list li:hover {
  transform: translateX(6px);
  background: #fff;
  box-shadow: var(--sh-1, 0 1px 2px rgba(36,28,79,.06), 0 12px 28px -18px rgba(36,28,79,.30));
}
.wl-ic {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--g-orange, linear-gradient(135deg, #FF8A4C 0%, #F36C37 48%, #E0561F 100%));
  color: #fff;
}
.wl-ic svg {
  width: 23px;
  height: 23px;
}
.what-list p {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--navy, #241C4F);
  margin: 0;
}

/* ── Benefits: one feature panel + a 2×2 spec list ──────────────────── */
.c-benefits {
  background: linear-gradient(180deg, var(--lav, #E8E0DC) 0%, #E8E0DC 100%);
}
.ben {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: stretch;
}
.ben-feat {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--r-lg, 24px);
  overflow: hidden;
  background: radial-gradient(70% 60% at 100% 0%, rgba(124,119,150,.45), transparent 65%),
              radial-gradient(60% 50% at 0% 100%, rgba(243,108,55,.28), transparent 65%),
              linear-gradient(160deg, #241C4F, #241C4F 55%, #241C4F);
}
.bf-ic {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--g-sun, linear-gradient(120deg, #F36C37 0%, #FF8E3E 48%, #FFC107 100%));
  color: var(--navy-950, #120D2E);
}
.bf-ic svg {
  width: 23px;
  height: 23px;
}
.ben-feat h3 {
  margin: 34px 0 10px;
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.12;
  color: #fff;
}
.ben-feat p {
  font-size: 16.5px;
  line-height: 1.6;
  color: #C8C5D2;
  max-width: 420px;
  margin: 0;
}
.bn-chart {
  margin-top: auto;
  padding-top: 28px;
  width: 100%;
  height: auto;
}
.bn-line {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  transition: stroke-dashoffset 1.6s var(--ease, cubic-bezier(.2,.7,.2,1)) .3s;
}
.ben-feat.in .bn-line {
  stroke-dashoffset: 0;
}
.ben-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(28px, 3vw, 48px);
  align-content: center;
  padding-left: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}
.ben-list li {
  padding: 30px 0 32px;
  border-top: 1px solid rgba(36,28,79,.14);
}
.ben-list li:nth-child(n+3) {
  border-bottom: 1px solid rgba(36,28,79,.14);
}
.bl-ic {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #fff;
  color: var(--orange-600, #F36C37);
  box-shadow: var(--sh-1, 0 1px 2px rgba(36,28,79,.06), 0 12px 28px -18px rgba(36,28,79,.30));
}
.bl-ic svg {
  width: 20px;
  height: 20px;
}
.ben-list h3 {
  margin: 20px 0 8px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.25;
  color: var(--navy, #241C4F);
}
.ben-list p {
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--body, #4A4566);
  max-width: 400px;
  margin: 0;
}

/* ── Loan types: card grid (5 types + CTA card) ──────────────────────── */
.c-types {
  background: #fff;
}
.tgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.tcard {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border-radius: var(--r-lg, 24px);
  background: var(--cream, #FAF9F8);
  border: 1px solid var(--line, rgba(36,28,79,.11));
  transition: transform .35s var(--ease, cubic-bezier(.2,.7,.2,1)),
              box-shadow .35s var(--ease, cubic-bezier(.2,.7,.2,1)),
              border-color .35s,
              background .35s;
}
.tcard:hover {
  transform: translateY(-4px);
  background: #fff;
  border-color: rgba(243,108,55,.45);
  box-shadow: var(--sh-2, 0 2px 4px rgba(36,28,79,.06), 0 28px 56px -26px rgba(36,28,79,.45));
}
.tcard .t-ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--lav, #E8E0DC);
  color: var(--navy, #241C4F);
  transition: background .35s, color .35s;
}
.tcard .t-ic svg {
  width: 24px;
  height: 24px;
}
.tcard:hover .t-ic {
  background: var(--g-orange, linear-gradient(135deg, #FF8A4C 0%, #F36C37 48%, #E0561F 100%));
  color: #fff;
}
.tcard h3 {
  margin: 24px 0 8px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.25;
  color: var(--navy, #241C4F);
}
.tcard p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--body, #4A4566);
  margin: 0;
}
.t-cta {
  justify-content: center;
  border: 0;
  background: radial-gradient(70% 80% at 100% 0%, rgba(124,119,150,.45), transparent 65%),
              radial-gradient(60% 70% at 0% 100%, rgba(243,108,55,.28), transparent 65%),
              linear-gradient(160deg, #241C4F, #241C4F 55%, #241C4F);
}
.t-cta:hover {
  background: radial-gradient(70% 80% at 100% 0%, rgba(124,119,150,.5), transparent 65%),
              radial-gradient(60% 70% at 0% 100%, rgba(243,108,55,.32), transparent 65%),
              linear-gradient(160deg, #241C4F, #241C4F 55%, #241C4F);
  border: 0;
}
.t-cta h3 {
  margin-top: 0;
  color: #fff;
  font-size: 24px;
}
.t-cta p {
  color: #C8C5D2;
}
.t-cta .btn {
  align-self: flex-start;
  margin-top: 24px;
}

/* ── Requirements: spec sheet ───────────────────────────────────────── */
.c-req {
  background: var(--cream, #FAF9F8);
}
.spec {
  background: #fff;
  border: 1px solid var(--line, rgba(36,28,79,.11));
  border-radius: var(--r-xl, 32px);
  box-shadow: var(--sh-1, 0 1px 2px rgba(36,28,79,.06), 0 12px 28px -18px rgba(36,28,79,.30));
  overflow: hidden;
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-left: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}
.sp {
  position: relative;
  padding: clamp(26px, 2.6vw, 38px);
  border-top: 1px solid var(--line, rgba(36,28,79,.11));
  transition: background .3s;
}
.sp:nth-child(-n+3) {
  border-top: 0;
}
.sp:not(:nth-child(3n+1)) {
  border-left: 1px solid var(--line, rgba(36,28,79,.11));
}
.sp:hover {
  background: #FCFCFB;
}
.sp-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
}
.sp-ic {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--orange-50, #E8E0DC);
  color: var(--orange-600, #F36C37);
}
.sp-ic svg {
  width: 22px;
  height: 22px;
}
.sp-key .sp-top {
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  min-height: 0;
}
.sp-v {
  font-size: clamp(44px, 4vw, 60px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .95;
  color: var(--navy, #241C4F);
  font-variant-numeric: tabular-nums;
}
.sp-v i {
  font-style: normal;
  font-size: .48em;
  font-weight: 600;
  color: var(--orange-600, #F36C37);
  margin-left: 3px;
  letter-spacing: -.01em;
}
.sp h3 {
  margin: 22px 0 8px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--navy, #241C4F);
}
.sp-key h3 {
  margin-top: 14px;
}
.sp p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--body, #4A4566);
  max-width: 400px;
  margin: 0;
}
.sp:not(.sp-key) {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 20px;
  align-content: start;
}
.sp:not(.sp-key) .sp-top {
  grid-row: span 2;
  min-height: 0;
  align-self: start;
}
.sp:not(.sp-key) h3 {
  margin: 10px 0 6px;
}
.sp-key {
  background: linear-gradient(180deg, #fff, #FCFCFB);
}
.spec-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  padding: 22px clamp(26px, 2.6vw, 38px);
  border-top: 1px solid var(--line, rgba(36,28,79,.11));
  background: var(--sand-50, #E8E0DC);
}
.spec-foot p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--body, #4A4566);
  margin: 0;
}
.spec-foot p svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--ok, #F36C37);
}
.spec-foot .btn {
  flex: none;
}

/* ── Process: horizontal timeline (vertical on small screens) ───────── */
.tline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 32px;
  counter-reset: s;
  padding-left: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}
.tline::before, .tline::after {
  content: "";
  position: absolute;
  left: 28px;
  right: calc((100% - 128px) / 5 - 28px);
  top: 27px;
  height: 2px;
  border-radius: 2px;
}
.tline::before {
  background: rgba(255,255,255,.14);
}
.tline::after {
  background: linear-gradient(90deg, #FFBA00, #F68327 60%, #F36C37);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.8s var(--ease, cubic-bezier(.2,.7,.2,1)) .2s;
}
.tline.in::after {
  transform: scaleX(1);
}
.ts {
  position: relative;
  z-index: 1;
}
.ts-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #241C4F;
  border: 1px solid rgba(255,255,255,.18);
  color: #C8C5D2;
  box-shadow: 0 0 0 8px rgba(36,28,79,.9);
  transition: background .4s var(--ease, cubic-bezier(.2,.7,.2,1)), color .4s, border-color .4s;
  transition-delay: calc(.25s + var(--i) * .32s);
}
.ts-dot svg {
  width: 23px;
  height: 23px;
}
.tline.in .ts-dot {
  background: #fff;
  border-color: #fff;
  color: var(--navy, #241C4F);
}
.tline.in .ts-end .ts-dot {
  background: var(--g-orange, linear-gradient(135deg, #FF8A4C 0%, #F36C37 48%, #E0561F 100%));
  border-color: transparent;
  color: #fff;
}
.ts-n {
  display: block;
  margin-top: 26px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold, #FFBA00);
}
.ts h3 {
  margin: 10px 0 10px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.25;
  color: #fff;
}
.ts p {
  font-size: 15.5px;
  line-height: 1.62;
  color: #C0BECC;
  margin: 0;
}
.ts-end h3 {
  color: #F78525;
}
.ulink-l {
  color: var(--gold, #FFBA00);
  text-decoration-color: var(--gold, #FFBA00);
}

/* ── Tips: five columns ──────────────────────────────────────────────── */
.c-tips {
  background: #fff;
}
.tipline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-radius: var(--r-lg, 24px);
  background: var(--cream, #FAF9F8);
  border: 1px solid var(--line, rgba(36,28,79,.11));
  overflow: hidden;
  padding-left: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}
.tipline li {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 34px;
  transition: background .3s;
}
.tipline li + li {
  border-left: 1px solid var(--line, rgba(36,28,79,.11));
}
.tipline li::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--g-sun, linear-gradient(120deg, #F36C37 0%, #FF8E3E 48%, #FFC107 100%));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease, cubic-bezier(.2,.7,.2,1));
}
.tipline li:hover {
  background: #fff;
}
.tipline li:hover::after {
  transform: scaleX(1);
}
.tp-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--orange-600, #F36C37);
  box-shadow: var(--sh-1, 0 1px 2px rgba(36,28,79,.06), 0 12px 28px -18px rgba(36,28,79,.30));
}
.tp-ic svg {
  width: 21px;
  height: 21px;
}
.tp-n {
  margin-top: 26px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mute, #76718F);
}
.tipline p {
  margin-top: 8px;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -.01em;
  color: var(--navy, #241C4F);
  margin-bottom: 0;
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1499px) and (min-width: 1025px) {
  .h-home { --k: .86; }
}
@media (max-width: 1280px) {
  .tipline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .tipline li:nth-child(4) {
    border-left: 0;
  }
  .tipline li:nth-child(n+4) {
    border-top: 1px solid var(--line, rgba(36,28,79,.11));
  }
}
@media (max-width: 1024px) {
  .hx-card {
    justify-self: start;
    max-width: 620px;
    margin-top: 96px;
  }
  .h-home { --k: .62; }
  .hh {
    left: auto;
    right: -250px;
    top: 110px;
    bottom: auto;
  }
  .hh-veil {
    background: linear-gradient(90deg, rgba(36,28,79,.8) 0%, rgba(36,28,79,.3) 50%, rgba(36,28,79,0) 75%);
  }
  .sp:not(.sp-key) {
    display: block;
  }
  .sp:not(.sp-key) h3 {
    margin: 18px 0 6px;
  }
  .sp {
    padding: 24px;
  }
  .sp-v {
    font-size: 42px;
  }
  .c-hero .hero-in {
    grid-template-columns: 1fr;
  }
  .what-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .ben {
    grid-template-columns: 1fr;
  }
  .ben-feat {
    min-height: 340px;
  }
  .tgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* timeline turns vertical */
  .tline {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 720px;
  }
  .tline::before, .tline::after {
    display: none;
  }
  .ts:not(:last-child)::before, .ts:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 27px;
    top: 28px;
    bottom: -28px;
    width: 2px;
    z-index: -1;
  }
  .ts:not(:last-child)::before {
    background: rgba(255,255,255,.14);
  }
  .ts:not(:last-child)::after {
    background: linear-gradient(180deg, #FFBA00, #F36C37);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .5s var(--ease, cubic-bezier(.2,.7,.2,1));
    transition-delay: calc(.25s + var(--i) * .32s);
  }
  .tline.in .ts::after {
    transform: scaleY(1);
  }
  .ts {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 24px;
    padding-bottom: 36px;
  }
  .ts:last-child {
    padding-bottom: 0;
  }
  .ts-dot {
    grid-row: span 3;
  }
  .ts-n {
    margin-top: 4px;
  }
  .ts h3, .ts p {
    grid-column: 2;
  }
}
@media (max-width: 768px) {
  .spec-grid {
    grid-template-columns: 1fr;
  }
  .sp:nth-child(n) {
    border-left: 0;
    border-top: 1px solid var(--line, rgba(36,28,79,.11));
  }
  .sp:first-child {
    border-top: 0;
  }
  .sp {
    padding: 24px;
  }
  .sp-key .sp-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .sp-v {
    font-size: 44px;
  }
  .spec-foot {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 24px;
  }
  .spec-foot .btn {
    align-self: stretch;
  }
  .tipline {
    grid-template-columns: 1fr;
  }
  .tipline li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 18px;
    padding: 22px 22px;
  }
  .tipline li + li {
    border-left: 0;
    border-top: 1px solid var(--line, rgba(36,28,79,.11));
  }
  .tp-ic {
    grid-row: span 2;
  }
  .tp-n {
    margin-top: 0;
  }
  .tipline p {
    margin-top: 4px;
    font-size: 16px;
  }
  .ben-list {
    grid-template-columns: 1fr;
  }
  .ben-list li:nth-child(n+3) {
    border-bottom: 0;
  }
  .ben-list li:last-child {
    border-bottom: 1px solid rgba(36,28,79,.14);
  }
  .ben-list li {
    padding: 24px 0;
  }
}
@media (max-width: 640px) {
  .h-home { --k: .44; }
  .hh {
    right: -120px;
    top: 60px;
    opacity: .32;
  }
  .hx-card {
    padding: 24px 0 0;
    border-radius: 22px;
    margin-top: 84px;
  }
  .hm-head {
    padding: 0 22px;
  }
  .hm-chat {
    margin: 20px 22px 0;
  }
  .hm-form {
    margin: 18px 22px 0;
  }
  .hx-note {
    margin: 12px 22px 0;
  }
  .hm-fig {
    width: 80px;
    top: -104px;
    right: 18px;
  }
  .hm-bubble {
    font-size: 16px;
  }
  .c-hero .hx-card .hx-stats,
  .hx-card .hx-stats,
  .hx-stats {
    grid-template-columns: 1fr 1fr;
    margin: 20px 0 0 0 !important;
    width: 100% !important;
    border-radius: 0 0 21px 21px;
  }
  .hx-stats li, .hx-stats li:first-child {
    padding: 16px 18px;
  }
  .hx-stats li:first-child {
    grid-column: 1 / -1;
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding-left: 22px;
    padding-right: 22px;
  }
  .hx-stats li:nth-child(2) {
    border-left: 0;
    padding-left: 22px;
  }
  .hx-stats li:last-child {
    padding-right: 22px;
  }
  .hx-stats b {
    font-size: 17px;
  }
  .c-hero h1 {
    font-size: clamp(36px, 10vw, 46px);
  }
  .sp:not(.sp-key) {
    column-gap: 16px;
  }
  .tgrid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .tcard {
    padding: 22px;
  }
  .tcard h3 {
    margin-top: 16px;
    font-size: 19px;
  }
  .t-cta .btn {
    align-self: stretch;
  }
  .what-list li {
    padding: 18px;
    gap: 14px;
  }
  .what-list p {
    font-size: 16px;
  }
  .ben-feat {
    padding: 24px;
    min-height: 0;
  }
  .ts {
    column-gap: 18px;
  }
  .ts h3 {
    font-size: 18.5px;
  }
}
@media (max-width: 380px) {
  .t-cta .btn, .spec-foot .btn {
    white-space: normal;
    height: auto;
    min-height: 48px;
    padding: 12px 16px;
  }
  .hx-stats b {
    white-space: normal;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hh-win, .hh-door, .hh-glow, .hh-spill, .hm-fig img, .hm-head small i::after, .hm-typing i {
    animation: none;
  }
  .hh-win { opacity: .55; }
  .hh-door { opacity: .85; }
  .hh-glow, .hh-spill { opacity: 1; }
  .hm-typing { display: none; }
  .hm-bubble { animation: none; opacity: 1; transform: none; }
  .bn-line { stroke-dashoffset: 0; }
  .tline::after, .ts::after { transition: none; }
  .ts-dot { transition: none; }
}

