:root{--serif:'Manrope','Inter',system-ui,sans-serif;--sans:'Inter',system-ui,sans-serif;--r:10px;--ease:cubic-bezier(.22,.8,.2,1)}
*{box-sizing:border-box;margin:0;padding:0}
html.lenis,html.lenis body{height:auto}
body{font-family:var(--sans);background:var(--bg);color:var(--ink);line-height:1.6;font-weight:400;overflow-x:hidden;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img,svg{display:block;max-width:100%}
.wrap{width:min(1240px,100% - 32px);margin-inline:auto}
@media(min-width:640px){.wrap{width:min(1240px,100% - 48px)}}
.muted{color:var(--muted)}
em{font-style:normal;color:var(--accent-deep)}
h1,h2,h3,.display{font-family:var(--serif);font-weight:700;letter-spacing:-.035em;line-height:1.06}
h1{font-size:clamp(2.8rem,7.4vw,6.4rem)}
h2{font-size:clamp(2.1rem,4.6vw,3.9rem)}
h3{font-size:1.6rem;line-height:1.15}
.eyebrow{display:inline-flex;gap:.6rem;align-items:center;font-size:.75rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.eyebrow::before{content:"";width:22px;height:1px;background:currentColor}
.lead{font-size:1.15rem;color:var(--muted);max-width:56ch}
section{padding:clamp(48px,7vw,100px) 0;position:relative}

/* preloader + cursor */
.preloader{position:fixed;inset:0;background:var(--bg);z-index:999;display:grid;place-items:center}
.preloader__mark{font-family:var(--serif);font-size:3rem;font-weight:600}
.logo i,.preloader i{font-style:normal;color:var(--accent-deep)}
.cursor{display:none;position:fixed;top:0;left:0;width:14px;height:14px;border-radius:6px;background:var(--ink);opacity:.0;pointer-events:none;z-index:998;transform:translate(-50%,-50%)}
@media (hover:none){.cursor{display:none;display:none}}

/* nav */
.nav{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem max(16px,calc((100vw - 1240px)/2));background:var(--bg);border-bottom:1px solid var(--line);transition:transform .5s var(--ease)}
.nav.is-scrolled{background:var(--card)}
.nav.is-hidden{transform:translateY(-101%)}
.logo{font-family:var(--serif);font-size:1.5rem;font-weight:800;letter-spacing:-.04em}
.nav__links{display:none;gap:.2rem}
.nav__links a{padding:.5rem .9rem;border-radius:6px;font-size:.9rem;color:var(--muted);transition:.3s}
.nav__links a:hover,.nav__links a.is-active{color:var(--ink);background:var(--bg2)}
.nav__cta{display:flex;align-items:center;gap:.5rem}
.btn{display:inline-flex;align-items:center;gap:.6rem;padding:.8rem 1.4rem;border-radius:6px;font-size:.9rem;font-weight:500;border:1px solid transparent;cursor:pointer;font-family:inherit;transition:background .3s,color .3s,transform .3s var(--ease)}
.btn--dark{background:var(--ink);color:var(--bg)}.btn--dark:hover{opacity:.85}
.btn--ghost{color:var(--ink)}.btn--ghost:hover{background:var(--bg2)}
.btn--soft{background:var(--card);border-color:var(--line)}.btn--soft:hover{background:var(--accent)}
.btn--lg{padding:1rem 1.8rem;font-size:1rem}
.btn .arr{transition:transform .3s var(--ease)}.btn:hover .arr{transform:translateX(4px)}

.lang{position:relative}
.lang__btn{background:none;border:0;font:inherit;font-size:.82rem;padding:.5rem .7rem;cursor:pointer;display:flex;gap:.4rem;align-items:center;color:var(--muted)}
.lang__menu{position:absolute;right:0;top:120%;list-style:none;background:var(--card);border:1px solid var(--line);border-radius:8px;padding:.4rem;min-width:140px;opacity:0;visibility:hidden;transform:translateY(-6px);transition:.3s var(--ease)}
.lang.is-open .lang__menu{opacity:1;visibility:visible;transform:none}
.lang__menu a{display:block;padding:.45rem .8rem;border-radius:6px;font-size:.85rem}.lang__menu a:hover{background:var(--bg2)}
.burger{display:block;width:42px;height:42px;border-radius:6px;border:1px solid var(--line);background:var(--card);position:relative;cursor:pointer}
.burger span{position:absolute;left:12px;right:12px;height:1.5px;background:var(--ink);transition:.3s}
.burger span:first-child{top:16px}.burger span:last-child{top:24px}
.burger.is-open span:first-child{top:20px;transform:rotate(45deg)}.burger.is-open span:last-child{top:20px;transform:rotate(-45deg)}
.menu{position:fixed;inset:0;z-index:45;background:var(--bg);display:flex;flex-direction:column;justify-content:center;padding:0 10vw;gap:.2rem;clip-path:circle(0 at calc(100% - 40px) 40px);pointer-events:none}
.menu.is-open{pointer-events:auto}
.menu a{font-family:var(--serif);font-size:clamp(2rem,8vw,3.4rem);font-weight:600}

/* photos */
.photo{border-radius:14px;overflow:hidden;background:var(--bg2);position:relative}
.photo img{width:100%;height:100%;object-fit:cover;display:block;will-change:transform}
.photo--wide{aspect-ratio:3/2}.photo--tall{aspect-ratio:4/5}.photo--land{aspect-ratio:3/2}
.hero__media{position:relative}
.hero__media .terminal{position:relative;margin-top:-36px;z-index:2;width:100%}
@media(min-width:901px){.hero__media .terminal{position:absolute;left:-12%;bottom:6%;width:min(340px,84%);margin-top:0}}
.quote{display:flex;justify-content:space-between;padding:.8rem 1rem;border-radius:6px;font-size:.9rem;font-weight:500}
.terminal__row{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}
.status{font-size:.8rem;color:var(--muted)}
/* hero */
.hero{padding-top:clamp(24px,4vw,56px);padding-bottom:clamp(32px,5vw,64px);display:flex;align-items:center}
.hero__grid{display:grid;grid-template-columns:minmax(0,1fr);gap:3rem;align-items:center}
.hero h1{margin:1.4rem 0 1.6rem}
.hero__actions{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:2.2rem}
.line{display:block;overflow:hidden;padding-bottom:.08em}
.line>span{display:inline-block;will-change:transform}
.hero__stats{display:flex;gap:2.6rem;margin-top:3.2rem;flex-wrap:wrap}
.stat b{display:block;font-family:var(--serif);font-weight:700;font-size:2.4rem;line-height:1}
.stat span{font-size:.8rem;color:var(--muted)}

/* terminal card */
.terminal{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:1.4rem;position:relative}
.terminal__head{display:flex;justify-content:space-between;align-items:center;font-size:.8rem;color:var(--muted);margin-bottom:1rem}
.terminal__price{font-family:var(--serif);font-size:2.6rem;line-height:1}
.terminal__price small{font-family:var(--sans);font-size:.85rem;color:var(--up);margin-left:.5rem}
.chart{width:100%;height:170px;margin:1rem 0}
.chart path.line-p{fill:none;stroke:var(--up);stroke-width:2.2;stroke-linecap:round}
.chart path.area{fill:var(--accent);opacity:.6}
.float{position:absolute;background:var(--card);border:1px solid var(--line);border-radius:10px;padding:.8rem 1.1rem;font-size:.8rem;box-shadow:0 20px 40px -20px rgba(42,49,47,.3)}
.float b{display:block;font-family:var(--serif);font-size:1.3rem;font-weight:400}
.float--1{left:-7%;bottom:14%;background:var(--accent3)}
.float--2{right:-5%;top:-6%;background:var(--accent4)}

/* marquee */
.marquee{padding:2.4rem 0;border-block:1px solid var(--line);overflow:hidden;white-space:nowrap}
.marquee__track{display:inline-flex;gap:4rem;animation:tick 40s linear infinite;font-family:var(--serif);font-size:2rem;font-weight:600;color:var(--muted)}
.marquee__track span::after{content:"✦";margin-left:4rem;color:var(--accent-deep);font-size:1rem}

/* cards / grids */
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:2rem;margin-bottom:3.5rem;flex-wrap:wrap}
.section-head h2{max-width:16ch;margin-top:1rem}
.grid{display:grid;gap:1.2rem}
.g2,.g3,.g4{grid-template-columns:1fr}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:2rem;transition:transform .5s var(--ease),box-shadow .5s;position:relative;overflow:hidden}
.card:hover{transform:translateY(-6px);box-shadow:0 30px 50px -30px rgba(42,49,47,.3)}
.card p{color:var(--muted);margin-top:.8rem;font-size:.97rem}
.card .ico{width:52px;height:52px;border-radius:8px;display:grid;place-items:center;margin-bottom:3rem;font-size:1.3rem}
.tint-sage{background:var(--accent)}.tint-blush{background:var(--accent2)}.tint-sky{background:var(--accent3)}.tint-lav{background:var(--accent4)}.tint-sand{background:var(--accent5)}
.card.big{min-height:340px;display:flex;flex-direction:column;justify-content:flex-end}
.card .num{position:absolute;top:1.6rem;right:2rem;font-family:var(--serif);font-size:4.5rem;opacity:.18;line-height:1}

