:root {
  --bg: #08111f;
  --bg2: #0f172a;
  --card: #111c31;
  --text: #f8fafc;
  --muted: #a7b0c0;
  --green: #22c55e;
  --blue: #38bdf8;
  --yellow: #facc15;
  --red: #ef4444;
  --line: rgba(255, 255, 255, .12);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 20% 10%, rgba(56, 189, 248, .18), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(34, 197, 94, .14), transparent 28%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  overflow-x: hidden;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  backdrop-filter: blur(16px);
  background: rgba(8, 17, 31, .78);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .24);
}

.logo-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong {
  font-size: 17px;
  font-weight: 800;
  color: white;
  letter-spacing: .1px;
}

.logo-text small {
  margin-top: 3px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  min-width: 0;
}

.nav-links a,
.nav-links button {
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover,
.nav-links button:hover {
  color: white
}

.nav-btn,
.nav-cta,
.nav-logout {
  padding: 10px 15px;
  border-radius: 999px;
  color: white !important;
}

.nav-btn {
  background: rgba(255, 255, 255, .08);
}

.nav-cta {
  background: linear-gradient(135deg, var(--green), #86efac);
  color: #03110a !important;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(34, 197, 94, .22);
}

.nav-cta:hover {
  color: #03110a !important;
  box-shadow: 0 14px 34px rgba(34, 197, 94, .32);
}

.nav-logout {
  border: 0;
  background: var(--red);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px 22px 56px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
}

h1 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
  margin: 0 0 22px;
  letter-spacing: -1.8px;
}

.lead {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 0;
  border-radius: 14px;
  font-family: inherit;
  font-size: inherit;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  appearance: none;
  transition: .18s transform, .18s box-shadow, .18s background;
}

.btn:hover {
  transform: translateY(-2px)
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), #86efac);
  color: #03110a;
  box-shadow: 0 18px 45px rgba(34, 197, 94, .24);
}

.btn-secondary {
  background: rgba(255, 255, 255, .09);
  border: 1px solid var(--line);
  color: white;
}

.stats {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 620px;
}

.stat {
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}

.stat strong {
  display: block;
  font-size: 22px;
}

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

.visual-card {
  position: relative;
  min-height: 460px;
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .035)),
    radial-gradient(circle at 80% 20%, rgba(250, 204, 21, .16), transparent 30%);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}

.intersection {
  position: absolute;
  inset: 36px;
  border-radius: 26px;
  background: #123024;
  overflow: hidden;
}

.road-v,
.road-h {
  position: absolute;
  background: #27313f;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .04);
}

.road-v {
  width: 34%;
  height: 100%;
  left: 33%;
  top: 0;
}

.road-h {
  height: 34%;
  width: 100%;
  left: 0;
  top: 33%;
}

.lane-v,
.lane-h {
  position: absolute;
  background: repeating-linear-gradient(to bottom,
      rgba(255, 255, 255, .8) 0 18px,
      transparent 18px 34px);
  opacity: .65;
}

.lane-v {
  width: 3px;
  height: 100%;
  left: 50%;
  top: 0;
}

.lane-h {
  height: 3px;
  width: 100%;
  left: 0;
  top: 50%;
  background: repeating-linear-gradient(to right,
      rgba(255, 255, 255, .8) 0 18px,
      transparent 18px 34px);
}

.cross-center {
  position: absolute;
  left: 33%;
  top: 33%;
  width: 34%;
  height: 34%;
  background: #303b4b;
}

.car {
  position: absolute;
  width: 48px;
  height: 28px;
  border-radius: 9px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .25);
}

.car:before {
  content: "";
  position: absolute;
  inset: 6px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .35);
}

.car.green {
  background: var(--green);
  left: 54%;
  top: 74%;
  transform: rotate(-90deg)
}

.car.blue {
  background: var(--blue);
  left: 12%;
  top: 43%
}

.car.yellow {
  background: var(--yellow);
  right: 13%;
  top: 51%;
  transform: rotate(180deg)
}

.car.red {
  background: var(--red);
  left: 42%;
  top: 12%;
  transform: rotate(90deg)
}

.route {
  position: absolute;
  left: 49%;
  top: 50%;
  width: 125px;
  height: 125px;
  border: 6px solid var(--green);
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 80px 0 0;
  filter: drop-shadow(0 0 12px rgba(34, 197, 94, .75));
}

.route:after {
  content: "";
  position: absolute;
  right: -12px;
  bottom: -5px;
  width: 0;
  height: 0;
  border-left: 14px solid var(--green);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}

.sign {
  position: absolute;
  right: 34px;
  top: 30px;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #2563eb;
  border: 7px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
}

.traffic {
  position: absolute;
  left: 34px;
  bottom: 34px;
  width: 46px;
  padding: 7px;
  border-radius: 18px;
  background: #111827;
  display: grid;
  gap: 7px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, .35);
}

.light {
  height: 28px;
  border-radius: 50%;
  background: #374151;
}

.light.red {
  background: #ef4444
}

.light.yellow {
  background: #facc15
}

.light.green {
  background: #22c55e;
  box-shadow: 0 0 18px rgba(34, 197, 94, .8)
}

.floating-panel {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 230px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(8, 17, 31, .86);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.floating-panel strong {
  display: block;
  margin-bottom: 8px
}

.progress {
  height: 9px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
}

.progress span {
  display: block;
  width: 76%;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 22px;
}

.section h2 {
  font-size: clamp(30px, 3.5vw, 44px);
  margin: 0 0 14px;
  letter-spacing: -1px;
}

.section-desc {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 760px;
  margin: 0 0 28px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: rgba(255, 255, 255, .065);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, .14);
  margin-bottom: 16px;
  font-size: 24px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.card p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.school {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, rgba(34, 197, 94, .13), rgba(56, 189, 248, .10));
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 34px;
}

.school ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

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

.mock-admin {
  background: #0b1220;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, .25);
}

.admin-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  margin-bottom: 10px;
  color: var(--muted);
}

.admin-row b {
  color: white
}

.cta {
  text-align: center;
  border-radius: 34px;
  padding: 48px 24px;
  background:
    radial-gradient(circle at 50% 0, rgba(34, 197, 94, .22), transparent 38%),
    rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
}

