/* eightforex.com v1.1 page styles (Home, Products, Economic Calendar, Company). Uses the shared ef-design tokens. */
.ef-fit main{display:flex;flex-direction:column}
@media (min-width:1024px) and (min-height:700px){
  body.ef-fit{height:100vh;display:flex;flex-direction:column}
  body.ef-fit>main{flex:1;min-height:0;overflow:auto}
  body.ef-fit .ef-header{flex:none}body.ef-fit .ef-footer{flex:none}
}
.w-h1{margin:14px 0 12px;font:800 44px/1.08 var(--ef-font-display);letter-spacing:-.01em;color:rgb(var(--ef-text))}
.w-h1 em{font-style:normal;color:var(--ef-brand)}
.w-h1--page{margin:0;font-size:30px}
.w-lead{margin:0;max-width:520px;font-size:16px;line-height:1.5;color:rgb(var(--ef-muted))}
.w-sub{margin:4px 0 0;color:rgb(var(--ef-muted));font-size:14px}
.w-note{margin:14px 0 0;font-size:12px;color:rgb(var(--ef-subtle))}
.w-note a,.w-sub a,.w-about a,.w-contact a,.w-notify a{color:rgb(var(--ef-brand-text));text-decoration:underline;text-underline-offset:2px}
/* home */
.w-hero{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:40px;align-items:center;padding-top:24px;padding-bottom:24px}
.w-cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.w-feat{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:22px}
.w-feat .ef-card{padding:12px}.w-feat b{display:block;font:700 13px/1.3 var(--ef-font-display);margin-bottom:2px;color:rgb(var(--ef-text))}.w-feat span{font-size:12px;color:rgb(var(--ef-muted))}
.w-board{height:100%;max-height:560px;min-height:420px;display:flex;flex-direction:column}
.w-board__bar{display:flex;align-items:center;gap:10px;margin-bottom:12px}.w-board__bar .ef-badge--sample{margin-left:auto}
.w-panel{flex:1;min-height:0;display:flex;flex-direction:column}.w-panel[hidden]{display:none}
.w-panel__head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin-bottom:8px}
.w-panel__head h2{margin:0;font:700 15px/1.3 var(--ef-font-display);color:rgb(var(--ef-text))}.w-panel__head span{font-size:12px;color:rgb(var(--ef-muted))}
.w-top td{padding:13px 10px;font-size:15px}.w-top th{padding:9px 10px}.w-top a{color:inherit;text-decoration:none}.w-top a:hover{text-decoration:underline}
.w-panel__foot{display:flex;align-items:center;gap:14px;margin-top:auto;padding-top:12px}.w-panel__foot p{margin:0;flex:1;font-size:12px;color:rgb(var(--ef-muted))}
.w-chart{flex:1;min-height:260px;margin-top:8px}
/* page header + body */
.w-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding-top:22px;padding-bottom:14px;flex:none}
.w-head__actions{display:flex;gap:10px}
.w-body{flex:1;min-height:0;padding-bottom:20px;display:flex;flex-direction:column}
.w-prodlogo{display:var(--logo-l,block);height:60px;width:auto;margin:10px 0 6px}.w-prodlogo.ef-logo-d{display:var(--logo-d,none)}
.w-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.w-steps h2{margin:10px 0 6px;font:700 20px/1.3 var(--ef-font-display);color:rgb(var(--ef-text))}.w-steps p{margin:0;color:rgb(var(--ef-muted))}
.w-term{margin-top:16px;display:flex;gap:30px;align-items:center}
.w-term__copy{flex:1}.w-term h2{margin:0;font:700 15px/1.3 var(--ef-font-display);color:rgb(var(--ef-text))}.w-term p{margin:4px 0 0;color:rgb(var(--ef-muted))}
.w-notify{width:min(100%,420px);display:grid;gap:8px}.w-notify__row{display:flex;gap:8px}.w-notify__row .ef-input{margin-top:0}.w-notify__consent{font-size:12px}
/* calendar */
.w-cal{flex:1;min-height:560px;display:flex;flex-direction:column;padding:8px}
.w-cal__frame{flex:1;min-height:520px;position:relative}.w-cal__frame>#economicCalendarWidget{position:absolute;inset:0}
.w-cal .ecw-copyright{padding:6px 4px 0;font-size:11px;text-align:right}.w-cal .ecw-copyright a{color:rgb(var(--ef-muted))}
/* company */
.w-two{display:grid;grid-template-columns:1fr 1fr;gap:16px;flex:1;min-height:0}
.w-two h2{margin:0 0 10px;font:700 20px/1.3 var(--ef-font-display);color:rgb(var(--ef-text))}
.w-about p,.w-about li{color:rgb(var(--ef-muted));line-height:1.55}.w-about p{margin:0 0 10px}.w-about b{color:rgb(var(--ef-text))}
.w-values{margin:0 0 10px;padding-left:18px}
.w-about h3{margin:14px 0 6px;font:700 15px/1.3 var(--ef-font-display);color:rgb(var(--ef-text))}
.w-dl{margin:0;font-size:13px}.w-dl div{display:flex;justify-content:space-between;gap:16px;padding:6px 0;border-bottom:1px solid rgb(var(--ef-border))}.w-dl div:last-child{border-bottom:0}
.w-dl dt{color:rgb(var(--ef-muted))}.w-dl dd{margin:0;font-weight:600;text-align:right;color:rgb(var(--ef-text))}
.w-contact form{display:grid;gap:10px}.w-contact__mails{margin:0 0 12px;font-size:13px;color:rgb(var(--ef-muted))}.w-contact__mails a{font-weight:600}
.w-grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.w-contact__send{display:flex;align-items:center;gap:12px}.w-contact__send span{font-size:12px;color:rgb(var(--ef-subtle))}
/* mobile */
@media (max-width:1023.98px){
  .w-hero{display:flex;flex-direction:column;align-items:stretch;gap:18px;padding-top:18px}
  .w-board{height:auto;max-height:none;min-height:0}
  .w-two{grid-template-columns:1fr}
}
@media (max-width:760px){
  .w-h1{font-size:30px}.w-h1--page{font-size:26px}.w-lead{font-size:14.5px}
  .w-feat{grid-template-columns:1fr;gap:8px;margin-top:16px}.w-feat .ef-card{padding:10px 12px}
  .w-cta .ef-btn{flex:1}
  .w-top td{padding:9px 4px;font-size:13px}.w-top th{padding:6px 4px;font-size:10px;white-space:nowrap}.w-top td:nth-child(2) b{white-space:nowrap}.w-top .ef-badge{font-size:9px;padding:1px 5px}
  .w-panel__foot{flex-direction:column;align-items:stretch}.w-panel__foot .ef-btn{justify-content:center}
  #p-growth{min-height:340px}
  .w-head{flex-direction:column;align-items:flex-start;gap:10px;padding-top:16px}.w-head__actions{width:100%}.w-head__actions .ef-btn{flex:1}
  .w-steps{grid-template-columns:1fr}
  .w-term{flex-direction:column;align-items:stretch;gap:12px}.w-notify{width:100%}
  .w-cal{min-height:0;padding:4px}.w-cal__frame{flex:none;height:620px;min-height:0}
  .w-grid2{grid-template-columns:1fr}.w-contact__send{flex-direction:column;align-items:stretch}.w-contact__send .ef-btn{width:100%}
}
.w-cal__gate{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;padding:1.5rem;text-align:center}
.w-cal__gate-note{margin:0;max-width:26rem;font-size:.75rem;line-height:1.5;color:rgb(var(--ef-muted))}
.w-cal__gate-note a{color:rgb(var(--ef-brand-text))}
.w-cal__auto{margin:6px 4px 0;font-size:11px;color:rgb(var(--ef-muted))}
.w-cal__auto button{border:0;background:none;padding:0;font:inherit;color:rgb(var(--ef-brand-text));text-decoration:underline;cursor:pointer}
.w-cal__auto[hidden]{display:none}

