/* PickMyWash public site — marketing, support, legal (App Store / Play compliant) */
:root {
  --bg: #f5f8ff;
  --card: #ffffff;
  --text: #08224e;
  --muted: #5879ae;
  --primary: #0f74ff;
  --primary-dark: #0b57c3;
  --line: #e2eafe;
  --gold: #f5a623;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(8, 34, 78, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(180deg, #f7faff 0%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.page-home {
  background: #f0f5fc;
  color: var(--text);
}

a { color: var(--primary); text-decoration: none; font-weight: 600; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 12px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-brand:hover { text-decoration: none; }

.site-brand img {
  width: 40px;
  height: 40px;
  border-radius: 22%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(15, 116, 255, 0.22);
}

.site-brand--footer img {
  width: 36px;
  height: 36px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.site-brand-label {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}

.site-brand-rest {
  color: var(--text);
  font-weight: 700;
}

.site-brand--footer .site-brand-label {
  color: #fff;
}

.site-brand--footer .site-brand-rest {
  color: rgba(255, 255, 255, 0.92);
}

/* Pages without logo image (support, legal, etc.) */
.site-brand:not(:has(.site-brand-label)) {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.site-brand:not(:has(.site-brand-label)) > span {
  color: var(--text);
  font-weight: 700;
}

.site-nav-menu { display: none; }

.site-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: center;
}

.site-nav-cta.btn-sm {
  padding: 9px 16px;
  font-size: 14px;
  white-space: nowrap;
}

.site-header--minimal .site-nav--minimal {
  justify-content: flex-start;
}

.page-home .site-header--minimal {
  border-bottom-color: transparent;
  background: rgba(255, 255, 255, 0.75);
}

.site-links a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.site-links a:hover,
.site-links a.active {
  color: var(--primary);
}

.site-links a.active { text-decoration: none; }

/* Footer */
.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  background: rgba(255, 255, 255, 0.6);
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}

.site-footer h4 {
  margin: 0 0 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li { margin: 6px 0; font-size: 14px; }
.site-footer li a { font-weight: 600; color: var(--text); }
.site-footer .copy {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* Marketing */
.pill {
  display: inline-block;
  background: #e8f2ff;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 999px;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: center;
}

.hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero .lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 520px;
  margin: 0 0 24px;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover { background: var(--primary-dark); text-decoration: none; }

.btn-secondary {
  background: #fff;
  color: var(--primary-dark);
  border: 1px solid var(--line);
}

.btn-secondary:hover { text-decoration: none; background: #f7faff; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.card h3 { margin: 0 0 12px; font-size: 18px; }
.card ul { margin: 0; padding-left: 18px; color: var(--muted); }
.card li { margin: 6px 0; }

.section { padding: 36px 0; }
.section-title {
  font-size: 28px;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.section-sub {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
}

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

.feature-card h4 { margin: 0 0 8px; font-size: 17px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 14px;
  background: #08224e;
  color: #fff;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.store-badge:hover { opacity: 0.92; text-decoration: none; color: #fff; }

/* Page hero (all pages) */
.page-hero,
.support-hero {
  padding: 40px 0 20px;
}

.page-hero h1,
.support-hero h1 {
  font-size: clamp(28px, 4vw, 36px);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.page-hero .lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 640px;
  margin: 0;
}

.contact-box {
  background: linear-gradient(135deg, #0f74ff 0%, #0b57c3 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
}

.contact-box h2 { margin: 0 0 8px; font-size: 20px; color: #fff; }
.contact-box p { margin: 0 0 16px; opacity: 0.95; font-size: 15px; }
.contact-box a.email {
  display: inline-block;
  background: #fff;
  color: var(--primary-dark);
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
}

.contact-box a.email:hover { text-decoration: none; opacity: 0.95; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li {
  position: relative;
  padding: 16px 16px 16px 52px;
  margin-bottom: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  background: #e8f2ff;
  color: var(--primary);
  font-weight: 800;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }

.legal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.legal-strip a {
  font-size: 14px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
}

.legal-strip a:hover {
  border-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
}

.policies-bottom {
  padding-bottom: 8px;
}

/* Policy / legal content card */
.content-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 32px;
  box-shadow: var(--shadow);
  margin-bottom: 8px;
}

.prose { font-size: 15px; line-height: 1.62; }
.prose h2 {
  font-size: 1.08rem;
  margin: 24px 0 8px;
  color: var(--primary-dark);
}
.prose h2:first-of-type { margin-top: 8px; }
.prose p { margin: 0 0 12px; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 12px; }
.prose li { margin: 6px 0; }
.prose .muted { color: var(--muted); font-size: 14px; }
.prose code {
  background: #eef4ff;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 13px;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 14px;
}
.prose th, .prose td {
  border: 1px solid var(--line);
  padding: 10px 10px;
  text-align: left;
  vertical-align: top;
}
.prose th { background: #f0f6ff; }

.callout,
.prose .notice,
.prose .banner,
.prose .box {
  background: #eef4ff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  margin: 16px 0;
}

.prose .toc {
  margin: 14px 0 18px;
  padding: 14px 16px;
  background: #f8faff;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 14px;
}

main.container { padding-bottom: 24px; }

.home-hero-card {
  margin: 8px 0 24px;
}

/* ─── Home page ─── */
.page-home .site-header--minimal {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: none;
  background: transparent;
}

.page-home main { padding-top: 72px; }

.text-gradient {
  background: linear-gradient(135deg, #0f74ff 0%, #0457d9 55%, #0b57c3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-hero {
  position: relative;
  padding: 32px 0 72px;
  overflow: hidden;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 8% -5%, rgba(15, 116, 255, 0.2), transparent 58%),
    radial-gradient(ellipse 55% 45% at 92% 8%, rgba(245, 166, 35, 0.14), transparent 52%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(15, 116, 255, 0.08), transparent 55%),
    linear-gradient(180deg, #e8f2ff 0%, #f0f5fc 45%, #f4f8ff 100%);
}

.home-hero-mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(15, 116, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 116, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.home-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.home-hero-copy .pill { margin-bottom: 14px; }

.pill-glow {
  box-shadow: 0 0 0 1px rgba(15, 116, 255, 0.12);
}

.pill-gold {
  background: #fff4e0;
  color: #9a5f00;
}

.home-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 5.5vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  max-width: 16ch;
  font-weight: 800;
}

.home-hero-lead {
  margin: 0 0 24px;
  font-size: clamp(17px, 2.2vw, 19px);
  color: var(--muted);
  max-width: 520px;
  line-height: 1.55;
}

.home-hero-lead strong { color: var(--text); }

.home-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.home-trust-chips li {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(8, 34, 78, 0.04);
}

.home-store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  min-width: 160px;
  background: #08224e;
  color: #fff;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(8, 34, 78, 0.28);
  text-decoration: none;
  color: #fff;
}

.store-btn--play {
  background: linear-gradient(145deg, #0a1e3d, #16325c);
}

.store-btn-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  opacity: 0.95;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-btn-label {
  font-size: 9px;
  font-weight: 600;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.store-btn-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.home-hero-actions { margin-top: 2px; }

.btn-primary {
  box-shadow: 0 8px 20px rgba(15, 116, 255, 0.28);
}

.page-home .btn-primary:hover {
  box-shadow: 0 10px 24px rgba(15, 116, 255, 0.35);
}

/* Hero phone — real app screenshot */
.home-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 12px 0 8px;
}

.phone-glow {
  position: absolute;
  width: 72%;
  height: 70%;
  top: 15%;
  left: 14%;
  background: radial-gradient(ellipse, rgba(15, 116, 255, 0.35) 0%, transparent 70%);
  filter: blur(28px);
  z-index: 0;
}

.phone-device {
  position: relative;
  z-index: 1;
  margin: 0;
  width: min(320px, 90vw);
}

.phone-device-frame {
  position: relative;
  background: linear-gradient(165deg, #3d5278 0%, #08224e 45%, #041224 100%);
  border-radius: 48px;
  padding: 12px;
  box-shadow:
    0 32px 72px rgba(8, 34, 78, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 1px 0 rgba(255, 255, 255, 0.15) inset;
}

.phone-device-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 48px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, transparent 40%);
  pointer-events: none;
}

.phone-device-screen {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 38px;
  background: #f7faff;
}

.home-hero-float {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 15px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  box-shadow: 0 12px 32px rgba(8, 34, 78, 0.12);
  animation: home-float 5s ease-in-out infinite;
}

.float-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.float-dot--live {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.float-dot--gold {
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.25);
}

.home-hero-float--a { top: 10%; left: -4%; animation-delay: 0s; }
.home-hero-float--b { bottom: 14%; right: -4%; animation-delay: 1.4s; }

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

@media (prefers-reduced-motion: reduce) {
  .home-hero-float { animation: none; }
  .home-feature-card:hover,
  .stat-card:hover { transform: none; }
}

/* Stats */
.home-stats {
  margin-top: -36px;
  padding-bottom: 24px;
  position: relative;
  z-index: 2;
}

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

.stat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 10px 32px rgba(8, 34, 78, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(8, 34, 78, 0.1);
}

.stat-card--gold {
  border-color: #ffe2b8;
  background: linear-gradient(180deg, #fff 0%, #fffbf5 100%);
}

.stat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e8f2ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.stat-icon-wrap svg { width: 22px; height: 22px; }

.stat-icon-wrap--gold {
  background: #fff4e0;
  color: #c47a00;
}

.stat-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stat-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}

/* App showcase */
.home-showcase {
  padding: 48px 0 56px;
}

.home-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: end;
}

.showcase-card {
  margin: 0;
  text-align: center;
}

.showcase-card figcaption {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.showcase-phone {
  background: linear-gradient(165deg, #2a3f5f, #08224e);
  border-radius: 28px;
  padding: 8px;
  box-shadow: 0 20px 48px rgba(8, 34, 78, 0.18);
  overflow: hidden;
}

.showcase-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

.showcase-card--lift {
  transform: translateY(-16px);
}

.showcase-card--lift .showcase-phone {
  box-shadow: 0 28px 56px rgba(8, 34, 78, 0.22);
}

/* Section headers */
.section-head { margin-bottom: 28px; max-width: 640px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 8px;
}

.home-section { padding: 64px 0; }

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

.home-feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: 0 8px 24px rgba(8, 34, 78, 0.05);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.home-feature-card:hover {
  border-color: #b8d4ff;
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(15, 116, 255, 0.1);
}

.home-feature-card--wide {
  grid-column: span 2;
  background: linear-gradient(135deg, #fff 0%, #f5f9ff 100%);
}

.home-feature-card--accent {
  border-color: #ffe2b8;
  background: linear-gradient(180deg, #fff 0%, #fffbf3 100%);
}

.home-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e8f2ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.home-feature-icon svg { width: 22px; height: 22px; }

.home-feature-icon--gold {
  background: #fff4e0;
  color: #c47a00;
}

.home-feature-card h4 {
  margin: 0 0 8px;
  font-size: 17px;
}

.home-feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* Wallet band */
.home-wallet-band {
  position: relative;
  color: #fff;
  padding: 72px 0;
  overflow: hidden;
}

.home-wallet-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, #041224 0%, #08224e 35%, #0b57c3 100%);
}

.home-wallet-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 100% 50%, rgba(15, 116, 255, 0.35), transparent 60%);
}

.home-wallet-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.home-wallet-copy .pill-gold { margin-bottom: 12px; }

.home-wallet-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.5vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.home-wallet-copy p {
  margin: 0 0 16px;
  opacity: 0.92;
  font-size: 16px;
  max-width: 520px;
}

.home-wallet-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-wallet-list li {
  position: relative;
  padding-left: 22px;
  margin: 8px 0;
  font-size: 15px;
  opacity: 0.95;
}

.home-wallet-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #7ec8ff;
  font-weight: 800;
}

.home-wallet-card {
  width: 100%;
  max-width: 380px;
  justify-self: end;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: blur(8px);
}

.home-wallet-label {
  margin: 0 0 4px;
  font-size: 13px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.home-wallet-balance {
  margin: 0 0 18px;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.home-wallet-balance span {
  font-size: 16px;
  font-weight: 600;
  opacity: 0.85;
}

.home-wallet-rows div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.home-wallet-rows span { opacity: 0.85; }
.home-wallet-rows strong.credit { color: #7ee8a8; }
.home-wallet-rows strong.debit { color: #ffb4b4; }

/* Steps */
.home-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.home-steps--timeline {
  position: relative;
}

.home-steps--timeline::before {
  content: "";
  position: absolute;
  top: 52px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), #b8d4ff, var(--primary));
  z-index: 0;
}

.home-step {
  position: relative;
  z-index: 1;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 22px;
  box-shadow: 0 10px 28px rgba(8, 34, 78, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(8, 34, 78, 0.1);
}

.home-step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f74ff, #0457d9);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-step h4 { margin: 0 0 6px; font-size: 18px; }
.home-step p { margin: 0; color: var(--muted); font-size: 14px; }

/* Services */
.home-services {
  padding: 64px 0;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.service-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  background: #f7faff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.service-tile:hover {
  background: #eef5ff;
  border-color: #b8d4ff;
  transform: translateY(-2px);
}

.service-tile-icon {
  font-size: 26px;
  line-height: 1;
}

.service-tile--highlight {
  grid-column: span 2;
  flex-direction: row;
  justify-content: center;
  background: linear-gradient(135deg, #eef5ff, #fff);
  border-color: #b8d4ff;
}

/* CTA */
.home-cta {
  padding: 56px 0;
}

.home-cta-inner {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
    linear-gradient(135deg, #0f74ff 0%, #0b57c3 100%);
  border-radius: 24px;
  padding: 40px 36px;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 20px 56px rgba(15, 116, 255, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.home-cta-inner h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: -0.02em;
}

.home-cta-inner p {
  margin: 0;
  opacity: 0.95;
  max-width: 480px;
  font-size: 16px;
}

.home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-light {
  background: #fff;
  color: var(--primary-dark);
}

.btn-light:hover {
  background: #f0f6ff;
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
  color: #fff;
}

.home-policies { padding-bottom: 48px; }

.home-policies-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 12px 36px rgba(8, 34, 78, 0.06);
}

/* Dark footer (home) */
.site-footer--dark {
  margin-top: 0;
  background: #041224;
  border-top: none;
  padding: 48px 0 36px;
}

.site-footer--dark h4 {
  color: rgba(255, 255, 255, 0.55);
}

.site-footer--dark p,
.site-footer--dark li a {
  color: rgba(255, 255, 255, 0.75);
}

.site-footer--dark li a:hover {
  color: #9ec8ff;
  text-decoration: none;
}

.site-footer--dark .copy {
  color: rgba(255, 255, 255, 0.45);
  border-top-color: rgba(255, 255, 255, 0.1);
}

.site-brand--footer {
  margin-bottom: 12px;
}


.footer-brand p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 280px;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .site-footer-grid { grid-template-columns: 1fr; }

  .site-links--desktop,
  .site-nav-cta { display: none; }

  .phone-device { width: min(260px, 78vw); }

  .site-nav-menu {
    display: block;
    position: relative;
  }

  .site-nav-toggle {
    list-style: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
  }

  .site-nav-toggle::-webkit-details-marker { display: none; }

  .site-nav-menu .site-links {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    flex-direction: column;
    align-items: stretch;
    min-width: 180px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px;
    box-shadow: var(--shadow);
    z-index: 200;
  }

  .site-nav-menu .site-links a {
    padding: 10px 12px;
    border-radius: 8px;
  }

  .site-nav-menu .site-links a:hover {
    background: #f0f6ff;
    text-decoration: none;
  }

  .page-home main { padding-top: 64px; }

  .home-hero-grid { grid-template-columns: 1fr; }
  .home-hero h1 { max-width: none; }
  .home-hero-visual { order: -1; padding: 0 0 12px; }
  .home-hero-float { display: none; }
  .home-stats-grid { grid-template-columns: 1fr; }
  .home-showcase-grid { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }
  .showcase-card--lift { transform: none; }
  .home-feature-grid { grid-template-columns: 1fr; }
  .home-feature-card--wide { grid-column: span 1; }
  .home-wallet-inner { grid-template-columns: 1fr; }
  .home-wallet-card { max-width: none; justify-self: stretch; }
  .home-steps { grid-template-columns: 1fr; }
  .home-steps--timeline::before { display: none; }
  .home-service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-tile--highlight { grid-column: span 2; }
  .home-cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .home-feature-card--wide { grid-column: span 3; }
  .home-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .home-service-grid { grid-template-columns: repeat(3, 1fr); }
  .service-tile--highlight { grid-column: span 1; }
}

@media (min-width: 901px) {
  .site-nav-menu { display: none; }
}
