/* Revolave — site styles (matches the 2026 portfolio deck) */
:root {
  --bg: #0D1120; --panel: #161B2E; --panel2: #1B2140; --line: #262D47;
  --ink: #F3F4F8; --mute: #9AA2BD; --dim: #6F789A; --acc: #FFB547;
  --gutter: clamp(16px, 5vw, 120px); --nav-h: 72px; --foot-h: 52px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body { background: var(--bg); color: var(--ink); font-family: 'Inter', system-ui, sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--acc); font-weight: 700; margin-bottom: 18px; }
h1 { font-weight: 900; font-size: clamp(56px, 9vw, 180px); letter-spacing: -.04em; line-height: .9; font-optical-sizing: auto; }
h2 { font-weight: 800; font-size: clamp(32px, 4.6vw, 64px); letter-spacing: -.025em; line-height: 1.08; max-width: 1100px; }
h3 { font-weight: 800; letter-spacing: -.015em; line-height: 1.12; }
h4 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
p { color: var(--mute); font-size: 18px; }
.chip { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--mute); }

/* progress + nav */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--acc), #FF7A59); transform-origin: 0 50%; transform: scaleX(0); }
.nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); transition: background .3s, border-color .3s, transform .35s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(13,17,32,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav.hide { transform: translateY(-100%); }
.brand { font-weight: 900; font-size: 22px; letter-spacing: .02em; }
.nav-links { display: flex; gap: 34px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--mute); transition: color .2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--acc); border-radius: 2px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .3s; }
.nav-toggle span:first-child { top: 17px; } .nav-toggle span:last-child { top: 25px; }
.nav.open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 16px; border: 1px solid var(--line); cursor: pointer; transition: transform .2s, background .2s, border-color .2s; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--acc); color: #1a1300; border-color: var(--acc); }
.btn.ghost { color: var(--ink); background: rgba(255,255,255,.03); }
.btn.ghost:hover { border-color: var(--mute); }
.store-btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 12px 20px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); font-weight: 600; font-size: 15px; transition: border-color .2s, transform .2s; }
.store-btn i { color: var(--c1, var(--acc)); }
.store-btn:hover { border-color: var(--c1, var(--acc)); transform: translateY(-2px); }