/* Products > Journal: Features, How to, Get started (moved from the Journal landing page) */
.w-journal{display:flex;flex-direction:column;gap:40px;padding-top:8px}
.w-jsec{scroll-margin-top:calc(var(--ef-header-h) + 16px)}
.w-kicker{margin:0;font:600 13px/1.3 var(--ef-font);letter-spacing:.12em;text-transform:uppercase;color:var(--ef-brand)}
.w-jh{margin:6px 0 18px;font:700 28px/1.2 var(--ef-font-display);letter-spacing:-.01em;color:rgb(var(--ef-text));max-width:640px}
.w-jgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:0;padding:0;list-style:none}
.w-jgrid h3{margin:14px 0 6px;font:700 18px/1.3 var(--ef-font-display);color:rgb(var(--ef-text))}
.w-jgrid p{margin:0;color:rgb(var(--ef-muted));font-size:14px;line-height:1.55}
.w-ico{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:rgb(var(--ef-brand-tint));color:var(--ef-brand)}.w-ico svg{width:24px;height:24px}
.w-jcard--brand{border-color:rgb(28 166 56/.45)}.w-jcard--brand .w-ico{background:var(--ef-brand-600);color:#fff}
.w-num{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;background:var(--ef-brand-600);color:#fff;font:700 16px/1 var(--ef-font-display)}
.w-file{display:inline-block;margin-top:12px;padding:5px 10px;border-radius:8px;background:rgb(var(--ef-hover));font-size:12px;color:rgb(var(--ef-muted))}
.w-jstart{display:flex;align-items:center;justify-content:space-between;gap:24px;border-color:rgb(28 166 56/.45)}
.w-jstart .w-jh{margin-bottom:8px}.w-jstart p{margin:0;max-width:620px;color:rgb(var(--ef-muted))}
.w-jstart__cta{display:flex;gap:10px;flex:none}
.w-body>.w-term{margin-top:40px}
@media (max-width:760px){.w-jgrid{grid-template-columns:1fr}.w-jh{font-size:23px}.w-journal{gap:32px}.w-jstart{flex-direction:column;align-items:stretch}.w-jstart__cta .ef-btn{flex:1}}
