:root {
  --ink: #17202a;
  --muted: #5f6d7a;
  --line: #dce4ea;
  --soft: #f4f8f7;
  --white: #ffffff;
  --green: #18975a;
  --green-dark: #0c6b43;
  --blue: #2166d1;
  --amber: #d88915;
  --charcoal: #101820;
  --shadow: 0 16px 44px rgba(23, 32, 42, 0.12);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0, #ffffff 440px, #f7faf9 100%);
  line-height: 1.62;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--green-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blue);
}

:focus-visible {
  outline: 3px solid rgba(216, 137, 21, 0.55);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 1000;
  background: var(--charcoal);
  color: var(--white);
  padding: 10px 12px;
  border-radius: var(--radius);
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(23, 32, 42, 0.06);
}

.wrap {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.nav-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(22, 142, 207, 0.18);
  flex: 0 0 auto;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  justify-content: flex-end;
  overflow: visible;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px 9px;
  border-radius: var(--radius);
}

.site-nav a:hover {
  color: var(--green-dark);
  background: #f2faf5;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-trigger::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.72;
}

.nav-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 12px);
  z-index: 80;
  display: grid;
  min-width: 238px;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(24, 151, 90, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.nav-item.align-right .nav-menu {
  left: auto;
  right: 0;
}

.nav-item:hover .nav-menu,
.nav-item:focus-within .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 10px;
  color: #21313f;
  font-size: 0.88rem;
  white-space: nowrap;
}

.nav-services .nav-menu {
  grid-template-columns: repeat(2, minmax(178px, 1fr));
  min-width: 430px;
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(23, 32, 42, 0.08);
}

.mobile-menu-icon,
.mobile-menu-icon::before,
.mobile-menu-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-menu-icon {
  position: relative;
}

.mobile-menu-icon::before,
.mobile-menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.mobile-menu-icon::before {
  transform: translateY(-7px);
}

.mobile-menu-icon::after {
  transform: translateY(7px);
}

.site-header.menu-open .mobile-menu-icon {
  background: transparent;
}

.site-header.menu-open .mobile-menu-icon::before {
  transform: rotate(45deg);
}

.site-header.menu-open .mobile-menu-icon::after {
  transform: rotate(-45deg);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid rgba(24, 151, 90, 0.32);
  border-radius: var(--radius);
  background: #edf8f1;
  color: var(--green-dark);
  padding: 8px 12px;
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--green-dark);
  color: var(--white);
}

.conversion-bar {
  background: #101820;
  color: #dce8ec;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.conversion-row {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.9rem;
  font-weight: 800;
}

.conversion-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.conversion-points span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.conversion-points span::before,
.flow-step::before,
.order-route::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(216, 137, 21, 0.18);
  flex: 0 0 auto;
}

.conversion-row a {
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid rgba(23, 32, 42, 0.8);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--charcoal), #20313f);
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
  line-height: 1.2;
  box-shadow: 0 10px 22px rgba(23, 32, 42, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(12, 107, 67, 0.22);
}

.button.secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}

.button.secondary:hover {
  color: var(--green-dark);
  border-color: var(--green);
  background: #f8fcfa;
}

.button:disabled,
.button[aria-disabled="true"] {
  opacity: 0.58;
  cursor: not-allowed;
}

.band.dark .button.secondary {
  background: var(--white);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.68);
}

.band.dark .button.secondary:hover {
  background: #edf8f1;
  color: var(--green-dark);
  border-color: var(--green);
}

.hero {
  min-height: 74vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 34%, rgba(255, 255, 255, 0.28) 62%, rgba(255, 255, 255, 0.06) 100%),
    url("../images/hero-world-seo-service.png") center right / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--green), var(--amber), transparent);
  animation: scanLine 4.8s linear infinite;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 80px 0 72px;
}

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

.hero-copy h1 {
  text-wrap: balance;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--amber);
  border-radius: 8px;
}

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--ink);
}

h1 {
  margin: 0;
  font-size: 4.5rem;
  max-width: 920px;
}

h2 {
  margin: 0 0 16px;
  font-size: 2.4rem;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

p {
  margin: 0 0 16px;
}

.lead {
  margin-top: 20px;
  max-width: 720px;
  color: #384957;
  font-size: 1.18rem;
}

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

.proof-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
  max-width: 760px;
}

