:root {
  --bg: #f4efe7;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --ink: #16202a;
  --muted: #5f6b76;
  --line: rgba(22, 32, 42, 0.1);
  --brand: #0d7c66;
  --brand-deep: #0a5b4d;
  --accent: #f4b860;
  --accent-soft: rgba(244, 184, 96, 0.18);
  --shadow: 0 20px 50px rgba(20, 27, 35, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1180px;
  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(13, 124, 102, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(244, 184, 96, 0.18), transparent 25%),
    linear-gradient(180deg, #fcfaf6 0%, var(--bg) 100%);
  overflow-x: hidden;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 250, 246, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(20, 27, 35, 0.08);
}

.header-top {
  display: none;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
}

.header-top-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  min-height: 44px;
}

.header-top-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.92rem;
  font-weight: 700;
}

.header-top-item svg {
  width: 17px;
  height: 17px;
  fill: var(--accent);
  flex: 0 0 auto;
}

.header-main {
  border-bottom: 1px solid rgba(22, 32, 42, 0.08);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 24px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  flex: 0 0 auto;
}

.brand-symbol {
  position: relative;
  width: 56px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 12px 24px rgba(13, 124, 102, 0.2);
}

.brand-symbol::before,
.brand-symbol::after {
  content: "";
  position: absolute;
  border-radius: 10px;
}

.brand-symbol::before {
  width: 20px;
  height: 14px;
  top: 7px;
  left: 9px;
  border: 2px solid rgba(255, 255, 255, 0.86);
}

.brand-symbol::after {
  width: 26px;
  height: 18px;
  right: -7px;
  bottom: -4px;
  background: linear-gradient(135deg, #ffb425, #ff8c00);
  box-shadow: 0 8px 18px rgba(255, 140, 0, 0.24);
}

.brand-wordmark {
  display: grid;
  gap: 2px;
}

.brand-wordmark strong,
.brand-wordmark span {
  display: block;
}

.brand-wordmark strong {
  color: var(--brand-deep);
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.brand-wordmark span {
  color: #ff8c00;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-image {
  width: min(100%, 240px);
  height: auto;
}

.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: var(--shadow);
}

.brand-copy strong,
.brand-copy span {
  display: block;
}

.brand-copy strong {
  font-size: 1.05rem;
}

.brand-copy span {
  font-size: 0.82rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
}

.nav-links a {
  position: relative;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  transition: 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: rgba(13, 124, 102, 0.08);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 8px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
}

.nav-mobile-only {
  display: none;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.portal-header-cta {
  display: flex;
}

.mobile-toggle {
  display: none;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(22, 32, 42, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.button,
button.button {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
button.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 16px 28px rgba(13, 124, 102, 0.22);
}

.header-cta {
  min-width: 132px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 16px 28px rgba(13, 124, 102, 0.22);
}

.button-secondary {
  color: var(--ink);
  background: rgba(22, 32, 42, 0.06);
}

.button-white {
  color: var(--brand-deep);
  background: #fff;
  box-shadow: 0 12px 24px rgba(8, 20, 26, 0.14);
}

.button-white:hover {
  background: #f7f8f9;
}

.hero {
  padding: 82px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(13, 124, 102, 0.09);
  color: var(--brand-deep);
  font-size: 0.92rem;
  font-weight: 800;
}

.hero h1,
.page-title h1,
.section-heading h2,
.cta-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
}

.hero-benefits {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  max-width: 520px;
}

.hero-benefit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
}

.hero-benefit::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 0 0 6px rgba(13, 124, 102, 0.08);
}

.hero p {
  max-width: 60ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-card,
.panel,
.login-card {
  background: var(--surface-strong);
  border: 1px solid rgba(22, 32, 42, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-showcase {
  position: relative;
}

.hero-showcase-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  animation: floatCard 6s ease-in-out infinite;
  background:
    radial-gradient(circle at top left, rgba(244, 184, 96, 0.28), transparent 26%),
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.22), transparent 18%),
    linear-gradient(145deg, #0d7c66 0%, #0a5b4d 48%, #122630 100%);
}

.hero-showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 26, 23, 0.02), rgba(10, 26, 23, 0.42)),
    radial-gradient(circle at top right, rgba(244, 184, 96, 0.28), transparent 28%);
}

.hero-artboard {
  position: absolute;
  inset: 24px;
  z-index: 1;
}