.cta p {
  color: var(--muted);
  font-size: 18px;
}

.footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding: 28px 22px;
  color: var(--muted);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer a {
  color: white
}

@media(max-width:900px) {

  .hero,
  .school {
    grid-template-columns: 1fr
  }

  .visual-card {
    min-height: 380px
  }

  .cards {
    grid-template-columns: 1fr
  }

  .stats {
    grid-template-columns: 1fr
  }

  .nav {
    align-items: flex-start
  }

  .nav-links {
    justify-content: flex-end
  }
}

@media(max-width:760px) {
  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 18px;
  }

  .logo {
    width: 100%;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
  }

  .nav-links a,
  .nav-links button,
  .nav-links a:not(.nav-btn):not(.nav-cta) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: max-content;
    min-height: 40px;
    padding: 10px 12px;
    border-radius: 999px;
    line-height: 1.2;
    text-align: center;
  }

  .auth-main,
  .account-main {
    min-height: auto;
  }
}

@media(max-width:560px) {
  .nav-links a,
  .nav-links button,
  .nav-links a:not(.nav-btn):not(.nav-cta) {
    min-width: 0;
    white-space: normal;
  }

  .hero {
    padding-top: 44px
  }

  .visual-card {
    min-height: 330px
  }

  .intersection {
    inset: 22px
  }

  .floating-panel {
    left: 18px;
    right: 18px;
    width: auto
  }

  .sign {
    width: 58px;
    height: 58px;
    font-size: 28px
  }
}

@media(max-width:420px) {
  .nav {
    padding-inline: 14px;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links a,
  .nav-links button,
  .nav-links a:not(.nav-btn):not(.nav-cta) {
    width: 100%;
  }

  .logo-text small {
    font-size: 11px;
  }
}

.app-preview {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  width: min(390px, 100%);
  padding: 14px;
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .06));
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .38);
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.contact-page {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.contact-page h1 {
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -1.4px;
}

.contact-form {
  background: rgba(255, 255, 255, .065);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 26px;
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: white;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(8, 17, 31, .72);
  color: white;
  border-radius: 14px;
  padding: 14px 15px;
  font: inherit;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .16);
}

.contact-form textarea {
  resize: vertical;
}

.form-message {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.form-message.success {
  color: #86efac;
}

.form-message.error {
  color: #fca5a5;
}

.form-message.warning {
  color: #fbbf24;
}

.admin-section {
  background: rgba(255, 255, 255, .065);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 26px;
  margin: 28px 0;
}

.contact-requests-list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.contact-request-card {
  background: rgba(8, 17, 31, .72);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px;
  padding: 18px;
}

.contact-request-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.contact-request-head span {
  color: var(--muted);
  font-size: 13px;
}

.contact-request-card p {
  margin: 8px 0;
  color: var(--muted);
}

.contact-request-card a {
  color: #86efac;
}

.contact-request-message {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  color: white;
  line-height: 1.55;
  white-space: pre-wrap;
}

/* ==========================================================================
   Shared form/admin/account/auth styles
   ========================================================================== */

.page-card {
  width: min(100%, 900px);
  margin: 0 auto;
  background: #111827;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}

.row {
  margin: 10px 0;
  padding: 12px;
  background: #1e293b;
  border-radius: 10px;
}

.small {
  opacity: .8;
  font-size: 14px;
}

.msg {
  margin-top: 14px;
  min-height: 22px;
  color: var(--muted);
  white-space: pre-line;
}

.err,
.msg.err {
  color: #f87171;
}

.ok,
.msg.ok {
  color: #4ade80;
}

.reset-success-message {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(74, 222, 128, .35);
  border-radius: 16px;
  background: rgba(34, 197, 94, .12);
  color: #bbf7d0;
  line-height: 1.5;
}

.reset-success-message strong {
  color: #ffffff;
  font-size: 20px;
}

.auth-page .auth-login-btn {
  width: 100%;
  min-height: 46px;
  padding: 14px;
  border-radius: 10px;
  background: var(--green);
  color: #001;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

.auth-page,
.account-page,
.admin-page {
  min-height: 100vh;
}

.auth-page {
  display: block;
}

.auth-main,
.account-main {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 30px;
}

.auth-main {
  align-items: center;
  min-height: calc(100vh - 79px);
}

.account-page,
.admin-page {
  padding: 0;
}

.admin-page {
  padding: 30px;
}

.auth-page .page-card,
.auth-page .card {
  width: 100%;
  max-width: 420px;
  background: #111827;
  padding: 32px;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}

.account-page .page-card,
.account-page .card {
  max-width: 760px;
}

.admin-page .page-card,
.admin-page .card {
  width: min(100%, 1180px);
  max-width: 1180px;
}

.auth-page h1,
.account-page h1,
.admin-page h1 {
  margin-top: 0;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -1px;
}

.auth-page input,
.admin-page input,
.admin-page select {
  width: 100%;
  box-sizing: border-box;
  padding: 14px;
  margin: 8px 0 14px;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #020617;
  color: white;
  font-size: 16px;
}

.admin-page input,
.admin-page select {
  padding: 12px;
}

.auth-page input:focus,
.admin-page input:focus,
.admin-page select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .16);
}

.auth-page .card a {
  color: #60a5fa;
}

.auth-consent {
  margin: 4px 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.auth-page button,
.account-page button,
.admin-page button,
.admin-page a.btn,
.account-page a.btn {
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 8px 8px 8px 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
}

.auth-page button {
  width: 100%;
  padding: 14px;
  background: #3b82f6;
  color: white;
  font-size: 16px;
}

.register-page button {
  background: var(--green);
  color: #001;
}

.account-page button,
.account-page .btn-danger {
  background: var(--red);
  color: white;
}

.account-page a.btn,
.admin-page a.btn {
  background: #3b82f6;
  color: white;
}

.admin-page button {
  background: #3b82f6;
  color: white;
}

.admin-page .danger {
  background: var(--red);
  color: white;
}

.admin-page .good {
  background: var(--green);
  color: #001;
}

.admin-page .warn {
  background: #eab308;
  color: #001;
}

.admin-page .admin-section {
  background: rgba(255, 255, 255, .065);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 26px;
  margin: 28px 0;
}

.contact-requests-list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.contact-request-card {
  background: rgba(8, 17, 31, .72);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px;
  padding: 18px;
}

.contact-request-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.contact-request-head span {
  color: var(--muted);
  font-size: 13px;
}

.contact-request-card p {
  margin: 8px 0;
  color: var(--muted);
}

.contact-request-card a {
  color: #86efac;
}

.contact-request-message {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  color: white;
  line-height: 1.55;
  white-space: pre-wrap;
}

.admin-pagination {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 0;
  flex-wrap: wrap;
}

.admin-pagination button {
  margin: 0;
}

.admin-pagination button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.admin-pagination span {
  color: var(--muted);
}

.user-sessions-box {
  min-width: 0;
  margin-top: 16px;
}


.devices-help {
  margin-top: -4px;
  color: #cbd5e1;
  line-height: 1.5;
}

.session-device-label {
  color: #f8fafc;
  font-weight: 700;
  line-height: 1.35;
}

.user-sessions-table .session-device-id {
  display: block;
  margin-top: 5px;
  color: #86efac;
  font-size: 12px;
  font-weight: 400;
}

.user-sessions-summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: #f8fafc;
  background: rgba(15, 23, 42, .72);
  font-weight: 700;
}

.user-sessions-table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  margin-top: 14px;
}