/* horizontal scroll */
.hscroll{padding:0;overflow:hidden}
.hscroll__pin{height:auto;padding:70px 0;display:flex;align-items:center}
.hscroll__track{display:flex;flex-direction:column;gap:1.2rem;padding-inline:24px;will-change:transform}
.hscroll__intro{align-self:center}
.hscroll__intro h2{margin:1rem 0 1.2rem}
.step{min-height:240px;gap:1.5rem;border-radius:var(--r);padding:2.2rem;display:flex;flex-direction:column;justify-content:space-between;border:1px solid var(--line)}
.step .num{font-family:var(--serif);font-size:5rem;line-height:1;opacity:.5}
.step p{color:var(--ink);opacity:.7;margin-top:.7rem}

/* feature split / dark band */
.band{background:var(--panel);color:var(--on-panel);border-radius:0;margin-inline:0}
@media(min-width:700px){.band{border-radius:14px;margin-inline:16px}}
.band .muted,.band .lead{color:var(--muted)}
.band .card{background:rgba(128,128,128,.12);border-color:rgba(128,128,128,.25)}
.band .card p{color:var(--muted)}
.split{display:grid;grid-template-columns:1fr;gap:2.5rem;align-items:center}
.checks{list-style:none;margin-top:1.6rem;display:grid;gap:.8rem}
.checks li{display:flex;gap:.8rem}.checks li::before{content:"";flex:0 0 22px;height:22px;border-radius:6px;background:var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a312f' stroke-width='3'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat;margin-top:2px}

/* table */
.table{width:100%;border-collapse:collapse;font-size:.95rem}
.table th{text-align:left;font-weight:500;color:var(--muted);font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;padding:1rem}
.table td{padding:1.1rem 1rem;border-top:1px solid var(--line)}
.table tr:hover td{background:var(--bg2)}
.tablewrap{background:var(--card);border:1px solid var(--line);border-radius:var(--r);overflow-x:auto;padding:.6rem}
.up{color:var(--up)}.dn{color:var(--dn)}

/* page header */
.phead{padding:clamp(40px,6vw,80px) 0 clamp(20px,3vw,40px)}
.phead h1{margin:1.2rem 0 1.4rem;max-width:14ch}

/* pricing */
.price{font-family:var(--serif);font-size:3.4rem;line-height:1;margin:1.2rem 0}
.price small{font-size:1rem;font-family:var(--sans);color:var(--muted)}
.card.featured{background:var(--accent)}.card.featured p{color:var(--ink)}

/* faq */
.faq{border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line);padding:1.5rem 0}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:1rem;font-family:var(--serif);font-size:1.5rem;font-weight:700}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";transition:transform .4s var(--ease);font-family:var(--sans);font-weight:600}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq p{color:var(--muted);margin-top:1rem;max-width:70ch}

