/* Shared emerald enamel, sculpted metal and dimensional app displays. */
:root {
  --premium-rim: #9e8551;
  --premium-face: #102c29;
  --premium-shade: #071b1b;
  --premium-shadow: rgb(0 12 12 / 30%);
  --premium-highlight: rgb(244 224 171 / 20%);
}
html[data-theme="light"] {
  --premium-rim: #c6b785;
  --premium-face: #fff;
  --premium-shade: #ecf5f1;
  --premium-shadow: rgb(19 61 49 / 14%);
  --premium-highlight: #fff;
}
body { background-image: radial-gradient(ellipse at 100% 25%, rgb(19 139 108 / 7%), transparent 50%); }
.hero-phone-slide[hidden], #heroPhoneDots [hidden], #heroScreenPills [hidden] { display: none !important; }
.app-screen-card[hidden] { display: none !important; }
.hero-slide-img[data-app-screen]:not([data-capture-ready="true"]) { visibility: hidden; }
html body :is(.site-hero,#home) {
  box-shadow: inset 0 -1px var(--premium-highlight), 0 18px 50px var(--premium-shadow);
}
html body .site-hero::after {
  content: ''; position: absolute; inset: 12px; border: 1px solid var(--hero-rule);
  border-radius: 22px; pointer-events: none; z-index: -1;
}
html body #home .visual-stage-container { perspective: 1200px; }
html body #home #heroPhoneDevice {
  aspect-ratio: 1080 / 2400;
  transform: perspective(1200px) rotateY(-12deg) rotateZ(3deg) !important;
  border-color: #b8a06e;
  box-shadow: inset 0 0 0 2px #e8d5aa, 3px 2px 0 #a58b58, 7px 4px 0 #4e4738,
    12px 7px 0 #172825, 22px 30px 45px rgb(0 0 0 / 45%) !important;
}
html body :is(.hero-slide-img,.screen-thumb-img) { object-fit: contain !important; object-position: top center; }
html body .screen-frame-bezel {
  padding: 7px; background: linear-gradient(135deg,#e6d6ac,#6c6048 32%,#172722 68%,#b29c69);
  border: 1px solid var(--premium-rim); border-radius: 26px;
  box-shadow: inset 0 1px 1px #fff8, 4px 4px 0 #263c33, 9px 13px 0 -5px var(--premium-rim), 0 24px 35px var(--premium-shadow);
  height: auto; aspect-ratio: auto; overflow: hidden;
}
html body .screen-frame-bezel .screen-thumb-img { width: 100%; height: auto; display: block; aspect-ratio: 1080 / 2400; border-radius: 19px; }
html body :is(.screen-speaker,.screen-glare) { display: none; }
html body .screens-carousel-track { padding-block: 24px 40px; gap: 32px; scroll-padding-inline: 20px; }
html body .app-screen-card { perspective: 1000px; min-width: 0; }
html body .app-screen-card .screen-frame-bezel { transition: transform .3s ease, box-shadow .3s ease; }
html body .screen-info-meta { padding-top: 24px; }
html body .screen-category-badge { font-size: .875rem; color: var(--color-text-body); }
html body .screen-title { font-size: 1.1rem; line-height: 1.7; }
html body .capture-variant { font-size: .875rem; line-height: 1.8; margin-block: 22px 8px; text-align: center; color: var(--color-text-body); }
html body .app-screen-card:hover .screen-thumb-img { transform: none; }
html body :is(.module-card,.feature-card,.calc-card,.mgmt-card,.tracker-card,.faq-item,.screens-download-banner) {
  border: 1px solid var(--premium-rim);
  background: linear-gradient(145deg,var(--premium-face),var(--premium-shade));
  box-shadow: inset 0 1px var(--premium-highlight), 0 5px 0 -2px var(--premium-shade), 0 6px 0 -2px var(--premium-rim), 0 18px 35px var(--premium-shadow);
}
html body :is(.btn-gold,.btn-playstore-masterpiece) {
  box-shadow: inset 0 1px rgb(255 255 255 / 35%), 0 4px 0 #65502b, 0 10px 24px var(--premium-shadow) !important;
}
html body :is(button,a):focus-visible { outline: 3px solid #18b88a; outline-offset: 5px; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  html body .app-screen-card:hover .screen-frame-bezel { transform: translateY(-8px) rotateY(-5deg); }
}
@media(max-width:600px) {
  html body .screens-carousel-track { gap: 24px; }
  html body #home #heroPhoneDevice { transform: perspective(1200px) rotateY(-5deg) !important; }
  html body .site-hero::after { inset: 6px; border-radius: 16px; }
}
@media(prefers-reduced-motion:reduce) {
  html body .app-screen-card:hover { transform: none; }
  html body .app-screen-card .screen-frame-bezel { transition: none; }
  html body #home #heroPhoneDevice { transform: none !important; }
}
