:root {
  --page-bg: #2e313d;
  --canvas-bg: #f4f6fb;
  --surface: #e8ebf2;
  --surface-2: #ffffff;
  --surface-3: #eef2fb;
  --ink: #141b2a;
  --text: #334055;
  --muted: #69758b;
  --line: rgba(20, 27, 42, 0.1);
  --accent: #4a43d9;
  --accent-dark: #332db0;
  --accent-soft: #dfe4ff;
  --accent-line: #5a73ff;
  --lime: #c9ff31;
  --orange: #ff5b36;
  --mint: #2ac58e;
  --shadow-sm: 0 10px 24px rgba(17, 25, 40, 0.08);
  --shadow-md: 0 22px 44px rgba(17, 25, 40, 0.12);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-heading: "Sora", "Trebuchet MS", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: linear-gradient(180deg, var(--page-bg) 0 620px, var(--canvas-bg) 620px 100%);
}

body.home-body {
  min-width: 320px;
}

main,
section,
div,
header,
footer,
nav,
article {
  position: relative;
}

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

.container-wide {
  width: min(1350px, calc(100vw - 72px));
  margin: 0 auto;
}

.page-shell,
.home-page {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: none;
  border-radius: 999px;
  padding: 0 24px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #5d7cff 100%);
  color: #ffffff;
  box-shadow: 0 16px 28px rgba(74, 67, 217, 0.26);
}

.btn-ghost {
  background: transparent;
  color: #1a2232;
  border: 1px solid rgba(17, 25, 40, 0.12);
}

.hero-shell {
  padding: 130px 0 60px;
}

.hero-frame {
  background: var(--surface);
  border-radius: 42px;
  padding: 34px 34px 30px;
  box-shadow: 0 28px 70px rgba(10, 14, 24, 0.18);
  overflow: hidden;
}

.hero-frame::before {
  content: "";
  position: absolute;
  top: 122px;
  right: 54px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 115, 255, 0.14), rgba(90, 115, 255, 0));
  pointer-events: none;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  padding: 30px 0;
  color: #ffffff; /* Light by default against dark hero */
}

.site-nav .brand {
  color: #ffffff;
}

.site-nav.scrolled {
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px rgba(13, 16, 23, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--ink); /* Dark color when scrolled against light bg */
}

.site-nav.scrolled .brand {
  color: var(--ink);
}

.site-nav.scrolled .nav-links {
  color: #2d3749;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.home-nav {
  /* Reset previous styles as they move into site-nav and nav-container */
  display: block;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(20, 27, 42, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, #2a85ff 100%);
  color: #ffffff;
  font-size: 1rem;
  box-shadow: 0 10px 20px rgba(74, 67, 217, 0.28);
}

.desktop-links {
  display: inline-flex;
  justify-content: center;
  gap: clamp(14px, 2.5vw, 34px);
  font-size: 0.95rem;
  font-weight: 700;
  color: inherit;
  white-space: nowrap;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.mobile-links {
  display: none;
}

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

.hero-main-grid {
  display: grid;
  grid-template-columns: 1.02fr 1.08fr;
  gap: 32px;
  align-items: stretch;
}

.hero-copy {
  display: grid;
  align-content: end;
  gap: 18px;
  padding: 20px 0 0;
}

.hero-app-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-store-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(20, 27, 42, 0.08);
  color: #263046;
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-copy h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: 0.015em;
  max-width: 600px;
  text-wrap: balance;
}

.hero-title-line {
  display: block;
}

.hero-title-line-final {
  display: inline-flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-highlight {
  display: inline-flex;
  align-items: center;
  padding: 0 20px 6px;
  margin: 0 10px 2px 6px;
  border-radius: 12px;
  background: var(--lime);
  color: #111724;
  transform: rotate(-3deg);
  box-shadow: 0 14px 24px rgba(133, 180, 24, 0.25);
}

.hero-copy p {
  margin: 0;
  max-width: 540px;
  color: #59657b;
  font-size: 1.02rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 2px;
}

.hero-cta {
  min-width: 220px;
}

.hero-link {
  color: #253048;
  font-size: 0.95rem;
  font-weight: 800;
}

.hero-visual {
  min-height: 560px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.1));
  overflow: hidden;
}

.hero-wire {
  position: absolute;
  left: -42px;
  right: -8px;
  top: 118px;
  width: calc(100% + 80px);
  height: 240px;
  pointer-events: none;
}

