:root {
  color-scheme: light;
  --ink: #102a3a;
  --ink-strong: #082338;
  --muted: #587184;
  --surface: #ffffff;
  --surface-soft: #f4fafb;
  --line: #c9dde4;
  --teal: #008b7d;
  --teal-dark: #006c63;
  --teal-soft: #e2f7f2;
  --blue: #156fe5;
  --blue-soft: #eaf3ff;
  --danger: #d84262;
  --danger-soft: #fff0f3;
  --amber: #bf7411;
  --amber-soft: #fff6e8;
  --shadow: 0 20px 48px rgba(23, 72, 96, 0.12);
  --radius-lg: 22px;
  --radius-md: 14px;
  --page: min(1280px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 4%, rgba(0, 139, 125, 0.12), transparent 28rem),
    linear-gradient(180deg, #f8fcfd 0, #eff7f9 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink-strong);
  line-height: 1.15;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 72px;
  padding: 10px max(20px, calc((100vw - 1280px) / 2));
  border-bottom: 1px solid rgba(138, 177, 190, 0.48);
  background: rgba(250, 253, 254, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 13px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--teal), #1576de);
  box-shadow: 0 10px 24px rgba(18, 107, 160, 0.24);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.brand-copy {
  display: grid;
  min-width: 0;
  line-height: 1.2;
}

.brand-copy strong {
  overflow: hidden;
  color: var(--ink-strong);
  font-size: 15px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar-actions,
.nav-links,
.language-switch {
  display: flex;
  align-items: center;
}

.topbar-actions {
  gap: 22px;
}

.nav-links {
  gap: 4px;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 10px;
  color: #486476;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--teal-dark);
  background: var(--teal-soft);
}

.language-switch {
  padding: 3px;
  border: 1px solid #afd0d8;
  border-radius: 999px;
  background: #ffffff;
}

.language-switch button {
  min-width: 48px;
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.language-switch button.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--teal), #1674d7);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
  width: var(--page);
  min-height: 500px;
  margin: 0 auto;
  padding: 72px 0 64px;
}

.hero-copy {
  max-width: 850px;
}

.eyebrow,
.section-kicker,
.case-kicker {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(44px, 5vw, 66px);
  letter-spacing: -0.055em;
}

.hero-intro {
  max-width: 720px;
  margin: 22px 0 0;
  color: #486477;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.58;
}

.terminology-note {
  max-width: 780px;
  margin: 16px 0 0;
  padding: 11px 14px;
  border-left: 3px solid var(--teal);
  border-radius: 0 9px 9px 0;
  color: #486477;
  background: rgba(226, 247, 242, 0.7);
  font-size: 13px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--teal), #0b76c9);
  box-shadow: 0 12px 28px rgba(0, 110, 120, 0.2);
}

.button-secondary {
  border-color: #a9cbd3;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
}

.hero-summary {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid #bdd7de;
  border-radius: var(--radius-lg);
  background: #cfe0e5;
  box-shadow: var(--shadow);
}

.hero-summary div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  min-height: 86px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.96);
}

.hero-summary strong {
  color: var(--teal-dark);
  font-size: 26px;
  line-height: 1;
}

.hero-summary span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.section {
  width: var(--page);
  margin: 0 auto;
  padding: 72px 0;
  scroll-margin-top: 82px;
}

.section-flags {
  width: 100%;
  padding-right: max(20px, calc((100vw - 1280px) / 2));
  padding-left: max(20px, calc((100vw - 1280px) / 2));
  border-top: 1px solid #cfe2e7;
  border-bottom: 1px solid #cfe2e7;
  background: rgba(255, 255, 255, 0.7);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.6fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2 {
  font-size: clamp(32px, 3.5vw, 46px);
  letter-spacing: -0.035em;
}

.section-heading > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 16px;
}

.compact-heading {
  margin-bottom: 28px;
}

.flag-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.flag-card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid #c5dce2;
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(21, 77, 99, 0.07);
}

