/* Navigaze 2.0: shared pieces for the home page, /pro and /get. Loads after styles.css.
   Lens frames in assets/lens2 are the app's own 576x288 renders; never redrawn. */
:root { --t-xs: .8125rem; --t-s: .9375rem; --t-m: 1.125rem; --t-l: 1.3125rem; --dim: #c9cfcc; --hair: rgba(255,255,255,.12); --glow: drop-shadow(0 0 5px rgba(0,255,56,.45)) drop-shadow(0 0 18px rgba(0,255,56,.18));
  /* a frame over a photo: the old site's look (bright, sharp, a slight green glow); green only, never a dark halo.
     Sizes are in cqw of the frame. */
  --u: 1cqw; --glow-photo: drop-shadow(0 0 calc(var(--u) * .2) rgba(110,255,140,.85)) drop-shadow(0 0 calc(var(--u) * .9) rgba(70,255,130,.38)) }
html { scroll-padding-top: 80px }
body { font-size: var(--t-m); line-height: 1.55; color: var(--dim); text-wrap: pretty }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px }
h1, h2, h3 { color: var(--ink) }
h2 { font-size: clamp(2.4rem, 4.8vw, 4rem); max-width: 16ch }
h3 { font-family: Barlow, ui-sans-serif, system-ui, sans-serif; font-size: var(--t-l); font-weight: 600; letter-spacing: -.005em; line-height: 1.2 }
.lede { font-size: clamp(1.15rem, 1.5vw, 1.3rem); line-height: 1.5; max-width: 50ch }
.small { font-size: var(--t-xs); color: var(--sage); line-height: 1.5 }
a.text { color: var(--ink); text-decoration: underline; text-underline-offset: .18em; text-decoration-color: rgba(255,255,255,.35) }
section { padding-top: clamp(96px, 12vw, 168px) }

