/* Template 4: clean, premium blue. Change the brand in :root. */
:root {
  --blue: #2447c8; --blue-2: #1b37a3; --blue-soft: #eef2ff; --sky: #8fb4ff; --navy: #0b1533;
  --ink: #0e1630; --ink-2: #3f4a66; --mute: #6b7591; --bg: #ffffff; --soft: #f5f7fc; --line: #e5e9f2;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --shadow: 0 1px 2px rgba(14, 22, 48, .05), 0 20px 40px -20px rgba(14, 22, 48, .25);
}
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
body.menu-open { overflow: hidden; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.035em; font-weight: 750; }
p { margin: 0; }
a { color: inherit; }
.sprite { position: absolute; width: 0; height: 0; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent; font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; touch-action: manipulation; transition: background-color .2s, border-color .2s, transform .14s, box-shadow .2s; }
.btn:active { transform: scale(.97); }
.btn .ic { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn-lg { min-height: 54px; padding: 0 24px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(36, 71, 200, .3), inset 0 1px 0 rgba(255, 255, 255, .15); }
.btn-white { background: #fff; color: var(--blue-2); }
.btn-glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .25); }
.btn-quiet { color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) { .btn-blue:hover { background: var(--blue-2); } .btn-glass:hover { background: rgba(255, 255, 255, .2); } .btn-quiet:hover { background: var(--soft); color: var(--ink); } .btn:hover .ic { transform: translateX(3px); } }