.proof-item {
  position: relative;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(24, 151, 90, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}

.proof-item::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-110%);
  background: linear-gradient(90deg, transparent, rgba(24, 151, 90, 0.16), transparent);
  animation: cardSweep 7s ease-in-out infinite;
}

.proof-item strong {
  display: block;
  color: var(--charcoal);
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
}

.proof-item span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  position: relative;
  z-index: 1;
}

.band {
  padding: 72px 0;
}

.band.soft {
  background: var(--soft);
}

.band.dark {
  background:
    linear-gradient(135deg, #101820, #142433 55%, #0e151b);
  color: #dce8ec;
}

.band.dark h2,
.band.dark h3,
.band.dark a {
  color: var(--white);
}

.band.dark a.button.secondary {
  color: var(--ink);
}

.band.dark a.button.secondary:hover {
  color: var(--green-dark);
}

.band.dark .muted {
  color: #b6c6cf;
}

.section-head {
  max-width: 780px;
  margin-bottom: 28px;
}

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

.grid {
  display: grid;
  gap: 18px;
}

.grid > *,
.split > *,
.pricing-grid > *,
.payment-grid > *,
.proof-strip > * {
  min-width: 0;
}

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

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

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

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 24px;
  box-shadow: 0 1px 0 rgba(23, 32, 42, 0.04);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(24, 151, 90, 0.38);
  box-shadow: var(--shadow);
}

.card.highlight {
  border-color: rgba(24, 151, 90, 0.38);
  box-shadow: var(--shadow);
}

