:root {
  --bg: #f5f7f8;
  --surface: #ffffff;
  --surface-strong: #f9fafb;
  --border: #dce3e8;
  --border-soft: #e7edf1;
  --text: #1f2933;
  --ink: #111827;
  --muted: #607080;
  --muted-2: #7b8794;
  --green: #138a63;
  --green-strong: #0f7253;
  --green-soft: #e5f6ef;
  --teal: #0f766e;
  --blue: #2563a8;
  --blue-soft: #e9f2ff;
  --red: #c24135;
  --red-soft: #fff0ed;
  --amber: #b7791f;
  --amber-soft: #fff7e6;
  --shadow: 0 16px 38px rgba(31, 41, 51, 0.08);
  --shadow-sm: 0 6px 18px rgba(31, 41, 51, 0.06);
  --radius: 12px;
  --radius-sm: 8px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.18; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--green); }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 5px;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.06s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 6px 16px rgba(19, 138, 99, 0.22); }
.btn--primary:hover { background: var(--green-strong); }
.btn--outline { background: var(--surface); color: var(--ink); border-color: var(--border); }
.btn--outline:hover { border-color: var(--muted-2); background: var(--surface-strong); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--surface-strong); }
.btn--lg { padding: 14px 24px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 247, 248, 0.85);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: var(--ink); }
.brand__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px;
  background: #0d332d url("favicon.svg") center / cover no-repeat;
  color: transparent;
  overflow: hidden;
}
.brand__mark svg { display: none; }
.brand__name { font-size: 17px; letter-spacing: -0.02em; }
.nav__links { display: flex; gap: 26px; margin-left: 12px; }
.nav__links a { color: var(--muted); font-weight: 500; font-size: 15px; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { display: flex; gap: 10px; margin-left: auto; }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 84px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--green); background: var(--green-soft);
  padding: 5px 11px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: 52px; font-weight: 700; }
.hero h1 .hl { color: var(--muted); }
.hl { color: var(--green); }
.lede { font-size: 19px; color: var(--muted); margin-top: 22px; max-width: 33ch; }
.hero__actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; padding: 0; margin: 30px 0 0; }
.hero__trust li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--green { background: var(--green); }
.dot--blue { background: var(--blue); }
.dot--teal { background: var(--teal); }

/* ---------- Hero monitor panel ---------- */
.hero__panel { display: flex; justify-content: center; }
.monitor {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 18px;
}
.monitor__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.monitor__title { font-weight: 600; color: var(--ink); font-size: 15px; }
.monitor__live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--green); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(19,138,99,0.5); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(19,138,99,0.45); }
  70% { box-shadow: 0 0 0 7px rgba(19,138,99,0); }
  100% { box-shadow: 0 0 0 0 rgba(19,138,99,0); }
}
.contract { border: 1px solid var(--border); border-radius: 10px; padding: 12px; margin-bottom: 10px; }
.contract--pass { background: var(--surface-strong); }
.contract--fail { background: var(--red-soft); border-color: #f3cfc8; }
.contract__row { display: flex; gap: 11px; align-items: flex-start; }
.status {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; color: #fff; margin-top: 1px;
}
.status--pass { background: var(--green); }
.status--fail { background: var(--red); }
.status--sm { width: 18px; height: 18px; }
.contract__body { display: flex; flex-direction: column; gap: 2px; }
.contract__name { font-weight: 600; font-size: 14px; color: var(--ink); }
.contract__meta { font-size: 12.5px; color: var(--muted-2); }
.evidence { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; padding-left: 33px; }
.evidence__chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 500; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 3px 8px;
}
.evidence__chip--cause { color: var(--red); border-color: #f3cfc8; background: #fff; }
.monitor__foot { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--border); }
.monitor__foot strong { color: var(--ink); }
.exposure { color: var(--muted); }
.exposure strong { color: var(--amber); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section--tint { background: var(--surface-strong); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.section__head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section__head .eyebrow { margin-bottom: 14px; }
.section__head h2 { font-size: 34px; font-weight: 700; }
.section__head p { font-size: 18px; color: var(--muted); margin-top: 16px; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted); }
.fail-card { border-left: 3px solid var(--red); }

/* ---------- Wedge ---------- */
.wedge { background: var(--ink); padding: 70px 0; }
.wedge__inner { text-align: center; max-width: 760px; }
.wedge__quote { color: #fff; font-size: 32px; font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; }
.wedge__quote em { color: #9fe7cd; }
.wedge__quote .hl { color: #4cd9a6; }
.wedge__sub { color: #9aa7b4; font-size: 17px; margin-top: 18px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { position: relative; padding: 24px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--green-soft); color: var(--green); font-weight: 700; font-size: 16px; margin-bottom: 14px;
}
.step h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- Split (evidence) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__copy h2 { font-size: 32px; font-weight: 700; margin: 12px 0 16px; }
.split__copy > p { font-size: 17px; color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; font-size: 15.5px; color: var(--text); font-weight: 500; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23138a63' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-11'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.evidence-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.evidence-card__head { display: flex; align-items: center; gap: 9px; padding: 14px 16px; border-bottom: 1px solid var(--border); font-weight: 600; font-size: 14px; color: var(--ink); }
.evidence-card__shot {
  height: 150px; margin: 16px; border-radius: 10px;
  background: repeating-linear-gradient(135deg, #eef2f4, #eef2f4 10px, #e9eef1 10px, #e9eef1 20px);
  border: 1px dashed var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted-2); font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
}

/* ---------- Install / sign-in ---------- */
.install { min-height: calc(100vh - 66px); }
.install__hero { padding: 84px 0; }
.install__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.install__copy h1 { font-size: 46px; font-weight: 700; max-width: 12ch; }
.install__copy .lede { max-width: 36ch; }
.install__checks {
  list-style: none;
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
}
.install__checks li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-weight: 500;
}
.install__checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%23138a63' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-11'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.install-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 28px;
}
.install-card label {
  display: block;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 10px;
}
.install-card__control {
  display: flex;
  gap: 10px;
}
.install-card input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  outline: none;
}
.install-card input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(19, 138, 99, 0.12);
}
.install-card__hint,
.install-card__error {
  font-size: 13.5px;
  margin-top: 12px;
}
.install-card__hint { color: var(--muted); }
.install-card__error { color: var(--red); min-height: 20px; }
.kv { margin: 0; padding: 0 16px 18px; display: grid; gap: 0; }
.kv > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--border-soft); font-size: 14px; }
.kv dt { color: var(--muted); margin: 0; }
.kv dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
.kv dd.bad { color: var(--red); }

