:root {
  --bg: #f6f7f9;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --line: rgba(17, 24, 39, 0.1);
  --text: #111827;
  --muted: #667085;
  --muted-strong: #475467;
  --accent: #005eb8;
  --accent-hover: #004f9c;
  --success: #11845b;
  --warning: #9a6700;
  --danger: #b42318;
  --radius: 8px;
  --shadow: 0 16px 38px rgba(17, 24, 39, 0.08);
  --shadow-soft: 0 8px 22px rgba(17, 24, 39, 0.07);
  --focus: 0 0 0 4px rgba(0, 94, 184, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 46% 12%, rgba(128, 167, 154, 0.18), transparent 28%),
    radial-gradient(circle at 74% 30%, rgba(0, 94, 184, 0.08), transparent 26%),
    linear-gradient(135deg, #f9fafb 0%, #eef5f9 48%, #f7f7f7 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 28px 16px 56px;
}

.glass,
.card {
  border: 1px solid var(--line);
  background: var(--surface);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.siteHeader {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  border-bottom: 1px solid rgba(17, 24, 39, 0.1);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.06);
}

.topnav {
  position: relative;
  width: 100%;
  max-width: 1180px;
  width: min(1180px, 100%);
  min-height: 68px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brandLink {
  text-decoration: none;
}

.logoImage {
  width: 112px;
  height: 52px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 6px;
  background: #ffffff;
}

.logoImageLarge {
  width: 138px;
  height: 64px;
}

.loginBrand {
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.navLinks {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  flex-wrap: wrap;
  padding: 0;
  border: 0;
  background: transparent;
}

.navForm {
  margin: 0;
}

.navToggle {
  width: 42px;
  height: 42px;
  min-height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.06);
  cursor: pointer;
}

.navToggle span {
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.navToggle.isOpen span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.navToggle.isOpen span:nth-child(2) {
  opacity: 0;
}

.navToggle.isOpen span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.navItem,
.btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.04);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.navItem {
  min-height: 34px;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 650;
}

.navItem:hover,
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.navItem:hover {
  box-shadow: none;
  background: transparent;
  color: var(--text);
}

.navItem {
  position: relative;
  overflow: hidden;
}

.navItem::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.16s ease;
}

.navItem:hover::after,
.navItem.active::after {
  transform: scaleX(1);
}

.navItem.active {
  color: var(--accent);
  background: transparent;
  box-shadow: none;
}

.logoutButton {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(0, 94, 184, 0.35) !important;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--accent), var(--accent-hover)) !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(0, 94, 184, 0.2) !important;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.logoutButton:hover {
  transform: translateY(-1px);
  box-shadow: 0 13px 26px rgba(0, 94, 184, 0.24) !important;
}

.navItem:focus-visible,
.navToggle:focus-visible,
.logoutButton:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
.togglePw:focus-visible {
  outline: none;
  border-color: rgba(0, 94, 184, 0.55);
  box-shadow: var(--focus);
}

.primary {
  border-color: rgba(0, 94, 184, 0.35) !important;
  background: linear-gradient(180deg, var(--accent), var(--accent-hover)) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(0, 94, 184, 0.2) !important;
}

.ghostButton {
  background: rgba(255, 255, 255, 0.62) !important;
  color: var(--text) !important;
}

.portalMain {
  width: 100%;
  max-width: 1180px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 72px 18px 60px;
}

.portalHero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: 58px;
}

.heroCopy {
  max-width: 650px;
}

.heroCopy h1 {
  max-width: 620px;
  margin: 18px 0 14px;
  font-size: 56px;
  line-height: 1;
}

.leadText {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.heroActions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.portalFacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(17, 24, 39, 0.12);
}

.portalFacts strong,
.portalFacts span {
  display: block;
}

.portalFacts strong {
  color: var(--text);
  font-size: 18px;
}

.portalFacts span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.toolPanel {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background:
    radial-gradient(circle at 86% 18%, rgba(75, 139, 124, 0.28), transparent 34%),
    linear-gradient(145deg, #101820, #061013 72%);
  box-shadow: 0 28px 70px rgba(17, 24, 39, 0.24);
  color: #ffffff;
}

.toolPanel::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  pointer-events: none;
}

.panelHeader {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 6px 6px 16px;
}

.panelHeader span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.panelHeader strong {
  max-width: 260px;
  text-align: right;
  font-size: 22px;
  line-height: 1.08;
}