/* Header */
.header { position: sticky; top: 0; z-index: 40; padding-top: env(safe-area-inset-top); background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.scrolled { border-bottom-color: var(--line); }
.header-in { display: flex; align-items: center; gap: 24px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.035em; }
.logo-mark { width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(140deg, var(--blue), #4f7cff); display: grid; place-items: center; box-shadow: 0 6px 14px -6px rgba(36, 71, 200, .7); }
.logo-mark i { width: 12px; height: 12px; border: 2.5px solid #fff; border-radius: 3px; transform: rotate(45deg); }
.nav { display: none; gap: 4px; margin: 0 auto; }
.nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2); }
.nav a:hover { background: var(--soft); color: var(--ink); }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.header-cta .btn-quiet { display: none; }
.menu-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.m-menu { display: none; padding: 6px 0 20px; border-top: 1px solid var(--line); background: #fff; }
.m-menu.open { display: block; animation: drop .25s var(--ease); }
.m-menu nav { display: flex; flex-direction: column; }
.m-menu a:not(.btn) { padding: 15px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 17px; }
.m-menu .btn { margin-top: 16px; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
@media (min-width: 980px) { .nav { display: flex; } .header-cta { margin-left: 0; } .header-cta .btn-quiet { display: inline-flex; } .menu-btn, .m-menu { display: none !important; } }
@media (max-width: 400px) { .header-cta .btn-blue { padding: 0 14px; } }

/* Hero: one rounded blue panel */
.hero { padding: 12px 0 0; }
.hero-panel { position: relative; overflow: hidden; display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: center; padding: clamp(32px, 6vw, 72px) clamp(20px, 5vw, 64px); border-radius: clamp(24px, 3vw, 36px); color: #fff; background: radial-gradient(60% 80% at 100% 0%, rgba(120, 166, 255, .55), transparent 60%), radial-gradient(50% 70% at 0% 100%, rgba(11, 21, 51, .55), transparent 60%), linear-gradient(150deg, #2a52d6, #1a35a0); }
.hero-panel::before { content: ''; position: absolute; right: -140px; bottom: -180px; width: 460px; height: 460px; border-radius: 50%; border: 70px solid rgba(255, 255, 255, .05); pointer-events: none; }
@media (min-width: 1000px) { .hero-panel { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; } }
.hero-copy { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); font-size: 14px; font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #7cf0c5; box-shadow: 0 0 0 4px rgba(124, 240, 197, .2); }
.hero h1 { margin-top: 22px; font-size: clamp(40px, 6vw, 70px); letter-spacing: -0.05em; line-height: 1.02; max-width: 12ch; }
.lede { margin-top: 18px; font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); max-width: 34em; }
.hero .lede { color: #d6e1ff; }
.track { margin-top: 30px; display: flex; align-items: center; gap: 8px; max-width: 540px; padding: 6px 6px 6px 16px; border-radius: 16px; background: #fff; box-shadow: 0 20px 40px -20px rgba(5, 12, 40, .6); color: var(--mute); }
.track input { flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: none; font: 500 16px var(--font); color: var(--ink); }
.track .btn { min-height: 48px; background: var(--blue); color: #fff; }
.track:focus-within { box-shadow: 0 0 0 4px rgba(143, 180, 255, .5), 0 20px 40px -20px rgba(5, 12, 40, .6); }
.track-out { margin-top: 12px; max-width: 540px; padding: 18px; border-radius: 16px; background: #fff; color: var(--ink); }
.track-out.pop { animation: drop .35s var(--ease); }
.track-msg { color: var(--ink-2); }
.track-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.track-head b { display: block; font-size: 16px; }
.track-head span { font-size: 13.5px; color: var(--mute); }
.badge { padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.badge.ok { background: #e2f6ee; color: #0f7a52; } .badge.go { background: var(--blue-soft); color: var(--blue); }
.track-steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.track-steps li { display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: var(--mute); line-height: 1.3; }
.track-steps i { height: 5px; border-radius: 99px; background: var(--line); }
.track-steps .done i { background: var(--ink); } .track-steps .now { color: var(--ink); font-weight: 700; } .track-steps .now i { background: var(--blue); }
.track-note { margin-top: 12px; font-size: 12.5px; color: var(--mute); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.trust { list-style: none; margin: 0; padding: 22px 4px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust .ic { width: 18px; height: 18px; color: var(--blue); }

/* Sections */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.tint { background: var(--soft); }
.head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.head.center { margin-inline: auto; text-align: center; }
.kicker { font-size: 14px; font-weight: 700; color: var(--blue); margin-bottom: 12px; }
.section h2 { font-size: clamp(32px, 4.2vw, 50px); }
.cards { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: #fff; transition: transform .3s var(--ease), box-shadow .3s, border-color .2s; }
.c-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); margin-bottom: 24px; }
.c-ic .ic { width: 22px; height: 22px; }
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p { color: var(--ink-2); }
.more { margin-top: auto; padding-top: 20px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--blue); }
.more .ic { width: 16px; height: 16px; transition: transform .2s var(--ease); }
@media (hover: hover) and (pointer: fine) { .card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; } .more:hover .ic { transform: translateX(3px); } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps li { position: relative; padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.steps span { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--blue); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 32px; }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { color: var(--ink-2); font-size: 15.5px; }

.rates { display: grid; gap: 40px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .rates { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } }
.rate-table { margin-top: 28px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.rate-table div { display: flex; justify-content: space-between; gap: 12px; padding: 15px 20px; border-top: 1px solid var(--line); }
.rate-table div:first-child { border-top: 0; }
.rate-table .rt-head { background: var(--soft); font-size: 13px; font-weight: 600; color: var(--mute); text-transform: uppercase; letter-spacing: .05em; }
.rate-table span { color: var(--ink-2); }
.calc { min-width: 0; padding: clamp(22px, 3vw, 32px); border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.calc-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.calc-h h3 { font-size: 20px; }
.calc-h span { font-size: 13px; font-weight: 600; color: var(--blue); background: var(--blue-soft); padding: 5px 10px; border-radius: 999px; }
.calc-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.calc-fields label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.calc-fields input { width: 100%; min-width: 0; height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--soft); font: 700 18px var(--font); color: var(--ink); }
.calc-fields input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px var(--blue-soft); }
.calc-out { margin-top: 20px; display: grid; gap: 10px; }
.calc-row { display: flex; justify-content: space-between; font-size: 15px; color: var(--ink-2); }
.calc-row b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.calc-total { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding: 16px 18px; border-radius: 14px; background: var(--blue); color: #fff; }
.calc-total span { font-weight: 600; }
.calc-total b { font-size: 28px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.calc-note { margin-top: 12px; font-size: 13px; color: var(--mute); }

.faq { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); max-width: 1000px; margin: 0 auto; }
@media (min-width: 860px) { .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.faq details { border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 20px; font-weight: 600; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--mute); transition: transform .25s var(--ease); }
.faq details[open] summary .ic { transform: rotate(45deg); color: var(--blue); }
.faq details p { padding: 0 20px 18px; color: var(--ink-2); }

.cta { padding: clamp(72px, 9vw, 112px) 0; }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(36px, 6vw, 60px) clamp(24px, 5vw, 56px); border-radius: 28px; color: #fff; background: radial-gradient(60% 120% at 100% 0%, rgba(79, 124, 255, .5), transparent 60%), var(--navy); }
.cta-in h2 { font-size: clamp(30px, 4vw, 46px); }
.cta-in p { margin-top: 8px; color: #b9c9f5; font-size: 18px; }
.footer { border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.foot-grid { display: grid; gap: 32px; padding-top: 56px; padding-bottom: 40px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.foot-grid > div:first-child p { margin-top: 12px; color: var(--mute); }
.foot-grid h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); margin-bottom: 12px; font-weight: 700; }
.foot-grid a:not(.logo) { display: block; padding: 4px 0; text-decoration: none; }
.foot-grid a:not(.logo):hover { color: var(--blue); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 20px; padding-bottom: calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 13.5px; color: var(--mute); }

/* Sign-up dialog */
.signup { width: min(460px, calc(100vw - 24px)); padding: 0; border: 0; border-radius: 24px; box-shadow: 0 40px 80px -24px rgba(14, 22, 48, .5); color: var(--ink); font-family: var(--font); }
.signup[open] { animation: pop .3s var(--ease); }
.signup::backdrop { background: rgba(11, 21, 51, .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.su-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px 0; }
.su-head h2 { font-size: 22px; }
.x { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.signup form, .su-done { padding: 20px 24px 24px; display: grid; gap: 14px; }
.signup label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.signup input, .signup select { height: 50px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); font: 500 16px var(--font); color: var(--ink); background: #fff; }
.signup input:focus, .signup select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.field-err { color: #b42318; font-size: 13px; font-weight: 500; }
.fine { text-align: center; font-size: 13px; color: var(--mute); }
.ok-badge { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 6px 12px; border-radius: 999px; background: #e2f6ee; color: #0f7a52; font-weight: 700; font-size: 14px; }
.ok-badge .ic { width: 16px; height: 16px; }
.address { display: grid; gap: 2px; padding: 18px; border-radius: 16px; background: var(--soft); }

.js-rv .rv { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js-rv .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.logo .lt { color: inherit; }
.logo .lt span { color: var(--blue); }

/* Hero photo */
.hero-media { position: relative; margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: 0 30px 60px -28px rgba(5, 12, 40, .7); border: 1px solid rgba(255, 255, 255, .18); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.04); animation: drift 18s var(--ease) both; }
@keyframes drift { from { transform: scale(1.12); } to { transform: scale(1.04); } }
.hero-tag { position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 16px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(12px) saturate(1.6); backdrop-filter: blur(12px) saturate(1.6); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(5, 12, 40, .5); }
.hero-tag b { display: block; font-size: 14.5px; }
.hero-tag small { display: block; font-size: 12.5px; color: var(--mute); }
.t-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--blue); color: #fff; }
.t-ic .ic { width: 19px; height: 19px; }
@media (max-width: 999px) { .hero-media { aspect-ratio: 16 / 11; } }

/* Store carousel */
.stores { padding: 56px 0 8px; }
.stores-t { text-align: center; font-size: 14px; font-weight: 600; color: var(--mute); margin-bottom: 18px; }
.stores .stores-rail { --st-bg: #fff; --st-line: var(--line); --st-radius: 16px; max-width: 1200px; margin: 0 auto; }

/* Press feedback: cards dip, then answer with a blue ring */
[data-pop] { cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .3s var(--ease), box-shadow .3s, border-color .2s; }
:root [data-pop].pressed.pressed { transform: scale(.975); transition-duration: .12s; }
[data-pop].pop { animation: pop4 .5s var(--ease); }
@keyframes pop4 { 0% { box-shadow: 0 0 0 0 rgba(36, 71, 200, .35); } 40% { transform: scale(1.015); } 100% { box-shadow: 0 0 0 14px rgba(36, 71, 200, 0); transform: none; } }
.steps li[data-pop].pop span { animation: spin4 .5s var(--ease); }
@keyframes spin4 { 50% { transform: rotate(-8deg) scale(1.12); } }

/* ---------- Phones: tighter, more organised layout ---------- */
@media (max-width: 640px) {
  .hero-panel { gap: 28px; padding: 30px 20px 20px; border-radius: 26px; }
  .hero h1 { font-size: 40px; }
  .hero-actions { flex-direction: column; gap: 10px; margin-top: 24px; }
  .hero-actions .btn { width: 100%; }
  .hero-media { aspect-ratio: 4 / 3; border-radius: 18px; }
  .hero-tag { left: 10px; bottom: 10px; padding: 8px 12px 8px 8px; }
  .trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; padding: 20px 4px 0; font-size: 14px; justify-content: stretch; }
  .trust li { align-items: flex-start; }
  .trust .ic { margin-top: 2px; }
  .stores { padding-top: 40px; }
  .section { padding: 60px 0; }
  .head { margin-bottom: 26px; }
  .cards, .steps { gap: 10px; }
  .card { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 16px; padding: 18px; border-radius: 18px; }
  .c-ic { grid-row: span 3; width: 46px; height: 46px; margin: 0; }
  .card h3 { font-size: 18px; margin-bottom: 4px; }
  .card p { font-size: 15px; }
  .card .more { padding-top: 10px; }
  .steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; padding: 16px 18px; border-radius: 18px; }
  .steps span { grid-row: span 2; width: 40px; height: 40px; margin: 0; border-radius: 11px; }
  .steps h3 { font-size: 17px; margin: 0 0 2px; }
  .steps p { font-size: 15px; }
  .rates { gap: 28px; }
  .calc-total b { font-size: 24px; }
  .cta { padding: 48px 0; }
  .cta-in { padding: 30px 22px; border-radius: 24px; }
  .cta-in .btn { width: 100%; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; padding-top: 44px; padding-bottom: 28px; }
  .foot-grid > div:first-child, .foot-grid > div:last-child { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column; gap: 4px; }
}
@media (max-width: 374px) { .header-in { gap: 12px; } .header-cta .btn-blue { display: none; } }
