/* FeeCollec marketing refresh. Kept separate from the product/onboarding styles. */
:root {
    --gray-400: #62748a;
    --gray-500: #53667b;
    --radius: 20px;
    --radius-sm: 10px;
    --max-w: 1240px;
    --paper: #f5f8f5;
    --ink: #152c35;
}
button, input, select, textarea { font-family: inherit; }
h1, h2, h3 { letter-spacing: -0.035em; text-wrap: balance; }
a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 4px;
}
.section { padding: 5rem 0; scroll-margin-top: 88px; }
.section-alt { background: var(--paper); }
.section-header { margin-bottom: 2.5rem; }
.section-header::before, .card::before { display: none; }
.section-eyebrow {
    padding: 0; border: 0; background: none; color: #087b70;
    border-radius: 0; font-size: 0.75rem; letter-spacing: 0.14em;
}
.section-header h2, .signup-pitch h2 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); line-height: 1.15; }
.card { border-color: #dce5e4; border-radius: var(--radius); box-shadow: none; }
.card:hover { transform: none; box-shadow: none; border-color: #c0d3ce; }
.btn { border-radius: 10px; min-height: 44px; box-shadow: none; }
.btn-primary { background: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); box-shadow: none; }
.navbar { background: rgba(255,255,255,.97); }
.navbar::after { background: #e2e9e6; height: 1px; }
.navbar .nav-links { gap: 1.5rem; }
.nav-links a { white-space: nowrap; }
.navbar .btn { border-radius: 10px; }
.nav-logo img { height: 36px; width: auto; }

/* Original, decorative SVG: no external image service or blocking font requests. */
.marketing-home .hero {
    background: #eff7f1 url('../img/fee-flow-background.svg') center / cover no-repeat;
    padding: 5rem 0; text-align: left; overflow: hidden;
}
.hero-layout { display: grid; gap: 3.5rem; align-items: center; }
.hero-copy { min-width: 0; }
.marketing-home .hero-eyebrow {
    color: #247263; text-shadow: none; letter-spacing: 0.12em;
    font-size: 0.75rem; margin-bottom: 1.25rem;
}
.marketing-home .hero h1 {
    color: var(--ink); font-size: clamp(2.5rem, 4.1vw, 3.6rem);
    line-height: 1.08; letter-spacing: -0.05em; margin: 0 0 1.35rem;
    max-width: 620px; text-wrap: initial;
}
.marketing-home .hero h1 span { color: #087b70; }
.marketing-home .hero .hero-sub {
    color: #435c64; text-shadow: none; font-size: 1.125rem;
    line-height: 1.65; max-width: 480px; margin: 0 0 1.5rem;
    text-wrap: pretty;
}
.marketing-home .hero-cta { justify-content: flex-start; align-items: center; margin-bottom: 1.5rem; gap: 0.5rem 1.25rem; }
.hero-secondary { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-size: 0.9rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.hero-secondary:hover { color: #087b70; }
.marketing-home .hero .btn-primary { box-shadow: 0 6px 16px #2b3fab20; border: 0; }
.marketing-home .hero .btn-outline {
    background: transparent; border: 0; padding: 0.65rem 0;
    color: var(--ink); box-shadow: none; text-decoration: underline; text-underline-offset: 5px;
}
.marketing-home .hero-steps { justify-content: flex-start; margin: 0 0 1rem; gap: 0.5rem; }
.marketing-home .hero-steps li { color: #35565a; text-shadow: none; font-size: 0.875rem; }
.marketing-home .step-num { width: 24px; height: 24px; background: #dcece6; color: #256658; box-shadow: none; font-size: 0.75rem; }
.marketing-home .hero-steps .step-arrow { color: #6a8587; font-size: 1rem; }
.marketing-home .hero .hero-note { color: #536b70; text-shadow: none; font-size: 0.8rem; margin: 0; padding: 0; text-wrap: pretty; }
.marketing-home .hero .hero-note strong { color: var(--ink); }
.marketing-home .hero-visual { width: 100%; min-width: 0; max-width: 600px; margin: 0 auto; }
.marketing-home .hero-demo { animation: none; box-shadow: 0 24px 64px -20px #173c3a45; border-radius: 18px; }
.marketing-home .demo-window { border-radius: 18px; border: 1px solid #cbded8; box-shadow: none; }
.marketing-home .demo-titlebar { padding: 0.85rem 1rem; background: #f9fbfa; }
.marketing-home .demo-body { padding: 1.25rem; gap: 0.85rem; }
.marketing-home .demo-row { padding: 0.85rem; }
.duitnow-mock { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.35rem 0.6rem; margin-top: 0.65rem; padding: 0.55rem 0.65rem; border: 1px dashed #b9d6c9; border-radius: 10px; background: #fff; color: #35594d; font-size: 0.7rem; }
.duitnow-mock span:last-child { display: inline-flex; align-items: center; gap: 0.25rem; color: #087b70; font-weight: 600; }
.duitnow-mock .icon { width: 12px; height: 12px; }
.marketing-home .demo-chat-label {
    color: #536b70; font-size: 0.65rem; font-weight: 600;
    letter-spacing: 0.09em; text-transform: uppercase;
}
.marketing-home .demo-bubble { max-width: 95%; box-shadow: none; background: #e6f4ed; }
.marketing-home .demo-paid { animation: none; font-size: 0.8rem; }
.marketing-home .hero-badge { animation: none; border-radius: 12px; box-shadow: 0 8px 24px #152c3512; border: 1px solid #dce5e4; }
.marketing-home .hero-badge-paid { top: -20px; right: 20px; }
.demo-caption { display: block; margin-top: 1rem; color: #536b70; font-size: 0.75rem; text-align: center; }

/* Integration names are compatibility labels, not customer endorsements. */
.trust-strip { padding: 1.5rem 0; background: #fff; border-bottom: 1px solid #e2e9e6; }
.trust-strip .container { gap: 1.5rem; }
.trust-strip-label { color: var(--gray-500); }
.trust-logos { gap: 1.5rem; align-items: center; }
.trust-logos span { background: none; border: 0; padding: 0; font-size: 1rem; color: #405c64; }

/* Short pitch, one reassurance block, then the form. */
.signup-section { background: #fff; }
.signup-grid { grid-template-columns: minmax(0, 1fr); max-width: 1060px; margin: auto; gap: 3rem; }
.signup-pitch p { line-height: 1.7; }
.signup-points li { font-size: 0.95rem; }
.signup-gateway { border: 0; border-left: 2px solid var(--teal); border-radius: 0; background: #f5f8f5; padding: 1rem; }
.signup-card { max-width: 460px; }
.signup-card > .card { padding: 2rem; background: #f9fbf9; box-shadow: 0 16px 40px -24px #173c3a45; }
.signup-card .btn { min-height: 48px; }
.signup-tabs { background: #e9efeb; }
.signup-reassure { font-size: 0.75rem; }
.signup-terms a { color: #53667b !important; }
.template-hint { font-size: 0.8rem; }
.cost-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 0.5rem; color: var(--blue); font-size: 0.875rem; text-decoration: underline; text-underline-offset: 3px; }

/* Tuition fit: an editorial introduction and an aligned, two-column comparison. */
.tuition-layout { display: grid; gap: 2.5rem; align-items: center; }
.tuition-intro { max-width: 480px; }
.tuition-intro .section-eyebrow { color: #087b70; }
.tuition-intro h2 { color: var(--ink); font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.12; margin-bottom: 1.25rem; }
.tuition-intro h2 span { color: #087b70; }
.tuition-intro > p { color: var(--gray-500); line-height: 1.75; margin-bottom: 1.25rem; }
.tuition-fee-types { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0 0 2rem; }
.tuition-fee-types li { background: #e2f1e9; border-radius: 6px; padding: 0.35rem 0.6rem; color: #2a6254; font-size: 0.75rem; }
.tuition-intro .btn { gap: 1.5rem; padding: 0.8rem 1.25rem; }
.tuition-comparison { min-width: 0; overflow: hidden; border: 1px solid #dce5e4; border-radius: 20px; background: var(--white); }
.tuition-comparison table { border-collapse: collapse; width: 100%; table-layout: fixed; text-align: left; }
.tuition-comparison caption { text-align: left; padding: 1.5rem; color: var(--ink); font-weight: 600; font-size: 1.125rem; letter-spacing: -0.025em; }
.tuition-comparison th { padding: 1rem 1.5rem; font-size: 0.8rem; font-weight: 600; color: var(--gray-500); background: #f8faf8; border-top: 1px solid #dce5e4; }
.tuition-comparison th:first-child { width: 43%; }
.tuition-comparison th:last-child { background: #e2f1e9; color: #087b70; }
.tuition-comparison td { padding: 1.25rem 1.5rem; border-top: 1px solid #dce5e4; vertical-align: top; color: var(--gray-500); font-size: 0.875rem; line-height: 1.6; }
.tuition-comparison td:last-child { background: #f2f8f4; border-left: 1px solid #dce5e4; }
.tuition-task { display: block; font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.6rem; }
.tuition-comparison .icon { display: block; width: 20px; height: 20px; margin-bottom: 0.6rem; color: #087b70; }
.tuition-comparison strong { display: block; color: var(--ink); font-size: 0.95rem; line-height: 1.4; margin-bottom: 0.25rem; }
.tuition-comparison p { font-size: 0.875rem; line-height: 1.6; margin: 0; }
.tuition-fit { border-top: 1px solid #d4dfd8; margin-top: 3rem; padding-top: 1.5rem; }
.tuition-fit > p { color: var(--ink); font-size: 0.8rem; font-weight: 600; margin: 0 0 0.75rem; }
.tuition-fit ul { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; list-style: none; margin: 0; }
.tuition-fit li { display: inline-flex; align-items: baseline; gap: 0.5rem; color: var(--gray-500); font-size: 0.8rem; }
.tuition-fit li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #087b70; flex-shrink: 0; align-self: center; }
.tuition-fit > p.tuition-also { margin: 0.85rem 0 0; color: var(--gray-500); font-size: 0.8rem; }
@media (min-width: 1000px) {
    .tuition-layout { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; }
}
@media (max-width: 767px) {
    .tuition-layout { gap: 2rem; }
    .tuition-intro h2 { font-size: 2rem; margin-bottom: 1rem; }
    .tuition-fee-types { margin-bottom: 1.5rem; }
    .tuition-comparison caption { padding: 1.25rem 1rem; font-size: 1rem; }
    .tuition-comparison th { padding: 0.85rem 0.75rem; font-size: 0.75rem; }
    .tuition-comparison th:first-child { width: 45%; }
    .tuition-comparison td { padding: 1rem 0.75rem; font-size: 0.8rem; }
    .tuition-comparison strong { font-size: 0.85rem; }
    .tuition-comparison p { font-size: 0.8rem; }
    .tuition-comparison .icon { display: none; }
    .tuition-fit { margin-top: 2rem; }
}

/* Features bento: every tile shows a slice of the product, not an icon. */
.marketing-home .features-bento { display: grid; grid-template-columns: 1fr; gap: 1rem; align-items: stretch; }
.marketing-home .features-bento .feature-card {
    display: flex; flex-direction: column; align-items: stretch;
    gap: 1.25rem; padding: 1.5rem; overflow: hidden; background: #fff;
}
.marketing-home .features-bento .feature-body { flex: 0 0 auto; margin-top: auto; }
.marketing-home .features-bento .feature-body h3 { font-size: 1.05rem; line-height: 1.35; letter-spacing: -0.025em; margin-bottom: 0.35rem; }
.marketing-home .features-bento .feature-body p { font-size: 0.875rem; line-height: 1.6; }
.marketing-home .features-bento .feature-visual {
    display: flex; flex: 1 1 auto; flex-direction: column; justify-content: center;
    min-height: 132px;
}

/* Anchor tile: the live fee run, on ink. */
.marketing-home .features-bento .feature-hero {
    background: var(--ink); border-color: var(--ink);
    justify-content: center; gap: 1.5rem; padding: 1.75rem;
}
.marketing-home .features-bento .feature-hero .feature-body { margin-top: 0; }
.marketing-home .features-bento .feature-hero .feature-body h3 { max-width: 30ch; color: #fff; font-size: 1.6rem; }
.marketing-home .features-bento .feature-hero .feature-body p { max-width: 50ch; color: #c0d8d5; font-size: 0.9rem; }
.marketing-home .features-bento .feature-hero .feature-body .feature-note { font-size: 0.8rem; margin: 0.75rem 0 0; }
.marketing-home .features-bento .feature-mini {
    width: 100%; max-width: none; margin: 0; padding: 1.25rem;
    border-color: #496269; background: #203e47;
}
.marketing-home .mini-head, .marketing-home .mini-head strong, .marketing-home .mini-legend { color: #e2efec; }
.marketing-home .mini-bar { background: #496269; height: 8px; }
.marketing-home .mini-bar-fill { background: #7ddcc1; }

/* WhatsApp: the message a parent actually receives. */
.wa-chat { background: #eaf6ef; border: 1px solid #d3e8da; border-radius: 12px; padding: 0.75rem; }
.wa-chat-head { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.5rem; color: #2a6254; font-size: 0.75rem; font-weight: 600; }
.wa-chat-head .icon { width: 14px; height: 14px; }
.wa-bubble { margin: 0 0 0.4rem; padding: 0.6rem 0.7rem; border-radius: 10px 10px 10px 3px; background: #fff; box-shadow: 0 1px 2px #152c3510; color: #33474e; font-size: 0.78rem; line-height: 1.45; }
.wa-bill { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.5rem 0.6rem; border-radius: 10px 10px 3px 10px; background: #fff; box-shadow: 0 1px 2px #152c3510; }
.wa-amount { color: var(--ink); font-size: 0.9rem; font-weight: 700; }
.wa-pay { padding: 0.3rem 0.55rem; border-radius: 6px; background: #087b70; color: #fff; font-size: 0.7rem; font-weight: 600; white-space: nowrap; }

/* CSV: the list that replaces retyping. */
.csv-mock { padding: 0.7rem 0.75rem; border: 1px solid #dce5e4; border-radius: 12px; background: #fff; }
.csv-file { display: flex; align-items: center; gap: 0.5rem; color: #33474e; font-size: 0.75rem; font-weight: 600; }
.csv-file .icon { width: 16px; height: 16px; color: #087b70; }
.csv-count { margin-left: auto; padding: 0.15rem 0.45rem; border-radius: 999px; background: #eef4f0; color: #53667b; font-size: 0.65rem; font-weight: 600; }
.csv-rows { margin-top: 0.5rem; padding-top: 0.3rem; border-top: 1px dashed #dce5e4; }
.csv-row { display: flex; justify-content: space-between; padding: 0.28rem 0; border-bottom: 1px dashed #e8eeea; color: #53667b; font-size: 0.72rem; }
.csv-row:last-child { padding-bottom: 0; border-bottom: 0; }
.csv-row span:last-child { color: var(--ink); font-weight: 600; }

/* Parent view: a link, an amount, one tap. */
.pay-mock { display: flex; flex-direction: column; gap: 0.6rem; }
.pay-browser { display: flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.6rem; border: 1px solid #dce5e4; border-radius: 999px; background: #eef4f0; }
.pay-dots { display: flex; flex-shrink: 0; gap: 3px; }
.pay-dots i { width: 5px; height: 5px; border-radius: 50%; background: #b3c6bd; }
.pay-url { display: flex; align-items: center; gap: 0.35rem; min-width: 0; overflow: hidden; color: #53667b; font-size: 0.68rem; white-space: nowrap; text-overflow: ellipsis; }
.pay-url .icon { width: 12px; height: 12px; flex-shrink: 0; color: #087b70; }
.pay-card { display: flex; flex-direction: column; gap: 0.35rem; padding: 0.7rem 0.8rem; border: 1px solid #dce5e4; border-radius: 12px; background: #fff; }
.pay-to { color: #53667b; font-size: 0.72rem; }
.pay-amount { color: var(--ink); font-size: 1.15rem; letter-spacing: -0.02em; }
.pay-cta { padding: 0.4rem 0.5rem; border-radius: 8px; background: var(--blue); color: #fff; font-size: 0.72rem; font-weight: 600; text-align: center; }

/* Payment methods: the one accent surface in the grid. */
.marketing-home .features-bento .feature--pay { background: #e9f4ec; border-color: #cfe4d7; }
.pay-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pay-chips span { padding: 0.4rem 0.6rem; border: 1px solid #cfe4d7; border-radius: 8px; background: #fff; color: #2a6254; font-size: 0.7rem; font-weight: 600; }

/* Channels: both options, each batched by preference. */
.channel-mock { display: flex; flex-direction: column; gap: 0.45rem; }
.channel-row { display: flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.7rem; border: 1px solid #dce5e4; border-radius: 10px; background: #fff; color: var(--ink); font-size: 0.78rem; font-weight: 600; }
.channel-row .icon { width: 15px; height: 15px; color: #53667b; }
.channel-row .channel-ok { margin-left: auto; color: #087b70; }

@media (min-width: 768px) {
    .marketing-home .features-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
    .marketing-home .features-bento .feature-hero { grid-column: 1 / -1; }
    .marketing-home .features-bento .feature--channels { flex-direction: row; align-items: center; grid-column: 1 / -1; gap: 2rem; }
    .marketing-home .features-bento .feature--channels .feature-body { flex: 1; margin-top: 0; }
    .marketing-home .features-bento .feature--channels .feature-visual { flex: 0 0 260px; min-height: 0; }
}
@media (min-width: 992px) {
    .marketing-home .features-bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .marketing-home .features-bento .feature-hero { grid-column: span 4; grid-row: span 2; }
    .marketing-home .features-bento .feature--whatsapp,
    .marketing-home .features-bento .feature--csv,
    .marketing-home .features-bento .feature--login,
    .marketing-home .features-bento .feature--pay { grid-column: span 2; }
    .marketing-home .features-bento .feature--channels { flex-direction: column; align-items: stretch; grid-column: span 2; gap: 1.25rem; }
    .marketing-home .features-bento .feature--channels .feature-body { flex: 0 0 auto; margin-top: auto; }
    .marketing-home .features-bento .feature--channels .feature-visual { flex: 1 1 auto; min-height: 132px; }
}
.mini-students { margin-top: 1.1rem; }
.mini-student { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 0; border-top: 1px solid #496269; color: #e2efec; font-size: 0.8rem; }
.mini-student > span:first-child { flex: 1; }
.mini-student .chip { background: #35574f; color: #b4f2d7; }
.mini-student .chip-blue { background: #3a4c68; color: #d7e3ff; }
.mini-student .chip-overdue { background: #61484a; color: #ffe0d9; }
/* The free starting route leads; paid connections are optional, not prerequisites. */
.marketing-home #setup { background: #f0f5f1; }
#setup .section-eyebrow, #setup h2 span { color: #087b70; }
.setup-grid { display: grid; gap: 2rem; max-width: 1100px; margin: auto; align-items: start; }
.setup-first { background: var(--white); border: 1px solid #dce5e4; border-radius: 20px; padding: 2rem; }
.setup-plan { display: inline-block; font-size: 0.7rem; font-weight: 600; line-height: 1.5; background: #e2f1e9; color: #2a6254; padding: 0.25rem 0.5rem; border-radius: 5px; }
.setup-first > .setup-plan { margin-bottom: 0.75rem; }
#setup h3 { color: var(--ink); font-size: 1.35rem; line-height: 1.3; margin: 0 0 1rem; }
.setup-steps { list-style: none; margin: 0; padding: 0; }
.setup-steps li { display: flex; align-items: flex-start; gap: 0.85rem; padding: 0.8rem 0; }
.setup-step-num { display: inline-flex; justify-content: center; align-items: center; width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: var(--blue-50); color: var(--blue); font-size: 0.8rem; font-weight: 600; }
.setup-steps strong { display: block; font-size: 1rem; color: var(--ink); margin-bottom: 0.2rem; }
.setup-steps p, .setup-options p { color: var(--gray-500); font-size: 0.875rem; line-height: 1.6; margin: 0; }
.setup-credits { color: var(--gray-500); font-size: 0.75rem; line-height: 1.6; margin: 1rem 0; padding-top: 1rem; border-top: 1px solid #dce5e4; }
.setup-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 1rem; }
.setup-actions .btn { padding: 0.8rem 1.25rem; }
.setup-help { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 44px; color: var(--blue); font-size: 0.8rem; text-decoration: underline; text-underline-offset: 3px; }
.setup-options { padding: 1.5rem 0; }
.setup-connections { list-style: none; margin: 1rem 0 0; padding: 0; }
.setup-connections > li { display: flex; gap: 1rem; padding: 1rem 0; border-top: 1px solid #d4dfd8; }
.setup-connections > li > .icon { flex-shrink: 0; width: 22px; height: 22px; color: #087b70; margin-top: 0.15rem; }
.setup-connections > li > div { min-width: 0; }
.setup-option-heading { display: flex; align-items: baseline; gap: 0.35rem 0.75rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
.setup-option-heading h4 { color: var(--ink); font-size: 0.95rem; margin: 0; }
.setup-options .setup-plan { background: #e0eae3; color: #35594d; }
@media (min-width: 1000px) {
    .setup-grid { grid-template-columns: 1.15fr 1fr; gap: 3rem; }
}
@media (max-width: 767px) {
    #setup .section-header h2 { font-size: 1.75rem; }
    .setup-grid { gap: 1.5rem; }
    .setup-first { padding: 1.25rem; }
    .setup-steps li { padding: 0.65rem 0; gap: 0.65rem; }
    .setup-steps strong { font-size: 0.9rem; }
    .setup-options { padding: 0; }
    .setup-connections > li { padding: 0.85rem 0; gap: 0.75rem; }
}
.marketing-home .faq { max-width: 800px; }
.marketing-home #faqs { background: #fff; }
.faq-item { border-radius: 12px; overflow: hidden; box-shadow: none; }
.faq-item:hover { box-shadow: none; }
.faq-q { font-family: inherit; padding: 1rem 1.25rem; }
/* Decorative stock classroom, not a customer photo. Unsplash License:
   https://images.unsplash.com/photo-1509062522246-3755977927d7 */
.marketing-home .cta-banner {
    margin: 0 1.25rem 3rem; border-radius: 24px; padding: 4.5rem 1rem;
    background-color: #0d1d2c;
    background-image: linear-gradient(90deg, #0d1d2cf5 0%, #0d1d2ceb 45%, #0d1d2c61 100%), url('../img/tuition-classroom.webp');
    background-position: center, center 30%; background-size: cover;
    text-align: left;
}
.marketing-home .cta-banner h2 { max-width: 650px; font-size: clamp(1.9rem, 3.2vw, 2.75rem); line-height: 1.15; }
.marketing-home .cta-banner p { max-width: 480px; color: #e2ecea; font-size: 1.05rem; line-height: 1.65; }
.marketing-home .cta-banner .cta-reassure { margin: 1rem 0 0; font-size: 0.8rem; }
.wa-float { box-shadow: 0 4px 16px #173c3a20; }

/* A quiet, light footer separates navigation from the dark signup CTA. */
.footer {
    --gray-400: #53667b;
    background: var(--paper); color: var(--gray-500);
    border-top: 1px solid #d4dfd8; padding: 3rem 0 1.5rem;
}
.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; overflow-wrap: normal; }
.footer-grid > div { min-width: 0; }
.footer-brand, .footer-contact { grid-column: 1 / -1; }
.footer-home { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 0.75rem; }
.footer .footer-logo { width: 160px; height: auto; margin: 0; filter: none; }
.footer-brand p { max-width: 380px; line-height: 1.7; }
.footer p, .footer a { color: var(--gray-500); }
.footer .footer-heading { color: var(--ink); font-size: 0.875rem; letter-spacing: 0; line-height: 1.4; margin: 0 0 0.75rem; }
.footer ul { margin: 0; padding: 0; }
.footer ul li { margin: 0; }
.footer ul a { display: flex; align-items: center; min-height: 44px; padding: 0.4rem 0; line-height: 1.5; }
.footer a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.footer a:focus-visible { outline-color: var(--blue); }
.footer-trust { font-size: 0.75rem; margin: 1rem 0; }
.footer-trust .icon, .footer .pay-chip .icon { color: #087b70; }
.footer .pay-chip { color: #35594d; background: #fff; border-color: #d4dfd8; font-size: 0.7rem; padding: 0.3rem 0.6rem; }
.footer-contact { background: #e2f1e9; border: 1px solid #cbded3; border-radius: 16px; padding: 1.25rem; align-self: start; }
.footer-contact li:first-child a { color: var(--blue); font-weight: 600; }
.footer-bottom { flex-direction: row; align-items: center; justify-content: flex-start; gap: 0.25rem 1rem; margin-top: 2rem; padding-top: 1rem; border-color: #d4dfd8; }
.footer-bottom > span { flex-basis: 100%; font-size: 0.75rem; }
.footer-bottom > a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.75rem; }
.footer-lang { flex-basis: 100%; margin: 0.5rem 0 0; gap: 0.25rem; }
.footer-lang .lang-sep { display: none; }
.footer-lang .lang-link { justify-content: center; min-width: 44px; min-height: 44px; padding: 0.5rem; border: 1px solid #d4dfd8; border-radius: 8px; background: #fff; color: var(--gray-500); font-size: 0.75rem; }
.footer-lang .lang-link:hover { border-color: var(--blue); color: var(--blue); }
.footer-lang .lang-link.is-active { color: #fff; background: var(--blue); border-color: var(--blue); }
@media (min-width: 768px) {
    .footer { padding-top: 4rem; }
    .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
    .footer-contact { grid-column: auto; }
    .footer-bottom > span { flex-basis: auto; margin-right: auto; }
    .footer-lang { flex-basis: auto; margin: 0 0 0 0.5rem; }
}
@media (min-width: 1100px) {
    .footer-grid { grid-template-columns: 1.4fr 0.8fr 1fr 1fr; gap: 3rem; }
    .footer-brand { grid-column: auto; }
}

/* Pricing retains the existing monthly/annual calculations and plan data. */
.marketing-pricing > .section { background: linear-gradient(#f0f6f2, #fff 600px); }
.marketing-pricing .pricing-grid { gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 768px) {
    .marketing-pricing .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) and (max-width: 999px) {
    .marketing-pricing .pricing-card:last-child { grid-column: 1 / -1; }
    .marketing-pricing .pricing-card:last-child .pricing-features {
        display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem;
    }
}
@media (min-width: 1000px) {
    .marketing-pricing .pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.marketing-pricing .compare-table td.compare-group {
    position: static; padding: 0.55rem 0.75rem; border-top: 1px solid #dce5e4;
    background: #f5f8f5; box-shadow: none; color: var(--ink);
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.marketing-pricing .compare-shared {
    margin-top: 1.25rem; padding: 1rem 1.25rem; border: 1px solid #dce5e4;
    border-radius: 12px; background: #f5f8f5; color: var(--gray-500);
    font-size: 0.85rem; line-height: 1.65;
}
.marketing-pricing .compare-shared strong { color: var(--ink); }
.marketing-pricing .table-hint { display: none; }
@media (max-width: 767px) {
    .marketing-pricing .table-hint { display: block; margin: 1.5rem 0 -1rem; color: var(--gray-500); font-size: 0.8rem; }
}
@media (max-width: 600px) {
    .marketing-pricing .compare-table { font-size: 0.8rem; table-layout: fixed; }
    .marketing-pricing .compare-table th, .marketing-pricing .compare-table td { padding: 0.6rem 0.55rem; }
    .marketing-pricing .compare-table th:first-child, .marketing-pricing .compare-table td:first-child {
        min-width: 128px; max-width: 128px; font-size: 0.78rem; line-height: 1.35;
    }
    .marketing-pricing .compare-shared { font-size: 0.8rem; padding: 0.9rem 1rem; }
}
.marketing-pricing .trial-banner { margin: 0 0 1.5rem; padding: 1rem 1.25rem; border: 1px solid #cbded3; border-radius: 12px; background: #e2f1e9; color: #35594d; font-size: 0.9rem; line-height: 1.65; }
.marketing-pricing .trial-banner strong { color: var(--ink); }
.marketing-pricing .pricing-card { display: flex; flex-direction: column; background: #fff; padding: 1.5rem; }
.marketing-pricing .pricing-card.featured { transform: none; background: #fff; border: 2px solid #2b3fab; box-shadow: 0 12px 30px #2b3fab10; }
.marketing-pricing .pricing-card.featured:hover { transform: none; border-color: #2b3fab; }
.marketing-pricing .pricing-card > .btn { margin-top: auto; }
.marketing-pricing .pricing-features { margin-bottom: 1.5rem; }
.marketing-pricing .pricing-price { font-size: 2.35rem; }
.marketing-pricing .pricing-price:has(.custom) { white-space: normal; }
.marketing-pricing .pricing-badge { background: var(--blue); box-shadow: none; }
.marketing-pricing .product-pricing { background: var(--paper); border-radius: 20px; padding: 2rem; }
.marketing-pricing .product-pricing .section-header { margin-bottom: 1.5rem; }
.marketing-pricing .product-pricing .section-header p { margin-bottom: 0; }
.marketing-pricing .addon-card { background: #fff; }
.cost-example { margin-top: 2rem; padding: 1.5rem; border: 1px solid #cbded8; border-radius: 20px; background: var(--paper); scroll-margin-top: 100px; }
.cost-example h2 { color: var(--ink); font-size: 1.4rem; margin: 0.5rem 0; }
.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; }
.cost-example p { color: var(--gray-500); font-size: 0.9rem; line-height: 1.65; }
.cost-breakdown { display: grid; gap: 1rem; margin: 1.5rem 0; }
.cost-breakdown > div { padding-left: 1rem; border-left: 2px solid #cbded8; }
.cost-breakdown dt { color: var(--gray-500); font-size: 0.8rem; }
.cost-breakdown dd { margin: 0.25rem 0 0; color: var(--ink); font-size: 1.75rem; font-weight: 700; }
.cost-breakdown > div:last-child { border-color: var(--blue); }
.cost-breakdown > div:last-child dd { color: var(--blue); }
.cost-example .cost-caveat { margin-bottom: 0; font-size: 0.8rem; }
@media (min-width: 768px) {
    .cost-breakdown { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.marketing-pricing .toggle { height: 44px; width: 66px; }
.marketing-pricing .toggle::after { width: 32px; height: 32px; top: 6px; left: 6px; }
.marketing-pricing .toggle.on::after { transform: translateX(22px); }

@media (min-width: 1000px) {
    .hero-layout { grid-template-columns: 1fr 1fr; }
    .signup-grid { grid-template-columns: 1fr 440px; }
}
@media (max-width: 999px) {
    .navbar .nav-toggle { display: flex; }
    .navbar .nav-links { display: none; }
    .navbar .nav-links.open {
        display: flex; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0.5rem;
        background: #fff; padding: 1.25rem; border-bottom: 1px solid #e2e9e6;
        box-shadow: 0 12px 24px #152c3510;
    }
    .navbar .nav-links.open a { display: block; padding: 0.75rem 1rem; }
    .marketing-home .hero { padding: 3rem 0; }
    .hero-layout { gap: 3rem; }
    .hero-copy { max-width: 620px; }
    .marketing-home .hero h1 { font-size: clamp(2.5rem, 6vw, 3.75rem); }
    .marketing-home .hero .hero-sub { max-width: 540px; }
    .marketing-home .hero-badge { display: none; }
    .signup-grid { max-width: 600px; }
}
@media (max-width: 767px) {
    .section { padding: 3.5rem 0; }
    .section-header { margin-bottom: 2rem; }
    .marketing-home .hero { padding: 2.5rem 0; background-position: 60% center; }
    .hero-layout { gap: 2rem; }
    .marketing-home .hero h1 { font-size: 2.25rem; max-width: 420px; margin-bottom: 1rem; }
    .marketing-home .hero-eyebrow { font-size: 0.65rem; margin-bottom: 1rem; }
    .marketing-home .hero .hero-sub { font-size: 1rem; line-height: 1.65; margin-bottom: 1.25rem; }
    .marketing-home .hero-cta { flex-direction: row; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-bottom: 1.25rem; }
    .marketing-home .hero-cta .btn { width: auto; font-size: 0.9rem; }
    .marketing-home .hero-cta .btn-primary { padding: 0.85rem 1rem; }
    .marketing-home .hero-steps { gap: 0.3rem; }
    .marketing-home .hero-steps li { font-size: 0.75rem; gap: 0.3rem; }
    .marketing-home .step-num { width: 20px; height: 20px; font-size: 0.65rem; }
    .marketing-home .hero .hero-note { font-size: 0.75rem; text-align: left; }
    .marketing-home .demo-body { padding: 0.85rem; gap: 0.6rem; }
    .marketing-home .demo-row { padding: 0.65rem; gap: 0.5rem; }
    .marketing-home .demo-row-text strong { font-size: 0.75rem; }
    .marketing-home .demo-row > .icon { width: 18px; height: 18px; }
    .marketing-home .chip { font-size: 0.65rem; padding: 0.2rem 0.45rem; }
.marketing-home .demo-chat-label { font-size: 0.6rem; }
    .marketing-home .demo-bubble { font-size: 0.75rem; padding: 0.65rem 0.75rem; }
    .marketing-home .demo-paid { font-size: 0.7rem; }
    .marketing-home .demo-titlebar { padding: 0.65rem 0.8rem; }
    .trust-strip { padding: 1.25rem 0; }
    .trust-logos { gap: 1.25rem; flex-wrap: wrap; justify-content: center; }
    .trust-logos span { font-size: 0.9rem; }
    .signup-grid { gap: 1.5rem; }
    .signup-card > .card { padding: 1.5rem; }
    .signup-points { margin-bottom: 1rem; }
    .signup-points li { font-size: 0.875rem; align-items: flex-start; }
    .signup-gateway { font-size: 0.8rem; margin-bottom: 0; }
    .marketing-home .features-bento .feature-card { padding: 1.25rem; }
    .marketing-home .features-bento .feature-hero { padding: 1.5rem 1.25rem; }
    .marketing-home .features-bento .feature-hero .feature-body h3 { font-size: 1.2rem; }
    .marketing-home .features-bento .feature-mini { padding: 1rem; }
    .mini-student { gap: 0.5rem; font-size: 0.75rem; }
    .marketing-home .cta-banner {
        margin: 0 0.75rem 2rem; padding: 3rem 0.5rem; border-radius: 20px; text-align: center;
        background-image: linear-gradient(0deg, #0d1d2ceb, #0d1d2cc2), url('../img/tuition-classroom.webp');
        background-position: center, center 30%;
    }
    .marketing-home .cta-banner h2, .marketing-home .cta-banner p { margin-left: auto; margin-right: auto; }
    .marketing-home .cta-banner .cta-reassure { margin: 1rem auto 0; }
    .marketing-pricing .product-pricing { padding: 1.25rem; }
    .marketing-pricing .pricing-card { padding: 1.5rem; }
    body.signup-in-view .mobile-cta { opacity: 0; transform: translateY(120%); pointer-events: none; }
    .marketing-home .wa-float { display: none; }
}
@media (max-width: 360px) {
    .marketing-home .hero h1 { font-size: 2rem; }
    .marketing-home .hero-cta { gap: 0.75rem; }
    .marketing-home .hero-cta .btn { font-size: 0.8rem; }
    .marketing-home .hero-steps { gap: 0.2rem; }
    .marketing-home .hero-steps li { font-size: 0.65rem; gap: 0.2rem; }
    .marketing-home .step-num { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