.user-sessions-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
  background: rgba(8, 17, 31, .72);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  overflow: hidden;
}

.user-sessions-table th,
.user-sessions-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  text-align: left;
  vertical-align: top;
}

.user-sessions-table th {
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 700;
}

.user-sessions-table td {
  color: #f8fafc;
  font-size: 14px;
}

.user-sessions-table tr:last-child td {
  border-bottom: 0;
}

.user-sessions-table code {
  color: #86efac;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.user-sessions-table .user-agent {
  max-width: 320px;
  margin-top: 6px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.user-sessions-table .session-revoke-btn {
  min-height: 36px;
  margin: 0;
  padding: 8px 12px;
  white-space: nowrap;
}


@media(max-width:700px) {
  .account-page .card {
    min-width: 0;
  }

  .user-sessions-table-wrap {
    overflow-x: visible;
  }

  .user-sessions-table,
  .user-sessions-table thead,
  .user-sessions-table tbody,
  .user-sessions-table tr,
  .user-sessions-table th,
  .user-sessions-table td {
    display: block;
  }

  .user-sessions-table {
    border: 0;
    background: transparent;
    border-radius: 0;
  }

  .user-sessions-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .user-sessions-table tbody {
    display: grid;
    gap: 14px;
  }

  .user-sessions-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 16px;
    background: rgba(8, 17, 31, .72);
  }

  .user-sessions-table td {
    min-width: 0;
    padding: 0;
    border-bottom: 0;
  }

  .user-sessions-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
  }

  .user-sessions-table .session-platform-cell {
    order: 1;
  }

  .user-sessions-table .session-device-cell {
    order: 2;
  }

  .user-sessions-table .session-status-cell {
    order: 3;
  }

  .user-sessions-table .session-last-seen-cell {
    order: 4;
  }

  .user-sessions-table .session-created-cell {
    order: 5;
  }

  .user-sessions-table .session-action-cell {
    order: 6;
  }

  .user-sessions-table .session-revoke-btn {
    width: 100%;
    margin-top: 2px;
    white-space: normal;
  }
}

@media(max-width:560px) {
  .auth-main,
  .account-main {
    padding: 18px;
  }

  .admin-page {
    padding: 18px;
  }

  .page-card,
  .auth-page .card,
  .account-page .card,
  .admin-page .card {
    padding: 22px;
  }

  .contact-request-head {
    flex-direction: column;
  }
}


.mt-0 {
  margin-top: 0;
}

.muted-text {
  color: var(--muted);
  line-height: 1.6;
}

.hero-actions-compact {
  margin-top: 18px;
}

.hero-actions-center {
  justify-content: center;
}

.btn-trainer,
.account-page a.btn-trainer {
  background: linear-gradient(135deg, var(--green), #86efac);
  color: #03110a;
  box-shadow: 0 14px 34px rgba(34, 197, 94, .2);
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}

.account-actions .btn,
.account-actions button {
  flex: 1 1 160px;
  margin: 0;
}

@media(max-width:560px) {
  .account-actions {
    flex-direction: column;
  }

  .account-actions .btn,
  .account-actions button {
    width: 100%;
    flex-basis: auto;
  }
}

.cta-note {
  max-width: 650px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.continue-card,
.auth-helper {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .055);
}

.continue-card h2 {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -.3px;
}

.continue-card p,
.auth-helper p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.auth-helper-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.auth-helper-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 150px;
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: white;
  background: rgba(255, 255, 255, .08);
  font-weight: 700;
  text-align: center;
}

@media(max-width:560px) {
  .hero-actions .btn {
    width: 100%;
  }

  .auth-helper-links {
    flex-direction: column;
  }

  .auth-helper-links a {
    width: 100%;
    flex-basis: auto;
  }
}

.admin-account-btn {
  background: var(--green) !important;
  color: #001 !important;
}


.nav-links .nav-logout {
  min-height: 40px;
  margin: 0;
  padding: 10px 15px;
  border-radius: 999px;
  color: white !important;
  line-height: 1.2;
}

[hidden] {
  display: none !important;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #111827;
  color: white;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  opacity: 0;
  transform: translateY(20px);
  transition: 0.3s;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* =======================================================================
   Pricing page
   ======================================================================= */

.pricing-hero {
  padding-bottom: 20px;
}

.pricing-hero h1 {
  margin-bottom: 16px;
}

.pricing-section {
  padding-top: 20px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, .065);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .22);
}

.pricing-card-featured {
  background:
    radial-gradient(circle at 85% 0, rgba(34, 197, 94, .24), transparent 34%),
    rgba(255, 255, 255, .085);
  border-color: rgba(134, 239, 172, .32);
}

.pricing-card-school {
  background: linear-gradient(135deg, rgba(34, 197, 94, .13), rgba(56, 189, 248, .10));
}

.pricing-card-head h2 {
  margin: 12px 0 8px;
  font-size: 30px;
  letter-spacing: -.7px;
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #dff7ff;
  background: rgba(56, 189, 248, .14);
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: 13px;
  font-weight: 800;
}

