/* VIP Forex Club Theme 1.18.0 — site-wide responsive and typography pass. */
:root{
  --vipfc-shell-width:90%;
  --vipfc-shell-max:1760px;
  --vipfc-font-body:'Inter',ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  --vipfc-font-heading:'Manrope','Inter',ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  --vipfc-section-space:clamp(50px,5vw,84px);
  --vipfc-grid-gap:clamp(14px,1.6vw,24px);
}
html{overflow-x:hidden;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body.vipfc-theme{font-family:var(--vipfc-font-body);font-size:clamp(16px,1vw,18px);line-height:1.65;overflow-x:hidden}
body.vipfc-theme h1,body.vipfc-theme h2,body.vipfc-theme h3,body.vipfc-theme h4,body.vipfc-theme h5,body.vipfc-theme h6{font-family:var(--vipfc-font-heading);letter-spacing:-.028em;text-wrap:balance}
body.vipfc-theme p,body.vipfc-theme li{overflow-wrap:anywhere}
.vipfc-container,.vipfc-page-container{width:min(var(--vipfc-shell-width),var(--vipfc-shell-max))!important;max-width:none!important;margin-inline:auto!important;padding-inline:0!important}
.vipfc-narrow{max-width:none!important}
.vipfc-section{padding-block:var(--vipfc-section-space)!important}
.vipfc-page-shell{padding:clamp(36px,4.5vw,68px) 0 clamp(56px,6vw,92px)!important}
.vipfc-page-header{max-width:min(100%,1040px)!important;margin-bottom:clamp(24px,3vw,40px)!important}
.vipfc-page-header h1{font-size:clamp(36px,4vw,56px)!important;line-height:1.08!important;margin-bottom:18px!important}
.vipfc-page-header p{font-size:clamp(16px,1.2vw,19px)!important;line-height:1.65!important;max-width:72ch}
.vipfc-content-card,.vipfc-client-placeholder,.vipfc-contact-card,.vipfc-account-card{min-width:0;overflow-wrap:anywhere}
.vipfc-content-card,.vipfc-client-placeholder{padding:clamp(22px,2.4vw,36px)!important}
.vipfc-prose img,.vipfc-prose video,.vipfc-prose iframe{max-width:100%;height:auto}
.vipfc-prose pre{max-width:100%;overflow:auto}

/* Header: consistent three-zone alignment on desktop, stable mobile controls. */
.vipfc-header-inner{width:100%;min-width:0}
.vipfc-brand,.vipfc-brand-wordmark,.vipfc-primary-nav,.vipfc-header-actions{min-width:0}
.vipfc-brand-wordmark strong{font-family:Georgia,'Times New Roman',serif!important}
@media(min-width:1051px){
  .vipfc-header-inner{display:grid!important;grid-template-columns:minmax(250px,1fr) auto minmax(250px,1fr)!important;align-items:center!important;gap:clamp(22px,2.3vw,42px)!important}
  .vipfc-brand{justify-self:start}
  .vipfc-primary-nav{justify-self:center}
  .vipfc-header-actions{justify-self:end;margin-left:0!important}
  .vipfc-nav-list{gap:clamp(20px,1.85vw,34px)!important}
  .vipfc-nav-list a,.vipfc-login,.vipfc-button-small{font-size:clamp(13px,.9vw,15px)!important;white-space:nowrap}
}
@media(max-width:1050px){
  .vipfc-header-inner{display:flex!important;gap:14px!important}
  .vipfc-brand{flex:1 1 auto}
  .vipfc-menu-toggle{flex:0 0 auto}
  .vipfc-mobile-actions{display:flex;flex-wrap:wrap;align-items:stretch;gap:12px!important}
  .vipfc-mobile-actions>a{min-height:46px;display:inline-flex;align-items:center}
}
@media(max-width:520px){
  .vipfc-brand-wordmark strong{font-size:14px!important}
  .vipfc-brand-wordmark small{font-size:8px!important;letter-spacing:.12em!important}
  .vipfc-brand img{width:50px!important;height:50px!important}
  .vipfc-menu-toggle{width:44px!important;height:44px!important;padding:10px!important}
}

/* Hero: balanced columns, readable copy, no crowding. */
.vipfc-hero--firstview{padding:clamp(26px,3vw,42px) 0 clamp(24px,3vw,38px)!important}
.vipfc-hero--firstview .vipfc-hero-grid{grid-template-columns:minmax(360px,.92fr) minmax(520px,1.08fr)!important;gap:clamp(36px,4vw,76px)!important;align-items:center!important;min-height:auto!important}
.vipfc-hero--firstview .vipfc-hero-copy{padding:clamp(8px,1vw,18px) 0!important;min-width:0}
.vipfc-hero--firstview .vipfc-hero-copy h1{font-family:var(--vipfc-font-heading)!important;font-size:clamp(48px,4.1vw,70px)!important;line-height:1.03!important;letter-spacing:-.04em!important;max-width:12.6ch!important;margin-bottom:clamp(20px,2.2vw,28px)!important}
.vipfc-hero--firstview .vipfc-hero-description{font-family:var(--vipfc-font-body)!important;font-size:clamp(17px,1.12vw,19px)!important;line-height:1.65!important;max-width:59ch!important;margin-bottom:26px!important}
.vipfc-hero--firstview .vipfc-actions{gap:12px!important}
.vipfc-hero--firstview .vipfc-button{min-height:50px;padding:13px 21px;font-size:16px}
.vipfc-hero--firstview .vipfc-hero-stage{min-width:0;min-height:clamp(340px,30vw,455px)!important;display:flex!important;align-items:center!important;margin:0!important}
.vipfc-hero--firstview .vipfc-hero-performance{margin-top:clamp(10px,1.4vw,18px)!important}

/* Shared content grids. */
.vipfc-section-heading{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr)!important;align-items:end!important;gap:clamp(28px,4vw,64px)!important;margin-bottom:clamp(26px,3vw,42px)!important}
.vipfc-section-heading>p{max-width:58ch!important;font-size:clamp(16px,1.05vw,18px)!important;line-height:1.65!important;margin:0!important}
.vipfc-intro-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:var(--vipfc-grid-gap)!important;align-items:stretch}
.vipfc-intro-card{height:100%;min-width:0;padding:clamp(22px,1.8vw,28px)!important}
.vipfc-strategy-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:var(--vipfc-grid-gap)!important;align-items:stretch}
.vipfc-strategy-card{display:flex!important;flex-direction:column;min-width:0;height:100%;padding:clamp(24px,2vw,32px)!important}
.vipfc-strategy-card>p:not(.vipfc-card-risk):not(.vipfc-kicker){min-height:0!important}
.vipfc-strategy-card>.vipfc-button,.vipfc-strategy-card .vipfc-actions{margin-top:auto}
.vipfc-strategy-card h3{font-size:clamp(28px,2.2vw,36px)!important}
.vipfc-strategy-meta,.vipfc-account-offer{min-width:0;overflow-wrap:anywhere}
.vipfc-steps{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:var(--vipfc-grid-gap)!important;align-items:stretch}
.vipfc-step{height:100%;min-width:0;padding:clamp(20px,1.7vw,26px)!important}
.vipfc-step h3{font-size:clamp(18px,1.4vw,21px)!important}
.vipfc-broker-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:var(--vipfc-grid-gap)!important;align-items:stretch}
.vipfc-broker-card{min-width:0;height:100%;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:space-between!important;text-align:center;padding:clamp(22px,2vw,30px)!important;gap:18px!important}
.vipfc-broker-card img{max-width:min(220px,82%)!important;width:auto!important;height:clamp(46px,5vw,68px)!important;object-fit:contain!important}
.vipfc-broker-card a{max-width:100%!important;overflow-wrap:anywhere}
.vipfc-performance-cta{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:clamp(24px,3vw,50px)!important}
.vipfc-performance-cta>div{min-width:0;max-width:920px}
.vipfc-performance-cta .vipfc-button{flex:0 0 auto}
.vipfc-telegram-card,.vipfc-final-card{min-width:0;gap:clamp(24px,4vw,60px)!important;padding:clamp(28px,3vw,44px)!important}
.vipfc-faq-grid{gap:clamp(24px,3vw,48px)!important}
.vipfc-faq-list{min-width:0}
.vipfc-faq summary{overflow-wrap:anywhere}
.vipfc-contact-grid,.vipfc-account-grid,.vipfc-client-preview-grid{gap:var(--vipfc-grid-gap)!important}

