/* ==========================================================================
   Moneyfrog — /index2 homepage (light).
   Self-contained: fonts, images and scripts live beside this file in
   public/index2-assets/. Nothing here is shared with assets/css/index2.css
   (that file is the live site stylesheet, despite the similar name).
   Design reference: Moneyfrog-Homepage-Light.pdf (1280px wide artboard).
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('../fonts/fraunces-normal-300-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('../fonts/fraunces-normal-300-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url('../fonts/fraunces-italic-300-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url('../fonts/fraunces-italic-300-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/instrument-sans-normal-400-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/instrument-sans-normal-400-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2113, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/ibm-plex-mono-normal-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/ibm-plex-mono-normal-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/ibm-plex-mono-normal-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/ibm-plex-mono-normal-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  --bg: #f9f8f4;
  --band: #f3efe5;
  --topbar: #eae3d9;
  --surface: #ffffff;
  --card: #fcfaf5;
  --line: #e7e2d8;
  --line-2: #ddd6c7;
  --ink: #16191d;
  --ink-2: #4c525a;
  --muted: #838a93;
  --gold-ink: #8a6a1f;
  --gold: #c29a2c;
  --gold-soft: #e3c66a;
  --btn-ink: #241b05;
  --night: #0b0f14;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(20px, 6vw, 77px);
  --wrap: 1126px;
  --radius: 12px;
  --gold-grad: linear-gradient(160deg, #e2c46b 0%, #d4b24f 45%, #c29c35 100%);
  --shadow-card: 0 1px 2px rgba(40, 30, 10, .04), 0 28px 56px -30px rgba(70, 52, 18, .32);
  --shadow-soft: 0 18px 40px -24px rgba(70, 52, 18, .28);
  --sec-pad: clamp(44px, 5.2vw, 72px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16.5px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
sup { font-size: .55em; line-height: 0; vertical-align: super; font-family: var(--sans); font-weight: 600; }
sup a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; transition: top .2s ease; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--fill { fill: currentColor; stroke: none; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
/* Section rhythm, site-wide (18 Oct revision: tighter gaps between sections). */
.section { padding-block: var(--sec-pad); }
/* Consecutive sections on the same background share one gap, not two. */
.section--flush { padding-top: 0; }

