/* The Hello bank! page only (its three languages); everything else is /shared/site.css: the centred hero
   (.hero-centred), the fluid rhythm (body.fluid), the theme (<html data-theme="hellobank">). Spacing comes from the scale
   (--sp-*, --section-y, --head-gap, --grid-gap, --card-pad); colours from the theme tokens. */

/* Co-brand logos: Hello bank!'s logo is its speech bubble, nearly square, so it stands much taller than Stride's
   wordmark to read at the same weight (its tail sits below the line). */
.cobrand .partner{height:40px;width:auto;}
.cobrand .x{font-size:16px;}
@media (max-width:560px){.cobrand .partner{height:34px;}}
@media (max-width:360px){.cobrand .partner{height:30px;}}

/* Hero: the credibility bar and the client row follow right under it, so it closes on a shorter gap */
section.hero.hero-centred{padding-bottom:var(--sp-8);}
.hero-centred .badge .tag{white-space:nowrap;}

/* Sections: white bands (.band) alternate with the page background; no hairlines (as on the cover page) */
.band{background:var(--surface);border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft);}
#faq{padding-top:0;}
#tarifs,#exemples,#plateforme,#mini-site,#faq{scroll-margin-top:58px;}
@media (max-width:640px){#tarifs,#exemples,#plateforme,#mini-site,#faq{scroll-margin-top:50px;}}

/* Hero badge: "Offre Hello bank! →", one brand pill, a link to the pricing (the details are there) */
a.badge{text-decoration:none;}
.hero .badge{background:var(--brand);border-color:var(--brand);color:var(--on-brand);}   /* one brand pill, the offer */
.hero .badge .tag{color:var(--on-brand);}
.hero.hero-centred .badge{font-size:12.5px;line-height:1;padding:6px 13px;gap:7px;}   /* smaller than the shared centred badge */
a.badge svg{width:13px;height:13px;transition:transform .2s var(--ease);}
a.badge:hover svg{transform:translateX(3px);}
@media (max-width:560px){.hero .badge{flex-wrap:wrap;justify-content:center;row-gap:2px;border-radius:18px;text-align:center;}}

/* The Hello bank! offer (the brief's box): in the pricing, under its heading */
.offer{text-align:center;max-width:720px;margin:0 auto var(--head-gap);padding:var(--card-pad);
  background:var(--brand-tint);border-radius:20px;}
.offer-text{font:500 clamp(17px,15px + .5vw,20px)/1.4 var(--font);color:var(--ink);margin:0 auto;max-width:52ch;text-wrap:balance;}

/* Pricing: four plan cards (the free mini site featured), then the creation services as one table */
.ptag{font:500 11px/1 var(--font);color:var(--brand);background:var(--brand-tint);padding:5px 9px;border-radius:999px;white-space:nowrap;}
/* "1st month free" on each paid plan: a brand badge on the card's top edge, at the left */
#tarifs .price{position:relative;}
#tarifs .price-grid{row-gap:calc(var(--grid-gap) + 14px);}   /* room for the badges when the cards stack */
#tarifs .price-badge{white-space:nowrap;text-transform:uppercase;letter-spacing:.06em;background:var(--brand);color:var(--on-brand);}
/* Four cards: the free mini site first, featured in the brand colour (shared .price.feat), then Maker, Pro, Business */
.price-grid.four{grid-template-columns:repeat(4,minmax(0,1fr));}
#tarifs .price.feat .price-badge{background:var(--on-brand);color:var(--brand);}
@media (max-width:1080px){.price-grid.four{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:640px){.price-grid.four{grid-template-columns:1fr;}}
/* Under the plan cards: the commitments and the starter condition (the * of the badges and the offer box) */
.plans-note{margin-top:var(--sp-5);text-align:center;font:400 13px/20px var(--font);color:var(--muted);}
.plans-note p{margin:0 auto;max-width:80ch;text-wrap:balance;}
.plans-note p + p{margin-top:var(--sp-1);}
/* The add-on's offer badge sits on the box's top edge */
#tarifs .addon{position:relative;}
#tarifs .addon-badge{position:absolute;top:-10px;left:14px;margin:0;}
#tarifs .price.feat .addon{margin-top:var(--sp-6);padding-top:16px;}
.packs{margin-top:var(--section-y);}
.packs .sec-head{margin-bottom:var(--sp-6);}
.packs .sec-head .starter-tag{display:inline-block;margin-bottom:var(--sp-3);}
.packs .sec-head h3{font:500 clamp(22px,20px + .6vw,28px)/1.2 var(--font);letter-spacing:-.02em;color:var(--ink);margin:0;text-wrap:balance;}
.packs-scroll{overflow-x:auto;max-width:960px;margin:0 auto;border:1px solid var(--line);border-radius:20px;background:var(--surface);}
.packs-table{width:100%;min-width:560px;border-collapse:collapse;font:400 14.5px/21px var(--font);color:var(--ink-2);}
.packs-table th,.packs-table td{padding:14px 18px;text-align:center;vertical-align:middle;border-top:1px solid var(--line-soft);}
.packs-table thead th,.packs-table thead td{border-top:0;padding-top:22px;padding-bottom:18px;width:25%;}
.packs-table tbody th{text-align:left;font-weight:500;color:var(--ink);}
.packs-table .pk-nm{display:block;font:600 16px/22px var(--font);color:var(--ink);}
.packs-table .pk-pp{display:block;margin-top:6px;font:700 26px/30px var(--font);letter-spacing:-.02em;color:var(--ink);}
.packs-table thead .ptag{display:inline-block;margin-top:6px;}
.packs-table td.yes svg{width:18px;height:18px;color:var(--brand);vertical-align:middle;}
.packs-cta{text-align:center;margin-top:var(--sp-5);}
/* The row labels stay in view if the table is ever wider than its box */
.packs-table tbody th,.packs-table thead td{position:sticky;left:0;z-index:1;background:var(--surface);}
.pricing-note{margin-top:var(--sp-5);}
/* Phones: the same box, the three packages side by side in three equal columns; each point's label on its own
   line across them, the three values under it. The table becomes a grid, so the ARIA roles in the markup keep it a
   table for screen readers (display:contents drops native table semantics in some browsers); the empty corner cell
   is visually hidden, not removed, so the columns still line up with their headers. */
@media (max-width:640px){
  .packs-scroll{overflow:visible;}
  .packs-table{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));min-width:0;font-size:13px;line-height:18px;}
  .packs-table thead,.packs-table tbody,.packs-table tr{display:contents;}
  .packs-table thead td{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
    clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;}
  .packs-table th,.packs-table td{width:auto;padding:4px 6px 12px;overflow-wrap:break-word;}
  .packs-table thead th{width:auto;padding:18px 4px 14px;}
  .packs-table .pk-nm{font-size:14px;line-height:20px;}
  .packs-table .pk-pp{margin-top:4px;font-size:20px;line-height:24px;}
  .packs-table thead .ptag{margin-top:4px;padding:4px 7px;font-size:10px;}
  .packs-table tbody th{position:static;grid-column:1/-1;padding:12px 14px 2px;
    font:500 12px/16px var(--font);color:var(--muted);}
  .packs-table tbody td{border-top:0;}
  .packs-table td.yes svg{width:16px;height:16px;}
}

