/* Lazaclip: product page styles on top of /assets/aphex.css (Aphex Coding "Nocne studio" standard: tokens,
   components, motion). Only the product scene (card -> scan -> preview -> MP4), page sections and guide pages live here.
   No web fonts from other hosts, no frameworks, no images. */

/* ---------- Base tweaks ---------- */
code { padding: .08em .35em; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); font-size: .86em; }
.narrow { max-width: 46rem; }
.center { text-align: center; }
.cta.center { justify-content: center; }
.note { font-size: var(--fs-small); color: var(--text-3); }
:lang(ko) { word-break: keep-all; }

/* ---------- Navigation (header.nav.site-header) ---------- */
.site-header .brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 4px var(--glow-2); }
.nav-row > nav.langs { margin-left: 0; }
.langs ul { display: flex; flex-wrap: wrap; gap: .15rem; margin: 0; padding: 0; list-style: none; }
.langs a {
  display: block; padding: .4rem .6rem; border-radius: var(--r-pill); font-size: .85rem; color: var(--text-3);
  transition: color var(--t), background-color var(--t);
}
.langs a:hover { color: var(--text); background: var(--surface-2); }
.langs a[aria-current="page"] { color: var(--accent-text); background: color-mix(in srgb, var(--accent) 12%, transparent); }
@media (max-width: 860px) {
  .nav-row > nav.langs { display: block; margin-left: auto; }
  .site-header .brand span { white-space: nowrap; }
}
@media (max-width: 600px) {
  .site-header { position: relative; }
  .nav-row { flex-wrap: wrap; height: auto; min-height: var(--nav-h); padding-block: .55rem; gap: .2rem .75rem; }
  .nav-row > nav.langs { margin-left: 0; width: 100%; }
  .langs ul { gap: .1rem .25rem; }
  .langs a { padding: .3rem .55rem; font-size: .8rem; }
}

/* ---------- Hero ---------- */
.hero .eyebrow { margin-bottom: 0; }
.hero .lead code { font-size: .82em; }
.btn-soon {
  cursor: default; background: var(--surface); border-color: var(--line-2); color: var(--text-2);
}
.btn-soon:hover { transform: none; }
.buy-note { max-width: 35rem; margin-top: 1.1rem; }
.facts { margin-top: 1.8rem; }