/* ---------- Features ---------- */
.feat__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--green-soft); color: var(--green); margin-bottom: 14px;
}
.feat h3 { font-size: 16px; }

/* ---------- Who ---------- */
.who__card { padding: 26px; }
.who__card h3 { font-size: 18px; }
.who__card p { font-size: 15px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 26px 22px;
}
.plan--featured { border: 2px solid var(--green); box-shadow: var(--shadow); }
.plan__badge {
  position: absolute; top: -12px; left: 22px;
  background: var(--green); color: #fff; font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 999px;
}
.plan__name { font-size: 18px; font-weight: 600; }
.plan__price { margin: 12px 0 4px; display: flex; align-items: baseline; gap: 3px; }
.plan__amt { font-size: 38px; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; }
.plan__per { color: var(--muted-2); font-weight: 500; font-size: 15px; }
.plan__for { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.plan__list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; flex: 1; }
.plan__list li { position: relative; padding-left: 24px; font-size: 14px; color: var(--text); }
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 15px; height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%23138a63' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-11'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pricing__note { text-align: center; color: var(--muted-2); font-size: 14px; margin-top: 26px; }

/* ---------- Final CTA ---------- */
.cta { padding: 90px 0; }
.cta__inner {
  text-align: center; background: var(--green); border-radius: 22px; padding: 60px 32px;
  box-shadow: 0 24px 50px rgba(19, 138, 99, 0.25);
}
.cta__inner h2 { color: #fff; font-size: 34px; font-weight: 700; }
.cta__inner p { color: #d6f3e7; font-size: 18px; margin-top: 14px; }
.cta__actions { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.cta .btn--primary { background: #fff; color: var(--green-strong); box-shadow: none; }
.cta .btn--primary:hover { background: #f0fbf6; }
.cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.5); }
.cta .btn--ghost:hover { background: rgba(255,255,255,0.12); }

/* ---------- Footer ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 52px 0 28px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer__brand p { color: var(--muted); font-size: 14px; margin-top: 12px; max-width: 34ch; }
.brand--footer .brand__name { font-size: 16px; }
.footer__col { display: flex; flex-direction: column; gap: 11px; }
.footer__h { font-size: 13px; font-weight: 600; color: var(--ink); text-transform: uppercase; letter-spacing: 0.04em; }
.footer__col a { color: var(--muted); font-size: 14.5px; }
.footer__col a:hover { color: var(--ink); }
.footer__legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border-soft);
  color: var(--muted-2); font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .install__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 42px; }
  .install__copy h1 { font-size: 40px; max-width: 16ch; }
  .lede { max-width: none; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .nav__links { display: none; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .hero { padding: 48px 0 56px; }
  .install__hero { padding: 48px 0 56px; }
  .hero h1 { font-size: 34px; }
  .install__copy h1 { font-size: 32px; max-width: none; }
  .install-card { padding: 20px; }
  .install-card__control { flex-direction: column; }
  .install-card__control .btn { width: 100%; }
  .section { padding: 60px 0; }
  .section__head h2 { font-size: 27px; }
  .grid--2, .grid--3, .grid--4, .steps, .pricing { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .nav__cta .btn--ghost { display: none; }
  .wedge__quote { font-size: 24px; }
  .cta__inner { padding: 44px 20px; }
  .cta__inner h2 { font-size: 26px; }
}

/* ---------- Legal pages ---------- */
.legal { padding: 48px 0 72px; }
.legal__wrap { max-width: 760px; margin: 0 auto; }
.legal h1 { font-size: 36px; font-weight: 700; }
.legal .updated { color: var(--muted-2); font-size: 14px; margin: 10px 0 30px; }
.legal h2 { font-size: 20px; font-weight: 600; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--text); font-size: 15.5px; }
.legal p { margin: 12px 0; }
.legal ul { margin: 12px 0; padding-left: 22px; display: grid; gap: 9px; }
.legal a { color: var(--green); font-weight: 500; }
.legal__back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 500; font-size: 14px; margin-bottom: 10px; }
.legal__back:hover { color: var(--ink); }

/* ---------- Product showcase ---------- */
.showcase { display: grid; gap: 60px; margin-top: 8px; }
.showcase__row { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 44px; align-items: center; }
.showcase__row--rev { grid-template-columns: 1.18fr 0.82fr; }
.showcase__row--rev .showcase__text { order: 2; }
.showcase__row--rev .shot { order: 1; }
.showcase__tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.showcase__text h3 { font-size: 24px; font-weight: 700; line-height: 1.25; }
.showcase__text p { font-size: 16px; color: var(--muted); margin-top: 12px; }
.shot { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.shot__button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  text-align: left;
}
.shot__button:focus-visible {
  outline: 3px solid rgba(19, 138, 99, 0.38);
  outline-offset: -3px;
}
.shot__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: var(--surface-strong); border-bottom: 1px solid var(--border); }
.shot__bar span { width: 11px; height: 11px; border-radius: 50%; background: #d7dee3; }
.shot__bar span:nth-child(1) { background: #e6837a; }
.shot__bar span:nth-child(2) { background: #ecc06a; }
.shot__bar span:nth-child(3) { background: #7fc8a0; }
.shot__bar em { margin-left: 10px; font-style: normal; font-size: 12.5px; color: var(--muted-2); }
.shot img { display: block; width: 100%; height: auto; }
.is-lightbox-open { overflow: hidden; }
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(11, 23, 31, 0.78);
  backdrop-filter: blur(10px);
}
.lightbox__panel {
  width: min(1500px, 100%);
  max-height: calc(100vh - 56px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}
.lightbox__top,
.lightbox__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}
.lightbox__meta {
  border-top: 1px solid var(--border);
  border-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}
.lightbox__eyebrow {
  margin: 0 0 3px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lightbox__top h2 {
  font-size: 18px;
  line-height: 1.2;
}
.lightbox__close,
.lightbox__nav {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.lightbox__close {
  padding: 10px 14px;
}
.lightbox__stage {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 72px;
  background: #0d171d;
}
.lightbox__stage img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 190px);
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.26);
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px 12px;
}
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
.lightbox__close:hover,
.lightbox__nav:hover {
  border-color: var(--green);
}
.lightbox__close:focus-visible,
.lightbox__nav:focus-visible {
  outline: 3px solid rgba(19, 138, 99, 0.28);
  outline-offset: 2px;
}
.caps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 18px; }
.caps li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--text); font-weight: 500; }
.caps li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%23138a63' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-11'/%3E%3C/svg%3E") center / 11px no-repeat; }

@media (max-width: 940px) {
  .showcase__row, .showcase__row--rev { grid-template-columns: 1fr; gap: 24px; }
  .showcase__row--rev .showcase__text, .showcase__row--rev .shot { order: 0; }
  .caps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .caps { grid-template-columns: 1fr; }
  .showcase { gap: 44px; }
  .lightbox { padding: 12px; }
  .lightbox__panel { max-height: calc(100vh - 24px); border-radius: 12px; }
  .lightbox__top, .lightbox__meta { padding: 12px; }
  .lightbox__stage { padding: 12px; }
  .lightbox__stage img { max-height: calc(100vh - 178px); }
  .lightbox__nav { position: static; transform: none; }
  .lightbox__stage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .lightbox__stage img { grid-column: 1 / -1; grid-row: 1; }
  .lightbox__nav--prev { grid-column: 1; grid-row: 2; }
  .lightbox__nav--next { grid-column: 2; grid-row: 2; }
}
