/* ==========================================================================
   Moneyfrog — inner pages in the approved "Homepage Light" design.
   Loaded after style.css by resources/views/site/layouts/v2.blade.php and
   builds only on its tokens (--ink, --gold-ink, --serif, --line, ...).
   Components: page hero, content sections, prose (legal pages), feature
   grids, chips, steps, callouts, document lists, forms, auth screens.
   ========================================================================== */

/* ---------- Page hero ---------- */
.page-hero { background: radial-gradient(ellipse 60% 80% at 90% 0%, #f1ead9 0%, rgba(241, 234, 217, 0) 70%), #f8f7f3; border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 56px; align-items: center; padding-block: 36px 44px; } /* 18 Oct: hero closer to the header */
.page-hero--plain .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 36px 36px; }
.page-hero h1 { font: 400 clamp(38px, 4.4vw, 56px)/1.05 var(--serif); letter-spacing: -.015em; color: var(--ink); }
.page-hero h1 em { font-style: italic; color: var(--gold-ink); }
.page-hero .lead { margin-top: 20px; }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-hero__media {
  height: 320px; border-radius: var(--radius); overflow: hidden; background: #d9d0bd center / cover no-repeat;
  border: 1px solid rgba(160, 140, 100, .25); box-shadow: 0 2px 4px rgba(40, 30, 10, .06), 0 40px 70px -34px rgba(60, 45, 15, .5);
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; font: 500 10.5px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: var(--gold-ink); }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { color: var(--line-2); }
.updated { margin-top: 18px; font: 400 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Section helpers ---------- */
.section--band { background: linear-gradient(180deg, #f4f1e8 0%, var(--band) 100%); border-block: 1px solid var(--line); }
.section--tight { padding-block: clamp(40px, 4.4vw, 60px); }
.section__head { max-width: 720px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .h2, .section__head--center .lead { margin-inline: auto; }
.section__head .lead { margin-top: 22px; }
.section__head + * { margin-top: 36px; }

/* Text beside an image. */
.media-split { display: grid; grid-template-columns: minmax(0, 455px) minmax(0, 1fr); gap: 56px; align-items: center; }
.media-split--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 455px); }
.media-split--reverse > .media-split__media { order: 2; }
.media-split__media { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(160, 140, 100, .25); box-shadow: 0 2px 4px rgba(40, 30, 10, .06), 0 40px 70px -34px rgba(60, 45, 15, .45); background: #e6dcc6; }
.media-split__media img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.media-split .lead + .lead, .media-split p + p { margin-top: 16px; }
.media-split .h2 + .lead { margin-top: 24px; }

/* ---------- Feature grid (icon + title + text) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature {
  position: relative; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 26px 26px 28px;
  background: linear-gradient(180deg, #fdfcf9 0%, #f7f2e8 100%);
}
.feature__icon {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 20px; color: var(--gold-ink);
  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);
}
.feature__icon .icon { width: 18px; height: 18px; }
.feature__num { display: block; margin-bottom: 16px; font: 400 11px/1 var(--mono); letter-spacing: .13em; color: var(--gold-ink); }
.feature__title { font: 400 19px/1.25 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.feature__text { margin-top: 10px; font-size: 14px; line-height: 1.62; color: var(--ink-2); }
.feature__text + .feature__text { margin-top: 8px; }
.feature ul { margin-top: 12px; }
.feature li { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.feature li + li { margin-top: 6px; }
.feature li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ---------- Chips (short labels) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid #e2dbcd; background: #fff; font-size: 14px; line-height: 1.3; color: var(--ink); }
.chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }

/* ---------- Checklist (reuses the homepage .ticks look) ---------- */
.checklist li { display: grid; grid-template-columns: 27px minmax(0, 1fr); padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: ''; width: 11px; height: 11px; margin-top: 7px; border-radius: 50%; border: 1.5px solid var(--gold); }
.checklist strong { font-weight: 600; color: var(--ink); }
.checklist--2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }

/* ---------- Numbered steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1.5px solid var(--ink); counter-reset: step; }
.step { padding: 30px 24px 10px 0; counter-increment: step; }
.step + .step { border-left: 1px solid #eae6de; padding-left: 24px; }
.step::before { content: counter(step, decimal-leading-zero); font: 400 11px/1 var(--mono); letter-spacing: .13em; color: var(--gold-ink); }
.step__title { margin-top: 20px; font: 400 20px/1.25 var(--serif); letter-spacing: -.01em; }
.step__text { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }

/* ---------- Callout / highlight ---------- */
.callout { border: 1px solid var(--line-2); border-left: 3px solid var(--gold); border-radius: var(--radius); background: var(--card); padding: 26px 30px; }
.callout__title { font: 400 22px/1.25 var(--serif); letter-spacing: -.01em; }
.callout p { margin-top: 10px; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.callout--dark { background: var(--night); border-color: var(--night); border-left-color: var(--gold); color: #f0ede6; }
.callout--dark .callout__title { color: #fbf8f1; }
.callout--dark p { color: #c4cad2; }
.stat-inline { display: inline-block; font: 400 clamp(34px, 3.6vw, 46px)/1 var(--serif); letter-spacing: -.02em; color: var(--gold-ink); }

/* ---------- Prose (legal, policy and long text pages) ---------- */
.prose { max-width: 820px; font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.prose--wide { max-width: none; }
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 48px; font: 400 clamp(24px, 2.4vw, 30px)/1.2 var(--serif); letter-spacing: -.012em; color: var(--ink); }
.prose h3 { margin-top: 32px; font: 400 20px/1.3 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.prose h4 { margin-top: 26px; font: 500 10.5px/1.5 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.prose h2:first-child, .prose h3:first-child, .prose h4:first-child { margin-top: 0; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--gold); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 36px; }
.prose blockquote { border-left: 3px solid var(--gold); padding: 4px 0 4px 20px; font-family: var(--serif); font-size: 19px; color: var(--ink); }

/* Tables (prose + standalone) */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.55; background: #fff; }
.data-table th, .data-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { font: 500 9.5px/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); background: var(--card); border-bottom: 1.5px solid var(--ink); }
.data-table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line-2); border-radius: var(--radius); }
.prose .table-wrap { margin-top: 20px; }

/* Side table of contents for long legal pages. */
.doc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
.doc-layout > * { min-width: 0; } /* let wide tables scroll inside .table-wrap instead of widening the column */
.toc { position: sticky; top: 100px; border-top: 1.5px solid var(--ink); padding-top: 18px; }
.toc__title { font: 500 9.5px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 12px; }
.toc a { display: block; padding: 6px 0; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.toc a:hover { color: var(--ink); }

/* ---------- Document / link lists ---------- */
.doc-list { border-top: 1.5px solid var(--ink); }
.doc-list a, .doc-list .doc-list__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.doc-list__title { font: 400 17px/1.35 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.doc-list__meta { display: block; margin-top: 4px; font: 400 11px/1.45 var(--mono); letter-spacing: .08em; color: var(--muted); }
.doc-list .icon { width: 16px; height: 16px; color: var(--gold-ink); transition: transform .2s ease; }
.doc-list a:hover .icon { transform: translate(2px, -2px); }

/* ---------- Cards (contacts, offices, people) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.info-card { border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); padding: 26px; }
.info-card__label { font: 500 9.5px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); }
.info-card__title { margin-top: 14px; font: 400 21px/1.25 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.info-card p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.info-card a { color: var(--gold-ink); }
.info-card a:hover { color: var(--ink); }

/* ---------- Forms (page forms; the modal keeps style.css .field) ---------- */
.form-card { border: 1px solid var(--line-2); border-radius: 16px; background: var(--surface); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-soft); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-grid .field--full { grid-column: 1 / -1; }
.field select, .field textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid #ddd5c5; background: #fff; font-size: 15px; transition: border-color .2s ease, box-shadow .2s ease; }
.field select { height: 48px; padding-block: 0; }
.field textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(194, 154, 44, .18); }
.field input[readonly], .field input:disabled { background: var(--card); color: var(--muted); }
.field__hint { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.field__error, .error-text { margin-top: 6px; font-size: 12.5px; color: #a33a2b; }
.field.has-error input, .field.has-error select, .field.has-error textarea, input.is-invalid { border-color: #c4604f; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.form-card .btn[type="submit"], .btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .6; cursor: not-allowed; transform: none; }
.alert { border-radius: 10px; padding: 12px 16px; font-size: 14px; line-height: 1.5; border: 1px solid; }
.alert--success { background: #eef6ea; border-color: #cfe3c6; color: #2f6b32; }
.alert--error { background: #fbeeea; border-color: #efcfc7; color: #a33a2b; }
.alert--info { background: var(--card); border-color: var(--line-2); color: var(--ink-2); }

/* ---------- Auth screens (login, signup, OTP, password) ---------- */
.auth-page { background: var(--bg); }
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth__aside { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 40px clamp(32px, 5vw, 64px); color: #fbf8f1; background: var(--night) url('../img/building.jpg') center / cover no-repeat; }
.auth__aside::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 15, 20, .72) 0%, rgba(11, 15, 20, .55) 45%, rgba(11, 15, 20, .9) 100%); }
.auth__aside > * { position: relative; }
.auth__aside .brand img { height: 32px; filter: brightness(0) invert(1); }
.auth__quote { max-width: 440px; font: 400 clamp(28px, 2.8vw, 38px)/1.15 var(--serif); letter-spacing: -.015em; }
.auth__quote em { font-style: italic; color: var(--gold-soft); }
.auth__points { margin-top: 26px; display: grid; gap: 10px; font-size: 14.5px; color: #c4cad2; }
.auth__points li { display: flex; gap: 10px; }
.auth__points li::before { content: ''; width: 9px; height: 9px; margin-top: 7px; border-radius: 50%; border: 1.5px solid var(--gold-soft); flex: none; }
.auth__reg { font: 400 10px/1.6 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #9aa1aa; }
.auth__main { display: flex; flex-direction: column; justify-content: center; padding: 48px clamp(20px, 6vw, 88px); }
.auth__mobile-brand { display: none; margin-bottom: 28px; }
.auth__card { width: 100%; max-width: 440px; margin-inline: auto; }
.auth__card h1 { font: 400 clamp(30px, 3vw, 38px)/1.1 var(--serif); letter-spacing: -.015em; color: var(--ink); }
.auth__card .lead { margin-top: 10px; font-size: 15px; }
.auth__card form { margin-top: 26px; }
.auth__card .btn[type="submit"], .auth__card .btn--block { width: 100%; margin-top: 22px; }
.auth__links { margin-top: 22px; font-size: 14px; color: var(--ink-2); text-align: center; }
.auth__links a, .auth__card .link { color: var(--gold-ink); font-weight: 600; }
.auth__links a:hover, .auth__card .link:hover { color: var(--ink); }
.auth__divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; font: 500 9.5px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.auth__divider::before, .auth__divider::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }
.auth__back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; font: 500 10.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.auth__back .icon { width: 14px; height: 14px; }
.auth__back:hover { color: var(--ink); }
.auth__legal { margin-top: 28px; font-size: 12px; line-height: 1.55; color: var(--muted); text-align: center; }
.auth__legal a { text-decoration: underline; }
.otp-inputs { display: flex; gap: 10px; justify-content: space-between; }
.otp-inputs input { width: 100%; max-width: 56px; height: 58px; text-align: center; border-radius: 10px; border: 1px solid #ddd5c5; background: #fff; font: 400 22px/1 var(--mono); }
.otp-inputs input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(194, 154, 44, .18); }
.input-group { display: flex; align-items: stretch; }
.input-group > :first-child:not(input) { display: grid; place-items: center; padding: 0 14px; border: 1px solid #ddd5c5; border-right: 0; border-radius: 10px 0 0 10px; background: var(--card); font-size: 14px; color: var(--ink-2); }
.input-group > input { border-radius: 0 10px 10px 0 !important; }
.pw-toggle { position: relative; }
.pw-toggle button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); height: 34px; padding: 0 10px; border: 0; background: none; font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); cursor: pointer; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .page-hero .wrap { grid-template-columns: 1fr; padding-block: 32px 40px; }
  .page-hero__media { height: 280px; }
  .media-split, .media-split--reverse { grid-template-columns: 1fr; gap: 36px; }
  .media-split--reverse > .media-split__media { order: 0; }
  .feature-grid, .feature-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc-layout { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; }
  .auth { grid-template-columns: 1fr; }
  .auth__aside { display: none; }
  .auth__mobile-brand { display: block; text-align: center; }
  .auth__mobile-brand .brand { margin: 0 auto; }
}
@media (max-width: 720px) {
  .page-hero .wrap { padding-block: 24px 36px; }
  .page-hero__ctas .btn { flex: 1 1 100%; }
  .feature-grid, .feature-grid--2, .feature-grid--4 { grid-template-columns: 1fr; }
  .checklist--2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; border-top: 1px solid #eae6de; padding-left: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .callout { padding: 22px; }
  .auth__main { padding-block: 32px; }
  .otp-inputs { gap: 6px; }
}


/* ==========================================================================
   Page-specific rules (moved out of the individual views so every page
   uses this one stylesheet). Page rules are scoped to the page-<view>
   body class set by @section('body_class') in each view.
   ========================================================================== */

/* ---------- Product pages (mutual funds, equity, PMS, AIF, tax, fixed income, insurance) ---------- */
.product-how { margin-top: 24px; }
.page-mutual-funds .page-hero h1 em, .page-stocks-equity .page-hero h1 em { display: block; }
.product-media img { aspect-ratio: 440 / 320; min-height: 0; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 720px) { .product-actions .btn { flex: 1 1 100%; } }
.product-split { margin-top: 56px; }
.steps.product-steps { margin-top: 20px; grid-template-columns: 1fr; }
.steps.product-steps .step { border-left: 0; padding-left: 0; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.steps.product-steps .step__title { margin-top: 12px; }
.checklist.product-benefits { margin-top: 20px; border-top: 1.5px solid var(--ink); }

/* ---------- Page: commission-disclosure ---------- */
.page-commission-disclosure .disclosure-doc h2 { scroll-margin-top: 100px; }
.page-commission-disclosure .disclosure-doc h2:not(:first-child) { padding-top: 40px; border-top: 1px solid var(--line); }
.page-commission-disclosure .disclosure-doc .data-table td strong { color: var(--ink); }
.page-commission-disclosure .disclosure-doc .product-table { min-width: 640px; }
.page-commission-disclosure .disclosure-doc .product-table th:nth-child(1) { width: 22%; }
.page-commission-disclosure .disclosure-doc .product-table th:nth-child(2) { width: 25%; }
.page-commission-disclosure .disclosure-doc .amc-table { min-width: 700px; }
.page-commission-disclosure .disclosure-doc .amc-table .period-col { width: 210px; }
.page-commission-disclosure .disclosure-doc .amc-table .period-col small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.page-commission-disclosure .disclosure-doc .amc-table .sr-col { width: 70px; text-align: center; font-family: var(--mono); color: var(--gold-ink); }
.page-commission-disclosure .disclosure-doc .amc-table .doc-col { width: 190px; text-align: center; white-space: nowrap; }
.page-commission-disclosure .disclosure-doc .amc-table td { vertical-align: middle; }
.page-commission-disclosure .disclosure-doc .table-note { font-size: 13.5px; color: var(--muted); }
.page-commission-disclosure .disclosure-doc .table-note em { font-style: italic; }
.page-commission-disclosure .disclosure-doc .period-badge { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); font: 500 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.page-commission-disclosure .disclosure-doc .doc-btn { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid #e2dbcd; background: #faf9f5; color: var(--ink); text-decoration: none; font: 600 12.5px/1 var(--sans); white-space: nowrap; transition: border-color .2s ease, background-color .2s ease; }
.page-commission-disclosure .disclosure-doc .doc-btn:hover { border-color: var(--gold); background: #fff; color: var(--ink); }
.page-commission-disclosure .disclosure-doc .doc-btn .icon { width: 14px; height: 14px; color: var(--gold-ink); }
.page-commission-disclosure .disclosure-doc .callout { margin-top: 28px; }
.page-commission-disclosure .disclosure-doc .callout h3 { margin-top: 0; }
.page-commission-disclosure .disclosure-doc .callout p { margin-top: 12px; }
.page-commission-disclosure .disclosure-doc .callout a { color: inherit; }
/* Let the grid track shrink below the tables' min-content width on narrow screens. */
.page-commission-disclosure .doc-layout > * { min-width: 0; }
@media (max-width: 1024px) {
  .page-commission-disclosure .doc-layout .toc { columns: 2; column-gap: 32px; }
  .page-commission-disclosure .doc-layout .toc__title { column-span: all; }
}
@media (max-width: 720px) {
  .page-commission-disclosure .doc-layout .toc { columns: 1; }
}

/* ---------- Page: contact-us ---------- */
/* Contact Us — layout per the client's revision (Oct 2026): visit card + map, three ways to reach us, message form. */
.page-contact-us .contact-section { padding-top: 48px; }
.page-contact-us .contact-panel { border: 1px solid var(--line-2); border-radius: 16px; background: linear-gradient(180deg, #fdfcf9 0%, #faf6ee 100%); box-shadow: var(--shadow-soft); }
.page-contact-us .contact-panel + .contact-panel { margin-top: 16px; }
.page-contact-us .contact-tile { width: 56px; height: 56px; flex: none; }
.page-contact-us .contact-visit__title { font: 400 26px/1.15 var(--serif); letter-spacing: -.015em; color: var(--ink); }
.page-contact-us .contact-visit { display: grid; grid-template-columns: minmax(0, 410px) minmax(0, 1fr); }
.page-contact-us .contact-visit__office { display: flex; gap: 22px; align-items: flex-start; padding: 30px 28px; border-right: 1px solid var(--line); }
.page-contact-us .contact-visit__addr { margin-top: 12px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.page-contact-us .contact-visit__addr strong { display: block; font-weight: 600; color: var(--ink); }
.page-contact-us .contact-visit__hours { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.page-contact-us .contact-visit__hours img { width: 24px; height: 24px; flex: none; }
.page-contact-us .contact-visit__hours strong { display: block; font-weight: 600; color: var(--ink); }
.page-contact-us .contact-visit__map { padding: 22px 22px 16px; }
.page-contact-us .map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: #e6dcc6; }
.page-contact-us .map-frame iframe { display: block; width: 100%; height: 260px; border: 0; }
.page-contact-us .map-link { margin-top: 12px; text-align: center; }
.page-contact-us .map-link a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gold-ink); }
.page-contact-us .map-link a:hover { color: var(--ink); }
.page-contact-us .map-link .icon { width: 16px; height: 16px; }
.page-contact-us .contact-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.page-contact-us .contact-way { display: flex; gap: 18px; align-items: center; padding: 26px 28px; color: var(--ink); transition: background-color .2s ease; }
.page-contact-us .contact-way + .contact-way { border-left: 1px solid var(--line); }
.page-contact-us .contact-way:hover { background: rgba(243, 239, 229, .6); }
.page-contact-us .contact-way strong { display: block; font: 400 22px/1.2 var(--serif); letter-spacing: -.01em; }
.page-contact-us .contact-way__value { display: block; margin-top: 4px; font-size: 16px; font-weight: 600; color: var(--gold-ink); overflow-wrap: anywhere; }
.page-contact-us .contact-message { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); }
.page-contact-us .contact-message__head { padding: 32px 28px; border-right: 1px solid var(--line); }
.page-contact-us .contact-message__head p { margin-top: 12px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.page-contact-us .contact-form { padding: 16px 28px 28px; }
.page-contact-us .contact-form .btn { width: 100%; margin-top: 20px; }
.page-contact-us .contact-form .btn .icon { width: 16px; height: 16px; }
@media (max-width: 1024px) {
  .page-contact-us .contact-visit, .page-contact-us .contact-message { grid-template-columns: 1fr; }
  .page-contact-us .contact-visit__office, .page-contact-us .contact-message__head { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .page-contact-us .contact-ways { grid-template-columns: 1fr; }
  .page-contact-us .contact-way + .contact-way { border-left: 0; border-top: 1px solid var(--line); }
  .page-contact-us .contact-visit__office { flex-direction: column; gap: 16px; padding: 24px 20px; }
  .page-contact-us .contact-visit__map { padding: 16px; }
  .page-contact-us .contact-way { padding: 20px; }
  .page-contact-us .contact-message__head { padding: 24px 20px; }
  .page-contact-us .contact-form { padding: 8px 20px 24px; }
}

/* ---------- Page: delete-my-account-request ---------- */
.page-delete-my-account-request .delete-doc h2 { padding-top: 40px; border-top: 1px solid var(--line); }
.page-delete-my-account-request .delete-doc > h2:first-child { padding-top: 0; border-top: 0; }
.page-delete-my-account-request .delete-doc .callout { margin-top: 20px; font-size: 15px; line-height: 1.65; }
.page-delete-my-account-request .delete-doc .callout--warn { border-left-color: #c77a1a; background: #fdf6ec; }
.page-delete-my-account-request .delete-doc .callout--warn strong { color: #8a520f; }
.page-delete-my-account-request .retention-table { min-width: 620px; }
.page-delete-my-account-request .retention-table th:nth-child(1) { width: 34%; }
.page-delete-my-account-request .retention-table th:nth-child(2) { width: 22%; }
.page-delete-my-account-request .delete-form-card { max-width: 820px; margin-top: 28px; }
.page-delete-my-account-request .delete-doc--after { margin-top: 56px; }
.page-delete-my-account-request .delete-form-card .required { color: #a33a2b; }
.page-delete-my-account-request #pan { text-transform: uppercase; }
.page-delete-my-account-request #reason { font-family: inherit; }
.page-delete-my-account-request .consent-row { display: flex; align-items: flex-start; gap: 12px; margin-top: 22px; }
.page-delete-my-account-request .consent-row input[type="checkbox"] { flex: none; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold-ink); }
.page-delete-my-account-request .consent-row label { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.page-delete-my-account-request .delete-form-card .btn[type="submit"] { margin-top: 24px; }
.page-delete-my-account-request .form-status { display: none; margin-top: 16px; border-radius: 10px; padding: 12px 16px; font-size: 14px; line-height: 1.5; border: 1px solid; }
.page-delete-my-account-request .form-status.success { display: block; background: #eef6ea; border-color: #cfe3c6; color: #2f6b32; }
.page-delete-my-account-request .form-status.error { display: block; background: #fbeeea; border-color: #efcfc7; color: #a33a2b; }

/* ---------- Page: faq ---------- */
.page-faq .faq-page .faq-cat:first-of-type { margin-top: 0; }
.page-faq .faq-page .faq-cat { margin-top: 56px; }
.page-faq .faq-page .faq__a { max-width: 900px; }
.page-faq .faq-page .risk-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.page-faq .faq-page .risk-table { min-width: 520px; }
.page-faq .faq-search { position: relative; max-width: 720px; margin: 0 auto; }
.page-faq .faq-search__icon { position: absolute; left: 20px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--gold-ink); pointer-events: none; }
.page-faq .faq-search__input { width: 100%; height: 56px; padding: 0 20px 0 52px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); font: 400 16px/1 var(--sans); color: var(--ink); box-shadow: 0 18px 40px -32px rgba(60, 45, 15, .35); }
.page-faq .faq-search__input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 39, .18); }
.page-faq .faq-search__suggest { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); box-shadow: 0 24px 50px -24px rgba(30, 25, 10, .35); max-height: 360px; overflow-y: auto; }
.page-faq .faq-search__option { display: block; width: 100%; padding: 11px 14px; border: 0; border-radius: 10px; background: none; text-align: left; font: 400 15px/1.4 var(--sans); color: var(--ink); cursor: pointer; }
.page-faq .faq-search__option:hover, .page-faq .faq-search__option:focus { outline: none; background: #f6efe0; }
.page-faq .faq-search__status { max-width: 720px; margin: 14px auto 0; text-align: center; font-size: 14px; color: var(--ink-2); }
.page-faq .faq-layout { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 48px; }
.page-faq .faq-nav { position: sticky; top: 96px; }
.page-faq .faq-nav ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.page-faq .faq-nav__btn { display: block; width: 100%; padding: 11px 14px; border: 1px solid transparent; border-radius: 10px; background: none; text-align: left; font: 500 14px/1.4 var(--sans); color: var(--ink-2); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.page-faq .faq-nav__btn:hover { background: #faf6ec; color: var(--ink); }
.page-faq .faq-nav__btn.is-active { border-color: rgba(160, 140, 100, .3); background: #f6efe0; color: var(--ink); }
.page-faq .faq-list .faq-cat:not([hidden]) ~ .faq-cat:not([hidden]) { margin-top: 48px; }
.page-faq .faq-list .faq-cat { margin-top: 0; }
.page-faq .faq-list details, .page-faq .faq-list .faq-cat { scroll-margin-top: 110px; }
.page-faq .faq-disclaimer .callout { max-width: none; }
.page-faq .faq-contact { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 44px 48px; border: 1px solid rgba(201, 162, 39, .35); border-radius: var(--radius); background: var(--surface); }
.page-faq .faq-contact__icon { flex: none; width: 128px; height: 128px; object-fit: contain; }
@media (max-width: 900px) {
  .page-faq .faq-layout { grid-template-columns: 1fr; gap: 24px; }
  .page-faq .faq-nav { position: static; min-width: 0; }
  .page-faq .faq-nav ul { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .page-faq .faq-nav__btn { white-space: nowrap; border-color: var(--line-2); border-radius: 999px; }
  .page-faq .faq-contact { flex-direction: column-reverse; align-items: flex-start; padding: 32px 24px; }
  .page-faq .faq-contact__icon { width: 88px; height: 88px; }
}
.page-faq .faq-updated { margin-top: 14px; font-size: 13px; color: var(--muted); }
.page-faq .faq-updated strong { color: var(--ink-2); font-weight: 600; }
.page-faq .faq-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 64px; }
.page-faq .faq-foot .callout__title { display: flex; align-items: center; gap: 10px; }
.page-faq .faq-foot .callout__title .icon { width: 20px; height: 20px; color: var(--gold-ink); }
.page-faq .faq-foot a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.page-faq .callout--dark.faq-foot__contact a { color: var(--gold-soft); }
@media (max-width: 720px) {
  .page-faq .faq-foot { grid-template-columns: 1fr; }
  .page-faq .faq-page .faq__a { padding-right: 0; }
}

/* ---------- Page: forgot-password ---------- */
.page-forgot-password .auth__card .user-email { display: block; margin-top: 4px; font-weight: 600; color: var(--ink); word-break: break-all; }
.page-forgot-password .auth__card .otp-subtitle strong { color: var(--ink); font-weight: 600; word-break: break-all; }
.page-forgot-password .auth__card #sendOtpError { margin-top: 18px; }
.page-forgot-password .otp-inputs { margin-bottom: 4px; }
.page-forgot-password .otp-input.filled { border-color: var(--gold); background: #fffaf0; }
.page-forgot-password .resend-section { margin-top: 16px; text-align: center; font-size: 14px; color: var(--muted); }
.page-forgot-password .resend-link { color: var(--gold-ink); font-weight: 600; cursor: pointer; }
.page-forgot-password .resend-link:hover { color: var(--ink); }
.page-forgot-password .resend-link.disabled { color: var(--muted); cursor: not-allowed; pointer-events: none; }
.page-forgot-password .timer { color: var(--gold-ink); font-weight: 600; }
.page-forgot-password .password-requirements { margin-top: 10px; }
.page-forgot-password .password-requirements small { font-size: 12.5px; color: var(--ink-2); }
.page-forgot-password .password-requirements ul { list-style: disc; }
.page-forgot-password .auth__links .icon { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }

/* ---------- Page: grievance-redressal ---------- */
.page-grievance-redressal .grievance-doc h2:not(:first-child) { padding-top: 40px; border-top: 1px solid var(--line); }
.page-grievance-redressal .grievance-table { min-width: 640px; }
.page-grievance-redressal .grievance-table td { vertical-align: middle; }
.page-grievance-redressal .grievance-table td.level-col { font: 500 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); white-space: nowrap; }
.page-grievance-redressal .grievance-table td.phone-col { white-space: nowrap; }
.page-grievance-redressal .grievance-table td:nth-child(2) { color: var(--ink); }
.page-grievance-redressal .prose .grievance-table a { text-decoration: none; font-weight: 600; }
.page-grievance-redressal .prose .grievance-table a:hover { text-decoration: underline; }
.page-grievance-redressal .grievance-doc .callout { margin-top: 24px; }
.page-grievance-redressal .grievance-doc .callout p:first-child { margin-top: 0; }
@media (max-width: 720px) {
  /* Stack each escalation level as a labelled card so phone and email stay on screen. */
  .page-grievance-redressal .grievance-doc .table-wrap { border: 0; border-radius: 0; overflow: visible; }
  .page-grievance-redressal .grievance-table { min-width: 0; background: transparent; }
  .page-grievance-redressal .grievance-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .page-grievance-redressal .grievance-table tbody, .page-grievance-redressal .grievance-table tr { display: block; }
  .page-grievance-redressal .grievance-table tr { border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; overflow: hidden; }
  .page-grievance-redressal .grievance-table tr + tr { margin-top: 12px; }
  .page-grievance-redressal .grievance-table td { display: flex; flex-wrap: wrap; column-gap: 10px; padding: 11px 16px; white-space: normal; overflow-wrap: anywhere; }
  .page-grievance-redressal .grievance-table tr td:last-child { border-bottom: 0; }
  .page-grievance-redressal .grievance-table td::before { content: attr(data-label); flex: 0 0 72px; font: 500 9.5px/2 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
  .page-grievance-redressal .grievance-table td.level-col { background: var(--card); border-bottom: 1px solid var(--line); }
  .page-grievance-redressal .grievance-table td.level-col::before { content: none; }
}

/* ---------- Auth layout (login / signup / OTP / password pages) ---------- */
/* Aside paragraph (page-specific copy under the heading). */
.auth__aside-text { margin-top: 16px; max-width: 440px; font-size: 15px; line-height: 1.65; color: #c4cad2; }
.auth__points strong { color: #fbf8f1; font-weight: 600; }
/* State classes the page scripts toggle (kept from the old auth pages). */
.auth__card .error-message,
        .auth__card .invalid-feedback { display: none; margin-top: 6px; font-size: 12.5px; line-height: 1.5; color: #a33a2b; }
.auth__card .form-input.error,
        .auth__card .otp-input.error { border-color: #c4604f; }
.auth__card .form-input.error:focus { box-shadow: 0 0 0 3px rgba(196, 96, 79, .18); }
/* Password show/hide: the scripts swap fa-eye <-> fa-eye-slash on the
           icon element; Font Awesome is not loaded, so render it as text. */
.pw-toggle input { padding-right: 76px; }
.pw-toggle .fa-eye::before { content: 'Show'; font-style: normal; }
.pw-toggle .fa-eye-slash::before { content: 'Hide'; font-style: normal; }
.pw-toggle button i { font-style: normal; }
/* Secondary actions under the card (Google sign-in etc.). */
.auth__card .btn--ghost.btn--block { width: 100%; }
.auth__card .btn--ghost img { width: 19px; height: 19px; }
/* Toastify on phones: full-width at the bottom (from the old auth layout). */
@media (max-width: 768px) {
  .toastify { left: 12px !important; right: 12px !important; top: auto !important; bottom: 24px !important; width: calc(100% - 24px) !important; max-width: none !important; text-align: center; }
}

/* ---------- Page: login-password ---------- */
.page-login-password .auth__card .user-email { display: block; margin-top: 4px; font-weight: 600; color: var(--ink); word-break: break-all; }
.page-login-password .forgot-password { margin-top: 12px; text-align: right; font-size: 14px; }
.page-login-password .forgot-password a { color: var(--gold-ink); font-weight: 600; }
.page-login-password .forgot-password a:hover { color: var(--ink); }

/* ---------- Page: mutual-funds ---------- */
.page-mutual-funds #top-funds { scroll-margin-top: 80px; }
.page-mutual-funds .page-hero .lead + .lead { margin-top: 14px; }
/* Step flow joined by the gold connector arrow (MF: 5 steps, Fixed Income: 4 with .mf-flow--4). */
.mf-flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 56px 0 0; padding: 0; }
.mf-flow__step { position: relative; text-align: center; }
.mf-flow__step:not(:last-child)::after {
  content: ''; position: absolute; top: 48px; right: -24px; width: 40px; height: 22px; transform: translate(50%, -50%);
  background: url('../img/pages/mutual-funds/icon-arrow.png') center / contain no-repeat;
}
.mf-flow__icon {
  display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #fffdf8 0%, #f3ecdc 100%); border: 1px solid rgba(160, 140, 100, .22);
  box-shadow: 0 18px 30px -18px rgba(60, 45, 15, .4);
}
.mf-flow__icon img { width: 48px; height: 48px; object-fit: contain; }
.mf-flow__text { margin: 18px auto 0; max-width: 200px; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
/* Centred testimonial band with a section heading. */
.quote-band--center .wrap { text-align: center; }
.quote-band--center .h2 { margin-inline: auto; max-width: 760px; font-size: clamp(28px, 2.8vw, 36px); }
.quote-band--center .quote-mark { margin-top: 18px; }
.quote-band--center .quote { margin-inline: auto; }
.quote-band--center .quote__text { font-size: clamp(19px, 1.9vw, 24px); }
.quote-band--center .quote__by, .quote-band--center .quote-nav { justify-content: center; }
@media (max-width: 1024px) {
  .mf-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .mf-flow__step:nth-child(3)::after { display: none; }
}
@media (max-width: 720px) {
  .mf-flow { grid-template-columns: 1fr; row-gap: 56px; }
  .mf-flow__step:nth-child(3)::after { display: block; }
  .mf-flow__step:not(:last-child)::after { top: auto; bottom: -38px; right: 50%; transform: translate(50%, 0) rotate(90deg); }
}

/* ---------- Product cards + 4-step flow (Fixed Income, PMS, Tax, Insurance, AIF & GIFT City) ---------- */
.fi-cards { display: grid; gap: 16px; list-style: none; margin: 48px 0 0; padding: 0; }
.fi-cards--products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fi-cards--benefits { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fi-card { display: flex; flex-direction: column; align-items: center; text-align: center; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); padding: 28px 20px 30px; box-shadow: 0 18px 40px -32px rgba(60, 45, 15, .35); }
.fi-card__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; border: 1px solid rgba(160, 140, 100, .25); background: radial-gradient(circle at 50% 35%, #fffdf8 0%, #f6efe0 100%); }
.fi-card__icon img { width: 40px; height: 40px; object-fit: contain; }
.fi-card__title { margin-top: 18px; font: 400 20px/1.25 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.fi-cards--benefits .fi-card__title { font-size: 18px; }
.fi-card__text { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.mf-flow--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fi-step-num { display: block; margin-top: 16px; font: 500 12px/1 var(--mono); letter-spacing: .14em; color: var(--gold-ink); }
.fi-step-num + .mf-flow__text { margin-top: 8px; }
@media (max-width: 1180px) {
  .fi-cards--benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .mf-flow--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mf-flow--4 .mf-flow__step:nth-child(3)::after { display: block; }
  .mf-flow--4 .mf-flow__step:nth-child(2)::after { display: none; }
  .fi-cards--products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .mf-flow--4 { grid-template-columns: 1fr; }
  .mf-flow--4 .mf-flow__step:nth-child(2)::after { display: block; }
  .fi-cards--products, .fi-cards--benefits { grid-template-columns: 1fr; }
}
.mf-flow__title { margin: 16px auto 0; max-width: 240px; font: 400 19px/1.3 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.fi-step-num + .mf-flow__title { margin-top: 8px; }
.mf-flow__title + .mf-flow__text { margin-top: 8px; max-width: 240px; color: var(--ink-2); }
.icon-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.icon-list li { display: flex; align-items: center; gap: 16px; font: 500 16px/1.4 var(--sans, inherit); color: var(--ink); }
.icon-list__icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(160, 140, 100, .25); background: radial-gradient(circle at 50% 35%, #fffdf8 0%, #f6efe0 100%); }
.icon-list__icon img { width: 30px; height: 30px; object-fit: contain; }

/* ---------- Page: stocks-equity ---------- */
.page-stocks-equity .eq-split { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 56px; align-items: center; }
.page-stocks-equity .eq-split .section__head + * { margin-top: 0; }
.page-stocks-equity .eq-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.page-stocks-equity .eq-product { border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); padding: 28px 24px 30px; box-shadow: 0 18px 40px -30px rgba(60, 45, 15, .35); }
.page-stocks-equity .eq-product__icon { width: 56px; height: 56px; object-fit: contain; }
.page-stocks-equity .eq-product__title { margin-top: 20px; font: 400 24px/1.2 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.page-stocks-equity .eq-product__text { margin-top: 12px; font-size: 14.5px; line-height: 1.62; color: var(--ink-2); }
.page-stocks-equity #market-performance { scroll-margin-top: 80px; }
.page-stocks-equity .eq-market { border: 1px solid var(--line-2); border-radius: 16px; background: rgba(255, 255, 255, .55); padding: 20px; }
.page-stocks-equity .eq-market__tabs { margin-top: 0; }
.page-stocks-equity .eq-market__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.page-stocks-equity .eq-market__grid[hidden] { display: none; }
.page-stocks-equity .eq-market__note { margin-top: 14px; }
.page-stocks-equity .eq-index { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 14px 14px 12px; min-width: 0; }
.page-stocks-equity .eq-index--loading { min-height: 120px; background: linear-gradient(90deg, #f6f2e9 0%, #fbf9f4 50%, #f6f2e9 100%) 0 0 / 200% 100%; animation: eq-shimmer 1.4s linear infinite; }
@keyframes eq-shimmer { to { background-position: -200% 0; } }
.page-stocks-equity .eq-index__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.page-stocks-equity .eq-index__name { font: 400 17px/1.25 var(--serif); color: var(--ink); }
.page-stocks-equity .eq-index__date { flex: none; font: 400 10.5px/1 var(--mono); letter-spacing: .04em; color: var(--muted); }
.page-stocks-equity .eq-index__mid { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.page-stocks-equity .eq-index__code { flex: none; padding: 3px 7px; border-radius: 6px; background: #f3efe6; font: 500 9.5px/1.3 var(--mono); letter-spacing: .06em; color: var(--muted); }
.page-stocks-equity .eq-index__spark { width: 55%; height: 34px; }
.page-stocks-equity .eq-index__line { fill: none; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.page-stocks-equity .eq-index__spark.is-up .eq-index__line { stroke: #1f9d55; }
.page-stocks-equity .eq-index__spark.is-up .eq-index__area { fill: rgba(31, 157, 85, .10); }
.page-stocks-equity .eq-index__spark.is-down .eq-index__line { stroke: #c0392b; }
.page-stocks-equity .eq-index__spark.is-down .eq-index__area { fill: rgba(192, 57, 43, .10); }
.page-stocks-equity .eq-index__foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-top: 8px; }
.page-stocks-equity .eq-index__foot small { display: block; font-size: 11.5px; color: var(--muted); }
.page-stocks-equity .eq-index__foot strong { font-size: 14.5px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.page-stocks-equity .eq-index__change { text-align: right; }
.page-stocks-equity .eq-index__pct { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; }
.page-stocks-equity .eq-index .is-up { color: #1f9d55; }
.page-stocks-equity .eq-index .is-down { color: #c0392b; }
@media (max-width: 1180px) {
  .page-stocks-equity .eq-split { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 860px) {
  .page-stocks-equity .eq-market__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .page-stocks-equity .eq-products, .page-stocks-equity .eq-market__grid { grid-template-columns: 1fr; }
}

/* ---------- Page: privacy-policy ---------- */
.page-privacy-policy .legal-doc h2 { scroll-margin-top: 100px; }
.page-privacy-policy .legal-doc h2:not(:first-child) { padding-top: 40px; border-top: 1px solid var(--line); }
.page-privacy-policy .legal-doc .callout { margin-top: 28px; }
.page-privacy-policy .legal-doc .callout h3 { margin-top: 0; }
.page-privacy-policy .legal-doc .callout p { margin-top: 12px; }
.page-privacy-policy .legal-doc .callout p:first-child { margin-top: 0; }
.page-privacy-policy .legal-doc ol ol { list-style: lower-alpha; margin-top: 10px; }
.page-privacy-policy .legal-doc .terms-notes { font-size: 13.5px; color: var(--muted); }
.page-privacy-policy .legal-doc .terms-notes p + p { margin-top: 6px; }
.page-privacy-policy .legal-doc { overflow-wrap: break-word; }
/* Let the grid track shrink below the tables' min-content width on narrow screens. */
.page-privacy-policy .doc-layout > * { min-width: 0; }
@media (max-width: 1024px) {
  .page-privacy-policy .doc-layout .toc { columns: 2; column-gap: 32px; }
  .page-privacy-policy .doc-layout .toc__title { column-span: all; }
}
@media (max-width: 720px) {
  .page-privacy-policy .doc-layout .toc { columns: 1; }
}

/* ---------- Page: profile-setup ---------- */
.page-profile-setup .dob-row { display: grid; grid-template-columns: 1fr 1.4fr 1.1fr; gap: 10px; }
.page-profile-setup .dob-row select.error { border-color: #c4604f; }
.page-profile-setup .gender-options { display: flex; gap: 12px; }
.page-profile-setup .gender-option { flex: 1; position: relative; }
.page-profile-setup .gender-option input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.page-profile-setup .field .gender-label { display: flex; align-items: center; justify-content: center; height: 48px; margin: 0; border: 1px solid #ddd5c5; border-radius: 10px; background: #fff; cursor: pointer; font: 500 15px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-2); transition: border-color .2s ease, background-color .2s ease; }
.page-profile-setup .field .gender-label:hover { border-color: var(--gold); }
.page-profile-setup .gender-option input[type="radio"]:focus-visible + .gender-label { box-shadow: 0 0 0 3px rgba(194, 154, 44, .18); }
.page-profile-setup .gender-option input[type="radio"]:checked + .gender-label { border-color: var(--gold); background: #fffaf0; color: var(--gold-ink); font-weight: 600; }
.page-profile-setup #formError { margin-top: 16px; }

/* ---------- Page: scheme-documents ---------- */
.page-scheme-documents .docs-doc h2 { scroll-margin-top: 100px; }
.page-scheme-documents .docs-doc h2:not(:first-child) { padding-top: 40px; border-top: 1px solid var(--line); }
.page-scheme-documents .docs-doc .data-table td strong { color: var(--ink); }
.page-scheme-documents .docs-doc .explain-table { min-width: 560px; }
.page-scheme-documents .docs-doc .explain-table th:first-child { width: 28%; }
.page-scheme-documents .docs-doc .doc-sub { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.page-scheme-documents .docs-doc .amc-table { min-width: 640px; }
.page-scheme-documents .docs-doc .amc-table .sr-col { width: 70px; text-align: center; font-family: var(--mono); color: var(--gold-ink); }
.page-scheme-documents .docs-doc .amc-table .doc-col { text-align: center; white-space: nowrap; }
.page-scheme-documents .docs-doc .amc-table td { vertical-align: middle; }
.page-scheme-documents .docs-doc .table-note { font-size: 13.5px; color: var(--muted); }
.page-scheme-documents .docs-doc .doc-btn { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid #e2dbcd; background: #faf9f5; color: var(--ink); text-decoration: none; font: 600 12.5px/1 var(--sans); white-space: nowrap; transition: border-color .2s ease, background-color .2s ease; }
.page-scheme-documents .docs-doc .doc-btn:hover { border-color: var(--gold); background: #fff; color: var(--ink); }
.page-scheme-documents .docs-doc .doc-btn--primary { background: var(--gold-grad); border-color: rgba(150, 112, 28, .35); color: var(--btn-ink, var(--ink)); }
.page-scheme-documents .docs-doc .doc-btn--primary:hover { background: var(--gold-grad); border-color: rgba(150, 112, 28, .6); }
.page-scheme-documents .docs-doc .doc-btn .icon { width: 14px; height: 14px; }
.page-scheme-documents .docs-doc .amfi-links { margin-top: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.page-scheme-documents .docs-doc a.amfi-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.page-scheme-documents .docs-doc a.amfi-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-soft); color: inherit; }
.page-scheme-documents .docs-doc .amfi-card .info-card__title { display: block; }
.page-scheme-documents .docs-doc .amfi-desc { display: block; margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--ink-2); flex: 1; }
.page-scheme-documents .docs-doc .amfi-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font: 500 10.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.page-scheme-documents .docs-doc .callout { margin-top: 28px; }
.page-scheme-documents .docs-doc .callout h3 { margin-top: 0; }
.page-scheme-documents .docs-doc .callout p { margin-top: 12px; }
.page-scheme-documents .docs-doc .callout a { color: inherit; }
/* Let the grid track shrink below the tables' min-content width on narrow screens. */
.page-scheme-documents .doc-layout > * { min-width: 0; }
@media (max-width: 1024px) {
  .page-scheme-documents .doc-layout .toc { columns: 2; column-gap: 32px; }
  .page-scheme-documents .doc-layout .toc__title { column-span: all; }
}
@media (max-width: 720px) {
  .page-scheme-documents .doc-layout .toc { columns: 1; }
}

/* ---------- Page: set-password ---------- */
/* Country picker sizing so the flag dropdown lines up with .form-input */
.page-set-password .iti { width: 100%; }
.page-set-password .iti__flag-container { z-index: 5; }
.page-set-password .iti input.form-input { padding-left: 52px; }
.page-set-password .auth__card .otp-subtitle strong { color: var(--ink); font-weight: 600; word-break: break-all; }
.page-set-password .otp-inputs { margin-bottom: 4px; }
.page-set-password .otp-input.filled { border-color: var(--gold); background: #fffaf0; }
.page-set-password .resend-section { margin-top: 16px; text-align: center; font-size: 14px; color: var(--muted); }
.page-set-password .resend-link { color: var(--gold-ink); font-weight: 600; cursor: pointer; }
.page-set-password .resend-link:hover { color: var(--ink); }
.page-set-password .resend-link.disabled { color: var(--muted); cursor: not-allowed; pointer-events: none; }
.page-set-password .timer { color: var(--gold-ink); font-weight: 600; }
.page-set-password .step-back-link { display: block; margin-top: 18px; text-align: center; font-size: 14px; font-weight: 600; color: var(--gold-ink); }
.page-set-password .step-back-link:hover { color: var(--ink); }
.page-set-password .password-requirements { margin-top: 10px; }
.page-set-password .password-requirements small { font-size: 12.5px; color: var(--ink-2); }
.page-set-password .password-requirements ul { list-style: disc; }

/* ---------- Page: ssl-certificate ---------- */
.page-ssl-certificate .cert-doc h2:not(:first-child) { padding-top: 40px; border-top: 1px solid var(--line); }
.page-ssl-certificate .cert-status { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 16px; border-radius: 999px; border: 1px solid; font: 500 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.page-ssl-certificate .cert-status .icon { width: 15px; height: 15px; }
.page-ssl-certificate .cert-status.is-valid { background: #eef6ea; border-color: #cfe3c6; color: #2f6b32; }
.page-ssl-certificate .cert-status.is-invalid { background: #fbeeea; border-color: #efcfc7; color: #a33a2b; }
.page-ssl-certificate .cert-table th[scope="row"] { width: 32%; font: 500 9.5px/1.6 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); background: var(--card); border-bottom: 1px solid var(--line); }
.page-ssl-certificate .cert-table td { color: var(--ink); word-break: break-word; }
.page-ssl-certificate .cert-doc .muted-note { font-size: 13.5px; color: var(--muted); }
.page-ssl-certificate .verify-links { display: flex; flex-wrap: wrap; gap: 12px; }
.page-ssl-certificate .prose .verify-links a { text-decoration: none; color: var(--ink); }
.page-ssl-certificate .verify-links .icon { width: 14px; height: 14px; color: var(--gold-ink); }
@media (max-width: 720px) {
  .page-ssl-certificate .cert-table th[scope="row"], .page-ssl-certificate .cert-table td { display: block; width: 100%; }
  .page-ssl-certificate .cert-table th[scope="row"] { border-bottom: 0; padding-bottom: 4px; }
  .page-ssl-certificate .cert-table td { padding-top: 4px; }
  .page-ssl-certificate .verify-links .btn { flex: 1 1 100%; }
}

/* ---------- Page: terms-and-conditions ---------- */
.page-terms-and-conditions .legal-doc h2 { scroll-margin-top: 100px; }
.page-terms-and-conditions .legal-doc h2:not(:first-child) { padding-top: 40px; border-top: 1px solid var(--line); }
.page-terms-and-conditions .legal-doc .callout { margin-top: 28px; }
.page-terms-and-conditions .legal-doc .callout h3 { margin-top: 0; }
.page-terms-and-conditions .legal-doc .callout p { margin-top: 12px; }
.page-terms-and-conditions .legal-doc .callout p:first-child { margin-top: 0; }
.page-terms-and-conditions .legal-doc ol ol { list-style: lower-alpha; margin-top: 10px; }
.page-terms-and-conditions .legal-doc .terms-notes { font-size: 13.5px; color: var(--muted); }
.page-terms-and-conditions .legal-doc .terms-notes p + p { margin-top: 6px; }
.page-terms-and-conditions .legal-doc { overflow-wrap: break-word; }
/* Let the grid track shrink below the tables' min-content width on narrow screens. */
.page-terms-and-conditions .doc-layout > * { min-width: 0; }
@media (max-width: 1024px) {
  .page-terms-and-conditions .doc-layout .toc { columns: 2; column-gap: 32px; }
  .page-terms-and-conditions .doc-layout .toc__title { column-span: all; }
}
@media (max-width: 720px) {
  .page-terms-and-conditions .doc-layout .toc { columns: 1; }
}

/* ---------- Page: verify-otp ---------- */
.page-verify-otp .auth__card .phone-number { font-weight: 600; color: var(--ink); }
.page-verify-otp .auth__card .change-link { margin-left: 6px; }
.page-verify-otp .otp-input { font: 500 22px/1 var(--mono); letter-spacing: 10px; text-align: center; }
.page-verify-otp .otp-input::placeholder { letter-spacing: normal; color: var(--muted); }
.page-verify-otp .resend-timer { margin-top: 14px; font-size: 14px; color: var(--muted); }
.page-verify-otp .resend-link { display: none; color: var(--gold-ink); font-weight: 600; cursor: pointer; }
.page-verify-otp .resend-link:hover { color: var(--ink); }

.product-note { margin-top: 14px; }

/* ---------- Password rules list (forgot / set password) ---------- */
.pw-rules { margin: 5px 0 0; padding-left: 20px; list-style: disc; font-size: 12px; color: var(--muted); }

/* Contact Us form result line (also shown when the toast library is unavailable). */
.form-status { margin: 14px 0 0; font-size: 14px; min-height: 1em; }
.form-status--ok { color: var(--ink); }
.form-status--error { color: #9b1c1c; }

/* ---------- Page: about-us (client revisions, 15 + 17 Oct 2026) ---------- */
.page-about-us .about-rule { display: block; width: 64px; height: 1.5px; background: var(--gold); }
.page-about-us .about-rule--center { margin-inline: auto; }
.page-about-us .h2 em, .page-about-us .about-title em, .page-about-us .footprint__title em,
.page-about-us .team-band__title em, .page-about-us .next-band__title em { font-style: normal; color: var(--gold-ink); }
.page-about-us .section__head--center .about-rule + .h2 { margin-top: 22px; }
.page-about-us .section__head .lead + .lead { margin-top: 14px; }

/* Who We Are: photo and copy in one section */
.page-about-us .about-intro__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.page-about-us .about-intro__media { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid rgba(160, 140, 100, .25); box-shadow: var(--shadow-card); }
.page-about-us .about-intro__media img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.page-about-us .about-title { margin: 18px 0 6px; font: 400 clamp(40px, 4.4vw, 56px)/1.05 var(--serif); letter-spacing: -.015em; color: var(--ink); }
.page-about-us .about-intro__text .crumbs { margin-bottom: 18px; }
.page-about-us .about-intro__text p { margin-top: 16px; font-size: 15.5px; line-height: 1.72; color: var(--ink-2); }

/* Our Journey timeline */
.page-about-us .timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; position: relative; padding-top: 34px; }
.page-about-us .timeline::before { content: ''; position: absolute; left: 7px; right: 7px; top: 7px; height: 1.5px; background: var(--gold); }
.page-about-us .timeline__item { position: relative; }
.page-about-us .timeline__item::before { content: ''; position: absolute; left: 0; top: -34px; width: 15px; height: 15px; border-radius: 50%; background: var(--gold-ink); box-shadow: 0 0 0 4px var(--sec-b, #efe5d3); }
.page-about-us .timeline__year { display: block; font: 400 24px/1.1 var(--serif); letter-spacing: -.01em; color: var(--gold-ink); }
.page-about-us .timeline__title { margin-top: 12px; padding-bottom: 12px; font: 400 18px/1.25 var(--serif); color: var(--ink); position: relative; }
.page-about-us .timeline__title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 28px; height: 1.5px; background: var(--gold); }
.page-about-us .timeline__text { margin-top: 12px; font-size: 14px; line-height: 1.62; color: var(--ink-2); }
.page-about-us .journey__cta { margin-top: 44px; text-align: center; }

/* Founders: profile cards + three facts */
.page-about-us .founder-profiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.page-about-us .founder-profile { padding: 28px 28px 26px; border: 1px solid #e6dcc8; border-radius: 18px; background: #fff; box-shadow: var(--shadow-soft); }
.page-about-us .founder-profile__head { display: flex; align-items: center; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.page-about-us .founder-profile__photo { width: 104px; height: 104px; flex: none; border-radius: 14px; object-fit: cover; filter: grayscale(1); }
.page-about-us .founder-profile__name { font: 400 26px/1.15 var(--serif); letter-spacing: -.015em; color: var(--ink); }
.page-about-us .founder-profile__role { margin-top: 6px; font: 500 10.5px/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.page-about-us .founder-profile__in { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-top: 10px; border-radius: 8px; background: #0a66c2; color: #fff; }
.page-about-us .founder-profile__in .icon { width: 16px; height: 16px; }
.page-about-us .founder-profile__bio { margin-top: 16px; font-size: 14.5px; line-height: 1.68; color: var(--ink-2); }
.page-about-us .founder-profile__points { margin-top: 14px; }
.page-about-us .founder-profile__points li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.page-about-us .founder-profile__points li + li { margin-top: 6px; }
.page-about-us .founder-profile__points li::before { content: ''; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.page-about-us .founder-profile__quote { margin-top: 18px; padding: 4px 0 4px 16px; border-left: 2px solid var(--gold); font: italic 400 16.5px/1.5 var(--serif); color: var(--ink); }
.page-about-us .founder-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.page-about-us .founder-fact { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 24px; border: 1px solid rgba(194, 154, 44, .32); border-radius: 18px; background: rgba(255, 253, 248, .85); }
.page-about-us .founder-fact__icon { width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px rgba(194, 154, 44, .45); }
.page-about-us .founder-fact__icon img { width: 48px; height: 48px; }
.page-about-us .founder-fact__title { margin-top: 16px; padding-bottom: 12px; width: 100%; border-bottom: 1px solid rgba(194, 154, 44, .3); font: 400 21px/1.25 var(--serif); color: var(--ink); }
.page-about-us .founder-fact p { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }

/* The Moneyfrog Difference — four columns so the section fits one screen */
.page-about-us .difference { padding-block: clamp(56px, 6vw, 84px); }
.page-about-us .about-caps { max-width: none; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(30px, 3.2vw, 42px); }
.page-about-us .section__head--center { max-width: 860px; }
.page-about-us .difference .section__head + * { margin-top: 36px; }
.page-about-us .difference__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line-2); }
.page-about-us .difference__item { padding: 26px 22px; }
.page-about-us .difference__item + .difference__item { border-left: 1px solid var(--line-2); }
.page-about-us .difference__item img { width: 56px; height: 56px; }
.page-about-us .difference__num { margin-right: 6px; color: var(--gold-ink); }
.page-about-us .difference__title { margin-top: 14px; font: 400 19px/1.25 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.page-about-us .difference__item p { margin-top: 10px; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }

/* Client footprint band (maps artwork behind the figures) */
.page-about-us .footprint { background: #f6f0e3 url('../img/pages/about/footprint.jpg') center / cover no-repeat; text-align: center; }
.page-about-us .footprint .wrap { padding-block: clamp(64px, 8vw, 104px); }
.page-about-us .footprint__title { margin-top: 26px; font: 400 clamp(36px, 4.2vw, 56px)/1.08 var(--serif); letter-spacing: -.015em; color: var(--ink); }
.page-about-us .footprint__title em { display: block; }
.page-about-us .footprint__stats { display: flex; justify-content: center; margin-top: 34px; }
.page-about-us .footprint__stats > div { padding: 0 40px; }
.page-about-us .footprint__stats > div + div { border-left: 1px solid var(--line-2); }
.page-about-us .footprint__stats dt { font: 400 26px/1.2 var(--serif); color: var(--ink); }
.page-about-us .footprint__num { display: block; font: 400 clamp(52px, 6vw, 80px)/1 var(--serif); letter-spacing: -.02em; color: var(--gold-ink); }
.page-about-us .footprint__stats dd { margin: 8px 0 0; font-size: 14.5px; color: var(--ink-2); }

/* Team: wide photo, heading on its light left side */
.page-about-us .team-band { position: relative; overflow: hidden; background: #f6f1e6; }
.page-about-us .team-band__img { width: 100%; height: auto; min-height: 340px; object-fit: cover; object-position: 70% center; }
.page-about-us .team-band .wrap { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; }
.page-about-us .team-band__title { margin-top: 24px; max-width: 420px; font: 400 clamp(32px, 3.6vw, 50px)/1.1 var(--serif); letter-spacing: -.015em; color: var(--ink); }

/* WealthOS: text + image, like the homepage app section */
.page-about-us .wealthos__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.page-about-us .wealthos__title { margin-top: 22px; }
.page-about-us .wealthos .lead { margin-top: 18px; }
.page-about-us .wealthos__media { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid rgba(160, 140, 100, .25); box-shadow: var(--shadow-card); }
.page-about-us .wealthos__media img { width: 100%; height: auto; }

/* You Could Be The Next */
.page-about-us .next-band { position: relative; background: #f3ece0 url('../img/pages/about/next.jpg') 70% center / cover no-repeat; }
.page-about-us .next-band::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(246, 241, 230, .9) 0%, rgba(246, 241, 230, .7) 32%, rgba(246, 241, 230, 0) 55%); }
.page-about-us .next-band .wrap { position: relative; padding-block: clamp(72px, 9vw, 124px); }
.page-about-us .next-band__title { margin-top: 24px; max-width: 460px; font: 400 clamp(36px, 4vw, 56px)/1.08 var(--serif); letter-spacing: -.015em; color: var(--ink); }
.page-about-us .next-band__title em { display: block; }
.page-about-us .next-band p { margin-top: 18px; max-width: 400px; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
.page-about-us .next-band .btn { margin-top: 28px; }

@media (max-width: 1024px) {
  .page-about-us .about-intro__grid, .page-about-us .wealthos__grid { grid-template-columns: 1fr; gap: 36px; }
  .page-about-us .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .page-about-us .timeline::before { display: none; }
  .page-about-us .timeline__item::before { top: -24px; }
  .page-about-us .founder-profiles { grid-template-columns: 1fr; }
  .page-about-us .difference__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-about-us .difference__item:nth-child(3) { border-left: 0; }
  .page-about-us .difference__item:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .page-about-us .team-band { display: flex; flex-direction: column-reverse; }
  .page-about-us .team-band .wrap { position: static; padding-block: 40px 48px; }
  .page-about-us .next-band { background-position: 80% center; }
}
@media (max-width: 720px) {
  .page-about-us .timeline { grid-template-columns: 1fr; row-gap: 40px; padding-top: 24px; }
  .page-about-us .founder-profile { padding: 22px 20px; }
  .page-about-us .founder-profile__photo { width: 84px; height: 84px; }
  .page-about-us .founder-facts { grid-template-columns: 1fr; }
  .page-about-us .difference__grid { grid-template-columns: 1fr; }
  .page-about-us .difference__item, .page-about-us .difference__item + .difference__item { padding: 22px 0; border-left: 0; }
  .page-about-us .difference__item + .difference__item { border-top: 1px solid var(--line-2); }
  .page-about-us .footprint__stats > div { padding: 0 18px; }
  .page-about-us .next-band .wrap { background: rgba(246, 241, 230, .9); }
}

/* ---------- Page: disclaimer + registrations-certifications ---------- */
.page-disclaimer .disc-notes [id] { scroll-margin-top: 100px; }
.page-disclaimer .disc-notes :target { background: #f3e6c2; border-radius: 4px; }
.page-registrations-certifications .cert-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.page-registrations-certifications .cert-card { display: flex; gap: 18px; align-items: flex-start; border: 1px solid var(--line-2); border-radius: var(--radius); background: linear-gradient(180deg, #fdfcf9 0%, #f7f2e8 100%); padding: 24px 26px; color: var(--ink); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.page-registrations-certifications .cert-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.page-registrations-certifications .cert-card .feature__icon { margin-bottom: 0; flex: none; }
.page-registrations-certifications .cert-card__title { display: block; font: 400 20px/1.25 var(--serif); letter-spacing: -.01em; }
.page-registrations-certifications .cert-card__detail { display: block; margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.page-registrations-certifications .cert-card__open { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font: 500 10.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.page-registrations-certifications .cert-card__open .icon { width: 13px; height: 13px; }
.page-registrations-certifications .reg-list { margin-top: 48px; }
.page-registrations-certifications .reg-list .data-table { margin-top: 24px; }
@media (max-width: 720px) {
  .page-registrations-certifications .cert-grid { grid-template-columns: 1fr; }
}

/* ---------- Page: about-us (client revision, 18 Oct 2026) ---------- */

/* About Us — client's 18 Oct revisions (round 4): contained intro photo beside the copy,
   compact founder cards (name, role, quote) with the founder facts on one screen,
   eyebrows + left-aligned heads, footprint copy on the left with the two maps. */

/* Who We Are: photo card beside the copy, everything on the first screen */
.page-about-us .about-intro { padding-block: clamp(28px, 3.4vw, 48px); }
/* Photo and copy share one height (19 Oct): the photo stretches to the text and crops to fit. */
.page-about-us .about-intro__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: stretch; }
.page-about-us .about-intro__media { min-height: 0; }
.page-about-us .about-intro__media img { height: 100%; aspect-ratio: auto; }
.page-about-us .about-intro__text { align-self: center; }
.page-about-us .about-title { margin-top: 14px; }
.page-about-us .about-intro__text .crumbs { margin-bottom: 14px; }
.page-about-us .about-intro__text p { margin-top: 12px; font-size: 15px; line-height: 1.65; }

/* Founders: compact horizontal cards, founder facts right below */
.page-about-us .founders-section { padding-block: clamp(36px, 3.6vw, 52px); }
.page-about-us .founder-cards--compact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.page-about-us .founder-cards--compact .founder-card { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 20px; align-items: center; padding: 16px; border: 1px solid #e6dcc8; border-radius: 16px; background: #fff; box-shadow: var(--shadow-soft); }
.page-about-us .founder-card__img { width: 132px; height: 132px; border-radius: 12px; object-fit: cover; object-position: center 20%; filter: grayscale(1); }
.page-about-us .founder-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.page-about-us .founder-card__name { font: 400 21px/1.2 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.page-about-us .founder-card__role { margin-top: 4px; font: 500 10px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.page-about-us .founder-card__in { flex: none; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: #0a66c2; color: #fff; }
.page-about-us .founder-card__in .icon { width: 16px; height: 16px; }
.page-about-us .founder-card__quote { margin-top: 12px; padding: 2px 0 2px 12px; border-left: 2px solid var(--gold); font: italic 400 14.5px/1.45 var(--serif); color: var(--ink); }
.page-about-us .founder-facts { gap: 16px; margin-top: 18px; }
.page-about-us .founder-fact { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; align-items: start; align-content: start; text-align: left; padding: 16px 18px; border-radius: 14px; }
.page-about-us .founder-fact__icon { grid-row: span 2; width: 52px; height: 52px; }
.page-about-us .founder-fact__icon img { width: 30px; height: 30px; }
.page-about-us .founder-fact__title { margin-top: 0; padding-bottom: 6px; font-size: 17px; }
.page-about-us .founder-fact p { margin-top: 6px; font-size: 13px; line-height: 1.5; }

/* The Moneyfrog Difference: left-aligned head, no rule across the section */
.page-about-us .difference .section__head { max-width: 760px; margin-inline: 0; text-align: left; }
.page-about-us .difference__grid { border-block: 0; }

/* Client footprint: copy on the left, India + world maps to the right */
.page-about-us .footprint { background: #fff; text-align: left; }
.page-about-us .footprint .wrap { padding-block: clamp(36px, 4vw, 56px); }
.page-about-us .footprint__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .75fr) minmax(0, 1.15fr); align-items: center; gap: 28px; }
.page-about-us .footprint__map { width: 100%; height: auto; }
.page-about-us .footprint__title { margin-top: 0; font-size: clamp(32px, 3.4vw, 46px); }
.page-about-us .footprint__stats { justify-content: flex-start; margin-top: 22px; }
.page-about-us .footprint__stats > div:first-child { padding-left: 0; }

/* Team: eyebrow above the heading */
.page-about-us .team-band .eyebrow { margin-bottom: 0; }

@media (max-width: 1024px) {
  .page-about-us .about-intro__grid { grid-template-columns: 1fr; gap: 28px; }
  .page-about-us .about-intro__media img { aspect-ratio: 4 / 3; }
  .page-about-us .founder-cards--compact { grid-template-columns: 1fr; }
  .page-about-us .footprint__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .page-about-us .footprint__body { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .page-about-us .founder-cards--compact .founder-card { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding: 12px; }
  .page-about-us .founder-card__img { width: 88px; height: 88px; }
  .page-about-us .founder-facts { grid-template-columns: 1fr; }
}

/* ---------- Product pages: mutual funds, equity, PMS (client revision, 16 Oct 2026) ---------- */


/* PMS: "What to understand before choosing a PMS" — four numbered cards in a 2x2 grid. */
.pms-consider__title { max-width: 820px; text-wrap: balance; }
.pms-consider__title::after { content: ""; display: block; width: 64px; height: 2px; margin: 20px auto 0; background: var(--gold); }
.pms-consider { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 40px 0 0; padding: 0; }
.pms-consider__card {
  position: relative; padding: 28px 32px 30px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(135deg, var(--card) 0%, #fff 100%); box-shadow: var(--shadow-card);
}
.pms-consider__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.pms-consider__num { width: auto; height: 56px; }
.pms-consider__icon {
  flex: none; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, #f6efe1 100%); box-shadow: 0 10px 24px -14px rgba(70, 52, 18, .35);
}
.pms-consider__icon img { width: 40px; height: 40px; object-fit: contain; }
.pms-consider__name { margin-top: 14px; font: 400 22px/1.25 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.pms-consider__name::before { content: ""; display: block; width: 28px; height: 2px; margin-bottom: 14px; background: var(--gold); }
.pms-consider__text { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.pms-consider__disclaimer { display: flex; align-items: center; gap: 20px; margin-top: 28px; font-size: 13px; line-height: 1.5; color: var(--muted); text-align: center; }
.pms-consider__disclaimer::before, .pms-consider__disclaimer::after { content: ""; flex: 1 1 40px; height: 1px; background: var(--line-2); }
.pms-consider__disclaimer span { flex: 0 1 auto; max-width: 720px; }

@media (max-width: 760px) {
  .pms-consider { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .pms-consider__card { padding: 22px 22px 24px; }
  .pms-consider__num { height: 44px; }
  .pms-consider__icon { width: 64px; height: 64px; }
  .pms-consider__icon img { width: 34px; height: 34px; }
  .pms-consider__name { font-size: 20px; }
  .pms-consider__disclaimer { display: block; }
  .pms-consider__disclaimer::before, .pms-consider__disclaimer::after { display: none; }
}

/* ---------- Product pages: AIF & GIFT City, tax, fixed income, insurance (client revision, 16 Oct 2026) ---------- */

/* Numbered product cards (AIF & GIFT City, Tax, Fixed Income, Insurance — 16-Oct revision).
   Serif numeral image + short gold rule on the left, round icon badge on the right, then title and copy. */
.rpb-head .h2::after { content: ''; display: block; width: 56px; height: 2px; margin: 18px auto 0; background: var(--gold); }
.rpb-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 40px 0 0; padding: 0; }
.rpb-card {
  grid-column: span 2; position: relative; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line-2); border-radius: var(--radius); padding: 24px 26px 26px;
  background: linear-gradient(155deg, #fffefb 0%, #fdfaf3 55%, #fbf6ea 100%); box-shadow: 0 18px 40px -32px rgba(60, 45, 15, .35);
}
.rpb-cards--5 .rpb-card:nth-child(4) { grid-column: 2 / span 2; }
.rpb-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.rpb-card__num { display: block; height: 48px; width: auto; }
.rpb-card__rule { display: block; width: 30px; height: 2px; margin-top: 12px; background: var(--gold); }
.rpb-card__icon {
  flex: none; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
  border: 1px solid rgba(160, 140, 100, .2); background: radial-gradient(circle at 50% 35%, #fffdf8 0%, #f8efdf 100%);
}
.rpb-card__icon img { width: 42px; height: 42px; object-fit: contain; }
.rpb-card__title { margin-top: 14px; font: 400 21px/1.25 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.rpb-card__text { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.rpb-disclaimer { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line-2); font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.rpb-disclaimer strong { font-weight: 600; color: var(--gold-ink); }

@media (max-width: 1024px) {
  .rpb-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rpb-card, .rpb-cards--5 .rpb-card:nth-child(4) { grid-column: auto; }
}
@media (max-width: 640px) {
  .rpb-cards { grid-template-columns: 1fr; }
  .rpb-card { padding: 20px 20px 22px; }
  .rpb-card__num { height: 40px; }
  .rpb-card__icon { width: 64px; height: 64px; }
  .rpb-card__icon img { width: 36px; height: 36px; }
}

/* ---------- Auth aside (login, sign up, OTP, password) — client's 18 Oct revision ----------
   Light panel: heading, intro, three numbered points and the app + web visual. */
.auth__aside { justify-content: flex-start; gap: 28px; padding: 32px clamp(32px, 4.5vw, 64px); color: var(--ink); background: linear-gradient(180deg, #f6f0e3 0%, #efe5d3 100%); border-right: 1px solid var(--line); }
.auth__aside::before { display: none; }
.auth__aside .brand img { filter: none; }
.auth__aside > div { margin-block: auto; }
.auth__quote { color: var(--ink); }
.auth__quote em { color: var(--gold-ink); }
.auth__aside-text { color: var(--ink-2); }
.auth__points--numbered { counter-reset: authpt; margin-top: 22px; gap: 12px; color: var(--ink-2); }
.auth__points--numbered li { counter-increment: authpt; align-items: flex-start; gap: 12px; }
.auth__points--numbered li::before { content: counter(authpt); width: 24px; height: 24px; margin-top: 0; border: 1.5px solid #c9a96a; display: grid; place-items: center; font: 600 12px/1 var(--sans); color: var(--gold-ink); }
.auth__visual { display: block; width: 100%; max-width: 560px; height: auto; max-height: 36vh; margin-top: 26px; object-fit: cover; border-radius: 16px; border: 1px solid rgba(160, 140, 100, .25); box-shadow: var(--shadow-card); }
.auth__reg { color: var(--muted); }

/* About — team section with the real team photo (19 Oct): heading beside a photo card. */
.page-about-us .team-band { overflow: visible; }
.page-about-us .team-band .wrap { position: static; display: grid; }
.page-about-us .team-band__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.page-about-us .team-band__title { margin-top: 18px; }
.page-about-us .team-band__media { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid rgba(160, 140, 100, .25); box-shadow: var(--shadow-card); }
.page-about-us .team-band__media img { display: block; width: 100%; height: auto; max-height: 72vh; object-fit: cover; }
@media (max-width: 1024px) {
  .page-about-us .team-band { display: block; }
  .page-about-us .team-band .wrap { padding-block: 0; }
  .page-about-us .team-band__grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Mutual Funds — disclaimer under the top-funds table (19 Oct). */
.product-note p + p { margin-top: 8px; }
.product-note a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 2px; }

/* About — client footprint as three text columns with a CTA (19 Oct, no maps). */
.page-about-us .footprint__cols { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.page-about-us .footprint__cols > * + * { padding-left: 40px; margin-left: 40px; border-left: 1px solid var(--line-2); }
.page-about-us .footprint__text { padding-top: 34px; }
.page-about-us .footprint__text p { font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.page-about-us .footprint__text p + p { margin-top: 18px; }
.page-about-us .footprint__cta { display: inline-flex; align-items: center; gap: 14px; margin-top: 26px; font: 500 11.5px/1.3 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.page-about-us .footprint__cta-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-ink); color: #fff; flex: none; transition: transform .2s ease; }
.page-about-us .footprint__cta-icon .icon { width: 16px; height: 16px; }
.page-about-us .footprint__cta:hover .footprint__cta-icon { transform: translateX(3px); }
@media (max-width: 1024px) {
  .page-about-us .footprint__cols { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .page-about-us .footprint__cols > .footprint__body { grid-column: 1 / -1; }
  .page-about-us .footprint__cols > * + * { padding-left: 0; margin-left: 0; border-left: 0; }
  .page-about-us .footprint__cols > .footprint__text + .footprint__text { padding-left: 28px; border-left: 1px solid var(--line-2); }
  .page-about-us .footprint__text { padding-top: 0; }
}
@media (max-width: 720px) {
  .page-about-us .footprint__cols { grid-template-columns: 1fr; }
  .page-about-us .footprint__cols > .footprint__text + .footprint__text { padding-left: 0; border-left: 0; }
}

/* Auth (19 Oct): whole panel on one screen, image shown uncropped, no registration line. */
.auth__aside { gap: 20px; padding-block: 24px; }
.auth__points--numbered { margin-top: 16px; gap: 8px; }
.auth__visual { max-height: none; height: auto; object-fit: contain; aspect-ratio: auto; margin-top: 18px; }
@media (max-height: 820px) {
  .auth__quote { font-size: clamp(24px, 2.4vw, 32px); }
  .auth__aside-text { margin-top: 10px; font-size: 14px; }
  .auth__points { font-size: 13.5px; }
}
@media (max-height: 700px) {
  .auth__main { padding-block: 20px; }
  .auth__visual { max-width: 440px; margin-top: 14px; }
  .auth__card form { margin-top: 18px; }
}

/* ---------- Mutual Funds: top-funds finder (search + filters + table) ---------- */
.mf-finder__search { position: relative; max-width: 720px; }
.mf-finder__search input { width: 100%; height: 56px; padding: 0 18px 0 50px; border-radius: 999px; border: 1px solid #ddd5c5; background: #fff; font-size: 16px; box-shadow: 0 8px 24px -18px rgba(22, 25, 29, .35); transition: border-color .2s ease, box-shadow .2s ease; }
.mf-finder__search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(194, 154, 44, .18); }
.mf-finder__search-icon { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--gold-ink); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.mf-finder__filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 8px; }
.mf-finder__filters .field select { text-overflow: ellipsis; }
.mf-finder__sort { display: none; }
.mf-finder__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 12px; min-height: 24px; }
.mf-finder__count { margin: 0; font: 500 10.5px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.mf-finder__reset { padding: 4px 0; border: 0; background: none; font-size: 13.5px; color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mf-finder.is-loading .table-wrap { opacity: .55; transition: opacity .15s ease; }
.mf-finder__basis { margin-top: 14px; }

.mf-table { min-width: 860px; }
.mf-table th { white-space: nowrap; }
.mf-table th button { padding: 0; border: 0; background: none; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; cursor: pointer; }
.mf-table th button::after { content: '↕'; margin-left: 6px; opacity: .35; }
.mf-table th[aria-sort="ascending"] button::after { content: '↑'; opacity: 1; }
.mf-table th[aria-sort="descending"] button::after { content: '↓'; opacity: 1; }
.mf-table th button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
.mf-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mf-table td.is-pos { color: #1f7a4d; }
.mf-table td.is-neg { color: #a33a2b; }
.mf-table td.is-empty { color: var(--muted); }
.mf-table__scheme { min-width: 280px; }
.mf-table__scheme strong { display: block; font-weight: 500; color: var(--ink); }
.mf-table__meta { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.mf-table__risk { white-space: nowrap; color: var(--ink-2); }
.mf-table__state td { padding: 36px 14px; text-align: center; color: var(--ink-2); }
.mf-table tbody tr:hover td { background: #fffdf8; }

@media (max-width: 900px) {
  .mf-finder__filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  /* Phones: each fund becomes a card — name on top, figures in a 2-column grid. */
  .mf-finder__sort { display: block; }
  .mf-finder .table-wrap { overflow: visible; border: 0; border-radius: 0; }
  .mf-table { min-width: 0; background: none; }
  .mf-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .mf-table, .mf-table tbody { display: block; }
  .mf-table tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin-bottom: 12px; padding: 16px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; }
  .mf-table td { display: block; padding: 0; border: 0; text-align: left; }
  .mf-table td.num { text-align: left; }
  .mf-table td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 2px; font: 500 9px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
  .mf-table td.mf-table__scheme { grid-column: 1 / -1; min-width: 0; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
  .mf-table tbody tr.mf-table__state { display: block; }
  .mf-table tbody tr:hover td { background: none; }
}
@media (max-width: 520px) {
  .mf-finder__filters { grid-template-columns: 1fr; gap: 0; }
  .mf-finder__search input { height: 50px; font-size: 15px; }
}

/* ---------- Careers (/careers) — client's Careers brief + mockup, 13 Nov 2026 ---------- */
/* Hero: three-line headline, illustration on the right with its edges faded into the hero. */
.page-careers .careers-hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 40px; padding-block: 28px 32px; }
.page-careers .careers-hero h1 > span, .page-careers .careers-hero h1 > em { display: block; }
.page-careers .careers-hero .lead { max-width: 520px; }
.careers-hero__media { margin: 0; }
.careers-hero__media img {
  width: 100%; height: auto;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%);
}

/* Why Work at Moneyfrog: five cards in a row — tinted top with numeral + client icon, copy below. */
.careers-why__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.careers-why__card {
  display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: #fff; box-shadow: 0 18px 40px -32px rgba(60, 45, 15, .35);
}
.careers-why__top { position: relative; height: 112px; overflow: hidden; }
.careers-why__top--1 { background: linear-gradient(135deg, #efe2c2 0%, #d8bb80 100%); }
.careers-why__top--2 { background: linear-gradient(135deg, #2b2520 0%, #4b4033 100%); }
.careers-why__top--3 { background: linear-gradient(135deg, #ece7dc 0%, #d6cebe 100%); }
.careers-why__top--4 { background: linear-gradient(135deg, #ead39c 0%, #c49b4b 100%); }
.careers-why__top--5 { background: linear-gradient(120deg, #2f2923 0%, #6f5d43 55%, #b8955a 100%); }
.careers-why__num { position: absolute; left: 18px; top: 14px; z-index: 1; font: 400 26px/1 var(--serif); color: #fffaf0; }
.careers-why__top img { position: absolute; right: -14px; top: -12px; width: 156px; height: 156px; }
.careers-why__body { padding: 18px 18px 22px; }
.careers-why__title { font: 400 19px/1.25 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.careers-why__body p { margin-top: 10px; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }

/* Current Openings: two job cards. */
.careers-jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.careers-job {
  display: flex; flex-direction: column; padding: 26px 28px 28px; border: 1px solid var(--line-2); border-radius: 16px;
  background: #fff; box-shadow: var(--shadow-card);
}
.careers-job__cat { font: 500 10px/1.4 var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-ink); }
.careers-job__title { margin-top: 10px; padding-bottom: 20px; border-bottom: 1px solid var(--line); font: 400 26px/1.2 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.careers-job__meta { display: grid; gap: 12px; margin-top: 20px; font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }
.careers-job__meta li { display: flex; align-items: center; gap: 12px; }
.careers-job__meta .icon { width: 17px; height: 17px; color: var(--gold); }
.careers-job__apply { flex: 1; margin-top: 22px; font-size: 13.5px; line-height: 1.65; color: var(--ink-2); }
.careers-job__apply a { font-weight: 600; color: var(--ink); }
.careers-job__apply a:hover { color: var(--gold-ink); }
.careers-job__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 48px; margin-top: 22px; padding: 0 22px;
  border: 1px solid #c9b98f; border-radius: 999px; background: #fbf8f1; font: 600 14px/1 var(--sans); color: var(--ink);
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.careers-job__btn:hover { border-color: var(--gold); background: #fff; transform: translateY(-1px); }
.careers-job__btn .icon { width: 15px; height: 15px; }
.careers-jobs__empty { max-width: 720px; padding: 22px 26px; border: 1px dashed var(--line-2); border-radius: var(--radius); background: #fff; color: var(--ink-2); }

/* Our Hiring Process: dark band, four steps divided by thin rules. Beats the alternating section background. */
.page-careers main > section.careers-process { background: #29251f; border-top-color: #29251f; }
.careers-process .eyebrow { color: var(--gold-soft); }
.careers-process .h2 { color: #faf6ee; }
.careers-process .lead { color: rgba(243, 238, 228, .72); }
.careers-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.careers-step { padding: 4px 26px 6px; text-align: center; }
.careers-step + .careers-step { border-left: 1px solid rgba(243, 238, 228, .16); }
.careers-step img { width: 68px; height: 68px; margin: 0 auto; filter: brightness(1.35) saturate(.9); }
.careers-step__num { display: block; margin-top: 18px; font: 500 10px/1.4 var(--mono); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-soft); }
.careers-step__title { margin-top: 8px; font: 400 20px/1.25 var(--serif); letter-spacing: -.01em; color: #faf6ee; }
.careers-step p { margin-top: 10px; font-size: 14px; line-height: 1.6; color: rgba(243, 238, 228, .7); }

/* Future Opportunities: warm band, copy left, dark button right, thin decorative ring. */
.page-careers main > section.careers-future { position: relative; overflow: hidden; background: #ecdfc6; border-top-color: #ecdfc6; }
.careers-future::after {
  content: ''; position: absolute; right: -90px; top: 22px; width: 420px; height: 420px; border-radius: 50%;
  border: 1px solid rgba(138, 106, 31, .3); pointer-events: none;
}
.careers-future__grid { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; }
.careers-future .lead { margin-top: 18px; max-width: 560px; }
.careers-future__btn { flex: none; background: #241f1a; color: #fbf8f1; border-color: #241f1a; box-shadow: 0 10px 22px -12px rgba(36, 31, 26, .6); }
.careers-future__btn:hover { background: #16130f; }

@media (max-width: 1100px) {
  .careers-why__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .careers-why__card { grid-column: span 2; }
  .careers-why__card:nth-child(4) { grid-column: 2 / span 2; }
}
@media (max-width: 1024px) {
  .page-careers .careers-hero .wrap { grid-template-columns: 1fr; gap: 8px; padding-block: 28px 24px; }
  .careers-hero__media { max-width: 460px; }
  .careers-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .careers-step:nth-child(3) { border-left: 0; }
}
@media (max-width: 720px) {
  .careers-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .careers-why__card, .careers-why__card:nth-child(4) { grid-column: auto; }
  .careers-why__card:last-child { grid-column: 1 / -1; }
  .careers-jobs { grid-template-columns: 1fr; }
  .careers-job { padding: 22px 20px 22px; }
  .careers-job__title { font-size: 23px; }
  .careers-future__grid { flex-direction: column; align-items: flex-start; }
  .careers-future::after { width: 300px; height: 300px; right: -140px; top: auto; bottom: -120px; }
}
@media (max-width: 520px) {
  .careers-why__grid { grid-template-columns: 1fr; }
  .careers-why__top { height: 92px; }
  .careers-why__top img { width: 132px; height: 132px; }
  .careers-steps { grid-template-columns: 1fr; row-gap: 0; }
  .careers-step { padding: 22px 0; }
  .careers-step + .careers-step { border-left: 0; border-top: 1px solid rgba(243, 238, 228, .16); }
  .careers-future__btn { width: 100%; }
}
