:root {
  --navy-950: #04111d;
  --navy-900: #071a2b;
  --navy-800: #0b263d;
  --navy-700: #10344e;
  --paper: #f4f7f6;
  --ink: #10202b;
  --muted: #60717b;
  --line: rgba(16, 46, 67, 0.14);
  --green: #00a66c;
  --green-bright: #22d49a;
  --red: #ee3e4d;
  --amber: #ffb020;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(2, 18, 31, 0.18);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --page: min(1120px, calc(100% - 32px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--navy-950); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 999;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--white);
  color: var(--navy-950);
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.topbar {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  width: var(--page);
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  color: var(--white);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand__mark {
  position: relative;
  width: 28px;
  height: 36px;
  display: grid;
  align-content: end;
  gap: 2px;
  overflow: hidden;
  transform: skew(-12deg);
}
.brand__mark i { display: block; border-radius: 1px; }
.brand__mark i:nth-child(1) { height: 15px; background: var(--green-bright); }
.brand__mark i:nth-child(2) { height: 8px; background: #4fd08e; }
.brand__mark i:nth-child(3) { height: 5px; background: var(--red); }
.brand__copy { display: grid; line-height: 1; letter-spacing: .09em; }
.brand__copy strong { font-size: 15px; }
.brand__copy small { margin-top: 5px; font-size: 10px; opacity: .72; }
.topbar__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
}
.topbar__status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 6px rgba(34, 212, 154, .14);
}
.topbar__status b { font: inherit; }
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(4,17,29,.46);
  backdrop-filter: blur(12px);
}
.language-switcher button {
  width: 34px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: rgba(255,255,255,.68);
  background: transparent;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .05em;
  cursor: pointer;
}
.language-switcher button.is-active {
  color: var(--navy-950);
  background: var(--green-bright);
}
.rule-language-selector {
  min-width: 62px;
  height: 44px;
  padding: 0 24px 0 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  color: var(--white);
  background: var(--navy-800);
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}
.rule-language-selector option { color: var(--ink); background: var(--white); }

.hero {
  position: relative;
  min-height: min(900px, 100svh);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30px;
  background: url("./assets/socar-hero.png") 72% center / cover no-repeat;
  filter: blur(28px) saturate(.82) brightness(.64);
  opacity: .82;
  transform: scale(1.08);
}
.hero__image,
.hero__shade { position: absolute; inset: 0; }
.hero__image {
  z-index: 1;
  background: url("./assets/socar-hero.png") center / contain no-repeat;
}
.hero__shade {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(3, 14, 24, .18) 0%, rgba(3, 14, 24, .1) 24%, rgba(3, 14, 24, .92) 100%),
    linear-gradient(90deg, rgba(2, 18, 31, .82) 0%, rgba(2, 18, 31, .18) 70%);
}
.hero__content {
  position: relative;
  z-index: 3;
  width: var(--page);
  margin: 0 auto;
  padding: 150px 0 78px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--green-bright);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
}
.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(38px, 7vw, 78px);
  line-height: .99;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.hero h1 span {
  display: block;
  margin-bottom: 16px;
  color: var(--white);
  font-size: .48em;
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -.02em;
  text-shadow: 0 3px 24px rgba(0,0,0,.42);
}
.hero__lead {
  max-width: 550px;
  margin: 26px 0 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(17px, 2vw, 20px);
}
.primary-button,
.secondary-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
  padding: 13px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
}
.primary-button { background: var(--green-bright); color: var(--navy-950); }
.primary-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.secondary-button { border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.1); color: var(--white); backdrop-filter: blur(14px); }
.visual-note {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 14px;
  margin: 0;
  color: rgba(255,255,255,.48);
  font-size: 10px;
  letter-spacing: .05em;
}