.card.dark-card {
  background:
    linear-gradient(135deg, rgba(23, 34, 44, 0.98), rgba(23, 47, 53, 0.98));
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.dark-card p {
  color: #d6e3e7;
}

.card p:last-child,
.content-block p:last-child {
  margin-bottom: 0;
}

.card-link {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  font-weight: 800;
  text-decoration: none;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag-list span,
.tag-list a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 10px;
  background: #fbfdfc;
  color: #40505f;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.tag-list a:hover {
  color: var(--green-dark);
  border-color: rgba(24, 151, 90, 0.38);
  background: #f2faf5;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: start;
}

.content-block {
  max-width: 850px;
}

.content-block ul,
.content-block ol {
  padding-left: 1.25rem;
  margin: 0 0 20px;
}

.content-block li {
  margin: 0 0 8px;
}

.page-hero {
  padding: 72px 0 52px;
  background:
    linear-gradient(135deg, rgba(244, 248, 247, 0.96), rgba(255, 255, 255, 0.9)),
    linear-gradient(90deg, rgba(33, 102, 209, 0.12), rgba(24, 151, 90, 0.1));
  border-bottom: 1px solid var(--line);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.tools-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  align-items: start;
}

.tool-tabs {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 8px;
}

.tool-tab {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.tool-tab[aria-selected="true"] {
  border-color: var(--green);
  color: var(--green-dark);
  background: #edf8f1;
}

.tool-panel {
  display: none;
}

.tool-panel.active {
  display: block;
}

.tool-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  color: #2e3d49;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #cbd7df;
  border-radius: var(--radius);
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(24, 151, 90, 0.72);
  box-shadow: 0 0 0 4px rgba(24, 151, 90, 0.12);
  outline: none;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.tool-output {
  min-height: 90px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #cfe0d7;
  border-radius: var(--radius);
  background: #f7fbf8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.tool-output code {
  display: block;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.ping-result {
  display: grid;
  gap: 18px;
}

.ping-result h3 {
  margin: 0 0 8px;
}

.ping-plan {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ping-plan-card {
  border: 1px solid rgba(24, 151, 90, 0.2);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 14px;
}

.ping-plan-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--green-dark);
}

.ping-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ping-list li {
  border: 1px solid rgba(33, 102, 209, 0.14);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 10px 12px;
}

.ping-list small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}

.ping-copy {
  border: 1px solid rgba(33, 102, 209, 0.18);
  border-radius: var(--radius);
  background: #f7fbff;
  padding: 12px;
}

.human-check {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.human-button {
  width: min(100%, 440px);
  min-height: 66px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid #cbd7df;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f7fbf8);
  color: var(--ink);
  padding: 12px 14px;
  text-align: left;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(23, 32, 42, 0.08);
}

.human-button:hover {
  border-color: var(--green);
}

.human-square {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 2px solid #9fb0bd;
  border-radius: 5px;
  background: var(--white);
  color: var(--white);
  font-weight: 900;
}

.human-copy {
  display: grid;
  gap: 2px;
}

.human-label {
  font-weight: 900;
}

.human-sub {
  color: var(--muted);
  font-size: 0.86rem;
}

.human-brand {
  color: #61717e;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: right;
}

.human-check[data-human-state="checking"] .human-square {
  border-color: var(--blue);
  border-top-color: transparent;
  border-radius: 50%;
  animation: humanSpin 780ms linear infinite;
}

.human-check[data-human-state="verified"] .human-button {
  border-color: rgba(24, 151, 90, 0.52);
  background: linear-gradient(180deg, #ffffff, #edf8f1);
}

.human-check[data-human-state="verified"] .human-square {
  border-color: var(--green);
  background: var(--green);
}

.human-check[data-human-state="verified"] .human-square::before {
  content: "✓";
}

.human-warning {
  display: none;
  color: #9a4d00;
  font-size: 0.9rem;
  font-weight: 800;
}

.human-check[data-human-state="required"] .human-warning {
  display: block;
}

.captcha-row {
  display: none;
  grid-template-columns: minmax(0, 1fr) 130px;
  gap: 10px;
  align-items: center;
  width: min(100%, 440px);
  border: 1px solid rgba(33, 102, 209, 0.18);
  border-radius: var(--radius);
  background: #f5f9ff;
  padding: 12px;
}

.human-check[data-server-check="true"][data-human-state="challenge"] .captcha-row,
.human-check[data-server-check="true"][data-human-state="required"] .captcha-row,
.human-check[data-server-check="true"][data-human-state="verified"] .captcha-row {
  display: grid;
}

.captcha-question {
  color: #2d4662;
  font-weight: 900;
}

.captcha-answer {
  min-height: 42px;
  text-align: center;
}

.slide-human {
  width: min(100%, 520px);
  border: 1px solid rgba(24, 151, 90, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 251, 246, 0.96));
  padding: 12px;
  box-shadow: 0 12px 30px rgba(23, 32, 42, 0.08);
}

.slide-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: #324557;
  font-size: 0.86rem;
  font-weight: 900;
}

.human-status {
  color: var(--green-dark);
}

.slide-track {
  --slide-progress: 0%;
  --slide-shift: 0%;
  position: relative;
  min-height: 54px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border: 1px solid #cbd7df;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(24, 151, 90, 0.22) var(--slide-progress), transparent var(--slide-progress)),
    repeating-linear-gradient(45deg, rgba(24, 151, 90, 0.08) 0, rgba(24, 151, 90, 0.08) 12px, rgba(216, 137, 21, 0.08) 12px, rgba(216, 137, 21, 0.08) 24px),
    #ffffff;
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.slide-track:active {
  cursor: grabbing;
}

.slide-copy {
  position: relative;
  z-index: 1;
  justify-self: center;
  color: #324557;
  font-weight: 900;
  pointer-events: none;
}

.slide-handle {
  position: absolute;
  left: var(--slide-progress);
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  transform: translate(var(--slide-shift), -50%);
  border: 1px solid rgba(16, 24, 32, 0.16);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(24, 151, 90, 0.28);
  transition: left 120ms ease, background 180ms ease;
}

.human-check[data-human-state="checking"] .slide-track {
  border-color: rgba(33, 102, 209, 0.44);
}

.human-check[data-human-state="verified"] .slide-track {
  border-color: rgba(24, 151, 90, 0.62);
  background:
    linear-gradient(90deg, rgba(24, 151, 90, 0.24), rgba(33, 102, 209, 0.16)),
    #ffffff;
}

.human-check[data-human-state="verified"] .slide-handle {
  left: 100%;
  transform: translate(-100%, -50%);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
}

.human-check[data-human-state="verified"] .slide-handle::before {
  content: "✓";
}

.human-check[data-human-state="verified"] .slide-handle {
  color: transparent;
}

.human-check[data-human-state="verified"] .slide-handle::before {
  color: #ffffff;
}

.human-check[data-human-state="required"] .slide-track {
  border-color: rgba(216, 137, 21, 0.62);
  box-shadow: 0 0 0 4px rgba(216, 137, 21, 0.12);
}

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

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

.flow-step {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f7fbf8);
  padding: 18px;
  box-shadow: 0 12px 28px rgba(23, 32, 42, 0.08);
}

.flow-step strong {
  color: var(--green-dark);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.quick-routes {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.order-route {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid rgba(24, 151, 90, 0.18);
  border-radius: var(--radius);
  background: #fbfdfc;
  padding: 14px;
}

.order-route h3 {
  margin-bottom: 4px;
}

.order-route p {
  color: var(--muted);
  font-size: 0.94rem;
}

.portal-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 10%, rgba(24, 151, 90, 0.14), transparent 28%),
    radial-gradient(circle at 90% 0%, rgba(33, 102, 209, 0.12), transparent 26%),
    linear-gradient(180deg, #ffffff 0, #f4f8f7 100%);
}

.portal-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.portal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0 26px;
}

.portal-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.portal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.portal-nav a,
.portal-chip,
.status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  padding: 6px 10px;
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
}

