:root {
  --bg: #0a0b0c;
  --bg-2: #111315;
  --hud: #f4f1ea;
  --amber: #ffb21e;
  --af: #5cff8a;
  --rec: #ff4a3d;
  --mute: rgba(244, 241, 234, 0.58);
  --line: rgba(244, 241, 234, 0.12);
  --pad: clamp(20px, 5.5vw, 80px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--bg); color: var(--hud); }
body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.t { font-family: "Chakra Petch", "Noto Sans SC", monospace; letter-spacing: 0.06em; text-transform: uppercase; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border: 1px solid var(--hud); color: var(--hud);
  text-decoration: none; font-size: 14px; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { background: var(--hud); color: #111; }
.btn.solid { background: var(--amber); border-color: var(--amber); color: #111; font-weight: 600; }
.btn.solid:hover { background: #ffc54d; border-color: #ffc54d; }
.btn svg { width: 16px; height: 16px; }

/* ===== Viewfinder hero ===== */
.vf { position: relative; height: 100vh; min-height: 720px; overflow: hidden; }
.vf .bg {
  position: absolute; inset: 0;
  background: url("assets/photos/black_puppy.jpg") center 40% / cover no-repeat;
  filter: brightness(0.7) saturate(1.05);
  animation: breathe 14s ease-in-out infinite alternate;
}
@keyframes breathe { from { transform: scale(1.04); } to { transform: scale(1.1); } }
.vf .vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 45%, transparent 35%, rgba(0,0,0,0.78) 100%); }
.vf .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.55), transparent 62%); }
.grid3 {
  position: absolute; inset: 34px; pointer-events: none; opacity: 0.14;
  background:
    linear-gradient(90deg, transparent 33.2%, #fff 33.3%, transparent 33.45%, transparent 66.55%, #fff 66.6%, transparent 66.75%),
    linear-gradient(0deg, transparent 33.2%, #fff 33.3%, transparent 33.45%, transparent 66.55%, #fff 66.6%, transparent 66.75%);
}
.frame { position: absolute; inset: 34px; pointer-events: none; }
.frame i { position: absolute; width: 46px; height: 46px; border: 2px solid var(--hud); }
.frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.frame i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.frame i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.topbar {
  position: absolute; z-index: 5; top: 56px; left: var(--pad); right: var(--pad);
  display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 13px;
}
.brand { display: flex; gap: 10px; align-items: center; font-family: "Chakra Petch"; font-weight: 600; font-size: 20px; letter-spacing: 0.14em; text-decoration: none; }
.brand svg { width: 24px; height: 24px; }
.navlinks { display: flex; gap: 28px; align-items: center; }
.navlinks a { text-decoration: none; color: var(--mute); transition: color .15s; }
.navlinks a:hover { color: var(--hud); }
.lang { background: none; border: 1px solid var(--line); color: var(--hud); padding: 6px 10px; cursor: pointer; font-family: "Chakra Petch"; font-size: 12px; letter-spacing: 0.08em; }
.lang:hover { border-color: var(--hud); }
.rec { display: flex; gap: 20px; color: var(--mute); }
.rec b { color: var(--hud); font-weight: 500; }
.rec .dot { color: var(--rec); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

.af { --d: 2s; position: absolute; left: 52%; top: 36%; width: 210px; height: 170px; transform: scale(1.55); opacity: 0.35; }
.af i { position: absolute; width: 22px; height: 22px; border: 2px solid var(--amber); }
.af i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.af i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.af i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.af i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.af span { position: absolute; top: -26px; left: 0; font-size: 12px; color: var(--af); white-space: nowrap; opacity: 0; transition: opacity .2s; }
.af.go { animation: lock var(--d) ease-in-out forwards; }
.af.locked i { border-color: var(--af); }
.af.locked span { opacity: 1; }
@keyframes lock { 0%, 55% { transform: scale(1.55); opacity: 0.35; } 85% { transform: scale(0.95); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }

.copy { position: absolute; z-index: 4; left: var(--pad); bottom: 140px; max-width: 760px; }
.kicker { color: var(--amber); font-size: 13px; margin-bottom: 18px; }
.copy h1 { font-weight: 900; font-size: clamp(48px, 6.4vw, 96px); line-height: 1.04; margin: 0 0 22px; letter-spacing: -0.02em; }
html[lang="en"] .copy h1 { font-size: clamp(40px, 4.9vw, 72px); max-width: 580px; }
.copy p { font-size: clamp(15px, 1.3vw, 18px); line-height: 1.8; color: rgba(244,241,234,0.84); margin: 0 0 30px; max-width: 580px; }
.search {
  display: flex; align-items: center; gap: 14px; max-width: 560px;
  background: rgba(10,11,12,0.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(244,241,234,0.22); padding: 16px 20px; font-size: 18px;
}
.search .icon { color: var(--mute); }
.typed { white-space: nowrap; overflow: hidden; display: inline-block; vertical-align: middle; border-right: 2px solid var(--amber); padding-right: 2px; animation: blink 1s steps(1) infinite; min-height: 1.2em; }
@keyframes blink { 50% { border-color: transparent; } }
.search .res { margin-left: auto; font-size: 12px; color: var(--af); opacity: 0; transition: opacity .25s; }
.search .res.on { opacity: 1; }

.hudbar {
  position: absolute; z-index: 4; left: 34px; right: 34px; bottom: 34px; min-height: 70px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 calc(var(--pad) - 34px); background: linear-gradient(0deg, rgba(0,0,0,0.78), transparent); font-size: 13px;
}
.hudbar .stats { display: flex; gap: 40px; }
.hudbar .stats span { color: var(--mute); }
.hudbar .stats b { color: var(--hud); font-weight: 500; margin-left: 8px; }
.hudbar .cta { display: flex; gap: 12px; }

/* ===== Sections ===== */
section.block { padding: 120px var(--pad); position: relative; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 54px; flex-wrap: wrap; }
.sec-head .lbl { color: var(--amber); font-size: 13px; margin-bottom: 14px; }
.sec-head h2 { margin: 0; font-size: clamp(34px, 4vw, 56px); font-weight: 900; line-height: 1.12; letter-spacing: -0.01em; }
.sec-head p { margin: 0; max-width: 440px; color: var(--mute); line-height: 1.8; font-size: 15px; }

/* modes grid */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mode { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--bg-2); }
.mode img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6); transition: transform .6s ease, filter .6s ease; }
.mode:hover img { transform: scale(1.06); filter: brightness(0.72); }
.mode::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.82)); }
.mode .lbl {
  position: absolute; z-index: 2; top: 16px; left: 16px; font-size: 12px; color: var(--amber);
  background: rgba(10, 11, 12, 0.72); border: 1px solid rgba(255, 178, 30, 0.35);
  padding: 4px 9px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.mode .corner { position: absolute; z-index: 2; width: 18px; height: 18px; border: 2px solid var(--hud); opacity: 0.85; }
.mode .c1 { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.mode .c2 { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.mode .cap { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 26px; }
.mode h3 { margin: 0 0 8px; font-size: 26px; font-weight: 900; }
.mode p { margin: 0; font-size: 14px; color: rgba(244,241,234,0.8); line-height: 1.65; }
.mode .q { display: inline-block; margin-top: 12px; font-size: 12px; color: var(--af); border: 1px solid rgba(92,255,138,0.4); padding: 4px 8px; }

/* product screen */
.screen-wrap { position: relative; margin-top: 10px; }
.screen { border: 1px solid var(--line); padding: 14px; background: var(--bg-2); }
.screen img { width: 100%; }
.callout { position: absolute; display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--hud); white-space: nowrap; }
.callout::before { content: ""; width: 12px; height: 12px; border: 2px solid var(--af); border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 6px rgba(92,255,138,0.12); }
.callout span { background: rgba(10,11,12,0.86); border: 1px solid var(--line); padding: 6px 10px; }

/* privacy readout */
.readout { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.readout div { padding: 44px 26px; border-right: 1px solid var(--line); }
.readout div:last-child { border-right: 0; }
.readout .num { font-family: "Chakra Petch"; font-size: clamp(56px, 6vw, 88px); font-weight: 600; line-height: 1; color: var(--hud); }
.readout .num small { font-size: 0.32em; color: var(--amber); margin-left: 8px; letter-spacing: 0.08em; }
.readout .k { margin-top: 16px; font-size: 15px; font-weight: 500; }
.readout .d { margin-top: 6px; font-size: 13px; color: var(--mute); line-height: 1.6; }

/* hardware & formats */
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { border: 1px solid var(--line); padding: 34px; background: var(--bg-2); }
.panel h3 { margin: 0 0 6px; font-size: 22px; font-weight: 700; }
.panel > p { margin: 0 0 26px; color: var(--mute); font-size: 14px; line-height: 1.7; }
.chain { display: flex; flex-direction: column; gap: 10px; }
.chain .row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); font-size: 15px; }
.chain .row .t { font-size: 11px; color: var(--amber); min-width: 52px; }
.chain .row em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--mute); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-family: "Chakra Petch"; font-size: 13px; letter-spacing: 0.06em; padding: 8px 12px; border: 1px solid var(--line); }
.chips span.hi { border-color: var(--amber); color: var(--amber); }
.chips-label { font-size: 12px; color: var(--mute); margin: 22px 0 10px; }
.chips-label:first-of-type { margin-top: 0; }

