/* VIP Forex Core 1.4.0 — complete responsive presentation pass. */
:root{
  --vfc-shell-width:90%;
  --vfc-shell-max:1760px;
  --vfc-card-gap:clamp(14px,1.6vw,24px);
}
.vfc-page-container{width:min(var(--vfc-shell-width),var(--vfc-shell-max))!important;max-width:none!important;margin-inline:auto!important}
.vfc-page-shell,.vfc-public{font-family:var(--vfc-font-body)!important;font-size:clamp(16px,1vw,18px)!important;line-height:1.65!important;min-width:0}
.vfc-page-header{max-width:min(100%,1040px)!important;margin-bottom:clamp(24px,3vw,42px)!important}
.vfc-page-header h1{font-family:var(--vfc-font-heading)!important;font-size:clamp(36px,4vw,56px)!important;line-height:1.08!important;letter-spacing:-.03em!important}
.vfc-page-header>p:not(.vfc-eyebrow){font-family:var(--vfc-font-body)!important;font-size:clamp(16px,1.2vw,19px)!important;line-height:1.65!important}
.vfc-public h2{font-size:clamp(28px,2.8vw,40px)!important}
.vfc-public h3{font-size:clamp(20px,1.65vw,24px)!important}
.vfc-public p,.vfc-public li,.vfc-public dd,.vfc-public td,.vfc-public th{overflow-wrap:anywhere}
.vfc-public img,.vfc-public video,.vfc-public iframe{max-width:100%;height:auto}

/* Strategy tabs. */
.vfc-tabs[role=tablist]{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
.vfc-tabs[role=tablist] a{max-width:none!important;width:100%;min-width:0;display:flex!important;align-items:center;justify-content:center;text-align:center;padding:12px 14px!important;font-size:clamp(14px,1.05vw,17px)!important;overflow-wrap:anywhere}

/* Performance cards. */
.vfc-public .vfc-key-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:var(--vfc-card-gap)!important;align-items:stretch!important;margin:clamp(20px,2.2vw,30px) 0!important}
.vfc-public .vfc-key-stats .vfc-stat{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;height:100%!important;min-height:154px!important;padding:clamp(20px,1.8vw,26px)!important;border-radius:15px!important;min-width:0!important}
.vfc-public .vfc-key-stats .vfc-stat-label{font-size:clamp(14px,.95vw,16px)!important;line-height:1.4!important;min-height:0!important;margin:0 0 10px!important;overflow-wrap:anywhere}
.vfc-public .vfc-key-stats .vfc-stat-value{font-size:clamp(27px,2.25vw,38px)!important;line-height:1.08!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;margin:0!important}
.vfc-public .vfc-key-stats .vfc-stat-note{font-size:clamp(13px,.9vw,15px)!important;line-height:1.5!important;margin-top:auto!important;padding-top:12px!important;min-height:0!important}

/* Homepage hero stats + chart. */
.vfc-hero-stats-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important}
.vfc-hero-stat{height:100%!important;min-height:104px!important;min-width:0!important;padding:14px 16px!important;overflow:hidden!important}
.vfc-hero-stat-label{min-height:34px!important;min-width:0!important;overflow-wrap:anywhere!important}
.vfc-hero-stat-label>span:last-child{min-width:0!important}
.vfc-hero-stat-value{font-size:clamp(25px,1.8vw,32px)!important;line-height:1.05!important;margin:7px 0 4px!important;white-space:normal!important;overflow-wrap:anywhere!important}
.vfc-hero-stat-help{font-size:12.5px!important;line-height:1.35!important;margin:0!important;overflow-wrap:anywhere!important}
.vfc-hero-chart--growth,.vfc-hero-chart{width:100%!important;min-width:0!important;min-height:clamp(280px,28vw,410px)!important}
.vfc-hero-chart--growth svg,.vfc-hero-chart svg{display:block!important;width:100%!important;height:auto!important;max-width:100%!important}
.vfc-hero-chart figcaption{max-width:48%;overflow-wrap:anywhere}