/* ---------- Type ---------- */
.eyebrow {
  display: block; font: 500 10.5px/1.4 var(--mono); letter-spacing: .28em;
  text-transform: uppercase; color: var(--gold-ink); margin-bottom: 18px;
}
.display, .h2, .h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); letter-spacing: -.015em; }
.display { font-size: clamp(42px, 4.9vw, 62.7px); line-height: 1.04; }
.display em { font-style: italic; color: var(--gold-ink); }
.h2 { font-size: clamp(32px, 3.44vw, 44px); line-height: 1.03; max-width: 620px; }
.h2--sm { font-size: clamp(30px, 3.28vw, 42px); }
.h3 { font-size: 21px; line-height: 1.2; letter-spacing: -.01em; }
.lead { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); max-width: 600px; }
.mono { font-family: var(--mono); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 25px; border-radius: 999px; border: 1px solid transparent;
  font: 600 14px/1 var(--sans); letter-spacing: -.005em; white-space: nowrap; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold {
  background: var(--gold-grad); color: var(--btn-ink); border-color: rgba(150, 112, 28, .35);
  box-shadow: inset 0 1px 0 rgba(255, 246, 214, .7), 0 8px 18px -8px rgba(150, 110, 25, .55);
}
.btn--gold:hover { box-shadow: inset 0 1px 0 rgba(255, 246, 214, .7), 0 12px 24px -10px rgba(150, 110, 25, .6); }
.btn--ghost { background: #faf9f5; color: var(--ink); border-color: #e2dbcd; }
.btn--ghost:hover { border-color: #cfc6b4; background: #fff; }
.btn--ghost-dark { background: transparent; color: #f0ede6; border-color: rgba(240, 237, 230, .32); }
.btn--ghost-dark:hover { border-color: rgba(240, 237, 230, .6); }
.btn--sm { height: 44px; padding: 0 21px; font-size: 13.5px; }
.btn--outline { background: #fff; color: var(--ink); border-color: #c9b98f; }
.btn--outline:hover { border-color: var(--gold); background: #fffdf8; }
.btn .icon { width: 15px; height: 15px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font: 500 10.5px/1 var(--mono);
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink);
}
.link-arrow .icon { width: 14px; height: 14px; transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--topbar); font: 400 10px/32px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.topbar .wrap { display: flex; justify-content: space-between; gap: 24px; white-space: nowrap; overflow: hidden; }
.topbar strong { font-weight: 500; color: var(--gold-ink); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(249, 248, 244, .92); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); }
.site-header .wrap { display: flex; align-items: center; height: 73px; gap: 24px; }
.brand { display: inline-flex; align-items: center; margin-right: auto; }
.brand img { height: 35px; width: auto; } /* same height as the live site header logo */
.footer__brand .brand img { height: 32px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px; padding: 8px 0; background: none; border: 0; cursor: pointer;
  font: 400 14px/1 var(--sans); color: var(--ink-2); transition: color .2s ease;
}
.nav__link:hover, .nav__item.is-open > .nav__link { color: var(--ink); }
.nav__link .icon { width: 12px; height: 12px; transition: transform .2s ease; }
.nav__item.is-open > .nav__link .icon { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 12px); left: -18px; min-width: 232px; padding: 10px;
  background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav__menu::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge across the gap */
.nav__item.is-open > .nav__menu, .nav__item:hover > .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; line-height: 1.35; color: var(--ink-2); }
.nav__menu a:hover { background: var(--band); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 6px; padding-left: 22px; border-left: 1px solid var(--line-2); }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; place-items: center; cursor: pointer; }
.menu-toggle .icon { width: 20px; height: 20px; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(11, 15, 20, .45); opacity: 0; transition: opacity .25s ease; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; inset: 0 0 0 auto; width: min(360px, 88vw); background: var(--bg); padding: 20px 22px 32px;
  overflow-y: auto; transform: translateX(100%); transition: transform .28s ease; box-shadow: -20px 0 40px -20px rgba(0,0,0,.3);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer__close { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; cursor: pointer; }
.drawer__close .icon { width: 18px; height: 18px; }
.drawer__group { border-top: 1px solid var(--line); padding: 14px 0 10px; }
.drawer__title { font: 500 9.5px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 8px; }
.drawer__group a { display: block; padding: 8px 0; font-size: 15px; color: var(--ink-2); }
.drawer__actions { display: grid; gap: 10px; margin: 6px 0 18px; }
.drawer__actions .btn { width: 100%; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(ellipse 60% 70% at 88% 0%, #f1ead9 0%, rgba(241, 234, 217, 0) 70%), #f8f7f3; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 523px; gap: 64px; align-items: center; padding-block: 72px 56px; }
.hero .lead { margin-top: 30px; max-width: 540px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero-card {
  position: relative; height: 412px; border-radius: var(--radius); overflow: hidden; color: #faf7ef;
  background: #1a1f26 url('../img/building.jpg') center / cover no-repeat;
  box-shadow: 0 2px 4px rgba(20, 16, 8, .1), 0 40px 70px -30px rgba(30, 24, 10, .55);
}
.hero-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 13, 18, 0) 45%, rgba(10, 13, 18, .72) 100%); }
.hero-card__caption { position: absolute; left: 25px; right: 25px; bottom: 32px; z-index: 1; min-height: 70px; }
.hero-slide { position: absolute; left: 0; bottom: 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .6s ease, transform .6s ease, visibility .6s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transform: none; }
.hero-slide__value { font: 400 36px/1.1 var(--serif); letter-spacing: -.01em; color: #faf7ef; }
.hero-slide__label { margin-top: 12px; font: 400 9.5px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); }
.hero .wrap > * { min-width: 0; }
.hero-dots { position: absolute; right: 19px; bottom: 25px; z-index: 1; display: flex; }
.hero-dots button { width: 14px; height: 24px; padding: 0; border: 0; background: none; display: grid; place-items: center; cursor: pointer; }
.hero-dots button::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: rgba(250, 247, 239, .35); transition: background-color .3s ease, transform .3s ease; }
.hero-dots button.is-active::after { background: var(--gold-soft); transform: scale(1.15); }

/* ---------- Trust strip & stats ---------- */
.trust { border-block: 1px solid var(--line-2); }
.trust .wrap { display: flex; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; padding-block: 15px; font: 400 10px/1.5 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* Design: the stats row runs 27px wider than the content column on each side. */

/* ---------- Products ("What we manage") ---------- */
.products { padding-top: var(--sec-pad); }
.products .lead { margin-top: 26px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.pcard {
  position: relative; isolation: isolate; display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: linear-gradient(180deg, #fdfcf9 0%, #f7f2e8 100%); padding: 28px; overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.pcard:hover { border-color: #cdbf9f; box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.pcard__icon { width: 25px; height: 25px; border-radius: 7px; background: linear-gradient(180deg, #f0e3c0 0%, #e3d1a1 100%); box-shadow: inset 0 0 0 1px rgba(160, 125, 40, .22), inset 0 1px 0 rgba(255, 255, 255, .7); margin-bottom: 23px; }
.pcard__tag { font: 400 9.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.pcard__desc { margin-top: 12px; font-size: 14px; line-height: 1.62; color: var(--ink-2); }
.pcard__note { position: relative; z-index: 2; }
.pcard__head .h3 { font-size: 23px; }
.pcard__tag { display: block; margin-bottom: 14px; }
.pcard__benefits { margin-top: 20px; border-top: 1px solid var(--line); }
.pcard__benefits li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.pcard__benefits li:last-child { border-bottom: 0; }
.pcard__benefits img { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: #f5eddc; }
.pcard__benefits strong { display: block; margin-bottom: 3px; font: 400 16px/1.3 var(--serif); color: var(--ink); }
/* SIP contribution chart (Mutual Funds card) */
.sip-chart { margin-top: 26px; }
.sip-chart figcaption { display: block; }
.sip-chart__title { display: block; font: 400 20px/1.2 var(--serif); color: var(--ink); }
.sip-chart__sub { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.sip-chart__bars { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); column-gap: 8px; align-items: end; height: 230px; margin-top: 20px; }
.sip-chart__bars li { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.sip-chart__val { font: 500 10.5px/1 var(--sans); color: var(--ink); margin-bottom: 6px; white-space: nowrap; }
.sip-chart__bar { width: 100%; max-width: 46px; height: calc(var(--h) * .7); border-radius: 5px 5px 0 0; background: linear-gradient(180deg, #c49a55 0%, #ddbf8c 100%); box-shadow: 0 1px 0 var(--line-2); }
.sip-chart__fy { width: 100%; margin-top: 8px; padding-top: 6px; border-top: 1px solid var(--line-2); font: 400 10px/1.25 var(--sans); color: var(--muted); text-align: center; }
.sip-chart__fy span { display: block; }
.sip-chart__src { position: relative; z-index: 2; margin-top: 14px; font-size: 12px; color: var(--muted); }
.sip-chart__src a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 2px; }
.pcard__more { margin-top: auto; padding-top: 18px; }
.pcard__more, .pcard__tag { pointer-events: none; } /* clicks fall through to the card link */
.pcard--feature { grid-column: span 2; min-height: 300px; background: var(--card); padding-top: 28px; }
.pcard--feature::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .9;
  background: linear-gradient(180deg, rgba(252, 250, 245, 0) 0%, rgba(252, 250, 245, .35) 40%, #fcfaf5 78%), url('../img/texture-paper.jpg') center / cover;
}
.pcard--feature .pcard__head .h3 { font-size: 30px; }
.pcard--global { grid-column: span 1; }
.pcard--global .pcard__head .h3 { font-size: 23px; }

/* ---------- Why (Trust / Expertise / Consistency) ---------- */
.why__grid { display: grid; grid-template-columns: 455px minmax(0, 1fr); gap: 56px; margin-top: 50px; align-items: start; }
.photo-card {
  position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(160, 140, 100, .25);
  background: #d9d0bd url('../img/texture-paper.jpg') center / cover; box-shadow: 0 2px 4px rgba(40, 30, 10, .06), 0 40px 70px -34px rgba(60, 45, 15, .5);
}
.photo-card--why { height: 341px; }
.photo-card--why::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(248, 244, 234, 0) 35%, rgba(244, 238, 225, .75) 100%); }
.photo-card__text { position: absolute; left: 31px; right: 31px; bottom: 32px; z-index: 1; font: 400 27px/1.15 var(--serif); letter-spacing: -.01em; color: #2e2618; max-width: 300px; }
.photo-card--photo { background: #e8dfcc; }
.photo-card--photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-card--photo::after { display: none; }
.why__grid .photo-card--why { height: auto; aspect-ratio: 4 / 3; }
.numlist__item--icon { grid-template-columns: 76px minmax(0, 1fr); gap: 4px; }
.numlist__badge { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #f3ecdc; color: var(--gold-ink); }
.numlist__badge .icon { width: 26px; height: 26px; }
.numlist__item--icon .numlist__num { display: block; margin-bottom: 4px; }
.numlist__item { display: grid; grid-template-columns: 64px minmax(0, 1fr); padding: 28px 0; border-bottom: 1px solid var(--line); }
.numlist__item:first-child { padding-top: 0; }
.numlist__item:last-child { border-bottom: 0; }
.numlist__num { font: 400 11px/1.9 var(--mono); letter-spacing: .1em; color: var(--gold-ink); }
.numlist__title { font: 400 20px/1.3 var(--serif); letter-spacing: -.01em; }
.numlist__desc { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); max-width: 450px; }

/* ---------- Band (calculators) ---------- */
.band { background: linear-gradient(180deg, #f4f1e8 0%, var(--band) 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band__grid { display: grid; grid-template-columns: minmax(0, 1fr) 581px; gap: 56px; align-items: center; }
.band .lead { margin-top: 26px; max-width: 470px; }

/* ---------- Split (data security) ---------- */
.split__grid { display: grid; grid-template-columns: 455px minmax(0, 1fr); gap: 56px; align-items: center; }
.photo-card--split { height: 421px; background-image: url('../img/texture-drape.jpg'); }
.split .lead { margin-top: 26px; max-width: 560px; }
.ticks { margin-top: 30px; }
.ticks li { display: grid; grid-template-columns: 27px minmax(0, 1fr); padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.ticks li:last-child { border-bottom: 0; }
.ticks li::before { content: ''; width: 11px; height: 11px; margin-top: 6px; border-radius: 50%; border: 1.5px solid var(--gold); }
.ticks strong { font-weight: 600; color: var(--ink); }
.gov-list { margin-top: 28px; }
.gov-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); padding: 16px 0; border-bottom: 1px solid var(--line); }
.gov-list li:last-child { border-bottom: 0; }
.gov-list__num { font: 400 22px/1.1 var(--serif); color: var(--gold-ink); }
.gov-list__title { font: 400 18px/1.3 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.gov-list p { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.split__grid .photo-card--split { height: auto; aspect-ratio: 3 / 2; align-self: center; }
.cert-title { margin: 34px 0 14px; }
.cert-title + .cert-links { margin-top: 0; }
.cert-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.cert-links a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid #e2dbcd; background: #fff; font-size: 13px; color: var(--ink); transition: border-color .2s ease, transform .2s ease; }
.cert-links a:hover { border-color: var(--gold); transform: translateY(-1px); }
.cert-links .icon { width: 13px; height: 13px; color: var(--gold-ink); }

/* ---------- Columns (accounts) ---------- */
.cols { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; border-top: 1.5px solid var(--ink); }
.col { padding: 33px 24px 8px 0; }
.col + .col { border-left: 1px solid #eae6de; padding-left: 0; }
.col + .col > * { margin-left: 1px; }
.col__num { font: 400 11px/1 var(--mono); letter-spacing: .13em; color: var(--gold-ink); }
.col__title { font: 400 22px/1.2 var(--serif); letter-spacing: -.01em; }
.col__title .col__num { margin-right: 8px; vertical-align: .3em; }
.col__desc { margin-top: 14px; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.col .link-arrow { margin-top: 20px; }
.accounts .lead { margin-top: 22px; }

/* ---------- Insights (learning academy) ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.tab {
  height: 38px; padding: 0 18px; border-radius: 999px; border: 1px solid #e2dbcd; background: transparent; cursor: pointer;
  font: 500 10.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); transition: all .2s ease;
}
.tab:hover { border-color: #cfc6b4; color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #f9f8f4; }
.tabpanel { margin-top: 36px; }
.tabpanel[hidden] { display: none; }
.insight-grid { display: grid; grid-template-columns: 637fr 469fr; gap: 17px; }
.icard { position: relative; display: flex; border: 1px solid #e3dccf; border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; }
.icard:hover { box-shadow: var(--shadow-soft); transform: translateY(-2px); border-color: #d3c8b3; }
.icard__media { background: #151a21 center / cover no-repeat; flex: none; }
.icard__body { display: flex; flex-direction: column; }
.icard__cat { font: 500 10.5px/1 var(--mono); letter-spacing: .25em; text-transform: uppercase; color: var(--gold-ink); }
.icard__title { margin-top: 14px; font: 400 18px/1.2 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.icard__title a::after { content: ''; position: absolute; inset: 0; }
.icard__desc { margin-top: 10px; font-size: 13px; line-height: 1.62; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.icard__meta { margin-top: auto; padding-top: 16px; font: 400 10px/1 var(--mono); letter-spacing: .19em; text-transform: uppercase; color: var(--muted); }
.icard--feature { grid-row: span 2; flex-direction: column; }
.icard--feature .icard__media { height: 236px; background-image: url('../img/insight-feature.jpg'); }
.icard--feature .icard__body { flex: 1; padding: 29px 25px 32px; }
.icard--feature .icard__title { font-size: 24px; line-height: 1.2; max-width: 560px; }
.icard--feature .icard__desc { font-size: 14px; max-width: 520px; }
.icard--side .icard__media { width: 124px; }
.icard--side .icard__body { flex: 1; padding: 28px 24px 28px 21px; }
.icard--side:nth-of-type(2) .icard__media { background-image: url('../img/insight-thumb-1.jpg'); }
.icard--side:nth-of-type(3) .icard__media { background-image: url('../img/insight-thumb-2.jpg'); }
.insights__more { margin-top: 32px; text-align: center; }
.insights__more .btn { color: var(--gold-ink); min-width: 240px; }
.faq-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.faq-cards a { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; min-height: 112px; padding: 22px 24px; border: 1px solid #e3dccf; border-radius: var(--radius); background: var(--surface); font: 400 18px/1.35 var(--serif); letter-spacing: -.01em; color: var(--ink); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.faq-cards a:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.faq-cards .icon { width: 16px; height: 16px; color: var(--gold-ink); }

/* FAQ */
.faq-intro { font-size: 15px; color: var(--ink-2); max-width: 760px; }
.faq-intro a, .faq a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.faq-cat { margin-top: 40px; }
.faq-cat__title { font: 500 10.5px/1.5 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); padding-bottom: 14px; border-bottom: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; cursor: pointer; list-style: none; font: 400 18px/1.35 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 18px; height: 18px; color: var(--gold-ink); transition: transform .25s ease; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq__a { padding: 0 48px 22px 0; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.faq__a p + p, .faq__a p + ul, .faq__a ul + p, .faq__a table + p { margin-top: 12px; }
.faq__a ul { margin: 10px 0; padding-left: 20px; list-style: disc; }
.faq__a li + li { margin-top: 6px; }
.faq__a strong { color: var(--ink); font-weight: 600; }
.risk-table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 13px; }
.risk-table th, .risk-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.risk-table th { font: 500 9.5px/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); border-bottom-color: var(--ink); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- Testimonials ---------- */

/* ---------- App band ---------- */
.app-band { border-top: 1px solid var(--line); background: radial-gradient(ellipse 60% 80% at 90% 50%, #f3ead6 0%, rgba(243, 234, 214, 0) 70%), var(--bg); }
.app-band__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 56px; align-items: center; }
.app-band .lead { margin-top: 24px; }
.app-band__media { aspect-ratio: 3 / 2; }

/* ---------- CTA ---------- */
.cta { position: relative; color: #fbf8f1; text-align: center; background: var(--night) url('../img/building.jpg') center 60% / cover no-repeat; }
.cta::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 15, 20, .9) 0%, rgba(11, 15, 20, .82) 55%, rgba(11, 15, 20, .93) 100%); }
.cta .wrap { position: relative; padding-block: 118px 101px; }
.cta h2 { font: 400 clamp(32px, 3.6vw, 46px)/1.08 var(--serif); letter-spacing: -.015em; color: #fbf8f1; }
.cta p { max-width: 500px; margin: 22px auto 0; font-size: 16px; line-height: 1.66; color: #c4cad2; }
.cta__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 13px; margin-top: 36px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg); padding-top: 56px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr 1.4fr; gap: 0; }
.footer__grid > * + * { padding-left: 36px; border-left: 1px solid var(--line); }
.footer__about { margin-top: 18px; font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 260px; }
.footer__head { font: 400 22px/1.2 var(--serif); letter-spacing: -.01em; color: var(--ink); margin-bottom: 22px; padding-bottom: 14px; position: relative; }
.footer__head::after { content: ''; position: absolute; left: 0; bottom: 0; width: 32px; height: 1.5px; background: var(--gold); }
.footer__head a:hover { color: var(--gold-ink); }
.footer__links a { display: block; padding: 5px 0; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); transition: color .2s ease; }
.footer__links a:hover { color: var(--ink); }
.footer__contact { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.footer__line { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.footer__line + .footer__line { margin-top: 14px; }
.footer__line .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--gold-ink); }
.footer__line strong { display: block; font-weight: 600; color: var(--ink); }
.footer__contact a { overflow-wrap: anywhere; }
.footer__contact a:hover { color: var(--ink); }
.footer__connect { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px 40px; margin-top: 48px; padding-block: 24px; border-block: 1px solid var(--line); }
.footer__follow, .footer__download { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; }
.footer__subhead { font: 400 18px/1.2 var(--serif); color: var(--ink); }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #c4923f; color: #fff; transition: background-color .2s ease, transform .2s ease; }
.social a:hover { background: var(--gold-ink); transform: translateY(-1px); }
.social .icon { width: 17px; height: 17px; }
.apps { display: flex; flex-wrap: wrap; gap: 10px; }
.apps img { height: 40px; width: auto; }
.footer__legal { padding: 22px 0 64px; text-align: center; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.footer__legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; margin-bottom: 14px; }
.footer__legal-links a { font-size: 13px; color: var(--ink-2); }
.footer__legal-links a:hover { color: var(--ink); }
.footer__legal-links a + a::before { content: '\2022'; margin: 0 7px; color: var(--gold); }
.footer__reg { font-size: 16px; line-height: 1.6; color: var(--ink); } /* kept at 1rem (SEBI readability) */
.footer__reg span { margin: 0 6px; color: var(--gold); }
.footer__office { margin-top: 8px; }
.footer__disclaimer { max-width: 980px; margin: 8px auto 0; }
.footer__copy { margin-top: 12px; color: var(--muted); }

/* Floating WhatsApp (mobile) */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: #fff; display: none; place-items: center; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35); }
.wa-float .icon { width: 26px; height: 26px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(11, 15, 20, .55); opacity: 0; transition: opacity .25s ease; }
.modal[hidden] { display: none !important; }
.modal.is-open { opacity: 1; }
.modal__box { position: relative; width: min(440px, 100%); background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 34px 30px 28px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); transform: translateY(12px); transition: transform .25s ease; }
.modal.is-open .modal__box { transform: none; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; cursor: pointer; }
.modal__close .icon { width: 16px; height: 16px; }
.modal h2 { font: 400 28px/1.12 var(--serif); letter-spacing: -.01em; padding-right: 40px; }
.modal p.lead { margin-top: 10px; font-size: 14.5px; }
.field { margin-top: 16px; }
.field label { display: block; margin-bottom: 6px; font: 500 9.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.field input { width: 100%; height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid #ddd5c5; background: #fff; font-size: 15px; transition: border-color .2s ease, box-shadow .2s ease; }
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(194, 154, 44, .18); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.consent input { margin-top: 3px; accent-color: var(--gold); }
.consent a { color: var(--gold-ink); text-decoration: underline; }
.modal .btn { width: 100%; margin-top: 20px; }
.form-status { min-height: 1.4em; margin-top: 12px; font-size: 13.5px; text-align: center; }
.form-status.is-success { color: #2f6b32; }
.form-status.is-error { color: #a33a2b; }
body.is-locked { overflow: hidden; }

/* ---------- Reveal on scroll ---------- */
/* Only hidden once the inline <head> script has marked the page as JS-capable. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 18px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 44px; }
  .band__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 40px; }
  .why__grid, .split__grid { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 44px; }
}
@media (max-width: 1024px) {
  .nav, .header-actions .nav__link, .header-actions .btn { display: none; }
  .menu-toggle { display: grid; }
  .topbar .wrap > span:first-child { display: none; }
  .topbar .wrap { justify-content: center; text-align: center; white-space: normal; line-height: 1.6; padding-block: 7px; }
  .hero .wrap { grid-template-columns: 1fr; padding-block: 56px 48px; }
  .hero-card { height: 360px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .pcard--feature { grid-column: span 2; }
  .pcard--global { grid-column: span 2; }
  .band__grid, .why__grid, .split__grid { grid-template-columns: 1fr; }
  .photo-card--why, .photo-card--split { height: 300px; }
  .cols { grid-template-columns: repeat(2, 1fr); }
  .col:nth-child(3) { border-left: 0; }
  .col:nth-child(n+3) { border-top: 1px solid #eae6de; margin-top: 8px; }
  .insight-grid { grid-template-columns: 1fr; }
  .icard--feature { grid-row: auto; }
  .footer__grid { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__grid > .footer__links:first-of-type { padding-left: 0; border-left: 0; }
  .app-band__grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .topbar { font-size: 9px; letter-spacing: .14em; }
  .brand img { height: 30px; }
  .site-header .wrap { height: 64px; }
  html { scroll-padding-top: 76px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero-card { height: 300px; }
  .hero-slide__value { font-size: 30px; }
  .trust .wrap { justify-content: flex-start; font-size: 9.5px; letter-spacing: .16em; }
  .product-grid { grid-template-columns: 1fr; }
  .pcard--feature, .pcard--global { grid-column: auto; }
  .pcard--feature .pcard__head .h3 { font-size: 26px; }
  .cols { grid-template-columns: 1fr; }
  .col, .col + .col { border-left: 0; padding: 26px 0 22px; }
  .col + .col { border-top: 1px solid #eae6de; margin-top: 0; }
  .col__title { margin-top: 16px; }
  .icard--side { flex-direction: column; }
  .icard--side .icard__media { width: 100%; height: 150px; }
  .cta .wrap { padding-block: 84px 80px; }
  .cta__btns .btn { flex: 1 1 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > * + * { padding-left: 20px; }
  .footer__connect { flex-direction: column; align-items: flex-start; }
  .footer__legal-links { gap: 6px 16px; }
  .footer__legal-links a + a::before { display: none; }
  .faq-cards { grid-template-columns: 1fr; }
  .faq-cards a { min-height: 0; }
  .sip-chart__bars { column-gap: 3px; height: 210px; }
  .sip-chart__val { font-size: 8.5px; writing-mode: vertical-rl; transform: rotate(180deg); }
  .sip-chart__fy { font-size: 8.5px; }
  .wa-float { display: grid; }
}

/* ==========================================================================
   Client revision, 17 Oct 2026 (home + shared). Later rules here win over the
   originals above on purpose — read this block together with them.
   ========================================================================== */
:root {
  /* Subtler gold for primary buttons (client: "tone down the gold"). */
  --gold-grad: linear-gradient(160deg, #e8d7a6 0%, #dcc58a 50%, #cfb274 100%);
  /* Two alternating section backgrounds, site-wide (client: "beige and brown"). */
  --sec-a: #f9f8f4;
  --sec-b: #efe5d3;
}
.btn--gold { border-color: rgba(150, 112, 28, .22); box-shadow: inset 0 1px 0 rgba(255, 250, 232, .7), 0 6px 14px -8px rgba(150, 110, 25, .4); }
.btn--gold:hover { box-shadow: inset 0 1px 0 rgba(255, 250, 232, .7), 0 10px 20px -10px rgba(150, 110, 25, .45); }

/* Alternating section backgrounds. Sections with their own imagery or dark bands keep theirs. */
main > section:nth-of-type(odd):not(.hero, .page-hero, .cta, .footprint, .team-band, .next-band) { background: var(--sec-a); }
main > section:nth-of-type(even):not(.hero, .page-hero, .cta, .footprint, .team-band, .next-band) { background: var(--sec-b); }
main > section.section--flush { padding-top: var(--sec-pad); }
main > section + section { border-top: 1px solid var(--line); }

/* Hero: headline in one font; metrics integrated at the bottom of the hero. */
.display { font-size: clamp(40px, 4.5vw, 58px); }
.hero .wrap.hero__metrics { display: block; padding-block: 0 72px; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.metric {
  display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 20px 24px;
  border: 1px solid rgba(194, 154, 44, .32); border-radius: 18px; background: rgba(255, 253, 248, .82);
  box-shadow: 0 1px 2px rgba(40, 30, 10, .04), 0 22px 40px -28px rgba(70, 52, 18, .35);
}
.metric__icon { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px rgba(194, 154, 44, .45), 0 10px 22px -14px rgba(120, 90, 30, .5); }
.metric__icon img { width: 52px; height: 52px; }
.metric__value { margin-top: 18px; padding-bottom: 14px; width: 100%; border-bottom: 1px solid rgba(194, 154, 44, .3); font: 400 34px/1.1 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.metric__value small { margin-left: 5px; font-size: .58em; color: var(--gold-ink); letter-spacing: 0; }
.metric__value sup { font-size: .32em; color: var(--muted); }
.metric__text { margin-top: 14px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }

/* Products */
.products__title { max-width: 980px; font-size: clamp(30px, 3vw, 40px); }
.pcard .h3, .pcard--feature .pcard__head .h3, .pcard--global .pcard__head .h3 { font-size: 27px; line-height: 1.15; }
.pcard__more { margin-top: auto; padding-top: 22px; text-align: center; pointer-events: auto; }
.pcard__cta { height: auto; min-height: 44px; padding: 11px 22px; white-space: normal; text-align: center; line-height: 1.3; font-size: 13.5px; color: var(--gold-ink); border-color: #cdb98b; }
.pcard__cta:hover { color: var(--ink); }
.pcard__benefits { margin-top: 18px; }
.pcard__benefits li { padding: 12px 0; }
.sip-chart__bars { height: 190px; }

/* Why choose Moneyfrog: larger photo, balanced with the list; number on the heading line. */
.why { padding-bottom: clamp(56px, 6vw, 84px); }
.why__grid--balanced { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: stretch; margin-top: 40px; }
.why__media { height: 100%; min-height: 340px; }
.numlist--inline .numlist__item { align-items: center; padding: 22px 0; }
.numlist--inline .numlist__item:first-child { padding-top: 0; }
.numlist--inline .numlist__item:last-child { padding-bottom: 0; }
.numlist--inline .numlist__num { display: inline; margin: 0 8px 0 0; font-size: 13px; vertical-align: .15em; }

/* Governance: image matches the text column; Privacy Policy button. */
.split__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.split__grid .gov__media { height: 100%; min-height: 360px; aspect-ratio: auto; align-self: stretch; }
.gov-cta { margin-top: 26px; }

/* Testimonials: card carousel (shared by every page). */
.testimonials__head { text-align: center; }
.testimonials__head .h2 { margin-inline: auto; max-width: 820px; }
.tcarousel { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 14px; margin-top: 40px; }
.tcarousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 14px; margin: 0;
}
.tcarousel__track::-webkit-scrollbar { display: none; }
.tcard { scroll-snap-align: start; display: flex; flex-direction: column; padding: 28px 26px 24px; border: 1px solid #e6dcc8; border-radius: 18px; background: #fff; box-shadow: 0 18px 36px -28px rgba(70, 52, 18, .35); }
.tcard__top { display: flex; justify-content: space-between; align-items: flex-start; }
.tcard__stars { display: flex; gap: 4px; color: #d4a937; }
.tcard__stars .icon { width: 17px; height: 17px; }
.tcard__mark { font: 400 60px/.7 var(--serif); color: #e9dcb8; }
.tcard__text { margin-top: 14px; font-size: 14.5px; line-height: 1.7; font-style: italic; color: var(--ink-2); flex: 1; }
.tcard__by { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.tcard__avatar { width: 56px; height: 56px; flex: none; border-radius: 50%; object-fit: cover; border: 2px solid #d8bf7c; background: #f1e7d0; display: grid; place-items: center; font: 500 13px/1 var(--mono); color: var(--gold-ink); }
.tcard__by strong { display: block; font: 600 15px/1.3 var(--sans); color: var(--ink); }
.tcard__by span span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.tcarousel__arrow { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid #cdb279; background: #fff; color: var(--gold-ink); display: grid; place-items: center; cursor: pointer; transition: background-color .2s ease, opacity .2s ease; }
.tcarousel__arrow:hover { background: #fbf5e6; }
.tcarousel__arrow:disabled { opacity: .35; cursor: default; }
.tcarousel__arrow .icon { width: 18px; height: 18px; }
.tcarousel__dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tcarousel__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: #d9cfbb; cursor: pointer; transition: width .25s ease, background-color .25s ease; }
.tcarousel__dots button.is-active { width: 28px; background: #c4a25a; }
.testimonials__cta { margin-top: 30px; text-align: center; }

/* Footer: contact under the brand; Resources column; app badges in beige/gold; rules between legal rows. */
.footer__grid { grid-template-columns: 1.45fr 1fr 1fr 1fr; }
.footer__brand .footer__contact { margin-top: 24px; }
.social a { background: #c9a96a; }
.social a:hover { background: #a98a4c; }
.social .icon { width: 18px; height: 18px; }
.app-badge { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 14px; border-radius: 10px; background: #d8c08a; color: #2a1f08; border: 1px solid rgba(150, 112, 28, .25); transition: background-color .2s ease; }
.app-badge:hover { background: #ceb47a; }
.app-badge .icon { width: 22px; height: 22px; }
.app-badge span { display: flex; flex-direction: column; font: 600 16px/1.1 var(--sans); }
.app-badge small { font: 500 10px/1.2 var(--sans); letter-spacing: .02em; text-transform: uppercase; }
.footer__legal { padding: 0 0 56px; }
.footer__legal > * { padding-block: 16px; }
.footer__legal > * + * { border-top: 1px solid var(--line); }
.footer__legal-links { margin-bottom: 0; }
.footer__disclaimer { max-width: 1040px; margin: 8px auto 0; }
.footer__disclaimer a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.footer__copy { margin-top: 0; }

@media (max-width: 1024px) {
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why__grid--balanced, .split__grid { grid-template-columns: 1fr; }
  .why__media, .split__grid .gov__media { min-height: 0; aspect-ratio: 3 / 2; height: auto; }
  .tcarousel__track { grid-auto-columns: calc((100% - 20px) / 2); }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__grid > .footer__links:nth-of-type(1) { padding-left: 0; border-left: 0; }
}
@media (max-width: 720px) {
  .hero .wrap.hero__metrics { padding-bottom: 48px; }
  .metrics { gap: 12px; }
  .metric { padding: 20px 12px; }
  .metric__icon { width: 64px; height: 64px; }
  .metric__icon img { width: 40px; height: 40px; }
  .metric__value { font-size: 24px; }
  .metric__text { font-size: 12.5px; }
  .pcard .h3, .pcard--feature .pcard__head .h3, .pcard--global .pcard__head .h3 { font-size: 24px; }
  .tcarousel { grid-template-columns: minmax(0, 1fr); }
  .tcarousel__arrow { display: none; }
  .tcarousel__track { grid-auto-columns: 86%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__grid > .footer__links:nth-of-type(1) { padding-left: 0; border-left: 0; }
  .footer__grid > .footer__links:nth-of-type(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 420px) {
  .metrics { grid-template-columns: 1fr; }
}
.testimonials__cta .btn { height: auto; min-height: 50px; padding-block: 12px; white-space: normal; text-align: center; line-height: 1.3; max-width: 100%; }
.metric__value--long { font-size: 27px; white-space: nowrap; }
.metric__value--long small { font-size: .64em; }
.sip-chart__bars { height: 240px; }
/* Seven product cards on a 6-column grid: 4+2, 2+2+2, 3+3 — no empty slot in the last row. */
@media (min-width: 1025px) {
  .product-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .product-grid > .pcard { grid-column: span 2; }
  .product-grid > .pcard--feature { grid-column: span 4; }
  .product-grid > .pcard--global { grid-column: span 2; }
  .product-grid > .pcard:nth-child(6), .product-grid > .pcard:nth-child(7) { grid-column: span 3; }
}
@media (max-width: 720px) {
  .metric__value--long { font-size: 20px; white-space: normal; }
}
.footer__legal-links a { font-size: 12.5px; }
.footer__legal-links a + a::before { margin: 0 6px; }
@media (max-width: 720px) { .footer__legal-links a + a::before { display: none; } }

/* ==========================================================================
   Client revision, 18 Oct 2026 (home + site-wide). Later rules win over the
   blocks above on purpose. Section spacing itself is the --sec-pad token.
   ========================================================================== */

/* Hero: less space under the header; the four metrics sit right under the buttons
   so headline, CTAs and credibility points share the first screen. */
.hero .wrap { grid-template-columns: minmax(0, 1fr) 410px; gap: 48px; padding-block: 36px 48px; }
.hero .lead { margin-top: 22px; }
.hero__ctas { margin-top: 28px; }
.hero-card { height: 400px; }
.hero h1 { max-width: 620px; }
/* Metric columns hug their content and pack to the left (19 Oct: "left align, too much space"). */
.hero-metrics { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; grid-template-rows: auto auto; column-gap: 0; margin-top: 32px; }
.hero-metric { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 6px; padding: 2px 22px; border-left: 1px solid var(--line-2); }
.hero-metric:first-child { padding-left: 0; border-left: 0; }
.hero-metric__value { align-self: start; font: 600 15px/1.3 var(--sans); color: var(--ink); }
.hero-metric__label { align-self: start; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.hero-metric sup { color: var(--muted); }
/* Desktop: keep each figure on one line so every column hugs its text. A wrapped figure
   ("155+ Cities | 18 Countries") kept its full column width and left a wider gap before
   the next divider. The four figures fit the 668px hero column (~656px). */
@media (min-width: 1025px) {
  .hero-metric__value { white-space: nowrap; }
}

/* Products: compact tiles; CTAs stay aligned at the bottom of each row. */
.product-grid > .pcard { padding: 22px 22px 20px; }
.pcard--feature { min-height: 0; padding-top: 24px; }
.pcard .h3, .pcard--feature .pcard__head .h3, .pcard--global .pcard__head .h3 { font-size: 25px; }
.pcard__desc { margin-top: 8px; font-size: 13px; line-height: 1.55; }
.pcard__benefits { margin-top: 14px; }
.pcard__benefits li { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 8px 0; font-size: 12.5px; line-height: 1.5; }
.pcard__benefits img { width: 34px; height: 34px; padding: 7px; }
.pcard__benefits strong { margin-bottom: 1px; font-size: 15px; }
.pcard__more { padding-top: 14px; }
.sip-chart { margin-top: 14px; }
.sip-chart__bars { height: 156px; margin-top: 10px; }
@media (min-width: 1025px) {
  /* 12 columns: 8+4, 4+4+4, then Insurance and Tax at the same width as the row above, centred. */
  .product-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .product-grid > .pcard { grid-column: span 4; }
  .product-grid > .pcard--feature { grid-column: span 8; }
  .product-grid > .pcard--global { grid-column: span 4; }
  .product-grid > .pcard:nth-child(6) { grid-column: 3 / span 4; }
  .product-grid > .pcard:nth-child(7) { grid-column: 7 / span 4; }
}

/* Why choose Moneyfrog: the photo bleeds to the left edge and fades into the section. */

/* Governance & Compliance: heading on top, image beside the numbered points. */
.gov__head .h2 { max-width: none; }
.gov__head .lead { margin-top: 18px; max-width: 780px; }
.gov__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 32px; }
.gov__grid .gov__media { aspect-ratio: 3 / 2; }
.gov__body .gov-list { margin-top: 0; }
.gov__body .gov-list li:first-child { padding-top: 0; }
.gov-cta { margin-top: 18px; }

/* Learning Academy: topic artwork thumbnails (one shared style). */
.icard__media--art { background-color: #151a21; background-size: contain; background-position: center; background-repeat: no-repeat; }

/* Testimonials: heading left-aligned like every other section; tighter spacing. */
.testimonials__head { text-align: left; }
.testimonials__head .h2 { margin-inline: 0; }
.tcarousel { margin-top: 26px; }
.tcarousel__dots { margin-top: 10px; }
.testimonials__cta { margin-top: 20px; }

/* Closing CTA band (all pages): advisor photo on the right, copy on the left under a gold rule. */
.cta { overflow: hidden; color: var(--ink); text-align: left; background: #f4eee3; }
.cta::before { content: none; }
.cta__media { position: absolute; inset: 0 0 0 auto; width: 62%; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.cta__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #f4eee3 0%, rgba(244, 238, 227, .9) 22%, rgba(244, 238, 227, 0) 52%); }
.cta .wrap { position: relative; z-index: 1; padding-block: clamp(56px, 7vw, 100px); }
.cta__body { max-width: 480px; }
.cta__rule { display: block; width: 56px; height: 2px; margin-bottom: 26px; background: var(--gold); }
.cta h2 { color: var(--ink); }
.cta p { max-width: 440px; margin: 18px 0 0; font-size: 16.5px; color: var(--ink-2); }
.cta__btns { justify-content: flex-start; margin-top: 28px; }

/* Footer: two-line tagline, tighter gaps in the brand block and link columns. */
.footer { padding-top: 48px; }
.footer__about { margin-top: 12px; line-height: 1.45; }
.footer__brand .footer__contact { margin-top: 16px; }
.footer__line + .footer__line { margin-top: 8px; }
.footer__head { margin-bottom: 12px; padding-bottom: 10px; }
.footer__links a { padding: 3px 0; }
.footer__connect { margin-top: 32px; padding-block: 18px; }
/* Social glyphs drawn at the same visual size as X, centred in their circles. */
.social .icon { width: 18px; height: 18px; }
.social__link--linkedin .icon { width: 25px; height: 25px; }
.social__link--youtube .icon { width: 23px; height: 23px; }
.social__link--instagram .icon { width: 24px; height: 24px; stroke-width: 1.8; }
.social__link--facebook .icon { width: 20px; height: 20px; }

@media (max-width: 1024px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 28px 40px; }
  .hero-card { height: 320px; }
  .hero-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .hero-metric:nth-child(odd) { padding-left: 0; border-left: 0; }
  .gov__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cta__media { width: 100%; }
  .cta__media::after { background: linear-gradient(90deg, #f4eee3 0%, rgba(244, 238, 227, .88) 45%, rgba(244, 238, 227, .2) 100%); }
}
@media (max-width: 720px) {
  .hero-card { height: 260px; }
  .cta__media { position: relative; inset: auto; height: 220px; }
  .cta__media::after { background: linear-gradient(180deg, rgba(244, 238, 227, 0) 55%, #f4eee3 100%); }
  .cta .wrap { padding-block: 8px 48px; }
  .footer__grid { row-gap: 24px; }
}

/* Footer (18 Oct, round 4): tagline on one line; link columns sit further left, evenly spaced. */
@media (min-width: 1025px) {
  .footer__grid { grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, .9fr)); }
  .footer__grid > * + * { padding-left: 32px; }
}
.footer__about { max-width: none; white-space: nowrap; }
@media (max-width: 420px) { .footer__about { white-space: normal; } }

/* Hero pointers on phones: values top-aligned per row, labels start together below (18 Oct fix). */
@media (max-width: 720px) {
  .hero-metrics { row-gap: 20px; }
  .hero-metric { padding-right: 10px; }
  .hero-metric__value { font-size: 14.5px; }
  .hero-metric__label { font-size: 12.5px; }
}

/* 19 Oct: hero pointers sized to their content with equal spacing between them. */
@media (min-width: 721px) {
  .hero-metrics { grid-template-columns: repeat(4, fit-content(190px)); justify-content: space-between; }
  .hero-metric { padding: 2px 0 2px 20px; }
  .hero-metric:first-child { padding-left: 0; }
}
/* Learning Academy: photo thumbnails fill their slot; notice under the cards. */
.icard__media:not(.icard__media--art) { background-size: cover; background-position: center; }
.insights__notice { margin: 28px auto 0; max-width: 880px; padding: 14px 18px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255, 253, 248, .7); font-size: 13.5px; line-height: 1.55; color: var(--ink-2); text-align: center; }
.insights__notice strong { color: var(--ink); font-weight: 600; }

/* 13 Nov revision: one font style across the footer's legal block — legal links, registration
   lines, corporate office, disclaimer and copyright share the same family, size, weight and
   colour (registration lines were 16px/ink, copyright was muted). Links keep their own colour. */
.footer__legal .footer__legal-links a,
.footer__legal .footer__reg,
.footer__legal .footer__office,
.footer__legal .footer__disclaimer,
.footer__legal .footer__copy { font: 400 13px/1.6 var(--sans); letter-spacing: 0; color: var(--ink-2); }
.footer__legal .footer__legal-links a:hover { color: var(--ink); }
.footer__legal .footer__legal-links a + a::before { margin: 0 3px; } /* keeps the 8 links on one line at 13px (1109 of 1126px) */

/* 13 Nov revision — Disclaimer page: each product section is a .disc-block whose id is a
   "Read Full Disclaimer" target; highlight only its heading, and keep the gap between blocks
   (the heading is the block's first child, which .prose would otherwise zero). */
.page-disclaimer .disc-notes .disc-block:target { background: none; }
.page-disclaimer .disc-notes .disc-block:target > h3 { background: #f3e6c2; border-radius: 4px; }
.page-disclaimer .disc-notes .disc-block > h3:first-child { margin-top: 32px; }
.page-disclaimer .disc-notes h2 + .disc-block > h3:first-child { margin-top: 12px; }
.page-disclaimer .disc-notes .disc-block > p + p { margin-top: 16px; } /* .prose spaces direct children only */
