/* ============================================================
   平锐信息 · 行业方案详情页
   ============================================================ */
:root {
  --ink: #0b3037;
  --ink-soft: #234a4f;
  --deep: #00323a;
  --deeper: #02272d;
  --paper: #f6f4ee;
  --paper-2: #eef2ed;
  --card: #fffdf9;
  --line: #d8e2de;
  --line-soft: #e7ede9;
  --muted: #5d7579;
  --teal: #007e89;
  --teal-soft: #d9efef;
  --cyan: #7ee0e8;
  --orange: #c06a11;
  --orange-soft: #f5e7d7;
  --serif: "Noto Serif CJK SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --sans: "Inter", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --mono: "Cascadia Mono", "Noto Sans Mono", "Liberation Mono", monospace;
  --gutter: clamp(20px, 4.2vw, 64px);
  --wrap: 1240px;
  --head: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3, h4 { margin: 0; }
::selection { background: var(--cyan); color: var(--deep); }
[id] { scroll-margin-top: calc(var(--head) + 46px); }

.wrap {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.skip {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 500;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--deep);
  border-radius: 2px;
  font-size: 13px;
}
.skip:focus { top: 12px; }

/* ---------- progress ---------- */
.progress {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: 300;
  background: transparent;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
}

/* ---------- topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 220;
  height: var(--head);
  background: var(--deeper);
  color: #e9f7f7;
  border-bottom: 1px solid rgba(126, 224, 232, .12);
}
.topbar__in {
  width: min(1440px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 156px; height: auto; }
.topbar__divider {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, .18);
  flex: none;
}
.topbar__tag {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: #a9c8cb;
  white-space: nowrap;
}
.topbar__tag em {
  font-style: normal;
  font-family: var(--mono);
  color: var(--cyan);
  font-size: 11px;
}
.topnav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
  margin-left: auto;
}
.topnav a {
  font-size: 12.5px;
  color: #b8d2d5;
  letter-spacing: .04em;
  transition: color .2s ease;
}
.topnav a:hover, .topnav a:focus-visible { color: var(--cyan); }
.topbar__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  font-size: 12.5px;
  color: #e9f7f7;
  white-space: nowrap;
  border: 1px solid rgba(126, 224, 232, .35);
  padding: 7px 12px;
  transition: background .2s ease, border-color .2s ease;
}
.topbar__back:hover { background: rgba(126, 224, 232, .1); border-color: var(--cyan); }
.topbar.is-scrolled { box-shadow: 0 10px 34px rgba(0, 24, 28, .24); }

/* ---------- section nav ---------- */
.sectionnav {
  position: sticky;
  top: var(--head);
  z-index: 190;
  background: rgba(246, 244, 238, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.sectionnav__in {
  width: min(1440px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 38px);
  height: 46px;
  overflow-x: auto;
  scrollbar-width: none;
}
.sectionnav__in::-webkit-scrollbar { display: none; }
.sectionnav a {
  position: relative;
  flex: none;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: #6a8084;
  padding: 14px 0;
  transition: color .2s ease;
}
.sectionnav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1.5px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.sectionnav a:hover { color: var(--ink); }
.sectionnav a[aria-current="true"] { color: var(--ink); }
.sectionnav a[aria-current="true"]::after { transform: scaleX(1); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 84% 12%, rgba(126, 224, 232, .14), transparent 62%),
    radial-gradient(600px 400px at 4% 100%, rgba(255, 179, 72, .07), transparent 65%),
    linear-gradient(180deg, #00323a 0%, #012c33 100%);
  color: #f2fbfb;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(126, 224, 232, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 224, 232, .055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .95), rgba(0, 0, 0, .18) 78%, transparent);
  pointer-events: none;
}
.hero::after {
  content: attr(data-order);
  position: absolute;
  right: clamp(12px, 3vw, 44px);
  bottom: clamp(-36px, -2vw, -14px);
  font-family: var(--serif);
  font-size: clamp(150px, 22vw, 320px);
  line-height: 1;
  color: rgba(255, 255, 255, .028);
  pointer-events: none;
}
.hero__in {
  position: relative;
  z-index: 2;
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding-top: clamp(54px, 6vw, 90px);
  padding-bottom: clamp(38px, 4.4vw, 56px);
}
.crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: .06em;
  color: #8fb5b8;
}
.crumb a { color: #b8d2d5; transition: color .2s ease; }
.crumb a:hover { color: var(--cyan); }
.crumb span { color: rgba(255, 255, 255, .24); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr);
  gap: clamp(36px, 5vw, 84px);
  align-items: end;
  margin-top: clamp(34px, 4vw, 56px);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--cyan);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--cyan);
  flex: none;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(44px, 5.6vw, 78px);
  line-height: 1.1;
  letter-spacing: -.045em;
  margin-top: 20px;
  max-width: 11em;
  text-wrap: balance;
}
.hero .lead {
  margin-top: clamp(22px, 2.4vw, 30px);
  max-width: 40em;
  color: #bcd6d8;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.95;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.chips li {
  font-size: 11.5px;
  letter-spacing: .03em;
  color: #d1e7e8;
  border: 1px solid rgba(126, 224, 232, .28);
  background: rgba(126, 224, 232, .045);
  padding: 6px 11px;
}
.hero__card {
  position: relative;
  border: 1px solid rgba(126, 224, 232, .22);
  background: rgba(255, 255, 255, .045);
  backdrop-filter: blur(6px);
}
.hero__card::before,
.hero__card::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--orange);
  border-style: solid;
}
.hero__card::before { top: -1px; left: -1px; border-width: 1.5px 0 0 1.5px; }
.hero__card::after { right: -1px; bottom: -1px; border-width: 0 1.5px 1.5px 0; }
.hero__cardhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  border-bottom: 1px solid rgba(126, 224, 232, .16);
}
.hero__cardhead span:first-child {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--cyan);
  text-transform: uppercase;
}
.hero__cardhead span:last-child {
  font-size: 10.5px;
  color: #88adb0;
}
.hero__meta { padding: 5px 20px; }
.hero__meta div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(126, 224, 232, .14);
}
.hero__meta div:last-child { border-bottom: 0; }
.hero__meta dt {
  font-size: 11px;
  color: #86acae;
  flex: none;
  letter-spacing: .02em;
}
.hero__meta dd {
  font-size: 12.5px;
  color: #e2f3f4;
  text-align: right;
}
.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(126, 224, 232, .16);
}
.hero__metrics div {
  padding: 16px 12px 18px;
  text-align: center;
  border-right: 1px solid rgba(126, 224, 232, .12);
}
.hero__metrics div:last-child { border-right: 0; }
.hero__metrics strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 38px);
  line-height: 1.05;
  font-weight: 500;
  color: var(--cyan);
  letter-spacing: -.03em;
}
.hero__metrics sup {
  font-size: .42em;
  top: -.7em;
  margin-left: 1px;
  color: #a7cdd0;
}
.hero__metrics span {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  color: #91b6b9;
  letter-spacing: .04em;
}
.hero__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(38px, 4.6vw, 58px);
  padding-top: 18px;
  border-top: 1px solid rgba(126, 224, 232, .14);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: #74999c;
  text-transform: uppercase;
}
.hero__foot span:last-child { color: #9cc1c4; }

/* ---------- sections ---------- */
.section {
  padding: clamp(66px, 8vw, 112px) 0;
  border-bottom: 1px solid var(--line);
}
.section--tint { background: var(--paper-2); }
.section--dark {
  background:
    radial-gradient(800px 500px at 88% 6%, rgba(126, 224, 232, .08), transparent 65%),
    var(--deeper);
  color: #eaf7f8;
  border-bottom-color: rgba(126, 224, 232, .12);
}
.section__head {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 38px);
  margin-bottom: clamp(34px, 4.6vw, 58px);
}
.section__no {
  font-family: var(--serif);
  font-size: clamp(48px, 4.6vw, 68px);
  line-height: .92;
  letter-spacing: -.05em;
  color: rgba(0, 126, 137, .26);
  padding-top: 4px;
  position: relative;
}
.section__no::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--orange);
  margin-top: 14px;
}
.sec__kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--teal);
  text-transform: uppercase;
}
.section h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.28;
  letter-spacing: -.03em;
  margin-top: 12px;
  text-wrap: balance;
}
.sec__desc {
  margin-top: 16px;
  max-width: 72ch;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.95;
  text-wrap: pretty;
}
.section--dark .section__no { color: rgba(126, 224, 232, .35); }
.section--dark .sec__kicker { color: var(--cyan); }
.section--dark .sec__desc { color: #9fc2c5; }

/* ---------- blueprint ---------- */
.layers { display: flex; flex-direction: column; }
.layer {
  display: grid;
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  background: var(--card);
  border: 1px solid var(--line);
  padding: clamp(22px, 2.6vw, 32px);
  position: relative;
}
.layer__side { padding-right: clamp(4px, 1.4vw, 20px); }
.layer__en {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  color: var(--orange);
  margin-bottom: 8px;
}
.layer__side h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 27px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.layer__side p {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}
.layer__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  background: transparent;
  align-self: stretch;
  align-content: start;
}
.layer__items--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.layer__items--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.layer__items--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.layer__items--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.layer__item {
  background: #fbfaf6;
  border: 1px solid var(--line-soft);
  padding: 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  transition: background .2s ease, border-color .2s ease;
}
.layer__item:hover { background: #f6f4ec; border-color: #cfdcd7; }
.layer__item strong {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--ink);
}
.layer__item span {
  font-size: 11.5px;
  line-height: 1.65;
  color: #71878a;
}
.layer__arrow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0 11px 28px;
  color: #9bb0b2;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
}
.layer__arrow::before {
  content: "";
  width: 1px;
  height: 14px;
  margin-left: 26px;
  background: var(--line);
}
.layer__arrow span { color: var(--teal); font-size: 12px; }
.layer__arrow em { font-style: normal; color: #aec0c1; }

/* ---------- loops ---------- */
.loops {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.loop {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  padding: clamp(22px, 2.4vw, 30px);
  position: relative;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.loop::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), transparent 85%);
}
.loop:hover {
  transform: translateY(-3px);
  border-color: #b9d5d3;
  box-shadow: 0 22px 48px -30px rgba(0, 40, 45, .35);
}
.loop__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.loop__no {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--orange);
}
.loop__badge {
  font-size: 9.5px;
  letter-spacing: .08em;
  color: #7b9295;
  border: 1px solid var(--line);
  padding: 3px 7px;
}
.loop h3 {
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 25px);
  font-weight: 600;
  letter-spacing: -.02em;
  margin-top: 16px;
}
.loop > p {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}
.loop ol {
  margin-top: 20px;
  border-top: 1px dashed var(--line);
}
.loop li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 12px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.loop li i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--teal);
  width: 18px;
  height: 18px;
  border: 1px solid #c6dcda;
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.loop__kpi {
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.8;
  letter-spacing: .015em;
  color: var(--teal);
}
.loop__kpi::before {
  content: "方案指标";
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .12em;
  color: #9aaaac;
  margin-bottom: 3px;
}