.flag-number {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 11px;
  color: var(--danger);
  background: var(--danger-soft);
  font-size: 12px;
  font-weight: 900;
}

.flag-card h3 {
  font-size: 19px;
}

.flag-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.case-list {
  display: grid;
  gap: 28px;
}

.case-card {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(540px, 1.18fr);
  overflow: hidden;
  border: 1px solid #bed7de;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.case-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 4vw, 48px);
}

.case-copy h3 {
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: -0.03em;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.case-tag {
  padding: 5px 9px;
  border: 1px solid #b9d8d2;
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  font-size: 12px;
  font-weight: 800;
}

.case-insights {
  display: grid;
  width: 100%;
  gap: 10px;
  margin-top: 20px;
}

.case-key-point,
.case-action {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #c5dce2;
  border-radius: 11px;
  background: #f8fbfc;
}

.case-action {
  border-color: #b8d7df;
  background: var(--blue-soft);
}

.case-insight-label {
  display: block;
  color: var(--teal-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.case-action .case-insight-label {
  color: var(--blue);
}

.case-key-point p,
.case-action p {
  margin: 5px 0 0;
  color: #304d60;
  font-size: 14px;
  line-height: 1.55;
}

.case-details {
  width: 100%;
  margin-top: 12px;
  border-top: 1px solid #d4e2e7;
  border-bottom: 1px solid #d4e2e7;
}

.case-details summary {
  padding: 11px 2px;
  color: #496678;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  list-style: none;
}

.case-details summary::-webkit-details-marker {
  display: none;
}

.case-details summary::after {
  content: "+";
  float: right;
  color: var(--teal-dark);
  font-size: 18px;
  line-height: 1;
}

.case-details[open] summary::after {
  content: "−";
}

.case-details > p {
  margin: 0;
  padding: 2px 2px 14px;
  color: #3f596b;
  font-size: 14px;
  line-height: 1.65;
}

.case-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.case-meta::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-soft);
}

.case-open {
  width: 100%;
  min-height: 50px;
  margin-top: 18px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  color: #ffffff;
  background: var(--ink-strong);
  cursor: pointer;
  font-weight: 850;
  text-align: left;
}

.case-open::after {
  content: "↗";
  float: right;
  font-size: 18px;
}

.case-media {
  display: grid;
  grid-template-rows: minmax(390px, 1fr) auto;
  min-width: 0;
  padding: 18px;
  background: #eaf2f5;
}

.case-feature {
  position: relative;
  display: grid;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #b8ced6;
  border-radius: 14px;
  background: #f8fbfc;
  cursor: zoom-in;
}

.case-feature img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: contain;
}

.image-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 9px;
  color: #ffffff;
  background: rgba(6, 34, 52, 0.8);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 850;
}

.case-view-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 10px;
}

.case-view-thumb {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 2px solid transparent;
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
}

.case-view-thumb:hover,
.case-view-thumb:focus-visible {
  border-color: var(--teal);
}

.case-view-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-view-thumb span {
  position: absolute;
  inset: auto 4px 4px;
  overflow: hidden;
  padding: 3px 5px;
  border-radius: 5px;
  color: #ffffff;
  background: rgba(6, 34, 52, 0.76);
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.standards-section {
  padding-bottom: 100px;
}

.scope-note {
  margin: -6px 0 24px;
  padding: 18px 20px;
  border: 1px solid #b8d7df;
  border-left: 5px solid var(--blue);
  border-radius: 12px;
  color: #405c6d;
  background: var(--blue-soft);
}

.scope-note strong {
  color: var(--ink-strong);
  font-size: 14px;
}

.scope-note p {
  margin: 5px 0 0;
  font-size: 13px;
}

.standard-list {
  display: grid;
  gap: 12px;
}

.standard-card {
  overflow: hidden;
  border: 1px solid #c2d9df;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(28, 82, 102, 0.055);
}

.standard-card summary {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 32px;
  gap: 14px;
  align-items: center;
  min-height: 78px;
  padding: 13px 20px;
  cursor: pointer;
  list-style: none;
}

.standard-card summary::-webkit-details-marker {
  display: none;
}

.standard-number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  font-size: 12px;
  font-weight: 900;
}