/* Charts, monthly ROI and tables. */
.vfc-chart-card,.vfc-table-card,.vfc-method,.vfc-profile,.vfc-empty{padding:clamp(20px,2vw,30px)!important;border-radius:16px!important;min-width:0!important}
.vfc-chart-heading{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important;flex-wrap:wrap!important}
.vfc-chart{min-width:0;overflow:hidden}
.vfc-chart svg{width:100%!important;height:auto!important;min-height:clamp(220px,28vw,360px)!important}
.vfc-roi-layout{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr)!important;gap:var(--vfc-card-gap)!important;align-items:stretch!important}
.vfc-roi-card,.vfc-monthly-grid-card{min-width:0!important;height:100%!important}
.vfc-year-table-wrap,.vfc-table-scroll,.vfc-roi-scroll{max-width:100%;overflow:auto!important;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable}
.vfc-year-table,.vfc-roi-table,.vfc-trade-table{width:100%;min-width:760px}
.vfc-public table{max-width:100%}
.vfc-public td,.vfc-public th{padding:12px 11px!important}
.vfc-month-tiles{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}

/* Auth, portal, contact and strategy/profile layouts. */
.vfc-auth-layout{grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr)!important;gap:var(--vfc-card-gap)!important;max-width:none!important}
.vfc-auth-single{width:min(100%,680px)!important;max-width:none!important}
.vfc-contact-layout{grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr)!important;gap:var(--vfc-card-gap)!important}
.vfc-portal-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:var(--vfc-card-gap)!important}
.vfc-profile-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:var(--vfc-card-gap)!important}
.vfc-profile,.vfc-portal-cards .vfc-profile,.vfc-profile-grid .vfc-profile{min-width:0!important;height:100%}
.vfc-public .vfc-field input,.vfc-public .vfc-field select,.vfc-public .vfc-field textarea{width:100%!important;max-width:100%!important;min-width:0!important;font-size:16px!important}
.vfc-inline-actions,.vfc-form-links{gap:12px 18px!important}
.vfc-inline-actions .vfc-button,.vfc-form-links .vfc-button{max-width:100%}
.vfc-record-head{align-items:flex-start!important;flex-wrap:wrap!important}
.vfc-record-head>*{min-width:0}
.vfc-filters{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;align-items:end!important;gap:12px!important}
.vfc-filters label{min-width:0!important}
.vfc-filters input{width:100%!important;min-width:0!important}

/* Legal / documents. */
.vfc-legal-layout{display:grid!important;grid-template-columns:minmax(220px,280px) minmax(0,1fr)!important;gap:clamp(24px,3vw,48px)!important;align-items:start!important}
.vfc-legal-nav,.vfc-legal-article,.vfc-legal-copy,.vfc-document{min-width:0;max-width:100%}
.vfc-legal-nav a{display:block;overflow-wrap:anywhere}
.vfc-legal-copy pre,.vfc-legal-article pre{max-width:100%;overflow:auto}
.vfc-legal-copy table,.vfc-legal-article table{display:block;max-width:100%;overflow:auto}

@media(max-width:1100px){
  :root{--vfc-shell-width:92%}
  .vfc-public .vfc-key-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .vfc-hero-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .vfc-roi-layout{grid-template-columns:1fr!important}
  .vfc-auth-layout,.vfc-contact-layout{grid-template-columns:1fr!important}
  .vfc-portal-cards,.vfc-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .vfc-legal-layout{grid-template-columns:1fr!important}
}
@media(max-width:760px){
  :root{--vfc-shell-width:90%}
  .vfc-page-shell{padding:36px 0 60px!important}
  .vfc-page-header h1{font-size:clamp(34px,8vw,46px)!important}
  .vfc-tabs[role=tablist]{grid-template-columns:1fr!important}
  .vfc-public .vfc-key-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  .vfc-portal-cards,.vfc-profile-grid{grid-template-columns:1fr!important}
  .vfc-chart-card,.vfc-table-card,.vfc-method,.vfc-profile,.vfc-empty{padding:20px!important}
  .vfc-month-tiles{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .vfc-record-head{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  .vfc-scope{justify-self:start}
}
@media(max-width:480px){
  .vfc-page-container{width:90%!important}
  .vfc-public .vfc-key-stats{grid-template-columns:1fr!important}
  .vfc-public .vfc-key-stats .vfc-stat{min-height:0!important;padding:20px!important}
  .vfc-hero-stats-grid{grid-template-columns:1fr!important;gap:9px!important}
  .vfc-hero-stat{min-height:0!important;padding:14px 15px!important}
  .vfc-month-tiles{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .vfc-inline-actions,.vfc-form-links{display:grid!important;grid-template-columns:1fr!important}
  .vfc-inline-actions .vfc-button,.vfc-form-links .vfc-button,.vfc-public .vfc-button{width:100%!important}
  .vfc-pagination{gap:8px 12px!important}
}