/* forms */
.form{display:grid;gap:1rem}
.field{display:grid;gap:.4rem;font-size:.82rem;color:var(--muted)}
.field input,.field select,.field textarea{font:inherit;font-size:1rem;color:var(--ink);padding:1rem 1.1rem;border-radius:8px;border:1px solid var(--line);background:var(--bg);outline:0;transition:.3s}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--accent-deep);box-shadow:0 0 0 4px rgba(155,181,154,.25)}
.row2{display:grid;grid-template-columns:1fr;gap:1rem}
/* legal */
.legal{display:grid;grid-template-columns:1fr;gap:1.5rem;align-items:start}
.legal aside{display:grid;grid-auto-flow:column;gap:.2rem;overflow-x:auto}
.legal aside a{white-space:nowrap;padding:.55rem 1rem;border-radius:6px;color:var(--muted);font-size:.92rem}
.legal aside a:hover,.legal aside a.is-active{background:var(--card);color:var(--ink)}
.prose{max-width:72ch}
.prose h2{font-size:1.9rem;margin:2.8rem 0 .8rem;letter-spacing:-.015em;scroll-margin-top:96px}
.prose h2:first-of-type{margin-top:0}
.prose p,.prose li{color:var(--muted);margin-bottom:1rem}
.prose ul{padding-left:1.2rem}

/* cta */
.cta{text-align:center;background:var(--accent);border-radius:14px;padding:clamp(60px,9vw,120px) 24px;margin-inline:0;color:var(--ink)}
.cta h2{max-width:14ch;margin:0 auto 1.2rem}
.cta .lead{margin:0 auto 2rem;color:var(--ink);opacity:.7}