/* ---------- Scene: memory card -> scan -> 10 s preview -> MP4 (illustration, figcaption says so) ---------- */
.hero .stage { padding-top: 3.5rem; }
.hero .obj { --size: 104px; top: -6.25rem; right: -1.75rem; transform: translateZ(140px); }
.win .tree {
  padding: .9rem 1.1rem .7rem; border-bottom: 1px solid var(--win-line); color: var(--win-text-2); font-size: .78rem;
}
.win .tree ul { margin: 0; padding: 0; list-style: none; }
.win .tree ul ul { padding-left: 1.1rem; border-left: 1px dashed rgba(255, 255, 255, .14); margin-left: .35rem; }
.win .tree li { padding: .08rem 0; }
.win .tree li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: .55rem; border-radius: 2px; background: #3a414c; vertical-align: .05em; }
.win .tree .bad { color: var(--win-accent); }
.win .tree .bad::before { background: var(--win-accent); box-shadow: 0 0 10px var(--win-accent); animation: rsv-pulse 2.4s var(--ease-in-out) infinite; }
.win .tree .fixed { color: #e6edf3; font-weight: 600; }
.win .tree .fixed::before { background: #3fd36f; box-shadow: 0 0 10px #3fd36f; }
.win .tree .arrow { display: block; margin: .55rem 0 .2rem; color: var(--win-text-2); }
@keyframes rsv-pulse { 50% { opacity: .35; } }
.log li:nth-child(4) .ok { color: #3fd36f; border-color: rgba(63, 211, 111, .4); background: rgba(63, 211, 111, .1); }
.hero .stage figcaption { text-align: left; line-height: 1.55; }
.hero .stage figcaption code { font-size: .92em; }
@media (max-width: 520px) {
  .hero .obj { --size: 64px; top: -2.75rem; right: .75rem; }
  .win .tab { display: none; }
  .win { transform: none; }
}

/* ---------- Sections ---------- */
main > section:not(.hero) { position: relative; padding-block: var(--section); }
.band { background: linear-gradient(180deg, transparent, var(--bg-2) 18%, var(--bg-2) 82%, transparent); }
main > section:not(.hero) h2 { font-size: var(--fs-h2); letter-spacing: var(--track-h2); line-height: 1.08; margin-bottom: 1.4rem; }
main > section:not(.hero) .narrow > p { color: var(--text-2); }
main > section:not(.hero) .narrow > p + p { margin-top: 1rem; }
main > section:not(.hero) > .wrap > p.note { margin-top: 2rem; max-width: 46rem; margin-inline: auto; }

/* How it works: three numbered cards */
.steps {
  counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem;
  margin: 0; padding: 0; list-style: none;
}
.steps li {
  counter-increment: step; position: relative; padding: 1.5rem; border-radius: var(--r-l);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card);
}
.steps li::before {
  content: "0" counter(step); display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 1rem;
  border-radius: 11px; font: 600 .85rem/1 var(--font-mono); color: var(--accent-text);
  background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}
.steps h3 { font-size: var(--fs-h3); letter-spacing: var(--track-h3); margin-bottom: .6rem; }
.steps p { color: var(--text-2); font-size: .95rem; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* What it supports: cards of the standard */
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.two-col + .two-col { margin-top: 1rem; }
.two-col > .card { padding: 1.5rem 1.6rem; }
.two-col > .card h3 { font-size: var(--fs-h3); letter-spacing: var(--track-h3); margin-bottom: .9rem; }
.two-col > .card ul { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; color: var(--text-2); font-size: .95rem; }
.two-col > .card li { position: relative; padding-left: 1.2rem; }
.two-col > .card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--line-3); }
.two-col > .card.tested li::before { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.two-col > .card .note { margin-top: 1rem; }
.tested { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
@media (max-width: 760px) { .two-col { grid-template-columns: minmax(0, 1fr); } }

/* FAQ uses .faq from aphex.css */
.faq { margin-inline: auto; }
.faq details > p { font-size: .96rem; }

/* Requirements + second CTA block */
.req-panel { text-align: left; }
.req-panel h2 { margin-bottom: 1.2rem; }
.req-panel > p { color: var(--text-2); max-width: none; }
.req-panel .cta { margin-top: 1.8rem; }
.req-panel .buy-note { margin-inline: auto; text-align: center; }
ul.plain { display: grid; gap: .55rem; margin: 0 0 1.3rem; padding: 0; list-style: none; color: var(--text); }
ul.plain li { display: flex; gap: .7rem; align-items: baseline; }
ul.plain li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); transform: translateY(-.1em); }

/* Guides on the home page and the guide list */
.home-guides > .wrap > p { color: var(--text-2); }
.guide-list { display: grid; gap: .75rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.guide-list li {
  padding: 1.15rem 1.3rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line);
  transition: border-color var(--t), background-color var(--t);
}
.guide-list li:hover { border-color: var(--line-2); background: var(--surface-2); }
.guide-list h2, .guide-list h3 { font-size: var(--fs-h3); letter-spacing: var(--track-h3); margin: 0 0 .35rem !important; line-height: 1.3; }
.guide-list h2 a, .guide-list h3 a { text-decoration: none; }
.guide-list h2 a:hover, .guide-list h3 a:hover { color: var(--accent-text); }
.guide-list p { color: var(--text-2); font-size: .94rem; }
.home-guides a, .doc p a, .doc li a, .doc td a { text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: .22em; }

/* ---------- Footer (footer.footer.site-footer) ---------- */
.foot { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.foot-brand .brand img { width: 30px; height: 30px; border-radius: 8px; }
.footer-links { display: flex !important; flex-wrap: wrap; gap: .6rem 1.6rem !important; }
.footer-links a:hover { color: var(--accent-text); }
.legal .tm { max-width: 60rem; line-height: 1.6; }

/* ---------- Guides, lists and legal pages (shell) ---------- */
.doc { padding-block: clamp(2.5rem, 5vw, 4.5rem) var(--section); }
.doc h1 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3rem); letter-spacing: var(--track-h2); line-height: 1.1; margin: 1rem 0 1rem; }
.doc h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); letter-spacing: var(--track-h3); margin: 2.4rem 0 .8rem; }
.doc h3 { font-size: var(--fs-h3); margin: 1.8rem 0 .6rem; }
.doc p, .doc li { color: var(--text-2); }
.doc p + p { margin-top: 1rem; }
.doc .lead { margin-bottom: 1rem; }
.doc ol, .doc ul { padding-left: 1.3rem; margin: 1rem 0; }
.doc li + li { margin-top: .4rem; }
.doc ul.guide-list { padding-left: 0; }
.doc strong { color: var(--text); }
.crumbs { font-size: var(--fs-small); color: var(--text-3); }
.crumbs a { color: var(--text-2); }
.crumbs a:hover { color: var(--accent-text); }
.updated { font-size: var(--fs-small); color: var(--text-3); font-family: var(--font-mono); }
.guide pre {
  overflow-x: auto; margin: 1.2rem 0; padding: 1rem 1.1rem; border-radius: var(--r);
  background: var(--win-bg); color: var(--win-text); border: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; line-height: 1.6;
}
.guide pre code { padding: 0; background: none; border: 0; color: inherit; }
.guide .callout { margin: 1.4rem 0; padding: 1rem 1.2rem; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line-2); border-left: 3px solid var(--accent); }
.guide .callout p { margin: 0; }
.product-box {
  position: relative; overflow: hidden; margin: 3rem 0; padding: 1.8rem; border-radius: var(--r-l);
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-2); box-shadow: var(--shadow-card);
}
.product-box::after { content: ""; position: absolute; z-index: -1; right: -20%; bottom: -60%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 65%); pointer-events: none; }
.product-box { isolation: isolate; }
.product-box h2 { margin-top: 0 !important; }
.product-box p + p { margin-top: 1.2rem; }
.related ul { padding-left: 1.2rem; }
.doc .table-wrap { overflow-x: auto; margin: 1.2rem 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.doc th, .doc td { padding: .6rem .7rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--text-2); }
.doc th { color: var(--text); font-weight: 600; }
.lang-switch { font-size: var(--fs-small); }
/* <article class="legal"> of the legal pages is not the footer's .legal strip */
.doc article.legal { display: block; margin: 0; padding: 0; border: 0; font-size: inherit; color: inherit; }
