﻿@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #0f172a;
  --muted: #64748b;
  --paper: #ffffff;
  --canvas: #f6f8ff;
  --canvas-strong: #eef3ff;
  --navy: #101a3a;
  --blue: #2563eb;
  --blue-strong: #1d4ed8;
  --violet: #7c3aed;
  --violet-strong: #6d28d9;
  --violet-soft: #ede9fe;
  --waismo-blue: #1267f1;
  --waismo-deep-blue: #102a66;
  --waismo-violet: #6d4cff;
  --waismo-bg: #f7f5ff;
  --waismo-muted: #667085;
  --amber: #f97316;
  --sun: #fbbf24;
  --coral: #fb4d7d;
  --magenta: #ec4899;
  --success: #4f46e5;
  --line: #dbe4f3;
  --soft-line: rgba(15, 23, 42, .1);
  --shadow-sm: 0 8px 20px rgba(16, 26, 58, .08);
  --shadow: 0 18px 48px rgba(16, 26, 58, .14);
  --shadow-strong: 0 28px 70px rgba(16, 26, 58, .2);
  --radius: 8px;
  --content: 1380px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0, var(--canvas) 360px),
    var(--canvas);
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
details:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(236, 72, 153, .72);
  outline-offset: 3px;
}

button,
summary,
.card,
.route-card,
.promo-card {
  touch-action: manipulation;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: 4rem;
  line-height: 1;
}

h2 {
  margin-bottom: 12px;
  font-size: 2.55rem;
  line-height: 1.08;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.16rem;
  line-height: 1.25;
}

p {
  color: var(--muted);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
}

.top-strip {
  background: var(--navy);
  color: #dce8ff;
  font-size: .82rem;
}

.top-strip .shell,
.nav,
.brand,
.nav-links,
.hero-actions,
.chip-row,
.card-actions,
.detail-head,
.form-actions,
.filter-row,
.trust-strip,
.source-row {
  display: flex;
  align-items: center;
}

.top-strip .shell {
  min-height: 38px;
  justify-content: space-between;
  gap: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 228, 243, .8);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 74px;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: white;
  box-shadow: 0 12px 30px rgba(37, 99, 235, .28);
}

.brand strong {
  display: grid;
  line-height: 1.15;
}

.brand span:not(.brand-mark) {
  display: block;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 700;
}

.nav-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.nav-links a {
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #344256;
  font-size: .84rem;
  font-weight: 700;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: #c7d2fe;
  background: #eef2ff;
  color: var(--blue-strong);
}

.nav-cta {
  border-color: rgba(124, 58, 237, .32) !important;
  background: var(--violet-soft);
  color: var(--violet-strong) !important;
}

.waismo-brand {
  flex: 0 0 auto;
  gap: 10px;
}

.waismo-brand-avatar {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  padding: 3px;
  border: 1px solid rgba(18, 103, 241, .22);
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 45%, rgba(255, 255, 255, .88) 0 44%, rgba(255, 255, 255, .24) 45% 100%),
    linear-gradient(135deg, rgba(18, 103, 241, .9), rgba(109, 76, 255, .75));
  box-shadow: 0 12px 26px rgba(18, 103, 241, .14);
  overflow: hidden;
}

.waismo-brand-avatar img {
  width: 112%;
  height: 112%;
  object-fit: cover;
  transform: translateY(2px) scale(1.08);
}

.brand.waismo-brand .waismo-brand-wordmark {
  display: block;
  color: var(--waismo-deep-blue);
  font-size: clamp(1.7rem, 3vw, 2.18rem);
  font-weight: 900;
  line-height: 1;
}

.hero.waismo-hero {
  min-height: calc(100dvh - 112px);
  overflow: hidden;
  background:
    linear-gradient(135deg, #1b6df5 0%, #6748f5 52%, #884cf0 100%);
  color: #ffffff;
}

.hero.waismo-hero::before {
  content: none;
}

.hero.waismo-hero::after {
  content: none;
}

.hero.waismo-hero .shell {
  grid-template-columns: minmax(0, .92fr) minmax(380px, 1fr);
  gap: clamp(22px, 4vw, 60px);
  align-items: center;
  min-height: calc(100dvh - 112px);
  padding: clamp(54px, 7vw, 86px) 0 clamp(54px, 7vw, 86px);
}

.hero.waismo-hero .hero-copy {
  max-width: 690px;
}

.hero-eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 13px;
  border: 1px solid rgba(18, 103, 241, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: var(--waismo-deep-blue);
  box-shadow: 0 14px 34px rgba(16, 42, 102, .08);
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero.waismo-hero h1 {
  max-width: 640px;
  color: #ffffff;
  font-size: clamp(2.75rem, 4.72vw, 4.6rem);
  line-height: 1.02;
  text-shadow: 0 16px 44px rgba(6, 20, 66, .2);
}

.hero.waismo-hero h1 span {
  display: block;
}

.hero.waismo-hero .hero-copy > p {
  max-width: 590px;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(1.02rem, 1.45vw, 1.28rem);
}

.hero.waismo-hero .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 64px;
  padding: 0 28px 0 22px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 14px;
  background: #ffffff;
  color: var(--waismo-deep-blue);
  font-size: 1.05rem;
  font-weight: 900;
  box-shadow: 0 22px 46px rgba(7, 22, 64, .24);
}

.hero.waismo-hero .button.secondary {
  border-color: rgba(255, 255, 255, .92);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(238, 242, 255, .94));
  color: #14316d;
  box-shadow: 0 20px 42px rgba(7, 22, 64, .18);
}

.hero.waismo-hero .button:hover,
.hero.waismo-hero .button.secondary:hover {
  box-shadow: 0 26px 56px rgba(7, 22, 64, .28);
  transform: translateY(-2px);
}

.hero-action-icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .14), rgba(124, 58, 237, .14)),
    rgba(255, 255, 255, .88);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .16);
}

.hero-action-icon svg {
  width: 30px;
  height: 30px;
  overflow: visible;
}

.magnifier-card-icon rect,
.magnifier-card-icon circle,
.magnifier-card-icon path,
.fan-card-icon rect,
.fan-card-icon path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.fan-card-icon .fan-card {
  fill: rgba(37, 99, 235, .1);
}

.fan-card-icon .fan-card-left {
  transform: rotate(-10deg);
  transform-origin: 17px 34px;
}

.fan-card-icon .fan-card-right {
  transform: rotate(10deg);
  transform-origin: 31px 34px;
}

.waismo-hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-self: center;
  justify-self: center;
  width: min(100%, 620px);
  align-items: center;
  justify-content: center;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: auto;
}

.waismo-hero-visual::before,
.waismo-hero-visual::after {
  display: none;
  content: none;
}

.hero-visual-stage {
  position: relative;
  width: min(100%, 560px);
  height: clamp(500px, 54vw, 640px);
  color: var(--waismo-deep-blue);
  filter: drop-shadow(0 32px 70px rgba(10, 20, 60, .28));
}

.hero-visual-stage,
.hero-visual-stage *,
.hero-visual-stage *::before,
.hero-visual-stage *::after {
  box-sizing: border-box;
}

.hero-phone {
  position: absolute;
  right: 14%;
  top: 7%;
  --phone-rotate: 7deg;
  width: clamp(230px, 25vw, 318px);
  height: clamp(438px, 45vw, 560px);
  padding: 16px;
  border: 8px solid #121827;
  border-radius: 44px;
  background: linear-gradient(145deg, #111827, #2c3140);
  box-shadow:
    0 30px 70px rgba(4, 12, 32, .34),
    inset 0 0 0 1px rgba(255, 255, 255, .18);
  overflow: hidden;
  transform: perspective(900px) translate3d(0, 0, 0) rotate(var(--phone-rotate)) rotateX(0deg) rotateY(0deg);
  transform-origin: center;
  animation: heroPhoneFloat 8.5s ease-in-out .35s infinite;
  will-change: transform;
}

.hero-phone::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 44px;
  border-right: 3px solid rgba(255, 255, 255, .22);
  pointer-events: none;
}

.hero-phone-speaker {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 72px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .26);
  transform: translateX(-50%);
}

.hero-phone-screen {
  position: relative;
  display: grid;
  gap: 9px;
  height: 100%;
  min-height: 0;
  padding: 32px 18px 16px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 4%, rgba(124, 58, 237, .14), transparent 32%),
    radial-gradient(circle at 96% 12%, rgba(18, 103, 241, .12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  overflow: hidden;
}

.hero-phone-screen::after {
  content: "";
  position: absolute;
  inset: 26px 10px 52px;
  z-index: 3;
  border-radius: 26px;
  background: linear-gradient(110deg, transparent 0 38%, rgba(255, 255, 255, .2) 48%, transparent 58% 100%);
  opacity: .22;
  pointer-events: none;
  transform: translateX(-145%) skewX(-12deg);
  animation: heroScreenShimmer 7.5s ease-in-out 1.6s infinite;
}

.hero-app-bar {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--waismo-deep-blue);
}

.hero-app-feed {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 9px;
  padding-bottom: 48px;
  animation: heroAppFeedDrift 10.5s ease-in-out 1.2s infinite;
  will-change: transform;
}

.hero-app-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  font-size: 1.18rem;
  font-weight: 950;
  letter-spacing: -.01em;
}

.hero-app-brand img {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, .15);
}

.hero-app-brand strong {
  color: #081a43;
}