.price {
  margin: 0;
  color: white;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -.8px;
}

.price span {
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.pricing-service,
.pricing-note {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.pricing-note:empty {
  display: none;
}

.pricing-note-error {
  color: #fecaca;
}

.pricing-features {
  display: grid;
  gap: 10px;
}

.pricing-features h3,
.pricing-school-box h3 {
  margin: 0;
  color: white;
  font-size: 18px;
}

.pricing-features ul {
  margin: 0 0 8px;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.65;
}

.pricing-features p,
.pricing-school-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.pricing-school-box {
  display: grid;
  gap: 12px;
  padding: 20px;
  border-radius: 22px;
  background: #0b1220;
  border: 1px solid var(--line);
}

.pricing-actions {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.pricing-actions .btn {
  width: 100%;
}

.btn-disabled,
.btn-disabled:hover {
  color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .1);
  border: 1px solid var(--line);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

@media(max-width:980px) {
  .pricing-cards {
    grid-template-columns: 1fr;
  }
}

@media(max-width:560px) {
  .pricing-card {
    padding: 22px;
    border-radius: 24px;
  }

  .price {
    font-size: 30px;
  }
}

/* =======================================================================
   Privacy page
   ======================================================================= */

.privacy-section {
  max-width: 980px;
}

.privacy-card {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, .065);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
}

.privacy-card h1 {
  margin-top: 18px;
  font-size: clamp(34px, 5vw, 56px);
  overflow-wrap: break-word;
  hyphens: auto;
}

.privacy-card .btn-primary {
  background: linear-gradient(135deg, #2563eb, var(--blue));
  color: white;
  box-shadow: 0 18px 45px rgba(37, 99, 235, .28);
}

.privacy-card .btn-primary:hover {
  color: white;
  box-shadow: 0 20px 52px rgba(37, 99, 235, .36);
}

.privacy-block {
  padding-top: 26px;
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.privacy-block h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 14px;
  letter-spacing: -.6px;
}

.privacy-block h3 {
  margin: 20px 0 10px;
  color: white;
  font-size: 18px;
}

.privacy-block p,
.privacy-block li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.privacy-block p {
  margin: 0 0 14px;
}

.privacy-block ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.privacy-block a {
  color: #93c5fd;
  overflow-wrap: anywhere;
}

@media(max-width:560px) {
  .privacy-section {
    padding-top: 32px;
  }

  .privacy-card {
    border-radius: 22px;
  }

  .privacy-card h1 {
    font-size: clamp(28px, 9vw, 34px);
    line-height: 1.08;
    letter-spacing: -.9px;
  }

  .privacy-block p,
  .privacy-block li {
    font-size: 16px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.account-deletion-page .auth-main {
  min-height: 100vh;
  padding: 40px 16px;
}

.account-deletion-card {
  max-width: 720px;
  text-align: left;
}

.account-deletion-card h1 {
  text-align: center;
}

.account-deletion-card ul {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.7;
}

.account-deletion-card li {
  margin: 4px 0;
}

.account-deletion-card button:disabled {
  opacity: .65;
  cursor: wait;
}

.admin-users-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(150px, 180px) minmax(190px, 240px) auto;
  gap: 12px;
  align-items: center;
}

.admin-users-filters input,
.admin-users-filters select,
.admin-users-filters button {
  margin: 0;
}

.admin-users-counters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  width: 100%;
  margin: 18px 0;
}

.admin-users-counter {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background: rgba(8, 17, 31, .72);
}

.admin-users-counter span {
  display: block;
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.admin-users-counter b {
  display: block;
  margin-top: 4px;
  color: #f8fafc;
  font-size: 24px;
  line-height: 1.1;
}

.admin-users-table-wrap {
  max-width: 100%;
  margin-top: 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-users-table {
  min-width: 1060px;
  table-layout: fixed;
}

.admin-users-col-id { width: 9%; }
.admin-users-col-email { width: 19%; }
.admin-users-col-status { width: 8%; }
.admin-users-col-role { width: 8%; }
.admin-users-col-access { width: 12%; }
.admin-users-col-expires { width: 15%; }
.admin-users-col-devices { width: 9%; }
.admin-users-col-created { width: 10%; }
.admin-users-col-last-seen { width: 10%; }

.admin-users-table th,
.admin-users-table td {
  min-width: 0;
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: normal;
}

.admin-users-table th {
  hyphens: auto;
}

.admin-users-table td {
  white-space: normal;
}

.admin-users-table code {
  display: block;
  max-width: 100%;
}

.admin-users-email {
  display: block;
  max-width: 100%;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  background: transparent !important;
  color: #86efac !important;
  font: inherit;
  font-weight: 700;
  text-align: left;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.admin-users-email-note {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 6px;
  border: 1px solid rgba(251, 191, 36, .45);
  border-radius: 999px;
  color: #fbbf24;
  font-size: 12px;
  line-height: 1.3;
}

@media(max-width:900px) {
  .admin-users-filters {
    grid-template-columns: 1fr;
  }
}

@media(max-width:700px) {
  .admin-users-table-wrap {
    overflow-x: visible;
  }

  .admin-users-table {
    width: 100%;
    min-width: 0;
  }

  .admin-users-table tbody {
    width: 100%;
    max-width: 100%;
  }

  .admin-users-table tr {
    width: 100%;
    max-width: 100%;
  }

  .admin-users-table td,
  .admin-users-table .small,
  .admin-users-table code,
  .admin-users-email {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

@media(max-width:420px) {
  .admin-users-counters {
    grid-template-columns: minmax(0, 1fr);
  }
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.seo-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 22px 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
  align-items: center;
}

.seo-hero-card,
.seo-note,
.seo-cta,
.topic-card {
  background: rgba(255, 255, 255, .065);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .18);
}

.seo-hero-card {
  padding: 24px;
}

.seo-hero-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 22px;
}

.seo-hero-card p,
.seo-content p,
.seo-content li,
.topic-card small {
  color: var(--muted);
  line-height: 1.7;
}

.seo-content {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 22px 36px;
}

.seo-section,
.seo-note {
  margin: 0 0 34px;
}

.seo-section h2,
.seo-note h2,
.seo-cta h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -.6px;
}

.seo-section p {
  margin: 0 0 16px;
  font-size: 18px;
}

.seo-note {
  padding: 24px;
}

.seo-errors {
  background: linear-gradient(135deg, rgba(250, 204, 21, .12), rgba(239, 68, 68, .08));
}

.seo-note ul {
  margin: 0;
  padding-left: 22px;
}

.seo-note li + li {
  margin-top: 10px;
}

.topic-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.section .topic-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.topic-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  transition: .18s transform, .18s border-color, .18s background;
}

.topic-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 197, 94, .45);
  background: rgba(255, 255, 255, .09);
}

.topic-card span {
  font-size: 30px;
}

.topic-card-icon {
  width: 64px;
  height: 54px;
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(255, 255, 255, .08);
}

.topic-card strong {
  min-width: 0;
  font-size: 0.95rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
  white-space: normal;
}

.seo-cta {
  margin-top: 36px;
  padding: 34px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(34, 197, 94, .2), transparent 42%),
    rgba(255, 255, 255, .065);
}

.seo-cta p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 18px;
}

