/* Zhero LLC — zherollc.com */
@property --za { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
body { margin: 0; background: #06080A; }
html { scroll-behavior: smooth; }
a { color: #F1F5F3; text-decoration: none; }
a:hover { color: #ffffff; }
.zr { --ac: #34E8A8; }
.zr section { scroll-margin-top: 84px; }
.z-nav a { color: #A3AFAA; transition: color .2s; }
.z-nav a:hover { color: #ffffff; }
.z-btn { transition: transform .2s, filter .2s; }
.z-btn:hover { color: #04110B; transform: translateY(-2px); filter: brightness(1.1); }
.z-ghost { transition: border-color .2s, background .2s; }
.z-ghost:hover { border-color: var(--ac); background: rgba(255,255,255,.04); }
.z-card { transition: border-color .3s; }
.z-card:hover { border-color: color-mix(in srgb, var(--ac) 45%, transparent); }
.z-tilt { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .3s ease-out; }
.z-tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), color-mix(in srgb, var(--ac) 15%, transparent), transparent 62%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.z-tilt:hover::after { opacity: 1; }
.z-beam { position: relative; }
.z-beam::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--za), transparent 0 72%, var(--ac) 90%, #ffffff 96%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: zang 6s linear infinite; pointer-events: none; }
.z-b2::before { animation-duration: 8s; animation-delay: -3s; }
.z-b3::before { animation-duration: 10s; animation-delay: -6s; }
.z-b4::before { animation-duration: 7s; animation-delay: -1.5s; }
.z-dots { background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1.3px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 75% 85% at 70% 40%, #000 10%, transparent 72%); mask-image: radial-gradient(ellipse 75% 85% at 70% 40%, #000 10%, transparent 72%); }
.z-edge { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.z-roll { display: block; height: 1.2em; overflow: hidden; }
.z-roll > span { display: flex; flex-direction: column; animation: zroll 11s cubic-bezier(.75,0,.2,1) infinite; }
.z-roll > span > span { display: block; height: 1.2em; line-height: 1.2em; white-space: nowrap; }
.z-mq { display: flex; width: max-content; animation: zmq 44s linear infinite; }
.z-tk { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; }
.z-tk::before { content: ""; width: 6px; height: 6px; background: var(--ac); }
.z-up { animation: zup .9s cubic-bezier(.2,.7,.2,1) both; }
.z-d1 { animation-delay: .1s; }
.z-d2 { animation-delay: .2s; }
.z-d3 { animation-delay: .32s; }
.z-d4 { animation-delay: .44s; }
.z-pulse { animation: zpulse 2.2s ease-in-out infinite; }
.z-run { animation: zrun 7s linear infinite; }
.z-blink { animation: zblink 1.1s steps(2, start) infinite; }
@keyframes zang { to { --za: 360deg; } }
@keyframes zroll { 0%, 19% { transform: translateY(0); } 25%, 44% { transform: translateY(-20%); } 50%, 69% { transform: translateY(-40%); } 75%, 94% { transform: translateY(-60%); } 100% { transform: translateY(-80%); } }
@keyframes zmq { to { transform: translateX(-50%); } }
@keyframes zup { from { opacity: 0; transform: translateY(28px); } }
@keyframes zpulse { 50% { opacity: .35; transform: scale(.75); } }
@keyframes zrun { from { left: 0%; } to { left: 100%; } }
@keyframes zblink { to { visibility: hidden; } }
@supports (animation-timeline: view()) {
.z-in { animation: zup linear both; animation-timeline: view(); animation-range: entry 0% entry 85%; }
}

/* ---------- additions: header, contact form, footer, legal pages ---------- */

.zr a:focus-visible, .zr button:focus-visible { outline: 2px solid var(--ac); outline-offset: 3px; border-radius: 6px; }
.z-skip { position: absolute; left: -9999px; top: 0; z-index: 50; background: var(--ac); color: #04110B; padding: 12px 16px; border-radius: 0 0 9px 0; font-weight: 600; font-size: 14px; }
.z-skip:focus { left: 0; color: #04110B; }

.z-nav-main { display: flex; flex-wrap: wrap; gap: 0 30px; font-size: 14px; font-weight: 500; }
.z-nav-main a { min-height: 44px; display: inline-flex; align-items: center; }

button.z-btn, button.z-ghost { font-family: inherit; cursor: pointer; }
button.z-btn { border: 0; }

/* contact */
.z-contact { position: relative; padding: clamp(28px, 6vw, 80px); display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px; }
.z-contact-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.z-form { flex: 1 1 380px; min-width: 0; max-width: 520px; box-sizing: border-box; display: flex; flex-direction: column; gap: 16px; padding: clamp(20px, 3vw, 30px); border-radius: 16px; background: rgba(6,8,10,.74); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.z-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 16px; }
.z-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.z-label { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #A3AFAA; }
.z-input { width: 100%; box-sizing: border-box; min-height: 48px; margin: 0; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: rgba(6,8,10,.72); color: #F1F5F3; font: 400 16px/1.5 'Inter', system-ui, sans-serif; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.z-input::placeholder { color: #6B7773; }
.z-input:hover { border-color: rgba(255,255,255,.26); }
.z-input:focus { outline: none; border-color: var(--ac); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ac) 22%, transparent); }
textarea.z-input { min-height: 128px; resize: vertical; }
select.z-input { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16' fill='none' stroke='%23A3AFAA' stroke-width='2'%3E%3Cpath d='M3 6l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
select.z-input option { background: #0B0F10; color: #F1F5F3; }
.z-note { margin: 0; font-family: 'JetBrains Mono', monospace; font-size: 12px; line-height: 1.6; color: #A3AFAA; }
.z-note a { color: var(--ac); }
.z-note[data-state="ok"] { color: #C9D3CF; }

/* footer */
.z-fgrid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 36px 32px; }
.z-fcol { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 14px; }
.z-fcol h2 { margin: 0 0 8px; font-family: 'JetBrains Mono', monospace; font-weight: 400; font-size: 13px; color: var(--ac); }
.z-fcol a { color: #A3AFAA; min-height: 36px; display: inline-flex; align-items: center; transition: color .2s; overflow-wrap: anywhere; }
.z-fcol a:hover { color: #ffffff; }
.z-fcol address { font-style: normal; line-height: 1.6; color: #A3AFAA; margin-top: 6px; }
.z-fbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #A3AFAA; border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; }
.z-fbar a { color: #A3AFAA; transition: color .2s; }
.z-fbar a:hover { color: #ffffff; }
.z-fbar ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* legal pages */
.z-legal { max-width: 760px; font-size: 16px; line-height: 1.75; color: #C9D3CF; }
.z-legal h2 { margin: 44px 0 12px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 24px; line-height: 1.25; letter-spacing: -.015em; color: #F1F5F3; scroll-margin-top: 100px; }
.z-legal h3 { margin: 26px 0 8px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 18px; color: #F1F5F3; }
.z-legal p { margin: 0 0 14px; }
.z-legal ul { margin: 0 0 14px; padding-left: 20px; }
.z-legal li { margin-bottom: 8px; }
.z-legal li::marker { color: var(--ac); }
.z-legal a { color: var(--ac); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.z-legal strong { color: #F1F5F3; font-weight: 600; }
.z-legal address { font-style: normal; }
.z-box { border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: #0B0F10; padding: 20px 22px; margin: 0 0 14px; }
.z-box p:last-child { margin-bottom: 0; }
.z-chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.z-chips a { display: inline-flex; align-items: center; min-height: 40px; box-sizing: border-box; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; padding: 0 14px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #C9D3CF; transition: border-color .2s, color .2s; }
.z-chips a:hover { border-color: var(--ac); color: #ffffff; }
.z-chips a[aria-current="page"] { border-color: var(--ac); color: #ffffff; background: color-mix(in srgb, var(--ac) 9%, transparent); }

@media (max-width: 900px) {
.z-fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.z-fbrand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
.z-nav-main { display: none; }
}
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
.z-roll > span, .z-mq, .z-up, .z-in, .z-pulse, .z-run, .z-blink, .z-beam::before { animation: none; }
}
