/**
 * WindsMind Pro — photography and shapes layer
 * -------------------------------------------
 * Everything visual that used to be an inline SVG icon or an emoji is drawn
 * here with CSS, or replaced by a real photograph. No <svg>, no emoji.
 */

/* ==================================================================
   1. Photo frames
   ================================================================== */

.ph {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 1.5rem;
    background: #e2e8f0;
    isolation: isolate;
}
.dark .ph { background: #1e293b; }

.ph img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.ph--zoom:hover img { transform: scale(1.04); }

/* Aspect ratios, so nothing jumps while photos load */
.ph--wide    { aspect-ratio: 16 / 10; }
.ph--square  { aspect-ratio: 1 / 1; }
.ph--tall    { aspect-ratio: 4 / 5; }
.ph--banner  { aspect-ratio: 21 / 9; }

/* A soft dark wash so white text stays readable on any photograph */
.ph--wash::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 20, 24, 0.86) 0%, rgba(4, 20, 24, 0.45) 42%, rgba(4, 20, 24, 0.05) 100%);
    pointer-events: none;
}

.ph__caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 1.15rem 1.25rem;
    color: #fff;
    z-index: 2;
}
.ph__caption strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.3;
}
.ph__caption span {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
}

/* A small label that sits on top of a photo */
.ph__tag {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 2;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #1d4ed8;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}
.ph__tag--dark { background: rgba(8, 20, 24, 0.82); color: #93c5fd; }

/* ==================================================================
   2. The pointing composition
   The person points upward; the content sits directly above her finger.
   ================================================================== */

.point-stage {
    position: relative;
    display: grid;
    grid-template-rows: auto auto;
    gap: 0;
}

/* The card the finger points at */
.point-note {
    position: relative;
    z-index: 3;
    margin: 0 0 -2.75rem 0;
    margin-left: auto;
    width: min(100%, 23rem);
    padding: 1.1rem 1.25rem 1.25rem;
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 24px 50px -18px rgba(15, 23, 42, 0.3);
}
.dark .point-note { background: #0f172a; border-color: #1e293b; }

.point-note__k {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #2563eb;
}
.dark .point-note__k { color: #60a5fa; }

.point-note__v {
    margin-top: 0.3rem;
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.05;
    color: #0f172a;
}
.dark .point-note__v { color: #fff; }

.point-note__d {
    margin-top: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.5;
    color: #475569;
}
.dark .point-note__d { color: #94a3b8; }

/* The photo of the person doing the pointing */
.point-photo {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #e2e8f0;
}
.point-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
    /* Mirrored so her finger points up and to the right, straight at the card */
    transform: scaleX(-1);
}

/*
 * The dotted trail joining her fingertip to the bottom of the card.
 * In the photograph the fingertip sits at about 28% across and 23% down;
 * mirrored, that is 72% across. The card overlaps the top of the photo by
 * 2.75rem, so the trail fills the gap between the two.
 */
.point-trail {
    position: absolute;
    z-index: 2;
    left: 75%;
    top: 2.75rem;
    width: 2px;
    height: 2rem;
    background-image: linear-gradient(to bottom, #2563eb 55%, transparent 55%);
    background-size: 2px 8px;
    border-radius: 2px;
    opacity: 0.85;
}
.dark .point-trail { background-image: linear-gradient(to bottom, #60a5fa 55%, transparent 55%); }

@media (max-width: 767px) {
    .point-note { margin-left: 0; margin-bottom: -1.75rem; width: 100%; }
    .point-note__v { font-size: 1.35rem; }
    .point-photo { aspect-ratio: 5 / 4; }
    .point-trail { left: 75%; top: 1.75rem; height: 1.5rem; }
}

/* ==================================================================
   3. Photo-led cards (replacing icon-box cards)
   ================================================================== */

.pcard {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1.5rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s, border-color 0.3s;
    height: 100%;
}
.dark .pcard { background: #0f172a; border-color: #1e293b; }

.pcard:hover {
    transform: translateY(-4px);
    border-color: #bfdbfe;
    box-shadow: 0 26px 46px -22px rgba(37, 99, 235, 0.42);
}
.dark .pcard:hover { border-color: #1e40af; }

.pcard__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e2e8f0;
}
.pcard__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.pcard:hover .pcard__media img { transform: scale(1.05); }

.pcard__step {
    position: absolute;
    left: 0.85rem;
    bottom: 0.85rem;
    z-index: 2;
    min-width: 2.1rem;
    height: 2.1rem;
    padding: 0 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.7rem;
    background: #1d4ed8;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 18px -6px rgba(29, 78, 216, 0.65);
}
.pcard__step--deep   { background: #1e40af; box-shadow: 0 8px 18px -6px rgba(30, 64, 175, 0.6); }
.pcard__step--indigo  { background: #4338ca; box-shadow: 0 8px 18px -6px rgba(67, 56, 202, 0.6); }
.pcard__step--emerald { background: #047857; box-shadow: 0 8px 18px -6px rgba(4, 120, 87, 0.6); }

.pcard__body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.pcard__foot {
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid #f1f5f9;
    font-size: 0.7rem;
    font-weight: 800;
    color: #1d4ed8;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}
.dark .pcard__foot { border-top-color: #1e293b; color: #60a5fa; }

/* ==================================================================
   4. CSS-drawn icons — no SVG anywhere
   ================================================================== */

/* Tick */
.i-tick {
    display: inline-block;
    width: 0.95em;
    height: 0.95em;
    position: relative;
    flex: none;
}
.i-tick::after {
    content: '';
    position: absolute;
    left: 28%;
    top: 8%;
    width: 34%;
    height: 68%;
    border: solid currentColor;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
    border-radius: 1px;
}

/* Chevron — rotate the wrapper to point it anywhere */
.i-chev {
    display: inline-block;
    width: 0.7em;
    height: 0.7em;
    position: relative;
    flex: none;
}
.i-chev::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 60%;
    height: 60%;
    border: solid currentColor;
    border-width: 0 2.2px 2.2px 0;
    transform: rotate(45deg) translate(-12%, -12%);
}

/* Arrow pointing right */
.i-arrow {
    display: inline-block;
    position: relative;
    width: 1.05em;
    height: 0.75em;
    flex: none;
}
.i-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transform: translateY(-50%);
    border-radius: 2px;
}
.i-arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 0.42em;
    height: 0.42em;
    border: solid currentColor;
    border-width: 2px 2px 0 0;
    transform: translateY(-50%) rotate(45deg);
}

/* Theme toggle: sun and moon, both drawn with box-shadow */
.i-sun {
    display: inline-block;
    position: relative;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: currentColor;
    box-shadow:
         0 -13px 0 -3.1px currentColor,  0 13px 0 -3.1px currentColor,
       -13px 0 0 -3.1px currentColor,  13px 0 0 -3.1px currentColor,
        -9px -9px 0 -3.4px currentColor,  9px 9px 0 -3.4px currentColor,
        -9px  9px 0 -3.4px currentColor,  9px -9px 0 -3.4px currentColor;
}
.i-moon {
    display: inline-block;
    position: relative;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    box-shadow: inset -4.5px -1.5px 0 0.5px currentColor;
    transform: rotate(-24deg);
}

/* Hamburger and close, for the mobile menu */
.i-burger {
    display: inline-block;
    position: relative;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}
.i-burger::before,
.i-burger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}
.i-burger::before { top: -6px; }
.i-burger::after  { top: 6px; width: 12px; }

.i-close {
    display: inline-block;
    position: relative;
    width: 16px;
    height: 16px;
}
.i-close::before,
.i-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}
.i-close::before { transform: rotate(45deg); }
.i-close::after  { transform: rotate(-45deg); }

/* A plain dot, for list bullets and status lights */
.i-dot {
    display: inline-block;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: currentColor;
    flex: none;
}

/* ==================================================================
   5. App download blocks, built around the real Play Store icons
   ================================================================== */

.appcard {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.dark .appcard { background: #0f172a; border-color: #1e293b; }
.appcard:hover {
    transform: translateY(-2px);
    border-color: #93c5fd;
    box-shadow: 0 18px 34px -20px rgba(37, 99, 235, 0.5);
}

.appcard__icon {
    width: 3.6rem;
    height: 3.6rem;
    flex: none;
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e8f0;
}
.dark .appcard__icon { border-color: #1e293b; }
.appcard__icon img { width: 100%; height: 100%; object-fit: cover; display: block; }

.appcard__text { min-width: 0; }
.appcard__text strong { display: block; font-size: 0.9rem; font-weight: 800; color: #0f172a; }
.dark .appcard__text strong { color: #fff; }
.appcard__text span { display: block; margin-top: 0.1rem; font-size: 0.72rem; font-weight: 600; color: #64748b; }

/* ==================================================================
   6. Photo collage, used behind the hero
   ================================================================== */

.collage {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.75rem;
}
.collage > :nth-child(1) { grid-row: span 2; }

@media (max-width: 640px) {
    .collage { grid-template-columns: 1fr 1fr; gap: 0.55rem; }
    .collage > :nth-child(1) { grid-row: span 2; }
}

/* A stat chip that floats over a photo */
.floatstat {
    position: absolute;
    z-index: 3;
    padding: 0.7rem 0.9rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 18px 38px -16px rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(8px);
}
.dark .floatstat { background: rgba(15, 23, 42, 0.95); border-color: rgba(30, 41, 59, 0.9); }
.floatstat b { display: block; font-size: 1.05rem; font-weight: 900; color: #1d4ed8; line-height: 1; }
.dark .floatstat b { color: #60a5fa; }
.floatstat span { display: block; margin-top: 0.2rem; font-size: 0.63rem; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em; }

@media (max-width: 480px) {
    .floatstat { padding: 0.5rem 0.65rem; }
    .floatstat b { font-size: 0.85rem; }
    .floatstat span { font-size: 0.55rem; }
}

/* ==================================================================
   7. Quote block — no face, because the words are not from a named person
   ================================================================== */

.quoteblock {
    position: relative;
    padding: 1.6rem 1.4rem 1.4rem;
    border-radius: 1.5rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.dark .quoteblock { background: #0f172a; border-color: #1e293b; }

.quoteblock::before {
    content: '\201C';
    position: absolute;
    top: 0.2rem;
    left: 1.1rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.6rem;
    line-height: 1;
    color: #bfdbfe;
}
.dark .quoteblock::before { color: #1e40af; }

.quoteblock__text {
    position: relative;
    font-size: 0.86rem;
    line-height: 1.7;
    font-weight: 500;
    color: #334155;
    margin-top: 1.1rem;
}
.dark .quoteblock__text { color: #cbd5e1; }

.quoteblock__who {
    margin-top: auto;
    padding-top: 1rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
}

/* ==================================================================
   8. Mobile tightening
   ================================================================== */

@media (max-width: 420px) {
    .ph--wide { aspect-ratio: 4 / 3; }
    .pcard__body { padding: 1rem; }
    .ph__caption { padding: 0.9rem 1rem; }
    .ph__caption strong { font-size: 0.85rem; }
}

/* Never let a photo cause sideways scrolling */
img { max-width: 100%; height: auto; }

/* A ring with an upright bar — used for info and warning toasts */
.i-info {
    display: inline-block;
    position: relative;
    width: 1rem;
    height: 1rem;
    border: 2px solid currentColor;
    border-radius: 50%;
    flex: none;
}
.i-info::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 20%;
    width: 2px;
    height: 2px;
    margin-left: -1px;
    background: currentColor;
    border-radius: 50%;
}
.i-info::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 40%;
    width: 2px;
    height: 32%;
    margin-left: -1px;
    background: currentColor;
    border-radius: 1px;
}

/* ==================================================================
   9. Bold layout devices
   Colour-blocked sections, curved dividers, ribbon labels, floating
   callouts, level tiles and stat rings. All CSS — still no SVG.
   ================================================================== */

:root {
    --blk-blue:  #2563eb;
    --blk-navy:  #0b1626;
    --blk-sky:   #eff6ff;
    --blk-deep:  #1d4ed8;
}

/* ---- Full-width colour blocks ---- */
.blk {
    position: relative;
    isolation: isolate;
}
.blk--blue { background: var(--blk-blue); color: #fff; }
.blk--navy { background: var(--blk-navy); color: #fff; }
.blk--sky  { background: var(--blk-sky); }
.dark .blk--sky { background: #0d1a2e; }
.blk--deep { background: var(--blk-deep); color: #fff; }
.blk--deep h2, .blk--deep h3 { color: #fff; }
.blk--deep p { color: rgba(255, 255, 255, 0.85); }

.blk--blue h2, .blk--blue h3, .blk--navy h2, .blk--navy h3 { color: #fff; }
.blk--blue p, .blk--navy p { color: rgba(255, 255, 255, 0.82); }

/* ---- Curved dividers between sections ---- */
/*
 * A curved divider has to be painted in the colour of the section it runs
 * into, so these two tokens follow the theme instead of being fixed white.
 */
:root {
    --arc-white: #ffffff;   /* sections with a white background */
    --arc-soft:  #f8fafc;   /* sections with the pale grey background */
    --arc-sky:   #eff6ff;   /* the pale blue block */
    --arc-deep:  #1d4ed8;   /* the deep blue block */
}
.dark {
    --arc-white: #090d16;
    --arc-soft:  #0e1726;
    --arc-sky:   #0d1a2e;
    --arc-deep:  #1d4ed8;
}

.arc-b::after,
.arc-t::before {
    content: '';
    position: absolute;
    left: -5%;
    width: 110%;
    height: 70px;
    z-index: 1;
    pointer-events: none;
}
.arc-b::after {
    bottom: -1px;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    background: var(--arc-bottom, var(--arc-white));
}
.arc-t::before {
    top: -1px;
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    background: var(--arc-top, var(--arc-white));
}
@media (max-width: 640px) {
    .arc-b::after, .arc-t::before { height: 38px; }
}

/* ---- Ribbon label that sits behind a section heading ---- */
.ribbon {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 2.1rem 0.55rem 1.2rem;
    background: #fff;
    color: #0b1626;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    /* A brush stroke with a torn right edge */
    clip-path: polygon(0 12%, 97% 0, 100% 52%, 95% 100%, 0 92%);
    box-shadow: 0 10px 24px -14px rgba(11, 22, 38, 0.5);
}
.dark .ribbon { background: #152542; color: #fff; }
.blk--deep .ribbon { background: #fff; }

/* On a white or pale section the white ribbon would vanish, so tint it */
.ribbon--tint { background: #dbeafe; color: #1e3a8a; }
.dark .ribbon--tint { background: #1e3a8a; color: #dbeafe; }
.ribbon--deep { background: #bfdbfe; color: #16306b; }
.dark .ribbon--deep { background: #1e40af; color: #ffffff; }

/* ---- Big display numeral, for the hero ---- */
.bignum {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.035em;
    font-size: clamp(2.6rem, 6.4vw, 4.6rem);
}

/* ---- A photo in a circle, sitting on a colour block ---- */
.orb {
    position: relative;
    width: 100%;
    max-width: 23rem;
    margin-inline: auto;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    background: #dbeafe;
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.16), 0 30px 60px -24px rgba(5, 15, 35, 0.6);
}
.orb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.orb--sm { max-width: 15rem; }

/* ---- Floating tilted callout labels ---- */
.fl {
    position: absolute;
    z-index: 4;
    padding: 0.5rem 0.9rem;
    border-radius: 0.8rem;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.25;
    max-width: 10.5rem;
    box-shadow: 0 14px 26px -12px rgba(5, 15, 35, 0.5);
}
.fl--sky   { background: #bfdbfe; color: #10264f; }
.fl--white { background: #fff;    color: #0b1626; }
.fl--navy  { background: #0b1626; color: #fff; }
.fl--blue  { background: #1d4ed8; color: #fff; }

.fl--tl { top: 4%;  left: -4%;  transform: rotate(-6deg); }
.fl--tr { top: 0;   right: -4%; transform: rotate(5deg); }
.fl--bl { bottom: 12%; left: -6%; transform: rotate(4deg); }
.fl--br { bottom: 4%;  right: -5%; transform: rotate(-5deg); }

@media (max-width: 640px) {
    .fl { font-size: 0.64rem; padding: 0.4rem 0.7rem; max-width: 8.5rem; }
    .fl--tl, .fl--bl { left: -2%; }
    .fl--tr, .fl--br { right: -2%; }
}

/* ---- Level tiles ---- */
.tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.9rem 0.5rem;
    min-height: 6.2rem;
    border-radius: 0.9rem;
    border: 2px dashed rgba(11, 22, 38, 0.28);
    text-align: center;
    transition: transform 0.25s, box-shadow 0.25s;
}
.tile:hover { transform: translateY(-3px); box-shadow: 0 16px 28px -16px rgba(5, 15, 35, 0.45); }

.tile__n {
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1;
    color: #0b1626;
}
.tile__l {
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.25;
    color: #1b2a4a;
}
.tile--a { background: #dbeafe; }
.tile--b { background: #bfdbfe; }
.tile--c { background: #93c5fd; }
.tile--d { background: #60a5fa; }

/* ---- Dashed stat rings ---- */
.ring {
    display: grid;
    place-items: center;
    width: 9.5rem;
    height: 9.5rem;
    padding: 1rem;
    border-radius: 50%;
    background: #fff;
    border: 2px dashed rgba(11, 22, 38, 0.35);
    text-align: center;
}
.dark .ring { background: #0f172a; border-color: rgba(255, 255, 255, 0.3); }
.ring b {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
    color: #1d4ed8;
}
.dark .ring b { color: #60a5fa; }
.ring span {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.3;
    color: #334155;
}
.dark .ring span { color: #cbd5e1; }

@media (max-width: 480px) {
    .ring { width: 7.8rem; height: 7.8rem; }
    .ring b { font-size: 1.2rem; }
    .ring span { font-size: 0.6rem; }
}

/* ---- Hand-drawn style accents ---- */
.doodle {
    position: absolute;
    pointer-events: none;
    opacity: 0.45;
    z-index: 0;
}
.doodle--ring {
    width: 5rem;
    height: 5rem;
    border: 3px solid currentColor;
    border-radius: 50%;
    border-right-color: transparent;
    border-bottom-color: transparent;
    transform: rotate(-30deg);
}
.doodle--dots {
    width: 6rem;
    height: 6rem;
    background-image: radial-gradient(currentColor 1.6px, transparent 1.6px);
    background-size: 13px 13px;
}
.doodle--blob {
    width: 9rem;
    height: 9rem;
    border-radius: 48% 52% 60% 40% / 45% 40% 60% 55%;
    background: currentColor;
    opacity: 0.18;
}
@media (max-width: 767px) { .doodle { display: none; } }

/* ---- Button pair, outline next to solid ---- */
.btn-pair { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.btn-ghost-w,
.btn-solid-w {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 1.55rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.22s cubic-bezier(.34, 1.56, .64, 1),
        box-shadow 0.22s ease, background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-solid-w {
    background: #ffffff;
    color: #1d4ed8;
    border: 2px solid #ffffff;
    box-shadow: 0 10px 22px -10px rgba(2, 6, 23, 0.55), 0 2px 6px -2px rgba(2, 6, 23, 0.3);
}
.btn-solid-w:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px -12px rgba(2, 6, 23, 0.6), 0 5px 12px -3px rgba(29, 78, 216, 0.4);
}
.btn-solid-w:active { transform: translateY(-1px); }
.btn-ghost-w {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
}
.btn-ghost-w:hover {
    background: #fff;
    color: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 16px 30px -14px rgba(2, 6, 23, 0.5);
}
.btn-ghost-w:active { transform: translateY(-1px); }
.btn-solid-w:focus-visible,
.btn-ghost-w:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.85);
    outline-offset: 3px;
}
/* arrow glides forward on hover */
.btn-solid-w .i-arrow,
.btn-ghost-w .i-arrow { transition: transform 0.22s ease; }
.btn-solid-w:hover .i-arrow,
.btn-ghost-w:hover .i-arrow { transform: translateX(4px); }

/* The -w pair above is for the deep blue blocks. These two are the same
   buttons on a white section, where white-on-white would disappear. */
.btn-ghost,
.btn-solid {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 24px;
    border-radius: 14px;
    font-size: 14.5px; font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s var(--ease-spring), background 0.18s ease, color 0.18s ease;
}
.btn-solid {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border: 2px solid transparent;
    box-shadow: 0 16px 30px -14px rgba(37, 99, 235, 0.8);
}
.btn-solid:hover { transform: translateY(-2px); color: #fff; }
.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-hover, #cbd5e1);
}
.btn-ghost:hover { border-color: #2563eb; color: #1d4ed8; }
.dark .btn-ghost { color: #e2e8f0; border-color: #334155; }

/* A product shot has to be shown whole, not cropped to fill the frame */
.ph--fit img { object-fit: contain; }


/* ==================================================================
   13. Image-led blocks  —  photo rail, benefit cards, step cards,
       photo call-to-action band, bead divider, level ramp.
       Palette: brand blue spine + aqua and violet accents.
       No yellow, no orange.
   ================================================================== */

:root {
    --wm-aqua-100: #cffafe;
    --wm-aqua-300: #67e8f9;
    --wm-aqua-500: #06b6d4;
    --wm-teal-600: #0d9488;
    --wm-violet-300: #c4b5fd;
    --wm-violet-600: #7c3aed;
    --band-fade: #ffffff;
}
.dark { --band-fade: #090d16; }

/* ---------- 13a. Scrolling photo rail --------------------------- */

.band {
    position: relative;
    overflow: hidden;
    padding: 0.75rem 0 1.5rem;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.band__track {
    display: flex;
    gap: 0.9rem;
    width: max-content;
    animation: band-slide 52s linear infinite;
}
.band:hover .band__track { animation-play-state: paused; }

.band__item {
    position: relative;
    flex: 0 0 auto;
    width: clamp(9.5rem, 21vw, 15rem);
    aspect-ratio: 4 / 3;
    border-radius: 1.3rem;
    overflow: hidden;
    background: #e2e8f0;
    border: 3px solid #fff;
    box-shadow: 0 18px 34px -20px rgba(8, 25, 60, 0.55);
}
.dark .band__item { border-color: #0f172a; background: #1e293b; }

.band__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* gentle zig-zag so the rail does not read as a plain row */
.band__item:nth-child(even) { transform: translateY(1.1rem) rotate(-1.2deg); }
.band__item:nth-child(3n)   { transform: translateY(-0.5rem) rotate(1.4deg); }

.band__item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

@keyframes band-slide {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .band__track { animation: none; }
    .band { overflow-x: auto; }
}

/* ---------- 13b. Benefit cards: full-bleed photo + tinted wash --- */

.bgrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
    gap: 1rem;
}

.bcard {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: 17.5rem;
    border-radius: 1.5rem;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 22px 44px -26px rgba(8, 25, 60, 0.6);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s;
}
.bcard:hover { transform: translateY(-5px); box-shadow: 0 32px 54px -24px rgba(8, 25, 60, 0.62); }

.bcard img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.bcard:hover img { transform: scale(1.07); }

.bcard::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(9, 20, 48, 0) 22%, rgba(9, 24, 58, 0.78) 68%, rgba(7, 17, 42, 0.96) 100%);
}
.bcard--aqua::after   { background: linear-gradient(180deg, rgba(3, 38, 50, 0) 22%, rgba(5, 60, 74, 0.8) 68%, rgba(4, 42, 54, 0.96) 100%); }
.bcard--violet::after { background: linear-gradient(180deg, rgba(31, 18, 62, 0) 22%, rgba(44, 24, 88, 0.8) 68%, rgba(30, 16, 62, 0.96) 100%); }
.bcard--navy::after   { background: linear-gradient(180deg, rgba(4, 12, 28, 0) 22%, rgba(6, 16, 36, 0.82) 68%, rgba(3, 9, 22, 0.97) 100%); }

.bcard__body { position: relative; padding: 1.15rem 1.15rem 1.25rem; }

.bcard__n {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.55rem;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}
.bcard--blue   .bcard__n { color: var(--wm-aqua-100); }
.bcard--aqua   .bcard__n { color: var(--wm-aqua-300); }
.bcard--violet .bcard__n { color: var(--wm-violet-300); }
.bcard--navy   .bcard__n { color: #bfdbfe; }

.bcard__t {
    display: block;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.bcard__s {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
}

/* ---------- 13c. Extra step-badge colours for .pcard ------------ */

.pcard__step--aqua   { background: var(--wm-aqua-500); box-shadow: 0 8px 18px -6px rgba(6, 182, 212, 0.6); }
.pcard__step--teal   { background: var(--wm-teal-600); box-shadow: 0 8px 18px -6px rgba(13, 148, 136, 0.6); }
.pcard__step--violet { background: var(--wm-violet-600); box-shadow: 0 8px 18px -6px rgba(124, 58, 237, 0.6); }

.pcard__t {
    display: block;
    font-size: 1rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.01em;
}
.dark .pcard__t { color: #fff; }
.pcard__s {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.55;
    color: #64748b;
}
.dark .pcard__s { color: #94a3b8; }

/* ---------- 13d. Photo call-to-action band ---------------------- */

.ctaband {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
.ctaband > img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 32%;
    filter: saturate(1.05) contrast(1.02);
}
.ctaband::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(130% 95% at 82% 8%, rgba(34, 211, 238, 0.3) 0%, rgba(6, 182, 212, 0) 58%),
        linear-gradient(104deg, rgba(7, 16, 38, 0.88) 0%, rgba(11, 44, 74, 0.76) 46%, rgba(8, 62, 86, 0.62) 100%);
}

/* ---------- 13e. Bead rail divider (pure CSS abacus) ------------ */

.beadrail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.2rem 0;
}
.beadrail i {
    width: 0.52rem;
    height: 0.52rem;
    border-radius: 999px;
    background: #bfdbfe;
    display: block;
}
.beadrail i:nth-child(2) { background: #93c5fd; }
.beadrail i:nth-child(3) { background: #60a5fa; }
.beadrail i:nth-child(4) { background: var(--wm-aqua-500); width: 0.78rem; height: 0.78rem; }
.beadrail i:nth-child(5) { background: var(--wm-teal-600); }
.beadrail i:nth-child(6) { background: #818cf8; }
.beadrail i:nth-child(7) { background: var(--wm-violet-600); }
.beadrail span {
    width: clamp(2rem, 14vw, 7rem);
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0) 0%, #93c5fd 50%, rgba(6, 182, 212, 0) 100%);
}

/* ---------- 13f. Level ramp: blue to aqua, last tile is mastery -- */

.tile--t1 { background: #dbeafe; }
.tile--t2 { background: #bfdbfe; }
.tile--t3 { background: #bae6fd; }
.tile--t4 { background: #a5f3fc; }
.tile--t5 { background: #7dd3fc; }
.tile--t6 { background: var(--wm-aqua-300); }
.tile--t7 { background: #5eead4; }
.tile--t8 {
    background: linear-gradient(140deg, #1d4ed8 0%, #0d9488 100%);
    color: #fff;
}
.tile--t8 .tile__n,
.tile--t8 .tile__l { color: #fff; }
.tile--t8 .tile__l { opacity: 0.9; }


/* ============================================================
   14. Paying the fee
   Sits inside the navy fees block, so the card is light and the
   amounts carry the weight. A UPI app cannot report back to a
   web page, so the design leans on one short reference code
   that travels inside the payment note.
   ============================================================ */

.pay {
    max-width: 880px;
    margin: 44px auto 0;
    padding: 26px 24px 24px;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 30px 70px -28px rgba(8, 20, 48, 0.55);
    text-align: left;
}

.dark .pay { background: #111c2f; box-shadow: 0 30px 70px -28px rgba(0, 0, 0, 0.8); }

.pay__head { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }

.pay__badge {
    flex-shrink: 0;
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border-radius: 15px;
    background: linear-gradient(140deg, var(--wm-aqua-100), #fff);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--wm-teal-600);
}
.dark .pay__badge { background: rgba(6, 182, 212, 0.14); border-color: rgba(6, 182, 212, 0.32); color: var(--wm-aqua-300); }
.pay__badge svg { width: 24px; height: 24px; }

.pay__head strong {
    display: block;
    font-size: 19px; font-weight: 900; letter-spacing: -0.02em;
    color: var(--text-primary);
}
.pay__head span { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-secondary); margin-top: 2px; }

.pay__agreed {
    margin: 0 0 16px;
    padding: 11px 14px;
    border-radius: 13px;
    background: rgba(13, 148, 136, 0.1);
    border: 1px solid rgba(13, 148, 136, 0.26);
    font-size: 13.5px; font-weight: 700;
    color: var(--wm-teal-600);
}
.dark .pay__agreed { color: #5eead4; }

/* ---- the three plans ---- */

/* Six plans now, so the row of three became a wrapping grid that holds
   its shape from a phone up to a desktop. */
.pay__plans {
    display: grid;
    /* Three across, so six plans make two even rows rather than leaving
       the last one stranded on a line of its own. The row gap is wider
       than the column gap to leave room for the "Best value" tag, which
       sits above the top edge of its card. */
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 11px;
    margin-bottom: 18px;
}

.pay__plan {
    position: relative;
    padding: 15px 13px;
    border-radius: 17px;
    border: 2px solid var(--border-color);
    background: var(--bg-subtle, #f8fafc);
    text-align: center;
    cursor: pointer;
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.dark .pay__plan { background: rgba(255, 255, 255, 0.04); }
.pay__plan:hover { transform: translateY(-2px); border-color: var(--wm-aqua-500); }

.pay__plan.is-on {
    border-color: var(--brand-600, #2563eb);
    background: linear-gradient(150deg, rgba(37, 99, 235, 0.09), rgba(6, 182, 212, 0.07));
    box-shadow: 0 12px 26px -14px rgba(37, 99, 235, 0.6);
}

.pay__plan b { display: block; font-size: 23px; font-weight: 900; letter-spacing: -0.03em; color: var(--text-primary); }
.pay__plan span { display: block; font-size: 12.5px; font-weight: 700; color: var(--text-secondary); margin-top: 3px; }
.pay__plan em { display: block; font-size: 11.5px; font-style: normal; font-weight: 700; color: var(--wm-teal-600); margin-top: 5px; }

/* The per-month figure is the honest comparison between plans; the
   per-day one underneath it is what makes a four-year total readable. */
.pay__plan-pm {
    display: block;
    font-size: 11.5px; font-weight: 700;
    color: var(--text-secondary);
    margin-top: 4px;
}
.pay__plan { position: relative; }
.pay__plan-tag {
    position: absolute;
    top: -8px; left: 50%;
    transform: translateX(-50%);
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--wm-teal-600);
    color: #fff;
    font-size: 9.5px; font-weight: 900;
    text-transform: uppercase; letter-spacing: 0.06em;
    white-space: nowrap;
}

/* ---- the pay buttons ---- */

.pay__go { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 20px; }

.pay__btn {
    flex: 1 1 220px;
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 15px 20px;
    border: none; border-radius: 15px;
    background: linear-gradient(135deg, #1a73e8, #2563eb);
    color: #fff;
    font-size: 15.5px; font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 30px -12px rgba(26, 115, 232, 0.75);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.pay__btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(26, 115, 232, 0.85); }
.pay__btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.pay__btn svg { width: 19px; height: 19px; }

.pay__alt {
    flex: 0 1 auto;
    padding: 14px 18px;
    border-radius: 15px;
    border: 1.5px solid var(--border-color, #cbd5e1);
    background: transparent;
    color: var(--text-secondary);
    font-size: 13.5px; font-weight: 700;
    cursor: pointer;
    transition: border-color 0.18s ease, color 0.18s ease;
}
.pay__alt:hover { border-color: var(--wm-aqua-500); color: var(--text-primary); }

/* ---- QR and the printed details ---- */

.pay__detail {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    align-items: center;
    padding: 18px;
    border-radius: 18px;
    background: var(--bg-subtle, #f8fafc);
    border: 1px solid var(--border-color);
}
.dark .pay__detail { background: rgba(255, 255, 255, 0.04); }

.pay__qr { text-align: center; }
.pay__qr img {
    display: block;
    width: 132px; height: 132px;
    border-radius: 13px;
    background: #fff;
    padding: 7px;
    border: 1px solid var(--border-color);
}
.pay__qr span { display: block; width: 146px; margin: 7px auto 0; font-size: 11.5px; font-weight: 700; line-height: 1.45; color: var(--text-secondary); }

.pay__ids { margin: 0; display: grid; gap: 13px; }
.pay__ids > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.pay__ids dt { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-secondary); width: 100%; }
.pay__ids dd {
    margin: 0;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 15px; font-weight: 700;
    color: var(--text-primary);
    word-break: break-all;
}

/* Reads as a button, not as a word. A filled face, a real border and
   a copy glyph, so it is obvious it can be tapped. */
/* Icon only, so it takes a fraction of the width a labelled button did.
   The accessible name lives on aria-label, and the tick below replaces
   the icon for a moment to confirm the copy. */
/* A parent has to notice this and tap it to send their payment, so it
   is a labelled button with a border, not a bare glyph. */
.pay__copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1.5px solid #bfdbfe;
    background: #fff;
    color: #1d4ed8;
    font-size: 12px; font-weight: 800;
    font-family: inherit;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease, transform 0.12s ease;
}
.pay__copy svg { width: 14px; height: 14px; flex: none; }
.pay__copy:hover { border-color: #1d4ed8; background: #eff6ff; }
.pay__copy:active { transform: translateY(1px); }
.pay__copy:focus-visible { outline: 2px solid #1d4ed8; outline-offset: 2px; }
.pay__copy.is-done {
    border-color: var(--wm-teal-600);
    background: rgba(13, 148, 136, 0.1);
    color: var(--wm-teal-600);
}
/* The copy glyph steps aside for a tick rather than the word "Copied",
   which would have widened the button at the moment it is pressed. */
.pay__copy.is-done svg { display: none; }
.pay__copy.is-done::before {
    content: '';
    width: 13px; height: 8px;
    border-left: 2.5px solid currentColor;
    border-bottom: 2.5px solid currentColor;
    transform: rotate(-45deg) translate(1px, -2px);
}
.dark .pay__copy {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(103, 232, 249, 0.45);
    color: var(--wm-aqua-300);
}
.dark .pay__copy:hover { background: rgba(255, 255, 255, 0.13); border-color: var(--wm-aqua-300); }

/* ---- after the app opens: the reference, and one honest question ---- */

.pay__after { margin-top: 18px; }

.pay__ref {
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(150deg, rgba(37, 99, 235, 0.09), rgba(6, 182, 212, 0.08));
    border: 1px dashed rgba(37, 99, 235, 0.4);
    text-align: center;
}
.pay__ref small { display: block; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-secondary); }
/* The code and its copy button are one unit: the button never wanders
   off to a corner where a parent reading the code has to hunt for it. */
.pay__refrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 9px 0 8px;
}
.pay__ref b {
    margin: 0;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 25px; font-weight: 700; letter-spacing: 0.04em;
    color: var(--brand-700, #1d4ed8);
    user-select: all;
    word-break: break-all;
}
.dark .pay__ref b { color: var(--wm-aqua-300); }

/* The one beside the transaction ID is the most important button on
   the card, so it is a size up from the others. */
.pay__copy--ref { padding: 11px 18px; font-size: 13.5px; border-radius: 12px; }
.pay__copy--ref svg { width: 17px; height: 17px; }

.pay__refamt {
    margin: 0 0 8px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: var(--text-primary) !important;
}
.pay__ref p { margin: 0; font-size: 13px; font-weight: 600; line-height: 1.6; color: var(--text-secondary); }

/* Only shown when no UPI app came to the front after the tap. */
.pay__retry {
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px dashed rgba(37, 99, 235, 0.3);
}
.pay__retrybtns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 10px; }
.pay__retrybtn {
    padding: 8px 14px;
    border: 1px solid var(--border-color, rgba(15, 23, 42, 0.14));
    border-radius: 11px;
    background: #fff;
    color: var(--text-primary);
    font-size: 12.5px; font-weight: 800;
    cursor: pointer;
    transition: border-color 0.16s ease, color 0.16s ease;
}
.dark .pay__retrybtn { background: rgba(255, 255, 255, 0.07); }
.pay__retrybtn:hover { border-color: var(--wm-aqua-500); color: var(--wm-teal-600); }

.pay__doneref {
    margin-top: 8px !important;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
    color: var(--wm-teal-600) !important;
    user-select: all;
}

.pay__confirm { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 14px; }

.pay__yes {
    padding: 12px 22px;
    border: none; border-radius: 13px;
    background: var(--wm-teal-600);
    color: #fff;
    font-size: 14px; font-weight: 800;
    cursor: pointer;
    transition: transform 0.16s ease;
}
.pay__yes:hover { transform: translateY(-2px); }

.pay__done {
    padding: 20px 18px;
    border-radius: 18px;
    background: rgba(13, 148, 136, 0.1);
    border: 1px solid rgba(13, 148, 136, 0.3);
    text-align: center;
}
.pay__done strong { display: block; font-size: 17px; font-weight: 900; color: var(--wm-teal-600); margin-bottom: 5px; }
.dark .pay__done strong { color: #5eead4; }
.pay__done p { margin: 0; font-size: 13.5px; font-weight: 600; line-height: 1.6; color: var(--text-secondary); }

.pay__foot { margin: 15px 0 0; font-size: 12.5px; font-weight: 600; line-height: 1.6; text-align: center; color: var(--text-secondary); }

@media (max-width: 720px) {
    .pay { padding: 22px 17px 20px; border-radius: 22px; margin-top: 34px; }
    .pay__plans { grid-template-columns: repeat(2, 1fr); gap: 16px 9px; }
    /* One row per plan: amount, what it buys, then the per-month note
       pushed to the right. The amount never breaks across lines. */
    .pay__plan { padding: 13px 11px; }
    .pay__plan b { font-size: 19px; white-space: nowrap; }
    .pay__detail { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .pay__ids { width: 100%; }
    .pay__ids > div { justify-content: center; }
    .pay__ids dt { text-align: center; }
    .pay__btn { flex: 1 1 100%; }
    .pay__alt { flex: 1 1 100%; }
    .pay__ref b { font-size: 22px; }
    .pay__retrybtn { flex: 1 1 calc(50% - 8px); }
}

/* The UPI app will show the account holder's name, not the brand. */
.pay .pay__to {
    margin: 0 0 14px;
    font-size: 13.5px; font-weight: 600; line-height: 1.6;
    color: var(--text-secondary);
}
.pay .pay__to b { font-weight: 800; color: var(--text-primary); }

/* The fees block paints every <p> white for the navy background. This
   card is white, so its own paragraphs have to win that back. */
.blk--navy .pay p,
.blk--blue .pay p { color: var(--text-secondary); }
.blk--navy .pay .pay__agreed { color: var(--wm-teal-600); }
.dark .blk--navy .pay .pay__agreed { color: #5eead4; }

/* ==========================================================================
   Golden brain mark above the hero headline, and the "future foundation"
   section that follows the hero.
   ========================================================================== */

/* A small glowing mark, not a badge: it sits above the ribbon and reads as
   a mood rather than a label, so it must not compete with the headline. */
.brainmark {
    /* flex rather than inline-flex, with a fitted width: the ribbon that
       follows is inline-flex, so an inline mark would sit beside it
       instead of above it. */
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 8px 17px 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(251, 191, 36, 0.45);
    background: rgba(251, 191, 36, 0.12);
    position: relative;
    isolation: isolate;
}
.brainmark__glow {
    position: absolute;
    left: 10px; top: 50%;
    width: 36px; height: 36px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.75), rgba(251, 191, 36, 0) 70%);
    filter: blur(5px);
    z-index: -1;
    animation: brainpulse 2.8s ease-in-out infinite;
}
@keyframes brainpulse {
    0%, 100% { opacity: 0.55; transform: translateY(-50%) scale(1); }
    50%      { opacity: 1;    transform: translateY(-50%) scale(1.25); }
}
.brainmark__icon {
    width: 26px; height: 26px;
    color: #fcd34d;
    filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.7));
    flex: none;
}
.brainmark__text {
    font-size: 11.5px; font-weight: 800;
    letter-spacing: 0.04em; text-transform: uppercase;
    color: #fde68a;
    white-space: nowrap;
}
/* On a light background the pale gold text would vanish. */
.blk--sky .brainmark__text,
section:not([class*="blk--"]) .brainmark__text { color: #92400e; }

@media (prefers-reduced-motion: reduce) {
    .brainmark__glow { animation: none; }
}

/* ---- the numbered points ---- */
.fnd { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }

.fnd__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 15px 17px;
    border-radius: 16px;
    background: var(--bg-warm, #f8fafc);
    border: 1px solid var(--border-light, #e2e8f0);
    transition: transform 0.18s var(--ease-spring), border-color 0.18s ease;
}
.fnd__item:hover { transform: translateY(-2px); border-color: var(--wm-aqua-500); }
.dark .fnd__item { background: #0f172a; border-color: #1e293b; }

.fnd__n {
    flex: none;
    width: 34px; height: 34px;
    display: grid; place-items: center;
    border-radius: 11px;
    background: linear-gradient(140deg, #2563eb, #06b6d4);
    color: #fff;
    font-size: 12.5px; font-weight: 900;
    letter-spacing: 0.02em;
}
.fnd__item strong {
    display: block;
    font-size: 15px; font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 3px;
}
.fnd__item span {
    display: block;
    font-size: 13.5px; font-weight: 600; line-height: 1.6;
    color: var(--text-secondary);
}

/* The hero photo ring, restruck in gold for this section. */
.orb--gold {
    box-shadow: 0 0 0 10px rgba(251, 191, 36, 0.16),
                0 30px 60px -24px rgba(120, 53, 15, 0.35);
}

@media (max-width: 720px) {
    .fnd__item { padding: 13px 14px; gap: 11px; }
    .fnd__n { width: 30px; height: 30px; font-size: 11.5px; }
    .fnd__item strong { font-size: 14px; }
    .brainmark { padding: 6px 13px 6px 10px; }
    .brainmark__text { font-size: 10.5px; }
}

/* ==========================================================================
   Page 3 - the enrolment form.
   Validation messages belong under the field they describe. A summary at
   the top of a long form is useless on a phone: the parent has to scroll
   back up to read it, then back down to fix it.
   ========================================================================== */

.enrolcard {
    padding: 26px;
    border-radius: 24px;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border-light, #e2e8f0);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 16px;
}
.dark .enrolcard { background: #0f172a; border-color: #1e293b; }

.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { display: grid; gap: 6px; }
.field label {
    font-size: 12.5px; font-weight: 800;
    color: var(--text-secondary);
}
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 13px;
    border: 1.5px solid var(--border-light, #e2e8f0);
    background: var(--bg-warm, #f8fafc);
    color: var(--text-primary);
    font-size: 14px; font-weight: 600;
    font-family: inherit;
    transition: border-color 0.16s ease, background 0.16s ease;
}
.dark .field input:not([type="checkbox"]) { background: #131b2e; border-color: #1e293b; color: var(--text-primary); }
.field input:focus {
    outline: none;
    border-color: #2563eb;
    background: var(--bg-card, #fff);
}

/* Phone / WhatsApp: +91 by default, but the parent can change the country. */
.telwrap { display: flex; align-items: stretch; }
.telcc {
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    flex: 0 0 auto;
    padding: 0 30px 0 13px;
    border: 1.5px solid var(--border-light, #e2e8f0);
    border-right: none;
    border-radius: 13px 0 0 13px;
    background-color: #eef2f7;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23475569' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    color: var(--text-primary);
    font-size: 14px; font-weight: 800; font-family: inherit;
    white-space: nowrap; cursor: pointer;
    transition: border-color 0.16s ease, background-color 0.16s ease;
}
.telcc:focus { outline: none; }
.dark .telcc { background-color: #0c1322; border-color: #1e293b; color: var(--text-primary); }
.telwrap input[type="tel"] { border-radius: 0 13px 13px 0 !important; }
.field.is-bad .telcc { border-color: #dc2626; }
.field.is-ok .telcc { border-color: #0d9488; }
.telwrap:focus-within .telcc,
.telcc:focus { border-color: #2563eb; background-color: #fff; }
.dark .telwrap:focus-within .telcc, .dark .telcc:focus { background-color: #131b2e; }

/* The message sits under its own field and only appears once that field
   has actually been found wanting. */
.field__err {
    display: none;
    font-size: 12px; font-weight: 700;
    color: #dc2626;
    line-height: 1.4;
}
.field.is-bad .field__err { display: block; }
.field.is-bad input { border-color: #dc2626; background: rgba(220, 38, 38, 0.05); }
.dark .field.is-bad input { background: rgba(220, 38, 38, 0.12); }
.field.is-ok input { border-color: #0d9488; }

.checkrow {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 15px;
    border-radius: 14px;
    border: 1.5px solid var(--border-light, #e2e8f0);
    background: var(--bg-warm, #f8fafc);
    cursor: pointer;
    font-size: 13.5px; font-weight: 700;
    color: var(--text-secondary);
    line-height: 1.5;
}
.dark .checkrow { background: #131b2e; border-color: #1e293b; }
.checkrow input { width: 19px; height: 19px; margin-top: 1px; flex: none; accent-color: #2563eb; cursor: pointer; }
.field--check.is-bad .checkrow { border-color: #dc2626; background: rgba(220, 38, 38, 0.05); }

.enrolbtn {
    display: inline-flex;
    align-items: center; justify-content: center;
    gap: 10px;
    margin-top: 4px;
    padding: 15px 26px;
    border: none; border-radius: 15px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    font-size: 15px; font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 18px 34px -14px rgba(37, 99, 235, 0.9);
    transition: transform 0.16s var(--ease-spring);
}
.enrolbtn:hover { transform: translateY(-2px); }
.enrolbtn:disabled { opacity: 0.65; cursor: wait; transform: none; }

.enrolok {
    display: flex; align-items: center; gap: 9px;
    margin: 0;
    padding: 12px 15px;
    border-radius: 13px;
    background: rgba(13, 148, 136, 0.1);
    border: 1px solid rgba(13, 148, 136, 0.3);
    color: var(--wm-teal-600);
    font-size: 13.5px; font-weight: 800;
}

.enrolpic { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-elevated); }
.enrolpic img { display: block; width: 100%; height: auto; }

.enrolnote { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.enrolnote li {
    display: flex; align-items: center; gap: 10px;
    font-size: 13.5px; font-weight: 700;
    color: var(--text-secondary);
}

/* The plan buttons stay locked until the form above has been saved. */
.pay.is-locked .pay__plans,
.pay.is-locked .pay__go { opacity: 0.45; pointer-events: none; }
.paylock {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 16px;
    padding: 13px 16px;
    border-radius: 14px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #92400e;
    font-size: 13px; font-weight: 800;
    line-height: 1.5;
}
.dark .paylock { color: #fcd34d; }
.paylock a { color: inherit; text-decoration: underline; }

@media (max-width: 720px) {
    .enrolcard { padding: 19px 16px; border-radius: 20px; }
    .fgrid { grid-template-columns: 1fr; gap: 14px; }
}

/* ==========================================================================
   The two explainer figures on screen 2.
   Strokes and text are currentColor so both read in light and dark; the
   one literal hue is the accent, reserved for the path being explained.
   ========================================================================== */

.mindviz, .loopviz { margin-top: 48px; }
.loopviz { margin-top: 56px; }

.mindviz__h {
    margin: 0 0 6px;
    font-size: 22px; font-weight: 900;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    text-align: center;
}
.mindviz__s {
    margin: 0 0 22px;
    font-size: 14.5px; font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

.mindviz__fig {
    margin: 0;
    padding: 24px 20px 18px;
    border-radius: 24px;
    background: var(--bg-warm, #f8fafc);
    border: 1px solid var(--border-light, #e2e8f0);
    /* The accent is a single token so a figure can be re-themed in one place. */
    --mv-accent: #1d4ed8;
    --lv-accent: #1d4ed8;
    color: var(--text-primary);
}
.dark .mindviz__fig {
    background: #0f172a;
    border-color: #1e293b;
    /* The deep blue goes muddy on the dark ground; the aqua carries. */
    --mv-accent: #38bdf8;
    --lv-accent: #38bdf8;
}

.mindviz__fig svg {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}
.mindviz__fig svg text { font-family: inherit; }

.mindviz__fig figcaption {
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid var(--border-light, #e2e8f0);
    font-size: 13px; font-weight: 600; line-height: 1.6;
    color: var(--text-secondary);
    text-align: center;
}
.dark .mindviz__fig figcaption { border-top-color: #1e293b; }

@media (max-width: 720px) {
    .mindviz, .loopviz { margin-top: 36px; }
    .mindviz__h { font-size: 19px; }
    .mindviz__s { font-size: 13.5px; }
    .mindviz__fig { padding: 16px 12px 14px; border-radius: 18px; }
    /* The figures are drawn wide; below this width they are allowed to
       scroll sideways rather than shrink the labels to nothing. */
    .mindviz__fig svg { min-width: 560px; }
    .mindviz__fig { overflow-x: auto; }
}

/* Both Play Store apps, under the four points on screen 2. */
.appslink { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.appslink__a {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 15px;
    border-radius: 15px;
    border: 1.5px solid var(--border-light, #e2e8f0);
    background: var(--bg-card, #fff);
    text-decoration: none;
    transition: transform 0.16s var(--ease-spring), border-color 0.16s ease;
}
.appslink__a:hover { transform: translateY(-2px); border-color: #2563eb; }
.dark .appslink__a { background: #0f172a; border-color: #1e293b; }
.appslink__a img { border-radius: 10px; flex: none; }
.appslink__a small { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted, #64748b); }
.appslink__a b { display: block; font-size: 14.5px; font-weight: 900; color: var(--text-primary); line-height: 1.3; }
.appslink__a em { display: block; font-size: 11.5px; font-style: normal; font-weight: 700; color: var(--wm-teal-600); }

@media (max-width: 720px) { .appslink { grid-template-columns: 1fr; } }

/* ==================================================================
   Why-us demo / fees buttons, and the pricing-plan grid
   ================================================================== */

/* The demo button on the Why-us page: the primary, eye-catching action.
   Built on .btn-solid, given a warmer gradient so it stands apart from
   the plain blue links around it. */
.btn-demo {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    box-shadow: 0 16px 30px -12px rgba(234, 88, 12, 0.7);
}
.btn-demo:hover { transform: translateY(-2px); color: #fff; }
.btn-demo .wmi-play { margin-right: 1px; }

/* The quieter "Fees & payment" button that sits beside / under it. */
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 24px;
    border-radius: 14px;
    font-size: 14.5px; font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    color: #1d4ed8;
    background: #eff6ff;
    border: 2px solid #bfdbfe;
    transition: transform 0.18s var(--ease-spring), background 0.18s ease, border-color 0.18s ease;
}
.btn-outline:hover { transform: translateY(-2px); background: #dbeafe; border-color: #93c5fd; }
.dark .btn-outline { color: #bfdbfe; background: rgba(37, 99, 235, 0.14); border-color: rgba(37, 99, 235, 0.4); }
.dark .btn-outline:hover { background: rgba(37, 99, 235, 0.24); }

/* ---- Pricing plans, shown on the navy fees block ---- */
.plans { margin: 0 auto 40px; max-width: 1040px; }
.plans__head { text-align: center; margin-bottom: 26px; }
.plans__title {
    font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem);
    font-weight: 900; letter-spacing: -0.02em;
    color: #fff; margin: 12px 0 8px;
}
.plans__sub {
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px; font-weight: 600; line-height: 1.6;
    max-width: 46ch; margin: 0 auto;
}
.plans__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
}
.plancard {
    position: relative;
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 18px;
    padding: 20px 16px 18px;
    text-align: center;
    box-shadow: 0 18px 36px -24px rgba(0, 0, 0, 0.55);
    transition: transform 0.18s var(--ease-spring), box-shadow 0.18s ease;
}
.plancard:hover { transform: translateY(-3px); box-shadow: 0 24px 44px -22px rgba(0, 0, 0, 0.6); }
.plancard__name {
    font-size: 13px; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.04em; color: #64748b; margin-bottom: 8px;
}
.plancard__price {
    font-size: 26px; font-weight: 900; letter-spacing: -0.03em;
    color: #0b1626; line-height: 1;
}
.plancard__pm {
    margin-top: 10px; font-size: 13px; font-weight: 700; color: #334155;
}
.plancard__pm b { color: #1d4ed8; }
.plancard__pd {
    margin-top: 3px; font-size: 12px; font-weight: 700; color: #0d9488;
}
/* The two highlighted plans */
.plancard--pop { border-color: #93c5fd; }
.plancard--best {
    border-color: #f59e0b;
    background: linear-gradient(170deg, #fffbeb, #ffffff 60%);
}
.plancard__flag {
    position: absolute;
    top: -11px; left: 50%; transform: translateX(-50%);
    white-space: nowrap;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 10.5px; font-weight: 900;
    text-transform: uppercase; letter-spacing: 0.05em;
    color: #fff;
}
.plancard--pop .plancard__flag { background: #2563eb; }
.plancard--best .plancard__flag { background: #ea580c; }
.plans__note {
    margin-top: 20px; text-align: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px; font-weight: 600;
}

/* ---- Copy / UPI details stay hidden until the form is filled ----
   The plan buttons were already dimmed when locked, but the GPay number,
   UPI ID and their copy buttons sat in a different block and stayed live.
   A parent could copy and pay before telling us who the child is, leaving
   a payment nobody could match. Hide that whole block until unlocked. */
.pay.is-locked .pay__detail,
.pay.is-locked .pay__after { display: none; }