/* ---------- modules ---------- */
.modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.module {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  padding: clamp(20px, 2.2vw, 26px);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.module:hover {
  border-color: #b7d2d0;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -32px rgba(0, 40, 45, .32);
}
.module__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.module__no {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--orange);
  letter-spacing: .1em;
}
.module__en {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .12em;
  color: #9db2b3;
  text-align: right;
  line-height: 1.4;
}
.module h3 {
  font-family: var(--serif);
  font-size: clamp(20px, 1.9vw, 24px);
  font-weight: 600;
  letter-spacing: -.02em;
  margin-top: 12px;
}
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 14px;
}
.features li {
  font-size: 10.5px;
  line-height: 1.5;
  color: #416469;
  background: #eef4f1;
  border: 1px solid #e0eae6;
  padding: 3px 7px;
  white-space: nowrap;
}
.module__note {
  margin-top: auto;
  padding-top: 14px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.8;
  border-top: 1px solid var(--line-soft);
  margin-top: 16px;
}
.module__note::before {
  content: "设计要点";
  display: block;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .14em;
  color: var(--orange);
  margin-bottom: 4px;
}

/* ---------- screens ---------- */
.screens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.screen {
  background: rgba(255, 255, 255, .038);
  border: 1px solid rgba(126, 224, 232, .16);
  overflow: hidden;
  transition: border-color .28s ease, transform .28s ease, background .28s ease;
}
.screen:hover {
  border-color: rgba(126, 224, 232, .42);
  background: rgba(255, 255, 255, .055);
  transform: translateY(-3px);
}
.screen__preview {
  min-height: 206px;
  padding: 22px clamp(18px, 3vw, 32px);
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(420px 200px at 50% 0%, rgba(126, 224, 232, .09), transparent 70%),
    rgba(0, 16, 19, .3);
  border-bottom: 1px solid rgba(126, 224, 232, .12);
  position: relative;
}
.screen__preview::after {
  content: attr(data-type);
  position: absolute;
  right: 12px;
  bottom: 9px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .14em;
  color: rgba(126, 224, 232, .45);
  text-transform: uppercase;
}
.screen__body { padding: clamp(20px, 2.4vw, 28px); }
.screen__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .1em;
  color: #7da7aa;
  text-transform: uppercase;
}
.screen__meta span:first-child {
  color: var(--cyan);
  border: 1px solid rgba(126, 224, 232, .25);
  padding: 3px 7px;
  letter-spacing: .04em;
}
.screen h3 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.1vw, 27px);
  font-weight: 600;
  letter-spacing: -.02em;
  color: #f0fbfb;
}
.screen h3 span {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  color: var(--orange);
  letter-spacing: .08em;
}
.screen > .screen__body > p {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.8;
  color: #a4c4c7;
}
.screen__points {
  margin-top: 16px;
  border-top: 1px solid rgba(126, 224, 232, .12);
}
.screen__points li {
  position: relative;
  padding: 9px 0 9px 14px;
  border-bottom: 1px dashed rgba(126, 224, 232, .1);
  font-size: 11.5px;
  line-height: 1.7;
  color: #bcd6d8;
}
.screen__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 4px;
  height: 4px;
  background: var(--orange);
  border-radius: 50%;
}
.screen__points li:last-child { border-bottom: 0; }

