:root {
  --ink: #172033;
  --muted: #687083;
  --line: #dde3ec;
  --surface: #ffffff;
  --soft: #f4f7fb;
  --blue: #1478e6;
  --green: #18864b;
  --green-soft: #eaf8f0;
  --shadow: 0 16px 44px rgba(20, 32, 52, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #eef2f7; font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, a { font: inherit; }
.site-header { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; min-height: 64px; padding: 0 5vw; border-bottom: 1px solid rgba(221,227,236,.9); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.brand { color: var(--ink); font-weight: 750; text-decoration: none; letter-spacing: -.01em; }
.status-dot { display: inline-flex; gap: 8px; align-items: center; color: var(--green); font-size: 13px; font-weight: 700; }
.status-dot span { width: 8px; height: 8px; border-radius: 99px; background: #24ad64; box-shadow: 0 0 0 4px var(--green-soft); }
main { width: min(1500px, 94vw); margin: 0 auto; padding-bottom: 80px; }
.hero { padding: 72px 0 30px; }
.eyebrow { margin: 0 0 10px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1 { max-width: 900px; margin: 0; font-size: clamp(36px, 5vw, 70px); line-height: 1.02; letter-spacing: -.045em; }
.lede { max-width: 780px; margin: 20px 0 0; color: var(--muted); font-size: 18px; }
.summary { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.summary span { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.72); font-size: 13px; font-weight: 700; }
.page-nav { position: sticky; top: 64px; z-index: 15; display: flex; gap: 8px; overflow-x: auto; padding: 14px 0 16px; background: linear-gradient(#eef2f7 80%, rgba(238,242,247,0)); scrollbar-width: none; }
.page-nav::-webkit-scrollbar { display: none; }
.page-nav a { flex: 0 0 auto; padding: 9px 13px; border: 1px solid var(--line); border-radius: 10px; color: #475066; background: white; text-decoration: none; font-size: 13px; font-weight: 700; }
.page-nav a:hover, .page-nav a:focus-visible { border-color: var(--blue); color: var(--blue); outline: none; }
.gallery { display: grid; gap: 24px; }
.review-card { scroll-margin-top: 135px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.card-head { display: flex; justify-content: space-between; gap: 20px; padding: 24px 26px 18px; border-bottom: 1px solid var(--line); }
.card-head h2 { margin: 0; font-size: 23px; letter-spacing: -.02em; }
.card-head p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.count { align-self: start; padding: 7px 10px; border-radius: 999px; color: var(--green); background: var(--green-soft); font-size: 12px; font-weight: 800; white-space: nowrap; }
.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.shot { position: relative; margin: 0; background: var(--soft); }
.shot button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.shot img { display: block; width: 100%; aspect-ratio: 1.44; object-fit: cover; object-position: top left; background: white; }
.shot figcaption { position: absolute; top: 14px; left: 14px; padding: 7px 10px; border-radius: 9px; color: white; background: rgba(19,30,49,.88); font-size: 12px; font-weight: 800; box-shadow: 0 5px 16px rgba(0,0,0,.15); }
.shot.after figcaption { background: rgba(18,126,67,.92); }
.details { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 28px; padding: 26px; }
.details h3 { margin: 0 0 14px; font-size: 14px; letter-spacing: .02em; }
.issues { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 0; padding: 0; list-style: none; counter-reset: issue; }
.issues li { counter-increment: issue; display: grid; grid-template-columns: 28px 1fr auto; gap: 9px; align-items: start; padding: 12px; border: 1px solid var(--line); border-radius: 12px; color: #374056; background: #fbfcfe; font-size: 13px; }
.issues li::before { content: counter(issue); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; color: #516079; background: #e9eef5; font-size: 11px; font-weight: 800; }
.fixed { color: var(--green); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.frames { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.frame { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.frame button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.frame img { display: block; width: 100%; aspect-ratio: 1.44; object-fit: cover; }
.frame span { display: block; padding: 8px 9px; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.empty { margin: 0; padding: 18px; border: 1px dashed #cbd3df; border-radius: 12px; color: var(--muted); background: var(--soft); font-size: 13px; }
.lightbox { width: min(96vw, 1500px); max-height: 94vh; padding: 48px 14px 14px; border: 0; border-radius: 18px; background: white; box-shadow: 0 32px 90px rgba(0,0,0,.3); }
.lightbox::backdrop { background: rgba(11,17,29,.72); backdrop-filter: blur(6px); }
.lightbox img { display: block; max-width: 100%; max-height: 78vh; margin: auto; border-radius: 10px; }
.lightbox p { margin: 10px 8px 0; color: var(--muted); text-align: center; }
.lightbox-close { position: absolute; top: 10px; right: 12px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 9px; background: white; cursor: pointer; }
@media (max-width: 920px) { .comparison, .details { grid-template-columns: 1fr; } .issues { grid-template-columns: 1fr; } }
@media (max-width: 560px) { main { width: min(100% - 24px, 1500px); } .site-header { padding: 0 16px; } .hero { padding-top: 44px; } .card-head, .details { padding: 18px; } .card-head { align-items: start; } h1 { font-size: 40px; } }