.hero-app-brand strong span {
  color: var(--waismo-blue);
}

.hero-app-bell {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .78);
  color: #5b6f91;
  box-shadow: inset 0 0 0 1px rgba(194, 210, 245, .9);
}

.hero-app-bell::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  margin: -20px 0 0 21px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #ff4b55;
}

.hero-app-bell svg,
.hero-card-icon svg,
.hero-spend-strip svg,
.hero-why-card svg,
.hero-app-cta svg,
.hero-shield-accent svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-phone-screen h3 {
  margin: 5px 0 0;
  color: var(--waismo-deep-blue);
  font-size: clamp(1.36rem, 2.05vw, 1.72rem);
  line-height: 1.02;
  letter-spacing: -.02em;
}

.hero-phone-screen p {
  margin: -3px 0 2px;
  color: #5b6f91;
  font-size: .82rem;
  font-weight: 650;
  line-height: 1.3;
}

.hero-match-card {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 132px;
  padding: 15px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 255, 255, .28), transparent 22%),
    radial-gradient(circle at 10% 92%, rgba(255, 255, 255, .22), transparent 26%),
    linear-gradient(135deg, #1b6df5 0%, #2734ee 52%, #7c3aed 100%);
  color: #ffffff;
  box-shadow:
    0 20px 38px rgba(37, 99, 235, .26),
    inset 0 1px 0 rgba(255, 255, 255, .28);
  overflow: hidden;
}

.hero-match-card::before {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -38px;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}

.hero-match-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-match-top span {
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .05em;
  white-space: nowrap;
  text-transform: uppercase;
}

.hero-match-top i {
  display: block;
  width: 32px;
  height: 22px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 50%, #ff7a20 0 33%, transparent 34%),
    radial-gradient(circle at 62% 50%, #ffb11f 0 33%, transparent 34%),
    rgba(255, 255, 255, .12);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
}

.hero-match-card strong {
  position: relative;
  z-index: 1;
  max-width: 11rem;
  font-size: 1.12rem;
  line-height: 1.1;
}

.hero-match-score {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  align-items: baseline;
  gap: 5px;
  margin-top: 2px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
  background: rgba(255, 255, 255, .14);
}

.hero-match-score b {
  font-size: 1.84rem;
  line-height: .95;
}

.hero-match-score small {
  color: rgba(255, 255, 255, .84);
  font-size: .78rem;
  font-weight: 750;
}

.hero-spend-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border: 1px solid #dde8ff;
  border-radius: 20px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 24px rgba(37, 99, 235, .07);
}

.hero-spend-strip span {
  display: grid;
  gap: 3px;
  color: #536585;
  font-size: .64rem;
  font-weight: 800;
  text-align: center;
}

.hero-spend-strip svg {
  justify-self: center;
  width: 16px;
  height: 16px;
  color: var(--waismo-blue);
}

.hero-spend-strip b {
  color: var(--waismo-blue);
  font-size: .9rem;
}

.hero-why-card {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 2px 9px;
  padding: 10px;
  border: 1px solid #dde8ff;
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  color: #536585;
  font-size: .72rem;
  font-weight: 700;
}

.hero-why-card svg {
  grid-row: span 2;
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(18, 103, 241, .1);
  color: var(--waismo-blue);
}

.hero-why-card strong {
  color: var(--waismo-deep-blue);
  font-size: .82rem;
}

.hero-why-card span {
  line-height: 1.28;
}

.hero-app-cta {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  z-index: 5;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--waismo-blue), var(--waismo-violet));
  color: #ffffff;
  font: inherit;
  font-size: .9rem;
  font-weight: 900;
  box-shadow: 0 16px 28px rgba(37, 99, 235, .22);
}

.hero-app-cta svg {
  width: 16px;
  height: 16px;
}

.hero-floating-card {
  position: absolute;
  z-index: 2;
  --card-rotate: 0deg;
  --card-float-y: -7px;
  --card-drift-x: 3px;
  --intro-delay: .2s;
  --float-delay: 1.1s;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 3px 10px;
  width: clamp(148px, 16vw, 188px);
  padding: 14px;
  border: 1px solid rgba(221, 232, 255, .78);
  border-radius: 20px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 24px 44px rgba(16, 24, 40, .14);
  backdrop-filter: blur(12px);
  opacity: 0;
  rotate: var(--card-rotate);
  scale: .96;
  translate: 0 16px;
  animation:
    heroCardReveal .7s cubic-bezier(.2, .8, .2, 1) var(--intro-delay) forwards,
    heroCardFloat 5.8s ease-in-out var(--float-delay) infinite alternate;
  will-change: opacity, translate, scale;
}

.hero-floating-card strong {
  color: var(--waismo-deep-blue);
  font-size: .9rem;
  line-height: 1.1;
}

.hero-floating-card span:last-child {
  grid-column: 2;
  color: #5c6d8a;
  font-size: .72rem;
  font-weight: 650;
  line-height: 1.25;
}

.hero-card-icon {
  display: grid;
  width: 36px;
  height: 36px;
  grid-row: span 2;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(18, 103, 241, .12), rgba(124, 58, 237, .16));
  color: var(--waismo-violet);
}

.promo-alert {
  left: 2%;
  top: 15%;
  --card-rotate: -5deg;
  --intro-delay: .2s;
  --float-delay: 1.1s;
}

.due-soon {
  left: 0;
  top: 38%;
  --card-rotate: -4deg;
  --card-float-y: -5px;
  --card-drift-x: -2px;
  --intro-delay: .42s;
  --float-delay: 1.35s;
}

.budget-check {
  right: 0;
  top: 35%;
  --card-rotate: 4deg;
  --card-float-y: -8px;
  --card-drift-x: -3px;
  --intro-delay: .64s;
  --float-delay: 1.6s;
}

.debt-tip {
  right: 2%;
  bottom: 18%;
  --card-rotate: -5deg;
  --card-float-y: -6px;
  --intro-delay: .86s;
  --float-delay: 1.9s;
}

.hero-mascot-badge {
  position: absolute;
  z-index: 4;
  left: 17%;
  bottom: 17%;
  display: grid;
  width: clamp(88px, 9vw, 118px);
  height: clamp(88px, 9vw, 118px);
  place-items: center;
  border: 6px solid rgba(255, 255, 255, .76);
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 42%, #ffffff 0 42%, rgba(238, 242, 255, .96) 43% 100%),
    linear-gradient(135deg, #1b6df5, #7c3aed);
  box-shadow: 0 22px 42px rgba(16, 24, 40, .18);
  animation: heroMascotPulse 5.8s ease-in-out 1.4s infinite;
  will-change: transform;
}

.hero-mascot-badge::after {
  content: "";
  position: absolute;
  right: 18%;
  top: 18%;
  width: 15%;
  height: 15%;
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  opacity: 0;
  transform: scale(.6);
  animation: heroMascotGleam 5.8s ease-in-out 1.4s infinite;
  pointer-events: none;
}

.hero-mascot-badge img {
  display: block;
  width: 82%;
  height: 82%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 12px 22px rgba(37, 99, 235, .16);
}

.hero-shield-accent {
  position: absolute;
  right: 8%;
  bottom: 7%;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  color: #ffffff;
}

.hero-shield-accent svg {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  padding: 15px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--waismo-violet), #4f46e5);
  box-shadow: 0 18px 34px rgba(76, 29, 149, .26);
}

.hero-shield-accent span {
  position: absolute;
  right: 2px;
  bottom: 4px;
  width: 28px;
  height: 28px;
  border: 4px solid #f7c44f;
  border-radius: 50%;
  background: #f8dc75;
}

.hero-shield-accent span:last-child {
  right: 22px;
  bottom: 0;
  transform: scale(.8);
}

@keyframes heroPhoneFloat {
  0%,
  100% {
    transform: perspective(900px) translate3d(0, 0, 0) rotate(var(--phone-rotate)) rotateX(0deg) rotateY(0deg);
  }

  42% {
    transform: perspective(900px) translate3d(0, -9px, 0) rotate(calc(var(--phone-rotate) - .8deg)) rotateX(1deg) rotateY(-1.8deg);
  }

  72% {
    transform: perspective(900px) translate3d(2px, -4px, 0) rotate(calc(var(--phone-rotate) + .5deg)) rotateX(-.6deg) rotateY(1.2deg);
  }
}

@keyframes heroAppFeedDrift {
  0%,
  100% {
    transform: translateY(0);
  }

  45% {
    transform: translateY(-5px);
  }

  72% {
    transform: translateY(-2px);
  }
}

@keyframes heroScreenShimmer {
  0%,
  42% {
    opacity: 0;
    transform: translateX(-145%) skewX(-12deg);
  }

  56% {
    opacity: .22;
  }

  72%,
  100% {
    opacity: 0;
    transform: translateX(145%) skewX(-12deg);
  }
}

@keyframes heroCardReveal {
  from {
    opacity: 0;
    scale: .96;
    translate: 0 16px;
  }

  to {
    opacity: 1;
    scale: 1;
    translate: 0 0;
  }
}

@keyframes heroCardFloat {
  from {
    translate: 0 0;
  }

  to {
    translate: var(--card-drift-x) var(--card-float-y);
  }
}

@keyframes heroMascotPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  45% {
    transform: translateY(-5px) scale(1.025);
  }

  70% {
    transform: translateY(-2px) scale(1);
  }
}