/* CSS mockups */
.mock {
  width: 100%;
  max-width: 460px;
  border: 1px solid rgba(126, 224, 232, .24);
  background: #062a30;
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .6);
  color: #cbe6e7;
  font-size: 0;
}
.mock__chrome {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 9px;
  background: #0b353c;
  border-bottom: 1px solid rgba(126, 224, 232, .14);
}
.mock__chrome i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .24);
}
.mock__chrome i:first-child { background: rgba(255, 179, 72, .6); }
.mock__chrome span {
  height: 8px;
  flex: 1;
  max-width: 190px;
  margin-left: 12px;
  background: rgba(126, 224, 232, .08);
  border-radius: 2px;
}
.mock__desk {
  display: grid;
  grid-template-columns: 68px 1fr;
  min-height: 140px;
}
.mock__side {
  padding: 12px 8px;
  border-right: 1px solid rgba(126, 224, 232, .1);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock__side b {
  display: block;
  height: 5px;
  background: rgba(126, 224, 232, .14);
  border-radius: 1px;
}
.mock__side b:nth-child(1) { width: 78%; background: rgba(126, 224, 232, .55); }
.mock__side b:nth-child(3) { width: 62%; }
.mock__main { padding: 12px; }
.mock__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.mock__kpis i {
  height: 28px;
  background: rgba(126, 224, 232, .075);
  border: 1px solid rgba(126, 224, 232, .1);
  border-radius: 2px;
}
.mock__kpis i:first-child { background: rgba(126, 224, 232, .14); }
.mock__chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 44px;
  margin-top: 10px;
  padding: 8px 9px 0;
  border: 1px solid rgba(126, 224, 232, .09);
  border-radius: 2px;
}
.mock__chart span {
  flex: 1;
  height: 30%;
  background: rgba(126, 224, 232, .26);
  border-radius: 1px 1px 0 0;
}
.mock__chart span:nth-child(2) { height: 58%; }
.mock__chart span:nth-child(3) { height: 42%; }
.mock__chart span:nth-child(4) { height: 76%; background: rgba(255, 179, 72, .42); }
.mock__chart span:nth-child(5) { height: 64%; }
.mock__chart span:nth-child(6) { height: 88%; background: rgba(126, 224, 232, .46); }
.mock__chart span:nth-child(7) { height: 72%; }
.mock__rows { margin-top: 8px; display: flex; flex-direction: column; gap: 5px; }
.mock__rows b {
  display: block;
  height: 7px;
  background: rgba(255, 255, 255, .055);
  border-radius: 1px;
}
.mock__rows b:nth-child(2) { width: 86%; }
.mock__rows b:nth-child(3) { width: 93%; }