.portal-nav a:hover {
  border-color: rgba(24, 151, 90, 0.38);
  color: var(--green-dark);
}

.portal-hero,
.portal-grid,
.portal-dashboard-grid,
.portal-section-grid,
.portal-form-grid,
.portal-stat-grid {
  display: grid;
  gap: 18px;
}

.portal-hero {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
}

.portal-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  padding: 24px;
  box-shadow: 0 18px 46px rgba(23, 32, 42, 0.10);
}

.portal-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--amber));
}

.portal-card.dark {
  background:
    radial-gradient(circle at 16% 14%, rgba(24, 151, 90, 0.28), transparent 32%),
    radial-gradient(circle at 86% 12%, rgba(33, 102, 209, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(16, 24, 32, 0.98), rgba(25, 49, 58, 0.97));
  border-color: rgba(255, 255, 255, 0.12);
  color: #e7f0f2;
}

.portal-card.dark h1,
.portal-card.dark h2,
.portal-card.dark h3 {
  color: #f7fbff;
}

.portal-card.dark .kicker {
  color: #9ff0ce;
}

.portal-card.dark .muted,
.portal-card.dark p,
.portal-card.dark .lead {
  color: #c4d2d9;
}

.portal-card.dark .portal-feature-list li {
  color: #dbe8ee;
}

.portal-card.dark .portal-feature-list li::before {
  background: #35c585;
  box-shadow: 0 0 0 5px rgba(53, 197, 133, 0.14);
}

.portal-card h1 {
  font-size: clamp(2.2rem, 5.2vw, 4.45rem);
  line-height: 1.02;
}

.portal-card h2 {
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1.06;
}

.google-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border: 1px solid rgba(23, 32, 42, 0.18);
  border-radius: var(--radius);
  background: #ffffff;
  color: #17202a;
  padding: 12px 18px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(23, 32, 42, 0.10);
}

.google-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0);
  color: #ffffff;
  font-weight: 900;
}

.portal-feature-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.portal-feature-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  color: #354858;
}

.portal-feature-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(24, 151, 90, 0.13);
}

.portal-dashboard-grid {
  grid-template-columns: 280px 1fr;
  align-items: start;
}

.portal-sidebar {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 96px;
}

.portal-user {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
}

.portal-avatar {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(24, 151, 90, 0.22);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 900;
}

.portal-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portal-menu {
  display: grid;
  gap: 8px;
}

.portal-menu a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  padding: 11px 12px;
  font-weight: 900;
  text-decoration: none;
}

.portal-menu a:hover {
  border-color: rgba(24, 151, 90, 0.38);
  color: var(--green-dark);
}

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

.portal-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.portal-stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 16px;
}

.portal-stat strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
}

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

.field-wide {
  grid-column: 1 / -1;
}

.portal-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.portal-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.portal-table th,
.portal-table td {
  border-bottom: 1px solid #edf2f4;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.portal-table th {
  color: #40505f;
  font-size: 0.78rem;
  text-transform: uppercase;
}

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

.status-chip {
  min-height: 28px;
  border-color: rgba(24, 151, 90, 0.22);
  background: #edf8f1;
  color: var(--green-dark);
  font-size: 0.78rem;
}

