/* Le Guide Locale — 3D layer (loaded after site.css, no framework)
   Depth, perspective scenes, tilting cards, 3D reveals, a coverflow flyer gallery and 3D flips.
   Pointer tilt runs only on mouse/trackpad; phones get the 3D look with gentle motion instead. */

:root {
	--depth-1: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 2px 4px rgba(2, 20, 46, .06), 0 12px 24px -12px rgba(2, 20, 46, .18), 0 40px 70px -30px rgba(2, 20, 46, .35);
	--depth-2: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 30px 60px -24px rgba(0, 0, 0, .65), 0 60px 120px -50px rgba(76, 196, 0, .25);
	--edge-green: #1e6e0b;
	--ease-3d: cubic-bezier(.2, .8, .2, 1);
}

html, body, main { overflow-x: clip; }

/* ---------------------------------------------------------------- 3D floor in every dark hero */

.hero, .page { perspective: 700px; perspective-origin: 50% 30%; }

.hero::before, .page::before {
	inset: auto -40% -6% -40%;
	height: 62%;
	background-image:
		linear-gradient(rgba(76, 196, 0, .32) 1.5px, transparent 1.5px),
		linear-gradient(90deg, rgba(76, 196, 0, .32) 1.5px, transparent 1.5px);
	background-size: 64px 64px;
	transform: rotateX(66deg);
	transform-origin: 50% 100%;
	-webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 85%);
	mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 85%);
	animation: floor 4.5s linear infinite;
	opacity: .8;
}
@keyframes floor { to { background-position: 0 64px, 0 64px; } }
.page::before { height: 70%; opacity: .4; }

/* horizon glow where the floor meets the sky */
.hero::after, .page::after {
	content: ''; position: absolute; left: -10%; right: -10%; bottom: 28%; height: 180px; pointer-events: none;
	background: radial-gradient(60% 100% at 50% 100%, rgba(76, 196, 0, .22), transparent 70%);
	filter: blur(18px);
}
.hero > *, .page > * { position: relative; z-index: 1; }
.hero > .hero__glow, .page > .hero__glow { position: absolute; z-index: 0; }
.hero > .hero__scroll { position: absolute; z-index: 2; }

/* ---------------------------------------------------------------- extruded headline type */