@keyframes heroMascotGleam {
  0%,
  58%,
  100% {
    opacity: 0;
    transform: scale(.6);
  }

  66% {
    opacity: .88;
    transform: scale(1);
  }
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(16, 26, 58, .98), rgba(37, 99, 235, .92) 55%, rgba(124, 58, 237, .9)),
    var(--navy);
  color: white;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -80px;
  width: 420px;
  height: 220px;
  background: linear-gradient(135deg, rgba(236, 72, 153, .48), rgba(124, 58, 237, .18));
  transform: rotate(-10deg);
}

.hero .shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, .88fr);
  gap: 44px;
  align-items: stretch;
  min-height: 640px;
  padding: 72px 0 48px;
}

.hero p {
  max-width: 660px;
  color: #e6ecff;
  font-size: 1.1rem;
}

.hero-copy {
  align-self: center;
  max-width: 720px;
}

.eyebrow,
.page-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  padding: 7px 11px;
  border: 1px solid rgba(236, 72, 153, .42);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: #ffe4f0;
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.page-kicker {
  border-color: #c7d2fe;
  background: #eef2ff;
  color: var(--blue-strong);
}

.hero-actions,
.form-actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.button,
button.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: .9rem;
  font-weight: 800;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.button:hover,
button.button:hover {
  box-shadow: 0 14px 28px rgba(37, 99, 235, .24);
  transform: translateY(-1px);
}

.button:active,
button.button:active {
  transform: translateY(0);
}

.button.secondary {
  border-color: rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .12);
  color: white;
}

.button.ghost {
  border-color: #c7d2fe;
  background: white;
  color: var(--blue-strong);
}

.button.warm {
  border-color: rgba(236, 72, 153, .48);
  background: linear-gradient(135deg, var(--magenta), var(--coral));
  color: white;
}

.button[disabled],
button.button[disabled] {
  border-color: #cbd5e1;
  background: #e2e8f0;
  color: #64748b;
  cursor: not-allowed;
  opacity: .72;
  box-shadow: none;
  transform: none;
}

.hero-panel,
.finance-visual,
.card,
.promo-card,
.stat,
.notice,
.step-card,
.tool-panel,
.score-card,
.detail-modal,
.route-card,
.trust-card,
.insight-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.finance-visual {
  position: relative;
  display: grid;
  min-height: 510px;
  grid-template-columns: minmax(300px, .6fr) minmax(190px, .4fr);
  gap: 20px;
  align-items: center;
  overflow: hidden;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(238, 242, 255, .9)),
    radial-gradient(circle at 10% 15%, rgba(236, 72, 153, .2), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(37, 99, 235, .16), transparent 26%);
  color: var(--ink);
  box-shadow: var(--shadow-strong);
}

.finance-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(37, 99, 235, .14);
  border-radius: var(--radius);
  pointer-events: none;
}

.visual-card-stack,
.phone-mockup {
  position: relative;
  z-index: 1;
}

.visual-card-stack {
  display: grid;
  gap: 14px;
}

.premium-card {
  display: grid;
  min-height: 245px;
  align-content: space-between;
  padding: 24px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(16, 26, 58, .98), rgba(37, 99, 235, .92) 52%, rgba(124, 58, 237, .9)),
    var(--navy);
  color: white;
  box-shadow: 0 28px 52px rgba(37, 99, 235, .32);
  transform: rotate(-5deg);
}

.premium-card-top,
.premium-card-bottom,
.app-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.premium-card strong {
  font-size: 1.55rem;
  letter-spacing: .08em;
}

.mini-card-note {
  position: relative;
  z-index: 2;
  width: min(300px, 100%);
  margin: 0;
  padding: 16px;
  border: 1px solid #dbe4f3;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.mini-card-note strong {
  display: block;
  margin-top: 8px;
}

.phone-mockup {
  justify-self: center;
  width: min(330px, 100%);
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 28px;
  background: #111827;
  box-shadow: 0 30px 70px rgba(15, 23, 42, .32);
}

.phone-speaker {
  width: 76px;
  height: 6px;
  margin: 4px auto 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .25);
}

.phone-screen {
  display: grid;
  gap: 9px;
  min-height: 0;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f4f7ff);
}

.phone-screen h3 {
  margin-bottom: 0;
  font-size: 1.28rem;
  line-height: 1.12;
}

.phone-credit-card {
  display: grid;
  min-height: 132px;
  align-content: space-between;
  padding: 16px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 82% 16%, rgba(236, 72, 153, .38), transparent 26%),
    linear-gradient(135deg, #0f172a 0%, #2563eb 58%, #7c3aed 100%);
  color: white;
  box-shadow: 0 18px 38px rgba(37, 99, 235, .28);
}

.phone-credit-card-top,
.phone-credit-card-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.phone-credit-card strong {
  font-size: 1.22rem;
  letter-spacing: 0;
}

.phone-rank-list {
  display: grid;
  gap: 7px;
}

.phone-rank-list span {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: #475569;
  font-size: .82rem;
  font-weight: 800;
}

.phone-rank-list b,
.phone-rank-list em {
  display: inline-grid;
  min-width: 24px;
  min-height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #eef2ff;
  color: var(--blue-strong);
  font-style: normal;
}

.app-match-panel,
.visual-stat-tile {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow-sm);
}

.visual-stat-tile {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .1), rgba(236, 72, 153, .1)),
    white;
}

.visual-stat-tile.source-tile {
  background:
    linear-gradient(135deg, rgba(124, 58, 237, .1), rgba(37, 99, 235, .08)),
    white;
}

