:root {
  --navy: #07145f;
  --blue: #075ee8;
  --blue-dark: #003098;
  --red: #e50925;
  --yellow: #f6b700;
  --green: #0ca247;
  --ink: #11162e;
  --muted: #596178;
  --line: #d9e4f5;
  --soft: #f4f8ff;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(7, 20, 95, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  background: var(--white);
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  width: min(1120px, calc(100% - 32px));
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 16px;
  border: 1px solid rgba(217, 228, 245, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 40px rgba(7, 20, 95, 0.1);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 150px;
  max-height: 52px;
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--white);
  background: var(--blue-dark);
  outline: none;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--blue-dark);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 128px 24px 72px;
  background: #eff7ff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.98) 38%, rgba(255, 255, 255, 0.72) 62%, rgba(255, 255, 255, 0.22) 100%),
    image-set(url("assets/opc-reference-hero.png") 1x);
  background-position: center right;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: min(760px, 68vw);
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 72%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.hero::after,
.section::after {
  content: "";
  position: absolute;
  pointer-events: none;
  left: 0;
  right: 0;
  bottom: 0;
  height: 92px;
  background:
    radial-gradient(circle at 8% 92%, rgba(255, 255, 255, 0.95) 0 4px, transparent 5px),
    linear-gradient(170deg, transparent 0 40%, var(--blue-dark) 41% 56%, var(--red) 57% 69%, var(--yellow) 70% 82%, var(--green) 83% 100%);
  opacity: 0.96;
}

.hero-content {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  align-self: start;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  background: #001f78;
  border-radius: 999px;
  padding: 10px 18px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 26px rgba(0, 31, 120, 0.24);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(3.25rem, 8vw, 7.5rem);
  line-height: 0.91;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1::first-line {
  color: var(--navy);
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 30px;
  color: #101735;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 560;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
  box-shadow: 0 12px 28px rgba(7, 94, 232, 0.24);
}

.button.secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--line);
}

.hero-strip {
  width: min(680px, 100%);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.hero-strip span {
  flex: 1 1 96px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--navy);
  text-align: center;
  font-weight: 850;
}

.hero-strip span:nth-child(1) {
  background: rgba(7, 94, 232, 0.09);
}

.hero-strip span:nth-child(2) {
  background: rgba(229, 9, 37, 0.09);
}

.hero-strip span:nth-child(3) {
  background: rgba(246, 183, 0, 0.16);
}

.hero-strip span:nth-child(4) {
  background: rgba(12, 162, 71, 0.1);
}

.hero-strip span:nth-child(5) {
  background: rgba(7, 20, 95, 0.08);
}

.section {
  position: relative;
  padding: 104px 24px;
  overflow: hidden;
}

.section:nth-of-type(even) {
  background: var(--soft);
}

.section::after {
  height: 20px;
  opacity: 0.58;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 56px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
}

.section h2 {
  max-width: 820px;
  margin-bottom: 20px;
  color: var(--navy);
  font-size: clamp(2.15rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.section p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.section .section-kicker {
  color: var(--white);
  background: #001f78;
}

.plain-note {
  width: min(540px, 100%);
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 34px rgba(7, 20, 95, 0.08);
}

.plain-note strong {
  color: var(--blue-dark);
  font-size: 1.1rem;
}

.poster-frame,
.poster-showcase {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.poster-frame img {
  width: 100%;
  aspect-ratio: 1122 / 1402;
  object-fit: cover;
}

.poster-frame.slim img {
  max-height: 560px;
  object-position: center top;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 34px;
}

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

.leverage-grid article,
.steps article,
.cta-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 34px rgba(7, 20, 95, 0.07);
}

.leverage-grid article {
  padding: 24px;
}

.leverage-grid h3,
.steps h3,
.cta-panel h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.16;
}

.leverage-grid p,
.steps p,
.cta-panel p {
  margin-bottom: 0;
  font-size: 0.97rem;
}

.pill {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pill.blue {
  background: var(--blue);
}

.pill.red {
  background: var(--red);
}

.pill.yellow {
  color: var(--navy);
  background: var(--yellow);
}

.pill.green {
  background: var(--green);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-weight: 650;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(12, 162, 71, 0.12);
}

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

.steps article {
  padding: 22px;
}

.steps span {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-size: 1.2rem;
  font-weight: 900;
}

.steps article:nth-child(2) span {
  background: var(--red);
}

.steps article:nth-child(3) span {
  color: var(--navy);
  background: var(--yellow);
}

.steps article:nth-child(4) span {
  background: var(--green);
}

.steps article:nth-child(5) span {
  background: #6c2bd9;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 0.62fr);
  gap: 52px;
  align-items: center;
}

.poster-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.poster-controls button {
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.poster-controls button.active,
.poster-controls button:hover,
.poster-controls button:focus-visible {
  color: var(--white);
  background: var(--blue-dark);
  outline: none;
}

.poster-showcase img {
  width: 100%;
  aspect-ratio: 1122 / 1402;
  object-fit: cover;
}

.community {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 20, 95, 0.97), rgba(0, 48, 152, 0.93)),
    url("assets/opc-reference-conclusion.png") center right / cover;
}

.community .section-kicker {
  color: var(--white);
  background: #001f78;
}

.community h2,
.community p {
  color: var(--white);
}

.community-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: 36px;
  align-items: center;
}

.cta-panel {
  padding: 28px;
}

.cta-panel h3 {
  font-size: 1.45rem;
}

.cta-panel p {
  color: var(--muted);
}

.cta-actions {
  margin-top: 22px;
}

.cta-actions .button {
  flex: 1 1 180px;
}

.coming-soon-trigger {
  cursor: pointer;
  font: inherit;
}

.modal-backdrop {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 8, 40, 0.62);
  backdrop-filter: blur(10px);
}

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

.coming-soon-modal {
  position: relative;
  width: min(560px, 100%);
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.96)),
    linear-gradient(90deg, var(--blue), var(--red), var(--yellow), var(--green));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  animation: modal-in 260ms ease-out;
}

.coming-soon-modal::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--blue), var(--red), var(--yellow), var(--green));
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  cursor: pointer;
}

.modal-kicker {
  width: fit-content;
  margin: 0 0 16px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--white);
  background: #001f78;
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.coming-soon-modal h2 {
  max-width: 430px;
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(1.8rem, 5vw, 2.75rem);
  line-height: 1;
  letter-spacing: 0;
}

.coming-soon-modal p {
  color: var(--muted);
}

.coming-soon-modal .modal-kicker {
  color: var(--white);
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 34px 24px;
  color: var(--navy);
  background: var(--white);
  font-weight: 850;
}

.site-footer img {
  width: 150px;
  max-height: 52px;
  object-fit: contain;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    border-radius: 28px;
  }

  .brand img {
    width: 136px;
    max-height: 48px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 126px;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.95) 48%, rgba(255, 255, 255, 0.74) 100%),
      image-set(url("assets/opc-reference-hero.png") 1x);
    background-position: center bottom;
  }

  .hero::before {
    width: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 64%, rgba(255, 255, 255, 0) 100%);
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .split,
  .split.reverse,
  .guide-layout,
  .community-inner {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
    padding: 9px 11px;
  }

  .brand img {
    width: 124px;
    max-height: 44px;
  }

  .section {
    padding: 76px 18px;
  }

  .hero {
    padding: 114px 18px 72px;
  }

  .hero-strip {
    border-radius: 20px;
  }

  .hero-strip span {
    flex-basis: calc(50% - 8px);
  }

  .leverage-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .section h2 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .button {
    width: 100%;
  }

  .poster-controls button {
    flex: 1 1 auto;
  }
}