.hero-wordmark {
  position: absolute;
  top: 102px;
  left: 114px;
  color: rgba(48, 55, 73, 0.16);
  font-family: var(--font-display);
  font-size: clamp(6rem, 14vw, 10rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  z-index: 1;
}

.hero-proof-stamp {
  position: absolute;
  top: 118px;
  left: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 20px;
  background: #6283ff;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-align: center;
  transform: rotate(-12deg);
  z-index: 3;
}

.hero-illustration-backdrop {
  position: absolute;
  right: 42px;
  top: 84px;
  width: 440px;
  height: 440px;
  border-radius: 32% 68% 55% 45% / 42% 38% 62% 58%;
  background: linear-gradient(145deg, rgba(90, 115, 255, 0.16), rgba(255, 255, 255, 0.7));
  filter: blur(0.4px);
  z-index: 1;
}

.hero-illustration-frame {
  position: absolute;
  top: 88px;
  right: 74px;
  width: 430px;
  max-width: calc(100% - 132px);
  margin: 0;
  padding: 14px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 48px rgba(25, 34, 52, 0.12);
  backdrop-filter: blur(10px);
  z-index: 2;
}

.hero-illustration-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: center;
  border-radius: 28px;
}

.hero-floating-card,
.hero-floating-chip {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(20, 27, 42, 0.08);
  box-shadow: var(--shadow-sm);
  z-index: 3;
}

.hero-floating-card {
  padding: 14px 16px;
  border-radius: 18px;
  min-width: 176px;
}

.hero-floating-card span {
  display: block;
  color: #6f7b90;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-floating-card strong {
  display: block;
  margin-top: 8px;
  color: #192234;
  font-size: 0.92rem;
}

.hero-floating-card-left {
  left: 18px;
  bottom: 114px;
}

.hero-floating-card-right {
  right: 16px;
  top: 232px;
}

.hero-floating-chip {
  right: 56px;
  bottom: 42px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #253048;
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-lower-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.95fr;
  gap: 18px;
  margin-top: 26px;
}

.hero-lower-card {
  min-height: 184px;
  border-radius: 30px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(20, 27, 42, 0.06);
  box-shadow: var(--shadow-sm);
}