.visual-stat-tile span {
  color: var(--violet-strong);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.app-progress {
  display: grid;
  grid-template-columns: 1.5fr 1fr .7fr;
  gap: 7px;
}

.app-progress span {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
}

.app-row {
  align-items: center;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  font-size: .82rem;
}

.hero-panel {
  overflow: hidden;
  color: var(--ink);
  box-shadow: var(--shadow-strong);
}

.hero-panel p,
.hero-panel .source,
.hero-panel .micro,
.hero-panel .market-stats span {
  color: var(--muted);
}

.hero .trust-strip {
  color: var(--ink);
}

.hero .trust-strip .micro {
  color: var(--muted);
}

.panel-header,
.detail-head {
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.panel-body {
  padding: 22px;
}

.feature-card {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 14px;
  align-items: center;
}

.card-image-frame {
  display: grid;
  width: min(100%, 188px);
  aspect-ratio: 1.586;
  grid-template-areas: "media";
  min-height: 0;
  place-items: center;
  justify-self: center;
  overflow: hidden;
  padding: 6px;
  border: 1px solid #dfe8f8;
  border-radius: var(--radius);
  background: #ffffff;
}

.featured-carousel-shell {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 18px 0 24px;
}

.featured-carousel-stage {
  position: relative;
  width: min(100%, 1180px);
  min-height: 360px;
  isolation: isolate;
}

.featured-carousel-card {
  --carousel-transform: translateX(0) scale(.84);
  position: absolute;
  inset: 0;
  display: grid;
  width: min(100%, 680px);
  min-height: 350px;
  grid-template-columns: 214px minmax(0, 1fr);
  grid-template-areas:
    "tag copy"
    "image copy"
    "facts facts";
  margin: auto;
  gap: 14px 18px;
  align-content: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 4px solid transparent;
  border-radius: 14px;
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(90deg, var(--blue), var(--violet), var(--magenta)) border-box;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: var(--carousel-transform);
  transition: opacity .28s ease, transform .28s ease, box-shadow .28s ease;
}

.featured-carousel-card.is-active {
  --carousel-transform: translateX(0) scale(1);
  z-index: 3;
  opacity: 1;
  pointer-events: auto;
}

.featured-carousel-card.is-prev,
.featured-carousel-card.is-next {
  z-index: 2;
  opacity: .36;
  pointer-events: auto;
}

.featured-carousel-card.is-prev {
  --carousel-transform: translateX(-86%) scale(.72);
}

.featured-carousel-card.is-next {
  --carousel-transform: translateX(86%) scale(.72);
}

.featured-carousel-card.is-prev-far,
.featured-carousel-card.is-next-far {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

.featured-carousel-card.is-prev-far {
  --carousel-transform: translateX(-82%) scale(.66);
}

.featured-carousel-card.is-next-far {
  --carousel-transform: translateX(82%) scale(.66);
}

.featured-carousel-card.is-hidden {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  --carousel-transform: translateX(0) scale(.64);
}

.featured-carousel-card .card-image-frame {
  grid-area: image;
  width: min(100%, 214px);
  height: 135px;
  align-self: center;
}

.featured-carousel-card > .card-tier-top {
  grid-area: tag;
  align-self: end;
  justify-self: center;
  width: 100%;
}

.featured-carousel-copy {
  grid-area: copy;
  display: grid;
  gap: 8px;
}

.featured-carousel-card > .facts {
  grid-area: facts;
}

.featured-carousel-copy h3 {
  margin-bottom: 0;
  font-size: 1.45rem;
}

.featured-carousel-copy p {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 0;
  font-size: 1rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.featured-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

.featured-carousel-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #c7d2fe;
  transition: width .2s ease, background .2s ease;
}

.featured-carousel-dots span.is-active {
  width: 28px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
}

.featured-carousel-controls,
.promo-carousel-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(100%, 420px);
  max-width: 100%;
  min-width: 0;
  margin-top: 14px;
}

.featured-carousel-controls .featured-carousel-dots {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.carousel-nav-button {
  display: grid;
  width: 44px;
  min-width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid #bfccff;
  border-radius: 999px;
  background: white;
  color: var(--blue-strong);
  cursor: pointer;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 12px 26px rgba(37, 99, 235, .1);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.carousel-nav-button:hover,
.carousel-nav-button:focus-visible {
  border-color: #8b5cf6;
  box-shadow: 0 16px 32px rgba(91, 71, 247, .18);
  transform: translateY(-1px);
}

.featured-rail {
  display: flex;
  width: min(100%, 1120px);
  gap: 10px;
  margin-top: 16px;
  padding: 2px 2px 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-color: #bfccff transparent;
}

.featured-rail-item {
  display: grid;
  flex: 0 0 clamp(190px, 22vw, 252px);
  grid-template-columns: 58px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 76px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(247, 250, 255, .94));
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  scroll-snap-align: start;
  box-shadow: var(--shadow-sm);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.featured-rail-item:hover,
.featured-rail-item:focus-visible,
.featured-rail-item.is-active {
  border-color: #a5b4fc;
  box-shadow: 0 12px 28px rgba(37, 99, 235, .14);
  transform: translateY(-1px);
}

.featured-rail-item.is-active {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .08), rgba(236, 72, 153, .08)),
    white;
}

.featured-rail-thumb .card-image-frame {
  width: 58px;
  border-radius: 7px;
  overflow: hidden;
  padding: 2px;
}

.featured-rail-item strong,
.featured-rail-item em {
  display: block;
}

.featured-rail-item strong {
  overflow: hidden;
  font-size: .82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featured-rail-item em {
  color: var(--muted);
  font-size: .72rem;
  font-style: normal;
  font-weight: 800;
}

.card-image-frame > .card-product-img,
.card-image-frame > .image-fallback {
  grid-area: media;
  align-self: stretch;
  justify-self: stretch;
}

.card-image-frame img,
.feature-card img,
.card-image {
  width: 100%;
  height: 100%;
  aspect-ratio: 1.58;
  object-fit: contain;
}

.card-product-img[hidden],
[data-card-image][hidden] {
  display: none !important;
}

.image-fallback {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  align-content: end;
  justify-items: start;
  gap: 8px;
  overflow: hidden;
  padding: 18px 20px;
  border-radius: 15px;
  background:
    radial-gradient(circle at 88% 18%, rgba(236, 72, 153, .24), transparent 28%),
    linear-gradient(135deg, rgba(37, 99, 235, .9), rgba(124, 58, 237, .82), rgba(236, 72, 153, .72));
  color: #eff6ff;
  font-size: .84rem;
  font-weight: 700;
  text-align: left;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}

.image-fallback::before {
  content: "";
  width: 34px;
  height: 24px;
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .45)),
    #f8fafc;
  box-shadow: 0 12px 22px rgba(15, 23, 42, .16);
}

.image-fallback::after {
  content: "•••• 0826";
  color: rgba(255, 255, 255, .78);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.image-fallback[hidden],
.promo-image-fallback[hidden] {
  display: none !important;
}

.image-fallback b {
  color: #ffffff;
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.image-fallback small {
  color: rgba(255, 255, 255, .8);
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.compact-fallback {
  min-height: 36px;
  align-content: center;
  justify-items: center;
  gap: 0;
  padding: 6px 8px;
  font-size: .64rem;
  text-align: center;
}

.compact-fallback::before,
.compact-fallback::after {
  display: none;
}

.compact-fallback b {
  font-size: .74rem;
}

.compact-fallback small {
  display: none;
}

.card h3,
.card p,
.fact strong,
.promo-card h3,
.promo-card p,
.promo-meta span,
.detail-promo-card strong,
.detail-promo-card span,
.compare-table td,
.compare-table th {
  min-width: 0;
  overflow-wrap: anywhere;
}

.market-stats,
.stat-grid,
.route-grid,
.step-grid,
.mini-grid,
.form-grid,
.insight-grid,
.use-case-grid {
  display: grid;
  gap: 14px;
}

.mini-grid {
  align-items: stretch;
  gap: 12px;
}

.market-stats {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
}

.market-stats div,
.stat {
  padding: 16px;
  border-radius: var(--radius);
  background: #f7f9ff;
}

.market-stats b,
.stat b {
  display: block;
  font-size: 1.55rem;
}

.market-stats span,
.stat span,
.source,
.micro,
.helper {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}

.section {
  padding: 56px 0;
}

.section.tight {
  padding-top: 30px;
}

.section.band,
.distinct-intro {
  background: #ffffff;
}

.distinct-intro {
  border-bottom: 1px solid var(--line);
}

.flow-band {
  background:
    linear-gradient(135deg, #0d182b, #111d33 52%, #142346);
  color: white;
}

.flow-band .page-kicker {
  border-color: rgba(96, 165, 250, .32);
  background: rgba(37, 99, 235, .14);
  color: #bfdbfe;
}

.flow-head {
  max-width: 920px;
  margin-bottom: 34px;
}

.flow-head h2 {
  margin-bottom: 16px;
  color: white;
  font-size: clamp(2.2rem, 5vw, 4.25rem);
  line-height: 1.02;
}

.flow-head h2 span {
  color: #3b82f6;
}

.flow-head p {
  max-width: 880px;
  color: #b8cdf6;
  font-size: 1.35rem;
  line-height: 1.45;
}

.flow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, .55fr) minmax(0, .9fr);
  gap: 32px;
  align-items: center;
}

.spend-section {
  position: relative;
  overflow: hidden;
  padding-top: 144px;
  background:
    radial-gradient(circle at 12% 20%, rgba(37, 99, 235, .12), transparent 28%),
    radial-gradient(circle at 86% 60%, rgba(236, 72, 153, .10), transparent 30%),
    linear-gradient(135deg, #f9fbff 0%, #ffffff 48%, #fff5fb 100%);
  border-block: 1px solid #dbe6ff;
}

.use-case-brand-card {
  display: flex;
  min-width: 270px;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #cfe0ff;
  border-radius: 18px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 18px 48px rgba(37, 99, 235, .10);
}

.brand-mark.small {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: .86rem;
}

.use-case-brand-card strong,
.use-case-brand-card small {
  display: block;
}

.use-case-brand-card small {
  max-width: 230px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.45;
  text-transform: uppercase;
}

.feature-section {
  background: #ffffff;
}

.promo-preview-section,
.promo-page-section {
  background:
    linear-gradient(180deg, #eef3ff, #ffffff);
}

.section-note {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fce7f3;
  color: #be185d;
  font-size: .76rem;
  font-weight: 800;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(280px, .55fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 22px;
}

.section-head > .button {
  align-self: start;
  justify-self: stretch;
  margin-top: 16px;
}

.stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 22px;
}

.route-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.route-card,
.insight-card,
.trust-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.route-card {
  min-height: 118px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(238, 242, 255, .92));
}

.flow-card {
  display: grid;
  min-height: 128px;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  align-items: center;
  padding: 28px 30px;
  border-color: rgba(148, 163, 184, .22);
  background: rgba(30, 41, 59, .88);
  color: white;
  box-shadow: none;
}

.flow-card::before,
.flow-card strong::after {
  display: none;
}

.flow-card:hover {
  border-color: rgba(96, 165, 250, .5);
  background: rgba(37, 51, 77, .95);
  box-shadow: 0 22px 48px rgba(2, 6, 23, .24);
}

.flow-card strong {
  margin-bottom: 2px;
  color: white;
  font-size: 1.2rem;
}

.flow-card p {
  color: #b8cdf6;
  font-size: 1.02rem;
  line-height: 1.35;
}

.route-icon {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .22), rgba(124, 58, 237, .2));
  color: #93c5fd;
}

.route-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.route-card strong::after {
  content: "->";
  float: right;
  color: var(--magenta);
  font-weight: 800;
}

.insight-card {
  display: grid;
  min-height: 132px;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title icon"
    "copy icon";
  gap: 10px 22px;
  align-content: center;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(248, 250, 255, .96));
}

.route-card::before,
.insight-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue), var(--magenta));
  opacity: .78;
}

.route-card p,
.insight-card p {
  margin-bottom: 0;
}

.route-card:hover,
.insight-card:hover,
.interactive-card:hover {
  border-color: #c7d2fe;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.featured-carousel-card.interactive-card:hover,
.featured-carousel-card.interactive-card:focus-visible {
  border-color: #c7d2fe;
  box-shadow: 0 22px 54px rgba(37, 99, 235, .2);
  transform: var(--carousel-transform);
}

.route-card strong,
.insight-card strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1.2rem;
}

.insight-card strong {
  grid-area: title;
  margin-bottom: 0;
  font-size: clamp(1.55rem, 1.95vw, 2rem);
  line-height: 1.08;
}

.insight-card p {
  grid-area: copy;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  display: grid;
  min-height: 100%;
  overflow: hidden;
  cursor: pointer;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 250, 255, .96));
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--violet), var(--magenta));
}

.card:hover {
  border-color: #c7d2fe;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.interactive-card:focus-visible {
  outline: 3px solid rgba(236, 72, 153, .72);
  outline-offset: 3px;
}

.card-body {
  display: grid;
  gap: 9px;
  padding: 14px;
}

.card-top,
.chip-row,
.card-actions {
  display: flex;
  align-items: center;
}