.mock--board .mock__desk { grid-template-columns: 1fr; min-height: 142px; }
.mock--board .mock__board { padding: 13px; }
.mock__boardkpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}
.mock__boardkpis i {
  height: 34px;
  border: 1px solid rgba(126, 224, 232, .13);
  background: rgba(126, 224, 232, .06);
}
.mock__boardkpis i:nth-child(2) { background: rgba(126, 224, 232, .13); }
.mock__boardmain {
  display: grid;
  grid-template-columns: 1.7fr .8fr;
  gap: 8px;
  margin-top: 8px;
}
.mock__bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 66px;
  padding: 9px;
  border: 1px solid rgba(126, 224, 232, .1);
}
.mock__bars span {
  flex: 1;
  height: 30%;
  background: rgba(126, 224, 232, .22);
}
.mock__bars span:nth-child(2) { height: 55%; }
.mock__bars span:nth-child(3) { height: 44%; }
.mock__bars span:nth-child(4) { height: 78%; background: rgba(255, 179, 72, .4); }
.mock__bars span:nth-child(5) { height: 62%; }
.mock__bars span:nth-child(6) { height: 90%; background: rgba(126, 224, 232, .45); }
.mock__list { display: flex; flex-direction: column; gap: 5px; }
.mock__list b {
  height: 12px;
  background: rgba(255, 255, 255, .05);
  border-left: 2px solid rgba(126, 224, 232, .25);
}
.mock__list b:nth-child(2) { border-left-color: rgba(255, 179, 72, .45); }