.panelGrid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.panelTool {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.panelTool:hover {
  transform: translateY(-2px);
  border-color: rgba(142, 165, 156, 0.55);
  background: rgba(255, 255, 255, 0.09);
}

.panelToolStatus {
  width: fit-content;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.panelTool.isReady .panelToolStatus {
  color: #bde8d9;
  border-color: rgba(189, 232, 217, 0.32);
}

.panelTool strong {
  font-size: 17px;
}

.panelTool small {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.45;
}

.helpPanel {
  min-height: 430px;
  display: grid;
  align-content: center;
  gap: 28px;
  padding: 28px;
  background: #061013;
}

.helpPanelContent {
  position: relative;
  display: grid;
  gap: 16px;
}

.panelKicker {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.helpPanel h2 {
  max-width: 390px;
  margin: 0;
  color: #ffffff;
  font-size: 34px;
  line-height: 1.05;
}

.helpPanel p {
  max-width: 340px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.helpPanel .btn {
  justify-self: start;
  margin-top: 8px;
}

.helpNotice {
  max-width: 360px;
  display: block;
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
  line-height: 1.5;
}

.toolFlow {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid rgba(17, 24, 39, 0.1);
  scroll-margin-top: 96px;
}

.sectionIntro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 12px;
}

.sectionIntro h2 {
  max-width: 560px;
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
}

.toolRows {
  display: grid;
}

.toolRow {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.1);
  color: var(--text);
  text-decoration: none;
  transition: padding-left 0.16s ease, color 0.16s ease;
}

.toolRow:hover {
  padding-left: 10px;
  color: var(--accent);
}

.toolRowIndex {
  color: var(--muted);
  font-size: 13px;
}

.toolRow strong,
.toolRow small {
  display: block;
}

.toolRow strong {
  font-size: 19px;
}

.toolRow small {
  max-width: 720px;
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.full {
  width: 100%;
  margin-top: 14px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 34px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(0, 94, 184, 0.08) 42%, transparent 72%);
  transform: translateX(-100%);
  animation: sheen 8s ease-in-out infinite;
  pointer-events: none;
}

.hero > * {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  padding: 8px 10px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 12px;
}

.dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(17, 132, 91, 0.16);
}

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

h1 {
  margin: 16px 0 10px;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: 0;
}

p {
  line-height: 1.55;
}

.muted {
  color: var(--muted);
}

.flush {
  margin: 0;
}

.flushBottom {
  margin-bottom: 0;
}

.heroGrid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 14px;
  margin-top: 20px;
}

.metric {
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}

.metric strong {
  display: block;
  font-size: 22px;
  line-height: 1.2;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.toolCard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.toolCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(17, 24, 39, 0.1);
}

.toolTitle {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.25;
}

.pill,
.statusPill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.pill.ready {
  color: var(--success);
  background: rgba(17, 132, 91, 0.1);
  border-color: rgba(17, 132, 91, 0.26);
}

.pill.soon {
  color: var(--warning);
  background: rgba(154, 103, 0, 0.1);
  border-color: rgba(154, 103, 0, 0.24);
}

.support {
  padding: 18px;
  margin-top: 18px;
}

.loginShell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 18px;
}

.loginCard {
  width: 100%;
  max-width: 440px;
  width: min(440px, 100%);
  padding: 24px;
}

.loginCard h1 {
  font-size: 28px;
}

.field {
  margin-top: 12px;
}

label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted-strong);
  font-size: 12px;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  outline: none;
}

input {
  padding: 12px;
}

textarea {
  min-height: 120px;
  margin-top: 6px;
  padding: 11px 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  resize: vertical;
}

.passwordWrap {
  position: relative;
}

.passwordWrap input {
  padding-right: 54px;
}

.togglePw {
  position: absolute;
  right: 7px;
  top: 7px;
  width: 34px;
  height: 34px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--muted-strong);
  cursor: pointer;
  background-image: url("/static/icon-eye.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 19px 19px;
  overflow: hidden;
}

.togglePw:hover {
  color: var(--text);
  border-color: rgba(17, 24, 39, 0.18);
}

.togglePw.isVisible {
  background-image: url("/static/icon-eye-off.svg");
}

.error {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(180, 35, 24, 0.24);
  border-radius: var(--radius);
  background: rgba(180, 35, 24, 0.1);
  color: var(--danger);
  font-size: 13px;
}

.footerNote {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
}

.toolPage {
  width: 100%;
  max-width: 980px;
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 28px 16px 56px;
}