.hero-lower-card small {
  display: inline-block;
  color: #8b96a7;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero-lower-card h3 {
  margin: 18px 0 10px;
  color: #172132;
  font-family: var(--font-heading);
  font-size: 1.95rem;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.hero-lower-card p {
  margin: 0;
  color: #617089;
  line-height: 1.65;
}

.hero-lower-card-wide {
  background: linear-gradient(145deg, #ffffff, #f6f8fd);
}

.hero-lower-card-accent {
  background: linear-gradient(145deg, #f5f6ff, #ffffff);
}

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

.home-section-split {
  padding-top: 72px;
}

.home-section-alt {
  background: linear-gradient(180deg, rgba(224, 240, 255, 0.42), rgba(255, 255, 255, 0));
}

.section-headline {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
  align-items: end;
}

.compact-headline {
  align-items: start;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-kicker-light {
  color: rgba(255, 255, 255, 0.7);
}

.section-headline h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  max-width: 700px;
}

.section-intro {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 460px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.step-card {
  min-height: 240px;
  border-radius: 26px;
  padding: 22px;
  background: var(--surface-2);
  border: 1px solid rgba(20, 27, 42, 0.08);
  box-shadow: var(--shadow-sm);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #edf2ff;
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
}

.step-card h3 {
  margin: 22px 0 12px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 1.45rem;
  line-height: 1.1;
}

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

.rewards-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.rewards-visual {
  min-height: 420px;
  border-radius: 34px;
  background: linear-gradient(145deg, #edf5ff 0%, #f8fbff 100%);
  border: 1px solid #d8e4f3;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.story-wire-circle {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 2px solid rgba(90, 115, 255, 0.18);
  right: -46px;
  top: -34px;
}

.story-stat-card,
.story-balance-card {
  position: absolute;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(20, 27, 42, 0.08);
  box-shadow: var(--shadow-sm);
}

.story-stat-card {
  width: 240px;
  padding: 14px 16px;
}

.story-stat-card span,
.story-balance-card span {
  display: block;
  color: #7a869a;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-stat-card strong,
.story-balance-card strong {
  display: block;
  margin-top: 10px;
  color: #1a2438;
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.25;
}

.story-stat-card-top {
  left: 42px;
  top: 52px;
}

.story-stat-card-mid {
  left: 116px;
  top: 136px;
}

.story-balance-card {
  right: 46px;
  bottom: 42px;
  width: 236px;
  padding: 18px;
}

.story-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 88px;
  margin-top: 16px;
}

.story-bars span {
  width: 18px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #4a43d9, #6d84ff);
}

.story-bars span:nth-child(1) { height: 42%; }
.story-bars span:nth-child(2) { height: 66%; }
.story-bars span:nth-child(3) { height: 54%; }
.story-bars span:nth-child(4) { height: 88%; }

.rewards-copy h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(2.15rem, 3.8vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.rewards-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.78;
  max-width: 540px;
}

.story-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.story-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #3f4c63;
  font-weight: 700;
}

.story-list li::before {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #84a0ff);
}

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

.earn-card {
  min-height: 240px;
  border-radius: 30px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.earn-card-orange {
  background: linear-gradient(145deg, #fff0e9, #ffffff);
}

.earn-card-blue {
  background: linear-gradient(145deg, #edf0ff, #ffffff);
}

.earn-card-lime {
  background: linear-gradient(145deg, #f5ffdf, #ffffff);
}

.earn-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #29334a;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.earn-card h3 {
  margin: 22px 0 12px;
  color: #182132;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.earn-card p {
  margin: 0;
  color: #5e6980;
  line-height: 1.68;
}

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

.testimonial {
  display: grid;
  gap: 16px;
  min-height: 220px;
  padding: 22px;
  border-radius: 28px;
  background: var(--surface-2);
  border: 1px solid rgba(20, 27, 42, 0.08);
  box-shadow: var(--shadow-sm);
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #dde3ff, #f0f4ff);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
}

.testimonial-identity {
  display: grid;
  gap: 4px;
}

.testimonial-identity strong {
  color: #172132;
  font-size: 0.96rem;
}

.testimonial-identity span {
  color: #70809a;
  font-size: 0.82rem;
  font-weight: 700;
}

.testimonial p {
  margin: 0;
  color: #425069;
  line-height: 1.7;
}

.cta-band {
  padding: 0 0 32px;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 38px;
  border-radius: 34px;
  background: linear-gradient(145deg, #3c35cf, #245be8 58%, #1e9bff);
  color: #ffffff;
  box-shadow: 0 24px 44px rgba(41, 64, 187, 0.26);
}

.cta-band-inner h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.cta-band-btn {
  background: #ffffff;
  color: #1b2540;
  box-shadow: none;
}

.site-footer {
  position: relative;
  background: #0d1017;
  color: #ffffff;
  padding: 100px 0 50px;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(74, 67, 217, 0.4) 50%, transparent 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand .brand {
  color: #ffffff !important;
  font-size: 1.4rem;
}

.footer-desc {
  color: #8fa1b4;
  line-height: 1.7;
  max-width: 320px;
  margin: 0;
  font-size: 0.94rem;
}

.footer-socials {
  display: flex;
  gap: 14px;
}

.social-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.social-circle:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(74, 67, 217, 0.3);
}

.footer-col h3 {
  margin: 0 0 24px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  color: #8fa1b4;
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: none;
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copy {
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 540px;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    margin-bottom: 20px;
  }
}

@media (max-width: 760px) {
  .site-footer {
    padding: 60px 0 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-copy {
    text-align: center;
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.8s ease forwards;
}

.fade-up.delay-1 {
  animation-delay: 0.12s;
}

.fade-up.delay-2 {
  animation-delay: 0.24s;
}

.hero-floating-card,
.hero-proof-stamp,
.hero-floating-chip,
.story-stat-card,
.story-balance-card {
  animation: floatY 5.4s ease-in-out infinite;
}

.hero-floating-card-right,
.story-stat-card-mid {
  animation-delay: 0.4s;
}

.hero-floating-chip,
.story-balance-card {
  animation-delay: 0.65s;
}

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

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

@media (max-width: 1180px) {
  .hero-main-grid,
  .rewards-story,
  .section-headline {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-lower-grid,
  .steps-grid,
  .earn-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-illustration-backdrop {
    right: 36px;
    width: 400px;
    height: 400px;
  }

  .hero-illustration-frame {
    right: 52px;
  }
}

@media (max-width: 820px) {
  body {
    background: linear-gradient(180deg, var(--page-bg) 0 440px, var(--canvas-bg) 440px 100%);
  }

  .container-wide {
    width: min(100vw - 28px, 1350px);
  }

  .hero-shell {
    padding: 16px 0 36px;
  }

  .hero-frame {
    padding: 20px 18px 18px;
    border-radius: 28px;
  }

  .home-nav {
    position: relative;
    grid-template-columns: auto 1fr;
    justify-items: start;
    gap: 14px;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: #f4f6fb;
    border-color: rgba(20, 27, 42, 0.12);
    color: #3f4b5c;
  }

  .nav-toggle-icon {
    width: 20px;
    height: 20px;
    display: block;
  }

  .nav-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 20px;
    background: #ffffff;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 28px 60px rgba(10, 18, 48, 0.14);
    padding: 18px 16px 20px;
    z-index: 10;
  }

  .home-nav.nav-open .nav-panel {
    display: flex;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 8px 0;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 10px 0;
    color: var(--ink);
    opacity: 1;
    font-weight: 700;
    font-size: 1rem;
    transition: color 0.2s ease;
  }

  .nav-links a + a {
    border-top: 1px solid rgba(20, 27, 42, 0.04);
  }

  .nav-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 10px;
  }

  .nav-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .hero-copy h1 {
    font-size: clamp(3.1rem, 16vw, 5rem);
    line-height: 0.92;
    max-width: 100%;
  }

  .hero-highlight {
    margin-left: 0;
  }

  .hero-title-line-final {
    gap: 8px;
  }

  .hero-visual {
    min-height: 460px;
  }

  .hero-wordmark {
    top: 110px;
    left: 32px;
    font-size: clamp(4.4rem, 20vw, 7rem);
  }

  .hero-proof-stamp {
    top: 78px;
    left: 16px;
    width: 78px;
    height: 78px;
    font-size: 0.72rem;
  }

  .hero-illustration-backdrop {
    right: 20px;
    top: 122px;
    width: calc(100% - 40px);
    height: 320px;
  }

  .hero-illustration-frame {
    top: 122px;
    right: 18px;
    width: calc(100% - 36px);
    max-width: none;
    padding: 10px;
  }

  .hero-floating-card-left {
    left: 12px;
    bottom: 84px;
  }

  .hero-floating-card-right {
    right: 12px;
    top: 58px;
  }

  .hero-floating-chip {
    right: 18px;
    bottom: 20px;
  }

  .hero-lower-grid,
  .steps-grid,
  .earn-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .cta-band-inner,
  .footer-stack {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .container-wide {
    width: 100%;
    padding-inline: 16px;
  }

  .hero-shell {
    padding: 110px 0 22px;
  }

  .hero-frame {
    padding: 16px 14px 16px;
    border-radius: 24px;
  }

  .home-nav {
    grid-template-columns: auto 1fr;
    justify-items: start;
    gap: 12px;
  }

  .nav-toggle {
    justify-self: end;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 8px 0;
    font-size: 1rem;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 10px 0;
    color: var(--ink);
    opacity: 1;
    font-weight: 700;
  }

  .nav-links a + a {
    border-top: 1px solid rgba(20, 27, 42, 0.04);
  }

  .nav-actions {
    width: 100%;
    gap: 10px;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: stretch;
    padding-top: 10px;
  }

  .nav-actions .btn {
    flex: 1;
    min-width: 0;
  }

  .hero-copy {
    gap: 12px;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 18vw, 3.8rem);
    line-height: 1;
    max-width: 100%;
  }

  .hero-copy p {
    font-size: 0.96rem;
    max-width: 100%;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-visual {
    min-height: 320px;
  }

  .hero-wordmark,
  .hero-proof-stamp,
  .hero-floating-card,
  .hero-floating-chip,
  .hero-illustration-backdrop {
    display: none;
  }

  .hero-illustration-frame {
    position: static;
    width: 100%;
    max-width: 100%;
    margin-top: 18px;
    padding: 12px;
    border-radius: 26px;
  }

  .hero-lower-grid,
  .steps-grid,
  .earn-grid,
  .testimonial-grid {
    gap: 14px;
  }

  .hero-lower-card,
  .step-card,
  .earn-card,
  .testimonial {
    padding: 18px;
  }

  .step-card,
  .earn-card,
  .testimonial {
    min-height: auto;
  }

  .section-headline {
    gap: 18px;
  }
@media (max-width: 760px) {
  .site-nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 12px 0 !important;
    z-index: 9999;
  }
  .nav-panel {
    background: #ffffff !important;
  }
  .desktop-links {
    display: none;
  }
  .mobile-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    color: var(--ink) !important;
  }
}

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

  .cta-band-inner {
    padding: 24px 16px;
  }

  .footer-copy {
    text-align: center;
  }
}