.principle-strip {
  position: relative;
  z-index: 4;
  width: var(--page);
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: -24px auto 0;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.principle-strip__signal {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #fff1d4;
  color: #a15d00;
  font-size: 22px;
  font-weight: 900;
}
.principle-strip p { margin: 0; color: #344852; font-size: 14px; font-weight: 650; }

.rules-section {
  position: relative;
  overflow: hidden;
  padding: 110px 0 120px;
}
.rules-section__backdrop {
  position: absolute;
  inset: 0;
  opacity: .055;
  background:
    linear-gradient(var(--paper), var(--paper)),
    url("./assets/socar-check.png") center 35% / cover no-repeat;
  background-blend-mode: color;
}
.section-heading,
.rule-jump,
.rules-grid,
.method { position: relative; z-index: 2; }
.section-heading {
  width: var(--page);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  align-items: end;
  gap: 40px;
  margin: 0 auto 36px;
}
.section-heading h2,
.stop-callout h2,
.method h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.section-heading > p { margin: 0 0 5px; color: var(--muted); }
.rule-jump {
  width: var(--page);
  display: flex;
  gap: 8px;
  margin: 0 auto 22px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scrollbar-width: none;
}
.rule-jump::-webkit-scrollbar { display: none; }
.rule-jump a {
  min-width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.72);
  color: var(--navy-800);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}
.rules-grid {
  width: var(--page);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 auto;
}
.rule-card {
  position: relative;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(13, 48, 72, .1);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.86);
  box-shadow: 0 12px 34px rgba(6, 31, 48, .06);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.rule-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -58px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,166,108,.12), transparent 66%);
}
.rule-card:hover,
.rule-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(0,166,108,.35);
  box-shadow: 0 22px 45px rgba(6, 31, 48, .12);
  outline: none;
}
.rule-card__top { display: flex; align-items: center; justify-content: space-between; }
.rule-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: var(--navy-900);
  color: var(--green-bright);
}
.rule-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rule-card__number { color: #8c9aa2; font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.rule-card h3 { margin: 24px 0 10px; color: var(--navy-950); font-size: 22px; line-height: 1.12; letter-spacing: -.025em; }
.rule-card p { margin: 0; color: var(--muted); font-size: 14px; }
.rule-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 22px; color: var(--green); font-size: 13px; font-weight: 850; }
.rule-card__footer svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s ease; }
.rule-card:hover .rule-card__footer svg { transform: translateX(4px); }

.stop-callout {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}
.stop-callout__media,
.stop-callout__overlay { position: absolute; inset: 0; }
.stop-callout__media::before {
  content: "";
  position: absolute;
  inset: -30px;
  background: url("./assets/socar-stop.png") center / cover;
  filter: blur(24px) saturate(.8);
  opacity: .45;
  transform: scale(1.1);
}
.stop-callout__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.stop-callout__overlay { background: linear-gradient(180deg, rgba(4,17,29,.14), rgba(4,17,29,.96) 88%); }
.stop-callout__content { position: relative; z-index: 3; width: var(--page); margin: 0 auto; padding: 70px 0 76px; }
.stop-callout h2 { max-width: 740px; color: var(--white); }
.stop-callout__content > p:not(.eyebrow) { max-width: 650px; margin: 22px 0 0; color: rgba(255,255,255,.74); font-size: 18px; }

.method { width: var(--page); margin: 0 auto; padding: 100px 0 120px; }
.section-heading--compact { width: 100%; grid-template-columns: 1fr; margin-bottom: 30px; }
.method__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); list-style: none; background: var(--line); }
.method__steps li { min-height: 180px; display: flex; flex-direction: column; padding: 24px; background: var(--white); }
.method__steps span { color: var(--green); font-size: 12px; font-weight: 900; }
.method__steps strong { margin-top: auto; color: var(--navy-950); font-size: 22px; }
.method__steps small { margin-top: 6px; color: var(--muted); font-size: 13px; }

.footer {
  min-height: 170px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 35px max(16px, calc((100% - 1120px) / 2));
  color: rgba(255,255,255,.66);
  background: var(--navy-950);
  font-size: 13px;
}
.brand--footer { color: var(--white); }
.footer p { margin: 0; }
.footer > a { text-underline-offset: 4px; }

