/* LUNAPAY / FLAGSHIP 4.0
   Design rules: bounded media, consistent editorial sections, accessible contrast.
   Base components: base.css. This file owns composition and responsive rendering. */
:root{--max:1480px;--gold:#efbf68;--gold-bright:#ffda98;--gold-deep:#99682c;--muted:#b9bec7;--surface:#0c1119;--line:rgba(226,169,87,.38);--radius:18px}
html{scroll-padding-top:90px;overflow-x:clip}
body{font-size:16px;line-height:1.65;overflow-x:clip;background:#070a0f}
.container{width:min(var(--max),calc(100% - 80px));margin-inline:auto;min-width:0}
:is(.hero,.section,.product-card,.partner-card,.market-card,.contact-section,.contact-visual,.hero-visual,.product-art,.finance-trend,.flow,.code-window,.advantages-grid article){min-width:0}
img{max-width:100%;height:auto}
:is(.hero-visual,.product-art,.partner-card,.partner-art,.market-card,.market-photo,.contact-visual,.code-window){overflow:clip}
:is(.product-card,.partner-card,.market-card,.advantages-grid article,.code-window,.flow,.contact-layout){contain:layout}
h2{font-size:clamp(40px,3.65vw,62px);line-height:1.09;letter-spacing:-.055em;text-wrap:balance}
.section{padding-top:100px}
.section-head{display:flex;flex-direction:column;align-items:flex-start;justify-content:start;gap:12px;margin-bottom:30px}
.section-head .section-number{margin-bottom:12px}
.section-head-side{max-width:780px;align-self:auto;margin-top:0}
.section-head-side p,.section-intro{font-size:15px;line-height:1.68;color:#afb8c4;max-width:780px;margin:0}
.section-head-side .text-link{margin-top:11px;font-size:13px}
.section-number,.eyebrow{color:#f0c578;letter-spacing:.16em;font-size:11px}

/* Header — comfortably sized controls, no collisions */
.site-header{background:rgba(5,8,12,.98);border-color:rgba(244,185,94,.21)}
.nav-layout{min-height:83px;gap:24px}
.brand-crescent{width:47px;height:47px}
.brand-text{font-size:20px;letter-spacing:.2em}
.primary-nav{gap:clamp(16px,1.6vw,29px)}
.primary-nav>a{font-size:13px;color:#c8cbd1}
.nav-actions{gap:12px}
.nav-cta{min-height:43px}

/* HERO: constrained two-column composition. The original art never crosses its box. */
.hero{background:radial-gradient(ellipse at 0% 45%,rgba(139,79,38,.14),transparent 51%),#070a0e}
.hero-layout{min-height:715px;display:grid;grid-template-columns:minmax(0,47%) minmax(0,53%);align-items:center;gap:0;padding-top:56px;padding-bottom:78px}
.hero-copy{width:100%;max-width:690px;min-width:0;z-index:3;padding-right:24px}
.hero-eyebrow{margin-bottom:26px}
.hero h1{font-size:clamp(50px,3.85vw,68px);letter-spacing:-.061em;line-height:1.04;font-weight:800;max-width:685px;overflow-wrap:break-word;word-break:normal;margin:0 0 21px;text-wrap:balance}
.hero-lead{max-width:625px;color:#ccd1d8;font-size:16px;line-height:1.67;margin-bottom:26px}
.hero .button-lg{min-height:55px;padding-inline:23px;font-size:14px}
.hero-points{gap:12px 18px;margin-top:27px}
.hero-points>div{font-size:12px;color:#c5c9cd;white-space:normal}
.hero-capabilities{max-width:660px;margin-top:36px;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
.hero-capabilities>div{min-width:0;padding-inline:15px}
.hero-capabilities strong{font-size:17px}
.hero-capabilities span{font-size:11px}
.hero-visual{width:100%;height:auto;aspect-ratio:1425/1197;position:relative;right:auto;top:auto;bottom:auto;max-height:650px;min-height:0;overflow:hidden;isolation:isolate;border-radius:4px;pointer-events:none;opacity:1;mask-image:linear-gradient(90deg,transparent 0%,#000 7%,#000 99%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 7%,#000 99%)}
.hero-globe{position:absolute;inset:0;display:grid;place-items:center;background:none;filter:none}
.hero-art-img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;max-width:100%;max-height:100%;filter:saturate(1.06) contrast(1.045);pointer-events:none}
.hero-globe-glow{background:radial-gradient(circle at 52% 62%,rgba(246,188,74,.05),transparent 60%)}
.hero-horizon{background:linear-gradient(90deg,transparent 3%,#8b6329 40%,#efbf68 80%,transparent)}
.capability-band{margin-top:-31px;padding:15px 17px;min-height:116px;border-radius:15px;background:linear-gradient(110deg,#17191d,#0b0f14 59%,#211a13);box-shadow:0 19px 47px #0009;isolation:isolate}
.band-item{padding:0 19px;gap:15px;min-width:0}
.band-icon{width:54px;height:54px}
.band-item strong{font-size:15px;line-height:1.3}
.band-item p{font-size:12px;color:#afb5bd;line-height:1.45}

/* Product grid: same structure and heights, illustrations confined to their card */
.solutions-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
.product-card{min-height:556px;border-radius:17px;padding:26px 24px 20px;border-color:rgba(234,174,79,.42);background:linear-gradient(150deg,#1c1b1b,#0d1119 54%,#1b1712);box-shadow:inset 0 1px #ffffff0a,0 10px 28px #0004}
.product-card h3{font-size:clamp(27px,2vw,33px);margin:19px 0 12px}
.product-description{font-size:14px;line-height:1.58;color:#bfc4cc;min-height:88px;margin-bottom:18px}
.product-card .ticks{gap:9px;margin-top:0;margin-bottom:8px}
.product-card .ticks li{font-size:12px;color:#e0dcd7;line-height:1.4;min-width:0}
.product-art{height:155px;min-height:155px;flex:none;position:relative;isolation:isolate;margin-top:auto;margin-bottom:12px;overflow:hidden;transform:none}
.product-art *{max-width:100%}
.product-card .card-action{margin-top:0;padding-top:14px;font-size:13px;border-top-color:rgba(236,177,86,.29)}
.product-art-card .payment-card{max-width:77%;left:9%;bottom:0;transform:rotate(-10deg)}
.product-art-payout .payout-steps{max-width:80%;overflow:hidden}
.product-art-orbit .orbit-core{max-width:148px;max-height:148px}
.product-art-chip .chip-main{max-width:70%}
.product-top{display:flex;justify-content:space-between;align-items:center}
.product-icon{width:44px;height:44px}
.product-index{font-size:11px;letter-spacing:.1em;color:#9b8057}

/* Merchants & traders: strict two-zone layout, no art or chart over text. */
.partner-grid{gap:18px}
.partner-card{min-height:542px;display:grid;grid-template-columns:57% 43%;background:linear-gradient(125deg,#11151c,#0a0d12);border-radius:18px;isolation:isolate}
.partner-card::after{pointer-events:none;background:linear-gradient(0deg,rgba(5,8,12,.25),transparent 25%)}
.partner-copy{position:relative;z-index:3;max-width:none;width:100%;padding:34px 16px 32px 33px;display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.partner-card h3{font-size:clamp(24px,2vw,34px);line-height:1.15;max-width:none;margin:22px 0 12px;letter-spacing:-.04em}
.partner-description{font-size:13px;color:#c1c6cf;line-height:1.6}
.partner-card .ticks{margin:18px 0 18px;gap:10px}
.partner-card .ticks li{font-size:12px;color:#e0dce0;line-height:1.35}
.partner-card .button{margin-top:auto;min-height:46px;max-width:100%;white-space:normal}
.partner-art{position:relative;inset:auto;z-index:1;width:100%;height:100%;min-height:0;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:12px 0 12px 0;pointer-events:none;background:radial-gradient(ellipse at 50% 62%,rgba(169,111,38,.12),transparent 67%)}
.partner-art>img{position:relative;inset:auto;width:100%;height:auto;max-width:100%;max-height:98%;object-fit:contain;object-position:center;opacity:1;mask-image:none;-webkit-mask-image:none}
.partner-card .partner-tag{letter-spacing:.13em;font-size:11px}

/* Developer panel and visual process */
.developer-section{grid-template-columns:minmax(0,.90fr) minmax(0,1.1fr);gap:clamp(35px,4vw,70px);align-items:center}
.developer-copy h2{font-size:clamp(39px,3.5vw,60px)}
.developer-copy>p:not(.section-number){font-size:15px;line-height:1.73;color:#bec4cc}
.developer-benefits>span{font-size:12px}
.code-window{border-radius:17px;border-color:rgba(239,183,98,.52);box-shadow:0 18px 60px #000b,0 0 32px rgba(194,122,36,.09)}
.code-window-top{height:53px}
.code-text{min-height:320px;max-width:100%;overflow-x:auto;overflow-y:auto;white-space:pre;tab-size:2;padding:24px;font-size:13px;line-height:1.8;color:#b7e4c8}
.code-tab{font-size:13px}
.copy-button{font-size:12px}
.flow{margin-top:35px;border-radius:16px;min-height:155px;padding:24px 28px;background:linear-gradient(120deg,#14171b,#090d14 60%,#17130e)}
.flow-steps li{min-width:0}
.flow-steps b{font-size:12px}
.flow-steps small{font-size:12px;color:#d4d5d8}
.flow-symbol{width:50px;height:50px}

/* Premium geo cards with bounded photography */
.markets-grid{gap:20px}
.market-card{height:251px;min-height:251px;background:linear-gradient(120deg,#15191e,#080d14);border-color:rgba(221,170,89,.5);box-shadow:0 14px 40px #0006}
.market-photo{width:43%;max-width:43%;height:100%;flex:none;position:relative;overflow:clip}
.market-photo img{width:100%;height:100%;max-width:100%;object-fit:cover;object-position:center;filter:saturate(.83) contrast(1.09)}
.market-photo:after{inset:0;background:linear-gradient(90deg,transparent 45%,#0d1118),linear-gradient(0deg,rgba(9,10,14,.24),transparent 60%)}
.market-content{padding:32px 24px 24px 12px;display:flex;flex-direction:column;justify-content:center;min-width:0}
.market-location{font-size:14px;color:#d3d4d8;margin:0 0 14px}
.market-content h3{font-size:clamp(28px,2.15vw,36px);white-space:normal;line-height:1.15}
.market-content>p:not(.market-location){font-size:13px;color:#bbc0c7;margin:0 0 17px;line-height:1.58}
.market-chips span{font-size:11px;padding:5px 10px;border-radius:7px}
.market-chevron{right:17px;top:17px}

/* Asymmetric bento for Why LunaPay; premium editorial hierarchy */
.advantages-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px}
.advantages-grid article{position:relative;min-width:0;min-height:190px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;border-radius:17px;padding:28px 30px;background:radial-gradient(circle at 100% 0%,rgba(213,148,56,.11),transparent 50%),linear-gradient(125deg,#181a1d,#0b1017 75%);border:1px solid rgba(225,176,96,.39);overflow:clip}
.advantages-grid article:nth-child(1){grid-column:span 7;min-height:255px;background:radial-gradient(circle at 85% 30%,rgba(244,180,60,.18),transparent 42%),linear-gradient(115deg,#191819,#0b111a)}
.advantages-grid article:nth-child(2){grid-column:span 5;min-height:255px}
.advantages-grid article:nth-child(n+3){grid-column:span 3;min-height:221px}
.adv-number{position:absolute;right:24px;top:21px;color:#e3bd7a80;font:700 12px/1 Arial,sans-serif;letter-spacing:.17em}
.advantages-grid .adv-icon{margin:0 0 auto;width:52px;height:52px;border-radius:14px;background:rgba(198,142,61,.12);border-color:#b68b4d;color:var(--gold)}
.advantages-grid .adv-icon .icon{width:24px;height:24px}
.advantages-grid h3{font-size:clamp(18px,1.5vw,23px);line-height:1.19;margin:21px 0 8px;max-width:300px}
.advantages-grid p{font-size:13px;line-height:1.56;color:#b8c0cb;max-width:345px}

/* Final conversion panel: its artwork stays inside the layout; footer gains hierarchy */
.contact-section{margin-top:112px;border-color:rgba(230,171,80,.5);background:radial-gradient(ellipse at 74% 38%,rgba(183,123,37,.12),transparent 50%),linear-gradient(105deg,#0d121a,#06090f)}
.contact-layout{min-height:500px;display:grid;grid-template-columns:minmax(0,52%) minmax(0,48%);gap:0;align-items:center;overflow:hidden}
.contact-copy{padding:70px 28px 74px 0;max-width:100%;align-self:center;z-index:2}
.contact-copy h2{font-size:clamp(46px,3.85vw,66px);max-width:670px;line-height:1.075}
.contact-copy>p:not(.section-number){color:#c9cbd1;line-height:1.68;font-size:16px;max-width:580px}
.contact-trust{gap:22px}
.contact-trust span{font-size:12px}
.contact-visual{position:relative;inset:auto;width:100%;height:100%;min-height:500px;overflow:hidden;isolation:isolate}
.contact-visual:before{z-index:1;background:linear-gradient(90deg,#0a1018,transparent 24%),linear-gradient(0deg,#080b11,transparent 20%)}
.contact-visual img{width:100%;height:100%;object-fit:contain;object-position:center;opacity:1;inset:0;filter:contrast(1.05) saturate(1.09)}
.contact-manifest{top:auto;bottom:48px;right:22px;transform:none;max-width:245px;font-size:clamp(14px,1.18vw,19px);line-height:1.48;letter-spacing:.21em;color:#ffe2a8;text-shadow:0 2px 15px #000,0 1px 4px #000}
.contact-manifest small{font-size:10px}
.site-footer{background:linear-gradient(0deg,#06080b,#0a0c10)}
.footer-upper{grid-template-columns:minmax(0,1.2fr) minmax(0,1.35fr) minmax(0,.85fr);padding:51px 0 42px;gap:45px;border-bottom-color:rgba(219,178,111,.2)}
.footer-kicker{display:block;color:#d8ae65;font-size:10px;letter-spacing:.14em;margin-top:16px}
.footer-description{font-size:13px;color:#b1b7c2;margin-top:9px;max-width:310px;line-height:1.6}
.footer-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 34px}
.footer-links a,.footer-socials a{font-size:14px;color:#d1d4db}
.footer-socials{justify-content:center;gap:20px}
.footer-bottom{font-size:12px;color:#9da5b0;gap:16px}

/* Intermediate desktops */
@media(max-width:1330px){
 .container{width:calc(100% - 64px)}
 .nav-layout{gap:18px}.primary-nav{gap:14px}.primary-nav>a{font-size:12px}
 .hero-layout{min-height:615px}.hero h1{font-size:clamp(45px,4.1vw,57px)}
 .hero-copy{padding-right:18px}.hero-lead{font-size:14px}
 .product-card{padding:22px 19px 19px;min-height:558px}
 .product-description{font-size:13px}
 .partner-card{min-height:520px}
 .partner-copy{padding:24px 10px 24px 24px}.partner-card h3{font-size:27px}
 .partner-card .ticks li{font-size:11px}
 .contact-layout{min-height:450px}.contact-visual{min-height:450px}
}
/* Tablet: art is separate and never positioned over headings or CTA. */
@media(max-width:990px){
 .container{width:calc(100% - 48px)}
 .primary-nav,.nav-cta{display:none}
 .hero-layout{display:grid;grid-template-columns:minmax(0,56%) minmax(0,44%);min-height:590px;padding:48px 0 70px}
 .hero-copy{padding-right:10px}.hero h1{font-size:clamp(41px,5.1vw,55px)}
 .hero-visual{opacity:1;width:100%;right:auto;min-height:0;height:auto;aspect-ratio:1425/1197;mask-image:linear-gradient(90deg,transparent,#000 8%);-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%)}
 .hero-globe{background:none}.hero-art-img{width:100%;height:100%;object-fit:contain}
 .hero-capabilities strong{font-size:13px}.hero-capabilities span{font-size:9px}
 .capability-band{grid-template-columns:repeat(2,minmax(0,1fr));min-height:0}
 .band-item{padding:12px 14px}.band-item:nth-child(3){border-left:0}
 .solutions-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .product-card{min-height:500px}.product-description{min-height:58px}.product-card .ticks li{font-size:13px}
 .partner-grid{grid-template-columns:1fr}.partner-card{min-height:470px;grid-template-columns:55% 45%}
 .partner-copy{padding:32px}.partner-card h3{font-size:32px}.partner-card .ticks li{font-size:13px}
 .developer-section{grid-template-columns:1fr;gap:30px}.developer-copy h2{font-size:49px}.developer-copy>p:not(.section-number){margin-block:18px}
 .code-window{max-width:none}.flow-steps li:not(:last-child):after{right:-3px}
 .market-card{height:230px;min-height:230px}.market-photo{width:40%;max-width:40%}.market-content{padding:18px 14px 17px 5px}.market-content h3{font-size:25px}.market-content>p:not(.market-location){font-size:12px}
 .advantages-grid article:nth-child(n+3){grid-column:span 6}
 .contact-layout{grid-template-columns:53% 47%;min-height:410px}.contact-copy{padding:55px 15px 55px 0}.contact-copy h2{font-size:45px}.contact-visual{min-height:410px}
 .contact-manifest{max-width:150px;right:6px;bottom:35px;font-size:13px}
 .footer-upper{grid-template-columns:1fr 1fr;gap:30px}.footer-socials{grid-column:1/-1;flex-direction:row}
}
/* Mobile: natural flow; aspect ratio fixed; art always within container. */
@media(max-width:650px){
 html{scroll-padding-top:73px}
 .container{width:calc(100% - 32px)}
 body{font-size:14px}
 .nav-layout{min-height:68px;height:68px}
 .brand-crescent{width:34px;height:34px}.brand-text{font-size:15px}
 .hero-layout{display:flex;flex-direction:column;align-items:stretch;min-height:0;padding-top:38px;padding-bottom:66px;gap:20px}
 .hero-copy{width:100%;max-width:none;padding:0;order:0}
 .hero-eyebrow{font-size:9px;letter-spacing:.13em;line-height:1.5;margin-bottom:18px}
 .hero h1{font-size:clamp(37px,9.3vw,49px);line-height:1.07;letter-spacing:-.056em;margin-bottom:17px;overflow-wrap:break-word}
 .hero-lead{font-size:13px;line-height:1.64;margin-bottom:21px}
 .hero-actions{display:flex;gap:9px;align-items:stretch}
 .hero-actions .button{min-height:49px;gap:7px;padding:11px 12px;font-size:11px;flex:1;white-space:normal}
 .hero-points{margin-top:22px;gap:9px 15px}.hero-points>div{font-size:10px;flex:1 1 40%}
 .hero-capabilities{margin-top:23px;padding-top:14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 8px}
 .hero-capabilities>div{padding-left:12px;border-left:1px solid rgba(223,176,102,.35)}
 .hero-capabilities>div:nth-child(odd){padding-left:0;border-left:0}
 .hero-capabilities strong{font-size:14px}.hero-capabilities span{font-size:10px}
 .hero-visual{order:1;position:relative;top:auto;left:auto;right:auto;bottom:auto;opacity:1;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:1425/1197;margin:0;mask-image:linear-gradient(180deg,#000 0%,#000 95%,transparent 100%);-webkit-mask-image:linear-gradient(180deg,#000 0%,#000 95%,transparent 100%);overflow:hidden}
 .hero-art-img{width:100%;height:100%;max-height:100%;object-fit:contain;object-position:center}
 .capability-band{margin-top:-18px;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:7px;border-radius:13px}
 .band-item{padding:12px 9px;gap:8px;min-height:82px}.band-icon{height:35px;width:35px}.band-icon .icon{width:18px;height:18px}.band-item strong{font-size:11px}.band-item p{font-size:10px}
 .section{padding-top:76px}.section-head{gap:10px;margin-bottom:24px}.section-head h2{font-size:clamp(36px,9.3vw,48px)}
 .section-head .section-number{margin-bottom:10px}.section-head-side p,.section-intro{font-size:13px;line-height:1.6}.section-head-side .text-link{font-size:12px}
 .solutions-grid{grid-template-columns:1fr;gap:13px}.product-card{min-height:0;padding:23px 23px 18px}.product-description{font-size:13px;min-height:0;margin-bottom:17px}.product-card h3{font-size:30px}.product-card .ticks li{font-size:12px}.product-art{height:155px;min-height:155px;margin-top:18px}.product-card .card-action{font-size:13px}
 .partner-grid{gap:15px}.partner-card{display:flex;flex-direction:column;min-height:0}.partner-copy{width:100%;padding:25px 23px 12px;max-width:100%}.partner-card h3{font-size:27px;max-width:none;margin:16px 0 10px}.partner-description{font-size:12px;max-width:none}.partner-card .ticks{gap:8px;margin:15px 0 17px}.partner-card .ticks li{font-size:12px}.partner-card .button{margin:0}
 .partner-art{height:220px;flex:none;padding:0 20px 16px;min-height:0}.partner-art>img{width:100%;height:100%;max-height:100%;object-fit:contain;opacity:1}
 .developer-section{gap:23px}.developer-copy h2{font-size:clamp(34px,9vw,45px)}.developer-copy>p:not(.section-number){font-size:13px}.developer-benefits>span{font-size:11px}
 .code-window-top{height:42px;padding-inline:13px}.code-text{min-height:275px;font-size:11px;padding:16px 13px;line-height:1.75;overflow:auto}.code-caption{font-size:10px}.code-tabs{padding-inline:12px}
 .flow{padding:22px 18px;min-height:0;margin-top:23px}.flow-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:21px 13px}.flow-steps li:not(:last-child):after{display:none}.flow-symbol{width:42px;height:42px}.flow-steps small{font-size:11px}
 .markets-grid{grid-template-columns:1fr;gap:13px}.market-card{height:190px;min-height:190px}.market-photo{width:39%;max-width:39%}.market-content{padding:15px 13px 13px 5px}.market-location{font-size:11px;margin-bottom:9px}.market-content h3{font-size:clamp(22px,6vw,28px)}.market-content>p:not(.market-location){font-size:11px;margin-bottom:12px}.market-chips span{font-size:9px;padding:4px 7px}
 .advantages-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.advantages-grid article,.advantages-grid article:nth-child(1),.advantages-grid article:nth-child(2),.advantages-grid article:nth-child(n+3){grid-column:span 1;min-height:210px;padding:20px 16px}.advantages-grid article:nth-child(1){grid-column:1/-1;min-height:216px}.advantages-grid .adv-icon{width:41px;height:41px}.advantages-grid h3{font-size:16px;margin:13px 0 7px}.advantages-grid p{font-size:11px}.adv-number{top:17px;right:15px;font-size:10px}
 .contact-section{margin-top:79px}.contact-layout{display:flex;flex-direction:column;min-height:0;gap:0}.contact-copy{padding:52px 0 8px;width:100%;max-width:none;order:0}.contact-copy h2{font-size:clamp(41px,10vw,56px)}.contact-copy>p:not(.section-number){font-size:13px;margin:17px 0 20px}.contact-copy .button{min-height:49px;font-size:11px;padding:12px 13px}.contact-trust{margin-top:18px;gap:13px}.contact-trust span{font-size:10px}
 .contact-visual{position:relative;top:auto;left:auto;right:auto;bottom:auto;order:1;width:100%;min-height:0;height:auto;aspect-ratio:1.05;margin:0;opacity:1;mask-image:none;-webkit-mask-image:none;overflow:hidden}
 .contact-visual img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;opacity:1}
 .contact-visual::before{background:linear-gradient(180deg,#0b1017,transparent 24%,transparent 88%,#0b1017);z-index:1}
 .contact-manifest{right:10px;bottom:13%;max-width:145px;font-size:12px;letter-spacing:.13em}.contact-manifest small{font-size:9px}
 .footer-upper{display:grid;grid-template-columns:1fr;gap:25px;padding:39px 0 32px}.footer-description{font-size:12px}.footer-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.footer-links a{font-size:13px}.footer-socials{grid-column:auto;flex-direction:row;flex-wrap:wrap;gap:18px}.footer-socials a{font-size:12px}
 .footer-bottom{padding-block:21px 95px;gap:12px;justify-content:flex-start}.footer-bottom p{font-size:11px;text-align:left;order:3;width:100%}
}
@media(max-width:370px){.container{width:calc(100% - 26px)}.hero h1{font-size:35px}.hero-actions .button{font-size:10px;padding-inline:9px}.market-card{height:190px}.market-photo{width:35%;max-width:35%}.market-content h3{font-size:21px}.advantages-grid article:nth-child(n){min-height:220px}.code-text{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition-duration:.001ms!important}}

/* LunaPay visual polish 4.1 — geometry audited against the supplied live screenshots.
   All artwork stays inside its own content box. No changes to payment services. */

/* Hero: make the globe feel continuous with the page instead of a rectangular poster.
   Keep every pixel of hero artwork inside the grid rather than bleeding over text. */
@media (min-width: 991px) {
  .hero-layout {
    grid-template-columns: minmax(0, 51%) minmax(0, 49%);
    min-height: 675px;
    padding-top: 43px;
    padding-bottom: 76px;
  }
  .hero-copy { padding-right: clamp(22px, 2.1vw, 39px); }
  .hero h1 {
    font-size: clamp(48px, 3.24vw, 58px);
    line-height: 1.08;
    letter-spacing: -.059em;
    text-wrap: pretty;
    overflow-wrap: normal;
  }
  .hero-visual {
    width: 100%;
    aspect-ratio: 1425 / 1197;
    border-radius: 0;
    -webkit-mask-image: radial-gradient(ellipse 82% 81% at 53% 52%, #000 57%, rgba(0,0,0,.96) 69%, rgba(0,0,0,.57) 87%, transparent 100%);
    mask-image: radial-gradient(ellipse 82% 81% at 53% 52%, #000 57%, rgba(0,0,0,.96) 69%, rgba(0,0,0,.57) 87%, transparent 100%);
  }
}

/* Product illustrations: safe area for rotated elements, preventing cut corners. */
.product-art { overflow: hidden; border-radius: 11px; }
.product-art-card .payment-card {
  left: 17%;
  bottom: 10%;
  width: 70%;
  max-width: 70%;
  transform: rotate(-7deg);
  transform-origin: center;
}
.product-art-payout .payout-steps { max-width: 74%; }
.product-art-chip .chip-main { max-width: 63%; }
.product-art-orbit .orbit-core { max-width: 125px; max-height: 125px; }
.product-card { min-width: 0; }
.product-card .ticks li { overflow-wrap: anywhere; }

/* Partner art never overlays the copy, even while resizing the browser. */
.partner-card > * { min-width: 0; }
.partner-art { overflow: hidden; }
.partner-art > img { width: 100%; max-width: 100%; object-fit: contain; }

/* Markets: use one country label, preserve both photos inside the card radius. */
.market-card { overflow: hidden; isolation: isolate; }
.market-photo { overflow: hidden; }
.market-photo img { display: block; height: 100%; object-fit: cover; }
.market-location { display: flex; gap: 8px; align-items: center; }
.market-location .flag { font-size: 17px; line-height: 1; }

/* Final CTA: one framed premium surface with the art correctly filling its half.
   The old portrait asset shrank into a narrow vertical band; use a 900x580 wide asset. */
.contact-section {
  width: min(var(--max), calc(100% - 80px));
  margin: 110px auto 0;
  border: 1px solid rgba(227,174,90,.52);
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at 82% 37%,rgba(198,136,52,.12),transparent 48%),
              linear-gradient(118deg,#10141c,#080c12 63%,#101116);
  box-shadow: 0 20px 70px rgba(0,0,0,.47), inset 0 1px rgba(255,255,255,.07);
}
.contact-section::before { z-index: 0; opacity: .28; }
.contact-section > .contact-layout {
  width: 100%;
  margin: 0;
  min-height: 475px;
  display: grid;
  grid-template-columns: minmax(0, 51%) minmax(0, 49%);
  gap: 0;
  align-items: stretch;
  overflow: hidden;
}
.contact-copy {
  min-width: 0;
  max-width: none;
  padding: 64px 25px 66px clamp(29px, 3.7vw, 62px);
  z-index: 2;
  align-self: center;
}
.contact-copy h2 { max-width: 590px; font-size: clamp(40px, 3.5vw, 60px); }
.contact-copy > p:not(.section-number) { font-size: 15px; line-height: 1.7; }
.contact-visual {
  width: 100%;
  min-width: 0;
  min-height: 475px;
  height: auto;
  overflow: hidden;
  border-radius: 0 23px 23px 0;
  isolation: isolate;
}
.contact-visual img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 49% center;
  opacity: .98;
  filter: contrast(1.03) saturate(1.06);
}
.contact-visual::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,#0a0f16 0%,rgba(9,11,16,.47) 14%,transparent 35%),
              linear-gradient(270deg,rgba(6,8,12,.78),transparent 51%),
              linear-gradient(0deg,rgba(7,9,12,.6),transparent 22%);
}
.contact-manifest {
  top: auto;
  right: clamp(16px,2vw,34px);
  bottom: clamp(32px,3vw,53px);
  transform: none;
  z-index: 2;
  max-width: 175px;
  font-size: 13px;
  line-height: 1.53;
  letter-spacing: .18em;
  color: #ffe3af;
  padding: 13px 8px 13px 16px;
  border-left: 1px solid rgba(245,196,110,.52);
  background: linear-gradient(90deg,rgba(4,7,13,.55),rgba(4,7,13,.12));
  text-shadow: 0 2px 15px #000;
}
.contact-manifest .manifest-line { display: none; }
.contact-manifest small { font-size: 9px; letter-spacing: .27em; }

/* Bring back breathing space after the CTA; keep footer aligned to other sections. */
.site-footer { margin-top: 72px; }
.footer-upper { padding: 47px 0 40px; }

@media (min-width: 651px) and (max-width: 1330px) {
  .contact-section { width: calc(100% - 64px); }
  .contact-copy { padding: 45px 18px 45px 30px; }
  .contact-copy h2 { font-size: clamp(37px, 3.8vw, 52px); }
  .contact-visual, .contact-section > .contact-layout { min-height: 410px; }
  .contact-manifest { font-size: 11px; max-width: 145px; right: 12px; }
}
@media (min-width: 651px) and (max-width: 990px) {
  .hero-layout { grid-template-columns: minmax(0,56%) minmax(0,44%); }
  .hero h1 { font-size: clamp(39px,4.6vw,50px); }
  .contact-section > .contact-layout { grid-template-columns: minmax(0,55%) minmax(0,45%); }
  .contact-copy .button { white-space: normal; }
}
@media (max-width: 650px) {
  .contact-section {
    width: calc(100% - 32px);
    margin-top: 76px;
    border-radius: 18px;
  }
  .contact-section > .contact-layout {
    width: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .contact-copy {
    order: 0;
    width: 100%;
    padding: 35px 22px 22px;
  }
  .contact-copy h2 { font-size: clamp(35px,9vw,49px); }
  .contact-visual {
    order: 1;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1.58;
    border-radius: 0 0 17px 17px;
    overflow: hidden;
  }
  .contact-visual img { object-fit: cover; object-position: center; }
  .contact-visual::before {
    background: linear-gradient(180deg,#0b1017,transparent 30%),
                linear-gradient(270deg,rgba(5,7,11,.65),transparent 56%);
  }
  .contact-manifest {
    bottom: 15px;
    right: 12px;
    max-width: 108px;
    font-size: 9px;
    padding: 6px 5px 6px 9px;
    letter-spacing: .095em;
  }
  .contact-manifest small { font-size: 7px; }
  .site-footer { margin-top: 42px; }
  .footer-upper { padding-top: 27px; }
}
@media (max-width: 370px) {
  .contact-section { width: calc(100% - 26px); }
  .contact-copy { padding-inline: 17px; }
}

/* Blend the photo edges into the hero backdrop, never show a hard image rectangle. */
.hero-visual::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(to right, #070a0e 0%, transparent 11%, transparent 84%, #070a0e 100%),
    linear-gradient(to bottom, #070a0e 0%, transparent 11%, transparent 88%, #070a0e 100%);
}
@media (max-width: 650px) {
  .hero-visual::after {
    background: linear-gradient(to bottom,#070a0e 0%,transparent 12%,transparent 86%,#070a0e 100%);
  }
}