.mock-card {
  position: absolute;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 48px rgba(6, 16, 20, 0.22);
  backdrop-filter: blur(14px);
}

.mock-card-main {
  top: 42px;
  left: 26px;
  width: min(100%, 360px);
  padding: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.09));
  transform: rotate(-7deg);
}

.mock-card-top,
.mock-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mock-card-label,
.mock-card-bottom span,
.mock-card-ghost span {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.76);
}

.mock-card-chip {
  width: 42px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(244, 184, 96, 0.92), rgba(255, 234, 194, 0.72));
}

.mock-card-main strong,
.mock-card-ghost strong {
  display: block;
  color: #fff;
}

.mock-card-main strong {
  margin-top: 36px;
  max-width: 12ch;
  font-size: 1.5rem;
  line-height: 1.18;
}

.mock-card-number {
  display: block;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.18em;
  font-size: 0.92rem;
}

.mock-card-bottom {
  margin-top: 24px;
}

.mock-card-ghost {
  top: 108px;
  right: 24px;
  width: 220px;
  padding: 22px 20px;
  background: linear-gradient(145deg, rgba(8, 20, 26, 0.44), rgba(255, 255, 255, 0.08));
}

.mock-card-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.mock-card-ghost strong {
  margin-top: 18px;
  font-size: 1.65rem;
}

.mock-card-ghost span:last-child {
  display: block;
  margin-top: 6px;
}