/* header: brand + one button on phones, no wrapped nav rows */
.top { position: sticky; top: 0; z-index: 20; background: rgba(7,8,10,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--hair) }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px }
.top .brand-mark { font-size: 24px }
.top nav { display: flex; align-items: center; gap: 28px }
.top nav a { font-size: var(--t-s); color: var(--sage) }
.top nav a:hover { color: var(--ink) }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--accent); color: #0b0b0c; font-weight: 600; font-size: 1rem; border: 1px solid var(--accent); transition: background .15s }
.btn:hover { background: #ff9146 }
.btn.sm { min-height: 40px; padding: 0 18px; font-size: var(--t-s) }
.btn.quiet { background: transparent; color: var(--ink); border-color: rgba(255,255,255,.3) }
.btn.quiet:hover { border-color: var(--ink) }
.top nav .btn { color: #0b0b0c }
@media (max-width: 760px) { .top nav a:not(.btn) { display: none } }
/* the lens itself */
.lens { position: relative; background: #000; border-radius: 22px; border: 1px solid rgba(255,255,255,.08); box-shadow: inset 0 0 80px rgba(0,255,56,.03), 0 40px 120px rgba(0,0,0,.6); aspect-ratio: 2 / 1; overflow: hidden }
.lens img { position: absolute; inset: 4%; width: 92%; height: 92%; filter: var(--glow); transition: opacity .35s ease }
.lens .ko { position: absolute; left: 33.3%; top: 33.3%; width: 33.4%; height: 33.4%; border: 1px dashed rgba(255,255,255,.28); border-radius: 6px; opacity: 0; transition: opacity .3s; display: grid; place-items: center; color: var(--sage); font-size: var(--t-xs) }
.lens.show-ko .ko { opacity: 1 }
/* a frame over its own road: the photo is dimmed so the lens green stays the brightest thing */
.lens.scene { aspect-ratio: 16 / 10; background: #000; container-type: inline-size }
.lens.scene img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.62) saturate(.9) }
.lens.scene::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(120% 90% at 50% 40%, rgba(0,0,0,0) 40%, rgba(0,0,0,.45)); pointer-events: none }
.lens.scene img.hud { inset: auto; left: 5%; top: 6%; width: 90%; height: auto; z-index: 2; filter: var(--glow-photo) }
.lens.scene .ko { z-index: 3; left: 35%; width: 30%; top: 30%; height: 24% }
/* Pro */
.pro { background: linear-gradient(180deg, var(--paper), #0c0e11 30%, #0c0e11 70%, var(--paper)); padding-bottom: 32px }
.pro-head { display: grid; grid-template-columns: 6fr 5fr; gap: 48px; align-items: end }
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px }
.tier { border: 1px solid var(--hair); border-radius: 20px; padding: 28px; background: #0f1114; display: flex; flex-direction: column; gap: 6px }
.tier.best { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset }
.tier .tag { font-size: var(--t-xs); color: var(--accent); font-weight: 600 }
.tier .name { color: var(--ink); font-weight: 600; font-size: var(--t-l) }
.tier .price { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 600; color: var(--ink); font-size: clamp(2.6rem, 4vw, 3.4rem); line-height: 1 }
.tier .price small { display: block; margin-top: 8px; font-family: Barlow, sans-serif; font-size: var(--t-s); font-weight: 400; color: var(--sage) }
.tier .terms { font-size: var(--t-s) }
.cmp { width: 100%; border-collapse: collapse; margin-top: 48px; font-size: var(--t-s) }
.cmp th, .cmp td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--hair); vertical-align: top }
.cmp thead th { color: var(--sage); font-weight: 500; border-bottom-color: rgba(255,255,255,.6) }
.cmp tbody th { color: var(--ink); font-weight: 500 }
.cmp td { width: 22%; color: var(--dim) }
.cmp .y { color: var(--ink) }
.cmp td.free-all { width: auto; color: var(--dim); line-height: 1.7 }
.cmp .grp th { padding-top: 32px; color: var(--accent); font-size: var(--t-xs); font-weight: 600 }
.trial { margin-top: 64px; border: 1px solid var(--hair); border-radius: 24px; padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; background: radial-gradient(120% 140% at 100% 0%, rgba(255,122,26,.10), rgba(255,122,26,0) 60%), #0f1114 }
.trial h3 { font-family: "Barlow Condensed", sans-serif; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1 }
.tl { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; font-size: var(--t-s) }
.tl li { position: relative; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.25) }
.tl li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent) }
.tl b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px }
@media (max-width: 900px) { .tl { grid-template-columns: 1fr 1fr } }
.trial .consent { margin-top: 16px }

/* FAQ */
.faq { margin-top: 40px; border-top: 1px solid var(--hair); max-width: 780px }
.faq details { border-bottom: 1px solid var(--hair) }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 500; color: var(--ink); display: flex; justify-content: space-between; gap: 16px }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; color: var(--sage); font-size: 1.3em; line-height: 1 }
.faq details[open] summary::after { content: "-" }
.faq .a { padding: 0 0 24px; max-width: 62ch; font-size: var(--t-s) }

.close { text-align: center; padding-bottom: 48px }
.close h2 { margin: 0 auto; max-width: 18ch }
.close .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px }

.foot { border-top: 1px solid var(--hair); margin-top: 96px; padding: 48px 0 64px }
.foot-top { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px }
.foot-links a { color: var(--dim); font-size: var(--t-s); padding: 4px 0 }
.foot-links a:hover { color: var(--ink) }
.erdn-badge { display: block; width: 180px; height: auto; border-radius: 6px ; margin-top: 32px }
.foot-base { margin-top: 40px; font-size: var(--t-xs); color: var(--sage); display: grid; gap: 6px; max-width: 80ch }
@media (max-width: 900px) {
  .trial { grid-template-columns: 1fr }
  .pro-head { grid-template-columns: 1fr; gap: 32px }
}
@media (max-width: 560px) {
  .grid4 { grid-template-columns: 1fr }
  .lead-copy .ctas .btn, .close .ctas .btn, .trial .btn { flex: 1 1 100% }
  .tiers { grid-template-columns: 1fr }
  .lens { border-radius: 12px }
  .cmp td { width: 26% }
}
@media (prefers-reduced-motion: reduce) { .lens img, .lens .ko { transition: none } }