/* Legal pages: readable line length, responsive sidebar. */
.vipfc-legal-layout{grid-template-columns:minmax(220px,280px) minmax(0,1fr)!important;gap:clamp(26px,3vw,48px)!important;align-items:start!important}
.vipfc-legal-content{padding:clamp(24px,3vw,42px)!important;min-width:0}
.vipfc-legal-content h1{font-family:var(--vipfc-font-heading)!important;font-size:clamp(34px,3.4vw,52px)!important;line-height:1.08!important}
.vipfc-legal-content pre,.vipfc-legal-content table{max-width:100%;overflow:auto}

/* Compact footer with no wasted vertical space. */
.vipfc-site-footer{overflow:hidden}
.vipfc-footer-grid--final{grid-template-columns:minmax(220px,1.2fr) minmax(150px,.7fr) minmax(280px,1.35fr) minmax(190px,.75fr)!important;gap:clamp(20px,2.5vw,42px)!important;align-items:start!important}
.vipfc-footer-brand,.vipfc-footer-links,.vipfc-footer-connect{min-width:0}
.vipfc-footer-links a{overflow-wrap:anywhere}
.vipfc-footer-legal .vipfc-footer-links{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px 20px!important}
.vipfc-footer-bottom{gap:14px 26px!important;flex-wrap:wrap}