.status-chip.closed,
.status-chip.paid {
  border-color: rgba(33, 102, 209, 0.22);
  background: #eef4ff;
  color: #174ea6;
}

.status-chip.overdue,
.status-chip.cancel {
  border-color: rgba(216, 137, 21, 0.28);
  background: #fff7e7;
  color: #8a4b00;
}

.portal-alert {
  border: 1px solid rgba(216, 137, 21, 0.28);
  border-left-width: 5px;
  border-radius: var(--radius);
  background: #fff7e7;
  padding: 14px 16px;
  color: #613b08;
  font-weight: 800;
}

.portal-success {
  border-color: rgba(24, 151, 90, 0.35);
  background: #edf8f1;
  color: var(--green-dark);
}

.admin-dashboard {
  display: grid;
  gap: 18px;
}

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

.admin-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.admin-record {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 18px;
}

.admin-record-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #edf2f4;
  padding-bottom: 12px;
}

.admin-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-mini {
  border: 1px solid #e4ece8;
  border-radius: var(--radius);
  background: #f7fbf8;
  padding: 10px;
  overflow-wrap: anywhere;
}

.admin-mini span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.metric {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.metric strong {
  display: block;
  font-size: 1.45rem;
}

.serp-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--white);
}

.serp-url {
  color: #17833e;
  font-size: 0.92rem;
}

.serp-title {
  margin: 4px 0;
  color: #1a0dab;
  font-size: 1.25rem;
  line-height: 1.2;
}

.serp-desc {
  color: #4d5156;
  font-size: 0.96rem;
}

.notice {
  padding: 16px;
  border-left: 4px solid var(--amber);
  background: #fff7e7;
  border-radius: var(--radius);
}

.signal-stage {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 248, 247, 0.92)),
    repeating-linear-gradient(90deg, rgba(23, 32, 42, 0.04) 0, rgba(23, 32, 42, 0.04) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(0deg, rgba(23, 32, 42, 0.04) 0, rgba(23, 32, 42, 0.04) 1px, transparent 1px, transparent 40px);
  box-shadow: var(--shadow);
}

.signal-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.signal-overlay {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  width: min(100%, 360px);
  padding: 22px;
}

.signal-chip,
.mini-stat {
  border: 1px solid rgba(24, 151, 90, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  padding: 10px 12px;
  box-shadow: 0 8px 22px rgba(23, 32, 42, 0.08);
}

.signal-chip strong,
.mini-stat strong {
  display: block;
}

.rank-bars {
  display: flex;
  align-items: end;
  gap: 8px;
  min-height: 80px;
}

.rank-bars span {
  flex: 1;
  min-width: 16px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--green), var(--blue));
  animation: barRise 2.8s ease-in-out infinite alternate;
}

.rank-bars span:nth-child(2) {
  animation-delay: 180ms;
}

.rank-bars span:nth-child(3) {
  animation-delay: 360ms;
}

.rank-bars span:nth-child(4) {
  animation-delay: 540ms;
}

.rank-bars span:nth-child(5) {
  animation-delay: 720ms;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}

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

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--amber));
  opacity: 0.78;
}

.pricing-card.featured {
  border-color: rgba(216, 137, 21, 0.55);
  box-shadow: 0 22px 54px rgba(216, 137, 21, 0.18), var(--shadow);
  transform: translateY(-6px);
}

.price-badge {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(24, 151, 90, 0.25);
  border-radius: var(--radius);
  padding: 5px 8px;
  background: #edf8f1;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.price {
  display: flex;
  align-items: end;
  gap: 8px;
  margin: 0;
}

.price strong {
  font-size: 2.35rem;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-weight: 800;
}

.feature-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(24, 151, 90, 0.12);
}

.pricing-card .actions {
  margin-top: auto;
}

.shop-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 22px;
  align-items: stretch;
}

.shop-summary {
  display: grid;
  align-content: center;
  gap: 14px;
  border: 1px solid rgba(24, 151, 90, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(24, 151, 90, 0.10), rgba(33, 102, 209, 0.08)),
    var(--white);
  padding: 24px;
  box-shadow: var(--shadow);
}

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

.sales-path-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(24, 151, 90, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f7fbf8);
  padding: 18px;
  box-shadow: 0 12px 26px rgba(23, 32, 42, 0.08);
}