.hero-actions-center {
  justify-content: center;
}

.footer-inner-stacked,
.footer-topics {
  flex-basis: 100%;
}

.footer-topics {
  line-height: 1.7;
}

@media(max-width:980px) {
  .seo-hero {
    grid-template-columns: 1fr;
  }

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

@media(max-width:640px) {
  .seo-hero {
    padding-top: 44px;
  }

  .topic-cards,
  .section .topic-cards {
    grid-template-columns: 1fr;
  }

  .seo-cta,
  .seo-note,
  .topic-card,
  .seo-hero-card {
    border-radius: 20px;
  }

  .seo-cta {
    padding: 26px 18px;
  }

  .topic-card strong {
    font-size: 0.88rem;
    line-height: 1.3;
  }
}

/* Light SEO landing pages */
body.seo-page {
  --seo-bg: #f5f8ff;
  --seo-surface: #ffffff;
  --seo-surface-soft: #eef6ff;
  --seo-text: #102033;
  --seo-muted: #58708d;
  --seo-blue: #2563eb;
  --seo-blue-dark: #1d4ed8;
  --seo-green: #16a34a;
  --seo-line: #dbe7f5;
  --seo-warning-bg: #fff7ed;
  --seo-warning-line: #fed7aa;
  background:
    radial-gradient(circle at 14% 8%, rgba(37, 99, 235, .14), transparent 32%),
    radial-gradient(circle at 88% 22%, rgba(14, 165, 233, .13), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, var(--seo-bg) 52%, #ffffff 100%);
  color: var(--seo-text);
}

.seo-page .eyebrow {
  color: var(--seo-blue);
}

.seo-page .lead {
  color: var(--seo-muted);
}

.seo-page .btn-primary {
  background: linear-gradient(135deg, var(--seo-blue), #60a5fa);
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(37, 99, 235, .22);
}

.seo-page .btn-secondary {
  background: #ffffff;
  border: 1px solid var(--seo-line);
  color: var(--seo-blue-dark);
  box-shadow: 0 12px 28px rgba(37, 99, 235, .08);
}

.seo-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .86);
  border-bottom: 1px solid rgba(219, 231, 245, .9);
  backdrop-filter: blur(18px);
}

.seo-header-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.seo-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--seo-text);
  font-weight: 900;
  letter-spacing: -.2px;
}

.seo-logo-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--seo-blue), #38bdf8);
  color: #ffffff;
  font-size: 14px;
  box-shadow: 0 14px 28px rgba(37, 99, 235, .2);
}

.seo-header-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.seo-header-links a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--seo-muted);
  font-size: 14px;
  font-weight: 800;
}

.seo-header-links a:hover {
  background: var(--seo-surface-soft);
  color: var(--seo-blue-dark);
}

.seo-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 22px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: 34px;
  align-items: center;
}

.seo-hero-content {
  min-width: 0;
}

.seo-hero-content h1 {
  color: var(--seo-text);
  max-width: 780px;
}

.seo-hero-visual {
  min-width: 0;
}

.seo-visual-placeholder {
  min-height: 330px;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  border: 1px solid var(--seo-line);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(239, 246, 255, .92)),
    radial-gradient(circle at 20% 20%, rgba(37, 99, 235, .18), transparent 30%),
    radial-gradient(circle at 82% 22%, rgba(22, 163, 74, .13), transparent 30%);
  box-shadow: 0 26px 70px rgba(37, 99, 235, .13);
}

.seo-visual-placeholder::before {
  content: attr(data-placeholder);
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, .1);
  color: var(--seo-blue-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
}

.seo-visual-placeholder::after {
  content: "";
  position: absolute;
  inset: 78px 42px 42px;
  border-radius: 22px;
  border: 2px dashed rgba(37, 99, 235, .26);
  background:
    linear-gradient(90deg, transparent 48%, rgba(37, 99, 235, .16) 48% 52%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(37, 99, 235, .16) 48% 52%, transparent 52%);
  pointer-events: none;
}

.seo-visual-placeholder span {
  position: relative;
  z-index: 1;
  max-width: 260px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .88);
  color: var(--seo-muted);
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
}

.seo-visual-placeholder-wide {
  min-height: 260px;
  margin-top: 24px;
  border-radius: 26px;
}

.seo-feature-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 22px 44px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.seo-feature-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--seo-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 18px 48px rgba(37, 99, 235, .08);
}

.seo-feature-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--seo-surface-soft);
  color: var(--seo-blue-dark);
  font-size: 22px;
  font-weight: 900;
}

.seo-feature-card h2 {
  margin: 0 0 8px;
  color: var(--seo-text);
  font-size: 20px;
  line-height: 1.2;
}

.seo-feature-card p {
  margin: 0;
  color: var(--seo-muted);
  line-height: 1.6;
}

.seo-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 22px 52px;
}