.mock--mobile { max-width: 178px; border: 0; background: transparent; box-shadow: none; }
.mock__phone {
  width: 100%;
  border: 1px solid rgba(126, 224, 232, .3);
  border-radius: 14px;
  padding: 8px 8px 7px;
  background: #062a30;
  box-shadow: 0 22px 42px -26px rgba(0, 0, 0, .7);
}
.mock__status {
  width: 42px;
  height: 4px;
  margin: 0 auto 8px;
  border-radius: 4px;
  background: rgba(126, 224, 232, .25);
}
.mock__phonehero {
  height: 48px;
  border-radius: 4px;
  background:
    radial-gradient(100px 60px at 70% 20%, rgba(255, 179, 72, .25), transparent 70%),
    rgba(126, 224, 232, .13);
  border: 1px solid rgba(126, 224, 232, .14);
}
.mock__pillrow {
  display: flex;
  gap: 4px;
  margin-top: 7px;
}
.mock__pillrow i {
  flex: 1;
  height: 9px;
  border-radius: 1px;
  background: rgba(255, 255, 255, .09);
}
.mock__cardrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 7px;
}
.mock__cardrow b {
  height: 38px;
  border: 1px solid rgba(126, 224, 232, .1);
  background: rgba(126, 224, 232, .06);
  border-radius: 2px;
}
.mock__tabbar {
  display: flex;
  justify-content: space-around;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(126, 224, 232, .12);
}
.mock__tabbar i {
  width: 9px;
  height: 4px;
  background: rgba(126, 224, 232, .28);
}
.mock__tabbar i:first-child { background: rgba(255, 179, 72, .6); }

/* ---------- system shots ---------- */
.section--shots { background: var(--paper-2); }
.shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.shot {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.shot:first-child { grid-column: 1 / -1; }
.shot:hover {
  border-color: #b9ccc5;
  box-shadow: 0 26px 44px -36px rgba(3, 49, 56, .55);
}
.shot__open {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(420px 220px at 50% 0%, rgba(0, 126, 137, .06), transparent 70%),
    #e9eeea;
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  cursor: zoom-in;
}
.shot__open img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}
.shot:hover .shot__open img { transform: scale(1.018); }
.shot__zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: rgba(2, 39, 45, .82);
  color: var(--cyan);
  font-size: 14px;
  border: 1px solid rgba(126, 224, 232, .32);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .25s ease, transform .25s ease;
}
.shot:hover .shot__zoom,
.shot__open:focus-visible .shot__zoom { opacity: 1; transform: none; }
.shot__open:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.shot figcaption { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.shot__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .1em;
  color: var(--teal);
  text-transform: uppercase;
}
.shot__no {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 9.5px;
  letter-spacing: 0;
}
.shot__role { color: var(--muted); }
.shot h3 {
  margin-top: 9px;
  font-family: var(--serif);
  font-size: clamp(19px, 1.9vw, 24px);
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
}
.shot figcaption p {
  margin-top: 7px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}
.shots__note {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .06em;
  color: #7b8f8f;
}

