/* ==========================================================
   PAGE 21 — AA Poker Client Install
   Premium editorial-installation layout
   Emerald / cream / copper accent / asymmetrical gallery
   ========================================================== */

:root{
  --ink:#17231f;
  --deep:#10271f;
  --deep2:#183b30;
  --green:#00ac72;
  --mint:#7edab7;
  --cream:#f6f1e7;
  --paper:#fbfaf6;
  --soft:#eef2ed;
  --line:#d9dfd8;
  --muted:#69766f;
  --copper:#b77a4d;
  --white:#fff;
  --shell:min(1180px,calc(100% - 40px));
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  background:var(--paper);
  font-family:Arial,"Microsoft YaHei","PingFang SC",sans-serif;
  line-height:1.75;
  -webkit-font-smoothing:antialiased
}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit}
.shell{width:var(--shell);margin:0 auto}
section{scroll-margin-top:88px}

/* Header */
.site-header{
  position:sticky;top:0;z-index:80;
  background:rgba(251,250,246,.95);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--line)
}
.nav-row{
  height:72px;
  display:flex;
  align-items:center;
  gap:26px
}
.brand img{width:145px}
.desktop-nav{
  margin-left:auto;
  display:flex;
  gap:22px
}
.desktop-nav a{
  color:#53625b;
  font-size:13px;
  font-weight:700
}
.desktop-nav a:hover{color:var(--green)}
.nav-cta{
  padding:10px 17px;
  background:var(--deep);
  color:#fff;
  font-size:12px;
  font-weight:900
}
.menu-toggle{
  display:none;
  margin-left:auto;
  padding:8px;
  border:0;
  background:transparent
}
.menu-toggle span{
  display:block;
  width:22px;
  height:2px;
  margin:5px;
  background:var(--deep)
}
.mobile-nav{
  padding:8px 20px 18px;
  border-top:1px solid var(--line);
  background:var(--paper)
}
.mobile-nav a{
  display:block;
  padding:9px 0;
  color:#44544c;
  font-size:13px;
  font-weight:700
}