.seo-section,
.seo-callout,
.seo-warning,
.seo-related,
.seo-cta {
  min-width: 0;
  border: 1px solid var(--seo-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 52px rgba(37, 99, 235, .08);
}

.seo-section,
.seo-warning,
.seo-related {
  margin: 0 0 22px;
  padding: 30px;
}

.seo-section h2,
.seo-warning h2,
.seo-related h2,
.seo-cta h2 {
  margin: 0 0 14px;
  color: var(--seo-text);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -.5px;
}

.seo-section p,
.seo-warning li,
.seo-callout p,
.seo-related-card small,
.seo-cta p {
  color: var(--seo-muted);
  line-height: 1.72;
}

.seo-section p {
  margin: 0 0 15px;
  font-size: 18px;
}

.seo-callout {
  margin-top: 20px;
  padding: 20px;
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  border-color: #bfdbfe;
  box-shadow: none;
}

.seo-callout strong {
  display: block;
  margin-bottom: 6px;
  color: var(--seo-blue-dark);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.seo-callout p {
  margin: 0;
}

.seo-warning {
  background: linear-gradient(135deg, var(--seo-warning-bg), #ffffff);
  border-color: var(--seo-warning-line);
}

.seo-errors ul {
  margin: 0;
  padding-left: 22px;
}

.seo-errors li + li {
  margin-top: 10px;
}

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

.seo-related-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 18px;
  border: 1px solid var(--seo-line);
  border-radius: 20px;
  background: #ffffff;
  transition: .18s transform, .18s border-color, .18s box-shadow;
}

.seo-related-card:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
  box-shadow: 0 14px 30px rgba(37, 99, 235, .12);
}

.seo-related-card span {
  font-size: 28px;
}

.seo-related-card strong {
  color: var(--seo-text);
  font-size: 18px;
  line-height: 1.25;
}

.seo-related-card small {
  font-size: 14px;
}

.seo-cta {
  margin-top: 30px;
  padding: 34px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(37, 99, 235, .14), transparent 42%),
    #ffffff;
}

.seo-cta p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 18px;
}

.seo-footer {
  border-top: 1px solid var(--seo-line);
  background: #ffffff;
  color: var(--seo-muted);
}

.seo-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.seo-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.seo-footer a {
  color: var(--seo-blue-dark);
  font-weight: 800;
}

.seo-footer p {
  margin: 0;
  line-height: 1.6;
}

@media(max-width:980px) {
  .seo-hero {
    grid-template-columns: 1fr;
  }

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

@media(max-width:640px) {
  .seo-header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .seo-header-links {
    justify-content: flex-start;
  }

  .seo-hero {
    padding-top: 42px;
  }

  .seo-feature-grid,
  .seo-related-grid {
    grid-template-columns: 1fr;
  }

  .seo-section,
  .seo-warning,
  .seo-related,
  .seo-cta {
    padding: 22px;
    border-radius: 22px;
  }

  .seo-visual-placeholder {
    min-height: 280px;
    border-radius: 24px;
  }

  .seo-visual-placeholder::after {
    inset: 74px 24px 34px;
  }

  .seo-visual-placeholder-wide {
    min-height: 230px;
  }
}

@media(max-width:420px) {
  .seo-header-inner,
  .seo-hero,
  .seo-feature-grid,
  .seo-content,
  .seo-footer-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .seo-logo {
    font-size: 15px;
  }

  .seo-header-links a {
    padding: 9px 10px;
  }
}

/* Refined visual system for SEO educational landing pages */
body.seo-page {
  --seo-bg: #f3f7fd;
  --seo-surface-soft: #eef6ff;
  --seo-text: #07143d;
  --seo-muted: #52677f;
  --seo-line: #d8e5f4;
  background:
    radial-gradient(circle at 10% 7%, rgba(37, 99, 235, .10), transparent 26%),
    radial-gradient(circle at 92% 16%, rgba(14, 165, 233, .11), transparent 30%),
    linear-gradient(180deg, #fbfdff 0%, #f4f8fe 46%, #ffffff 100%);
}

body.seo-page main {
  overflow: hidden;
}

.seo-page .btn-primary::before {
  content: "▶";
  margin-right: 10px;
  font-size: .86em;
}

.seo-header {
  box-shadow: 0 10px 34px rgba(15, 23, 42, .04);
}

.seo-header-inner {
  min-height: 78px;
}

.seo-logo-mark {
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .24) 0 22%, transparent 23%),
    linear-gradient(135deg, #1d4ed8, #3b82f6 52%, #0ea5e9);
}

.seo-header-links a:last-child::before {
  content: "🤖";
  margin-right: 7px;
}

.seo-hero {
  padding-top: 44px;
  padding-bottom: 22px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
  gap: clamp(26px, 5vw, 58px);
}

.seo-hero-content h1 {
  max-width: 680px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.06;
  letter-spacing: -1.6px;
}

.seo-page .lead {
  max-width: 640px;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.58;
}

.seo-hero .hero-actions {
  margin-top: 24px;
}

.seo-hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.seo-hero-benefits li {
  position: relative;
  min-width: 0;
  padding-left: 32px;
  color: var(--seo-muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.seo-hero-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e0f2fe;
  color: var(--seo-blue-dark);
  font-size: 13px;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .14);
}

.seo-visual-placeholder {
  min-height: 316px;
  isolation: isolate;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
  border-color: #c9dcf2;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(219, 234, 254, .78) 0%, rgba(239, 246, 255, .96) 56%, #ffffff 100%);
  box-shadow: 0 24px 58px rgba(15, 23, 42, .12);
}

.seo-visual-placeholder::before {
  content: "";
  position: absolute;
  inset: 74px 26px 70px;
  border: 0;
  border-radius: 18px;
  background:
    linear-gradient(90deg, transparent 0 31%, rgba(255, 255, 255, .92) 31% 34%, transparent 34% 66%, rgba(255, 255, 255, .92) 66% 69%, transparent 69%),
    linear-gradient(0deg, transparent 0 44%, rgba(255, 255, 255, .92) 44% 48%, transparent 48% 52%, rgba(255, 255, 255, .92) 52% 56%, transparent 56%),
    linear-gradient(135deg, #9ca3af, #64748b);
  clip-path: polygon(42% 0, 58% 0, 62% 40%, 100% 42%, 100% 58%, 62% 60%, 58% 100%, 42% 100%, 38% 60%, 0 58%, 0 42%, 38% 40%);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .08), 0 16px 32px rgba(71, 85, 105, .16);
  pointer-events: none;
  z-index: -1;
}

.seo-visual-placeholder::after {
  content: "🚦";
  position: absolute;
  top: 22px;
  left: 22px;
  width: 54px;
  height: 54px;
  inset: auto auto auto auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(37, 99, 235, .14);
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  font-size: 27px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .10);
  pointer-events: none;
}