/* Laptop / small desktop. */
@media(max-width:1180px){
  .vipfc-hero--firstview .vipfc-hero-grid{grid-template-columns:minmax(330px,.95fr) minmax(460px,1.05fr)!important;gap:30px!important}
  .vipfc-hero--firstview .vipfc-hero-copy h1{font-size:clamp(44px,4.6vw,58px)!important}
  .vipfc-strategy-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .vipfc-strategy-grid>.vipfc-strategy-card:last-child{grid-column:1/-1}
  .vipfc-steps{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .vipfc-footer-grid--final{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .vipfc-footer-brand{grid-column:1/-1!important}
}

/* Tablet. */
@media(max-width:960px){
  :root{--vipfc-shell-width:92%}
  .vipfc-hero--firstview .vipfc-hero-grid{grid-template-columns:1fr!important;gap:16px!important}
  .vipfc-hero--firstview .vipfc-hero-copy{max-width:760px!important}
  .vipfc-hero--firstview .vipfc-hero-copy h1{max-width:14ch!important;font-size:clamp(44px,6.5vw,58px)!important}
  .vipfc-hero--firstview .vipfc-hero-stage{min-height:clamp(310px,48vw,420px)!important;width:100%!important}
  .vipfc-section-heading{grid-template-columns:1fr!important;gap:16px!important}
  .vipfc-section-heading>p{max-width:70ch!important}
  .vipfc-intro-grid{grid-template-columns:1fr!important}
  .vipfc-broker-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .vipfc-broker-grid>.vipfc-broker-card:last-child{grid-column:1/-1}
  .vipfc-performance-cta{align-items:flex-start!important}
  .vipfc-legal-layout{grid-template-columns:1fr!important}
  .vipfc-legal-aside{position:static!important}
}

/* Phone / narrow tablet. */
@media(max-width:720px){
  :root{--vipfc-shell-width:90%}
  .vipfc-section{padding-block:clamp(42px,9vw,58px)!important}
  .vipfc-hero--firstview{padding-top:22px!important}
  .vipfc-hero--firstview .vipfc-hero-copy h1{font-size:clamp(38px,10vw,50px)!important;max-width:none!important}
  .vipfc-hero--firstview .vipfc-hero-description{font-size:17px!important;line-height:1.6!important}
  .vipfc-hero--firstview .vipfc-hero-stage{min-height:clamp(270px,68vw,350px)!important}
  .vipfc-hero--firstview .vipfc-actions{display:grid!important;grid-template-columns:1fr!important;width:100%}
  .vipfc-hero--firstview .vipfc-actions .vipfc-button{width:100%!important}
  .vipfc-strategy-grid,.vipfc-steps,.vipfc-broker-grid{grid-template-columns:1fr!important}
  .vipfc-strategy-grid>.vipfc-strategy-card:last-child,.vipfc-broker-grid>.vipfc-broker-card:last-child{grid-column:auto}
  .vipfc-performance-cta{display:grid!important;grid-template-columns:1fr!important}
  .vipfc-performance-cta .vipfc-button{justify-self:start}
  .vipfc-telegram-card,.vipfc-final-card{display:flex!important;flex-direction:column!important;align-items:flex-start!important}
  .vipfc-footer-grid--final{grid-template-columns:1fr!important;gap:22px!important}
  .vipfc-footer-brand{grid-column:auto!important}
  .vipfc-footer-legal .vipfc-footer-links{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:440px){
  .vipfc-container,.vipfc-page-container{width:90%!important}
  .vipfc-hero--firstview .vipfc-hero-copy h1{font-size:clamp(36px,10.4vw,44px)!important}
  .vipfc-button{max-width:100%;min-width:0}
  .vipfc-footer-legal .vipfc-footer-links{grid-template-columns:1fr!important}
  .vipfc-content-card{padding:20px!important}
}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
@media(forced-colors:active){.vipfc-button,.vipfc-content-card,.vipfc-strategy-card,.vipfc-broker-card{border:1px solid CanvasText}}