/* Examples: on the white band; the cards and the screenshots at their own ratio (1140 × 960), nothing cropped */
.band .ex-card,.band .ex-empty{background:var(--page);}
.ex-thumb{aspect-ratio:1140/960;}
.chips{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--sp-2);margin:0 auto var(--sp-6);}
.chip{font:500 14px/18px var(--font);color:var(--ink-2);background:var(--surface);border:1px solid var(--line);
  border-radius:999px;padding:9px 16px;cursor:pointer;transition:background .2s var(--ease),border-color .2s var(--ease),color .2s var(--ease);}
.chip:hover{border-color:var(--ink);color:var(--ink);}
.chip[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:var(--surface);}
.ex-meta .go svg{width:14px;height:14px;}
.ex-empty{text-align:center;padding:var(--sp-7) var(--sp-5);background:var(--surface);border:1px dashed var(--line);border-radius:18px;}
.ex-empty .nm{font:500 17px/24px var(--font);color:var(--ink);}
.ex-empty p{font:400 14.5px/22px var(--font);color:var(--ink-2);margin:var(--sp-2) auto var(--sp-4);max-width:46ch;}
.examples-foot{margin-top:var(--sp-7);}
@media (max-width:880px) and (min-width:561px){.examples{grid-template-columns:repeat(2,1fr);}}
@media (max-width:640px){.chips{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;margin:0 -20px var(--sp-5);padding:0 20px;scrollbar-width:none;}
  .chips::-webkit-scrollbar{display:none;}.chip{flex:0 0 auto;}}

