:root {
  --ink: #1d2023;
  --ink-soft: #58616d;
  --muted: #6f7782;
  --line: #e4e9ef;
  --paper: #ffffff;
  --cloud: #f5f7fa;
  --blue: #5c7df2;
  --blue-deep: #304ca9;
  --blue-pale: #e7efff;
  --orange: #ff9f45;
  --success: #24a36b;
  --shell: 1200px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-soft: 0 18px 45px rgba(29, 32, 35, 0.08);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.shell { width: min(var(--shell), calc(100% - 48px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.92); border-bottom: 1px solid transparent; backdrop-filter: blur(18px); transition: border-color 180ms ease, box-shadow 180ms ease; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 28px rgba(29, 32, 35, 0.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 780; letter-spacing: -0.04em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; color: #fff; background: var(--ink); border-radius: 11px; font-size: 18px; letter-spacing: -0.08em; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.nav-link { position: relative; color: var(--muted); font-size: 15px; font-weight: 650; transition: color 180ms ease; }
.nav-link::after { position: absolute; right: 0; bottom: -11px; left: 0; height: 2px; background: var(--blue); border-radius: 99px; content: ""; transform: scaleX(0); transform-origin: center; transition: transform 180ms ease; }
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link-button { padding: 12px 17px; color: #fff; background: var(--ink); border-radius: 999px; }
.nav-link-button::after { display: none; }
.nav-link.nav-link-button.is-active { color: #fff; background: var(--ink); }
.nav-link-button:hover { color: #fff; background: var(--blue-deep); }
.nav-link.nav-link-button.is-active:hover { color: #fff; background: var(--blue-deep); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 9px; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; margin: 4px auto; background: currentColor; border-radius: 99px; }

.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, #263c9b 0%, #5d7ef4 46%, #82bde9 100%); }
.hero::after { position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(180deg, transparent, rgba(29, 32, 35, 0.16)); content: ""; pointer-events: none; }
.hero-glow { position: absolute; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%; pointer-events: none; }
.hero-glow-one { top: -340px; right: 8%; width: 720px; height: 720px; }
.hero-glow-two { right: 21%; bottom: -420px; width: 740px; height: 740px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr); gap: 72px; align-items: center; min-height: 680px; padding: 88px 0 112px; }
.hero-copy { max-width: 650px; }
.eyebrow { margin: 0 0 20px; color: rgba(255, 255, 255, 0.72); font-size: 12px; font-weight: 800; letter-spacing: 0.16em; line-height: 1.3; text-transform: uppercase; }
.eyebrow-dark { color: var(--blue-deep); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 690px; margin-bottom: 26px; font-size: clamp(42px, 5.7vw, 76px); font-weight: 760; letter-spacing: -0.065em; line-height: 0.98; }
.hero-lede { max-width: 590px; margin-bottom: 34px; color: rgba(255, 255, 255, 0.82); font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; gap: 12px; justify-content: center; min-height: 48px; padding: 0 19px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 750; transition: transform 180ms var(--ease), background 180ms ease, color 180ms ease, border-color 180ms ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: var(--ink); background: #fff; }
.button-primary:hover { background: #eaf0ff; }
.button-quiet { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.button-quiet:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 42px; color: rgba(255, 255, 255, 0.7); font-size: 13px; }
.status-dot { width: 8px; height: 8px; background: #b6f6cf; border-radius: 50%; box-shadow: 0 0 0 5px rgba(182, 246, 207, 0.16); }

.hero-visual { position: relative; min-height: 470px; }
.visual-orbit { position: absolute; border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 50%; transform: rotate(-18deg); }
.orbit-one { top: 37px; left: 10%; width: 92%; height: 390px; }
.orbit-two { top: 82px; left: 19%; width: 72%; height: 300px; transform: rotate(38deg); }
.visual-card { position: absolute; width: min(440px, 84%); aspect-ratio: 1.58; border-radius: 22px; transform: rotate(-8deg); }
.visual-card-back { top: 76px; left: 12%; background: rgba(255, 255, 255, 0.2); transform: rotate(10deg); }
.visual-card-main { top: 90px; left: 8%; padding: 30px; color: #fff; background: linear-gradient(145deg, rgba(31, 45, 121, 0.94), rgba(66, 91, 198, 0.94)); box-shadow: 26px 30px 50px rgba(19, 30, 86, 0.26); }
.visual-card-top, .visual-card-bottom { display: flex; align-items: center; justify-content: space-between; }
.visual-chip { width: 38px; height: 28px; background: linear-gradient(135deg, #e9c77d, #fff0bd); border-radius: 8px; }
.visual-label { font-size: 16px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.visual-card-number { margin-top: 92px; font-size: 19px; letter-spacing: 0.16em; }
.visual-card-bottom { margin-top: 22px; color: rgba(255, 255, 255, 0.65); font-size: 10px; font-weight: 750; letter-spacing: 0.14em; }
.visual-check { display: grid; place-items: center; width: 24px; height: 24px; color: #24573f; background: #b6f6cf; border-radius: 50%; font-size: 14px; }
.flow-badge { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; color: var(--ink); background: #fff; border-radius: 999px; box-shadow: var(--shadow-soft); font-size: 12px; font-weight: 750; }
.flow-badge span { display: grid; place-items: center; width: 21px; height: 21px; color: #fff; background: var(--blue); border-radius: 50%; font-size: 10px; }
.badge-submit { top: 8%; right: 6%; }
.badge-review { right: 0; bottom: 22%; }
.badge-payout { bottom: 4%; left: 12%; }

.section { padding: 104px 0; }
.section-light { background: var(--paper); }
.section-muted { background: var(--cloud); }
.section-heading { max-width: 700px; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 40px; max-width: none; }
h2 { max-width: 720px; margin-bottom: 16px; font-size: clamp(34px, 4.1vw, 54px); font-weight: 740; letter-spacing: -0.055em; line-height: 1.04; }
.section-intro { max-width: 530px; margin-bottom: 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.section-heading-row .section-intro { max-width: 355px; padding-bottom: 4px; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 62px; }
.process-card { position: relative; min-height: 296px; padding: 30px; background: var(--cloud); border: 1px solid var(--line); border-radius: var(--radius-md); transition: transform 180ms var(--ease), box-shadow 180ms ease; }
.process-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-soft); }
.process-card-featured { color: #fff; background: var(--ink); border-color: var(--ink); }
.step-number { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; }
.process-card-featured .step-number { color: #a9c0ff; }
.step-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 44px 0 24px; color: var(--blue-deep); background: var(--blue-pale); border-radius: 16px; font-size: 23px; }
.process-card-featured .step-icon { color: var(--ink); background: #b8d2ff; }
.process-card h3 { margin-bottom: 10px; font-size: 23px; letter-spacing: -0.035em; }
.process-card p { max-width: 280px; margin-bottom: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.process-card-featured p { color: rgba(255, 255, 255, 0.68); }

.security-grid { display: grid; grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr); gap: 100px; align-items: center; }
.advantage-list { display: grid; gap: 12px; }
.advantage-item { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--line); }
.advantage-item:first-child { padding-top: 0; }
.advantage-item:last-child { padding-bottom: 0; border-bottom: 0; }
.advantage-icon { display: grid; place-items: center; width: 42px; height: 42px; color: var(--blue-deep); background: var(--blue-pale); border-radius: 13px; font-size: 18px; }
.advantage-item h3 { margin-bottom: 5px; font-size: 19px; letter-spacing: -0.02em; }
.advantage-item p { margin-bottom: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

.programs-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr); gap: 90px; align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 32px; color: var(--blue-deep); font-size: 15px; font-weight: 800; }
.text-link:hover span { transform: translateX(4px); }
.text-link span { transition: transform 180ms ease; }
.programs-panel { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; min-height: 360px; padding: 24px; background: #edf3ff; border-radius: var(--radius-lg); }
.program-tile { display: flex; flex-direction: column; justify-content: space-between; min-height: 145px; padding: 22px; border-radius: 18px; font-size: 16px; font-weight: 750; }
.program-tile strong { align-self: end; font-size: 44px; letter-spacing: -0.07em; }
.tile-blue { color: #fff; background: var(--blue); }
.tile-ink { color: #fff; background: var(--ink); }
.tile-orange { color: #4e321b; background: #ffd9ac; }
.programs-panel-caption { grid-column: 1 / -1; align-self: end; color: var(--blue-deep); font-size: 13px; font-weight: 800; letter-spacing: 0.04em; }

.faq-layout { display: grid; grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr); gap: 100px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 24px 0; color: var(--ink); cursor: pointer; list-style: none; font-size: 17px; font-weight: 730; }
summary::-webkit-details-marker { display: none; }
summary span { color: var(--blue); font-size: 25px; font-weight: 400; transition: transform 180ms ease; }
details[open] summary span { transform: rotate(45deg); }
details p { max-width: 650px; margin: -4px 34px 24px 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

.download-section { position: relative; overflow: hidden; color: #fff; background: var(--ink); }
.download-section::before { position: absolute; top: -220px; right: 6%; width: 520px; height: 520px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 50%; content: ""; }
.download-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr); gap: 80px; align-items: center; padding: 92px 0; }
.download-grid h2 { max-width: 600px; }
.download-copy { max-width: 470px; margin: 0; color: rgba(255, 255, 255, 0.68); font-size: 17px; line-height: 1.7; }
.download-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: end; }
.store-button { display: inline-flex; align-items: center; gap: 11px; min-width: 176px; padding: 12px 16px; color: var(--ink); background: #fff; border-radius: 14px; transition: transform 180ms var(--ease), background 180ms ease; }
.store-button:hover { background: #edf3ff; transform: translateY(-4px); }
.store-icon { font-size: 24px; line-height: 1; }
.store-button small, .store-button strong { display: block; }
.store-button small { font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.store-button strong { margin-top: 2px; font-size: 15px; }
.placeholder-note { flex-basis: 100%; margin: 2px 0 0; color: rgba(255, 255, 255, 0.48); font-size: 12px; text-align: right; }

.site-footer { color: rgba(255, 255, 255, 0.68); background: #121519; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 30px; align-items: center; padding: 42px 0; }
.brand-footer { color: #fff; }
.footer-inner p { margin: 0; font-size: 13px; line-height: 1.6; }
.footer-inner nav { display: flex; justify-content: end; gap: 20px; font-size: 13px; }
.footer-inner nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding: 18px 0 28px; border-top: 1px solid rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.4); font-size: 12px; }
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; padding-top: 74px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 410px; max-width: 650px; width: 100%; margin: 0 auto; }
  .security-grid, .programs-grid, .faq-layout { gap: 56px; }
}

@media (max-width: 780px) {
  .shell { width: min(var(--shell), calc(100% - 36px)); }
  .header-inner { height: 70px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: calc(100% + 1px); right: 18px; left: 18px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-soft); }
  .site-nav.is-open { display: flex; }
  .nav-link { padding: 13px 12px; }
  .nav-link::after { display: none; }
  .nav-link-button { margin-top: 4px; text-align: center; }
  .section { padding: 78px 0; }
  .section-heading-row, .security-grid, .programs-grid, .faq-layout, .download-grid { grid-template-columns: 1fr; display: grid; gap: 34px; }
  .section-heading-row .section-intro { max-width: 530px; }
  .process-grid { grid-template-columns: 1fr; margin-top: 42px; }
  .process-card { min-height: 0; }
  .step-icon { margin-top: 28px; }
  .programs-panel { min-height: 320px; }
  .download-grid { padding: 76px 0; }
  .download-actions { justify-content: start; }
  .placeholder-note { text-align: left; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; }
  .footer-inner nav { justify-content: start; }
}

@media (max-width: 560px) {
  h1 { font-size: clamp(40px, 12vw, 58px); }
  h2 { font-size: 38px; }
  .hero-grid { min-height: 0; padding: 66px 0 84px; }
  .hero-lede { font-size: 17px; }
  .hero-visual { min-height: 330px; }
  .visual-card-main { top: 54px; left: 3%; padding: 21px; }
  .visual-card-back { top: 48px; left: 8%; }
  .visual-card-number { margin-top: 66px; font-size: 14px; }
  .badge-submit { top: 2%; right: 0; }
  .badge-review { right: 0; bottom: 16%; }
  .badge-payout { bottom: 0; left: 4%; }
  .flow-badge { padding: 8px 10px; font-size: 11px; }
  .flow-badge span { width: 18px; height: 18px; }
  .programs-panel { grid-template-columns: 1fr 1fr; min-height: 280px; padding: 14px; }
  .program-tile { min-height: 112px; padding: 16px; font-size: 13px; }
  .program-tile strong { font-size: 32px; }
  .store-button { min-width: 0; flex: 1 1 160px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

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