/* hero */
.hero { min-height: 100vh; min-height: 100svh; position: relative; display: flex; align-items: center; gap: clamp(30px, 6vw, 110px); padding: calc(var(--nav-h) + 40px) var(--gutter) 80px; overflow: hidden;
  background: radial-gradient(1200px 700px at 100% 0%, #1B2140 0%, var(--bg) 60%); }
.hero-glow { position: absolute; width: 900px; height: 900px; left: -300px; top: -200px; background: radial-gradient(closest-side, rgba(122,60,255,.28), transparent); pointer-events: none; }
.hero-cloud { display: grid; grid-template-columns: repeat(3, clamp(84px, 8vw, 140px)); gap: clamp(12px, 1.4vw, 22px); transform: rotate(-6deg); flex: none; position: relative; z-index: 1; }
.hicon { display: block; align-self: start; aspect-ratio: 1; border-radius: 28%; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.55); transform: translate3d(0, calc(var(--y, 0px)), 0); animation: pop .8s cubic-bezier(.2,.8,.2,1.2) both; animation-delay: calc(var(--i) * 60ms + 150ms); transition: box-shadow .3s; }
.hicon:nth-child(3n+2) { margin-top: 60px; }
.hicon:last-child { grid-column: 2; }
.hero-text { min-width: 0; }
.hicon:hover { box-shadow: 0 24px 60px rgba(0,0,0,.7), 0 0 0 3px var(--acc); }
.hicon img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
@keyframes pop { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }
.hero-text { position: relative; z-index: 1; }
.hero-text > * { animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.hero-text > *:nth-child(2) { animation-delay: .1s; } .hero-text > *:nth-child(3) { animation-delay: .2s; }
.hero-text > *:nth-child(4) { animation-delay: .3s; } .hero-text > *:nth-child(5) { animation-delay: .4s; } .hero-text > *:nth-child(6) { animation-delay: .5s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.tagline { font-size: clamp(22px, 2.6vw, 40px); color: var(--ink); font-weight: 300; margin-top: 18px; }
.by { margin-top: 20px; font-size: 18px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.socials { list-style: none; display: flex; gap: 12px; margin-top: 34px; }
.socials a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--mute); font-size: 19px; transition: color .2s, border-color .2s, transform .2s; }
.socials a:hover { color: var(--ink); border-color: var(--acc); transform: translateY(-2px); }
.scroll-hint { position: absolute; left: 50%; bottom: calc(var(--foot-h) + 28px); width: 26px; height: 42px; border: 2px solid var(--dim); border-radius: 14px; translate: -50% 0; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--acc); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* sections */
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 56px 0 64px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 30px; }
.stat b { display: block; font-size: clamp(54px, 6vw, 88px); font-weight: 900; color: var(--acc); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 12px; color: var(--mute); font-size: 16px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.pillars i { font-size: 26px; color: var(--acc); margin-bottom: 16px; display: block; }
.pillars p { font-size: 17px; }

/* portfolio grid */
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; margin-top: 48px; }
.pcard { display: flex; gap: 20px; align-items: center; padding: 16px; border-radius: 20px; border: 1px solid transparent; transition: background .25s, border-color .25s, transform .25s; }
.pcard:hover { background: var(--panel); border-color: var(--line); transform: translateX(6px); }
.pcard img { width: 88px; height: 88px; border-radius: 22px; flex: none; box-shadow: 0 8px 22px rgba(0,0,0,.5); transition: transform .3s; }
.pcard:hover img { transform: rotate(-4deg) scale(1.05); }
.pcard h3 { font-size: 20px; margin: 6px 0 4px; }
.pcard p { font-size: 15px; line-height: 1.4; }

/* featured */
.feature { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; align-items: stretch; }
.feature.flip .feature-art { order: 2; }
.feature-art { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--c1), var(--c2)); min-height: 640px; --p: 0; }
.feature-art::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 400px at 50% 40%, rgba(255,255,255,.18), transparent 70%); }
.feature-art .label { position: absolute; top: 32px; left: 32px; z-index: 5; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; background: rgba(0,0,0,.35); padding: 8px 15px; border-radius: 999px; backdrop-filter: blur(6px); }
.phones, .land { position: absolute; inset: 0; }
.phones img { position: absolute; top: 50%; left: 50%; width: clamp(150px, 15vw, 270px); aspect-ratio: 9/16; object-fit: cover; border-radius: 26px; border: 6px solid #0B0E18; box-shadow: 0 30px 60px rgba(0,0,0,.55); will-change: transform; }
.phones .p0 { width: clamp(170px, 17vw, 300px); z-index: 3; transform: translate(-50%, calc(-50% + var(--p) * -40px)); }
.phones .p1 { transform: translate(calc(-50% - var(--spread, 70%)), calc(-46% + var(--p) * 60px)) rotate(calc(-8deg * var(--k, 1))); opacity: .9; }
.phones .p2 { transform: translate(calc(-50% + var(--spread, 70%)), calc(-46% + var(--p) * 90px)) rotate(calc(8deg * var(--k, 1))); opacity: .9; }
.land img { position: absolute; left: 50%; width: min(78%, 560px); aspect-ratio: 16/9; object-fit: cover; border-radius: 18px; border: 5px solid #0B0E18; box-shadow: 0 30px 60px rgba(0,0,0,.55); will-change: transform; }
.land .l0 { top: 50%; z-index: 3; width: min(86%, 620px); transform: translate(-50%, calc(-50% + var(--p) * -30px)); }
.land .l1 { top: 22%; transform: translate(calc(-50% - var(--spread2, 12%)), calc(-50% + var(--p) * 60px)) rotate(-5deg); }
.land .l2 { top: 78%; transform: translate(calc(-50% + var(--spread2, 12%)), calc(-50% + var(--p) * 90px)) rotate(4deg); }
.feature-body { padding: clamp(60px, 8vw, 120px) clamp(24px, 6vw, 110px); display: flex; flex-direction: column; justify-content: center; }
.titlerow { display: flex; gap: 24px; align-items: center; }
.ticon { width: 104px; height: 104px; border-radius: 26px; flex: none; box-shadow: 0 10px 30px rgba(0,0,0,.55); }
.titlerow h3 { font-size: clamp(32px, 3.6vw, 56px); margin-top: 8px; }
.titlerow .chip { color: var(--c1); border-color: color-mix(in srgb, var(--c1) 45%, transparent); background: color-mix(in srgb, var(--c1) 12%, transparent); }
.lead { color: var(--ink); font-size: clamp(19px, 1.6vw, 24px); font-weight: 500; margin: 22px 0 14px; line-height: 1.4; }
.feats { list-style: none; margin-top: 22px; }
.feats li { position: relative; padding-left: 28px; margin-bottom: 10px; color: #D5D9E6; font-size: 17px; }
.feats li::before { content: ''; position: absolute; left: 0; top: 8px; width: 11px; height: 11px; border-radius: 3px; background: var(--c1, var(--acc)); }
.meta { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 16px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.meta span { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 700; margin-bottom: 4px; }
.meta b { font-size: 15px; font-weight: 600; }

/* reel (pinned horizontal scroll) */
.reel { position: relative; height: 340vh; background: linear-gradient(180deg, var(--bg), #11152a 20%, #11152a 80%, var(--bg)); }
.reel-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 36px; }
.reel-head { width: 100%; }
.reel-track { display: flex; gap: 22px; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.reel-track figure { flex: none; position: relative; }
.reel-track img { height: min(58vh, 560px); aspect-ratio: 9/16; object-fit: cover; border-radius: 22px; border: 5px solid #0B0E18; box-shadow: 0 20px 44px rgba(0,0,0,.5), 0 0 0 1px var(--line); }
.reel-track figcaption { margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--dim); letter-spacing: .04em; }
.reel-track figure:nth-child(odd) { transform: translateY(26px); }

/* more games */
.mgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px; margin-top: 52px; }
.mcard { grid-column: span 2; background: var(--panel); border: 1px solid var(--line); border-radius: 26px; padding: 24px; transition: transform .3s, border-color .3s; }
.mcard:nth-child(1), .mcard:nth-child(2) { grid-column: span 3; }
.mcard:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c1) 60%, var(--line)); }
.mart { position: relative; height: 300px; border-radius: 18px; overflow: hidden; margin-bottom: 20px; background: linear-gradient(150deg, var(--c1), var(--c2)); }
.ms { position: absolute; top: 22px; left: 50%; width: 130px; aspect-ratio: 9/16; object-fit: cover; border-radius: 14px; border: 4px solid #0B0E18; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.ms.a { transform: translateX(-104%) rotate(-3deg); } .ms.b { transform: translateX(4%) rotate(3deg); }
.mcard:hover .ms.a { transform: translateX(-112%) translateY(-8px) rotate(-6deg); }
.mcard:hover .ms.b { transform: translateX(12%) translateY(-8px) rotate(6deg); }
.mi { position: absolute; right: 14px; bottom: 14px; width: 76px; height: 76px; border-radius: 20px; box-shadow: 0 8px 20px rgba(0,0,0,.55); }
.mcard h3 { font-size: 26px; margin: 10px 0 8px; }
.mcard p { font-size: 16px; }
.mcard .store-btn { margin-top: 18px; }

/* timeline */
.timeline { position: relative; margin-top: 64px; display: grid; gap: 28px; padding-left: 80px; max-width: 980px; }
.tl-line { position: absolute; left: 25px; top: 10px; bottom: 10px; width: 3px; background: var(--line); border-radius: 3px; }
.tl-line span { display: block; width: 100%; height: 100%; background: linear-gradient(var(--acc), #FF7A59); transform-origin: 50% 0; transform: scaleY(var(--tl, 0)); border-radius: 3px; }
.tl-step { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 28px 30px; }
.tl-step.hi { border-color: var(--acc); background: linear-gradient(160deg, #2A2440, var(--panel)); }
.tl-step .n { position: absolute; left: -80px; top: 24px; width: 52px; height: 52px; border-radius: 50%; background: var(--panel2); border: 2px solid var(--line); color: var(--mute); font-weight: 900; font-size: 22px; display: grid; place-items: center; transition: background .4s, color .4s, border-color .4s; }
.tl-step.lit .n { background: var(--acc); color: #1a1300; border-color: var(--acc); }
.tl-step h4 { font-size: 24px; }
.tl-step .games { color: var(--ink); font-size: 18px; margin-bottom: 6px; }
.tl-step p { font-size: 16px; }

/* contact */
.contact { background: linear-gradient(180deg, var(--bg), #141936); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact-grid > div > p { margin-top: 20px; max-width: 460px; }
.contact-links { display: grid; gap: 12px; margin-top: 34px; }
.contact-links a { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--acc); border-radius: 14px; font-weight: 600; transition: transform .2s, border-color .2s; }
.contact-links a:hover { transform: translateX(6px); }
.contact-links i { color: var(--acc); width: 20px; text-align: center; }
.contact-form { background: var(--panel); border: 1px solid var(--line); border-radius: 26px; padding: clamp(22px, 3vw, 40px); display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.contact-form input, .contact-form textarea { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; color: var(--ink); font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px rgba(255,181,71,.18); }
.contact-form .btn { justify-self: start; }
.form-status { font-size: 15px; min-height: 1.4em; }
.form-status.ok { color: #6EE7A8; } .form-status.err { color: #FF8A80; }

.footer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 10px; min-height: var(--foot-h); padding: 10px var(--gutter); background: rgba(13,17,32,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; letter-spacing: .04em; }
body { padding-bottom: var(--foot-h); }
.footer a:hover { color: var(--ink); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1100px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; min-height: 0; }
  .feature.flip .feature-art { order: 0; }
  .feature-art { min-height: 0; height: 78vh; max-height: 720px; }
  .mgrid { grid-template-columns: 1fr 1fr; }
  .mcard, .mcard:nth-child(1), .mcard:nth-child(2) { grid-column: span 1; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  :root { --foot-h: 88px; }
  .footer { flex-direction: column; justify-content: center; text-align: center; font-size: 13px; }
  .nav-toggle { display: block; }
  .nav-links { position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(13,17,32,.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav-links a.active::after { display: none; }
  .nav.open { background: rgba(13,17,32,.97); }
  .hero { flex-direction: column; align-items: flex-start; justify-content: center; gap: 44px; }
  .hero-cloud { grid-template-columns: repeat(5, 1fr); width: 100%; transform: rotate(-4deg); gap: 10px; }
  .hicon:nth-child(3n+2) { margin-top: 0; }
  .hicon:nth-child(odd) { margin-top: 26px; }
  .hicon:last-child { grid-column: auto; }
  .pgrid, .pillars { grid-template-columns: 1fr; gap: 10px; }
  .pillars { gap: 34px; }
  .pcard { padding: 10px 0; }
  .pcard img { width: 72px; height: 72px; border-radius: 18px; }
  .meta { grid-template-columns: 1fr 1fr; }
  .mgrid { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .timeline { padding-left: 64px; }
  .tl-step .n { left: -64px; width: 44px; height: 44px; font-size: 18px; }
  .tl-line { left: 21px; }
  .reel { height: 300vh; }
  .reel-track img { height: 52vh; }
  .feature-art { height: 70vh; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 20px; }
  .stat span { font-size: 14px; }
  .titlerow { gap: 16px; }
  .ticon { width: 76px; height: 76px; border-radius: 20px; }
  .phones img { width: 140px; border-radius: 20px; border-width: 4px; }
  .phones .p0 { width: 168px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* --- 17 games: hero, grid, arcade line --- */
.hicon:last-child { grid-column: auto; }
@media (min-width: 1101px) { .pgrid { grid-template-columns: repeat(3, 1fr); gap: 10px 24px; } .pcard img { width: 80px; height: 80px; border-radius: 20px; } }
.agrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 52px; }
.acard { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 16px 16px 22px; transition: transform .3s, border-color .3s; }
.acard:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c1) 60%, var(--line)); }
.acart { position: relative; height: 320px; border-radius: 16px; overflow: hidden; margin-bottom: 16px; background: linear-gradient(150deg, var(--c1), var(--c2)); display: flex; justify-content: center; padding-top: 18px; }
.acs { width: 150px; height: 267px; object-fit: cover; border-radius: 14px; border: 4px solid #0B0E18; box-shadow: 0 14px 30px rgba(0,0,0,.5); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.acard:hover .acs { transform: translateY(-6px) rotate(-2deg); }
.aci { position: absolute; left: 50%; bottom: 12px; width: 64px; height: 64px; margin-left: -32px; border-radius: 17px; box-shadow: 0 8px 20px rgba(0,0,0,.55); }
.badge { position: absolute; top: 10px; right: 10px; background: var(--acc); color: #1a1300; font-weight: 800; font-size: 12px; padding: 4px 9px; border-radius: 999px; }
.acard h3 { font-size: 21px; margin: 8px 0 6px; }
.acard p { font-size: 15px; line-height: 1.4; }
@media (max-width: 1100px) { .agrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) {
  .agrid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .acart { height: 260px; } .acs { width: 120px; height: 213px; }
  .hero-cloud { grid-template-columns: repeat(6, 1fr); }
  .hicon:nth-child(odd) { margin-top: 0; } .hicon:nth-child(even) { margin-top: 20px; }
}
@media (max-width: 480px) { .acard { padding: 10px 10px 16px; } .acard h3 { font-size: 17px; } .acard p { font-size: 13px; } }

/* --- five stat tiles --- */
.stats { grid-template-columns: repeat(5, 1fr); gap: 18px; }
.stat { padding: 26px 24px; }
.stat b { font-size: clamp(44px, 4.4vw, 76px); }
@media (max-width: 1100px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { grid-column: span 2; order: 5; } }