/* Stat band: three figures */
.statband .nums{grid-template-columns:repeat(3,1fr);}
@media (max-width:560px){.statband .nums{grid-template-columns:1fr 1fr;}.statband .num:last-child:nth-child(odd){grid-column:1/-1;}}

/* Platform: the shared feature tabs (.ftabs, site.css) with the phone stage */

/* Sites strip: screenshots of client sites, two rows scrolling opposite ways (decoration, before the examples) */
.shots{display:flex;flex-direction:column;gap:var(--sp-4);padding:var(--sp-7) 0;overflow:hidden;}   /* under the credibility bar, above the section nav */
.shots-track{display:flex;gap:var(--sp-4);width:max-content;animation:logoscroll 70s linear infinite;}
.shots-row.rev .shots-track{animation-direction:reverse;}
/* Rounded corners, no border */
.shots-track img{width:300px;aspect-ratio:1140/960;height:auto;flex:0 0 auto;border-radius:12px;}
@media (max-width:560px){.shots-track img{width:210px;}}
@media (prefers-reduced-motion:reduce){.shots-track{animation:none;}}

/* Technology: inside the platform section, under the features; the grid (shared .feat-grid) and the integrations */
.tech{margin-top:var(--section-y);padding-top:var(--section-y);border-top:1px solid var(--line);}
.tech .sec-head h3{font:500 clamp(22px,20px + .6vw,28px)/1.2 var(--font);letter-spacing:-.02em;color:var(--ink);margin:0;text-wrap:balance;}
.feat-grid .feat{background:var(--page);}
.feat-grid .feat .ic img{width:22px;height:22px;}
.integ{margin-top:var(--sp-8);text-align:center;}
.integ .lbl{font:500 12px/18px var(--font);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:var(--sp-5);}
.integ-logos{display:grid;grid-template-columns:repeat(8,1fr);gap:var(--sp-3);}
.integ-logos img{width:100%;height:62px;object-fit:contain;padding:14px 16px;background:var(--page);
  border:1px solid var(--line);border-radius:12px;}
@media (max-width:1080px){.integ-logos{grid-template-columns:repeat(4,1fr);}}
@media (max-width:560px){.integ-logos{grid-template-columns:repeat(3,1fr);}}

/* Footer: the co-brand at footer size */
footer .cobrand .partner{height:40px;}

/* Mini site: what the free page includes (shared .feat-grid), Cover Pro (shared .pro-box), the button */
@media (min-width:1081px){#mini-site .feat-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}   /* six blocks: 3 × 2 */
#mini-site .pro-box{margin-top:var(--section-y);}
#mini-site .pro-tx .starter-tag{display:inline-block;margin-bottom:var(--sp-3);background:var(--brand);color:var(--on-brand);}
.mini-cta{text-align:center;margin-top:var(--sp-7);}