.hero-showcase-overlay {
  position: absolute;
  inset: auto 24px 24px 24px;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.hero-showcase-copy {
  padding: 20px 22px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(14px);
  background: rgba(13, 23, 30, 0.34);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.hero-showcase-copy strong,
.hero-showcase-copy span {
  display: block;
}

.hero-showcase-copy strong {
  font-size: 1.2rem;
  line-height: 1.4;
}

.hero-showcase-copy span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
}

.page-title {
  display: grid;
  gap: 16px;
  padding: 72px 0 24px;
}

.page-title .eyebrow {
  justify-self: start;
}

.page-title p {
  max-width: 66ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.content-stack {
  display: grid;
  gap: 24px;
  padding-bottom: 64px;
}

.panel {
  min-width: 0;
  padding: 28px;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.7;
}

.lead {
  color: var(--muted);
  line-height: 1.9;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
}

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

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

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

.card {
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card:hover,
.bank-card:hover,
.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(20, 27, 35, 0.08);
  border-color: rgba(13, 124, 102, 0.16);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.06rem;
}

.timeline {
  position: relative;
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(13, 124, 102, 0.18), rgba(13, 124, 102, 0.55), rgba(244, 184, 96, 0.2));
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: center;
  min-height: 110px;
  opacity: 0;
  transform: translateY(20px);
  animation: timelineStepIn 700ms ease forwards;
}

.timeline-item:nth-child(1) {
  animation-delay: 80ms;
}

.timeline-item:nth-child(2) {
  animation-delay: 180ms;
}

.timeline-item:nth-child(3) {
  animation-delay: 280ms;
}

.timeline-item:nth-child(4) {
  animation-delay: 380ms;
}

.timeline-item:nth-child(5) {
  animation-delay: 480ms;
}

.timeline-item:nth-child(6) {
  animation-delay: 580ms;
}

.timeline-item:nth-child(7) {
  animation-delay: 680ms;
}

.timeline-marker {
  z-index: 1;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 10px 22px rgba(13, 124, 102, 0.2);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.timeline-card {
  position: relative;
  width: min(100%, 420px);
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #fff, #fbf8f2);
  border: 1px solid var(--line);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.timeline-item:nth-child(odd) .timeline-card {
  grid-column: 1;
  justify-self: end;
}

.timeline-item:nth-child(even) .timeline-card {
  grid-column: 2;
  justify-self: start;
}

.timeline-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(20, 27, 35, 0.08);
  border-color: rgba(13, 124, 102, 0.16);
}

.timeline-card h3 {
  margin: 0 0 8px;
  font-size: 1.06rem;
}

.timeline-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.icon-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-badge {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(13, 124, 102, 0.14), rgba(244, 184, 96, 0.18));
  color: var(--brand-deep);
}

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

.card p,
.card li,
.faq-item p {
  color: var(--muted);
  line-height: 1.7;
}

.check-list,
.plain-list,
.icon-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.check-list li,
.plain-list li,
.icon-list li {
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 900;
}

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

.stat {
  padding: 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(13, 124, 102, 0.08), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(13, 124, 102, 0.1);
}

.stat strong {
  display: block;
  font-size: 2rem;
  font-family: var(--font-display);
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 20px;
}

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


.partner-marquee {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  padding: 6px 0 10px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partner-track {
  display: inline-flex;
  vertical-align: top;
  align-items: center;
  gap: 16px;
  min-width: max-content;
  animation: partnerScroll 26s linear infinite;
}

.partner-logo-card {
  width: 180px;
  height: 92px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #fbf8f2);
  box-shadow: 0 12px 26px rgba(20, 27, 35, 0.05);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.partner-logo-card img {
  max-width: 100%;
  max-height: 42px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: saturate(0.96) contrast(1.02);
}


.image-tile {
  position: relative;
  min-height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.image-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.image-tile:hover img {
  transform: scale(1.06);
}

.image-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(19, 31, 42, 0.55));
}

.image-tile span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  color: #fff;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0 0 8px;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(13, 124, 102, 0.14);
  background: rgba(13, 124, 102, 0.06);
  font-weight: 700;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.portal-button {
  display: grid;
  gap: 14px;
  min-height: 138px;
  padding: 20px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(13, 124, 102, 0.12);
  background: linear-gradient(180deg, #fff, #fbf8f2);
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.portal-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(20, 27, 35, 0.08);
  border-color: rgba(13, 124, 102, 0.24);
}

.portal-button-logo {
  width: 100%;
  height: 58px;
  display: grid;
  place-items: center;
}

.portal-button-logo img {
  max-width: 100%;
  max-height: 38px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.portal-logo-fallback {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
}

.portal-button-label {
  font-weight: 800;
  line-height: 1.4;
}

.cta-panel {
  padding: 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  color: #fff;
}

.cta-panel h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 52ch;
}

.cta-contact {
  margin-top: 14px;
  font-weight: 700;
}

.cta-contact a {
  color: #fff;
}

.login-wrap {
  min-height: calc(100vh - 84px);
  display: grid;
  place-items: center;
  padding: 40px 0 72px;
}

.login-card {
  width: min(100%, 440px);
  padding: 32px;
}

.login-card h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 0.95;
}

.login-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.form-stack {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.95rem;
  font-weight: 700;
}

.field input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(22, 32, 42, 0.12);
  background: #fff;
  font: inherit;
}

.field input:focus {
  outline: 2px solid rgba(13, 124, 102, 0.22);
  border-color: rgba(13, 124, 102, 0.28);
}

.inline-note,
.login-hint,
.status-message {
  color: var(--muted);
  font-size: 0.94rem;
}

.status-message {
  min-height: 22px;
}

.status-message.error {
  color: #b33f3f;
}

.status-message.success {
  color: var(--brand-deep);
}

.site-footer {
  margin-top: 10px;
  padding: 24px 0 34px;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(244, 184, 96, 0.18), transparent 20%),
    linear-gradient(180deg, #f9f7f1 0%, #f1ece2 100%);
  border-top: 1px solid rgba(22, 32, 42, 0.08);
}

.footer-shell {
  display: block;
}

.footer-panel {
  padding: 28px 30px 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(22, 32, 42, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 34px rgba(20, 27, 35, 0.06);
}

.footer-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(22, 32, 42, 0.08);
}

.footer-heading {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--brand-deep);
}

.footer-text {
  margin: 0;
  max-width: 56ch;
  color: var(--muted);
  line-height: 1.75;
}

.footer-content {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 28px;
  padding: 24px 0 22px;
}

.footer-section {
  display: grid;
  gap: 14px;
}

.footer-contact-list,
.footer-nav,
.footer-social {
  display: grid;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--ink);
}

.footer-contact-icon,
.footer-social-link {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: rgba(13, 124, 102, 0.1);
  color: var(--brand-deep);
  border: 1px solid rgba(13, 124, 102, 0.08);
}

.footer-contact-icon svg,
.footer-social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-contact-copy {
  display: grid;
  gap: 4px;
}

.footer-contact-copy strong,
.footer-nav-title,
.footer-social-title {
  font-size: 1rem;
  color: var(--ink);
}

.footer-contact-copy span,
.footer-contact-copy a {
  color: var(--muted);
  line-height: 1.7;
}