.partnerToolPage {
  width: 100%;
  max-width: 1180px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.partnerToolFrame {
  width: 100%;
  min-height: calc(100vh - 170px);
  height: 1900px;
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.partnerToolShell {
  min-height: 100vh;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.partnerToolShell .siteHeader,
.partnerToolShell .siteFooter {
  flex: 0 0 auto;
}

.partnerToolShell .partnerToolPage {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  padding-top: 18px;
  padding-bottom: 18px;
}

.partnerToolShell .partnerToolFrame {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
}

.toolHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0;
}

.toolHeader h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.card {
  padding: 16px;
}

.toolIntro {
  margin-top: 18px;
}

.comingSoonPage {
  width: 100%;
  max-width: 960px;
  width: min(960px, 100%);
  min-height: calc(100vh - 69px);
  display: grid;
  place-items: center;
  margin: 0 auto;
  padding: 28px 16px 56px;
}

.comingSoonPanel {
  width: 100%;
  padding: 34px;
}

.comingSoonPanel h1 {
  margin-top: 18px;
}

.comingSoonStatus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.comingSoonStatus strong {
  color: var(--text);
  font-size: 18px;
}

.mutedDot {
  background: var(--warning);
  box-shadow: 0 0 0 3px rgba(154, 103, 0, 0.14);
}

.siteFooter {
  border-top: 1px solid rgba(17, 24, 39, 0.1);
  background: rgba(255, 255, 255, 0.78);
}

.footerInner {
  width: 100%;
  max-width: 1120px;
  width: min(1120px, 100%);
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto;
  padding: 18px 16px;
  color: var(--muted);
}

.footerInner > div {
  display: grid;
  gap: 4px;
}

.footerInner strong {
  color: var(--text);
}

.footerLinks {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
}

.footerLinks a {
  color: var(--muted-strong);
  text-decoration: none;
}

.footerLinks a:hover {
  color: var(--accent);
}

.legalPage {
  width: 100%;
  max-width: 960px;
  width: min(960px, 100%);
  margin: 0 auto;
  padding: 54px 16px 70px;
}

.legalHero {
  max-width: 680px;
  margin-bottom: 34px;
}

.legalHero h1 {
  margin-top: 18px;
}

.legalContent {
  display: grid;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid rgba(17, 24, 39, 0.1);
}

.legalContent h2 {
  margin: 18px 0 0;
  font-size: 18px;
}

.legalContent p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.videoGuidesPage {
  width: 100%;
  max-width: 1040px;
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: 54px 16px 76px;
}

.videoGuidesHero {
  max-width: 680px;
  margin-bottom: 34px;
}

.videoGuidesHero h1 {
  margin-top: 18px;
}

.guideList {
  display: grid;
  gap: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(17, 24, 39, 0.1);
}

.guideItem {
  display: grid;
  gap: 14px;
}

.guideItem h2 {
  margin: 0;
  font-size: 24px;
}

.videoFrame {
  aspect-ratio: 16 / 9;
  width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(238, 245, 249, 0.86)),
    linear-gradient(145deg, rgba(16, 24, 32, 0.08), rgba(6, 16, 19, 0.02));
  box-shadow: var(--shadow-soft);
}

.videoFrame > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 700;
}

.videoFrameReady {
  position: relative;
  display: block;
  aspect-ratio: auto;
  background: #000;
  line-height: 0;
}

.guideVideo {
  position: relative;
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: inherit;
  background: #000;
}

.guideVideoPosterButton {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: #000;
  font: inherit;
  cursor: pointer;
  overflow: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.guideVideoPoster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  background: #000;
}

.guideVideoPlayBadge {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(5, 7, 10, 0.82);
  color: #fff;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, background 180ms ease;
}

.guideVideoPosterButton:hover .guideVideoPlayBadge,
.guideVideoPosterButton:focus-visible .guideVideoPlayBadge {
  background: rgba(11, 101, 185, 0.94);
  transform: translate(-50%, -50%) scale(1.04);
}

.videoFrameReady.is-playing .guideVideoPosterButton,
.videoFrameReady.is-started .guideVideoPosterButton {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.guideIcon {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 22px;
}

.guideIconPlay::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
}

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.subtle {
  color: var(--muted);
  font-size: 12.5px;
}

.results {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

@keyframes sheen {
  45%,
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 920px) {
  .topnav {
    min-height: 64px;
    flex-wrap: wrap;
    padding: 8px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand span {
    white-space: nowrap;
  }

  .navToggle {
    display: inline-flex;
    margin-left: auto;
  }

  .navLinks {
    width: 100%;
    display: none;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    gap: 2px;
    padding: 12px 0 6px;
    border-top: 1px solid rgba(17, 24, 39, 0.1);
  }

  .navLinks.isOpen {
    display: flex;
  }

  .navItem {
    width: 100%;
    min-height: 42px;
    justify-content: flex-start;
    padding: 10px 2px;
  }

  .navItem::after {
    right: auto;
    bottom: 6px;
    left: 2px;
    width: 38px;
  }

  .navForm,
  .logoutButton {
    width: 100%;
  }

  .logoutButton {
    margin-top: 8px;
  }
}

@media (max-width: 760px) {
  .wrap,
  .portalMain,
  .toolPage,
  .partnerToolPage,
  .comingSoonPage,
  .legalPage,
  .videoGuidesPage {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero {
    padding: 24px;
  }

  .portalMain {
    padding-top: 42px;
  }

  .portalHero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .helpPanel {
    min-height: 360px;
  }

  .heroCopy h1 {
    font-size: 42px;
  }

  .portalFacts,
  .toolRow {
    grid-template-columns: 1fr;
  }

  .toolRow {
    gap: 10px;
  }

  .sectionIntro {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: 36px;
  }

  .heroGrid,
  .toolCard {
    grid-template-columns: 1fr;
  }

  .comingSoonStatus,
  .footerInner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footerLinks {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 520px) {
  .navLinks,
  .navItem,
  .navForm,
  .logoutButton {
    width: 100%;
  }

  .brand {
    width: auto;
  }

  .logoImage {
    width: 108px;
    height: 50px;
  }

  .logoImageLarge {
    width: 132px;
    height: 62px;
  }

  .navLinks {
    justify-content: stretch;
  }

  .toolHeader {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

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