.card-top {
  justify-content: space-between;
  gap: 10px;
}

.card-tier-top {
  justify-content: center;
}

.card-tier-pill {
  justify-content: center;
  max-width: 100%;
  padding: 7px 12px;
  background:
    linear-gradient(135deg, rgba(124, 58, 237, .12), rgba(236, 72, 153, .09)),
    #f2ecff;
  color: var(--violet-strong);
  font-size: .78rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
}

.card-title-block h3 {
  text-align: center;
}

.chip-row,
.card-actions,
.filter-row,
.source-row {
  flex-wrap: wrap;
  gap: 8px;
}

.card-actions {
  margin-top: auto;
}

.pill,
.tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 800;
}

.tag {
  padding: 5px 9px;
  background: var(--violet-soft);
  color: var(--violet-strong);
}

.tag.blue {
  background: #dbeafe;
  color: var(--blue-strong);
}

.tag.warm {
  background: #fce7f3;
  color: #be185d;
}

.tag.success {
  background: #e0e7ff;
  color: var(--violet-strong);
}

.pill {
  padding: 5px 8px;
  background: #eef2ff;
  color: #344256;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.fact {
  min-height: 58px;
  padding: 9px;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  background: #fbfdff;
}

.fact span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
}

.fact strong {
  font-size: .82rem;
  line-height: 1.25;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.promo-carousel-shell {
  display: grid;
  place-items: center;
  gap: 14px;
}

.promo-carousel-stage {
  position: relative;
  width: min(100%, 920px);
  min-height: 450px;
}

.promo-carousel-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(240px, .42fr) minmax(0, 1fr);
  grid-template-areas:
    "head head"
    "image title"
    "image summary"
    "image strip"
    "image meta"
    "image action";
  align-content: start;
  gap: 12px 20px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid #dbe4f3;
  border-top: 4px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(90deg, var(--blue), var(--violet), var(--magenta)) border-box;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(.96);
  transition: opacity .24s ease, transform .24s ease;
}

.promo-carousel-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.promo-carousel-card-head {
  grid-area: head;
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.promo-carousel-card h3 {
  grid-area: title;
  max-width: 720px;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.05;
}

.promo-carousel-card p {
  grid-area: summary;
  max-width: 720px;
  margin-bottom: 0;
}

.promo-carousel-card .promo-source-image {
  grid-area: image;
  height: 100%;
  min-height: 304px;
  align-self: stretch;
}

.promo-source-image {
  display: flex;
  width: 100%;
  height: 174px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #dbe4f3;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .05), rgba(236, 72, 153, .06)),
    #ffffff;
}

.promo-source-image img {
  display: block;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: none;
  height: 100%;
  min-height: 100%;
  max-height: 100%;
  object-fit: cover;
  transition: transform .28s ease;
}

.promo-image-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 18px;
  color: var(--ink);
  text-align: center;
}

.bank-logo-fallback {
  display: inline-grid;
  min-width: 154px;
  min-height: 66px;
  place-items: center;
  padding: 14px 20px;
  border: 1px solid rgba(37, 99, 235, .18);
  border-radius: 18px;
  background: white;
  color: var(--blue-strong);
  font-size: 1.18rem;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(37, 99, 235, .1);
}

.bank-logo-eastwest {
  color: #812a80;
}

.bank-logo-metrobank {
  color: #1d4ed8;
}

.bank-logo-rcbc {
  color: #b58923;
}

.bank-logo-bpi {
  color: #a07a12;
}

.bank-logo-china-bank {
  color: #174ea6;
}

.bank-logo-bdo {
  color: #0f4aa8;
}

.bank-logo-hsbc {
  color: #d71920;
}

.bank-logo-maybank {
  color: #8a5d00;
}

.bank-logo-pnb {
  color: #0f4aa8;
}

.bank-logo-security-bank {
  color: #0f766e;
}

.bank-logo-unionbank {
  color: #ef4444;
}

.promo-source-image:hover img,
.promo-source-image:focus-visible img {
  transform: scale(1.025);
}

.promo-carousel-strip {
  grid-area: strip;
  display: flex;
  min-height: 66px;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .05), rgba(236, 72, 153, .06)),
    #fbfdff;
}

.promo-carousel-thumb {
  display: grid;
  width: 76px;
  height: 48px;
  place-items: center;
  padding: 3px;
  border: 1px solid #dbe4f3;
  border-radius: 8px;
  background: white;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(16, 26, 58, .08);
}

.promo-carousel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.featured-rail-thumb .image-fallback,
.promo-card-thumb .image-fallback,
.promo-carousel-thumb .image-fallback {
  overflow: hidden;
}

.featured-rail-thumb .image-fallback b,
.promo-card-thumb .image-fallback b,
.promo-carousel-thumb .image-fallback b {
  font-size: .72rem;
}

.featured-rail-thumb .image-fallback small,
.promo-card-thumb .image-fallback small,
.promo-carousel-thumb .image-fallback small {
  display: none;
}

.promo-carousel-meta {
  grid-area: meta;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.promo-carousel-meta span {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.promo-carousel-card .button {
  grid-area: action;
  justify-self: start;
}

.promo-card {
  padding: 20px;
}

.rich-promo-card {
  display: grid;
  min-width: 0;
  gap: 12px;
}

.promo-meta {
  display: grid;
  gap: 8px;
}

.promo-meta span {
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
}

.promo-card-strip {
  display: flex;
  min-height: 48px;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .06), rgba(236, 72, 153, .06)),
    #fbfdff;
}

.promo-card-thumb {
  display: grid;
  width: 62px;
  height: 44px;
  place-items: center;
  padding: 3px;
  border: 1px solid #dbe4f3;
  border-radius: 6px;
  background: white;
  cursor: pointer;
  font: inherit;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(16, 26, 58, .08);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.promo-card-thumb:hover,
.promo-card-thumb:focus-visible {
  border-color: #a5b4fc;
  box-shadow: 0 10px 20px rgba(37, 99, 235, .18);
  transform: translateY(-1px);
}

.promo-card-thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1.586;
  object-fit: contain;
}

.promo-card-more {
  display: grid;
  min-width: 40px;
  min-height: 32px;
  place-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--violet-strong);
  font-size: .78rem;
  font-weight: 800;
}

.promo-toolbar {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 18%, rgba(236, 72, 153, .12), transparent 28%),
    radial-gradient(circle at 8% 18%, rgba(37, 99, 235, .12), transparent 30%),
    white;
  box-shadow: var(--shadow-sm);
}

.promo-toolbar h2 {
  max-width: 760px;
  margin-bottom: 10px;
}

.promo-toolbar p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

.promo-filter-desk {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid #c7d2fe;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .08), rgba(236, 72, 153, .08)),
    #fbfdff;
  box-shadow: var(--shadow-sm);
}

.promo-filter-group {
  display: grid;
  gap: 10px;
}

.promo-filter-panel > summary {
  display: none;
  list-style: none;
}

.promo-filter-panel > summary::-webkit-details-marker {
  display: none;
}

.promo-filter-title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.promo-filter-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(124, 58, 237, .12));
  color: var(--blue-strong);
}

.promo-filter-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.promo-filter-label {
  display: block;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.promo-filter-summary {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: .98rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.promo-filter-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.promo-filter-chip {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #cbd7ff;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: #263650;
  box-shadow: 0 8px 18px rgba(37, 99, 235, .06);
  cursor: pointer;
  font: inherit;
  font-size: .88rem;
  font-weight: 900;
  transition: border-color .18s ease, box-shadow .18s ease, color .18s ease, background .18s ease, transform .18s ease;
}

.promo-filter-chip:hover,
.promo-filter-chip:focus-visible {
  border-color: #7c8cff;
  color: var(--blue-strong);
  box-shadow: 0 12px 24px rgba(37, 99, 235, .14);
  transform: translateY(-1px);
}

.promo-filter-chip.is-active,
.promo-filter-chip[aria-pressed="true"] {
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: white;
  box-shadow: 0 14px 24px rgba(79, 70, 229, .2);
}

.promo-card details {
  margin-top: 14px;
}

.promo-card summary {
  min-height: 44px;
  cursor: pointer;
  color: var(--blue-strong);
  font-weight: 800;
}

.notice,
.trust-strip {
  padding: 18px;
  border-color: #c7d2fe;
  background: linear-gradient(135deg, #eef2ff, #fff1f7);
  box-shadow: none;
}

.trust-strip {
  justify-content: space-between;
  gap: 16px;
}

.trust-strip strong {
  display: block;
}

.step-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-card {
  padding: 19px;
}

.step-card b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: white;
}

.tool-panel {
  padding: 22px;
}

.form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compact-form-grid {
  grid-template-columns: 1fr;
}

.recommender-hero {
  padding-bottom: 18px;
}

.recommender-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
}

.recommender-panel {
  border: 1px solid #dbe4f3;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
}

.recommender-form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.recommendation-output {
  min-width: 0;
}

.recommendation-output-head {
  margin-bottom: 18px;
  padding: 4px 0;
}

.recommendation-output-head h2 {
  margin-bottom: 8px;
  font-size: 2rem;
}

.recommendation-output-head p {
  max-width: 720px;
}

.recommender-results .score-card {
  grid-template-columns: minmax(145px, .22fr) minmax(0, 1fr) minmax(190px, .24fr);
  align-items: center;
  padding: 18px;
}

.recommender-results .recommendation-card {
  cursor: pointer;
}

.recommendation-card-image .card-image-frame {
  width: min(100%, 168px);
  min-height: 0;
  margin: 0 auto;
}

.recommendation-card-image img {
  max-height: none;
}

.recommendation-card-body {
  min-width: 0;
}

.recommendation-card-body h3 {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 850;
  text-transform: uppercase;
}

.recommendation-card-title {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 10px;
  white-space: normal;
  color: #5b21b6;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.2;
  text-transform: none;
}

.recommendation-card-description {
  margin-bottom: 12px;
  color: var(--muted);
}

.recommendation-card-side {
  display: grid;
  gap: 8px;
  align-self: stretch;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.recommendation-card-side .fact {
  display: grid;
  min-height: 0;
  align-content: center;
  padding: 10px 12px;
}

.empty-results {
  padding: 28px;
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
  background: #f8fafc;
  color: var(--muted);
}

.empty-results.is-warning {
  border-color: rgba(236, 72, 153, .42);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .06), rgba(236, 72, 153, .08)),
    #fff;
  color: #475569;
}

