/* ==========================================================================
   AMCore – AMC Manager · product page (v5)
   Visual system (v6, AMCore 1.6.5 marketing pack): VRB Tech navy and blue,
   cyan, lime and green accents, brand stripe, page background #F4F7FC ·
   Inter (headings + body) · white cards, rounded corners, light borders,
   navy-to-blue gradients, clear status pills.
   ========================================================================== */
:root{
  /* brand: navy #0B1730 · blue #0A84FF · deep blue #0663C7 · cyan #12C6E8 · lime #B8D100 · green #05A577 · page #F4F7FC */
  --ink:#0b1730;--ink2:#13284f;--blue:#0a84ff;--blue-deep:#0663c7;--cyan:#12c6e8;--lime:#b8d100;--green:#05a577;
  --sky:#e7f1ff;--foam:#f4f7fc;--line:#dde6f3;--body:#4a5a77;--muted:#5f6d88;--white:#fff;
  --stripe:linear-gradient(90deg,#0779f6 0%,#12c6e8 38%,#b8d100 70%,#05a577 100%);
  --card-grad:linear-gradient(120deg,#0b1730 0%,#0b3a7a 56%,#0a4c9c 100%);
  --shadow:0 28px 60px rgba(11,23,48,.18);
  --radius:19px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;overflow-x:clip}
body{font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;font-optical-sizing:auto;font-feature-settings:'cv11','ss03';color:var(--ink);background:#fff;line-height:1.6;min-width:320px;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,.brand b{font-family:'Inter',system-ui,sans-serif}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
.shell{width:min(1240px,calc(100% - 64px));margin:0 auto}
:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:6px}
.skip-link{position:absolute;left:12px;top:-60px;z-index:200;background:var(--blue-deep);color:#fff;padding:10px 16px;border-radius:10px;font-weight:700}
.skip-link:focus{top:12px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- maker bar (links back to VrbTech.asia) ---------- */
.maker-bar{background:#0a0f1a;color:#cfe1ff;font-size:12.5px}
.maker-bar .shell{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:38px;flex-wrap:wrap}
.maker-bar a{display:inline-flex;align-items:center;gap:8px;color:#cfe1ff;transition:color .2s}
.maker-bar a:hover{color:#22c8ff}
.maker-bar img{height:16px;width:auto}
.maker-bar nav{display:flex;gap:18px}

/* ---------- header ---------- */
.header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.92);backdrop-filter:blur(12px)}
.header::after{content:"";position:absolute;left:0;right:0;bottom:-3px;height:3px;background:var(--stripe)}
.nav{display:flex;align-items:center;gap:40px;min-height:78px}
.brand{display:flex;align-items:center;gap:11px;min-width:190px}
.brand img{width:44px;height:44px}
.brand span{display:flex;flex-direction:column;line-height:1.15}
.brand b{font-size:19px;letter-spacing:-.03em;font-weight:800}
.brand small{color:#5f6d88;font-size:11.5px;margin-top:2px}
.nav nav{display:flex;gap:30px;margin-left:auto}
.nav nav a{font-size:14px;font-weight:600;color:#2a3b5c;transition:color .2s}
.nav nav a:hover,.nav nav a[aria-current]{color:var(--blue-deep)}
.nav-cta{font-size:13.5px;font-weight:700;color:#fff;background:var(--ink);padding:12px 16px;border-radius:10px;display:inline-flex;gap:14px;align-items:center;transition:background .2s,transform .2s}
.nav-cta:hover{background:var(--blue-deep);transform:translateY(-1px)}

/* ---------- buttons, eyebrows ---------- */
.button{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;border-radius:11px;padding:15px 19px;font-size:14px;font-weight:700;border:0;cursor:pointer;transition:transform .2s,box-shadow .2s,background .2s}
.button:hover{transform:translateY(-2px)}
.button-primary{background:#0663c7 linear-gradient(135deg,#0670dc,#0558b0);color:#fff;box-shadow:0 10px 28px rgba(6,99,199,.26)}
.button-primary:hover{background:#0558b0 linear-gradient(135deg,#0663c7,#054b97);box-shadow:0 14px 32px rgba(6,99,199,.34)}
.button-ghost{background:rgba(255,255,255,.7);border:1px solid #c9d7ec;color:var(--ink)}
.button-light{background:#fff;color:var(--ink)}
.eyebrow{display:flex;align-items:center;gap:12px;color:var(--blue-deep);font-size:11.5px;line-height:1.2;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.eyebrow>span{width:28px;height:3px;border-radius:2px;background:var(--stripe);flex-shrink:0}
.eyebrow.light{color:#8cc8ff}

/* ---------- hero ---------- */
.hero{position:relative;overflow:hidden;background:linear-gradient(140deg,#fbfcff 10%,#eef4fd 63%,#e3edfc);padding:84px 0 0}
.hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:128px;background:var(--ink);clip-path:polygon(0 26%,58% 26%,63% 0,100% 0,100% 100%,0 100%)}
.hero-glow{position:absolute;border-radius:50%;filter:blur(80px);opacity:.45;pointer-events:none}
.hero-glow-a{width:620px;height:620px;right:-190px;top:-170px;background:#8fc2ff}
.hero-glow-b{width:360px;height:360px;left:34%;bottom:-180px;background:#b6ecf8}
.hero-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:55px;align-items:center;position:relative;z-index:2}
.hero-copy{padding-bottom:118px}
.hero h1{font-size:clamp(40px,4.6vw,68px);line-height:1.03;letter-spacing:-.05em;font-weight:800;margin:22px 0}
.lede{max-width:605px;color:var(--body);font-size:17.5px;line-height:1.75}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin:30px 0 24px}
.release-line{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:13px;flex-wrap:wrap}
.release-line strong{color:var(--ink)}
.status-dot{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px #c9efe3}
.hero-product{position:relative;min-width:0;padding:10px 0 120px}
.hero-devices{width:112%;max-width:none;margin-left:-6%;aspect-ratio:1600/1000;height:auto;filter:drop-shadow(0 30px 40px rgba(11,23,48,.16))}
.product-caption{position:absolute;right:4px;bottom:92px;font-size:11px;font-weight:600;color:#5f6d88}
.trust-row{min-height:128px;position:relative;z-index:3;display:grid;grid-template-columns:repeat(3,1fr);align-items:end;padding-bottom:26px;color:#fff}
.trust-row div{border-left:1px solid rgba(255,255,255,.2);padding-left:21px;display:flex;flex-direction:column;gap:4px}
.trust-row b{font-size:14px}
.trust-row span{font-size:12px;color:#a9bde0}

/* ---------- sections ---------- */
.section{padding:104px 0}
.section h2{font-size:clamp(32px,3.4vw,46px);line-height:1.1;letter-spacing:-.045em;font-weight:800;margin:16px 0 0;max-width:720px}
.section-head{display:grid;grid-template-columns:1.1fr .7fr;align-items:end;gap:70px;margin-bottom:42px}
.section-head>p{color:var(--body);font-size:16.5px;line-height:1.75}
.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.feature-card{position:relative;border:1px solid var(--line);border-radius:var(--radius);padding:34px;min-height:320px;background:#fff;display:flex;flex-direction:column;transition:transform .3s,box-shadow .3s}
.feature-card:hover{transform:translateY(-4px);box-shadow:0 22px 50px -24px rgba(11,23,48,.35)}
.dark-card{background:var(--stripe) top/100% 4px no-repeat,var(--card-grad);border-color:var(--ink);color:#fff}
.card-index{position:absolute;right:28px;top:27px;font-size:12px;font-weight:700;color:#93a1ba}
.icon{width:48px;height:48px;border-radius:12px;background:var(--sky);display:grid;place-items:center;color:var(--blue-deep)}
.icon svg{width:24px;height:24px}
.dark-card .icon{background:rgba(255,255,255,.1);color:#8cc8ff}
.feature-card h3{font-size:21px;letter-spacing:-.03em;margin:28px 0 12px;font-weight:800}
.feature-card p{font-size:14.5px;line-height:1.72;color:var(--body);margin-bottom:26px}
.dark-card p{color:#c3d1ea}
.feature-card a{margin-top:auto;font-size:13px;font-weight:700;color:var(--blue-deep)}
.dark-card a{color:#8cc8ff}

/* modules grid */
.modules{background:var(--foam)}
.module-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:16px}
.module{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px}
.module h3{display:flex;align-items:center;gap:12px;font-size:17px;letter-spacing:-.02em;font-weight:800;margin-bottom:12px}
.module h3 .icon{width:38px;height:38px;border-radius:10px}
.module h3 .icon svg{width:19px;height:19px}
.module ul{list-style:none;display:grid;gap:7px}
.module li{font-size:14px;color:var(--body);line-height:1.55;padding-left:18px;position:relative}
.module li::before{content:'';position:absolute;left:0;top:8px;width:7px;height:7px;border-radius:50%;background:var(--blue)}

/* office */
.office{background:var(--ink);color:#fff;overflow:hidden}
.office-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:80px;align-items:center}
.office-copy h2{margin-bottom:22px}
.office-copy>p{font-size:16px;line-height:1.75;color:#b9c7e0}
.office-copy ul{list-style:none;margin:30px 0;display:grid;gap:18px}
.office-copy li{display:flex;gap:14px;align-items:flex-start}
.office-copy li i{font-style:normal;width:28px;height:28px;flex-shrink:0;display:grid;place-items:center;background:#18305e;border-radius:50%;color:var(--lime);font-size:13px}
.office-copy li span{display:flex;flex-direction:column;gap:2px}
.office-copy li b{font-size:15px}
.office-copy li small{font-size:13px;color:#98a9c8}
.office-copy .boundary{font-size:12.5px;line-height:1.6;color:#93a5c5;border-top:1px solid #24396a;padding-top:18px}
.office-visual{position:relative;min-height:530px}
.office-desktop{position:absolute;width:88%;right:-8%;top:20px;border:8px solid #f6f9fe;border-radius:15px;overflow:hidden;box-shadow:0 30px 70px rgba(0,0,0,.34)}
.office-desktop img{width:100%;aspect-ratio:1.6;object-fit:cover}
.office-mobile{position:absolute;left:5%;bottom:0;width:185px;border:5px solid #050d1f;border-radius:27px;overflow:hidden;box-shadow:0 30px 60px rgba(0,0,0,.42)}
.office-mobile img{width:100%;aspect-ratio:430/931;object-fit:cover}
.network-chip{position:absolute;right:1%;bottom:8px;background:var(--lime);color:#253000;border-radius:100px;padding:10px 14px;font-size:10px;font-weight:800;letter-spacing:.12em}

/* screenshots gallery */
.gallery-wrap{position:relative}
.gallery-wrap::after{content:"";position:absolute;top:0;right:0;bottom:18px;width:70px;pointer-events:none;background:linear-gradient(90deg,transparent,#fff)}
.gallery{display:grid;grid-auto-flow:column;grid-auto-columns:44%;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 18px;scrollbar-width:thin}
.gallery figure{scroll-snap-align:start;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column}
.gallery button{border:0;padding:0;background:#e9eff9;cursor:zoom-in;display:block;aspect-ratio:1.6;overflow:hidden}
.gallery button.tall{aspect-ratio:1.6;display:grid;place-items:center;background:linear-gradient(140deg,#eef4fd,#dce9fc)}
.gallery button img{width:100%;height:100%;object-fit:cover;object-position:top left;transition:transform .5s}
.gallery button.tall img{width:auto;height:92%;object-fit:contain;border-radius:14px;box-shadow:0 14px 30px rgba(11,23,48,.25)}
.gallery figure:hover button img{transform:scale(1.03)}
.gallery figcaption{padding:14px 18px 18px;font-size:13.5px;color:var(--body)}
.gallery figcaption b{display:block;color:var(--ink);font-size:15px;margin-bottom:2px}
.gallery-note{font-size:13px;color:var(--muted);margin-top:4px;display:flex;align-items:center;gap:8px}
.lightbox{margin:auto;border:0;padding:0;background:transparent;max-width:min(1200px,94vw);max-height:92vh;overflow:visible}
.lightbox[open]{display:flex;flex-direction:column;align-items:center}
.lightbox::backdrop{background:rgba(5,12,28,.84)}
.lightbox img{max-height:86vh;width:auto;border-radius:12px;box-shadow:0 30px 80px rgba(0,0,0,.5)}
.lightbox p{color:#e6f0ff;text-align:center;font-size:14px;margin-top:10px}
.lightbox-close{position:fixed;top:18px;right:18px;width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.3);background:rgba(0,0,0,.4);color:#fff;font-size:22px;cursor:pointer}

/* who it's for */
.fit-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.fit-card{border:1px solid var(--line);border-radius:var(--radius);padding:30px;background:#fff}
.fit-card h3{font-size:19px;font-weight:800;letter-spacing:-.02em;margin-bottom:16px}
.chips{display:flex;flex-wrap:wrap;gap:8px;list-style:none}
.chips li{background:var(--sky);color:#0a4f9e;font-weight:700;font-size:13px;padding:8px 13px;border-radius:999px}
.roles{list-style:none;display:grid;gap:12px}
.roles li{display:grid;grid-template-columns:auto 1fr;gap:12px;font-size:14.5px;color:var(--body)}
.roles li b{color:var(--ink)}
.roles li i{font-style:normal;width:26px;height:26px;border-radius:8px;background:var(--sky);color:var(--blue-deep);display:grid;place-items:center;font-size:12px;font-weight:800}

/* flow */
.flow-grid{display:grid;grid-template-columns:.7fr 1fr;gap:110px}
.steps{list-style:none;border-top:1px solid var(--line)}
.steps li{display:grid;grid-template-columns:58px 1fr;gap:18px;padding:25px 0;border-bottom:1px solid var(--line)}
.steps>li>span{width:36px;height:36px;border:1px solid #a9c6ef;border-radius:50%;display:grid;place-items:center;color:var(--blue-deep);font-size:12px;font-weight:800}
.steps h3{font-size:18px;margin-bottom:6px;letter-spacing:-.02em;font-weight:800}
.steps p{color:var(--body);font-size:14.5px;line-height:1.65}

/* plans */
.plans{background:linear-gradient(180deg,#fff,var(--foam))}
.plan-box{display:grid;grid-template-columns:1.1fr 1fr;gap:18px}
.plan-card{border:1px solid var(--line);border-radius:var(--radius);padding:32px;background:#fff}
.plan-card.trial{background:var(--stripe) top/100% 4px no-repeat,var(--card-grad);color:#fff;border:0}
.plan-card h3{font-size:24px;font-weight:800;letter-spacing:-.03em;margin:10px 0 12px}
.plan-card p{color:var(--body);font-size:15px}
.plan-card.trial p{color:#d4def2}
.plan-card .button{margin-top:22px}
.price-list{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}
.price-list li{border:1px solid var(--line);border-radius:12px;padding:12px 14px;font-size:13px;color:var(--muted)}
.price-list b{display:block;font-size:19px;color:var(--ink);font-family:'Inter',sans-serif}
.fine{font-size:12px;color:var(--muted);margin-top:12px}

/* release centre */
.release{background:var(--foam)}
.release-layout{display:grid;grid-template-columns:1.45fr .55fr;gap:18px}
.current-release{background:var(--stripe) top/100% 4px no-repeat,var(--card-grad);color:#fff;border-radius:20px;padding:40px;display:grid;grid-template-columns:1fr 260px;align-items:center;gap:44px;min-height:280px}
.version-label{font-size:10px;font-weight:800;letter-spacing:.14em;color:var(--lime)}
.current-release h3{font-size:33px;letter-spacing:-.04em;margin:12px 0;font-weight:800}
.current-release p{color:#d4def2;font-size:14.5px;line-height:1.7}
.release-actions{display:flex;flex-direction:column;align-items:stretch;gap:12px}
.release-actions small{color:#c3d3ef;font-size:11.5px}
.archive{background:#fff;border:1px solid var(--line);border-radius:20px;padding:28px}
.archive-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.archive-title h3{font-size:17px;font-weight:800}
.archive-title a,.archive-row a{font-size:12px;font-weight:700;color:var(--blue-deep)}
.archive-row{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-top:1px solid var(--line)}
.archive-row>span{display:flex;flex-direction:column;gap:2px}
.archive-row b{font-size:14.5px}
.archive-row small{font-size:11.5px;color:#5f6d88}

/* faq */
.faq-grid{display:grid;grid-template-columns:.7fr 1.3fr;gap:80px;align-items:start}
.faq{border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{list-style:none;cursor:pointer;padding:20px 40px 20px 0;font-weight:700;font-size:16.5px;position:relative;font-family:'Inter',sans-serif;letter-spacing:-.01em}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'+';position:absolute;right:4px;top:16px;width:28px;height:28px;border-radius:50%;background:var(--sky);color:var(--blue-deep);display:grid;place-items:center;font-size:18px;transition:transform .25s}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq details p{color:var(--body);font-size:15px;line-height:1.75;padding:0 40px 22px 0}

/* contact band */
.contact-band{background:var(--stripe) top/100% 4px no-repeat,var(--ink);color:#fff;border-radius:24px;padding:46px;display:grid;grid-template-columns:1.3fr auto;gap:30px;align-items:center;position:relative;overflow:hidden}
.contact-band::before{content:'';position:absolute;width:420px;height:420px;border-radius:50%;right:-120px;top:-180px;background:radial-gradient(circle,#0a84ff 0%,transparent 70%);opacity:.5}
.contact-band h2{color:#fff;margin:14px 0 10px}
.contact-band p{color:#b9c7e0;max-width:560px}
.contact-band .btns{display:flex;gap:12px;flex-wrap:wrap;position:relative}

/* footer */
footer{background:var(--stripe) top/100% 3px no-repeat,#081226;color:#fff;padding:43px 0 40px}
.footer-grid{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px}
.footer-brand{display:flex;align-items:center;gap:11px}
.footer-brand img{width:44px;height:44px}
.footer-brand span{display:flex;flex-direction:column;line-height:1.2}
.footer-brand small{color:#98a9c8;font-size:12px}
.maker{display:flex;align-items:center;gap:10px;font-size:12.5px;color:#98a9c8}
.maker img{height:22px;width:auto}
.footer-links{display:flex;justify-content:flex-end;gap:20px;flex-wrap:wrap}
.footer-links a{font-size:13px;color:#c0cde6}
.footer-links a:hover{color:#fff}
.copyright{border-top:1px solid #1c2c50;margin-top:26px;padding-top:18px;font-size:12px;color:#8496b8;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}

/* reveal */
.js .reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
.js .reveal.in{opacity:1;transform:none}

@media (max-width: 1000px){
  .nav nav{display:none}
  .hero-grid{grid-template-columns:1fr}
  .hero-copy{padding-bottom:20px}
  .hero-product{padding-bottom:140px}
  .hero-devices{width:100%;margin-left:0}
  .hero::after{height:92px}
  .section-head,.office-grid,.flow-grid,.faq-grid,.plan-box{grid-template-columns:1fr;gap:36px}
  .card-grid{grid-template-columns:1fr}
  .feature-card{min-height:0}
  .office-visual{min-height:560px}
  .release-layout,.current-release{grid-template-columns:1fr}
  .fit-grid{grid-template-columns:1fr}
  .gallery{grid-auto-columns:82%}
  .contact-band{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr;text-align:left}
  .footer-links{justify-content:flex-start}
}
@media (max-width: 600px){
  .shell{width:calc(100% - 32px)}
  .maker-bar nav{display:none}
  .nav{min-height:66px;gap:12px}
  .brand{min-width:0}
  .nav-cta{padding:10px 12px;font-size:12.5px}
  .nav-cta .long{display:none}
  .hero{padding-top:52px}
  .lede{font-size:16px}
  .hero-actions{flex-direction:column;align-items:stretch}
  .button{width:100%}
  .product-caption{bottom:72px;left:0;right:auto}
  .trust-row{grid-template-columns:1fr;gap:16px;padding:28px 0}
  .hero::after{height:220px;clip-path:none}
  .section{padding:72px 0}
  .office-visual{min-height:420px}
  .office-mobile{width:125px}
  .current-release,.contact-band{padding:28px}
  .price-list{grid-template-columns:1fr 1fr}
  .copyright{flex-direction:column}
}
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:.01ms !important;transition-duration:.01ms !important;scroll-behavior:auto !important}
  .js .reveal{opacity:1;transform:none}
}

/* release centre additions (v5.2) */
.archive-links{display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.release-safety{margin-top:14px;font-size:12.5px !important;line-height:1.6;color:#c3d3ef !important;border-top:1px solid rgba(255,255,255,.14);padding-top:12px}
.release-safety a{color:#fff;text-decoration:underline;text-underline-offset:2px}

/* ---------- releases page (/amcore-amc/releases/) ---------- */
.rel-hero{position:relative;overflow:hidden;background:linear-gradient(140deg,#fbfcff 10%,#eef4fd 63%,#e3edfc);padding:64px 0 70px}
.rel-hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:1.2fr .8fr;gap:50px;align-items:end}
.rel-hero h1{font-size:clamp(34px,4vw,56px);line-height:1.05;letter-spacing:-.045em;font-weight:800;margin:18px 0 16px;max-width:680px}
.crumbs{display:flex;flex-wrap:wrap;gap:8px;list-style:none;font-size:13px;color:var(--muted);margin-bottom:22px}
.crumbs a{color:var(--blue-deep);font-weight:600}
.crumbs li+li::before{content:'/';margin-right:8px;color:#a8b6cf}
.rel-safety{background:#fff;border:1px solid var(--line);border-left:4px solid var(--lime);border-radius:16px;padding:22px 24px;box-shadow:0 18px 40px -26px rgba(11,23,48,.35)}
.rel-safety strong{display:block;font-size:15px;margin-bottom:6px}
.rel-safety p{font-size:13.5px;color:var(--body);line-height:1.65}
.rel-safety p+p{margin-top:8px}
.rel-safety a{color:var(--blue-deep);font-weight:700}
.rel-safety code,.rel-facts code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;background:var(--foam);border:1px solid var(--line);border-radius:6px;padding:1px 6px}
.rel-list{padding-top:56px;background:#fff}
.rel-stack{display:grid;gap:16px}
.rel-item{display:grid;grid-template-columns:170px 1fr 230px;gap:34px;align-items:start;border:1px solid var(--line);border-radius:20px;padding:30px;background:#fff}
.rel-item.current{background:var(--stripe) top/100% 4px no-repeat,var(--card-grad);border:0;color:#fff}
.rel-version h2{font-size:40px;letter-spacing:-.05em;font-weight:800;line-height:1;margin:10px 0 6px}
.rel-version small{font-size:12.5px;color:var(--muted)}
.rel-item.current .rel-version small{color:#c3d3ef}
.rel-status{display:inline-block;font-size:10px;font-weight:800;letter-spacing:.14em;padding:5px 9px;border-radius:999px;background:var(--sky);color:var(--blue-deep)}
.rel-item.current .rel-status{background:var(--lime);color:#253000}
.rel-copy h3{font-size:18px;font-weight:800;letter-spacing:-.02em;margin-bottom:6px}
.rel-copy>p{font-size:14.5px;color:var(--body);line-height:1.7}
.rel-item.current .rel-copy>p{color:#d4def2}
.rel-bullets{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.rel-bullets li{font-size:12.5px;font-weight:700;padding:6px 11px;border-radius:999px;background:var(--sky);color:#0a4f9e}
.rel-item.current .rel-bullets li{background:rgba(255,255,255,.14);color:#eef4ff}
.rel-facts{list-style:none;display:grid;gap:6px;margin-top:16px;font-size:13px;color:var(--body)}
.rel-facts li{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}
.rel-facts li>span{min-width:62px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.rel-facts .sha{word-break:break-all;font-size:11px}
.rel-item.current .rel-facts,.rel-item.current .rel-facts li>span{color:#cbd8f0}
.rel-item.current .rel-facts code{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.2);color:#fff}
.rel-download{display:flex;flex-direction:column;gap:10px;align-items:stretch}
.rel-download small{font-size:11.5px;color:var(--muted);text-align:center}
.rel-item.current .rel-download small{color:#c3d3ef}
.rel-notes{margin-top:16px;border-top:1px solid var(--line);padding-top:12px}
.rel-notes summary{cursor:pointer;font-weight:700;font-size:13.5px;color:var(--blue-deep);list-style:none}
.rel-notes summary::-webkit-details-marker{display:none}
.rel-notes summary::before{content:'+ '}
.rel-notes[open] summary::before{content:'− '}
.md{margin-top:12px;font-size:14px;color:var(--body);line-height:1.7}
.md h4{font-size:15px;color:var(--ink);margin:18px 0 6px;font-weight:800}
.md p{margin:8px 0}
.md ul{margin:6px 0 6px 18px}
.md ul ul{margin:4px 0 2px 16px;list-style:circle}
.md li{margin:3px 0}
.md code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;background:var(--foam);border:1px solid var(--line);border-radius:5px;padding:1px 5px;word-break:break-all}
@media (max-width: 1000px){
  .rel-hero-grid{grid-template-columns:1fr;gap:28px}
  .rel-item{grid-template-columns:1fr;gap:18px}
  .rel-version{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}
  .rel-version h2{margin:0}
  .rel-download{flex-direction:row;align-items:center;flex-wrap:wrap}
}
@media (max-width: 600px){ .rel-item{padding:22px} .rel-download .button{width:100%} .rel-download small{text-align:left} }

/* release archive empty state + archive policy note (v5.3) */
.archive-empty{font-size:13.5px;color:var(--body);line-height:1.6;padding-top:12px;border-top:1px solid var(--line)}
.archive-empty+.archive-empty{border-top:0;padding-top:4px}
.archive-empty a{color:var(--blue-deep);font-weight:700}
.rel-archive-note{border:1px dashed #b8cae6;border-radius:18px;padding:22px 26px;background:var(--foam)}
.rel-archive-note strong{display:block;font-size:15px;margin-bottom:4px}
.rel-archive-note p{font-size:14px;color:var(--body);line-height:1.65}
.rel-archive-note a{color:var(--blue-deep);font-weight:700}
/* release notes inside the (dark) current release card */
.rel-item.current .rel-notes{border-top-color:rgba(255,255,255,.18)}
.rel-item.current .rel-notes summary{color:#e6f0ff}
.rel-item.current .md{color:#d4def2}
.rel-item.current .md h4,.rel-item.current .md h5,.rel-item.current .md strong{color:#fff}
.rel-item.current .md a{color:#fff;text-decoration:underline}
.rel-item.current .md code{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.2);color:#fff}

/* ---------- v6 (AMCore 1.6.5): blue palette additions ---------- */
.rel-notes-link{color:#e6f0ff;font-size:12.5px;font-weight:700}
.rel-notes-link:hover{color:#fff;text-decoration:underline}
.rel-file{word-break:break-all;opacity:.85}
/* "New in 1.6.5" cards on the product page */
.new-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.new-card{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff;display:flex;flex-direction:column;transition:transform .3s,box-shadow .3s}
.new-card:hover{transform:translateY(-4px);box-shadow:0 22px 50px -24px rgba(11,23,48,.35)}
.new-card img{width:100%;aspect-ratio:3/2;object-fit:cover;background:#eef4fd}
.new-card div{padding:20px 22px 24px;border-top:1px solid var(--line)}
.new-card h3{font-size:17px;font-weight:800;letter-spacing:-.02em;margin-bottom:6px}
.new-card p{font-size:14px;color:var(--body);line-height:1.65}
.new-note{margin-top:18px;font-size:13px;color:var(--muted)}
.new-note a{color:var(--blue-deep);font-weight:700}
/* "What's new" banner on the releases page */
.rel-banner{background:#fff;padding:40px 0 0}
.rel-banner a{display:block;border-radius:20px;overflow:hidden;box-shadow:0 24px 50px -28px rgba(11,23,48,.55);transition:transform .3s}
.rel-banner a:hover{transform:translateY(-3px)}
.rel-banner img{width:100%;aspect-ratio:1600/500}
.rel-list{padding-top:40px}
@media (max-width: 1000px){ .new-grid{grid-template-columns:1fr 1fr} }
@media (max-width: 600px){ .new-grid{grid-template-columns:1fr} .rel-banner{padding-top:28px} .rel-banner a{border-radius:14px} }