/* footer */
.footer{padding:100px 0 40px}
.footer__big{font-family:var(--serif);font-size:clamp(3rem,11vw,10rem);line-height:.95;letter-spacing:-.04em;font-weight:600;margin-bottom:4rem;color:var(--accent-deep)}
.footer__big em{color:var(--ink)}
.footer__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem;border-top:1px solid var(--line);padding-top:3rem}
.footer__grid a:not(.logo){display:block;color:var(--muted);font-size:.92rem;padding:.2rem 0;transition:.3s}
.footer__grid a:not(.logo):hover{color:var(--ink);transform:translateX(4px)}
.footer h6{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;margin-bottom:1rem;font-weight:500}
.footer p.muted{margin-top:1rem;font-size:.9rem;max-width:28ch}
.footer__risk{margin-top:3.5rem;font-size:.75rem;color:var(--muted);max-width:90ch}

/* timeline */
.timeline{display:grid;gap:0;border-top:1px solid var(--line)}
.timeline div{display:grid;grid-template-columns:1fr;gap:.4rem;padding:1.6rem 0;border-bottom:1px solid var(--line)}
.timeline b{font-family:var(--serif);font-size:2rem;font-weight:700}
.timeline p{color:var(--muted)}

[dir=rtl] .nav__links{flex-direction:row-reverse}

/* ---------- Mobile-first breakpoints (min-width only) ---------- */
.nav__cta .btn--dark,.nav__cta .btn--ghost,.lang{display:none}
@media(min-width:561px){
  .nav__cta .btn--dark{display:inline-flex}.lang{display:block}
  .row2{grid-template-columns:1fr 1fr}
}
@media(min-width:641px){.g2,.g3,.g4{grid-template-columns:repeat(2,1fr)}}
@media(min-width:701px){
  .photo--wide{aspect-ratio:21/9}
  .hscroll__pin{height:100vh;padding:0}
  .hscroll__track{flex-direction:row;gap:1.4rem;padding-inline:max(24px,calc((100vw - 1240px)/2))}
  .hscroll__intro{flex:0 0 min(440px,80vw)}
  .step{flex:0 0 min(420px,80vw);height:min(460px,60vh);min-height:0}
  .timeline div{grid-template-columns:140px 1fr;gap:2rem;padding:2rem 0}
}
@media(min-width:861px){
  .legal{grid-template-columns:240px 1fr;gap:4rem}
  .legal aside{position:sticky;top:110px;grid-auto-flow:row;overflow:visible}
  .footer__grid{grid-template-columns:1.5fr repeat(4,1fr)}
}
@media(min-width:901px){
  .hero__grid{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}
  .hero__media .terminal{left:-12%}
  .split{grid-template-columns:1fr 1fr;gap:4rem}
}
@media(min-width:981px){
  .g3{grid-template-columns:repeat(3,1fr)}.g4{grid-template-columns:repeat(4,1fr)}
  .nav__links{display:flex}.nav__cta .btn--ghost{display:inline-flex}.burger{display:none}
  .nav{padding-inline:max(24px,calc((100vw - 1240px)/2))}
}
@media(prefers-reduced-motion:reduce){*{animation:none!important}}

@keyframes tick{to{transform:translateX(-50%)}}

/* ---------- Trading-desk typography ---------- */
body{font-feature-settings:'cv11','ss01'}
.kpi,.price,.amount,.terminal__price,.stat b,.display[data-count],td,.li__r b,.quote span,[data-price],[data-live]{font-variant-numeric:tabular-nums}
.kpi,.terminal__price,.price,.amount,.stat b{font-weight:700;letter-spacing:-.03em}
.footer__big{font-weight:800;letter-spacing:-.05em;color:var(--accent-deep);opacity:.55}
.menu a{font-weight:700;letter-spacing:-.03em}
.faq summary,.timeline b{font-weight:600;letter-spacing:-.02em}
.dhead h1{font-weight:800}
.preloader__mark{font-weight:800;letter-spacing:-.04em}

/* ---------- Light / dark toggle ---------- */
.mode-btn{width:40px;height:40px;border-radius:6px;border:1px solid var(--line);background:var(--card);color:var(--ink);display:grid;place-items:center;cursor:pointer;flex:0 0 auto}
.mode-btn:hover{background:var(--bg2)}
.mode-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.mode-btn .i-moon{display:none}
html[data-mode="dark"] .mode-btn .i-sun{display:none}
html[data-mode="dark"] .mode-btn .i-moon{display:block}
.theme-fade,.theme-fade *{transition:background-color .35s,color .35s,border-color .35s!important}

/* never trap visitors behind the preloader if a CDN script fails */
.preloader{animation:pl-out .4s 4s forwards}
@keyframes pl-out{to{opacity:0;visibility:hidden}}
.hero__grid>*,.split>*,.hero__stats{min-width:0}
.hero__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem 1.4rem}

.form-err{background:var(--accent2);color:var(--ink);border:1px solid var(--dn);border-radius:8px;padding:.75rem 1rem;font-size:.86rem}
.form-ok{background:var(--accent);color:var(--ink);border:1px solid var(--accent-deep);border-radius:8px;padding:.75rem 1rem;font-size:.86rem}
