/* Fonts (shared files with the main offer page — cached by URL) */
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-400-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-600-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/poppins-400-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/poppins-600-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/poppins-700-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }

* { box-sizing: border-box; }
body { margin: 0; font-family: Poppins, sans-serif; background: #17163A; color: #FFFFFF; -webkit-font-smoothing: antialiased; }
a { color: #B9B6F4; }
.hidden { display: none !important; }
.inner { max-width: 720px; margin: 0 auto; }
.mono-hl { font-family: 'IBM Plex Mono', monospace; color: #B9B6F4; }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; gap: 14px; padding: 0 clamp(16px, 4vw, 28px); height: 64px; background: rgba(23, 22, 58, 0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.nav-logo img { height: 30px; display: block; }
.nav-sep { width: 1px; height: 26px; background: #6F6CCB; opacity: 0.6; }
.nav-suffix { font-family: 'IBM Plex Mono', monospace; font-size: 13px; letter-spacing: 0.1em; color: #6F6CCB; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(110px, 16vw, 150px) clamp(20px, 6vw, 40px) clamp(48px, 8vw, 80px); background: linear-gradient(150deg, #17163A 0%, #26255C 60%, #3B3A80 100%); }
.tldr-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 5vw, 40px); }
.tldr-chip { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.1em; border-radius: 999px; padding: 7px 13px; color: #B9B6F4; border: 1px solid rgba(185, 182, 244, 0.45); }
.tldr-chip.hl { color: #1E1D45; background: #B9B6F4; border-color: #B9B6F4; }
.hero h1 { margin: 0 0 22px; font-weight: 700; font-size: clamp(42px, 11vw, 76px); line-height: 1.04; letter-spacing: -0.02em; }
.hero .lede { margin: 0 0 14px; font-size: clamp(16px, 4.2vw, 19px); line-height: 1.6; color: rgba(255, 255, 255, 0.85); max-width: 46ch; }

.hero-empathy { margin: 0 0 30px; font-family: 'IBM Plex Mono', monospace; font-size: 13px; letter-spacing: 0.04em; color: #B9B6F4; }
.result-payday { font-family: 'IBM Plex Mono', monospace; font-weight: 600; font-size: 15px; color: #FFFFFF; background: rgba(185, 182, 244, 0.16); border-radius: 999px; display: inline-block; padding: 6px 14px; margin-top: 12px; }

/* Buttons */
.cta-btn { border: none; background: #B9B6F4; color: #1E1D45; font-family: inherit; font-weight: 600; font-size: 16px; padding: 15px 32px; border-radius: 999px; cursor: pointer; min-height: 50px; transition: background 150ms ease; }
.cta-btn:hover { background: #FFFFFF; }
.cta-row { display: flex; justify-content: center; margin-top: 34px; }

/* Calculator */
.calc { padding: clamp(48px, 8vw, 80px) clamp(20px, 6vw, 40px); background: #1E1D45; }
.calc h2 { margin: 0 0 8px; font-weight: 700; font-size: clamp(28px, 7vw, 42px); letter-spacing: -0.02em; }
.calc-sub { margin: 0 0 28px; font-size: 16px; line-height: 1.6; color: #B9B6F4; max-width: 50ch; }
.calc-card { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 20px; padding: clamp(22px, 5vw, 34px); }
.slider-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; gap: 10px; }
.slider-label, .term-head { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.6); }
.slider-val { font-family: 'IBM Plex Mono', monospace; font-weight: 600; font-size: 24px; }
.slider-track { position: relative; height: 28px; }
.slider-bg { position: absolute; left: 0; right: 0; top: 10px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.15); }
.slider-fill { position: absolute; left: 0; top: 10px; height: 8px; border-radius: 4px; background: #B9B6F4; width: 33%; }
.slider-track input { -webkit-appearance: none; appearance: none; background: transparent; margin: 0; padding: 0; width: 100%; position: absolute; inset: 0; }
.slider-track input::-webkit-slider-runnable-track { height: 28px; background: transparent; }
.slider-track input::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #FFFFFF; border: 2px solid #6F6CCB; box-shadow: 0 1px 6px rgba(0, 0, 0, 0.4); cursor: pointer; }
.slider-track input::-moz-range-track { height: 28px; background: transparent; }
.slider-track input::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #FFFFFF; border: 2px solid #6F6CCB; cursor: pointer; }
.term-head { display: block; margin: 28px 0 12px; }
.term-row, .cycle-row { display: flex; gap: 8px; flex-wrap: wrap; }
.term-row button, .cycle-row button { flex: 1 1 0; min-width: 90px; border: 1.5px solid rgba(185, 182, 244, 0.5); background: transparent; color: #FFFFFF; font-family: inherit; font-weight: 600; font-size: 14.5px; padding: 12px 10px; border-radius: 999px; cursor: pointer; min-height: 46px; transition: all 150ms ease; }
.term-row button.on, .cycle-row button.on { background: #B9B6F4; color: #1E1D45; border-color: #B9B6F4; }
.result { text-align: center; margin: 32px 0 8px; }
.result-label { font-size: 16px; color: rgba(255, 255, 255, 0.8); }
.result-num { font-family: 'IBM Plex Mono', monospace; font-weight: 600; font-size: clamp(58px, 15vw, 92px); line-height: 1.1; letter-spacing: -0.03em; }
.result-note { font-size: 14.5px; color: #B9B6F4; margin-top: 6px; }
.result-cap { font-size: 13px; color: #FFC9B8; margin-top: 8px; }
.rate-line { font-family: 'IBM Plex Mono', monospace; font-size: 11px; line-height: 1.7; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.55); margin-top: 26px; text-align: center; }

/* How it works */
.how { padding: clamp(48px, 8vw, 80px) clamp(20px, 6vw, 40px); background: #17163A; }
.how h2 { margin: 0 0 28px; font-weight: 700; font-size: clamp(26px, 6.4vw, 40px); letter-spacing: -0.02em; }
.tile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 700px) { .tile-grid { grid-template-columns: minmax(0, 1fr); } }
.tile { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.tile-rule-row { display: flex; align-items: center; gap: 14px; }
.tile-rule-row > div:last-child { flex: 1; height: 1px; background: rgba(255, 255, 255, 0.25); }
.num-badge { font-family: 'IBM Plex Mono', monospace; font-weight: 600; font-size: 13px; color: #1E1D45; background: #B9B6F4; border-radius: 8px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tile-title { font-weight: 600; font-size: 16.5px; }
.tile-body { font-size: 14.5px; line-height: 1.6; color: #B9B6F4; }

/* Statement */
.statement { padding: clamp(48px, 9vw, 90px) clamp(20px, 6vw, 40px); background: #26255C; }
.statement h2 { margin: 0; font-weight: 700; font-size: clamp(26px, 6.8vw, 46px); line-height: 1.2; letter-spacing: -0.02em; text-wrap: pretty; }
.statement .a { color: #FFFFFF; }
.statement .b { color: #6F6CCB; }

/* Apply */
.apply { background: linear-gradient(120deg, #6B68C4 0%, #3B3A80 100%); padding: clamp(48px, 8vw, 72px) clamp(20px, 6vw, 40px) clamp(80px, 12vw, 110px); }
.apply-kicker { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: 0.18em; color: rgba(255, 255, 255, 0.75); margin-bottom: 14px; }
.apply h2 { margin: 0 0 30px; font-family: 'IBM Plex Mono', monospace; font-weight: 600; font-size: clamp(26px, 6.5vw, 42px); letter-spacing: 0.08em; }
.summary { display: flex; align-items: center; gap: clamp(14px, 4vw, 28px); flex-wrap: wrap; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 14px; padding: 16px 18px; margin-bottom: 30px; }
.sum-item { display: flex; flex-direction: column; gap: 3px; }
.sum-label { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.7); }
.sum-val { font-family: 'IBM Plex Mono', monospace; font-weight: 600; font-size: 18px; }
.sum-edit { margin-left: auto; border: none; background: none; color: rgba(255, 255, 255, 0.8); font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; letter-spacing: 0.06em; cursor: pointer; text-decoration: underline; padding: 8px; min-height: 44px; min-width: 44px; }
.f-label { display: block; font-weight: 600; font-size: 15px; margin: 22px 0 8px; }
.f-input { width: 100%; font-family: 'IBM Plex Mono', monospace; font-size: 18px; padding: 12px 2px; background: transparent; border: none; border-bottom: 2px solid rgba(255, 255, 255, 0.55); border-radius: 0; outline: none; color: #FFFFFF; }
.f-input::placeholder { color: rgba(255, 255, 255, 0.4); }
.f-input.err { border-bottom-color: #E8684A; }
.cycle-row { margin-top: 4px; }
.cycle-row button { flex: 1 1 40%; }
.f-err { font-size: 13.5px; font-weight: 500; color: #FFC9B8; margin-top: 16px; }
.submit-btn { width: 100%; margin-top: 32px; background: #FFFFFF; color: #17163A; font-size: 17px; min-height: 54px; }
.submit-btn:hover { background: #E4E2FA; }
.f-fine { font-family: 'IBM Plex Mono', monospace; font-size: 11px; line-height: 1.7; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.65); margin-top: 22px; }
.stamp { display: inline-block; font-family: 'IBM Plex Mono', monospace; font-weight: 600; font-size: clamp(16px, 4.6vw, 30px); letter-spacing: 0.06em; white-space: nowrap; color: #FFFFFF; border: 3px solid #FFFFFF; border-radius: 8px; padding: 12px 22px; transform: rotate(-8deg); animation: stampIn 600ms cubic-bezier(.34, 1.4, .64, 1) both; margin: 6px 0 30px; }
@keyframes stampIn { 0% { opacity: 0; transform: rotate(-8deg) scale(1.7) } 62% { opacity: 1; transform: rotate(-8deg) scale(0.93) } 100% { opacity: 1; transform: rotate(-8deg) scale(1) } }
.success-body { font-size: 16.5px; line-height: 1.65; max-width: 56ch; margin: 0 0 16px; }
.success-sub { font-size: 14px; color: rgba(255, 255, 255, 0.8); margin: 0; }

/* Footer */
.footer { background: #17163A; padding: clamp(48px, 8vw, 70px) clamp(20px, 6vw, 40px) 50px; }
.foot-brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }
.foot-brand img { height: 28px; }
.foot-tag { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; letter-spacing: 0.08em; color: #B9B6F4; }
.foot-box { border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 16px; padding: clamp(22px, 4vw, 32px); }
.foot-kicker { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: 0.18em; color: #6F6CCB; margin-bottom: 16px; }
.foot-legal { margin: 0; font-size: 13px; line-height: 1.75; color: #B9B6F4; }
.foot-rule { height: 1px; background: rgba(255, 255, 255, 0.2); margin: 20px 0; }
.foot-contact { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: 0.04em; color: #B9B6F4; }

/* Sticky CTA */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); display: none; pointer-events: none; background: linear-gradient(rgba(23, 22, 58, 0), rgba(23, 22, 58, 0.4)); }
.sticky-cta .cta-btn { width: 100%; pointer-events: auto; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45); }
@media (max-width: 760px) { .sticky-cta.on { display: block; } }
