/* EasyPay Websites */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/inter-regular.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fonts/inter-medium.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("../fonts/inter-semibold.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("../fonts/inter-bold.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 800; font-display: swap; src: url("../fonts/inter-extrabold.woff") format("woff"); }
/* Add this file to use Bricolage Grotesque for headings. Until then, headings use Inter ExtraBold. */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url("../fonts/bricolage-grotesque-extrabold.woff2") format("woff2"); }

:root {
    --primary: #4B2FE0;
    --primary-dark: #2E1A9E;
    --navy: #16133A;
    --navy-2: #24205A;
    --cream: #FFFBF5;
    --yellow: #FFE27A;
    --coral: #FF6B4A;
    --mint: #2BD9A0;
    --lilac: #F3F0FF;
    --muted: #4A4766;
    --border: #ECE8F7;
    --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
    --body: "Inter", system-ui, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--cream); color: var(--navy); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.03em; }
h2 { font-size: clamp(36px, 4vw, 52px); }
h3 { font-size: 24px; line-height: 1.2; }
p { margin: 0; }
a { color: var(--primary); }
a:hover { color: var(--primary-dark); }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid rgba(75, 47, 224, 0.45); outline-offset: 3px; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #FFFFFF; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip-link:focus { left: 8px; }

.container { max-width: 1304px; margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: 944px; }
.container--legal { max-width: 884px; }
.section { padding-block: 96px; }
.section--tight { padding-top: 0; }
.band { padding-block: 96px; }
.band--navy { background: var(--navy); color: #FFFFFF; }
.band--navy .lead { color: #C9C6E8; }
.band--yellow { background: var(--yellow); }
.band--yellow .lead { color: #3A3550; }

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

.section-head--center { text-align: center; max-width: 680px; margin: 0 auto; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-green { color: #0B6B4C; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.5; }
.large { font-size: 18px; line-height: 1.65; }
.lead { font-size: 19px; line-height: 1.55; color: var(--muted); margin-top: 16px; }
.h1-sm { font-size: clamp(40px, 5vw, 60px); }
.h2-sm { font-size: clamp(30px, 3.4vw, 44px); }
.h3-sm { font-size: 20px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #6B6890; margin-bottom: 6px; }
h2 + .lead { margin-bottom: 48px; }

/* ---------- Badges and notes ---------- */
.badge { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.2; padding: 8px 14px; border-radius: 999px; }
.badge--yellow { background: var(--yellow); color: var(--navy); }
.badge--mint { background: #E6FBF3; color: #0B6B4C; }
.badge--coral { background: #FFF1EC; color: #A63A1E; }
.badge--lilac { background: var(--lilac); color: var(--primary); }
.note { background: #E6FBF3; color: #0B4A35; border-radius: 16px; padding: 16px 20px; font-size: 15px; line-height: 1.5; }

/* ---------- Buttons ---------- */
.buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-block; background: var(--navy); color: #FFFFFF; border: 2px solid transparent; font: inherit; font-weight: 600; font-size: 17px; line-height: 1.3; text-align: center; text-decoration: none; padding: 16px 26px; border-radius: 14px; cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease; }
.btn:hover { background: var(--primary); color: #FFFFFF; }
.btn--primary { background: var(--primary); }
.btn--primary:hover { background: var(--navy); }
.btn--outline { background: #FFFFFF; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #FFFFFF; }
.btn--white { background: #FFFFFF; color: var(--navy); }
.btn--white:hover { background: var(--yellow); color: var(--navy); }
.btn--mint { background: var(--mint); color: var(--navy); }
.btn--mint:hover { background: #FFFFFF; color: var(--navy); }
.btn--block { display: block; width: 100%; }
.btn--lg { font-size: 18px; padding: 18px 28px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 251, 245, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.01em; white-space: nowrap; }
.logo:hover { color: var(--navy); }
.logo__accent { color: var(--primary); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; font-size: 15px; font-weight: 500; }
.site-nav a { color: var(--navy); text-decoration: none; }
.site-nav a:hover { color: var(--primary); }
.site-nav .site-nav__cta { background: var(--navy); color: #FFFFFF; padding: 12px 20px; border-radius: 999px; font-weight: 600; }
.site-nav .site-nav__cta:hover { background: var(--primary); color: #FFFFFF; }
.nav-toggle { display: none; width: 48px; height: 48px; padding: 0; border-radius: 12px; border: 2px solid var(--navy); background: #FFFFFF; color: var(--navy); align-items: center; justify-content: center; cursor: pointer; }

@media (max-width: 1024px) {
    .nav-toggle { display: flex; }
    .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 4px; }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 14px 4px; font-size: 17px; }
    .site-nav .site-nav__cta { margin-top: 8px; text-align: center; }
}

/* ---------- Hero ---------- */
.hero { padding-block: 56px 88px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { margin-block: 24px; }
.hero .lead { margin: 0 0 36px; max-width: 560px; font-size: 20px; }
.hero-card-wrap { position: relative; padding: 20px; }
.blob { position: absolute; border-radius: 32px; }
.blob--coral { top: 0; right: 0; width: 70%; height: 70%; background: var(--coral); }
.blob--mint { bottom: 0; left: 0; width: 55%; height: 55%; background: var(--mint); }
.hero-card { position: relative; background: #FFFFFF; border-radius: 24px; padding: 32px; box-shadow: 0 24px 60px rgba(22, 19, 58, 0.18); }
.hero-card__price { margin-top: 4px; color: var(--muted); font-size: 18px; }
.hero-card__price strong { font-family: var(--display); font-size: 64px; font-weight: 800; color: var(--navy); }
.hero-card__sub { color: var(--muted); font-size: 15px; margin: 4px 0 24px; }
.hero-card__row { display: flex; justify-content: space-between; padding: 14px 16px; border-radius: 12px; font-size: 15px; margin-top: 12px; }
.tint-lilac { background: var(--lilac); }
.tint-mint { background: #E6FBF3; }
.tint-coral { background: #FFF1EC; }

/* ---------- How it works ---------- */
.step { background: var(--navy-2); border-radius: 24px; padding: 32px; }
.step h3 { margin: 24px 0 10px; }
.step p { color: #C9C6E8; }
.step__num { display: flex; width: 52px; height: 52px; border-radius: 16px; align-items: center; justify-content: center; color: var(--navy); font-family: var(--display); font-weight: 800; font-size: 24px; }
.step__num--yellow { background: var(--yellow); }
.step__num--coral { background: var(--coral); }
.step__num--mint { background: var(--mint); }

/* ---------- Examples ---------- */
.example { margin: 0; }
.example figcaption { padding: 18px 4px 0; }
.example figcaption strong { display: block; font-size: 19px; }
.example figcaption span { color: var(--muted); }
.mock { border-radius: 24px; padding: 28px 28px 0; overflow: hidden; }
.mock__browser { background: #FFFFFF; border-radius: 14px 14px 0 0; box-shadow: 0 12px 30px rgba(22, 19, 58, 0.15); }
.mock__bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.mock__bar span { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.mock__bar span:nth-child(2) { background: var(--yellow); }
.mock__bar span:nth-child(3) { background: var(--mint); }
.mock__body { padding: 22px; height: 190px; display: flex; flex-direction: column; gap: 10px; }
.mock__body i { display: block; border-radius: 6px; }
.mock__body--split { flex-direction: row; gap: 14px; }
.mock__body--split > div:first-child { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.mock__img { flex: 1; border-radius: 12px; }
.mock__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; flex: 1; }
.mock__grid b { background: #EDE7FB; border-radius: 10px; }

/* ---------- Plans ---------- */
.plans { margin-top: 56px; align-items: stretch; }
.plan { background: #FFFFFF; border: 2px solid var(--border); border-radius: 28px; padding: 36px; display: flex; flex-direction: column; }
.plan h3 { margin: 18px 0 6px; font-size: 26px; }
.price { margin-top: 20px; color: var(--muted); }
.price strong { font-family: var(--display); font-size: 52px; font-weight: 800; color: var(--navy); }
.price--sm { margin-top: 12px; }
.price--sm strong { font-size: 40px; }
.price-text { font-family: var(--display); font-weight: 800; font-size: 24px; margin: 8px 0; }
.plan .small { margin-top: 4px; }
.plan .checks { margin: 24px 0 32px; flex-grow: 1; }
.plan--featured { background: var(--primary); border-color: var(--primary); color: #FFFFFF; box-shadow: 0 24px 50px rgba(75, 47, 224, 0.3); }
.plan--featured h3, .plan--featured .price strong { color: #FFFFFF; }
.plan--featured .muted, .plan--featured .price { color: #E4DEFF; }
.plan--featured .checks li::before { color: var(--yellow); }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; line-height: 1.5; }
.checks li { position: relative; padding-left: 26px; }
.checks li::before { content: "\2713"; position: absolute; left: 0; font-weight: 700; color: var(--primary); }
.checks--mint li::before { color: var(--mint); }
.bespoke { margin-top: 24px; background: var(--navy); color: #FFFFFF; border-radius: 28px; padding: 40px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 32px 48px; align-items: center; }
.bespoke h3 { font-size: 32px; margin: 18px 0 8px; }
.on-dark { color: #C9C6E8; font-size: 17px; line-height: 1.5; }
.plans__note { margin-top: 28px; }

/* ---------- Rent and after 12 months ---------- */
.rent { border: 2px dashed #CFC8EE; border-radius: 36px; padding: 48px; }
.rent__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: 32px; }
.rent__head > div { flex: 1 1 420px; }
.rent__head h2 { margin: 14px 0 10px; }
.rent__head .note { flex: 0 1 340px; }
.rent-card { background: #FFFFFF; border: 2px solid var(--border); border-radius: 22px; padding: 26px; }
.rent-card h3 { font-size: 20px; }
.rent-card .price { margin-bottom: 8px; }
.rent__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.rent__foot p { flex: 1 1 420px; }
.after { background: var(--lilac); border-radius: 36px; padding: 56px 48px; }
.after .lead { margin-bottom: 40px; max-width: 680px; }
.timeline { display: flex; flex-wrap: wrap; align-items: stretch; gap: 16px; margin-bottom: 32px; }
.timeline .white-card { flex: 1 1 260px; }
.timeline__arrow { align-self: center; flex: 0 0 auto; }
.white-card { background: #FFFFFF; border-radius: 20px; padding: 24px 28px; }
.white-card h3 { font-size: 22px; }
.white-card h3 + p.muted { margin-top: 8px; }
.white-card--outlined { border: 2px solid var(--primary); }

/* ---------- Included ---------- */
.included { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 56px; align-items: start; }
.included .lead { margin-bottom: 0; }
.included__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.included__grid h3 { font-size: 19px; margin-bottom: 6px; }

/* ---------- Compare ---------- */
.compare { margin-top: 40px; overflow-x: auto; border: 2px solid var(--border); border-radius: 24px; background: #FFFFFF; }
.compare table { width: 100%; min-width: 940px; border-collapse: collapse; font-size: 16px; text-align: left; }
.compare th, .compare td { padding: 18px 24px; vertical-align: top; }
.compare thead th { font-family: var(--display); font-size: 20px; padding-block: 22px; }
.compare tbody tr { border-top: 1px solid var(--border); }
.compare tbody th { font-weight: 600; width: 24%; }
.compare tbody td { color: var(--muted); }
.compare thead .compare__us { background: var(--primary); color: #FFFFFF; }
.compare tbody .compare__us { background: var(--lilac); color: var(--navy); font-weight: 700; }

/* ---------- About ---------- */
.about { background: var(--navy); color: #FFFFFF; border-radius: 36px; padding: 56px 48px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.about h2 { margin: 18px 0 20px; }
.about .large { color: #DCD9F2; margin-bottom: 16px; }
.about .btn { margin-top: 12px; }
.about__people { display: flex; flex-direction: column; gap: 16px; }
.person { background: var(--navy-2); border-radius: 24px; padding: 28px; display: flex; gap: 20px; align-items: flex-start; }
.person h3 { font-size: 22px; }
.person p { color: #C9C6E8; line-height: 1.6; }
.person__initial { flex: 0 0 56px; height: 56px; border-radius: 18px; display: flex; align-items: center; justify-content: center; color: var(--navy); font-family: var(--display); font-weight: 800; font-size: 26px; }
.person .person__role { color: var(--yellow); font-weight: 600; font-size: 15px; margin: 2px 0 10px; }

/* ---------- FAQs ---------- */
.faq-group { color: var(--primary); font-size: 22px; margin: 40px 0 14px; }
.faq { background: #FFFFFF; border: 2px solid var(--border); border-radius: 18px; padding: 22px 26px; margin-top: 14px; }
.faq summary { font-weight: 600; font-size: 18px; cursor: pointer; }
.faq p { color: var(--muted); margin-top: 14px; line-height: 1.6; }

/* ---------- Call to action ---------- */
.cta { background: var(--coral); border-radius: 36px; padding: 64px 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta > div { flex: 999 1 480px; }
.cta h2 { margin-bottom: 12px; }
.cta p { color: #2A1712; }
.cta p a { color: var(--navy); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 32px; font-size: 14px; color: #5A5775; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: #5A5775; }

/* ---------- Quote page ---------- */
.quote { padding-block: 32px 96px; }
.quote__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 48px; align-items: start; }
.quote__aside { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.quote__aside .lead { margin: 0; }
.dark-card { background: var(--navy); color: #FFFFFF; border-radius: 24px; padding: 28px; width: 100%; }
.dark-card h2 { margin-bottom: 18px; }
.steps-list { list-style: none; padding: 0; margin: 0; counter-reset: step; display: flex; flex-direction: column; gap: 16px; color: #C9C6E8; }
.steps-list li { counter-increment: step; position: relative; padding-left: 46px; min-height: 32px; line-height: 1.5; }
.steps-list li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 10px; background: var(--yellow); color: var(--navy); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.steps-list li:nth-child(2)::before { background: var(--coral); }
.steps-list li:nth-child(3)::before { background: var(--mint); }
.form-card { background: #FFFFFF; border: 2px solid var(--border); border-radius: 28px; padding: 40px; }
.form-card form { display: flex; flex-direction: column; gap: 24px; }
.req { color: #C2361A; font-weight: 700; }
.form-errors { background: #FFF1EC; color: #8A2A12; border-radius: 14px; padding: 14px 18px; }
.plan-picker { border: 0; padding: 0; margin: 0; }
.plan-picker legend { font-weight: 700; font-size: 18px; margin-bottom: 12px; padding: 0; }
.plan-picker__options { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.plan-option { position: relative; display: block; padding: 16px; border: 2px solid #DCD7EE; border-radius: 14px; cursor: pointer; background: #FFFFFF; }
.plan-option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.plan-option__name { display: block; font-weight: 700; }
.plan-option__price { display: block; font-size: 14px; margin-top: 4px; opacity: 0.8; }
.plan-option:has(input:checked) { background: var(--primary); border-color: var(--primary); color: #FFFFFF; }
.plan-option:has(input:focus-visible) { outline: 3px solid rgba(75, 47, 224, 0.45); outline-offset: 3px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 16px; border: 2px solid #DCD7EE; border-radius: 12px; font: inherit; background: #FFFFFF; color: var(--navy); }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid rgba(75, 47, 224, 0.25); border-color: var(--primary); }
.field--invalid input, .field--invalid textarea, .field--invalid select { border-color: #C2361A; }
.field-error { color: #B3301A; font-size: 14px; font-weight: 600; margin-top: -2px; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); line-height: 1.5; }
.checkbox input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--primary); flex: 0 0 auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.thanks { text-align: center; padding: 48px 8px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.thanks__icon { width: 72px; height: 72px; border-radius: 24px; background: var(--mint); display: flex; align-items: center; justify-content: center; }
.thanks .btn { margin-top: 12px; }

/* ---------- Legal pages ---------- */
.legal { padding-block: 48px 96px; }
.legal .h1-sm { margin: 20px 0 24px; }
.legal h2 { font-size: 26px; margin: 40px 0 12px; }
.legal p, .legal li { line-height: 1.7; color: #2E2B4A; }
.legal p + p { margin-top: 16px; }
.legal .lead { margin-bottom: 24px; }
.legal ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; margin: 12px 0 0; }
.summary { background: var(--lilac); border-radius: 20px; padding: 24px 28px; margin-top: 24px; }
.summary h2 { font-size: 20px; margin: 0 0 8px; }

/* ---------- Small screens ---------- */
@media (max-width: 960px) {
    .hero__grid, .included, .about, .quote__grid { grid-template-columns: minmax(0, 1fr); }
    .bespoke { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 781px) {
    .container { padding: 0 20px; }
    .section, .band { padding-block: 64px; }
    .grid--3, .included__grid, .field-grid { grid-template-columns: minmax(0, 1fr); }
    .rent, .after, .about, .cta, .bespoke { padding: 32px 24px; border-radius: 28px; }
    .plan, .form-card { padding: 28px; }
    .timeline__arrow { transform: rotate(90deg); margin: 0 auto; }
    .person { flex-direction: column; }
}

/* Keep badges to their own width inside flex columns */
.plan .badge, .quote__aside .badge { align-self: flex-start; }
