/* Fuelco Trade — styles.css (Dark theme + responsive team + Market panel)
   - Dark theme everywhere
   - Mobile burger uses .is-open
   - Team grid: Desktop 6-in-row, Tablet 3+3, Mobile 2+2+2 (all visible in portrait)
   - Hero Market panel: right side on desktop, centered on mobile; mobile shows Brent only
*/

:root{
  --bg:#0b0f17;
  --bg2:#0f1623;
  --surface: rgba(20,24,35,.86);
  --surface2: rgba(16,19,28,.78);
  --stroke: rgba(255,255,255,.08);

  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.65);

  --accent:#2F6BFF;

  --r:16px;
  --shadow:0 10px 40px rgba(0,0,0,.60);
  --max:1140px;

  /* Market panel sizing */
  --market-w: 240px;     /* desktop panel width */
  --market-w-sm: 200px;  /* mobile panel width */
  --market-offset: 56px; /* drop panel to align with H1 area */
}

/* 2026 homepage redesign */
.home-page{background:#fff;color:#0a1b33;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}.home-page .container{width:min(1180px,calc(100% - 40px))}.home-page .header{position:absolute;inset:0 0 auto;background:#06172c;border:0;backdrop-filter:none;height:86px}.home-page .header__inner{height:86px;padding:0;gap:22px}.home-page .brand img{width:142px;height:auto;display:block}.home-page .nav__menu{gap:4px}.home-page .nav__menu a{padding:31px 10px 27px;color:#fff;font-size:11px;font-weight:800;text-transform:uppercase;border-radius:0}.home-page .nav__menu a.active{border:0;border-bottom:2px solid #d8a052;background:none;color:#fff}.home-page .header__cta{font-size:11px;white-space:nowrap}
.home-page h2{font-size:clamp(28px,3vw,38px);line-height:1.12;margin:5px 0 15px}.home-page p{line-height:1.55}.home-section{padding:54px 0}.eyebrow{margin:0;color:#ba8136;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.eyebrow--light{color:#e3b266}.center-heading{text-align:center;margin-bottom:18px}.button-row{display:flex;gap:14px;flex-wrap:wrap}.btn{border-radius:3px;text-transform:uppercase;font-size:12px;letter-spacing:.02em;padding:15px 22px}.btn--gold{background:#d9a357;border:1px solid #e4b875;color:#09182b}.btn--gold:hover{background:#e5b66e}.btn--outline{border:1px solid rgba(255,255,255,.75);color:#fff;background:rgba(3,18,37,.35)}.btn--line-gold{border:1px solid #cc9449;color:#a96f28;background:#fff;margin-top:10px}
.new-hero{min-height:520px;padding-top:86px;display:flex;align-items:center;color:#fff;background:linear-gradient(90deg,rgba(3,18,36,.93) 0%,rgba(3,18,36,.65) 36%,rgba(3,18,36,.08) 72%),url("../assets/hero-terminal.png") center/cover no-repeat}.new-hero__content{padding-top:16px}.new-hero h1{font-size:clamp(44px,6vw,72px);line-height:.98;margin:10px 0 20px;letter-spacing:-.045em}.new-hero h1 span{color:#d9a357}.new-hero__lead{font-size:18px;margin:0 0 25px}.product-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.product-card{min-height:225px;border:1px solid #dbe0e7;padding:24px 16px 18px;text-align:center;display:flex;flex-direction:column;align-items:center;background:#fff;box-shadow:0 4px 18px rgba(12,31,54,.04)}.product-icon{font-size:34px;line-height:1;color:#102a4d;font-weight:400}.product-card h3{font-size:14px;text-transform:uppercase;margin:20px 0 8px}.product-card p{font-size:12px;color:#455062;margin:0}.product-card a{margin-top:auto;color:#b77a2e;font-size:11px;font-weight:900;text-transform:uppercase}
.markets{background:#f5f7fa}.markets__grid{display:grid;grid-template-columns:340px 1fr;gap:56px;align-items:center}.markets__grid>div>p:not(.eyebrow){color:#495568}.region-list{padding:0;margin:18px 0 0;list-style:none;font-size:14px;display:grid;gap:8px}.region-list li:before{content:"✓";display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#d8a052;color:white;margin-right:10px;font-size:10px}.world-map{position:relative;min-height:300px;background-color:#f5f7fa;background-image:radial-gradient(#c5ced9 1.3px,transparent 1.3px);background-size:6px 6px;clip-path:polygon(4% 13%,26% 4%,44% 18%,58% 10%,80% 18%,96% 38%,90% 70%,69% 82%,55% 69%,43% 91%,28% 75%,12% 83%,0 54%)}.world-map:after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 25%,rgba(255,255,255,.58) 50%,transparent 75%)}.world-map span{position:absolute;z-index:1;left:var(--x);top:var(--y);transform:translate(-50%,-50%);padding:7px 9px;background:#08203b;color:#fff;border-radius:3px;font-size:10px;font-weight:800;white-space:nowrap;box-shadow:0 4px 12px rgba(0,0,0,.18)}
.compliance{padding:48px 0;background:linear-gradient(110deg,#071a31,#0b2a4b);color:#fff}.compliance__grid{display:grid;grid-template-columns:1.55fr repeat(4,1fr);align-items:stretch}.compliance__grid>div{padding-right:28px}.compliance__grid>div p:last-child{color:#d7deea;font-size:13px}.compliance article{text-align:center;padding:12px 22px;border-left:1px solid rgba(255,255,255,.25)}.compliance article b{display:block;color:#d8a052;font-size:34px;height:44px}.compliance article h3{font-size:13px;margin:9px 0}.compliance article p{font-size:11px;color:#d7deea;margin:0}.team-layout{display:grid;grid-template-columns:210px 1fr;gap:24px}.team-layout>header p:not(.eyebrow){font-size:13px;color:#536071}.new-team-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.new-team-grid article{border:1px solid #e0e4e9;text-align:center;overflow:hidden;background:#fff;border-radius:4px}.new-team-grid img{display:block;width:100%;height:175px;object-fit:cover;object-position:center top;background:#eef0f2}.new-team-grid h3{font-size:11px;margin:12px 5px 3px}.new-team-grid p{font-size:10px;color:#5c6674;margin:0 5px 12px}.partnership{padding:42px 0;color:#fff;background:linear-gradient(90deg,rgba(3,18,36,.97),rgba(3,31,61,.86)),url("../assets/hero-terminal.png") center 70%/cover}.partnership__inner{display:flex;align-items:center;justify-content:space-between;gap:30px}.partnership h2{margin:4px 0}.partnership p{margin:0}.new-footer{background:#06172c;color:#fff;padding:38px 0 14px}.footer-grid{display:grid;grid-template-columns:1.25fr repeat(3,1fr);gap:36px}.footer-grid img{width:145px}.footer-grid h3{font-size:11px;text-transform:uppercase;color:#d8a052}.footer-grid a,.footer-grid p{display:block;color:#c8d0dc;font-size:12px;margin:5px 0}.footer-bottom{border-top:1px solid rgba(255,255,255,.16);margin-top:26px;padding-top:14px;display:flex;justify-content:space-between;color:#8e9baa;font-size:10px}
@media(max-width:1040px){.home-page .header__cta{display:none}.product-grid{grid-template-columns:repeat(3,1fr)}.compliance__grid{grid-template-columns:repeat(2,1fr)}.compliance__grid>div{grid-column:1/-1;margin-bottom:22px}.new-team-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:820px){.home-page .header{position:absolute}.home-page .nav__toggle{display:block;border-color:rgba(255,255,255,.3)}.home-page .nav__menu{top:58px;background:#06172c}.home-page .nav__menu a{padding:13px 16px}.new-hero{min-height:610px;background-position:62% center}.markets__grid,.team-layout{grid-template-columns:1fr}.world-map{min-height:250px}.compliance__grid{grid-template-columns:1fr}.compliance article{border-left:0;border-top:1px solid rgba(255,255,255,.18);padding:22px}.partnership__inner{align-items:flex-start;flex-direction:column}.footer-grid{grid-template-columns:1fr 1fr}.footer-bottom{gap:10px;flex-direction:column}}
@media(max-width:560px){.home-page .container{width:min(100% - 28px,1180px)}.new-hero h1{font-size:46px}.new-hero__lead br{display:none}.button-row{flex-direction:column}.button-row .btn{width:100%}.product-grid{grid-template-columns:1fr 1fr}.product-card{min-height:210px}.new-team-grid{grid-template-columns:1fr 1fr}.new-team-grid img{height:180px}.world-map span{font-size:8px;padding:5px}.footer-grid{grid-template-columns:1fr}}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: linear-gradient(180deg, var(--bg), var(--bg2));
  color:var(--text);
  line-height:1.5;
}

a{color:inherit;text-decoration:none}
a:hover{opacity:.92}
.container{width:min(var(--max), calc(100% - 32px)); margin:0 auto}

/* ===== Header / Nav ===== */
.header{
  position:sticky; top:0; z-index:20;
  background: rgba(11,15,23,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stroke);
}
.header__inner{display:flex; align-items:center; justify-content:space-between; gap:14px; padding:14px 0}
.header__line{height:1px; background: rgba(255,255,255,.06)}

.brand{display:flex; align-items:center; gap:10px}
.brand__logo{display:block}
.brand__logo img{display:block; height:52px; width:auto}
.brand__name{font-weight:900; letter-spacing:.2px}
.brand__tagline{font-size:12px;color:var(--muted); margin-top:2px}

.nav{position:relative}
.nav__toggle{
  display:none;
  width:44px;height:44px;border-radius:12px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  cursor:pointer;
}
.nav__toggle span{
  display:block;width:18px;height:2px;
  background:rgba(255,255,255,.86);
  margin:4px auto;border-radius:2px;
}

.nav__menu{display:flex;align-items:center;gap:10px}
.nav__menu a{padding:10px 12px;border-radius:12px;color:var(--muted)}
.nav__menu a:hover{background: rgba(255,255,255,.04); color: var(--text)}
.nav__menu a.active{
  color: var(--text);
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);
}
.nav__menu .nav__quote{
  border: 1px solid rgba(47,107,255,.35);
  background: rgba(47,107,255,.14);
  color: rgba(255,255,255,.92);
}

/* ===== Hero / sections ===== */
.hero{padding:52px 0 18px; position:relative; overflow:hidden}

/* ✅ FIX: target the REAL markup (.hero__grid is inside .container) */
.hero__grid{
  display:grid;
  grid-template-columns: 1fr minmax(280px, var(--market-w));
  gap:34px;
  align-items:start;
}

/* keep title/subtitle styles */
.hero__title{font-size:clamp(34px, 4.2vw, 56px); line-height:1.08; margin:14px 0 12px}
.hero__subtitle{margin:0 0 18px; color: var(--muted); max-width:70ch}
.hero__cta{display:flex; gap:12px; flex-wrap:wrap}
.hero__stats{display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:10px; margin-top:18px}

.stat{
  border:1px solid var(--stroke);
  border-radius:14px;
  background: rgba(255,255,255,.03);
  padding:10px 12px;
  display:flex; flex-direction:column; gap:4px;
}
.stat b{font-size:18px}
.stat span{color: var(--muted); font-size:12px}

.section{padding:72px 0}
.section--alt{
  background: rgba(255,255,255,.02);
  border-top:1px solid var(--stroke);
  border-bottom:1px solid var(--stroke);
}
.section__head{display:flex; flex-direction:column; gap:10px; margin-bottom:22px}
.section__title{font-size:clamp(26px, 3.2vw, 40px); margin:0}
.section__desc{margin:0; color: var(--muted); max-width:72ch}

.page{
  padding:52px 0 10px;
  border-bottom:1px solid var(--stroke);
  background: rgba(255,255,255,.01);
}
.page__title{font-size:clamp(32px, 4vw, 48px); margin:0 0 10px}
.page__desc{margin:0; color: var(--muted); max-width:72ch}

.grid{display:grid; gap:14px}
.grid--3{grid-template-columns:repeat(3, minmax(0,1fr))}
.grid--2{grid-template-columns:repeat(2, minmax(0,1fr))}

/* ===== UI ===== */
.pill{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 12px; border-radius:999px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  width:fit-content;
}
.pill__dot{width:8px;height:8px;border-radius:50%; background: rgba(255,255,255,.65)}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px; border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
  font-weight:800;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{transform:translateY(-1px); background: rgba(255,255,255,.05)}
.btn--primary{
  border-color: rgba(47,107,255,.45);
  background: linear-gradient(180deg, rgba(47,107,255,.22), rgba(255,255,255,.03));
}
.btn--block{width:100%}

.lead{color: var(--muted); margin: 10px 0 0}

/* ===== Cards / panels ===== */
.card, .panel, .clock, .team-card{
  border:1px solid var(--stroke);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.card{padding:16px}
.card__title{margin:0 0 8px; font-size:18px}
.card__text{margin:0; color: var(--muted)}

.split{display:grid; grid-template-columns: 1fr 1fr; gap:14px; align-items:start}
.panel{padding:16px}
.panel--accent{
  background: linear-gradient(180deg, rgba(47,107,255,.18), rgba(255,255,255,.03));
  border-color: rgba(47,107,255,.30);
}

/* ===== Forms ===== */
.form{display:grid; gap:12px}
.label{display:grid; gap:8px; color: rgba(255,255,255,.82); font-weight:800; font-size:13px}
.input,.textarea, .form input, .form select, .form textarea{
  width:100%;
  padding:12px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background: var(--surface2);
  color: var(--text);
  outline:none;
  font: inherit;
}
.form textarea{ resize: vertical; min-height: 120px; }
.input:focus,.textarea:focus, .form input:focus, .form select:focus, .form textarea:focus{
  border-color: rgba(47,107,255,.55);
  box-shadow: 0 0 0 4px rgba(47,107,255,.16);
}
.form__grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}
.form__grid .full{ grid-column: 1 / -1; }
.form__actions{display:flex; gap: 14px; align-items:center; margin-top: 16px; flex-wrap: wrap;}
.form-msg{margin-top:12px; padding:10px 12px; border-radius:12px; font-size:14px;}
.form-msg.ok{background:rgba(16,185,129,.12); border:1px solid rgba(16,185,129,.35)}
.form-msg.err{background:rgba(239,68,68,.10); border:1px solid rgba(239,68,68,.35)}
.hint{margin:0; color: var(--muted); font-size:13px; min-height:18px}

/* ===== Team ===== */
.team{ padding: 34px 0 10px; }

.team-avatar{
  width:100%;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow:hidden;
  background: rgba(255,255,255,.03);
  border:1px solid var(--stroke);
}
.team-avatar picture, .team-avatar img{ width:100%; height:100%; display:block; }
.team-avatar img{ object-fit: cover; object-position: center top; }

.team-card{ overflow:hidden; display:flex; flex-direction:column; }
.team-card .meta{ padding: 14px 14px 16px; line-height: 1.2; text-align:center; }
.team-card .name{ font-weight: 800; }
.team-card .role{ opacity:.85; font-size: .95rem; margin-top: 6px; }

.team-grid{ display:grid; gap:24px; margin-top:24px; }
@media (min-width: 1100px){ .team-grid{ grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 700px) and (max-width: 1099px){ .team-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 699px){
  .team-grid{ grid-template-columns: repeat(2, 1fr); gap:16px; }
  .team-card{ transform: scale(.90); transform-origin: top center; }
}

/* ===== Clocks ===== */
.clocks{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.clock{ padding: 14px 14px 16px; }
.clock h3{ margin: 0 0 8px; font-size: 1rem; letter-spacing: .02em; color: rgba(255,255,255,.88); }
.clock .time{
  font-size: 1.35rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ===== Map ===== */
.map, .map-wrap{
  border:1px solid var(--stroke);
  border-radius: var(--r);
  overflow:hidden;
  background: rgba(255,255,255,.03);
}
.map iframe, .map-wrap iframe{width:100%; height:360px; border:0; filter:saturate(.85) contrast(1.05) brightness(.92)}

/* ===== Footer ===== */
.footer{
  border-top:1px solid var(--stroke);
  padding:30px 0 20px;
  background: rgba(0,0,0,.18);
}
.footer__list{list-style:none; padding:0; margin:0; display:grid; gap:8px; color: var(--muted)}

/* ===== Responsive ===== */
@media (max-width: 960px){
  .hero__grid{ grid-template-columns: 1fr; }
  .hero__stats{grid-template-columns:repeat(2, minmax(0,1fr))}
  .grid--3{grid-template-columns:1fr}
  .grid--2{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .map iframe, .map-wrap iframe{height:320px}
  .clocks{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .form__grid{ grid-template-columns: 1fr; }
}

/* Final visibility fixes */
.home-page .header .header__cta{
  display:inline-flex;
  color:#08182c !important;
  background:#dda75b !important;
  border-color:#edbf78 !important;
  opacity:1;
  visibility:visible;
}
.home-page .partnership,
.home-page .partnership h2,
.home-page .partnership p{
  color:#fff !important;
}
.home-page .partnership .eyebrow{color:#e4b160 !important}
.home-page .partnership .btn--outline{
  color:#fff !important;
  border-color:#d5a155 !important;
  background:#071a31 !important;
}
.home-page .partnership .btn--gold{color:#08182c !important}
.home-page .partnership{
  position:relative;
  isolation:isolate;
  background:
    radial-gradient(circle at 12% 50%,rgba(221,167,91,.23),transparent 30%),
    linear-gradient(100deg,rgba(3,15,31,.98),rgba(5,36,68,.88)),
    url("../assets/hero-terminal.png") center 66%/cover !important;
  border-top:1px solid rgba(233,183,108,.35);
  border-bottom:1px solid rgba(233,183,108,.25);
}
.home-page .partnership:before{
  content:"";position:absolute;inset:0;z-index:-1;opacity:.16;
  background-image:linear-gradient(90deg,transparent 49.8%,rgba(255,255,255,.16) 50%,transparent 50.2%);
  background-size:42px 100%;
}
.home-page .partnership .partnership__primary{
  background:#efb65d !important;
  color:#06172c !important;
  border:2px solid #ffd58d !important;
  font-weight:950 !important;
  opacity:1 !important;
  text-shadow:none !important;
  box-shadow:0 8px 24px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.38) !important;
}
.home-page .partnership .partnership__primary:hover{background:#ffc66e !important;color:#03101f !important}
.home-page .partnership .partnership__contact{color:#fff !important;background:rgba(3,20,39,.88) !important}
.home-page .header .brand img,
.home-page .new-footer img{filter:drop-shadow(0 2px 8px rgba(0,0,0,.45));opacity:1}
.home-page .partnership .btn--gold{
  background:#f0b85f !important;
  border:2px solid #ffd38b !important;
  color:#051426 !important;
  font-weight:900;
  box-shadow:0 6px 18px rgba(0,0,0,.35);
}
.home-page .new-hero .btn--outline{
  color:#fff !important;
  background:#06172c !important;
  border:2px solid #d9a357 !important;
  font-weight:900;
  opacity:1 !important;
  text-shadow:0 1px 2px #000;
  box-shadow:0 6px 18px rgba(0,0,0,.38);
}
.home-page .new-hero .btn--outline:hover{
  color:#fff !important;
  background:#0c2949 !important;
  border-color:#f0bd70 !important;
}
.home-page .product-grid{grid-template-columns:repeat(4,1fr)}
@media (max-width:1040px){
  .home-page .header .header__cta{display:inline-flex;padding:11px 14px;font-size:9px}
  .home-page .nav__menu a{font-size:9px;padding-left:6px;padding-right:6px}
}
@media (max-width:760px){.home-page .product-grid{grid-template-columns:repeat(2,1fr)}}
.company-facts{background:#f4f6f9}.facts-layout{display:grid;grid-template-columns:1fr 1.2fr;gap:70px;align-items:center}.facts-layout>div>p:not(.eyebrow){color:#4e5d70;max-width:58ch}.text-link{display:inline-block;margin-top:12px;color:#a86f28;font-weight:800;font-size:13px}.facts-card{margin:0;background:#fff;border:1px solid #d9e0e8;display:grid;grid-template-columns:1fr 1fr;box-shadow:0 12px 34px rgba(9,30,58,.08)}.facts-card div{padding:18px 20px;border-bottom:1px solid #e5e9ee}.facts-card div:nth-child(odd){border-right:1px solid #e5e9ee}.facts-card div:nth-last-child(-n+2){border-bottom:0}.facts-card dt{font-size:10px;color:#6d7887;text-transform:uppercase;letter-spacing:.08em;font-weight:800}.facts-card dd{margin:5px 0 0;font-size:14px;font-weight:800}.status-dot{display:inline-block;width:8px;height:8px;background:#2b9a5c;border-radius:50%;margin-right:7px}.trade-process{background:#fff}.center-heading>p:last-child{max-width:700px;margin:8px auto;color:#596677}.process-grid{list-style:none;padding:0;margin:32px 0 20px;display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #dbe1e8}.process-grid li{padding:25px;border-right:1px solid #dbe1e8}.process-grid li:last-child{border:0}.process-grid b{font-size:25px;color:#d4a157}.process-grid h3{font-size:14px;text-transform:uppercase;margin:18px 0 8px}.process-grid p{font-size:12px;color:#566274;margin:0}.process-note{text-align:center;font-size:11px;color:#6c7785}
@media(max-width:820px){.facts-layout{grid-template-columns:1fr;gap:28px}.process-grid{grid-template-columns:1fr 1fr}.process-grid li:nth-child(2){border-right:0}.process-grid li:nth-child(-n+2){border-bottom:1px solid #dbe1e8}}
@media(max-width:520px){.facts-card{grid-template-columns:1fr}.facts-card div,.facts-card div:nth-child(odd){border-right:0;border-bottom:1px solid #e5e9ee}.process-grid{grid-template-columns:1fr}.process-grid li,.process-grid li:nth-child(2){border-right:0;border-bottom:1px solid #dbe1e8}}
.inner-page{background:#f4f6f9;color:#0a1b33}.inner-page .header{position:relative;background:#06172c;border:0}.inner-page .header__inner{padding:14px 0}.inner-page .brand img{width:145px;display:block}.inner-nav{display:flex;align-items:center;gap:22px}.inner-nav a{color:#fff;font-size:12px;font-weight:800;text-transform:uppercase}.legal-main{padding:65px 0 80px}.narrow{max-width:820px}.legal-main h1{font-size:48px;margin:7px 0 4px}.updated{color:#6c7888;font-size:12px}.legal-main section{background:#fff;border:1px solid #dfe4ea;padding:25px 30px;margin-top:18px}.legal-main h2{font-size:20px;margin:0 0 12px}.legal-main p{color:#465468}.legal-main a{color:#9c661f;text-decoration:underline}.legal-facts{display:grid;grid-template-columns:1fr 1fr;margin:0}.legal-facts div{padding:13px 0;border-bottom:1px solid #e4e8ed}.legal-facts dt{font-size:10px;text-transform:uppercase;color:#6e7988}.legal-facts dd{margin:4px 0 0;font-weight:800}.legal-footer{background:#06172c;color:#cbd3df;padding:22px 0;font-size:11px}.legal-footer a{color:#fff}.check a{text-decoration:underline}.form .check{font-weight:500}.form .check input{width:auto}
.data-warning{padding:14px 16px;border:1px solid rgba(216,163,87,.45);background:rgba(216,163,87,.08);border-radius:10px;color:var(--muted);font-size:12px}.data-warning strong{color:var(--text)}
@media(max-width:700px){.inner-nav{gap:10px;flex-wrap:wrap;justify-content:flex-end}.inner-nav a{font-size:9px}.legal-main{padding:40px 0}.legal-main h1{font-size:38px}.legal-main section{padding:20px}.legal-facts{grid-template-columns:1fr}}

/* Corrected hero CTA and softer page background */
.home-page{background:#f5f3ee !important}
.home-page .home-section,.home-page .trade-process{background:#f7f5f0 !important}
.home-page .company-facts{background:#efede7 !important}
.home-page #products{
  background:radial-gradient(circle at 12% 0,rgba(35,79,126,.32),transparent 34%),linear-gradient(180deg,#0b0f17,#0f1b2c) !important;
  border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08);
}
.home-page #products .center-heading h2{color:#fff}
.home-page #products .eyebrow{color:#e1ad61}
.home-page #products .product-card{
  background:linear-gradient(155deg,rgba(26,40,59,.96),rgba(11,20,33,.98));border-color:rgba(255,255,255,.12);box-shadow:0 12px 30px rgba(0,0,0,.28);
}
.home-page #products .product-icon,.home-page #products .product-card h3{color:#fff}.home-page #products .product-card p{color:#aeb9c8}.home-page #products .product-card a{color:#e2ae61}
.market-time{padding:55px 0;background:linear-gradient(120deg,#06162a,#0b2b4b);color:#fff}.market-time__head{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:25px}.market-time__head h2{margin-bottom:0}.market-time__head>p{color:#aebdce;font-size:13px}.market-time__grid{display:grid;grid-template-columns:1fr 2fr;gap:16px}.market-quotes{display:grid;gap:12px}.market-quotes article,.current-clocks .clock{border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.055);box-shadow:none;border-radius:7px}.market-quotes article{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:18px}.market-symbol{display:grid;place-items:center;width:42px;height:42px;border:1px solid #d8a052;color:#e6b86f;border-radius:50%;font-size:18px}.market-quotes small,.current-clocks small{display:block;color:#9fafc1;font-size:10px;text-transform:uppercase;letter-spacing:.06em}.market-quotes strong{display:block;margin-top:3px}.market-quotes a{font-size:10px;color:#e0ad60;text-transform:uppercase;font-weight:800}.current-clocks{grid-template-columns:repeat(4,1fr);margin:0;gap:12px}.current-clocks .clock{padding:18px 14px}.current-clocks .clock h3{font-size:13px;margin:8px 0;color:#fff}.current-clocks .clock .time{font-size:17px;color:#e6b86f}.market-disclaimer{font-size:10px;color:#8495a8;margin:14px 0 0;text-align:right}
@media(max-width:900px){.market-time__grid{grid-template-columns:1fr}.market-time__head{align-items:flex-start;flex-direction:column}.current-clocks{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.current-clocks{grid-template-columns:1fr 1fr}.market-quotes article{grid-template-columns:auto 1fr}.market-quotes a{grid-column:2}.current-clocks .clock .time{font-size:15px}}

/* Unified dark-blue site theme */
.home-page,
.home-page .home-section,
.home-page .trade-process,
.home-page .company-facts,
.home-page .team{
  background:linear-gradient(145deg,#08111f 0%,#0b1728 48%,#0d2037 100%) !important;
  color:#f5f7fb !important;
}
.home-page .home-section{border-top:1px solid rgba(255,255,255,.06)}
.home-page h2,.home-page h3,.home-page .center-heading h2{color:#f7f9fc}
.home-page .center-heading>p:last-child,
.home-page .facts-layout>div>p:not(.eyebrow),
.home-page .team-layout>header p:not(.eyebrow),
.home-page .process-grid p,
.home-page .process-note{color:#aeb9c8}
.home-page .facts-card,
.home-page .process-grid,
.home-page .new-team-grid article{
  background:rgba(17,31,49,.94);
  border-color:rgba(255,255,255,.12);
  box-shadow:0 12px 32px rgba(0,0,0,.28);
}
.home-page .facts-card div,
.home-page .facts-card div:nth-child(odd),
.home-page .process-grid li{
  border-color:rgba(255,255,255,.11);
}
.home-page .facts-card dt{color:#93a2b5}
.home-page .facts-card dd{color:#fff}
.home-page .new-team-grid h3{color:#fff}
.home-page .new-team-grid p{color:#aeb9c8}
.home-page .btn--line-gold{background:transparent;color:#e4b262;border-color:#d7a052}
.home-page .trade-process{border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08)}
.inner-page{background:linear-gradient(145deg,#08111f,#0d2037) !important;color:#f5f7fb !important}
.inner-page .legal-main{background:transparent}
.inner-page .legal-main section{background:rgba(17,31,49,.94);border-color:rgba(255,255,255,.12);box-shadow:0 12px 32px rgba(0,0,0,.24)}
.inner-page .legal-main h1,.inner-page .legal-main h2,.inner-page .legal-facts dd{color:#fff}
.inner-page .legal-main p,.inner-page .updated{color:#b4c0cf}
.inner-page .legal-facts div{border-color:rgba(255,255,255,.12)}
.inner-page .legal-facts dt{color:#91a1b4}
.inner-page .legal-main a{color:#e3b164}

/* Persistent navigation on every page */
.site .header,
.home-page .header,
.inner-page .header{
  position:sticky !important;
  top:0 !important;
  inset:auto 0 auto 0 !important;
  z-index:1000 !important;
  background:rgba(6,23,44,.97) !important;
  border-bottom:1px solid rgba(220,166,87,.28) !important;
  box-shadow:0 8px 24px rgba(0,0,0,.28) !important;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.home-page .new-hero{padding-top:0}
@media(max-width:820px){.home-page .header{position:sticky !important}}
.hero-brandline{display:inline-flex;align-items:center;gap:14px;padding:9px 14px 9px 11px;margin-bottom:5px;border:1px solid rgba(255,255,255,.22);border-left:3px solid #dda75b;background:rgba(5,20,38,.68);box-shadow:0 7px 22px rgba(0,0,0,.24);backdrop-filter:blur(8px);text-transform:uppercase;letter-spacing:.075em}.hero-brandline strong{color:#f3bc68;font-size:12px}.hero-brandline span{color:#dbe3ec;font-size:10px;padding-left:14px;border-left:1px solid rgba(255,255,255,.25)}
@media(max-width:560px){.hero-brandline{align-items:flex-start;flex-direction:column;gap:4px}.hero-brandline span{border-left:0;padding-left:0}}

/* Permanently fixed navigation */
body.site{padding-top:86px !important}
.site .header,
.home-page .header,
.inner-page .header{
  position:fixed !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  width:100% !important;
  height:86px !important;
  z-index:99999 !important;
  transform:none !important;
}
.site .header__inner{height:86px}
.site .nav__menu{z-index:100000}
@media(max-width:820px){
  body.site{padding-top:86px !important}
  .site .header,.home-page .header,.inner-page .header{position:fixed !important;height:86px !important}
}

/* Anchor offset below the fixed header */
html{scroll-padding-top:106px !important;scroll-behavior:smooth}
#home,#products,#team,#about,
.home-page section[id]{scroll-margin-top:106px !important}
.home-page .new-hero h1{
  font-size:clamp(34px,4vw,52px) !important;
  line-height:1.04 !important;
  letter-spacing:-.025em !important;
  max-width:650px;
  margin:16px 0 20px !important;
}
@media(max-width:820px){
  html{scroll-padding-top:100px !important}
  #home,#products,#team,#about,.home-page section[id]{scroll-margin-top:100px !important}
}
@media(max-width:560px){.home-page .new-hero h1{font-size:34px !important;line-height:1.06 !important}}

/* Extra clearance for navigation targets */
html{scroll-padding-top:140px !important}
#about,#team,#products{scroll-margin-top:140px !important}
@media(max-width:820px){
  html{scroll-padding-top:125px !important}
  #about,#team,#products{scroll-margin-top:125px !important}
}
.home-page .nav__menu a{transition:color .2s ease,border-color .2s ease,background .2s ease}
.home-page .nav__menu a.section-active{color:#f0b963 !important;border-bottom:2px solid #dca252;background:rgba(255,255,255,.035)}
.market-quotes .live-quote{grid-template-columns:auto minmax(0,1fr);padding:12px 16px;min-height:104px}.quote-widget{min-width:0}.quote-widget>small{margin:0 0 2px}.quote-widget .tradingview-widget-container{width:100%;min-height:65px;overflow:hidden}.quote-widget iframe{max-width:100%}
.home-page .new-hero .hero__inquiry{
  background:#efb65d !important;
  color:#06172c !important;
  border:2px solid #ffd58d !important;
  font-weight:950 !important;
  opacity:1 !important;
  text-shadow:none !important;
  box-shadow:0 7px 22px rgba(0,0,0,.4) !important;
}
.home-page .new-hero .hero__inquiry:hover{background:#ffc66e !important;color:#03101f !important}
.home-page .partnership{
  background:linear-gradient(90deg,rgba(3,18,36,.97),rgba(3,31,61,.86)),url("../assets/hero-terminal.png") center 70%/cover !important;
  border-top:0;border-bottom:0;
}
.home-page .partnership:before{display:none !important}
@media (max-width:820px){
  .home-page .header__inner{gap:9px}
  .home-page .brand img{width:118px}
  .home-page .header .header__cta{margin-left:auto;padding:10px 11px;line-height:1.15;max-width:124px;text-align:center}
}
@media (max-width:390px){
  .home-page .brand img{width:100px}
  .home-page .header .header__cta{font-size:8px;max-width:108px;padding:9px 8px}
  .home-page .nav__toggle{width:39px;height:39px}
}

@media (max-width: 820px){
  .nav__toggle{display:block}
  .nav__menu{
    position:absolute; right:0; top:56px;
    min-width: 240px;
    padding:10px;
    border-radius:18px;
    border:1px solid var(--stroke);
    background: rgba(11,15,23,.96);
    box-shadow: var(--shadow);
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
  }
  .nav__menu.is-open{display:flex}
}

/* Brand logo */
.brand__logo { display: block; }
.brand__logo img { height: 50px; width: auto; display: block; }
@media (max-width: 768px){ .brand__logo img { height: 40px; } }

/* =========================================================
   Market panel (TradingView widgets) — clean + symmetric
   ========================================================= */

.hero__panel{
  width: min(100%, var(--market-w));
  justify-self: end;
  align-self: start;
  margin-top: var(--market-offset);
  border: 1px solid var(--stroke);
  border-radius: var(--r);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  padding: 10px;
}

.hero__panel .panel__title{
  font-weight: 900;
  margin: 0 0 12px;
  color: rgba(255,255,255,.88);
  letter-spacing: .02em;
}

.tv-quote{
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 8px 10px;
  background: rgba(255,255,255,.02);
}
.tv-quote + .tv-quote{ margin-top: 12px; }

.price-note{
  margin: 10px 0 0;
  font-size: 11px;
  color: rgba(255,255,255,.55);
}

/* Desktop: slightly smaller without transform glitches */
@media (min-width: 961px){
  :root{ --market-w: 380px; }
  .hero__panel{ padding: 10px; }
  .tv-quote{ padding: 8px 10px; }
}

/* Mobile: center + only Brent */
@media (max-width: 960px){
  .hero__panel{
    width: min(100%, var(--market-w-sm));
    justify-self: center;
    margin: 18px auto 0;
  }
  /* Hide WTI (second card) on mobile */
  .hero__panel .tv-quote + .tv-quote{
    display:none !important;
  }
  .hero__panel .price-note{ display:none; }
}
/* ===== Market panel scale (height smaller, width same visually) ===== */

.hero__panel{
  transform: scaleY(0.70);   /* 0.7 = -30% | 0.6 = -40% */
  transform-origin: top;
}

/* Чтобы не съехала верстка */
.hero__panel{
  margin-bottom: -120px;  /* подгони число при необходимости */
}
/* ===== Mobile: symmetric + scaled Market ===== */
@media (max-width: 960px){

  .hero__panel{
    width: min(100%, 360px);
    margin: 20px auto 0;
    transform: scale(0.75);          /* уменьшение примерно на 25% */
    transform-origin: top center;    /* строго по центру */
  }

}