.empty-results strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 1.08rem;
}

.panel-mini-heading h2 {
  margin-bottom: 0;
  font-size: 1.45rem;
  line-height: 1.15;
}

.panel-mini-heading {
  margin-bottom: 18px;
}

.panel-mini-heading p {
  margin: 8px 0 0;
}

.field-group {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.field-group summary {
  min-height: 44px;
  cursor: pointer;
  color: var(--blue-strong);
  font-weight: 800;
}

label,
.check-label {
  display: grid;
  gap: 7px;
  color: #27364a;
  font-size: .86rem;
  font-weight: 800;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.check-dropdown legend {
  margin-bottom: 7px;
  color: #27364a;
  font-size: .86rem;
  font-weight: 800;
}

.check-dropdown details {
  position: relative;
}

.check-dropdown summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius);
  background: #fbfdff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.check-dropdown summary::-webkit-details-marker {
  display: none;
}

.check-dropdown summary::after {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin-left: auto;
  border-right: 2px solid var(--blue-strong);
  border-bottom: 2px solid var(--blue-strong);
  transform: translateY(-2px) rotate(45deg);
  transition: transform .18s ease;
}

.check-dropdown details[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}

.check-menu {
  position: absolute;
  z-index: 10;
  inset: calc(100% + 6px) 0 auto 0;
  display: grid;
  gap: 8px;
  max-height: min(260px, calc(100vh - 160px));
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.check-menu label {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 8px;
  border-radius: var(--radius);
  font-weight: 700;
}

.check-menu input {
  width: 22px;
  min-width: 22px;
  min-height: 22px;
}

.check-label {
  display: flex;
  min-height: 44px;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.35;
}

.check-label input {
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  margin-top: 2px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius);
  background: #fbfdff;
  color: var(--ink);
  font: inherit;
}

select {
  appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--blue-strong) 50%),
    linear-gradient(135deg, var(--blue-strong) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 51%,
    calc(100% - 12px) 51%;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
  outline: none;
}

.score-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.score-card {
  display: grid;
  grid-template-columns: 82px 1fr 210px;
  gap: 16px;
  align-items: start;
  padding: 16px;
}

.score-meta {
  display: grid;
  gap: 8px;
}

.page-hero {
  padding: 50px 0 26px;
}

.page-hero h1 {
  color: var(--ink);
}

.page-hero p {
  max-width: 780px;
  font-size: 1.08rem;
}

.filter-panel {
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr)) auto;
  align-items: end;
}

.filter-row label {
  min-width: 180px;
}

.detail-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  padding: 22px;
  background: rgba(7, 12, 28, .68);
}

.detail-backdrop.is-open {
  display: grid;
  place-items: center;
}

.detail-modal {
  width: min(1120px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  box-shadow: var(--shadow-strong);
}

.detail-modal .detail-head {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(16px);
}

.detail-modal .detail-head h2 {
  margin: 6px 0 0;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.05;
}

.detail-modal .panel-body {
  display: block;
}

.detail-layout {
  display: grid;
  grid-template-columns: 278px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.detail-summary {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 14px;
}

.detail-card-image {
  width: min(100%, 250px);
  margin-inline: auto;
  padding: 10px;
  background:
    linear-gradient(135deg, #ffffff, #f4f7ff 52%, #fbf6ff);
}

.detail-source-panel {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  background: #fbfdff;
}

.detail-icon {
  display: inline-grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  align-items: center;
  justify-items: center;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .1), rgba(124, 58, 237, .12));
  color: var(--blue-strong);
}

.detail-icon svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-source-panel .source,
.detail-promo-spotlight .source,
.detail-section summary,
.detail-facts .fact > span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-source-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border: 1px solid #c7d2fe;
  border-radius: var(--radius);
  color: var(--blue-strong);
  font-size: .82rem;
  font-weight: 800;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.detail-source-link:hover {
  border-color: var(--blue);
  background: #eef2ff;
  color: var(--violet-strong);
}

.detail-content {
  display: grid;
  min-width: 0;
  gap: 16px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(292px, .44fr);
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 18%, rgba(124, 58, 237, .13), transparent 36%),
    linear-gradient(135deg, #ffffff, #f8faff 58%, #fff7fb);
  box-shadow: 0 16px 34px rgba(37, 99, 235, .07);
}

.detail-description {
  max-width: 680px;
  margin: 12px 0 14px;
  color: #526580;
  font-size: 1.05rem;
  line-height: 1.55;
}

.detail-use-cases {
  align-items: flex-start;
}

.detail-promo-spotlight {
  display: grid;
  gap: 9px;
  align-content: center;
  padding: 14px;
  border: 1px solid #d8e2ff;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .08), rgba(124, 58, 237, .08));
}

.detail-promo-carousel {
  display: grid;
  min-height: 136px;
  overflow: hidden;
}

.detail-promo-card {
  grid-area: 1 / 1;
  display: grid;
  align-content: center;
  gap: 7px;
  min-height: 136px;
  padding: 13px 14px;
  border: 1px solid rgba(124, 58, 237, .18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(237, 233, 254, .92));
  color: var(--ink);
  opacity: 0;
  overflow-wrap: anywhere;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .24s ease, transform .24s ease, border-color .18s ease, box-shadow .18s ease;
}

.detail-promo-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.detail-promo-card:hover {
  border-color: rgba(124, 58, 237, .38);
  box-shadow: 0 14px 28px rgba(124, 58, 237, .12);
}

.detail-promo-card strong {
  font-size: 1rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.detail-promo-card span,
.detail-promo-card small {
  color: #5d6c84;
  font-size: .82rem;
  font-weight: 800;
}

.detail-promo-card small {
  width: fit-content;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--violet-strong);
  white-space: normal;
}

.detail-facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.detail-facts .fact {
  min-height: 88px;
  padding: 14px;
  background:
    linear-gradient(180deg, #ffffff, #fbfdff);
}

.detail-facts .fact > span {
  min-height: 28px;
}

.detail-facts .fact .detail-icon {
  display: inline-grid;
  margin-bottom: 0;
  color: var(--blue-strong);
}

.detail-facts .wide {
  grid-column: span 2;
}

.detail-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  overflow: hidden;
}

.detail-section summary {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  color: var(--ink);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
  list-style: none;
}

.detail-section summary .detail-icon {
  margin-right: 2px;
}

.detail-section summary::-webkit-details-marker {
  display: none;
}

.detail-section summary::after {
  content: "+";
  display: inline-grid;
  margin-left: auto;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #eef2ff;
  color: var(--violet-strong);
  font-size: 1.05rem;
}

.detail-section[open] summary::after {
  content: "-";
}

.detail-bullet-list,
.detail-promo-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0 16px 16px;
  list-style: none;
}

.detail-bullet-list li {
  position: relative;
  padding: 10px 12px 10px 30px;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  background: #fbfdff;
  color: #21314a;
}

.detail-bullet-list li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--violet));
}

.detail-promo-row {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  background: #fbfdff;
  transition: border-color .18s ease, background .18s ease;
}

.detail-promo-row:hover {
  border-color: #c7d2fe;
  background: #f6f8ff;
}

.detail-promo-row span {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}

.detail-action-bar {
  position: sticky;
  bottom: -22px;
  z-index: 1;
  margin: 2px -2px -22px;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .74), #ffffff 42%);
}

.compare-table-wrap {
  grid-column: 1 / -1;
  min-width: 0;
  overflow-x: auto;
}

.compare-picker,
.compare-intro {
  grid-column: 1 / -1;
  min-width: 0;
}

.compare-intro {
  display: grid;
  gap: 8px;
  max-width: 760px;
}

.compare-intro h3 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.compare-intro p {
  margin: 0;
  color: var(--muted);
}

.compare-picker {
  display: grid;
  gap: 18px;
}

.compare-lane-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compare-lane {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
  box-shadow: var(--shadow-sm);
}

.compare-lane:focus-within {
  border-color: #a5b4fc;
  background: #f6f8ff;
  box-shadow: 0 14px 28px rgba(37, 99, 235, .12);
}