.standard-card summary h3 {
  font-size: clamp(18px, 2vw, 23px);
}

.standard-chevron {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  background: #edf4f6;
  transition: transform 160ms ease;
}

.standard-card[open] .standard-chevron {
  transform: rotate(45deg);
}

.standard-content {
  border-top: 1px solid #d5e3e7;
}

.standard-levels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.standard-level {
  padding: 24px;
  border-right: 1px solid #d5e3e7;
}

.standard-level:last-child {
  border-right: 0;
}

.standard-level h4,
.standard-impact h4 {
  margin-bottom: 10px;
  font-size: 14px;
}

.standard-level p,
.standard-impact p {
  margin: 0;
  color: #435d6e;
  font-size: 14px;
}

.standard-level.excellent h4 {
  color: var(--teal-dark);
}

.standard-level.usable h4 {
  color: var(--blue);
}

.standard-level.qualified h4 {
  color: var(--amber);
}

.standard-impact {
  padding: 20px 24px 24px;
  border-top: 1px solid #d5e3e7;
  background: #f7fafb;
}

.load-state {
  margin: 18px 0 0;
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  padding: 34px max(20px, calc((100vw - 1280px) / 2));
  border-top: 1px solid #c8dde3;
  color: #526c7d;
  background: #e9f2f5;
  font-size: 13px;
}

.footer strong {
  color: var(--ink);
}

.footer p {
  max-width: 820px;
  margin: 6px 0 0;
}

.footer > span {
  flex: 0 0 auto;
  align-self: end;
  white-space: nowrap;
}

.viewer-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  background: #07131f;
}

.viewer-modal[hidden] {
  display: none;
}

.viewer-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
}

.viewer-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 70px;
  padding: 10px 14px 10px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  background: #0b1c2b;
}

.viewer-heading {
  display: grid;
  min-width: 0;
  line-height: 1.2;
}

.viewer-heading strong,
.viewer-heading span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.viewer-heading strong {
  font-size: 15px;
}

.viewer-heading .viewer-case,
.viewer-heading #viewer-view-label {
  color: #a9bfce;
  font-size: 11px;
}

.viewer-heading .viewer-case {
  margin-bottom: 3px;
  color: #6fe0d3;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.viewer-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.viewer-controls button {
  min-width: 38px;
  height: 38px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.viewer-controls button:hover {
  background: rgba(255, 255, 255, 0.16);
}

.viewer-controls button:disabled {
  opacity: 0.38;
  cursor: default;
}

.viewer-controls .viewer-close {
  margin-left: 5px;
  border-color: rgba(255, 128, 150, 0.5);
  background: rgba(216, 66, 98, 0.16);
}

.control-divider {
  width: 1px;
  height: 24px;
  margin: 0 3px;
  background: rgba(255, 255, 255, 0.16);
}

.zoom-readout {
  min-width: 54px;
  color: #b9cbd6;
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  text-align: center;
}

.viewer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  min-height: 0;
}

.viewer-canvas-wrap {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.025) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.025) 75%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.025) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.025) 75%),
    #07131f;
  background-position: 0 0, 16px 16px;
  background-size: 32px 32px;
}

.osd-viewer {
  width: 100%;
  height: 100%;
}

.viewer-hint,
.viewer-error {
  position: absolute;
  z-index: 4;
  left: 14px;
  bottom: 12px;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #d9e5ec;
  background: rgba(4, 18, 29, 0.72);
  pointer-events: none;
  font-size: 11px;
  backdrop-filter: blur(8px);
}