.hero h1, .page h1 {
	text-shadow:
		0 1px 0 #0f2d55, 0 2px 0 #0d2850, 0 3px 0 #0b2347, 0 4px 0 #091e3e, 0 5px 0 #071935,
		0 14px 22px rgba(0, 0, 0, .55), 0 30px 60px rgba(0, 0, 0, .35);
}
.hero h1 em { text-shadow: none; filter: drop-shadow(0 1px 0 #2a7a0e) drop-shadow(0 2px 0 #23690c) drop-shadow(0 3px 0 #1c560a) drop-shadow(0 10px 18px rgba(76, 196, 0, .35)); }
.hero__facts dt { text-shadow: 0 1px 0 #0d2850, 0 2px 0 #0a2245, 0 3px 0 #071935, 0 10px 18px rgba(0, 0, 0, .5); }
.stat__num { text-shadow: 0 1px 0 #0b2347, 0 2px 0 #091e3e, 0 3px 0 #071935, 0 4px 0 #05132a, 0 16px 28px rgba(0, 0, 0, .55); }
.stat:nth-child(odd) .stat__num { text-shadow: 0 1px 0 #3aa400, 0 2px 0 #2e8a00, 0 3px 0 #257200, 0 4px 0 #1c5c00, 0 16px 28px rgba(76, 196, 0, .35); }
.offer__card > .offer__big { text-shadow: 0 1px 0 #3aa400, 0 2px 0 #2e8a00, 0 3px 0 #257200, 0 4px 0 #1c5c00, 0 5px 0 #154800, 0 20px 34px rgba(0, 0, 0, .5); }
.plan__num, .canada__price b, .compare__save b { text-shadow: 0 1px 0 rgba(0, 0, 0, .25), 0 2px 0 rgba(0, 0, 0, .2), 0 3px 0 rgba(0, 0, 0, .15), 0 12px 22px rgba(0, 0, 0, .35); }

/* ---------------------------------------------------------------- 3D buttons */

.btn {
	position: relative;
	background: linear-gradient(180deg, #6bd61f 0%, var(--g1) 35%, var(--g2) 100%);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .45) inset, 0 -2px 0 rgba(0, 0, 0, .12) inset, 0 5px 0 var(--edge-green), 0 14px 26px -8px rgba(46, 158, 18, .75);
	transition: transform .18s var(--ease-3d), box-shadow .18s var(--ease-3d), background .2s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 -2px 0 rgba(0, 0, 0, .12) inset, 0 8px 0 var(--edge-green), 0 22px 34px -10px rgba(46, 158, 18, .85); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset, 0 1px 0 var(--edge-green), 0 6px 12px -6px rgba(46, 158, 18, .7); transition-duration: .06s; }
.btn--ghost { background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), inset 0 1px 0 rgba(255, 255, 255, .35), 0 5px 0 rgba(0, 0, 0, .35), 0 14px 26px -10px rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .08)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), inset 0 1px 0 rgba(255, 255, 255, .4), 0 8px 0 rgba(0, 0, 0, .35), 0 22px 34px -12px rgba(0, 0, 0, .65); }
.btn--ghost:active { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4), 0 1px 0 rgba(0, 0, 0, .35); }
.gallery__nav button { box-shadow: 0 4px 0 #cdd6e2, var(--depth-1); transition: transform .18s, box-shadow .18s, background .2s, color .2s; }
.gallery__nav button:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--edge-green), 0 18px 28px -12px rgba(46, 158, 18, .7); }
.gallery__nav button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--edge-green); }

/* ---------------------------------------------------------------- hero: the 3D scene */

.scene3d { position: relative; perspective: 1600px; perspective-origin: 50% 40%; padding: 10% 2% 14%; }
.scene3d__sway { transform-style: preserve-3d; animation: sway 14s ease-in-out infinite; }
@keyframes sway {
	0%, 100% { rotate: y -7deg; }
	50% { rotate: y 7deg; }
}
.scene3d__stage { position: relative; transform-style: preserve-3d; transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -10deg)); transition: transform .9s var(--ease-3d); will-change: transform; }
.scene3d__layer { transform-style: preserve-3d; }
.scene3d .hero__mailbox { position: relative; z-index: 2; margin: 0; animation: none; transform: translateZ(40px); }
.scene3d .hero__mailbox img { width: 100%; margin: 0; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 30px 34px rgba(0, 0, 0, .6)); }

/* flyers floating around the mailbox, each at its own depth */
.scene3d__flyer { position: absolute; width: 46%; transform: translate3d(var(--x), var(--y), var(--z)) rotateX(var(--fx, 0deg)) rotateY(var(--fy, 0deg)) rotateZ(var(--fz, 0deg)); }
.scene3d__flyer img { width: 100%; border-radius: 10px; box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 24px 40px -14px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .12); animation: bob var(--bob, 6s) ease-in-out infinite; animation-delay: var(--delay, 0s); }
.scene3d__flyer::after { content: ''; position: absolute; inset: 0; border-radius: 10px; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .28) 0%, rgba(255, 255, 255, 0) 38%); animation: bob var(--bob, 6s) ease-in-out infinite; animation-delay: var(--delay, 0s); }
@keyframes bob { 50% { translate: 0 -14px; } }
.scene3d__flyer--1 { left: -4%; top: -30%; --x: 0; --y: 0; --z: -180px; --fy: 22deg; --fz: -9deg; --bob: 7s; }
.scene3d__flyer--2 { right: -2%; top: -38%; --x: 0; --y: 0; --z: -320px; --fy: -18deg; --fz: 7deg; --bob: 8s; --delay: -2s; }
.scene3d__flyer--3 { right: 2%; bottom: 0; width: 40%; --x: 0; --y: 0; --z: 170px; --fx: 8deg; --fy: -24deg; --fz: 5deg; --bob: 6s; --delay: -4s; z-index: 3; }