/* compare */
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 18px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { font-weight: 500; color: var(--mute); font-size: 13px; }
.compare th.us, .compare td.us { color: var(--hud); background: rgba(255,178,30,0.06); }
.compare th.us { color: var(--amber); }
.compare td:first-child { color: var(--mute); width: 22%; }
.yes { color: var(--af); }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; font-size: 17px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: "Chakra Petch"; color: var(--amber); font-size: 20px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 14px 0 0; color: var(--mute); line-height: 1.8; font-size: 14.5px; }

/* final cta */
.final { position: relative; overflow: hidden; padding: 150px var(--pad); text-align: center; }
.final .bg { position: absolute; inset: 0; background: url("assets/photos/snowy_mountain.jpg") center / cover; filter: brightness(0.38); }
.final > *:not(.bg) { position: relative; }
.final h2 { margin: 0 0 18px; font-size: clamp(36px, 5vw, 72px); font-weight: 900; line-height: 1.1; }
.final p { margin: 0 auto 36px; max-width: 560px; color: rgba(244,241,234,0.8); line-height: 1.8; }
.final .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.final .note { margin-top: 22px; font-size: 12px; color: var(--mute); }

footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 30px var(--pad); border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }
footer a { text-decoration: none; }
footer a:hover { color: var(--hud); }
footer .links { display: flex; gap: 24px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .navlinks a.opt { display: none; }
  .rec { display: none; }
  .modes { grid-template-columns: repeat(2, 1fr); }
  .readout { grid-template-columns: repeat(2, 1fr); }
  .readout div:nth-child(2) { border-right: 0; }
  .readout div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .spec { grid-template-columns: 1fr; }
  .callout { display: none; }
}
@media (max-width: 720px) {
  .grid3, .frame { inset: 14px; }
  .topbar { top: 30px; }
  .navlinks a { display: none; }
  .af { left: 40%; top: 22%; width: 150px; height: 120px; }
  .copy { bottom: 170px; right: var(--pad); }
  .search { font-size: 15px; padding: 13px 14px; }
  .hudbar { left: 14px; right: 14px; bottom: 14px; flex-direction: column; align-items: stretch; padding: 14px; }
  .hudbar .stats { gap: 16px; flex-wrap: wrap; font-size: 11px; }
  .hudbar .cta .btn { flex: 1; justify-content: center; }
  section.block { padding: 80px var(--pad); }
  .modes { grid-template-columns: 1fr; }
  .mode { aspect-ratio: 4/3; }
  .readout { grid-template-columns: 1fr; }
  .readout div { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 18px; }
  .readout div:last-child { border-bottom: 0; }
  .faq { grid-template-columns: 1fr; }
  .compare { font-size: 13px; min-width: 560px; }
  .compare th, .compare td { padding: 12px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .af { transform: none; opacity: 1; }
}