.sales-path-card::after {
  content: "";
  position: absolute;
  inset: auto -30px -38px auto;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 102, 209, 0.16), transparent 66%);
  pointer-events: none;
}

.sales-path-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 28px;
  margin-bottom: 12px;
  border-radius: var(--radius);
  background: #edf8f1;
  color: var(--green-dark);
  font-size: 0.82rem;
}

.sales-path-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.shop-category {
  display: grid;
  gap: 18px;
}

.shop-category + .shop-category {
  margin-top: 34px;
}

.shop-category-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.shop-category-head p {
  max-width: 680px;
}

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

.shop-card {
  position: relative;
  overflow: hidden;
}

.shop-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 70px;
  height: 70px;
  border: 1px solid rgba(33, 102, 209, 0.16);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 151, 90, 0.18), transparent 68%);
  pointer-events: none;
  transition: transform 260ms ease, opacity 260ms ease;
}

.shop-card:hover::after {
  opacity: 0.82;
  transform: scale(1.28) translate(-6px, -6px);
}

.shop-card .actions {
  position: relative;
  z-index: 1;
}

.checkout-summary {
  border: 1px solid rgba(33, 102, 209, 0.2);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f7fbff, #ffffff);
  padding: 16px;
}

.checkout-summary ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.checkout-alert {
  display: none;
  border: 1px solid rgba(216, 137, 21, 0.32);
  border-radius: var(--radius);
  background: #fff7e7;
  color: #6e3b00;
  padding: 12px 14px;
  font-weight: 900;
}

.checkout-alert.is-visible {
  display: block;
}

.payment-panel {
  border: 1px solid rgba(24, 151, 90, 0.26);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff, #f4fbf6);
  padding: 24px;
  box-shadow: var(--shadow);
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.order-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: start;
}

.order-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 250, 0.98));
  padding: 24px;
  box-shadow: var(--shadow);
}

.order-form {
  display: grid;
  gap: 16px;
}

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

.field-wide {
  grid-column: 1 / -1;
}

.form-note {
  border: 1px solid rgba(33, 102, 209, 0.18);
  border-radius: var(--radius);
  background: #f2f7ff;
  padding: 14px;
  color: #2d4662;
}

.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(16, 24, 32, 0.94);
  color: var(--white);
  padding: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
}

.floating-cta span {
  display: grid;
  gap: 0;
  min-width: 0;
  font-size: 0.82rem;
  font-weight: 800;
}

.floating-cta strong {
  font-size: 0.9rem;
}

.floating-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: var(--radius);
  padding: 8px 11px;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
}

.floating-cta a:first-of-type {
  background: var(--green);
}

.floating-cta a:last-of-type {
  border: 1px solid rgba(255, 255, 255, 0.28);
}

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

.payment-line {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 16px;
}

.wallet {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: #354656;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.88rem;
}

.copy-button {
  min-height: 38px;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  padding: 8px 11px;
  cursor: pointer;
}

.copy-button:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  overflow: visible;
}

.timeline-step {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 18px;
  box-shadow: 0 10px 26px rgba(23, 32, 42, 0.06);
}

.timeline-step strong {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--green-dark);
}

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

.schedule-option {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 18px;
}

.course-hero-card {
  border: 1px solid rgba(24, 151, 90, 0.26);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(24, 151, 90, 0.10), rgba(33, 102, 209, 0.08)),
    var(--white);
  padding: 24px;
  box-shadow: var(--shadow);
}

.course-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.course-meta span,
.course-pill {
  display: grid;
  gap: 2px;
  border: 1px solid rgba(24, 151, 90, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  padding: 10px 12px;
  color: var(--muted);
  font-weight: 800;
}

.course-meta strong,
.course-pill strong {
  color: var(--ink);
  font-size: 1.1rem;
}

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

.course-module {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f7fbf8);
  padding: 20px;
  box-shadow: 0 12px 28px rgba(23, 32, 42, 0.07);
}

.course-module::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--amber));
}

.course-module strong {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--green-dark);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.course-module p {
  color: var(--muted);
  font-size: 0.95rem;
}

.course-module .exercise {
  margin-top: 14px;
  border-top: 1px solid rgba(23, 32, 42, 0.08);
  padding-top: 12px;
  color: #324557;
  font-weight: 800;
}

.course-compare {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
  will-change: opacity, transform;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes scanLine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes cardSweep {
  0%, 60% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(110%);
  }
}