.rule-view { min-height: 100svh; color: var(--white); background: var(--navy-950); }
.reading-progress { position: fixed; z-index: 101; top: 0; left: 0; right: 0; height: 3px; background: rgba(255,255,255,.08); }
.reading-progress i { display: block; width: 0; height: 100%; background: var(--green-bright); transition: width .1s linear; }
.rule-toolbar {
  position: fixed;
  z-index: 100;
  top: 3px;
  left: 0;
  right: 0;
  min-height: 72px;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 12px;
  padding: max(10px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left));
  background: linear-gradient(180deg, rgba(4,17,29,.9), transparent);
}
.icon-button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  color: var(--white);
  background: rgba(5,24,39,.52);
  backdrop-filter: blur(14px);
  cursor: pointer;
}
.icon-button svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rule-toolbar__label { justify-self: center; color: rgba(255,255,255,.72); font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.rule-toolbar__label span { color: var(--white); }

.rule-panel { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; background: var(--navy-950); }
.rule-panel::before {
  content: "";
  position: absolute;
  inset: -30px;
  background: var(--panel-bg) center / cover no-repeat;
  filter: blur(28px) saturate(.82) brightness(.62);
  opacity: .88;
  transform: scale(1.08);
}
.rule-panel__photo,
.rule-panel__shade { position: absolute; inset: 0; }
.rule-panel__photo { z-index: 1; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.rule-panel__shade { z-index: 2; background: linear-gradient(180deg, rgba(4,17,29,.16), rgba(4,17,29,.96) 89%); }
.rule-panel--stop {
  --stop-media-height: clamp(420px, 70svh, 760px);
  min-height: 0;
  display: block;
  padding-top: var(--stop-media-height);
}
.rule-panel--stop::before {
  inset: -30px -30px auto;
  height: calc(var(--stop-media-height) + 60px);
}
.rule-panel--stop .rule-panel__photo,
.rule-panel--stop .rule-panel__shade {
  bottom: auto;
  height: var(--stop-media-height);
}
.rule-panel--stop .rule-panel__shade {
  background: linear-gradient(180deg, rgba(4,17,29,.08), rgba(4,17,29,.18) 68%, rgba(4,17,29,.86));
}
.rule-panel--stop .rule-panel__content {
  width: var(--page);
  padding: 50px 0 72px;
}
.rule-panel--stop .visual-note {
  top: calc(var(--stop-media-height) - 30px);
  bottom: auto;
}
.rule-panel__content { position: relative; z-index: 3; width: var(--page); margin: 0 auto; padding: 145px 0 72px; }
.rule-panel__badge { display: inline-flex; padding: 8px 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(4,17,29,.38); color: rgba(255,255,255,.78); font-size: 10px; font-weight: 850; letter-spacing: .12em; backdrop-filter: blur(12px); }
.rule-panel__greeting { max-width: 680px; margin: 24px 0 0; color: rgba(255,255,255,.78); }
.rule-panel__greeting strong { display: block; color: var(--white); font-size: clamp(23px, 3.5vw, 36px); font-weight: 950; line-height: 1.08; letter-spacing: -.025em; text-shadow: 0 3px 24px rgba(0,0,0,.45); }
.rule-panel__greeting span { display: block; max-width: 620px; margin-top: 10px; font-size: clamp(15px, 2vw, 19px); font-weight: 720; line-height: 1.4; }
.rule-panel h1 { max-width: 900px; margin: 18px 0 0; font-size: clamp(42px, 8vw, 86px); line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
.rule-panel__short { max-width: 700px; margin: 22px 0 0; color: rgba(255,255,255,.78); font-size: clamp(18px, 2.5vw, 24px); }
.rule-audio { margin-top: 24px; }
.rule-audio__button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 12px 20px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: var(--navy-950);
  background: var(--green-bright);
  box-shadow: 0 12px 34px rgba(0,0,0,.2);
  font-weight: 900;
  cursor: pointer;
}
.rule-audio__button svg { width: 20px; fill: currentColor; }
.rule-audio__button:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.scroll-cue { width: 46px; height: 46px; display: grid; place-items: center; margin-top: 28px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.scroll-cue svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.rule-kicker { margin: 0 0 12px; color: var(--green-bright); font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.rule-panel h2 { max-width: 760px; margin: 0; font-size: clamp(34px, 6vw, 64px); line-height: 1.03; letter-spacing: -.045em; }
.rule-panel__why { max-width: 710px; margin: 18px 0 0; color: rgba(255,255,255,.76); font-size: 17px; }
.actions-list { max-width: 850px; display: grid; gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.actions-list li { display: grid; grid-template-columns: 46px 1fr; align-items: start; gap: 13px; padding: 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(4,17,29,.54); backdrop-filter: blur(15px); }
.actions-list span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: rgba(34,212,154,.14); color: var(--green-bright); font-size: 12px; font-weight: 900; }
.actions-list p { margin: 1px 0 0; font-weight: 680; }
.stop-box { max-width: 850px; margin-top: 28px; padding: 22px; border: 1px solid rgba(255,176,32,.38); border-radius: 22px; background: rgba(91,52,0,.42); backdrop-filter: blur(18px); }
.stop-box strong { display: block; color: #ffd88c; font-size: 12px; letter-spacing: .16em; }
.stop-box p { margin: 8px 0 0; color: var(--white); font-size: 18px; font-weight: 750; }
.knowledge-check { max-width: 850px; margin-top: 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; background: rgba(4,17,29,.62); backdrop-filter: blur(18px); }
.knowledge-check summary { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 20px; cursor: pointer; font-weight: 780; list-style: none; }
.knowledge-check summary::-webkit-details-marker { display: none; }
.knowledge-check summary::after { content: "+"; color: var(--green-bright); font-size: 24px; font-weight: 400; }
.knowledge-check[open] summary::after { content: "–"; }
.knowledge-check p { margin: 0; padding: 0 20px 20px; color: rgba(255,255,255,.75); }
.knowledge-check p strong { color: var(--green-bright); }
.rule-disclaimer { max-width: 850px; margin: 18px 0 0; color: rgba(255,255,255,.48); font-size: 12px; }

.rule-pager { min-height: 120px; display: flex; justify-content: space-between; gap: 12px; padding: 26px max(16px, calc((100% - 1120px) / 2)) calc(26px + env(safe-area-inset-bottom)); background: var(--navy-950); }
.rule-pager button { min-height: 52px; min-width: 120px; padding: 12px 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; color: var(--white); background: var(--navy-800); font-weight: 800; cursor: pointer; }
.rule-pager button:last-child { margin-left: auto; background: var(--green-bright); color: var(--navy-950); border-color: transparent; }
.rule-pager button:disabled { opacity: .36; cursor: not-allowed; }

.toast { position: fixed; z-index: 200; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); max-width: calc(100% - 32px); transform: translate(-50%, 130%); padding: 12px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; color: var(--white); background: rgba(4,17,29,.94); box-shadow: var(--shadow); font-size: 13px; font-weight: 700; transition: transform .24s ease; }
.toast.is-visible { transform: translate(-50%, 0); }

@media (max-width: 820px) {
  :root { --page: min(100% - 28px, 680px); --radius-xl: 24px; --radius-lg: 20px; }
  .topbar { min-height: 68px; }
  .topbar__status { display: none; }
  .hero { min-height: 100svh; }
  .hero__content { padding: 126px 0 64px; }
  .hero h1 { font-size: clamp(40px, 12.2vw, 64px); }
  .hero h1 span { font-size: .39em; }
  .hero__lead { max-width: 360px; font-size: 16px; }
  .section-heading { grid-template-columns: 1fr; gap: 14px; }
  .rules-section { padding: 92px 0 90px; }
  .rules-grid { grid-template-columns: 1fr; }
  .rule-card { min-height: 230px; }
  .method { padding: 82px 0 92px; }
  .method__steps { grid-template-columns: 1fr 1fr; }
  .method__steps li { min-height: 150px; }
  .footer { grid-template-columns: 1fr; align-items: start; gap: 16px; }
  .stop-callout { min-height: 100svh; }
  .stop-callout__content { padding-bottom: 64px; }
  .rule-panel__content { padding-top: 130px; padding-bottom: 58px; }
  .rule-panel--stop { --stop-media-height: clamp(360px, 58svh, 520px); }
  .rule-panel--stop .rule-panel__content { padding-top: 36px; padding-bottom: 58px; }
  .rule-panel h1 { font-size: clamp(44px, 13vw, 68px); }
  .rule-panel--actions .rule-panel__photo { object-position: 56% center; }
}

@media (max-width: 480px) {
  .principle-strip { align-items: flex-start; }
  .section-heading h2, .stop-callout h2, .method h2 { font-size: 38px; }
  .rule-card h3 { font-size: 21px; }
  .method__steps { grid-template-columns: 1fr; }
  .method__steps li { min-height: 124px; }
  .rule-panel { min-height: 100svh; }
  .rule-panel__greeting { max-width: 320px; }
  .actions-list li { grid-template-columns: 40px 1fr; padding: 14px; }
  .actions-list span { width: 38px; height: 38px; }
  .rule-pager button { min-width: 0; flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (prefers-contrast: more) {
  .rule-card, .principle-strip { border-color: #24495e; }
  .hero__shade, .rule-panel__shade { background: linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.98)); }
}