.viewer-error {
  top: 50%;
  right: 20px;
  bottom: auto;
  left: 20px;
  transform: translateY(-50%);
  border-color: rgba(255, 128, 150, 0.35);
  color: #ffdce3;
  background: rgba(97, 15, 33, 0.88);
  font-size: 14px;
  text-align: center;
}

.view-rail {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  color: #dbe7ed;
  background: #0b1c2b;
}

.view-rail-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 12px;
  font-size: 12px;
}

.view-rail-heading span {
  color: #8fa8b8;
}

.view-thumbnails {
  display: grid;
  gap: 9px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 2px;
}

.viewer-thumb {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-width: 0;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 9px;
  color: #d7e4ea;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  text-align: left;
}

.viewer-thumb.active {
  border-color: #57d7c9;
  background: rgba(0, 139, 125, 0.2);
}

.viewer-thumb img {
  width: 58px;
  height: 44px;
  border-radius: 5px;
  object-fit: cover;
}

.viewer-thumb span {
  overflow: hidden;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.view-note {
  margin: auto 0 0;
  padding-top: 14px;
  color: #8fa7b6;
  font-size: 10px;
  line-height: 1.5;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(21, 111, 229, 0.42);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 260px;
  }

  .flag-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-card {
    grid-template-columns: 1fr;
  }

  .case-copy {
    min-height: 0;
  }

  .case-meta {
    margin-top: 0;
  }
}

@media (max-width: 820px) {
  :root {
    --page: min(100% - 30px, 680px);
  }

  .topbar {
    min-height: 64px;
    padding: 8px 15px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-copy small {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .topbar-actions {
    gap: 8px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 54px 0 48px;
  }

  .hero h1 {
    font-size: clamp(40px, 11vw, 56px);
  }

  .hero-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-summary div {
    grid-template-columns: 1fr;
    gap: 7px;
    min-height: 96px;
    padding: 14px;
  }

  .hero-summary strong {
    font-size: 22px;
  }

  .section {
    padding: 62px 0;
  }

  .section-flags {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-heading h2 {
    font-size: clamp(30px, 8vw, 42px);
  }

  .case-media {
    grid-template-rows: minmax(280px, 52vh) auto;
    padding: 10px;
  }

  .case-feature img {
    min-height: 280px;
  }

  .standard-levels {
    grid-template-columns: 1fr;
  }

  .standard-level {
    border-right: 0;
    border-bottom: 1px solid #d5e3e7;
  }

  .standard-level:last-child {
    border-bottom: 0;
  }

  .footer {
    display: grid;
  }

  .footer > span {
    justify-self: start;
  }

  .viewer-toolbar {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 9px 10px;
  }

  .viewer-heading {
    padding: 0 4px;
  }

  .viewer-controls {
    overflow-x: auto;
    padding: 1px 0 4px;
  }

  .viewer-main {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) 112px;
  }

  .view-rail {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    padding: 8px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }

  .view-rail-heading {
    display: grid;
    align-content: center;
    margin: 0;
  }

  .view-thumbnails {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 2px;
  }

  .viewer-thumb {
    flex: 0 0 126px;
  }

  .view-note {
    display: none;
  }
}

@media (max-width: 560px) {
  .brand-copy strong {
    max-width: 145px;
    font-size: 13px;
  }

  .language-switch button {
    min-width: 42px;
    padding: 0 9px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .flag-grid {
    grid-template-columns: 1fr;
  }

  .flag-card {
    min-height: 0;
  }

  .case-copy {
    padding: 25px 22px;
  }

  .case-view-strip {
    display: flex;
    overflow-x: auto;
  }

  .case-view-thumb {
    flex: 0 0 110px;
  }

  .standard-card summary {
    grid-template-columns: 44px minmax(0, 1fr) 30px;
    gap: 10px;
    padding: 12px 14px;
  }

  .standard-number {
    width: 40px;
    height: 40px;
  }

  .viewer-controls .zoom-readout,
  .viewer-controls .control-divider {
    display: none;
  }

  .viewer-controls button {
    flex: 0 0 auto;
  }

  .viewer-hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