/* glossy spheres */
.orb { position: absolute; border-radius: 50%; pointer-events: none; transform: translateZ(var(--z)); animation: orbfloat 9s ease-in-out infinite; }
.orb--green { width: 16%; aspect-ratio: 1; left: 40%; top: -62%; background: radial-gradient(circle at 32% 28%, #e9ffd4 0%, #9be15d 14%, #4cc400 38%, #1f6e06 72%, #0d3a02 100%); box-shadow: 0 40px 80px -20px rgba(76, 196, 0, .55), inset -18px -24px 40px rgba(0, 0, 0, .35); opacity: .9; }
.orb--blue { width: 10%; aspect-ratio: 1; left: -7%; top: 22%; background: radial-gradient(circle at 32% 28%, #e3eeff 0%, #7aa6ea 16%, #1f4e96 52%, #0b1e3f 100%); box-shadow: 0 24px 40px -12px rgba(31, 78, 150, .7); animation-duration: 7s; animation-delay: -3s; }
.orb--lime { width: 6%; aspect-ratio: 1; right: -3%; bottom: -12%; background: radial-gradient(circle at 32% 28%, #fff 0%, #d7ffb0 22%, #8fd94a 55%, #2e9e12 100%); box-shadow: 0 14px 24px -8px rgba(76, 196, 0, .7); animation-duration: 6s; animation-delay: -1s; }
@keyframes orbfloat { 50% { translate: 0 -18px; } }

/* soft contact shadow on the floor */
.scene3d__shadow { position: absolute; left: 12%; right: 8%; bottom: -6%; height: 16%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); transform: translateZ(-60px) rotateX(80deg); filter: blur(6px); pointer-events: none; }

/* the price badge floats in front of everything */
.scene3d .hero__badge {
	left: 4%; bottom: -18%; z-index: 4;
	transform: translateZ(120px) rotateY(10deg) rotateX(-4deg);
	background: linear-gradient(150deg, #d6ffb3 0%, #b7f08a 45%, #8fd94a 100%);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 -3px 0 rgba(0, 0, 0, .1) inset, 0 6px 0 #5fae1f, 0 30px 50px -16px rgba(0, 0, 0, .7);
	animation: badge 6s ease-in-out infinite;
}
@keyframes badge { 50% { translate: 0 -10px; } }

/* ---------------------------------------------------------------- 3D reveal on scroll (overrides site.css) */

.reveal {
	opacity: 0;
	transform: perspective(1200px) translate3d(0, 46px, -140px) rotateX(18deg);
	transform-origin: 50% 100%;
	transition: opacity .9s ease, transform 1.1s var(--ease-3d);
}
.reveal.in { opacity: 1; transform: perspective(1200px) translate3d(0, 0, var(--lift, 0px)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.steps > .reveal:nth-child(2), .stats > .reveal:nth-child(2), .timeline > .reveal:nth-child(2), .feats > .reveal:nth-child(2), .perks > .reveal:nth-child(2) { transition-delay: .08s; }
.steps > .reveal:nth-child(3), .stats > .reveal:nth-child(3), .timeline > .reveal:nth-child(3), .feats > .reveal:nth-child(3), .perks > .reveal:nth-child(3) { transition-delay: .16s; }
.steps > .reveal:nth-child(4), .stats > .reveal:nth-child(4), .timeline > .reveal:nth-child(4), .feats > .reveal:nth-child(4), .perks > .reveal:nth-child(4) { transition-delay: .24s; }
.feats > .reveal:nth-child(5), .perks > .reveal:nth-child(5) { transition-delay: .32s; }
.feats > .reveal:nth-child(6) { transition-delay: .4s; }

/* ---------------------------------------------------------------- tilting cards (class added by site-3d.js on mouse devices) */

.tilt { position: relative; transform-style: preserve-3d; }
.tilt:not(.reveal) { transform: perspective(1000px) translate3d(0, 0, var(--lift, 0px)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease-3d), box-shadow .4s; }
.tilt.is-tilting { transition: opacity .9s ease, transform .14s linear, box-shadow .3s, background .25s !important; transition-delay: 0s !important; }
.tilt.is-tilting { --lift: 24px; }
.tilt__glare { position: absolute; inset: 0; z-index: 5; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 55%); mix-blend-mode: soft-light; }
.tilt.is-tilting .tilt__glare { opacity: 1; }
/* elements that pop out of their card */
.tilt .step__num, .tilt h3, .tilt .stat__num, .tilt .duo__price, .tilt .offer__big, .tilt .offer__tag, .tilt > b, .tilt .formats b, .tilt .plan__num, .tilt .canada__price, .tilt .appx__phone--front, .tilt .appx__browser--small, .tilt .rab-card__thumb, .tilt .compare__save img, .tilt .compare__save b, .tilt .hero__badge {
	transform: translateZ(36px);
	transition: transform .5s var(--ease-3d);
}
.tilt.is-tilting .step__num, .tilt.is-tilting .stat__num, .tilt.is-tilting .offer__big, .tilt.is-tilting .duo__price, .tilt.is-tilting .rab-card__thumb { transform: translateZ(60px); }

/* ---------------------------------------------------------------- cards with real depth */

.step { background: linear-gradient(160deg, #ffffff 0%, #f1f5fa 100%); box-shadow: var(--depth-1); border: 1px solid rgba(2, 20, 46, .05); }
.step:hover { background: linear-gradient(160deg, #ffffff 0%, #f4fbef 100%); box-shadow: 0 1px 0 #fff inset, 0 40px 70px -28px rgba(2, 20, 46, .45), 0 0 0 1px rgba(76, 196, 0, .35); }
.step__num { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; font-size: 16px; color: #fff; background: linear-gradient(150deg, #7ad62b, var(--g2)); box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 4px 0 var(--edge-green), 0 14px 22px -8px rgba(46, 158, 18, .7); }

.stats { gap: 18px; overflow: visible; background: none; border-radius: 0; }
.stat { border-radius: var(--radius); background: linear-gradient(160deg, #12305a 0%, #0a1d3c 55%, #061430 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, .1) inset, 0 0 0 1px rgba(255, 255, 255, .07), 0 30px 60px -26px rgba(0, 0, 0, .8); }
.stat:nth-child(odd) { box-shadow: 0 1px 0 rgba(255, 255, 255, .1) inset, 0 0 0 1px rgba(76, 196, 0, .22), 0 30px 60px -26px rgba(0, 0, 0, .8), 0 40px 80px -50px rgba(76, 196, 0, .5); }

.codes li, .formats li { box-shadow: var(--depth-1); }
.formats li { background: linear-gradient(150deg, #fff 0%, #f5f9fd 100%); }
.formats b { text-shadow: 0 1px 0 #2a8a10, 0 2px 0 #237a0c, 0 3px 0 #1c6a09, 0 10px 16px rgba(46, 158, 18, .3); }
.formats--pop { box-shadow: 0 0 0 2px var(--g1), 0 40px 70px -30px rgba(46, 158, 18, .55), var(--depth-1) !important; }

.env__img { background: linear-gradient(160deg, #ffffff 0%, #eef3f9 100%); box-shadow: var(--depth-1); }
.env__img img { box-shadow: 0 2px 0 rgba(255, 255, 255, .8) inset, 0 30px 50px -22px rgba(2, 20, 46, .55); }

.duo__card { box-shadow: var(--depth-1), inset 0 0 0 1px var(--line); }
.duo__card--app { background: linear-gradient(160deg, #12305a 0%, var(--ink) 60%); box-shadow: var(--depth-2); }
.duo__plus { text-shadow: 0 1px 0 #2a8a10, 0 2px 0 #237a0c, 0 3px 0 #1c6a09, 0 4px 0 #165a06, 0 14px 24px rgba(46, 158, 18, .45); animation: spinplus 8s ease-in-out infinite; }
@keyframes spinplus { 0%, 70%, 100% { rotate: y 0deg; } 85% { rotate: y 180deg; } }

.offer__card--print { box-shadow: var(--depth-1), inset 0 0 0 1px #d7eccd; }
.offer__card--dark { box-shadow: var(--depth-2); }
.offer__card { overflow: visible; }
.offer__list li { box-shadow: inset 0 0 0 1px var(--line), 0 10px 18px -12px rgba(2, 20, 46, .25); }

.feat { background: linear-gradient(160deg, #ffffff, #f2f6fb); box-shadow: var(--depth-1), inset 0 3px 0 var(--g1); }
.section--dark .feat { background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), inset 0 3px 0 var(--g1), 0 30px 60px -28px rgba(0, 0, 0, .8); }
.plan { box-shadow: var(--depth-1); }
.plan__price { background: linear-gradient(160deg, #12305a, var(--ink)); box-shadow: var(--depth-2); }
.card { box-shadow: 0 1px 0 #fff inset, 0 40px 90px -34px rgba(0, 0, 0, .65), 0 14px 30px -18px rgba(2, 20, 46, .35); }
.limit { box-shadow: var(--depth-1), inset 6px 0 0 var(--g1); }
.compare__save { background: linear-gradient(160deg, #12305a, var(--ink)); box-shadow: var(--depth-2); }
.canada__price { background: linear-gradient(160deg, #12305a, var(--ink)); box-shadow: 0 5px 0 #020b1a, var(--depth-2); }
.flow { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -40px rgba(0, 0, 0, .8); }
.flow li::before, .appx__steps li::before { box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 3px 0 rgba(0, 0, 0, .35), 0 8px 14px -4px rgba(0, 0, 0, .5); }
.perks li { padding: 20px; border-radius: 18px; background: linear-gradient(160deg, #fff, #f3f7fb); box-shadow: var(--depth-1); }
.perks { border-top: 0; padding-top: 0; }

/* the envelope picture sits in 3D */
.env__img.in:not(.is-tilting), .canada__art.in:not(.is-tilting) { --ry: -6deg; --rx: 4deg; }

/* ---------------------------------------------------------------- ticker: a tilted 3D ribbon */

.ticker { position: relative; z-index: 3; margin: -22px 0; transform: rotate(-1.6deg) scale(1.04); box-shadow: 0 2px 0 rgba(255, 255, 255, .25) inset, 0 -3px 0 rgba(0, 0, 0, .15) inset, 0 20px 40px -14px rgba(2, 20, 46, .55); background: linear-gradient(180deg, #6bd61f 0%, var(--g1) 40%, var(--g2) 100%); }
.ticker span { text-shadow: 0 2px 0 rgba(0, 0, 0, .18); }

/* ---------------------------------------------------------------- comparison bars: 3D cylinders that grow */

.cbar__track { height: 58px; background: linear-gradient(180deg, #dde3ea, #f1f4f8); box-shadow: inset 0 3px 6px rgba(2, 20, 46, .14), inset 0 -1px 0 #fff; }
.cbar__fill { position: relative; background: linear-gradient(180deg, #ff7a7f 0%, #e5484d 30%, #c8102e 75%, #8e0a20 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, .45) inset, 0 8px 16px -6px rgba(200, 16, 46, .55); transform-origin: 0 50%; transform: scaleX(.02); transition: transform 1.4s var(--ease-3d) .2s; }
.cbar__fill--us { background: linear-gradient(180deg, #a8ef6a 0%, var(--g1) 30%, var(--g2) 75%, #176b0a 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 8px 16px -6px rgba(46, 158, 18, .6); }
.compare__bars.in .cbar__fill { transform: none; }
.compare__bars.in .cbar:nth-child(2) .cbar__fill { transition-delay: .4s; }
.compare__bars.in .cbar:nth-child(3) .cbar__fill { transition-delay: .6s; }

/* ---------------------------------------------------------------- timeline: glossy spheres on a glowing rail */

.timeline::before { height: 4px; top: 13px; border-radius: 4px; opacity: 1; background: linear-gradient(90deg, var(--g1), #6aa7f0, var(--blue)); box-shadow: 0 0 18px rgba(76, 196, 0, .45); }
.timeline__item::before { width: 26px; height: 26px; top: 2px; background: radial-gradient(circle at 34% 30%, #ffffff 0%, #d7ffb0 18%, #6bd61f 46%, #1f6e06 100%); box-shadow: 0 8px 14px -4px rgba(46, 158, 18, .7), 0 0 0 5px rgba(76, 196, 0, .15); }
.timeline__item { padding: 56px 22px 24px; border-radius: 20px; transition: background .3s, box-shadow .3s; }
.timeline__item::before { left: 22px; }
.timeline__item:hover { background: linear-gradient(160deg, #fff, #f3faee); box-shadow: var(--depth-1); }

/* ---------------------------------------------------------------- flyer gallery: coverflow + real 3D flip */

.gallery { perspective: 1600px; padding-top: 30px; padding-bottom: 50px; }
.flyer { overflow: visible; box-shadow: none; border-radius: 14px; transform-style: preserve-3d; transform: rotateY(var(--cf, 0deg)) translateZ(var(--cz, 0px)) scale(var(--cs, 1)); transition: transform .35s var(--ease-3d); }
.flyer__inner { position: relative; transform-style: preserve-3d; transition: transform .8s var(--ease-3d); border-radius: 14px; }
.flyer__inner > img { border-radius: 14px; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset, 0 30px 50px -22px rgba(2, 20, 46, .6), 0 0 0 1px rgba(2, 20, 46, .06); }
.flyer__inner > .flyer__back { opacity: 1; transform: rotateY(180deg); }
.flyer--back .flyer__inner { transform: rotateY(180deg); }
@media (hover: hover) {
	.flyer:hover .flyer__inner { transform: rotateY(180deg); }
	.flyer--back:hover .flyer__inner { transform: rotateY(0deg); }
}
.flyer:hover .flyer__back, .flyer--back .flyer__back { opacity: 1; }
.flyer__inner::after { content: ''; position: absolute; left: 6%; right: 6%; bottom: -34px; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(2, 20, 46, .35), transparent); transform: translateZ(-1px); filter: blur(4px); }

/* ---------------------------------------------------------------- app phones and portal screens in 3D */

.appx__phones { perspective: 1300px; transform-style: preserve-3d; }
.appx__phone { background: linear-gradient(145deg, #1b2230, #06090f); box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 0 0 1.5px #2a3140 inset, -18px 30px 60px -20px rgba(0, 0, 0, .8), 0 60px 90px -50px rgba(76, 196, 0, .35); }
.appx__phone:first-child { transform: translate3d(16%, 4%, -80px) rotateY(24deg) rotateZ(-4deg); }
.appx__phone--front { transform: translate3d(-8%, -4%, 60px) rotateY(-16deg) rotateZ(3deg); }
.appx__phone img { box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); }
.appx__phones.tilt .appx__phone--front { transform: translate3d(-8%, -4%, 120px) rotateY(-16deg) rotateZ(3deg); }

.appx__screens { perspective: 1600px; transform-style: preserve-3d; }
.appx__browser { transform: rotateY(-14deg) rotateX(6deg); transform-origin: 60% 50%; transition: transform .8s var(--ease-3d); box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, -30px 40px 80px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08); }
.appx__browser--small { transform: translateZ(90px) rotateY(-14deg) rotateX(6deg); }
.appx__screens:hover .appx__browser { transform: rotateY(-4deg) rotateX(2deg); }
.appx__screens:hover .appx__browser--small { transform: translateZ(140px) rotateY(-4deg) rotateX(2deg); }
.appx__row--rev .appx__browser { transform: rotateY(14deg) rotateX(6deg); transform-origin: 40% 50%; }
.appx__row--rev .appx__browser--small { transform: translateZ(90px) rotateY(14deg) rotateX(6deg); }
.appx__row--rev .appx__screens:hover .appx__browser { transform: rotateY(4deg) rotateX(2deg); }
.appx__row--rev .appx__screens:hover .appx__browser--small { transform: translateZ(140px) rotateY(4deg) rotateX(2deg); }

/* ---------------------------------------------------------------- rebate list cards */

.rab-card { box-shadow: var(--depth-1); }
.rab-card__thumb { box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 10px 18px -8px rgba(2, 20, 46, .45); }

/* ---------------------------------------------------------------- FAQ: cards that open */

.faq details { margin-bottom: 12px; padding: 0 22px; border: 0; border-radius: 18px; background: linear-gradient(160deg, #fff, #f6f9fc); box-shadow: var(--depth-1); transition: box-shadow .3s; }
.faq details[open] { box-shadow: 0 0 0 1.5px rgba(76, 196, 0, .45), 0 40px 70px -30px rgba(2, 20, 46, .4); }
.faq summary { padding-right: 52px; }
.faq summary::after { right: 0; background: linear-gradient(150deg, #7ad62b, var(--g2)); color: #fff; box-shadow: 0 3px 0 var(--edge-green), 0 8px 14px -6px rgba(46, 158, 18, .6); }
.faq details p { padding-right: 0; }

/* ---------------------------------------------------------------- footer logo depth */
.footer__brand img { filter: drop-shadow(0 10px 14px rgba(2, 20, 46, .18)); }

/* ---------------------------------------------------------------- phones and tablets */

@media (max-width: 1080px) {
	.scene3d { max-width: 640px; margin: 0 auto; padding: 10% 0 16%; }
	.scene3d .hero__mailbox { max-width: none; }
	.appx__browser, .appx__row--rev .appx__browser { transform: rotateY(-8deg) rotateX(4deg); }
	.appx__browser--small, .appx__row--rev .appx__browser--small { transform: translateZ(70px) rotateY(-8deg) rotateX(4deg); }
}
@media (max-width: 900px) {
	.scene3d .hero__badge { position: absolute; display: flex; left: 0; bottom: -18%; transform: translateZ(180px) rotateY(8deg); }
	.scene3d .hero__badge b { font-size: 36px; }
}
@media (max-width: 640px) {
	.scene3d { padding: 18% 4% 30%; }
	.orb--blue { left: 0; top: 4%; }
	.orb--green { left: 30%; top: -48%; }
	.scene3d__flyer { width: 50%; }
	.scene3d__flyer--3 { width: 44%; }
	.scene3d .hero__badge { padding: 8px 12px; border-radius: 12px; left: 6%; bottom: -52%; transform: translateZ(60px) rotateY(6deg); }
	.scene3d .hero__badge b { font-size: 30px; }
	.scene3d .hero__badge small, .scene3d .hero__badge span { font-size: 10px; }
	.hero h1, .page h1 { text-shadow: 0 1px 0 #0d2850, 0 2px 0 #0a2245, 0 3px 0 #071935, 0 12px 20px rgba(0, 0, 0, .5); }
	.ticker { margin: -14px 0; transform: rotate(-2deg) scale(1.06); }
	.stats { gap: 12px; }
	.timeline__item { padding: 52px 18px 18px; }
	.flyer { flex-basis: 84vw; }
	.reveal { transform: perspective(900px) translate3d(0, 30px, -80px) rotateX(12deg); }
}

/* ---------------------------------------------------------------- motion off: keep the depth, stop the movement */

@media (prefers-reduced-motion: reduce) {
	.reveal, .reveal.in { opacity: 1; transform: none; }
	.cbar__fill { transform: none; }
	.scene3d__stage { transform: rotateX(4deg) rotateY(-8deg); }
}