.compare-lane label {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.compare-lane select {
  width: 100%;
  min-height: 48px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #cbd7ec;
  border-radius: 10px;
  background-color: white;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

.compare-lane-preview {
  min-height: 156px;
}

.compare-empty-lane,
.compare-selected-card {
  display: grid;
  min-height: 156px;
  place-items: center;
  gap: 8px;
  padding: 12px;
  border: 1px dashed #bfd0ee;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .05), rgba(236, 72, 153, .06)),
    #ffffff;
  text-align: center;
}

.compare-selected-card {
  position: relative;
}

.compare-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(124, 58, 237, .22);
  border-radius: 999px;
  background: #ffffff;
  color: var(--violet-strong);
  cursor: pointer;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(16, 26, 58, .1);
}

.compare-remove:hover,
.compare-remove:focus-visible {
  border-color: var(--violet);
  background: #f5f3ff;
}

.compare-empty-lane span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--blue-strong);
  font-weight: 900;
}

.compare-empty-lane strong,
.compare-selected-card strong {
  font-size: .98rem;
}

.compare-selected-card small {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.compare-choice-image {
  width: min(100%, 116px);
}

.compare-warning {
  min-height: 22px;
  margin: 0;
  color: #be185d;
  font-weight: 800;
}

.compare-table-slot,
.compare-actions {
  grid-column: 1 / -1;
  min-width: 0;
}

.compare-table-empty {
  padding: 22px;
  border: 1px dashed #bfd0ee;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .06), rgba(124, 58, 237, .05)),
    #fbfdff;
}

.compare-table-empty strong,
.compare-table-heading h3 {
  display: block;
  margin-bottom: 6px;
}

.compare-table-heading {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.compare-table-heading h3,
.compare-table-heading p {
  margin: 0;
}

.compare-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.compare-table th,
.compare-table td {
  padding: 13px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare-table th {
  background: #eef2ff;
  color: var(--ink);
}

.compare-table th:first-child {
  width: 170px;
  min-width: 170px;
  white-space: normal;
}

.compare-table tbody th {
  font-size: .92rem;
  line-height: 1.25;
}

.compare-header-card {
  display: grid;
  gap: 8px;
}

.compare-header-card strong,
.compare-header-card span {
  display: block;
}

.compare-header-card span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
}

.compare-header-image {
  width: min(190px, 100%);
  min-height: 88px;
  background: white;
}

.compare-source-link {
  display: inline-flex;
  margin-bottom: 5px;
  color: var(--blue-strong);
  font-weight: 900;
}

.compare-source-link:hover {
  color: var(--violet-strong);
}

.compare-mobile-stack {
  display: none;
}

.compare-mobile-card {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .04), rgba(236, 72, 153, .045)),
    #ffffff;
  box-shadow: var(--shadow-sm);
}

.compare-mobile-card-head {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.compare-mobile-card .page-kicker {
  margin-bottom: 6px;
  padding: 5px 9px;
  font-size: .68rem;
}

.compare-mobile-card h4 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.18;
}

.compare-mobile-card-head p,
.compare-mobile-section p,
.compare-mobile-section small {
  margin: 0;
  color: var(--muted);
}

.compare-mobile-card-head p,
.compare-mobile-section small {
  font-size: .82rem;
  font-weight: 800;
}

.compare-mobile-image {
  width: 104px;
  min-height: 70px;
  background: white;
}

.compare-mobile-facts {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
}

.compare-mobile-fact,
.compare-mobile-section {
  display: grid;
  min-width: 0;
  gap: 6px;
  padding: 12px;
  border: 1px solid #dbe4f3;
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
}

.compare-mobile-fact span,
.compare-mobile-section > span {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.compare-mobile-fact strong,
.compare-mobile-section strong {
  min-width: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.compare-mobile-section .chip-row {
  gap: 6px;
}

.compare-mobile-links {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
}

.compare-mobile-links .compare-source-link {
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #c7d2fe;
  border-radius: 12px;
  background: #ffffff;
}

.tier-grid,
.mini-card-list {
  display: grid;
  gap: 12px;
}

.tier-choice {
  grid-column: 1 / -1;
}

.tier-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.tier-results {
  grid-column: 1 / -1;
}

.mini-card-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-result-card,
.use-case-button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.use-case-button {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  grid-template-areas:
    "title icon"
    "copy icon";
  column-gap: 18px;
  align-items: center;
  position: relative;
  min-height: 150px;
  padding: 24px 26px;
  overflow: hidden;
  border-color: #cfe0ff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .82)),
    linear-gradient(135deg, rgba(37, 99, 235, .10), rgba(236, 72, 153, .12));
  box-shadow: 0 22px 54px rgba(37, 99, 235, .10);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.use-case-button::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--blue), var(--violet), var(--magenta));
}

.use-case-button:hover,
.use-case-button:focus-visible {
  transform: translateY(-3px);
  border-color: #a5b4fc;
  box-shadow: 0 28px 70px rgba(79, 70, 229, .15);
}

.use-case-button strong {
  grid-area: title;
  display: block;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.use-case-button p {
  grid-area: copy;
  max-width: 34ch;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.use-case-icon {
  display: inline-grid;
  grid-area: icon;
  justify-self: end;
  width: 78px;
  height: 78px;
  place-items: center;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, .96), rgba(239, 244, 255, .72) 58%, rgba(245, 232, 255, .88) 100%);
  color: var(--blue-strong);
  box-shadow:
    inset 0 0 0 1px rgba(37, 99, 235, .10),
    0 14px 30px rgba(37, 99, 235, .10);
  overflow: hidden;
}

.use-case-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.use-case-image img {
  display: block;
  width: 104%;
  height: 104%;
  object-fit: cover;
  object-position: 50% 34%;
}