/* ---------- lightbox ---------- */
body.lb-open { overflow: hidden; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 3vw, 40px);
  color: #eaf7f8;
}
.lightbox[hidden] { display: none; }
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 20, 24, .92);
  backdrop-filter: blur(6px);
}
.lightbox__dialog {
  position: relative;
  width: min(1480px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
}
.lightbox__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
}
.lightbox__title {
  font-family: var(--serif);
  font-size: clamp(16px, 1.7vw, 20px);
  letter-spacing: -.01em;
  color: #f2fbfb;
}
.lightbox__title span { color: var(--cyan); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; margin-left: 10px; }
.lightbox__tools { display: flex; align-items: center; gap: 8px; flex: none; }
.lightbox__count {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: #8fb5b8;
  margin-right: 6px;
}
.lightbox__btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(126, 224, 232, .28);
  background: rgba(255, 255, 255, .04);
  color: #d7eff0;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.lightbox__btn:hover { background: rgba(126, 224, 232, .12); border-color: var(--cyan); color: #fff; }
.lightbox__btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.lightbox__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  flex: 1;
  background: #061e23;
  border: 1px solid rgba(126, 224, 232, .18);
  overflow: hidden;
}
.lightbox__stage img {
  max-width: 100%;
  max-height: calc(100vh - 190px);
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox__foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
}
.lightbox__foot p {
  font-size: 12.5px;
  line-height: 1.8;
  color: #a9c8cb;
  max-width: 86ch;
}
.lightbox__hint {
  flex: none;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .06em;
  color: #6f9599;
  padding-top: 3px;
}

/* ---------- rules ---------- */
.rules { border-top: 1px solid var(--line); }
.rule {
  display: grid;
  grid-template-columns: 42px minmax(160px, 230px) minmax(0, 1fr) 190px;
  gap: clamp(14px, 2.6vw, 34px);
  padding: clamp(20px, 2.4vw, 28px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.rule__no {
  font-family: var(--mono);
  font-size: 10px;
  color: #9bb0b2;
  padding-top: 5px;
}
.rule h3 {
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.45;
}
.rule p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}
.rule__scope {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
}
.rule__scope span {
  font-size: 9.5px;
  color: #4f7174;
  background: #edf3ef;
  border: 1px solid var(--line-soft);
  padding: 3px 7px;
  white-space: nowrap;
}

/* ---------- roles ---------- */
.roles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.role {
  background: var(--card);
  border: 1px solid var(--line);
  padding: clamp(20px, 2.2vw, 26px);
  display: flex;
  flex-direction: column;
}
.role__scope {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .08em;
  color: var(--teal);
  border: 1px solid #cfe1dd;
  background: #f2f7f4;
  padding: 3px 7px;
}
.role h3 {
  font-family: var(--serif);
  font-size: clamp(19px, 1.8vw, 23px);
  font-weight: 600;
  margin-top: 14px;
  letter-spacing: -.01em;
}
.role p {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.role__perms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.role__perms li {
  position: relative;
  padding-left: 9px;
  font-size: 10.5px;
  color: #45686c;
}
.role__perms li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--orange);
}

/* ---------- phases ---------- */
.phases {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.phase {
  position: relative;
  padding: 28px clamp(16px, 2vw, 24px) 0;
  border-right: 1px solid var(--line);
}
.phase:first-child { padding-left: 0; }
.phase:last-child { border-right: 0; padding-right: 0; }
.phase::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px var(--paper);
}
.phase:first-child::before { background: var(--orange); }
.phase__time {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .08em;
  color: var(--orange);
}
.phase__no {
  font-family: var(--mono);
  font-size: 9.5px;
  color: #a2b4b5;
  margin-right: 8px;
}
.phase h3 {
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  margin-top: 8px;
  letter-spacing: -.01em;
}
.phase > p {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.phase ul {
  margin-top: 15px;
  border-top: 1px dashed var(--line);
  padding-top: 10px;
}
.phase li {
  position: relative;
  padding: 4px 0 4px 11px;
  font-size: 11px;
  line-height: 1.65;
  color: #587477;
}
.phase li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 4px;
  height: 1px;
  background: var(--teal);
}