.footer-nav-title,
.footer-social-title {
  margin-bottom: 2px;
}

.footer-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-nav-links a {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--brand-deep);
  font-weight: 700;
}

.footer-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-social-link:hover,
.footer-nav-links a:hover,
.footer-contact-copy a:hover {
  color: var(--brand-deep);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(22, 32, 42, 0.08);
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 700ms ease forwards;
}

.reveal:nth-child(2) {
  animation-delay: 120ms;
}

.reveal:nth-child(3) {
  animation-delay: 240ms;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes timelineStepIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@keyframes partnerScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - 16px));
  }
}

@media (max-width: 960px) {
  .header-top-bar {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 10px 0;
  }

  .header-top-item {
    font-size: 0.84rem;
  }

  .hero-grid,
  .split-panel,
  .grid-4,
  .grid-3,
  .grid-2,
  .stat-band,
  .image-strip {
    grid-template-columns: 1fr;
  }

  .nav-bar {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .nav-links {
    width: 100%;
    display: none;
    justify-content: center;
    gap: 10px;
    padding: 12px 0 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
    display: none;
  }

  .portal-header-cta {
    display: flex;
  }

  .hero-actions {
    width: 100%;
  }

  .nav-mobile-only {
    display: inline-flex;
  }

  .mock-card-main {
    left: 18px;
    width: calc(100% - 100px);
  }

  .mock-card-ghost {
    right: 18px;
    width: 190px;
  }

  .footer-topline,
  .footer-content {
    grid-template-columns: 1fr;
    display: grid;
  }

}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .header-top-bar {
    align-items: flex-start;
  }

  .header-top-item {
    width: 100%;
    justify-content: center;
  }

  .brand {
    min-width: 0;
  }

  .brand-copy span {
    display: none;
  }

  .brand-image {
    width: 190px;
  }

  .brand-wordmark strong {
    font-size: 1.18rem;
  }

  .brand-wordmark span {
    font-size: 0.7rem;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 0;
  }

  .nav-links a {
    text-align: center;
    padding: 12px;
    font-size: 0.92rem;
  }

  .nav-cta {
    width: 100%;
  }

  .nav-cta .button {
    width: 100%;
  }

  .portal-header-cta {
    flex-direction: column;
  }

  .hero {
    padding-top: 44px;
  }


  .partner-marquee {
    mask-image: none;
  }

  .partner-logo-card {
    width: 150px;
    height: 82px;
    padding: 14px 16px;
  }

  .partner-logo-card img {
    max-height: 34px;
  }

  .panel,
  .hero-card,
  .login-card,
  .cta-panel,
  .footer-panel {
    padding: 22px;
  }

  .hero h1,
  .page-title h1 {
    line-height: 1;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-benefits {
    gap: 12px;
  }

  .cta-contact {
    display: grid;
    gap: 6px;
  }

  .footer-contact-item {
    align-items: flex-start;
  }

  .footer-topline,
  .footer-content,
  .footer-nav-links,
  .footer-bottom {
    display: grid;
    gap: 10px;
  }

  .footer-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-showcase-card {
    min-height: 460px;
  }

  .hero-artboard {
    inset: 18px;
  }

  .mock-card-main {
    top: 32px;
    left: 10px;
    width: calc(100% - 40px);
    transform: rotate(-5deg);
  }

  .mock-card-main strong {
    margin-top: 28px;
    font-size: 1.3rem;
  }

  .mock-card-number {
    margin-top: 24px;
    letter-spacing: 0.12em;
    font-size: 0.84rem;
  }

  .mock-card-ghost {
    top: 172px;
    right: 10px;
    width: 168px;
    padding: 18px 16px;
  }

  .mock-card-ghost strong {
    font-size: 1.35rem;
  }

  .hero-showcase-copy {
    padding: 18px;
  }

  .hero-showcase-copy strong {
    font-size: 1.06rem;
  }

  .timeline-item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    min-height: 0;
  }

  .timeline::before {
    left: 18px;
    transform: none;
  }

  .timeline-marker {
    width: 38px;
    height: 38px;
    left: 0;
    top: 20px;
    transform: none;
  }

  .timeline-item:nth-child(odd) .timeline-card,
  .timeline-item:nth-child(even) .timeline-card {
    grid-column: 2;
    justify-self: stretch;
    width: 100%;
    margin: 0 0 0 14px;
  }
}
