* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.hero-preview { position: relative; min-height: 100svh; overflow: hidden; background: #101514; color: #fff; }
.hero-preview__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.78) contrast(1.05) brightness(.8); transform: scale(1.01); }
.hero-preview__scrim { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(6,9,8,.3) 0%,rgba(7,10,9,.08) 35%,rgba(6,9,8,.28) 68%,rgba(4,7,6,.62) 100%), linear-gradient(90deg,rgba(4,7,6,.3),transparent 38%,rgba(4,7,6,.12)); }
.hero-preview__nav { position: absolute; z-index: 4; top: 20px; right: 20px; left: 20px; display: flex; min-height: 78px; align-items: center; justify-content: space-between; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; padding: 0 12px 0 24px; background: linear-gradient(90deg,rgba(232,237,234,.23) 0%,rgba(148,156,152,.13) 48%,rgba(13,17,16,.34) 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.13), 0 12px 34px rgba(0,0,0,.12); -webkit-backdrop-filter: blur(16px) saturate(.9) brightness(1.02); backdrop-filter: blur(16px) saturate(.9) brightness(1.02); }
.hero-preview__brand { display: inline-flex; min-height: 44px; align-items: center; gap: 11px; color: #f4f6f3; font-size: 1.22rem; font-weight: 600; letter-spacing: -.025em; line-height: 1; text-decoration: none; }
.hero-preview__brand-mark { width: 32px; height: 32px; flex: 0 0 auto; }
.hero-preview__actions { display: flex; align-items: center; gap: 8px; }
.hero-preview__cta { display: flex; min-width: 258px; min-height: 50px; align-items: center; justify-content: space-between; gap: 22px; border: 1px solid rgba(255,255,255,.72); border-radius: 2px; padding: 9px 16px; background: rgba(248,249,246,.96); color: #171a19; font-size: .73rem; font-weight: 700; text-decoration: none; transition: border-color .2s ease,background .2s ease,color .2s ease; }
.hero-preview__cta > span { display: inline-flex; flex: 0 0 auto; color: #59605d; font-size: .86rem; transition: color .2s ease,transform .2s ease; }
.hero-preview__cta:hover { border-color: #8ef0d0; background: #fff; color: #101413; }
.hero-preview__cta:hover > span { color: #14755d; transform: translateX(3px); }
.hero-preview__menu { display: grid; width: 50px; height: 50px; place-content: center; gap: 6px; border: 1px solid rgba(255,255,255,.36); border-radius: 2px; background: rgba(14,18,17,.36); color: #fff; cursor: pointer; transition: border-color .2s ease,background .2s ease; }
.hero-preview__menu:hover { border-color: #8ef0d0; background: rgba(18,23,21,.58); }
.hero-preview__menu span { display: block; width: 18px; border-top: 1px solid currentColor; transition: transform .2s ease; }
.hero-preview__menu:hover span:first-child { transform: translateX(2px); }
.hero-preview__menu:hover span:last-child { transform: translateX(-2px); }
.hero-preview__cta:focus-visible, .hero-preview__menu:focus-visible { outline: 2px solid #8ef0d0; outline-offset: 3px; }
.hero-preview__panel { position: absolute; top: calc(100% + 8px); right: 0; left: auto; display: none; width: min(420px,calc(100vw - 40px)); align-items: stretch; gap: 0; border: 1px solid rgba(255,255,255,.18); padding: 8px; background: rgba(17,21,20,.94); box-shadow: 0 18px 50px rgba(0,0,0,.24); backdrop-filter: blur(18px); }
.hero-preview__panel.is-open { display: grid; }
.hero-preview__panel a { display: flex; min-height: 48px; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.1); padding: 8px 10px; color: #e9eeeb; font-size: .74rem; font-weight: 700; text-decoration: none; }
.hero-preview__panel a::after { color: #8ef0d0; content: "↗"; }
.hero-preview__panel a:last-child { border-bottom: 0; }
.hero-preview__panel a:hover { color: #8ef0d0; }
.hero-preview__content { position: absolute; z-index: 3; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 210px 24px 90px; text-align: center; }
.hero-preview__content > p { margin: 28px 0 0; color: rgba(255,255,255,.8); font-size: .62rem; font-weight: 700; letter-spacing: .14em; }
.hero-preview__content h1 { width: min(1050px,calc(100vw - 48px)); margin: 0; color: #fff; font-size: clamp(4.2rem,7.2vw,8.2rem); font-weight: 400; line-height: .88; letter-spacing: -.062em; white-space: normal; text-shadow: 0 2px 34px rgba(0,0,0,.18); }
.hero-preview__content > a { display: inline-flex; align-items: center; gap: 22px; margin-top: 36px; border-bottom: 1px solid rgba(255,255,255,.76); padding-bottom: 7px; font-size: .72rem; font-weight: 700; text-decoration: none; }
.hero-preview__foot { position: absolute; z-index: 3; right: 24px; bottom: 22px; left: 24px; display: flex; align-items: center; justify-content: center; gap: 42px; color: rgba(255,255,255,.62); font-size: .5rem; font-weight: 700; letter-spacing: .11em; }
.hero-preview__foot span + span::before { display: inline-block; width: 3px; height: 3px; margin: 0 42px 2px 0; border-radius: 50%; background: #8ef0d0; content: ""; }
@media (max-width: 720px) {
  .hero-preview__nav { top: 12px; right: 12px; left: 12px; min-height: 60px; border-radius: 10px; padding: 0 8px 0 14px; background: linear-gradient(90deg,rgba(218,225,221,.2),rgba(11,15,14,.44)); }
  .hero-preview__brand { gap: 8px; font-size: 1.02rem; letter-spacing: -.02em; }
  .hero-preview__brand-mark { width: 28px; height: 28px; }
  .hero-preview__actions { gap: 6px; }
  .hero-preview__cta { min-width: 0; min-height: 42px; padding: 0 10px; font-size: .62rem; }
  .hero-preview__cta span { display: none; }
  .hero-preview__menu { width: 44px; height: 44px; }
  .hero-preview__panel { top: calc(100% + 6px); right: -1px; width: calc(100vw - 24px); }
  .hero-preview__image { object-position: 57% center; }
  .hero-preview__content { align-items: flex-start; justify-content: flex-end; padding: 122px 18px 112px; text-align: left; }
  .hero-preview__content > p { max-width: 250px; line-height: 1.5; }
  .hero-preview__content h1 { width: 100%; max-width: none; font-size: clamp(2.65rem,12.5vw,3.8rem); line-height: .92; white-space: normal; }
  .hero-preview__content > a { margin-top: 28px; }
  .hero-preview__foot { right: 18px; bottom: 18px; left: 18px; justify-content: flex-start; gap: 18px; }
  .hero-preview__foot span:nth-child(n+3) { display: none; }
  .hero-preview__foot span + span::before { margin-right: 18px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-preview__image { animation: hero-settle 14s cubic-bezier(.2,.7,.2,1) both; }
  .hero-preview__content > * { animation: hero-enter .7s ease-out both; }
  .hero-preview__content h1 { animation-delay: .1s; }
  .hero-preview__content > a { animation-delay: .2s; }
}
@keyframes hero-settle { from { transform: scale(1.01); } to { transform: scale(1.045); } }
@keyframes hero-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation: none !important; transition: none !important; } }