/* ---------- closing ---------- */
.closing {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 380px at 88% 20%, rgba(126, 224, 232, .12), transparent 65%),
    var(--deep);
  color: #f0fafa;
  padding: clamp(64px, 8vw, 100px) 0;
}
.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(126, 224, 232, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 224, 232, .05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, transparent 30%, #000);
  pointer-events: none;
}
.closing__in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, .5fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: end;
}
.closing__kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--cyan);
  text-transform: uppercase;
}
.closing h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.25;
  letter-spacing: -.035em;
  margin-top: 14px;
  max-width: 18em;
  text-wrap: balance;
}
.closing p {
  margin-top: 16px;
  max-width: 46em;
  font-size: 14px;
  line-height: 1.9;
  color: #b8d4d6;
}
.closing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  font-size: 12.5px;
  letter-spacing: .03em;
  border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn--light { background: #effbfb; color: var(--deep); }
.btn--light:hover { background: var(--cyan); }
.btn--ghost { border-color: rgba(126, 224, 232, .4); color: #e5f6f6; }
.btn--ghost:hover { border-color: var(--cyan); background: rgba(126, 224, 232, .08); }
.closing__mark {
  text-align: right;
  color: #8fb7ba;
}
.closing__mark strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 500;
  letter-spacing: .02em;
  color: #e6f6f6;
  line-height: 1.3;
}
.closing__mark span {
  display: block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .14em;
  line-height: 1.9;
  color: #86acae;
  text-transform: uppercase;
}

/* ---------- next cases ---------- */
.next {
  background: #fbf9f4;
  padding: clamp(48px, 5.4vw, 70px) 0;
  border-bottom: 1px solid var(--line);
}
.next__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.next__top h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -.02em;
}
.next__top a {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--teal);
}
.next__top a:hover { color: var(--orange); }
.next__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.next__item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  transition: border-color .2s ease, transform .2s ease;
}
.next__item:hover { border-color: #adcbc7; transform: translateY(-2px); }
.next__item em {
  display: block;
  font-style: normal;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .08em;
  color: var(--orange);
  margin-bottom: 5px;
}
.next__item strong {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}
.next__item span {
  font-size: 12px;
  color: var(--teal);
  flex: none;
}

/* ---------- footer ---------- */
.footer {
  background: var(--deeper);
  color: #9cbfc2;
  padding: 38px 0;
}
.footer__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 18px; }
.footer__brand img { width: 128px; height: auto; }
.footer__brand p { font-size: 11px; letter-spacing: .03em; line-height: 1.7; }
.footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .06em;
  color: #759b9e;
}
.footer__phone { display: inline-flex; align-items: center; }
.footer__meta a:hover { color: var(--cyan); }