.mini-result-card {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.mini-result-card span,
.mini-result-card small {
  color: var(--muted);
  font-weight: 700;
}

.mini-image {
  min-height: 86px;
}

.site-footer {
  margin-top: 34px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.site-footer .shell {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: .82rem;
}

.use-case-grid,
.insight-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

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

@media (max-width: 980px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .hero .shell,
  .section-head,
  .split-section,
  .finance-visual,
  .promo-toolbar,
  .detail-layout,
  .detail-hero,
  .recommender-layout,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .featured-carousel-stage {
    width: min(100%, 820px);
  }

  .featured-carousel-card.is-prev {
    --carousel-transform: translateX(-82%) scale(.7);
  }

  .featured-carousel-card.is-next {
    --carousel-transform: translateX(82%) scale(.7);
  }

  .featured-carousel-card.is-prev-far,
  .featured-carousel-card.is-next-far {
    opacity: 0;
  }

  .promo-carousel-stage {
    min-height: 460px;
  }

  .detail-summary {
    position: static;
  }

  .detail-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compare-lane-grid {
    grid-template-columns: 1fr;
  }

  .filter-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero.waismo-hero .shell {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: auto;
  }

  .hero.waismo-hero .hero-copy {
    max-width: 760px;
  }

  .waismo-hero-visual {
    width: min(100%, 600px);
  }

  .hero-visual-stage {
    width: min(100%, 520px);
    height: 560px;
  }

  .hero-phone {
    right: 18%;
    top: 5%;
  }

  .promo-alert {
    left: 4%;
  }

  .due-soon {
    left: 2%;
  }

  .budget-check {
    right: 2%;
  }

  .filter-row .button {
    width: 100%;
  }

  .card-grid,
  .flow-grid,
  .promo-grid,
  .route-grid,
  .stat-grid,
  .step-grid,
  .form-grid,
  .recommender-form-grid,
  .tier-grid,
  .mini-card-list,
  .use-case-grid,
  .insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .score-card {
    grid-template-columns: 82px 1fr;
  }

  .recommender-results .score-card {
    grid-template-columns: minmax(130px, .32fr) minmax(0, 1fr);
  }

  .recommendation-card-side {
    grid-column: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-left: 0;
    border-left: 0;
  }

  .compact-form-grid {
    grid-template-columns: 1fr;
  }

  .recommender-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  html,
  body {
    overflow-x: clip;
  }

  .shell {
    width: min(100% - 28px, var(--content));
  }

  .top-strip .shell,
  .nav,
  .site-footer .shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-links a {
    flex: 1 1 auto;
    min-height: 44px;
    justify-content: center;
    text-align: center;
  }

  .nav-cta,
  .promo-filter-chip,
  .carousel-nav-button {
    min-height: 44px;
  }

  .promo-page-hero {
    padding: 32px 0 16px;
  }

  .promo-page-hero h1 {
    font-size: clamp(2rem, 9vw, 2.55rem);
    line-height: 1.08;
  }

  .promo-page-hero p {
    font-size: .98rem;
  }

  .promo-page-section {
    padding-top: 20px;
  }

  .promo-toolbar {
    margin-bottom: 14px;
    padding: 18px;
    border-radius: 22px;
  }

  .promo-toolbar h2 {
    font-size: clamp(1.5rem, 7.4vw, 2rem);
    line-height: 1.08;
  }

  .promo-toolbar p {
    font-size: .94rem;
  }

  .promo-filter-desk {
    gap: 12px;
    margin-bottom: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .promo-filter-panel {
    gap: 0;
    overflow: hidden;
    border: 1px solid #d7e2ff;
    border-radius: 20px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(248, 250, 255, .92)),
      #ffffff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .08);
  }

  .promo-filter-panel > summary {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    cursor: pointer;
  }

  .promo-filter-panel > summary::after {
    content: "+";
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    margin-right: 4px;
    place-items: center;
    border: 1px solid #d8e2ff;
    border-radius: 999px;
    background: #f4f7ff;
    color: var(--blue-strong);
    font-size: 1.3rem;
    font-weight: 900;
    line-height: 1;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
  }

  .promo-filter-panel[open] > summary::after {
    content: "-";
    border-color: transparent;
    background: linear-gradient(135deg, #1d4ed8, #6d4cff);
    color: #ffffff;
    transform: scale(.96);
  }

  .promo-filter-panel .promo-filter-chip-row {
    gap: 9px;
    padding: 0 14px 14px;
  }

  .promo-filter-panel .promo-filter-chip {
    flex: 1 1 calc(50% - 9px);
    justify-content: center;
    padding: 0 12px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
    font-size: .82rem;
  }

  .promo-filter-panel .promo-filter-chip.is-active,
  .promo-filter-panel .promo-filter-chip[aria-pressed="true"] {
    background: linear-gradient(135deg, #1d4ed8, #6d4cff);
    color: #ffffff;
  }

  .button,
  button.button {
    min-height: 46px;
  }

  .hero .shell {
    min-height: 0;
    padding: 44px 0 34px;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .feature-card,
  .finance-visual,
  .market-stats,
  .card-grid,
  .promo-grid,
  .route-grid,
  .stat-grid,
  .step-grid,
  .form-grid,
  .score-card,
  .recommender-results .score-card,
  .facts,
  .tier-grid,
  .mini-card-list,
  .use-case-grid,
  .insight-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .use-case-brand-card {
    min-width: 0;
    width: 100%;
  }

  .compare-lane-grid {
    grid-template-columns: 1fr;
  }

  .compare-picker {
    gap: 14px;
  }

  .compare-intro {
    max-width: 100%;
  }

  .compare-intro h3 {
    font-size: 1.35rem;
  }

  .compare-lane {
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
  }

  .compare-lane select {
    min-height: 52px;
    padding-right: 42px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1rem;
  }

  .compare-lane-preview {
    min-height: 0;
  }

  .compare-selected-card {
    min-height: 0;
    grid-template-columns: 98px minmax(0, 1fr) 44px;
    gap: 8px 12px;
    align-items: center;
    place-items: stretch;
    padding: 10px;
    text-align: left;
  }

  .compare-selected-card .compare-choice-image {
    grid-row: 1 / span 2;
    width: 98px;
    min-height: 66px;
  }

  .compare-selected-card strong,
  .compare-selected-card small {
    align-self: end;
    overflow-wrap: anywhere;
  }

  .compare-selected-card small {
    align-self: start;
  }

  .compare-selected-card .compare-remove {
    position: static;
    grid-column: 3;
    grid-row: 1 / span 2;
    width: 44px;
    height: 44px;
    align-self: center;
    justify-self: end;
  }

  .compare-table-heading {
    gap: 8px;
  }

  .compare-table-heading h3 {
    font-size: 1.35rem;
  }

  .compare-table-heading p {
    font-size: .95rem;
  }

  .compare-table-wrap {
    display: none;
  }

  .compare-mobile-stack {
    display: grid;
    gap: 12px;
  }

  .compare-mobile-card {
    padding: 14px;
  }

  .compare-mobile-card-head {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .compare-mobile-image {
    width: 92px;
    min-height: 62px;
  }

  .filter-row {
    grid-template-columns: 1fr;
  }

  .filter-row label {
    min-width: 0;
  }

  .recommendation-card-side {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .hero.waismo-hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.25rem);
  }

  .hero-visual-stage {
    width: min(100%, 340px);
    height: 430px;
  }

  .hero-phone {
    right: 13%;
    top: 2%;
    --phone-rotate: 4deg;
    width: 188px;
    height: 358px;
    padding: 10px;
    border-width: 6px;
    border-radius: 30px;
    transform: perspective(900px) translate3d(0, 0, 0) rotate(var(--phone-rotate)) rotateX(0deg) rotateY(0deg);
  }

  .hero-phone-screen {
    min-height: 0;
    gap: 5px;
    padding: 22px 9px 10px;
    border-radius: 24px;
  }

  .hero-app-brand {
    gap: 5px;
    font-size: .78rem;
  }

  .hero-app-brand img {
    width: 24px;
    height: 24px;
  }

  .hero-app-bell {
    width: 24px;
    height: 24px;
  }

  .hero-app-bell svg {
    width: 13px;
    height: 13px;
  }

  .hero-app-bell::after {
    width: 6px;
    height: 6px;
    margin: -15px 0 0 16px;
    border-width: 1px;
  }

  .hero-phone-screen h3 {
    margin-top: 2px;
    font-size: .96rem;
  }

  .hero-phone-screen p {
    margin-bottom: 2px;
    font-size: .58rem;
  }

  .hero-match-card {
    min-height: 104px;
    gap: 5px;
    padding: 9px;
    border-radius: 16px;
  }

  .hero-match-top span {
    font-size: .46rem;
    letter-spacing: .035em;
  }

  .hero-match-top i {
    width: 24px;
    height: 16px;
  }

  .hero-match-card strong {
    font-size: .76rem;
  }

  .hero-match-score {
    padding: 4px 6px;
    border-radius: 10px;
  }

  .hero-match-score b {
    font-size: 1.22rem;
  }

  .hero-match-score small {
    font-size: .5rem;
  }

  .hero-spend-strip {
    gap: 5px;
    padding: 6px;
    border-radius: 14px;
  }

  .hero-spend-strip span {
    font-size: .46rem;
  }

  .hero-spend-strip svg {
    width: 12px;
    height: 12px;
  }

  .hero-spend-strip b {
    font-size: .64rem;
  }

  .hero-why-card {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 1px 5px;
    padding: 6px;
    border-radius: 12px;
    font-size: .5rem;
  }

  .hero-why-card svg {
    width: 16px;
    height: 16px;
    padding: 3px;
  }

  .hero-why-card strong {
    font-size: .58rem;
  }

  .hero-app-cta {
    right: 9px;
    bottom: 10px;
    left: 9px;
    min-height: 28px;
    gap: 4px;
    border-radius: 11px;
    font-size: .58rem;
  }

  .hero-app-cta svg {
    width: 11px;
    height: 11px;
  }

  .hero-floating-card {
    grid-template-columns: 30px minmax(0, 1fr);
    width: 116px;
    padding: 8px;
    border-radius: 16px;
  }

  .hero-card-icon {
    width: 30px;
    height: 30px;
    border-radius: 11px;
  }

  .hero-floating-card strong {
    font-size: .66rem;
  }

  .hero-floating-card span:last-child {
    font-size: .54rem;
  }

  .promo-alert {
    left: 0;
    top: 12%;
  }

  .due-soon {
    left: 0;
    top: 39%;
  }

  .budget-check {
    right: 0;
    top: 35%;
  }

  .debt-tip {
    display: none;
  }

  .hero-mascot-badge {
    left: 5%;
    bottom: 14%;
    width: 74px;
    height: 74px;
  }

  .hero-shield-accent {
    right: 0;
    bottom: 8%;
    transform: scale(.72);
  }

  .use-case-button {
    grid-template-columns: minmax(0, 1fr) 58px;
    min-height: 132px;
    padding: 22px;
  }

  .use-case-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }

  .featured-carousel-shell {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-inline: 4px;
  }

  .featured-carousel-stage {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 640px;
  }

  .featured-carousel-card {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    min-height: 630px;
    grid-template-columns: 1fr;
    grid-template-areas:
      "tag"
      "image"
      "copy"
      "facts";
    padding: 20px;
  }

  .featured-carousel-card .card-image-frame {
    width: min(100%, 220px);
    height: 139px;
  }

  .featured-carousel-copy h3 {
    font-size: 1.38rem;
  }

  .featured-carousel-copy p {
    font-size: .96rem;
    -webkit-line-clamp: 3;
  }

  .featured-carousel-card.is-prev,
  .featured-carousel-card.is-next {
    opacity: 0;
    pointer-events: none;
    --carousel-transform: translateX(0) scale(.86);
  }

  .featured-carousel-card.is-prev-far,
  .featured-carousel-card.is-next-far {
    display: none;
  }

  .featured-rail {
    width: min(100%, 360px);
    margin-top: 12px;
    padding-bottom: 10px;
  }

  .featured-rail-item {
    flex-basis: 292px;
  }

  .promo-carousel-stage {
    min-height: 620px;
  }

  .promo-carousel-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "image"
      "title"
      "summary"
      "strip"
      "meta"
      "action";
    padding: 18px;
  }

  .promo-carousel-card .promo-source-image {
    min-height: 210px;
  }

  .promo-carousel-meta {
    grid-template-columns: 1fr;
  }

  .recommendation-card-image .card-image-frame {
    width: min(100%, 212px);
  }

  .detail-backdrop {
    padding: 10px;
  }

  .detail-modal {
    max-height: calc(100vh - 20px);
  }

  .detail-modal .panel-body {
    padding: 16px;
  }

  .detail-facts,
  .detail-facts .wide {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .detail-action-bar {
    bottom: -16px;
    margin-bottom: -16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-phone,
  .hero-app-feed,
  .hero-floating-card,
  .hero-mascot-badge,
  .hero-mascot-badge::after,
  .hero-phone-screen::after {
    animation: none !important;
  }

  .hero-floating-card {
    opacity: 1;
    scale: 1;
    translate: 0 0;
  }

  .hero-phone-screen::after,
  .hero-mascot-badge::after {
    opacity: 0;
  }
}