@keyframes barRise {
  from {
    transform: scaleY(0.72);
    filter: saturate(0.9);
  }
  to {
    transform: scaleY(1);
    filter: saturate(1.2);
  }
}

@keyframes humanSpin {
  to {
    transform: rotate(360deg);
  }
}


.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 16px 18px;
}

.faq details + details {
  margin-top: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
}

.site-footer {
  background: #0e151b;
  color: #c7d2da;
  padding: 48px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 24px;
}

.site-footer h2,
.site-footer h3,
.site-footer a {
  color: var(--white);
}

.site-footer a {
  text-decoration: none;
}

.footer-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.small {
  font-size: 0.9rem;
}

@media (max-width: 920px) {
  .site-nav {
    gap: 12px;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.84)),
      url("../images/hero-world-seo-service.png") center right / cover no-repeat;
  }

  .hero-inner {
    padding: 64px 0 52px;
  }

  .proof-row,
  .grid.four,
  .grid.three,
  .grid.two,
  .portal-hero,
  .portal-dashboard-grid,
  .portal-section-grid,
  .portal-stat-grid,
  .portal-form-grid,
  .admin-stat-grid,
  .admin-mini-grid,
  .pricing-grid,
  .shop-intro-grid,
  .shop-grid,
  .sales-path,
  .course-module-grid,
  .course-compare,
  .proof-strip,
  .payment-grid,
  .order-shell,
  .form-grid,
  .flow-steps,
  .schedule-switch,
  .split,
  .tools-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .tool-tabs {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .ping-plan {
    grid-template-columns: 1fr;
  }

  .course-meta,
  .timeline {
    grid-template-columns: 1fr;
  }

  .portal-sidebar {
    position: static;
  }

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2rem;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 24px, 1160px);
  }

  .nav-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 10px 0;
    gap: 10px;
    min-height: 64px;
  }

  .brand {
    min-width: 0;
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  .site-nav {
    grid-column: 1 / -1;
    display: none;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
    overflow: visible;
    padding: 8px 0 0;
  }

  .site-header.menu-open .site-nav {
    display: grid;
  }

  .nav-item {
    display: grid;
    gap: 8px;
    width: 100%;
  }

  .nav-trigger::after {
    display: none;
  }

  .nav-menu {
    position: static;
    display: none;
    grid-template-columns: 1fr;
    min-width: 0;
    width: 100%;
    gap: 6px;
    padding: 0 0 0 10px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-menu::before {
    display: none;
  }

  .nav-services .nav-menu {
    display: none;
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .site-nav a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    padding: 8px 10px;
    font-size: 0.9rem;
  }

  .nav-menu a {
    min-height: 38px;
    background: #f8fcfa;
    font-size: 0.85rem;
  }

  .nav-cta {
    grid-column: 1 / -1;
    width: 100%;
    display: none;
  }

  .site-header.menu-open .nav-cta {
    display: inline-flex;
  }

  .conversion-bar {
    display: none;
  }

  .shop-category-head {
    display: grid;
    align-items: start;
  }

  .button {
    width: 100%;
  }

  .portal-top,
  .admin-record-head {
    display: grid;
    align-items: start;
  }

  .portal-nav {
    justify-content: flex-start;
    width: 100%;
  }

  .portal-card {
    padding: 20px;
  }

  .portal-card h1 {
    font-size: 2.5rem;
  }

  .hero-actions,
  .actions {
    width: 100%;
  }

  .human-button {
    grid-template-columns: 34px 1fr;
  }

  .captcha-row {
    grid-template-columns: 1fr;
  }

  .human-brand {
    grid-column: 1 / -1;
    text-align: left;
  }

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

  .signal-stage {
    min-height: 340px;
  }

  .signal-stage canvas {
    max-width: 100%;
  }

  .price strong {
    font-size: 2rem;
  }

  .band {
    padding: 52px 0;
  }

  .page-hero {
    padding: 54px 0 40px;
  }

  .tool-tabs {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .lead {
    font-size: 1.04rem;
  }

  .conversion-row {
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 0;
  }

  .floating-cta {
    inset: auto 12px 12px;
    justify-content: space-between;
  }

  .floating-cta span {
    display: none;
  }

  .floating-cta a {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .motion-ready .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

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