/* Hero */
.hero{
  position:relative;
  overflow:hidden;
  padding:80px 0 96px;
  background:
    linear-gradient(90deg,rgba(23,35,31,.035) 1px,transparent 1px),
    var(--cream);
  background-size:92px 100%
}
.hero-rail{
  position:absolute;
  left:0;top:72px;bottom:0;
  width:58px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:space-between;
  padding:28px 0 30px;
  border-right:1px solid rgba(23,35,31,.12)
}
.hero-rail span{
  writing-mode:vertical-rl;
  transform:rotate(180deg);
  color:#7e8a83;
  font-size:8px;
  letter-spacing:.25em;
  font-weight:900
}
.hero-rail b{
  color:var(--copper);
  font-size:13px
}
.hero-grid{
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  gap:72px;
  align-items:center
}
.eyebrow{
  margin:0 0 13px;
  color:var(--green);
  font-size:9px;
  letter-spacing:.18em;
  font-weight:900
}
.eyebrow.light{color:var(--mint)}
.hero h1{
  margin:0;
  font-family:Georgia,"Times New Roman","Microsoft YaHei",serif;
  font-size:clamp(62px,7vw,96px);
  line-height:.95;
  font-weight:500;
  letter-spacing:-.06em
}
.hero h1 span{color:#687970}
.hero-lead{
  max-width:630px;
  margin:28px 0 0;
  color:#59675f;
  font-size:16px;
  line-height:1.95
}
.hero-actions{
  display:flex;
  align-items:center;
  gap:23px;
  margin-top:31px
}
.primary-btn{
  min-width:250px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 17px;
  background:var(--deep);
  color:#fff;
  font-weight:900
}
.secondary-link{
  padding-bottom:3px;
  border-bottom:1px solid var(--ink);
  font-size:13px;
  font-weight:800
}
.hero-metrics{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  margin-top:42px;
  border-top:1px solid #c8cec5
}
.hero-metrics>div{padding:14px 12px 0 0}
.hero-metrics b{
  display:block;
  font-family:Georgia,serif;
  color:var(--copper);
  font-size:26px;
  font-weight:500
}
.hero-metrics span{display:block;color:#7c8981;font-size:10px}

/* hero showcase */
.hero-showcase{
  position:relative;
  min-height:600px
}
.showcase-main{
  position:absolute;
  inset:28px 56px 70px 30px;
  overflow:hidden;
  background:#18372d
}
.showcase-main img{
  width:100%;
  height:100%;
  object-fit:cover
}
.showcase-window{
  position:absolute;
  right:0;
  bottom:0;
  width:220px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 24px 60px rgba(20,43,33,.16)
}
.showcase-window-head{
  height:48px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 11px;
  border-bottom:1px solid var(--line);
  background:#f7f8f4
}
.showcase-window-head img{width:28px}
.showcase-window-head span{font-size:9px;font-weight:800}
.showcase-window-head b{
  margin-left:auto;
  color:var(--green);
  font-size:7px;
  letter-spacing:.12em
}
.showcase-window>img{
  width:100%;
  height:300px;
  object-fit:cover
}
.showcase-note{
  position:absolute;
  left:0;
  bottom:34px;
  max-width:270px;
  padding:14px 16px;
  border-left:3px solid var(--copper);
  background:rgba(251,250,246,.95)
}
.showcase-note span{
  display:block;
  color:var(--copper);
  font-size:8px;
  letter-spacing:.16em;
  font-weight:900
}
.showcase-note b{
  display:block;
  margin-top:3px;
  font-size:12px
}

/* Download band */
.download-band{
  background:var(--deep);
  color:#fff
}
.download-band-grid{
  min-height:108px;
  display:grid;
  grid-template-columns:1fr 1.15fr .5fr;
  gap:30px;
  align-items:center
}
.download-band-title span{
  color:var(--mint);
  font-size:8px;
  letter-spacing:.17em;
  font-weight:900
}
.download-band-title h2{margin:3px 0 0;font-size:22px}
.download-band-copy p{
  color:#a9bbb2;
  font-size:12px
}
.download-band-grid>a{
  justify-self:end;
  padding:12px 17px;
  background:#fff;
  color:var(--deep);
  font-size:12px;
  font-weight:900
}

/* common */
.section-heading{
  display:grid;
  grid-template-columns:1fr .67fr;
  gap:56px;
  align-items:end;
  margin-bottom:40px
}
.section-heading h2,.device-copy h2,.trouble-intro h2,.reinstall-copy h2,.faq-intro h2,.final-copy h2{
  margin:0;
  font-family:Georgia,"Times New Roman","Microsoft YaHei",serif;
  font-size:clamp(40px,5vw,58px);
  line-height:1.08;
  font-weight:500;
  letter-spacing:-.045em
}
.section-heading>p{margin:0;color:var(--muted)}

/* Install journey */
.install-section{
  padding:110px 0;
  background:#fff
}
.journey{
  border-top:2px solid var(--ink)
}
.journey-step{
  display:grid;
  grid-template-columns:58px 1fr 150px;
  gap:24px;
  align-items:center;
  padding:30px 0;
  border-bottom:1px solid var(--line)
}
.journey-number{
  align-self:start;
  color:var(--copper);
  font-size:11px;
  font-weight:900
}
.journey-copy>span{
  color:#849087;
  font-size:8px;
  letter-spacing:.17em;
  font-weight:900
}
.journey-copy h3{margin:3px 0 8px;font-size:20px}
.journey-copy p{margin:0;color:var(--muted);font-size:12px}
.journey-image{
  min-height:160px;
  display:grid;
  place-items:center;
  background:#f2f4ef
}
.journey-image img{
  width:96px;
  max-height:150px;
  object-fit:contain
}
.journey-icon{
  width:90px;height:90px;
  display:grid;place-items:center;
  margin:auto;
  border-radius:50%;
  background:#ecefe9;
  color:var(--green);
  font-size:25px;
  font-weight:900
}
.brand-icon img{width:40px}

/* Device section */
.device-section{
  background:#17382e;
  color:#fff
}
.device-grid{
  min-height:570px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:70px;
  align-items:center
}
.device-art{
  position:relative;
  height:570px;
  display:grid;
  place-items:center;
  background:radial-gradient(circle,rgba(126,218,183,.13),transparent 48%)
}
.device-art>img{
  width:86%;
  max-height:430px;
  object-fit:contain
}
.device-art-caption{
  position:absolute;
  left:20px;
  bottom:30px;
  padding:12px 14px;
  border-left:3px solid var(--mint);
  background:rgba(16,39,31,.9)
}
.device-art-caption span{
  display:block;
  color:var(--mint);
  font-size:8px;
  letter-spacing:.16em
}
.device-art-caption b{display:block;margin-top:3px;font-size:12px}
.device-copy>p:not(.eyebrow){color:#a7b9b0}
.device-lines{
  margin:26px 0;
  border-top:1px solid #3c5b50
}
.device-lines>div{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:20px;
  padding:12px 0;
  border-bottom:1px solid #3c5b50
}
.device-lines b{color:var(--mint);font-size:11px}
.device-lines span{color:#c2d0c9;font-size:11px}
.device-copy>a{
  display:inline-block;
  padding:12px 17px;
  background:#fff;
  color:var(--deep);
  font-size:12px;
  font-weight:900
}

/* Before install */
.before-section{
  padding:110px 0;
  background:var(--cream)
}
.before-layout{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:14px
}
.before-main{
  min-height:500px;
  position:relative;
  overflow:hidden;
  padding:30px;
  background:#fff;
  border:1px solid #ddd8cd
}
.before-main>span{
  color:var(--copper);
  font-size:10px;
  font-weight:900
}
.before-main h3{
  max-width:480px;
  margin:32px 0 9px;
  font-size:28px
}
.before-main p{
  max-width:560px;
  margin:0;
  color:var(--muted);
  font-size:13px
}
.before-main img{
  position:absolute;
  right:0;
  bottom:0;
  width:62%;
  height:255px;
  object-fit:cover
}
.before-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px
}
.before-list article{
  min-height:243px;
  padding:24px;
  background:#fff;
  border:1px solid #ddd8cd
}
.before-list>article>span{
  color:var(--copper);
  font-size:10px;
  font-weight:900
}
.before-list h3{margin:38px 0 7px;font-size:17px}
.before-list p{margin:0;color:var(--muted);font-size:11px}

/* Editorial gallery */
.preview-section{
  padding:110px 0;
  background:#fff
}
.editorial-gallery{
  display:grid;
  grid-template-columns:1.25fr .75fr .75fr;
  grid-template-rows:270px 270px;
  gap:12px
}
.editorial-gallery figure{
  margin:0;
  position:relative;
  overflow:hidden;
  background:#f2f4ef;
  border:1px solid var(--line)
}
.gallery-a{grid-row:1/3}
.gallery-d{grid-column:2/4}
.editorial-gallery img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:12px
}
.gallery-a img,.gallery-d img{
  object-fit:cover;
  padding:0
}
.editorial-gallery figcaption{
  position:absolute;
  left:13px;right:13px;bottom:13px;
  padding:10px 12px;
  background:rgba(251,250,246,.94)
}
.editorial-gallery figcaption span{
  display:block;
  color:var(--copper);
  font-size:8px;
  font-weight:900
}
.editorial-gallery figcaption b{display:block;font-size:12px}
.editorial-gallery figcaption small{display:block;color:#7e8982;font-size:9px}

/* Troubleshooting */
.trouble-section{
  padding:110px 0;
  background:var(--deep);
  color:#fff
}
.trouble-grid{
  display:grid;
  grid-template-columns:.62fr 1.38fr;
  gap:80px
}
.trouble-intro{
  position:sticky;
  top:110px;
  align-self:start
}
.trouble-intro>p:not(.eyebrow){color:#a7b9b0}
.trouble-list{border-top:1px solid #405c52}
.trouble-list article{
  display:grid;
  grid-template-columns:46px 1fr 100px;
  gap:18px;
  align-items:center;
  padding:22px 0;
  border-bottom:1px solid #405c52
}
.trouble-list>article>span{
  color:var(--mint);
  font-size:10px;
  font-weight:900
}
.trouble-list h3{margin:0 0 5px;font-size:17px}
.trouble-list p{margin:0;color:#a7b9b0;font-size:11px}
.trouble-list>article>b{
  justify-self:end;
  color:#c4d1ca;
  font-size:10px
}

/* Reinstall */
.reinstall-section{
  padding:110px 0;
  background:#fff
}
.reinstall-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:72px;
  align-items:center
}
.reinstall-copy>p:not(.eyebrow){color:var(--muted)}
.reinstall-copy ul{
  list-style:none;
  padding:0;
  margin:24px 0;
  border-top:1px solid var(--line)
}
.reinstall-copy li{
  padding:10px 0;
  border-bottom:1px solid var(--line);
  font-size:12px
}
.reinstall-copy li b{color:var(--green)}
.reinstall-copy>a{
  display:inline-block;
  padding:12px 17px;
  background:var(--deep);
  color:#fff;
  font-size:12px;
  font-weight:900
}
.reinstall-art{
  min-height:450px;
  display:grid;
  place-items:center;
  background:#eef2ed
}
.reinstall-art img{
  max-width:78%;
  max-height:360px;
  object-fit:contain
}

/* FAQ */
.faq-section{
  padding:110px 0;
  background:var(--cream)
}
.faq-grid{
  display:grid;
  grid-template-columns:.7fr 1.3fr;
  gap:82px
}
.faq-intro{
  position:sticky;
  top:110px;
  align-self:start
}
.faq-intro>p:not(.eyebrow){color:var(--muted)}
.faq-list{border-top:2px solid var(--ink)}
.faq-list details{border-bottom:1px solid #d9d7cd}
.faq-list summary{
  list-style:none;
  position:relative;
  padding:21px 44px 21px 0;
  cursor:pointer;
  font-size:15px;
  font-weight:900
}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{
  content:"+";
  position:absolute;
  right:4px;top:17px;
  width:28px;height:28px;
  display:grid;place-items:center;
  border-radius:50%;
  background:#e8e5dc;
  color:#3f4d46;
  font-size:18px;
  font-weight:400
}
.faq-list details[open] summary::after{content:"−"}
.faq-list p{
  margin:0;
  padding:0 55px 22px 0;
  color:var(--muted);
  font-size:12px
}

/* Final */
.final-section{
  padding:32px 0 94px;
  background:var(--cream)
}
.final-panel{
  min-height:215px;
  display:grid;
  grid-template-columns:180px 1fr 210px;
  gap:32px;
  align-items:center;
  padding:36px 40px;
  background:#fff;
  border-top:4px solid var(--copper)
}
.final-logo img{width:135px}
.final-copy span{
  color:var(--copper);
  font-size:8px;
  letter-spacing:.16em;
  font-weight:900
}
.final-copy h2{font-size:34px}
.final-copy p{margin:5px 0 0;color:var(--muted);font-size:11px}
.final-panel>a{
  display:flex;
  justify-content:space-between;
  padding:14px 16px;
  background:var(--deep);
  color:#fff;
  font-size:12px;
  font-weight:900
}

/* Footer */
.footer{
  padding:54px 0 74px;
  background:#fff;
  border-top:1px solid var(--line)
}
.footer-grid{
  display:grid;
  grid-template-columns:1.2fr .7fr .7fr;
  gap:50px
}
.footer img{width:135px}
.footer p{
  max-width:390px;
  color:#78847d;
  font-size:11px
}
.footer nav{
  display:grid;
  gap:7px
}
.footer nav a{
  color:#59675f;
  font-size:11px
}
.footer-grid>p{
  margin:0;
  text-align:right
}
.mobile-bar{display:none}

/* Responsive */
@media(max-width:1040px){
  .desktop-nav{display:none}
  .menu-toggle{display:block}
  .nav-cta{margin-left:auto}
  .hero-grid,.trouble-grid,.faq-grid{
    grid-template-columns:1fr
  }
  .hero-rail{display:none}
  .trouble-intro,.faq-intro{position:static}
  .hero-showcase{min-height:530px}
}
@media(max-width:820px){
  :root{--shell:min(100% - 28px,1180px)}
  .nav-cta{display:none}
  .hero{padding:52px 0 68px}
  .hero h1{font-size:64px}
  .download-band-grid{grid-template-columns:1fr;padding:22px 0}
  .download-band-grid>a{justify-self:start}
  .section-heading{grid-template-columns:1fr}
  .install-section,.before-section,.preview-section,.trouble-section,.reinstall-section,.faq-section{padding:78px 0}
  .device-grid,.reinstall-grid{grid-template-columns:1fr}
  .device-art{height:360px}
  .device-copy{padding:45px 0 58px}
  .before-layout{grid-template-columns:1fr}
  .before-main{min-height:460px}
  .editorial-gallery{
    grid-template-columns:1fr 1fr;
    grid-template-rows:auto
  }
  .gallery-a{
    grid-column:1/-1;
    grid-row:auto;
    min-height:350px
  }
  .gallery-d{grid-column:1/-1;min-height:260px}
  .final-panel{grid-template-columns:150px 1fr}
  .final-panel>a{grid-column:1/-1}
  .footer-grid{grid-template-columns:1fr}
  .footer-grid>p{text-align:left}
}
@media(max-width:580px){
  body{padding-bottom:72px}
  .nav-row{height:66px}
  .brand img{width:126px}
  .hero h1{font-size:50px}
  .hero-lead{font-size:14px}
  .hero-actions{align-items:stretch;flex-direction:column}
  .primary-btn{min-width:0}
  .secondary-link{align-self:flex-start}
  .hero-metrics{grid-template-columns:1fr}
  .hero-metrics>div{padding:10px 0;border-bottom:1px solid #c8cec5}
  .hero-showcase{min-height:390px}
  .showcase-main{inset:20px 24px 65px 10px}
  .showcase-window{
    width:140px
  }
  .showcase-window>img{height:190px}
  .showcase-note{max-width:200px}
  .section-heading h2,.device-copy h2,.trouble-intro h2,.reinstall-copy h2,.faq-intro h2{font-size:37px}
  .journey-step{grid-template-columns:38px 1fr}
  .journey-image,.journey-icon{grid-column:2}
  .device-lines>div{grid-template-columns:1fr}
  .before-list{grid-template-columns:1fr}
  .before-main{min-height:430px}
  .before-main img{width:80%;height:220px}
  .editorial-gallery{grid-template-columns:1fr}
  .gallery-a,.gallery-d{grid-column:auto}
  .editorial-gallery figure{min-height:280px}
  .trouble-list article{grid-template-columns:36px 1fr}
  .trouble-list>article>b{grid-column:2;justify-self:start}
  .reinstall-art{min-height:320px}
  .final-panel{grid-template-columns:1fr;padding:28px 22px}
  .final-panel>a{grid-column:auto}
  .mobile-bar{
    position:fixed;
    left:9px;right:9px;bottom:9px;
    z-index:100;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:9px 9px 9px 12px;
    background:rgba(16,39,31,.97);
    box-shadow:0 15px 38px rgba(0,0,0,.22)
  }
  .mobile-bar span{
    display:flex;
    align-items:center;
    gap:8px;
    color:#fff;
    font-size:12px;
    font-weight:800
  }
  .mobile-bar img{width:30px}
  .mobile-bar a{
    padding:9px 14px;
    background:#fff;
    color:var(--deep);
    font-size:12px;
    font-weight:900
  }
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
}