/* ---------- reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .loop, .screen, .module, .next__item { transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .topnav { gap: 16px; }
  .topnav a { font-size: 12px; }
  .hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(290px, .75fr); gap: 36px; }
  .layer__items--3,
  .layer__items--4,
  .layer__items--5,
  .layer__items--6 { grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); }
  .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rule { grid-template-columns: 36px minmax(140px, 200px) minmax(0, 1fr) 160px; }
}

@media (max-width: 1020px) {
  .topnav { display: none; }
  .topbar__tag { margin-right: auto; }
  .hero__grid { grid-template-columns: 1fr; align-items: start; gap: 34px; }
  .hero h1 { max-width: 14em; }
  .hero__card { max-width: 540px; }
  .layer { grid-template-columns: minmax(170px, 210px) minmax(0, 1fr); }
  .loops { grid-template-columns: 1fr; }
  .loop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .9fr); grid-template-rows: auto auto 1fr; column-gap: 32px; }
  .loop__top { grid-column: 1 / -1; }
  .loop h3, .loop > p { grid-column: 1; }
  .loop ol { grid-column: 2; grid-row: 2 / span 2; margin-top: 14px; }
  .loop__kpi { grid-column: 1; grid-row: 3; align-self: end; }
  .screens { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
  .shot:first-child { grid-column: auto; }
  .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phase:nth-child(2) { border-right: 0; padding-right: 0; }
  .phase:nth-child(3), .phase:nth-child(4) { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 26px; }
  .phase:nth-child(3)::before, .phase:nth-child(4)::before { top: -4px; }
  .closing__in { grid-template-columns: 1fr; }
  .closing__mark { text-align: left; display: flex; align-items: baseline; gap: 16px; }
  .closing__mark span { margin-top: 0; }
}

@media (max-width: 760px) {
  :root { --head: 62px; }
  .topbar__in { gap: 12px; }
  .brand img { width: 128px; }
  .topbar__tag { display: none; }
  .topbar__back { font-size: 11.5px; padding: 6px 10px; }
  .sectionnav__in { height: 42px; gap: 22px; }
  .sectionnav a { font-size: 10px; padding: 12px 0; }
  .hero__in { padding-top: 42px; }
  .hero h1 { font-size: clamp(38px, 10.6vw, 58px); }
  .hero .lead { font-size: 14px; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 6px; }
  .crumb { font-size: 10.5px; }
  .section { padding: 58px 0; }
  .section__head { grid-template-columns: 1fr; gap: 8px; }
  .section__no { font-size: 38px; display: flex; align-items: baseline; gap: 14px; }
  .section__no::after { width: 24px; margin-top: 0; }
  .section h2 { margin-top: 8px; }
  .sec__desc { font-size: 13.5px; }
  .layer { grid-template-columns: 1fr; padding: 22px; gap: 18px; }
  .layer__side { padding-right: 0; }
  .layer__items { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .layer__arrow { padding-left: 18px; }
  .layer__arrow::before { margin-left: 0; }
  .loop { display: flex; flex-direction: column; }
  .loop ol { margin-top: 18px; }
  .loop__kpi { margin-top: 18px; }
  .modules, .roles { grid-template-columns: 1fr; }
  .screen__preview { min-height: 180px; }
  .shot figcaption { padding: 16px 17px 18px; }
  .shot h3 { font-size: 20px; }
  .lightbox { padding: 12px; }
  .lightbox__head { flex-wrap: wrap; align-items: flex-start; gap: 10px; }
  .lightbox__title { flex: 1 1 100%; max-width: none; line-height: 1.5; }
  .lightbox__title span { display: inline; margin: 0 0 0 8px; }
  .lightbox__tools { width: 100%; justify-content: flex-end; }
  .lightbox__count { margin-right: auto; }
  .lightbox__stage img { max-height: calc(100vh - 240px); }
  .lightbox__foot { flex-direction: column; gap: 6px; }
  .lightbox__hint { display: none; }
  .rule { grid-template-columns: 30px 1fr; gap: 8px 12px; }
  .rule h3 { grid-column: 2; }
  .rule p { grid-column: 2; }
  .rule__scope { grid-column: 2; justify-content: flex-start; }
  .rule__no { grid-row: 1 / span 3; padding-top: 4px; }
  .phases { grid-template-columns: 1fr; border-top: 0; }
  .phase { border-right: 0; padding: 0 0 26px 0; margin: 0; border-top: 1px solid var(--line); padding-top: 22px; }
  .phase:nth-child(2) { border-top: 1px solid var(--line); padding-top: 22px; }
  .phase:nth-child(3), .phase:nth-child(4) { margin-top: 0; }
  .phase:first-child { border-top: 0; padding-top: 0; }
  .phase:first-child::before { top: -4px; left: 0; }
  .next__grid { grid-template-columns: 1fr; }
  .next__top { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer__in { flex-direction: column; align-items: flex-start; }
  .footer__brand { align-items: flex-start; }
}

@media (max-width: 520px) {
  .hero__metrics strong { font-size: 27px; }
  .hero__cardhead { padding: 15px 16px; }
  .hero__meta { padding: 4px 16px; }
  .hero__metrics div { padding: 14px 8px 16px; }
  .chips li { font-size: 10.5px; padding: 5px 8px; }
  .layer__items { grid-template-columns: 1fr; }
  .screen__preview { padding: 18px; }
  .screen__preview::after { display: none; }
  .screen__body { padding: 20px; }
  .shot__zoom { opacity: 1; transform: none; width: 28px; height: 28px; }
  .lightbox__count { display: none; }
  .lightbox__title { max-width: 100%; }
  .closing__mark { display: block; }
  .closing__mark span { margin-top: 8px; }
  .footer__meta { gap: 10px; }
  .topbar__back span:first-child { display: none; }
}

@media (max-width: 356px) {
  .footer__brand { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ---------- print ---------- */
@media print {
  .topbar, .sectionnav, .progress, .skip, .next, .footer { display: none !important; }
  body { background: #fff; }
  .hero { color: #082e35; background: #fff; }
  .hero h1, .hero .lead, .hero .eyebrow { color: #082e35; }
  .hero__card { border-color: #ccc; background: #fff; }
  .hero__metrics strong { color: #007e89; }
  .section--dark { background: #fff; color: #082e35; }
  .screen { background: #fff; border-color: #ccc; }
  .screen h3, .screen > .screen__body > p, .screen__points li { color: #082e35; }
  .screen__preview { display: none; }
  .section--shots { background: #fff; }
  .section--shots .shot { break-inside: avoid; box-shadow: none; }
  .shot__zoom, .lightbox { display: none !important; }
  .closing { background: #fff; color: #082e35; }
  .closing p, .closing__kicker { color: #555; }
}