.seo-visual-placeholder[data-placeholder*="regulirovshchik"]::after {
  content: "✋";
}

.seo-visual-placeholder[data-placeholder*="ravnoznachnyj"]::after {
  content: "↔️";
}

.seo-visual-placeholder[data-placeholder*="neravnoznachnyj"]::after {
  content: "🛣️";
}

.seo-visual-placeholder span {
  max-width: 340px;
  padding: 14px 18px;
  border: 1px solid rgba(203, 213, 225, .72);
  border-radius: 16px;
  color: #334155;
  font-size: 15px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, .10);
}

.seo-visual-placeholder-wide {
  min-height: 250px;
  margin-top: 22px;
  border-radius: 22px;
}

.seo-feature-grid {
  padding-top: 18px;
  padding-bottom: 34px;
  gap: 18px;
}

.seo-feature-card {
  padding: 24px 22px 22px;
  border-color: rgba(203, 213, 225, .78);
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 16px 42px rgba(15, 23, 42, .07);
}

.seo-feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 15px;
  border-radius: 17px;
  background: linear-gradient(135deg, #e0f2fe, #eff6ff);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .10);
}

.seo-feature-card h2 {
  font-size: 18px;
}

.seo-feature-card p {
  font-size: 15px;
  line-height: 1.55;
}

.seo-content {
  max-width: 1080px;
}

.seo-section,
.seo-warning,
.seo-related,
.seo-cta {
  border-color: rgba(203, 213, 225, .78);
  border-radius: 22px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 16px 44px rgba(15, 23, 42, .07);
}

.seo-section,
.seo-warning,
.seo-related {
  padding: clamp(22px, 3vw, 34px);
}

.seo-section h2,
.seo-warning h2,
.seo-related h2,
.seo-cta h2 {
  font-size: clamp(24px, 2.6vw, 31px);
}

.seo-section p,
.seo-section ul,
.seo-warning ul,
.seo-callout p {
  max-width: 76ch;
}

.seo-section p {
  font-size: 17px;
  line-height: 1.68;
}

.seo-callout {
  position: relative;
  padding: 18px 20px 18px 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eff6ff, #f8fbff);
}

.seo-callout::before {
  content: "i";
  position: absolute;
  top: 20px;
  left: 20px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--seo-blue);
  border-radius: 50%;
  color: var(--seo-blue-dark);
  font-weight: 900;
  font-style: italic;
}

