/* Homepage: new headline, fuller preview card, expat section. Uses the existing colours and fonts. */
/* Headline: three short lines */
.hero h1 .hx-new .hx-l{display:block}
.hero h1 .hx-new{display:block}
.hero h1 .hx-new[hidden]{display:none}
.hero h1:has(.hx-new:not([hidden])){font-size:clamp(36px,4.3vw,54px);line-height:1.06}
html:is(:lang(ar),:lang(ur),:lang(hi)) .hero h1:has(.hx-new:not([hidden])){line-height:1.35}

/* Buttons: main action first, tour second */
.hx-tour{display:inline-flex;align-items:center;gap:8px}
.hx-tour svg{width:18px;height:18px}
.hx-trust{margin-top:18px}
.hx-trust .trust{padding:6px 12px;border:1px solid var(--line);border-radius:999px;background:var(--surface);font-size:13px}
.hx-trust .trust svg{width:15px;height:15px;color:var(--green)}

/* Preview card */
.hx-pv{display:flex;flex-direction:column;gap:14px;padding:24px}
.hx-pv-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.hx-chip{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;background:var(--surface-2);font-size:12px;color:var(--text);white-space:nowrap}
.hx-chip svg{width:14px;height:14px;color:var(--accent)}
.hx-pv .hx-big{font-variant-numeric:tabular-nums;font-size:clamp(40px,4.4vw,54px);font-weight:800;letter-spacing:-.035em;color:var(--green);line-height:1.05;margin:-4px 0 0}
.hx-free{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border-radius:var(--r-md,14px);background:var(--surface-2);font-size:14px}
.hx-free .mono{font-weight:600}
.hx-sub{margin-top:2px}
.hx-list{margin-top:-6px;gap:2px}
.hx-list .pv-item{padding:8px 6px}
.hx-list .pv-item .d{font-size:13px;color:var(--text)}
.hx-dot{width:30px;height:30px;flex:0 0 30px;border-radius:9px;display:grid;place-items:center;background:var(--surface-2);color:var(--muted)}
.hx-dot svg{width:15px;height:15px}
.hx-debt{padding:14px;border-radius:var(--r-md,14px);border:1px solid var(--line)}
.hx-debt-h{display:flex;justify-content:space-between;font-size:14px;font-weight:500;margin-bottom:8px}
.hx-debt .track>div{background:linear-gradient(90deg,var(--accent),#f08a3c)}
.hx-debt-d{display:flex;align-items:center;gap:6px;margin:10px 0 0;font-size:13px;color:var(--muted)}
.hx-debt-d b{color:var(--text);font-weight:600}
.hx-debt-d svg{width:15px;height:15px;color:var(--accent)}

/* Expat section */
.hx-expat[hidden]{display:none}
.hx-expat .feat .ic{color:var(--accent)}

@media (max-width:680px){
 .hero .cta-row>*{flex:1 1 100%;justify-content:center}
 .hx-pv{padding:18px}
}

/* Walloo AI marketing touches on the homepage. */
.hx-ai-pill{margin-bottom:16px}
.hx-ai-pill b{font-weight:600;color:var(--text)}
.hx-ai-trust svg{color:var(--accent)!important}
.hx-ai-tip{display:flex;gap:8px;align-items:flex-start;margin:12px 0 0;padding:9px 11px;border-radius:12px;background:color-mix(in srgb,var(--accent) 12%,transparent);font-size:12.5px;line-height:1.35;color:var(--text)}
.hx-ai-tip svg{width:15px;height:15px;flex:none;margin-top:1px;color:var(--accent)}
.hx-ai-band{display:flex;gap:8px;align-items:flex-start;margin-top:10px;font-size:14px;color:var(--text)}
.hx-ai-band svg{width:16px;height:16px;flex:none;margin-top:2px;color:var(--accent)}
/* Homepage stats: languages · currencies · countries */
.hs-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:22px;max-width:520px}
.hs-stat{display:flex;flex-direction:column;gap:4px;padding:18px 18px 16px;border-radius:20px;background:var(--surface);border:1px solid var(--line)}
.hs-stat b{font-family:'Manrope',var(--f-body);font-size:clamp(2.4rem,5vw,3.4rem);font-weight:800;line-height:1;letter-spacing:-.04em;color:#ee8b4f}
:root[data-theme="dark"] .hs-stat b{color:#ff6a3d}
.hs-stat span{font-size:15px;font-weight:600;color:var(--text)}
@media (max-width:420px){.hs-stats{gap:8px}.hs-stat{padding:14px 12px}.hs-stat span{font-size:13px}}

/* Pay calculator: hourly, daily, weekly or monthly pay (Oct 2026). */
.hx-pc[hidden],.hx-bbd[hidden]{display:none!important}
.pc{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}
.pc-in,.pc-out{display:flex;flex-direction:column;gap:14px;padding:22px;border-radius:24px;background:var(--surface);border:1px solid var(--line)}
.pc-seg{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:4px;border-radius:999px;background:var(--surface-2)}
.pc-seg button{min-height:44px;border:0;border-radius:999px;background:transparent;color:var(--muted);font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.pc-seg button[aria-pressed="true"]{background:var(--accent);color:#fff}
.pc-f{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600;color:var(--text)}
.pc-f .input{min-height:48px;font-size:18px;font-weight:700;font-variant-numeric:tabular-nums}
.pc-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.pc-out{background:color-mix(in srgb,var(--green) 8%,var(--surface));border-color:color-mix(in srgb,var(--green) 30%,var(--line))}
.pc-big{margin:-4px 0 0;font-size:clamp(38px,4.4vw,52px);font-weight:800;letter-spacing:-.035em;line-height:1.05;color:var(--green);font-variant-numeric:tabular-nums}
.pc-warn{margin:0;font-size:14px;color:var(--danger)}
.pc-minis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.pc-minis div{display:flex;flex-direction:column;gap:4px;min-width:0}
.pc-minis span{font-size:12px;color:var(--muted)}
.pc-minis b{font-size:15px;font-weight:700;color:var(--text);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.pc-worth{display:flex;flex-direction:column;gap:12px;margin-top:6px;padding-top:16px;border-top:1px solid var(--line)}
.pc-worth .pill{align-self:flex-start}
.pc-worth-out{margin:0;font-size:20px;line-height:1.3;font-weight:800;color:var(--text)}
.pc-worth-out b{color:var(--accent)}

/* Bye Bye Debt section */
.hxb{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:center}
.hxb-copy{display:flex;flex-direction:column;gap:14px}
.hxb-copy .pill{align-self:flex-start}
.hxb-copy h2{margin:0;font-size:clamp(32px,3.6vw,46px);line-height:1.05;letter-spacing:-.03em}
.hxb-copy h2 em{font-style:normal;background:linear-gradient(100deg,var(--accent),#f08a3c);-webkit-background-clip:text;background-clip:text;color:transparent}
.hxb-copy p{margin:0;color:var(--muted);font-size:16px;line-height:1.55}
.hxb-copy .cta-row{margin-top:4px}
.hxb-card{display:flex;flex-direction:column;gap:18px;padding:24px;border-radius:24px;background:var(--surface);border:1px solid var(--line)}
.hxb-h{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;font-size:15px;font-weight:600}
.hxb-h>span:first-child{display:inline-flex;align-items:center;gap:8px}
.hxb-h svg{width:18px;height:18px;color:var(--accent)}
.hxb-loan .track>div{background:linear-gradient(90deg,var(--accent),#f08a3c)}
.hxb-free{display:flex;align-items:center;gap:8px;margin:0;padding:12px 14px;border-radius:14px;background:color-mix(in srgb,var(--green) 12%,transparent);font-size:14px;color:var(--text)}
.hxb-free svg{width:18px;height:18px;color:var(--green)}
.hxb-free b{color:var(--green)}

@media (max-width:760px){
 .pc,.hxb{grid-template-columns:minmax(0,1fr)}
 .pc-in,.pc-out,.hxb-card{padding:18px}
 .hxb-copy .cta-row>*{flex:1 1 100%;justify-content:center}
}
.hxb-loan .track{margin-top:0}
/* Breathing room around the new sections on phones and computers */
main .shell.section.hx-pc,main .shell.section.hx-bbd{padding-top:56px!important;padding-bottom:56px!important}
@media (max-width:760px){main .shell.section.hx-pc,main .shell.section.hx-bbd{padding-top:40px!important;padding-bottom:40px!important}}

/* Shared marketing section card geometry — pay calculator and Bye Bye Debt.
   Equal-height peer cards, consistent radii and padding, no logic changes. */
:root{--gw-section-card-radius:24px;--gw-section-card-padding:24px;--gw-section-card-min-height:390px}
.hx-pc .pc{align-items:stretch}
.hx-pc .pc-in,.hx-pc .pc-out,.hx-bbd .hxb-card{
 box-sizing:border-box;
 width:100%;
 min-width:0;
 min-height:var(--gw-section-card-min-height);
 height:100%;
 padding:var(--gw-section-card-padding);
 border-radius:var(--gw-section-card-radius);
}
.hx-pc .pc-in,.hx-pc .pc-out{align-self:stretch}
.hx-bbd .hxb{align-items:stretch;gap:16px}
.hx-bbd .hxb-copy{justify-content:center;min-width:0}
.hx-bbd .hxb-card{justify-content:center}
@media(max-width:760px){
 :root{--gw-section-card-padding:18px;--gw-section-card-min-height:0px}
 .hx-pc .pc-in,.hx-pc .pc-out,.hx-bbd .hxb-card{height:auto}
 .hx-bbd .hxb{gap:20px}
}

/* Mobile landing: keep the first screen focused on the hero and its actions. */
@media (max-width:760px){
  [data-view="home"] .hero{display:flex;flex-direction:column;min-height:calc(100svh - 130px);gap:0}
  [data-view="home"] .hero > div:first-child{width:100%;min-width:0}
  [data-view="home"] .hx-trust{display:flex;justify-content:center;width:100%;margin-top:14px}
  [data-view="home"] .hx-trust .trust{display:inline-flex;align-items:center;justify-content:center;gap:8px;max-width:100%;text-align:center}
  [data-view="home"] .hero > .preview{margin-top:max(52px,calc(100svh - 630px));width:100%}
}