.seo-warning {
  background: linear-gradient(135deg, #fff7ed, #fffdf7 72%);
}

.seo-warning h2::before {
  content: "⚠️";
  margin-right: 10px;
}

.seo-related {
  background: linear-gradient(135deg, #f8fbff, #ffffff);
}

.seo-related-grid {
  gap: 18px;
}

.seo-related-card {
  position: relative;
  min-height: 138px;
  padding: 22px 48px 22px 20px;
  border-color: #d5e4f5;
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
}

.seo-related-card::after {
  content: "→";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--seo-blue);
  font-size: 26px;
  font-weight: 900;
  transition: .18s transform;
}

.seo-related-card:hover::after {
  transform: translate(4px, -50%);
}

.seo-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 34px;
  padding: clamp(26px, 4vw, 36px);
  text-align: left;
  background:
    radial-gradient(circle at 14% 20%, rgba(37, 99, 235, .12), transparent 34%),
    linear-gradient(135deg, #eaf4ff, #f8fbff 62%, #ffffff);
}

.seo-cta p {
  max-width: 680px;
  margin: 0;
}

.seo-cta .hero-actions {
  margin-top: 0;
  justify-content: flex-end;
}

.seo-cta .btn-secondary::before {
  content: "🤖";
  margin-right: 8px;
}

.seo-footer {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

@media(max-width:980px) {
  .seo-hero {
    grid-template-columns: 1fr;
  }

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

  .seo-hero-visual {
    order: 2;
  }

  .seo-cta {
    grid-template-columns: 1fr;
  }

  .seo-cta .hero-actions {
    justify-content: flex-start;
  }
}

@media(max-width:640px) {
  .seo-header-inner {
    min-height: 0;
    gap: 12px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .seo-header-links {
    width: 100%;
    gap: 8px;
  }

  .seo-header-links a {
    font-size: 13px;
  }

  .seo-hero {
    padding-top: 32px;
    padding-bottom: 16px;
    gap: 22px;
  }

  .seo-hero-content h1 {
    font-size: clamp(32px, 10vw, 42px);
  }

  .seo-hero-benefits,
  .seo-cta .hero-actions,
  .seo-hero .hero-actions {
    grid-template-columns: 1fr;
  }

  .seo-hero-benefits {
    display: grid;
    gap: 10px;
  }

  .seo-hero .btn,
  .seo-cta .btn {
    width: 100%;
  }

  .seo-visual-placeholder {
    min-height: 255px;
    padding: 18px;
  }

  .seo-visual-placeholder::before {
    inset: 76px 18px 70px;
  }

  .seo-visual-placeholder::after {
    top: 16px;
    left: 16px;
  }

  .seo-visual-placeholder span {
    max-width: none;
    font-size: 14px;
  }

  .seo-visual-placeholder--inline,
  .seo-visual-placeholder-wide {
    min-height: 220px;
  }

  .seo-related-card {
    min-height: 0;
  }

  .seo-cta {
    text-align: left;
  }
}

@media(max-width:420px) {
  .seo-header-links a {
    padding: 8px 9px;
  }

  .seo-hero,
  .seo-feature-grid,
  .seo-content,
  .seo-footer-inner {
    padding-left: 14px;
    padding-right: 14px;
  }

  .seo-section,
  .seo-warning,
  .seo-related,
  .seo-cta {
    padding: 20px;
  }
}

.seo-cta h2,
.seo-cta p {
  grid-column: 1;
}

.seo-cta .hero-actions {
  grid-column: 2;
  grid-row: 1 / span 2;
}

@media(max-width:980px) {
  .seo-cta h2,
  .seo-cta p,
  .seo-cta .hero-actions {
    grid-column: auto;
    grid-row: auto;
  }
}

/* SEO page navigation and CTA refinements */
.seo-logo-mark {
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .16);
}

.seo-logo-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seo-header-links a,
.seo-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.seo-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.seo-icon-globe {
  font-size: 1.05em;
}

.seo-icon-android {
  width: 1.12em;
  height: 1.12em;
  color: #22c55e;
  fill: currentColor;
}

.seo-page .btn-primary {
  background: var(--seo-blue);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(37, 99, 235, .22);
}

.seo-page .btn-primary:hover {
  background: var(--seo-blue-dark);
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(30, 64, 175, .24);
}

.seo-page .btn-primary::before,
.seo-cta .btn-secondary::before {
  content: none;
}

.seo-page .btn-secondary {
  background: #ffffff;
  border: 1px solid rgba(34, 197, 94, .35);
  color: var(--seo-text);
  box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
}

.seo-page .btn-secondary:hover {
  background: #f7fff9;
  border-color: rgba(34, 197, 94, .58);
  color: var(--seo-text);
}

.seo-cta {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: clamp(22px, 3vw, 30px);
  text-align: left;
}

.seo-cta h2,
.seo-cta p,
.seo-cta .hero-actions {
  grid-column: auto;
  grid-row: auto;
}

.seo-cta h2 {
  margin-bottom: 4px;
  max-width: none;
}

.seo-cta p {
  max-width: 920px;
  margin: 0;
}

.seo-cta .hero-actions {
  justify-content: flex-start;
  margin-top: 6px;
}

@media(max-width:640px) {
  .seo-header-links {
    align-items: stretch;
  }

  .seo-header-links a {
    flex: 1 1 150px;
    min-width: 0;
    padding: 9px 10px;
    white-space: normal;
  }

  .seo-logo-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .seo-cta {
    gap: 10px;
    padding: 20px;
  }

  .seo-cta .hero-actions {
    width: 100%;
    margin-top: 8px;
  }
}

@media(max-width:420px) {
  .seo-header-links a {
    flex-basis: 100%;
  }
}

/* Compact SEO related cards with local CSS thumbnails */
.seo-header-links a:last-child::before {
  content: none;
}

.seo-related-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.seo-related-card {
  min-height: 92px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: start;
  gap: 14px;
  padding: 14px 16px;
  border-color: #dbeafe;
  border-radius: 20px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 14px 34px rgba(37, 99, 235, .08);
}

.seo-related-card::after {
  content: none;
}

.seo-related-thumb {
  width: 64px;
  height: 54px;
  display: block;
  grid-column: 1;
  grid-row: 1;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  object-fit: cover;
}

.seo-related-title {
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
  color: var(--seo-text);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: break-word;
  white-space: normal;
}

.seo-related-desc {
  min-width: 0;
  grid-column: 2;
  grid-row: 2;
  margin-top: -8px;
  color: var(--seo-muted);
  font-size: 0.86rem;
  line-height: 1.5;
  overflow-wrap: break-word;
}

@media(max-width:720px) {
  .seo-related-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width:420px) {
  .seo-related-card {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .seo-related-thumb {
    width: 58px;
    height: 44px;
    border-radius: 12px;
  }

  .seo-related-title {
    font-size: 0.88rem;
    line-height: 1.3;
  }

  .seo-related-desc {
    margin-top: -5px;
    font-size: 0.81rem;
    line-height: 1.45;
  }
}

/* Unified SEO placeholders and unregulated hub cards */
.seo-visual-placeholder {
  min-height: 316px;
  aspect-ratio: 16 / 9;
  max-width: 100%;
}

.seo-visual-frame {
  min-height: 316px;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border: 1px solid #c9dcf2;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(219, 234, 254, .78) 0%, rgba(239, 246, 255, .96) 56%, #ffffff 100%);
  box-shadow: 0 24px 58px rgba(15, 23, 42, .12);
}

.seo-visual-frame--image {
  isolation: isolate;
}

.seo-visual-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 18px;
}

.seo-visual-placeholder--inline,
.seo-visual-frame--inline,
.seo-visual-placeholder-wide {
  width: min(100%, 640px);
  max-width: 100%;
  min-height: 320px;
  margin: 28px auto;
  border-radius: 24px;
}

.seo-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0 0;
}

.seo-type-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid #d5e4f5;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff, #f8fbff);
  box-shadow: 0 16px 42px rgba(15, 23, 42, .07);
  transition: .18s transform, .18s border-color, .18s box-shadow;
}

.seo-type-card:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, .34);
  box-shadow: 0 20px 48px rgba(37, 99, 235, .12);
}

.seo-type-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #e0f2fe, #eff6ff);
  font-size: 27px;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .10);
  object-fit: contain;
}

.seo-type-card strong {
  color: var(--seo-text);
  font-size: 21px;
  line-height: 1.25;
}

.seo-type-card small {
  color: var(--seo-muted);
  font-size: 15px;
  line-height: 1.55;
}

.topic-helper-link {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  text-align: center;
}

.topic-helper-link a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media(max-width:640px) {
  .seo-visual-placeholder,
  .seo-visual-frame {
    min-height: 255px;
  }

  .seo-visual-frame {
    padding: 18px;
  }

  .seo-visual-placeholder--inline,
  .seo-visual-frame--inline,
  .seo-visual-placeholder-wide {
    width: 100%;
    max-width: 100%;
    min-height: 220px;
    margin: 24px auto;
  }

  .seo-type-grid {
    grid-template-columns: 1fr;
  }

  .seo-type-card {
    padding: 20px;
  }
}

.seo-feature-icon svg {
  display: block;
  width: 34px;
  height: 34px;
}

.seo-content a,
.seo-hero .lead a {
  color: var(--seo-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.seo-content a:hover,
.seo-hero .lead a:hover {
  color: var(--seo-blue-dark);
}

.seo-content .seo-related-card,
.seo-content .seo-related-card:hover,
.seo-content .seo-related-card .seo-related-title,
.seo-content .seo-related-card .seo-related-desc {
  text-decoration: none;
}
