:root {
  --navy: #062b78;
  --navy-dark: #031c51;
  --blue: #4384ea;
  --green: #2eae58;
  --red: #ef4035;
  --yellow: #ffbd0a;
  --ink: #13213a;
  --muted: #61708a;
  --line: #dfe7f3;
  --soft: #f5f8fd;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(6, 43, 120, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body[data-page="tools"] {
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

*:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--navy-dark);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(223, 231, 243, 0.8);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  width: 154px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  color: #34435d;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-login {
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.nav-login:hover {
  text-decoration: underline;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 12px 25px rgba(6, 43, 120, 0.2);
}

.btn-primary:hover {
  background: var(--navy-dark);
  box-shadow: 0 15px 32px rgba(6, 43, 120, 0.25);
}

.btn-secondary {
  border-color: var(--line);
  color: var(--navy);
  background: #fff;
}

.btn-light {
  color: var(--navy);
  background: #fff;
}

.btn-sm {
  min-height: 41px;
  padding: 0 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 12px;
  border: 1px solid #cfe0fb;
  border-radius: 999px;
  color: var(--navy);
  background: #edf4ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  content: "";
  box-shadow: 0 0 0 4px rgba(46, 174, 88, 0.13);
}

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

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(44px, 6vw, 76px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 52px);
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.gradient-text {
  color: var(--navy);
  background: linear-gradient(100deg, var(--navy) 5%, var(--blue) 52%, var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 70px;
  background:
    radial-gradient(circle at 8% 20%, rgba(67, 132, 234, 0.14), transparent 26%),
    radial-gradient(circle at 90% 15%, rgba(46, 174, 88, 0.11), transparent 24%),
    linear-gradient(180deg, #fff, #f7faff);
}

.hero::after {
  position: absolute;
  right: -120px;
  bottom: -190px;
  width: 480px;
  height: 480px;
  border: 80px solid rgba(255, 189, 10, 0.07);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: 46px;
}

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

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

.microcopy {
  margin-top: 15px;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  width: 118%;
}

.dashboard {
  overflow: hidden;
  border: 1px solid #dbe6f6;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 32px 80px rgba(6, 43, 120, 0.18);
  transform: perspective(1400px) rotateY(-2deg) rotateX(1deg);
}

.product-dashboard {
  display: grid;
  grid-template-columns: 118px 1fr;
  min-height: 490px;
  font-size: 10px;
}

.product-sidebar {
  padding: 20px 10px 15px;
  border-right: 1px solid #e4e7ed;
  background: #fff;
}

.product-logo {
  height: 42px;
  display: flex;
  align-items: flex-start;
  padding: 0 8px;
  border-bottom: 1px solid #edf0f5;
}

.product-logo img {
  width: 78px;
}

.product-nav {
  display: grid;
  gap: 3px;
  padding-top: 13px;
}

.product-nav span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border-radius: 8px;
  color: #31343a;
  font-weight: 700;
}

.product-nav span.active {
  background: #f0f1f5;
}

.product-nav span b {
  width: 15px;
  color: #333945;
  font-size: 13px;
  text-align: center;
}

.product-nav small {
  margin: 12px 8px 3px;
  color: #9095a1;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.product-workspace {
  min-width: 0;
  background: #fbfbfc;
}

.product-header {
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid #e4e7ed;
  background: #fff;
}

.product-header strong {
  display: block;
  color: #24262c;
  font-size: 16px;
  line-height: 1.1;
}

.product-header small {
  display: block;
  margin-top: 3px;
  color: #70747e;
  font-size: 8px;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-actions span {
  padding: 6px 10px;
  border: 1px solid #dcd3ff;
  border-radius: 999px;
  color: #5134f3;
  background: #f6f3ff;
  font-weight: 800;
}

.product-actions i {
  color: #252933;
  font-size: 14px;
  font-style: normal;
}

.product-content {
  padding: 16px;
}

.product-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.product-metric {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 10px;
  border: 1px solid #e0e3e9;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(27, 35, 56, .05);
}

.metric-symbol {
  flex: 0 0 auto;
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  font-size: 14px;
}

.product-metric.blue .metric-symbol {
  color: #336cee;
  background: #edf3ff;
}

.product-metric.amber .metric-symbol {
  color: #d98b1d;
  background: #fff6e8;
}

.product-metric.red .metric-symbol {
  color: #e14747;
  background: #fff0ef;
}

.product-metric.green .metric-symbol {
  color: #279b6c;
  background: #eafbf4;
}

.product-metric div {
  min-width: 0;
}

.product-metric small,
.product-metric em {
  display: block;
  overflow: hidden;
  color: #70747e;
  font-size: 6px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-metric strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.25;
}

.product-metric.red strong {
  color: #e14747;
}

.product-metric em {
  color: #797d87;
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.product-panels {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  gap: 10px;
  margin-top: 11px;
}

.rating-panel,
.trend-panel {
  min-width: 0;
  min-height: 245px;
  padding: 16px;
  border: 1px solid #e0e3e9;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(27, 35, 56, .05);
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.panel-heading strong {
  display: block;
  color: #24262c;
  font-size: 13px;
}

.panel-heading span {
  padding: 3px 6px;
  border-radius: 999px;
  color: #279b6c;
  background: #eafbf4;
  font-size: 7px;
  font-weight: 800;
}

.panel-heading small {
  display: block;
  margin-top: 2px;
  color: #797d87;
  font-size: 8px;
}

.rating-content {
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  gap: 13px;
  margin-top: 31px;
}

.rating-score {
  text-align: center;
}

.rating-score strong {
  display: block;
  color: #111319;
  font-size: 32px;
  line-height: 1;
}

.rating-score span {
  display: block;
  margin: 6px 0 2px;
  color: #ee9d2c;
  font-size: 12px;
  letter-spacing: 1px;
}

.rating-score small {
  color: #777b84;
  font-size: 8px;
}

.rating-bars {
  display: grid;
  gap: 8px;
}

.rating-bars div {
  display: grid;
  grid-template-columns: 19px 1fr 21px;
  align-items: center;
  gap: 5px;
  color: #6e727c;
  font-size: 7px;
}

.rating-bars i {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #f0f1f4;
}

.rating-bars b {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: #5cbe6d;
}

.rating-bars div:nth-child(2) b {
  background: #9dce43;
}

.rating-bars div:nth-child(3) b {
  background: #edc53b;
}

.rating-bars div:nth-child(4) b {
  background: #ec8d3f;
}

.rating-bars div:nth-child(5) b {
  background: #e25252;
}

.rating-bars em {
  font-style: normal;
  text-align: right;
}

.trend-chart {
  position: relative;
  height: 170px;
  margin-top: 18px;
  padding: 5px 4px 20px;
}

.trend-chart svg {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 128px;
  overflow: visible;
}

.trend-fill {
  fill: url(#heroChartFill);
}

.trend-line {
  fill: none;
  stroke: #3673e8;
  stroke-linecap: round;
  stroke-width: 3;
}

.trend-chart circle {
  fill: #fff;
  stroke: #3673e8;
  stroke-width: 3;
}

.chart-lines {
  position: absolute;
  inset: 7px 4px 35px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.chart-lines i {
  border-top: 1px dashed #dfe3ea;
}

.chart-months {
  display: flex;
  justify-content: space-between;
  color: #858a95;
  font-size: 7px;
}

.float-card {
  position: absolute;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow);
  font-size: 11px;
  font-weight: 800;
}

.float-card strong {
  display: block;
  color: var(--green);
  font-size: 18px;
}

.float-a {
  right: -12px;
  bottom: 34px;
}

.float-b {
  top: 84px;
  left: 100px;
}

/* Legacy chart classes remain available for secondary product illustrations. */
.chart-bars {
  height: 130px;
  display: flex;
  align-items: end;
  gap: 10px;
  padding-top: 16px;
  border-bottom: 1px solid var(--line);
}

.chart-bars i {
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--blue), var(--navy));
}

.chart-bars i:nth-child(2n) {
  background: linear-gradient(180deg, #76d995, var(--green));
}

.logo-strip {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.logo-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.business-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.business-tags span {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #42506a;
  background: var(--soft);
}

.section {
  padding: 100px 0;
}

.section-tight {
  padding: 50px 0;
}

.tool-video-section {
  background: linear-gradient(180deg, #f8fbff, #fff);
}

.tool-video-card {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(360px, 1.25fr);
  gap: 28px;
  align-items: center;
  padding: 30px;
  border: 1px solid rgba(67, 132, 234, .18);
  border-radius: 30px;
  background:
    radial-gradient(circle at 8% 12%, rgba(67, 132, 234, .14), transparent 28%),
    #fff;
  box-shadow: 0 18px 45px rgba(6, 43, 120, .08);
}

.tool-video-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3vw, 40px);
}

.tool-video-copy p {
  margin: 0;
  color: var(--muted);
}

.tool-video-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid #dbe6f6;
  border-radius: 24px;
  background: #02153d;
  box-shadow: 0 20px 42px rgba(6, 43, 120, .16);
  aspect-ratio: 16 / 9;
}

.tool-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

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

.section-dark {
  color: #fff;
  background:
    radial-gradient(circle at 80% 10%, rgba(67, 132, 234, 0.22), transparent 25%),
    var(--navy-dark);
}

.section-dark h2,
.section-dark h3,
.section-dark .lead {
  color: #fff;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head .lead {
  margin-right: auto;
  margin-left: auto;
}

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

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

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

.center-actions {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.center-text {
  text-align: center;
}

.card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 35px rgba(6, 43, 120, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 14px;
  color: var(--navy);
  background: #eaf2ff;
  font-size: 21px;
  font-weight: 900;
}

.card:nth-child(4n + 2) .icon {
  color: #16743a;
  background: #e8f8ed;
}

.card:nth-child(4n + 3) .icon {
  color: #a96f00;
  background: #fff6d9;
}

.card:nth-child(4n + 4) .icon {
  color: #b32d25;
  background: #ffedeb;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 70px;
}

.split.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.split.reverse .split-visual {
  order: 2;
}

.split-visual {
  min-height: 420px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 35px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 30% 25%, rgba(67, 132, 234, 0.2), transparent 30%),
    linear-gradient(145deg, #eef5ff, #fff);
}

.map-grid {
  position: relative;
  width: 340px;
  height: 340px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
}

.map-grid i {
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.map-grid i:nth-child(3n) {
  background: var(--yellow);
}

.map-grid i:nth-child(7n) {
  background: var(--red);
}

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

.check-list li {
  position: relative;
  padding-left: 31px;
  color: #3c4b64;
}

.check-list li::before {
  position: absolute;
  top: 3px;
  left: 0;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  content: "✓";
  font-size: 12px;
  font-weight: 900;
}

.steps {
  counter-reset: steps;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
}

.step::before {
  counter-increment: steps;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  color: var(--navy-dark);
  background: var(--yellow);
  content: counter(steps);
  font-weight: 900;
}

.step p {
  margin-bottom: 0;
  color: #cbd8ef;
}

.testimonial {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
}

.testimonial blockquote {
  margin: 0 0 24px;
  color: #2d3d57;
  font-size: 18px;
}

.testimonial > p {
  min-height: 90px;
  margin-bottom: 24px;
  color: #3c4b64;
  font-size: 17px;
}

.person {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-weight: 900;
}

.cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 35px;
  padding: 54px 60px;
  border-radius: 32px;
  color: #fff;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.cta::after {
  position: absolute;
  right: -50px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border: 40px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.cta h2 {
  margin-bottom: 10px;
  color: #fff;
}

.cta p {
  margin-bottom: 0;
  color: #d7e3f7;
}

.page-hero {
  padding: 82px 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(67, 132, 234, 0.14), transparent 25%),
    linear-gradient(180deg, #fff, var(--soft));
  text-align: center;
}

.page-hero h1 {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(42px, 5vw, 66px);
}

.page-hero .lead {
  margin-right: auto;
  margin-left: auto;
}

.feature-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 60px;
  padding: 58px 0;
  border-bottom: 1px solid var(--line);
}

.feature-row:last-child {
  border-bottom: 0;
}

.feature-row .feature-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.mini-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.mini-card h3 {
  font-size: 17px;
  letter-spacing: -0.02em;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.solution-card {
  overflow: hidden;
  padding: 0;
}

.solution-top {
  height: 150px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--navy);
  font-size: 54px;
}

.solution-card:nth-child(3n + 2) .solution-top {
  background: var(--green);
}

.solution-card:nth-child(3n + 3) .solution-top {
  background: #d89300;
}

.solution-body {
  padding: 28px;
}

.pricing-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.pricing-toggle {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}

.pricing-toggle button {
  padding: 9px 15px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.pricing-toggle button.active {
  color: #fff;
  background: var(--navy);
}

.market-selector {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 47px;
  padding: 5px 6px 5px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.market-selector select {
  min-height: 37px;
  padding: 0 36px 0 12px;
  border: 0;
  border-radius: 9px;
  color: var(--ink);
  background: var(--soft);
  font: inherit;
  cursor: pointer;
}

.market-note {
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
  max-width: 1120px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
}

.price-card.featured {
  color: #fff;
  border: 0;
  background: linear-gradient(145deg, #4b2cff, #7042df);
  box-shadow: 0 26px 70px rgba(75, 44, 255, 0.28);
  transform: translateY(-16px);
}

.popular {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--ink);
  background: #b7ff00;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.price {
  margin: 18px 0 6px;
  color: var(--navy);
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.price-card.featured .price,
.price-card.featured .price span,
.price-card.featured .price-note,
.price-card.featured h3 {
  color: #fff;
}

.price-top-cta,
.price-current {
  width: 100%;
  justify-content: center;
  margin-bottom: 28px;
}

.price-current {
  color: #25136f;
  background: rgba(225, 228, 218, 0.78);
}

.price-current:hover {
  color: #25136f;
  background: rgba(225, 228, 218, 0.92);
}

.price-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  color: #4b2cff;
  border-radius: 22px;
  background: #eee8ff;
  font-size: 34px;
  font-weight: 900;
}

.price-icon.crown {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.price-card h3,
.price-card .price,
.price-card .price-note {
  text-align: center;
}

.price-old {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  text-decoration: line-through;
}

.price-card.featured .check-list li {
  color: #fff;
}

.price-card.featured .check-list li::before {
  color: #b7ff00;
}

.price span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.price-note {
  min-height: 24px;
  color: var(--muted);
  font-size: 13px;
}

.price-card .check-list {
  flex: 1;
  margin: 25px 0 28px;
}

.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(15, 35, 75, 0.06);
}

.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  font-weight: 800;
}

.compare-table th {
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
}

.compare-table th:last-child,
.compare-table td:last-child {
  background: rgba(75, 44, 255, 0.07);
}

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

.faq {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}

.faq-question span:last-child {
  color: var(--navy);
  font-size: 24px;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question span:last-child {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  color: var(--muted);
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 0 22px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
}

.contact-points {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.contact-point {
  display: flex;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 17px;
}

.contact-point strong {
  display: block;
}

.contact-point p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.form-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

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

.field {
  display: grid;
  gap: 7px;
}

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

.field label {
  font-size: 13px;
  font-weight: 800;
}

.field small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #ccd8ea;
  border-radius: 11px;
  outline: none;
  background: #fff;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(67, 132, 234, 0.12);
}

.check-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 14px;
  border: 1px solid #ccd8ea;
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.check-field input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.form-status {
  margin: 13px 0 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.form-status a {
  color: var(--navy);
  text-decoration: underline;
}

.form-disclaimer {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.form-disclaimer a {
  color: var(--navy);
  text-decoration: underline;
}

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

.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.newsletter-hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.newsletter-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(67, 132, 234, .18);
  border-radius: 30px;
  background:
    radial-gradient(circle at 8% 8%, rgba(67, 132, 234, .16), transparent 30%),
    linear-gradient(135deg, #fff, #f7fbff);
  box-shadow: 0 18px 45px rgba(6, 43, 120, .08);
}

.newsletter-card h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 3vw, 42px);
}

.newsletter-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.newsletter-form {
  display: grid;
  gap: 9px;
}

.newsletter-form label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.newsletter-input-row {
  display: flex;
  gap: 10px;
  padding: 7px;
  border: 1px solid #ccd8ea;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(6, 43, 120, .04);
}

.newsletter-input-row input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0 10px;
  background: transparent;
  font: inherit;
}

.newsletter-input-row input:focus {
  box-shadow: none;
}

.newsletter-form small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.newsletter-social-block {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(67, 132, 234, .14);
}

.newsletter-social-block > span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.social-icon-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 10px 7px 7px;
  border: 1px solid rgba(67, 132, 234, .18);
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 8px 18px rgba(6, 43, 120, .06);
  font-size: 12px;
  font-weight: 900;
}

.social-icon-link::before {
  content: attr(data-icon);
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.social-icon-link:hover {
  border-color: rgba(6, 43, 120, .32);
  color: var(--blue);
  transform: translateY(-1px);
}

.blog-newsletter {
  margin: 22px 0 28px;
}

.article-newsletter {
  margin: 34px 0;
}

.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 70px 0 100px;
}

.legal-meta {
  margin-bottom: 40px;
  padding: 18px 20px;
  border-left: 4px solid var(--blue);
  color: var(--muted);
  background: var(--soft);
}

.legal h2 {
  margin-top: 42px;
  font-size: 28px;
}

.legal h3 {
  margin-top: 28px;
  font-size: 19px;
}

.legal p,
.legal li {
  color: #4e5d74;
}

.legal a {
  color: var(--navy);
  text-decoration: underline;
}

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

.search-field {
  width: min(100%, 520px);
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.search-field input {
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #ccd8ea;
  border-radius: 14px;
  outline: none;
}

.blog-count {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.blog-category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -8px 0 30px;
}

.blog-category-filter button {
  padding: 9px 14px;
  border: 1px solid #dfe8f5;
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.blog-category-filter button.active,
.blog-category-filter button:hover {
  color: #fff;
  border-color: var(--navy);
  background: var(--navy);
}

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

.blog-grid.compact {
  grid-template-columns: repeat(3, 1fr);
}

.blog-card {
  overflow: hidden;
  border: 1px solid #e7e0d6;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(37, 39, 45, 0.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.blog-card:hover {
  border-color: #d7cbbd;
  box-shadow: 0 22px 48px rgba(37, 39, 45, 0.1);
  transform: translateY(-4px);
}

.featured-blog-card {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(240px, .9fr) minmax(260px, 1.1fr);
  align-items: stretch;
}

.featured-blog-card .blog-card-media {
  height: 100%;
  padding: 12px 0 12px 12px;
}

.featured-blog-card .blog-card-media > img,
.featured-blog-card .blog-card-mark {
  height: 100%;
  min-height: 330px;
}

.featured-blog-card .blog-card-body {
  align-self: center;
}

.blog-card-media {
  display: block;
  padding: 10px 10px 0;
}

.blog-card-media > img,
.blog-card-mark {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 22px;
  background: radial-gradient(circle at 20% 20%, rgba(66, 133, 244, .16), transparent 34%),
    radial-gradient(circle at 80% 25%, rgba(251, 188, 5, .18), transparent 32%),
    linear-gradient(145deg, #f8f4ec, #fff);
}

.blog-card-mark {
  display: grid;
  place-items: center;
}

.blog-card-mark img {
  width: 88px;
}

.blog-card-body {
  padding: 24px;
}

.blog-meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #4d4b47;
  font-size: 12px;
  font-weight: 800;
}

.blog-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #f1eee8;
}

.blog-card h2 {
  margin: 14px 0 12px;
  font-size: 25px;
  line-height: 1.12;
}

.blog-card p {
  color: #5a5752;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.tag-row span {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--navy);
  background: #edf4ff;
  font-size: 11px;
  font-weight: 800;
}

.text-link {
  color: var(--navy);
  font-weight: 900;
}

button.text-link {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 36px;
  border: 1px dashed #c9d5e8;
  border-radius: 22px;
  color: var(--muted);
  background: var(--soft);
}

.empty-state code {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--navy);
  background: #fff;
}

.blog-article {
  padding: 0 0 110px;
  border-top: 1px solid #e3ddd4;
  background: #f9f7f2;
}

.blog-article .container {
  max-width: 980px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 82px;
  margin-bottom: 46px;
  color: #202124;
  font-weight: 900;
}

.article-shell {
  max-width: 920px;
  margin: 0 auto;
}

.article-head {
  max-width: 880px;
  margin: 0 auto 36px;
  text-align: center;
}

.article-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.article-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid #e7e0d6;
  border-radius: 999px;
  color: #33312e;
  background: #efebe3;
  font-size: 13px;
  font-weight: 900;
}

.article-head h1 {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  color: #1d1d1f;
  font-size: clamp(44px, 7vw, 76px);
  line-height: .95;
  letter-spacing: -0.065em;
}

.article-head .lead {
  max-width: 760px;
  margin: 26px auto 0;
  color: #4d4b47;
}

.article-author {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-top: 34px;
}

.author-avatar {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: repeating-linear-gradient(135deg, #ece8df 0 12px, #ded8cd 12px 24px);
}

.author-avatar img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.article-author strong {
  color: #202124;
  font-size: 18px;
  font-weight: 900;
}

.article-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.article-social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #ded8cd;
  border-radius: 999px;
  color: #202124;
  background: #fff;
  box-shadow: 0 7px 18px rgba(37, 39, 45, .08);
  font-size: 13px;
  font-weight: 900;
}

.article-social svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.article-social a span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.article-social a:hover {
  color: #fff;
  border-color: var(--navy);
  background: var(--navy);
  transform: translateY(-2px);
}

.article-social-card {
  max-width: 760px;
  margin: 54px auto 0;
  padding: 30px;
  border: 1px solid #e7e0d6;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(37, 39, 45, 0.06);
  text-align: center;
}

.article-social-card h2 {
  margin-bottom: 10px;
  font-size: 28px;
}

.article-social-card p {
  max-width: 620px;
  margin: 0 auto 22px;
  color: #4d4b47;
}

.article-cover {
  width: 100%;
  min-height: 360px;
  max-height: 560px;
  object-fit: cover;
  margin: 36px 0 58px;
  border: 1px solid #e7e0d6;
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(37, 39, 45, .08);
}

.article-cover-fallback {
  display: grid;
  place-items: center;
  gap: 18px;
  padding: 48px;
  background: radial-gradient(circle at 18% 24%, rgba(66, 133, 244, .16), transparent 34%),
    radial-gradient(circle at 76% 20%, rgba(251, 188, 5, .22), transparent 32%),
    linear-gradient(145deg, #fff, #f1eee8);
}

.article-cover-fallback img {
  width: min(360px, 70%);
}

.article-cover-fallback span {
  color: #4d4b47;
  font-weight: 900;
}

.article-body {
  max-width: 760px;
  margin: 0 auto;
  color: #34435d;
  font-size: 19px;
  line-height: 1.9;
}

.article-body h2,
.article-body h3 {
  margin-top: 52px;
  margin-bottom: 18px;
  color: #202124;
  letter-spacing: -0.035em;
}

.article-body h2 {
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.1;
}

.article-body h3 {
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.18;
}

.article-body p,
.article-body li,
.article-body blockquote {
  color: #3f444d;
}

.article-body > p:first-child {
  font-size: 22px;
  line-height: 1.75;
  color: #2f3747;
}

.article-body p {
  margin: 0 0 22px;
}

.article-body strong {
  color: #202124;
  font-weight: 900;
}

.article-body a {
  color: var(--navy);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body code {
  padding: 2px 8px;
  border-radius: 8px;
  background: #eef3fb;
  color: var(--navy);
  font-size: .92em;
  font-weight: 700;
}

.article-body ul,
.article-body ol {
  margin: 0 0 26px;
  padding-left: 28px;
}

.article-body li {
  margin-bottom: 12px;
  padding-left: 6px;
}

.article-body blockquote {
  margin: 30px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--blue);
  border-radius: 0 20px 20px 0;
  background: linear-gradient(180deg, #f8fbff, #fdfefe);
  font-size: 20px;
}

.article-body blockquote p:last-child {
  margin-bottom: 0;
}

.article-tags {
  max-width: 760px;
  margin: 38px auto 0;
}

.article-cta {
  max-width: 760px;
  margin: 54px auto 0;
  padding: 36px;
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 16% 20%, rgba(66, 133, 244, .36), transparent 32%),
    linear-gradient(135deg, var(--navy), #02153d);
  box-shadow: 0 20px 45px rgba(6, 43, 120, .18);
  text-align: center;
}

.article-cta .eyebrow {
  color: #cfe0ff;
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .08);
}

.article-cta h2 {
  max-width: 620px;
  margin: 14px auto 22px;
  color: #fff;
  font-size: 32px;
}

.similar-blogs {
  margin-top: 90px;
  padding-top: 56px;
  border-top: 1px solid #e7e0d6;
}

.rank-tool-hero {
  padding: 42px 0 56px;
  overflow: clip;
  background:
    radial-gradient(circle at 12% 20%, rgba(66, 133, 244, .14), transparent 34%),
    linear-gradient(180deg, #f7fbff, #fff);
}

.rank-tool-intro {
  max-width: 1160px;
  margin: 0 auto 14px;
  text-align: center;
}

.rank-tool-intro .eyebrow,
.qr-tool-intro .eyebrow {
  margin-bottom: 10px;
}

.rank-tool-intro h1 {
  margin-bottom: 8px;
  font-size: clamp(42px, 5vw, 66px);
  white-space: normal;
  text-wrap: balance;
  line-height: 1.02;
}

.rank-tool-intro .lead {
  margin-bottom: 0;
}

.rank-tool-intro .rank-tool-trust {
  justify-content: center;
}

.rank-tool-grid,
.rank-check-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 520px);
  gap: 40px;
  align-items: center;
}

.rank-wizard {
  padding: 18px;
  border: 1px solid #dbe6f7;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}

.rank-step-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 0 18px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.rank-step-tabs button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 10px 12px;
  border: 0;
  border-bottom: 2px solid #c8ced8;
  color: #1d2635;
  background: transparent;
  font-size: 17px;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.rank-step-tabs button::after {
  content: "›";
  margin-left: auto;
  color: #c8ced8;
  font-size: 34px;
  line-height: 1;
}

.rank-step-tabs button:last-child::after {
  content: "";
}

.rank-step-tabs button span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #4d5cf8);
  font-size: 16px;
  font-weight: 1000;
}

.rank-step-tabs button.active {
  border-color: var(--blue);
  color: var(--navy);
}

.rank-step-tabs button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.rank-step-panel {
  display: none;
  grid-template-columns: minmax(0, .8fr) minmax(360px, 1fr);
  gap: 20px;
  align-items: start;
}

.rank-step-panel.active {
  display: grid;
}

.rank-step-panel[data-step-panel="rankings"].active {
  grid-template-columns: 1fr;
}

.rank-step-copy {
  padding: 10px 6px;
}

.rank-step-copy h2 {
  margin-bottom: 12px;
}

.rank-step-copy p {
  color: var(--muted);
}

.rank-tool-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.rank-tool-trust span {
  padding: 8px 12px;
  border: 1px solid #dbe6f7;
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.rank-search-card,
.selected-place-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow);
}

.rank-search-card {
  box-shadow: 0 12px 35px rgba(6, 43, 120, .05);
}

.selected-place-card.compact {
  margin-top: 18px;
  padding: 20px;
  border-radius: 20px;
  box-shadow: none;
  background: #f8fbff;
}

.selected-place-card.compact h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.rank-search-card h2,
.selected-place-card h1 {
  margin-bottom: 10px;
}

.rank-search-card p,
.selected-place-card p {
  color: var(--muted);
}

.rank-search-box {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 900;
}

.rank-search-box input {
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid #ccd8ea;
  border-radius: 16px;
  outline: none;
  font-size: 16px;
}

.rank-search-box input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(67, 132, 234, .12);
}

.place-suggestions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.place-suggestions button {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 15px 48px 15px 15px;
  border: 1px solid #dbe6f7;
  border-radius: 14px;
  background: #f8fbff;
  text-align: left;
  cursor: pointer;
}

.place-suggestions button:hover {
  border-color: var(--blue);
  background: #fff;
}

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

.place-suggestions em {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 7px;
  border-radius: 999px;
  color: #7a4d00;
  background: #fff4cf;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.compliance-note {
  margin: 16px 0;
  padding: 12px 14px;
  border: 1px solid #dbe6f7;
  border-radius: 14px;
  color: #34435d;
  background: #f5f9ff;
  font-size: 13px;
  font-weight: 800;
}

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

.rank-results {
  min-height: 220px;
}

.rank-report-head {
  display: grid;
  gap: 22px;
  padding: 28px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 20%, rgba(251, 188, 5, .34), transparent 28%),
    linear-gradient(135deg, var(--navy), #1145a6 58%, #2d70ff);
  box-shadow: 0 20px 50px rgba(6, 43, 120, .18);
}

.rank-report-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 520px);
  gap: 24px;
  align-items: start;
}

.rank-report-head .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, .15);
}

.rank-report-head h2 {
  color: #fff;
}

.rank-report-head p {
  margin-top: 8px;
  color: rgba(255, 255, 255, .82);
  font-weight: 800;
}

.rank-status {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 1000;
}

.rank-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.rank-summary-grid article {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 18px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(10px);
}

.rank-summary-grid span {
  color: rgba(255, 255, 255, .78);
  font-size: 11px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.rank-summary-grid strong {
  display: block;
  margin: 7px 0;
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

.rank-found-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 20px;
  background: rgba(255, 255, 255, .13);
}

.rank-found-strip strong,
.rank-found-strip span {
  display: block;
}

.rank-found-strip strong {
  color: #fff;
  font-size: 18px;
}

.rank-found-strip span {
  margin-top: 4px;
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
  font-weight: 800;
}

.rank-found-bar {
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
}

.rank-found-bar span {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--yellow));
}

.rank-report-note {
  color: var(--muted);
  font-size: 13px;
}

.rank-report-note {
  margin-bottom: 18px;
  padding: 13px 15px;
  border: 1px solid #dbe6f7;
  border-radius: 16px;
  background: #f8fbff;
  font-weight: 800;
}

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

.rank-result-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(6, 43, 120, .06);
}

.rank-result-top {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.rank-number {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), #2eaf5f);
  font-size: 24px;
  font-weight: 1000;
}

.rank-number.not-found {
  background: linear-gradient(135deg, var(--red), #b93b30);
}

.rank-status.found {
  color: #176b34;
  background: #eaf8ef;
}

.rank-status.not-found {
  color: #8a271f;
  background: #fff0ee;
}

.rank-result-card h3 {
  margin: 8px 0 6px;
  font-size: 26px;
}

.rank-result-card p,
.rank-top-results h4 {
  color: var(--muted);
}

.rank-top-results {
  padding: 16px;
  border-radius: 20px;
  background: #f8fbff;
}

.rank-top-results h4 {
  margin-bottom: 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.rank-top-results ol {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.rank-top-results li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: #fff;
}

.rank-top-results li.target {
  outline: 2px solid rgba(52, 168, 83, .28);
  background: #eefaf2;
}

.rank-top-results li span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.rank-top-results li em {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.rank-top-results li b {
  padding: 6px 9px;
  border-radius: 999px;
  color: #176b34;
  background: #fff;
  font-size: 11px;
  font-weight: 1000;
}

.qr-tool-hero {
  padding: 42px 0 58px;
  overflow: clip;
  background:
    radial-gradient(circle at 10% 18%, rgba(66, 133, 244, .16), transparent 34%),
    linear-gradient(180deg, #f7fbff, #fff);
}

.qr-tool-intro {
  max-width: 1160px;
  margin: 0 auto 16px;
  text-align: center;
}

.qr-tool-intro h1 {
  margin-bottom: 8px;
  font-size: clamp(42px, 5vw, 66px);
  white-space: normal;
  text-wrap: balance;
  line-height: 1.02;
}

.qr-tool-shell {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.qr-builder-card,
.qr-preview-card {
  min-width: 0;
  min-height: 680px;
  padding: 28px;
  border: 1px solid #dbe6f7;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.qr-preview-card {
  display: flex;
  flex-direction: column;
}

.qr-builder-card p {
  color: var(--muted);
}

.qr-theme-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 14px;
}

.qr-theme-head > span {
  padding: 8px 11px;
  border-radius: 999px;
  color: #176b34;
  background: #eaf8ef;
  font-size: 12px;
  font-weight: 900;
}

.qr-theme-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.qr-theme-grid button {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  min-height: 34px;
  padding: 5px;
  border: 2px solid #e0e7f3;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.qr-theme-grid button.active {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(66, 133, 244, .12);
}

.qr-theme-grid span {
  border-radius: 7px;
}

.review-poster {
  --poster-header: #4285f4;
  --poster-accent: #fbbc05;
  --poster-text: #202124;
  overflow: hidden;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  border: 1px solid #e8edf5;
  border-radius: 24px;
  color: var(--poster-text);
  background: #fff;
  box-shadow: 0 24px 55px rgba(18, 33, 65, .12);
  text-align: center;
}

.review-poster-top {
  padding: 24px 22px 22px;
  color: #fff;
  background: var(--poster-header);
}

.google-g {
  margin-bottom: 8px;
  color: #fff;
  font-size: 38px;
  font-weight: 1000;
  line-height: 1;
}

.review-poster-top h3 {
  color: #fff;
  font-size: 27px;
}

.review-poster-body {
  padding: 24px 24px 26px;
}

.poster-stars {
  margin-bottom: 14px;
  color: var(--poster-accent);
  font-size: 34px;
  letter-spacing: 3px;
}

.review-poster-body p {
  margin-bottom: 16px;
  color: #4b5563;
  font-size: 21px;
  line-height: 1.35;
}

.qr-frame {
  width: min(100%, 224px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border: 3px solid #e3e7ee;
  border-radius: 18px;
  background: #fff;
}

.qr-frame img {
  width: calc(100% - 26px);
  aspect-ratio: 1;
  object-fit: contain;
}

.qr-empty {
  padding: 20px;
  color: var(--muted);
  font-weight: 900;
}

.review-poster-body strong {
  display: block;
  color: #202124;
  font-size: 19px;
  line-height: 1.35;
}

.review-poster-foot {
  padding: 14px 24px;
  border-top: 1px solid #edf0f5;
  color: #999;
  font-size: 16px;
}

.qr-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.request-card {
  min-width: 0;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid #dbe6f7;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.request-channel-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.request-channel-tabs button {
  min-height: 48px;
  border: 1px solid #d9e3f3;
  border-radius: 16px;
  color: var(--navy);
  background: #f8fbff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.request-channel-tabs button.active {
  border-color: var(--navy);
  color: #fff;
  background: var(--navy);
  box-shadow: 0 12px 22px rgba(6, 43, 120, .18);
}

.request-message-preview {
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid #dbe6f7;
  border-radius: 20px;
  background: #f8fbff;
}

.request-message-preview span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.request-message-preview p {
  margin: 0;
  color: #34435d;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

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

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

.request-phone-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
}

.request-review-link {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 14px;
  color: #176b34;
  background: #eefaf2;
  font-weight: 800;
  line-height: 1.5;
  word-break: break-word;
}

.request-review-link a {
  color: inherit;
}

.response-card {
  gap: 16px;
}

.response-list {
  display: grid;
  gap: 14px;
  min-height: 360px;
}

.response-review-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid #dbe6f7;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.response-review-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.response-review-head strong,
.response-review-head b {
  color: var(--navy);
}

.response-review-head span {
  display: block;
  margin-top: 3px;
  color: #6b7688;
  font-size: 13px;
}

.response-review-text {
  margin-bottom: 14px;
  color: #1f2937;
  overflow-wrap: anywhere;
}

.response-reply-box {
  padding: 14px;
  border: 1px dashed #cbd8ea;
  border-radius: 16px;
  background: #f9fbfe;
}

.response-reply-box.filled {
  border-style: solid;
  border-color: #cfe7d7;
  background: #f3fbf5;
}

.response-reply-box span {
  display: block;
  margin-bottom: 8px;
  color: #176b34;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.response-reply-box p {
  margin: 0;
  color: #34435d;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.response-reply-box.loading {
  border-style: dashed;
  background: #f8fbff;
}

.response-loading-lines {
  display: grid;
  gap: 8px;
}

.response-loading-lines i {
  display: block;
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(212, 222, 237, .7), rgba(255, 255, 255, .95), rgba(212, 222, 237, .7));
  background-size: 220% 100%;
  animation: responseShimmer 1.2s linear infinite;
}

.response-loading-lines i:nth-child(1) {
  width: 100%;
}

.response-loading-lines i:nth-child(2) {
  width: 92%;
}

.response-loading-lines i:nth-child(3) {
  width: 74%;
}

.response-review-actions,
.response-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.response-review-actions {
  margin-top: 12px;
}

@keyframes responseShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -20% 0;
  }
}

.audit-card {
  gap: 16px;
}

.audit-stack {
  display: grid;
  gap: 24px;
}

.audit-search-panel,
.audit-report-panel {
  min-width: 0;
  padding: 28px;
  border: 1px solid #dbe6f7;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.audit-search-panel {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.audit-search-copy p {
  color: var(--muted);
}

.audit-search-card {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.audit-report {
  min-width: 0;
  display: grid;
  gap: 16px;
}

.audit-brand-head {
  overflow: hidden;
  border-radius: 24px;
  background: #242529;
  color: #fff;
}

.audit-brand-stripe,
.audit-section-stripe {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.audit-brand-stripe i,
.audit-section-stripe i {
  height: 10px;
  display: block;
}

.audit-brand-stripe .blue,
.audit-section-stripe .blue,
.audit-competitor-card .dot.blue {
  background: #4a82ea;
}

.audit-brand-stripe .red,
.audit-section-stripe .red,
.audit-competitor-card .dot.red {
  background: #f44336;
}

.audit-brand-stripe .yellow,
.audit-section-stripe .yellow,
.audit-competitor-card .dot.yellow {
  background: #ffb703;
}

.audit-brand-stripe .green,
.audit-section-stripe .green,
.audit-competitor-card .dot.green {
  background: #34a853;
}

.audit-brand-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 22px 26px;
}

.audit-brand-meta h2 {
  color: #fff;
  margin-bottom: 6px;
}

.audit-brand-meta p {
  color: rgba(255, 255, 255, .74);
}

.audit-status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
}

.audit-status-chip.success {
  color: #fff;
  background: #34a853;
}

.audit-status-chip.warning {
  color: #202124;
  background: #ffde8a;
}

.audit-loading {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid #dbe6f7;
  border-radius: 24px;
  background: #f8fbff;
}

.audit-loading-score {
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(6, 43, 120, .08), rgba(66, 133, 244, .2));
}

.audit-score-hero {
  min-width: 0;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border: 1px solid #dbe6f7;
  border-radius: 24px;
  background: linear-gradient(135deg, #f8fbff, #ffffff);
}

.audit-score-ring {
  width: 140px;
  height: 140px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 10px solid #d9e8fb;
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
}

.audit-score-ring strong {
  font-size: 40px;
  line-height: 1;
}

.audit-score-ring span {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.audit-score-copy h2 {
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}

.audit-score-copy p {
  color: #546277;
  overflow-wrap: anywhere;
}

.audit-summary-links,
.audit-card-grid,
.audit-detail-grid,
.audit-check-grid,
.audit-split-grid {
  display: grid;
  gap: 12px;
}

.audit-summary-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
}

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

.audit-mini-card,
.audit-check,
.audit-detail-section {
  min-width: 0;
  padding: 18px;
  border: 1px solid #dbe6f7;
  border-radius: 20px;
  background: #fff;
}

.audit-mini-card span,
.audit-detail-grid span,
.audit-tag-group span {
  display: block;
  margin-bottom: 6px;
  color: #6b7688;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.audit-mini-card strong {
  color: var(--navy);
  font-size: 22px;
  overflow-wrap: anywhere;
}

.tone-positive {
  color: #188038;
}

.tone-warning {
  color: #b06000;
}

.tone-negative {
  color: #d93025;
}

.tone-info {
  color: #1967d2;
}

.audit-mini-card.tone-positive,
.audit-detail-grid article.tone-positive {
  border-color: #bfe5c8;
  background: #f1fbf4;
}

.audit-mini-card.tone-warning,
.audit-detail-grid article.tone-warning {
  border-color: #f8dfa4;
  background: #fff8e1;
}

.audit-mini-card.tone-negative,
.audit-detail-grid article.tone-negative {
  border-color: #f5c4bd;
  background: #fff3f1;
}

.audit-mini-card.tone-info,
.audit-detail-grid article.tone-info {
  border-color: #c8dbff;
  background: #f4f8ff;
}

.audit-mini-card.tone-positive strong,
.audit-detail-grid article.tone-positive strong,
.audit-list strong.tone-positive {
  color: #188038;
}

.audit-mini-card.tone-warning strong,
.audit-detail-grid article.tone-warning strong,
.audit-list strong.tone-warning {
  color: #b06000;
}

.audit-mini-card.tone-negative strong,
.audit-detail-grid article.tone-negative strong,
.audit-list strong.tone-negative {
  color: #d93025;
}

.audit-mini-card.tone-info strong,
.audit-detail-grid article.tone-info strong,
.audit-list strong.tone-info {
  color: #1967d2;
}

.audit-check-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.audit-check.pass {
  background: #f2fbf4;
  border-color: #cfe7d7;
}

.audit-check.warning {
  background: #fff8e1;
  border-color: #f8dfa4;
}

.audit-check.fail {
  background: #fff3f1;
  border-color: #f5c4bd;
}

.audit-check span {
  display: inline-flex;
  width: fit-content;
  margin-top: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #546277;
  background: #eef2f8;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.audit-check.pass span {
  color: #188038;
  background: #dff3e5;
}

.audit-check.warning span {
  color: #b06000;
  background: #ffe9a8;
}

.audit-check.fail span {
  color: #d93025;
  background: #fdd9d5;
}

.audit-check p {
  margin-top: 10px;
  color: #546277;
  font-size: 13px;
  line-height: 1.55;
}

.audit-check.warning p,
.audit-check.fail p {
  color: #343940;
  font-weight: 700;
}

.audit-detail-section h3 {
  margin-bottom: 14px;
}

.audit-section-intro {
  max-width: 780px;
  margin: -4px 0 14px;
  color: #546277;
  line-height: 1.65;
}

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

.audit-detail-grid article {
  min-width: 0;
  padding: 14px;
  border-radius: 16px;
  background: #f8fbff;
}

.audit-detail-grid strong,
.audit-detail-grid span,
.audit-list strong,
.audit-list span,
.audit-summary-links a,
.audit-tag-group span {
  overflow-wrap: anywhere;
}

.audit-rating-list {
  display: grid;
  gap: 10px;
}

.audit-breakdown-list {
  display: grid;
  gap: 14px;
}

.audit-breakdown-row {
  display: grid;
  grid-template-columns: 180px 1fr 64px;
  gap: 16px;
  align-items: center;
}

.audit-breakdown-row div {
  height: 18px;
  border-radius: 999px;
  background: #eef2f7;
  overflow: hidden;
}

.audit-breakdown-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.audit-breakdown-row i.green {
  background: #34a853;
}

.audit-breakdown-row i.blue {
  background: #4a82ea;
}

.audit-breakdown-row i.yellow {
  background: #ffb703;
}

.audit-breakdown-row i.red {
  background: #f44336;
}

.audit-breakdown-row i.gray {
  background: #7a7f87;
}

.audit-rating-row {
  display: grid;
  grid-template-columns: 72px 1fr 54px;
  gap: 12px;
  align-items: center;
}

.audit-rating-row div {
  height: 10px;
  border-radius: 999px;
  background: #e9eef6;
  overflow: hidden;
}

.audit-rating-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), #87c04f);
}

.audit-action-list {
  display: grid;
  gap: 12px;
}

.audit-action-card {
  position: relative;
  padding: 18px 18px 18px 22px;
  border: 1px solid #dbe6f7;
  border-radius: 18px;
  background: #fff;
}

.audit-action-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
  border-radius: 18px 0 0 18px;
}

.audit-action-card.high::before {
  background: #f44336;
}

.audit-action-card.medium::before {
  background: #ffb703;
}

.audit-action-card.low::before {
  background: #34a853;
}

.audit-action-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.audit-action-top span {
  padding: 6px 12px;
  border-radius: 10px;
  background: #fde8e5;
  color: #d93025;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.audit-action-card.medium .audit-action-top span {
  background: #fff4d6;
  color: #c77700;
}

.audit-action-card.low .audit-action-top span {
  background: #e6f6ea;
  color: #188038;
}

.audit-action-card p {
  margin-bottom: 8px;
  color: #546277;
  overflow-wrap: anywhere;
}

.audit-action-card b {
  color: #3779ff;
}

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

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

.audit-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eef2f8;
}

.audit-list li:last-child {
  border-bottom: 0;
}

.audit-time-grid,
.audit-competitor-grid {
  display: grid;
  gap: 12px;
}

.audit-time-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.audit-time-card {
  padding: 14px 10px 12px;
  border: 1px solid #dde6f4;
  border-radius: 18px;
  text-align: center;
  background: #fff;
}

.audit-time-card i {
  width: 42px;
  height: 42px;
  display: block;
  margin: 0 auto 10px;
  border-radius: 10px;
}

.audit-time-card.green i {
  background: #34a853;
}

.audit-time-card.yellow i {
  background: #ffb703;
}

.audit-time-card.red i {
  background: #f44336;
}

.audit-time-card.featured {
  border-color: #f44336;
}

.audit-time-card span {
  color: #546277;
  font-size: 13px;
}

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

.audit-competitor-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid #dbe6f7;
  border-radius: 18px;
  background: #fff;
}

.audit-competitor-card .dot {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 999px;
  margin-top: 2px;
}

.audit-competitor-card p {
  color: #546277;
}

.audit-json-shell summary {
  cursor: pointer;
  font-weight: 800;
}

.audit-tag-groups {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.audit-tags {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.audit-tags b {
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 999px;
  background: #edf5ff;
  color: var(--navy);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.audit-json {
  max-width: 100%;
  box-sizing: border-box;
  max-height: 460px;
  overflow: auto;
  padding: 18px;
  border-radius: 18px;
  color: #dbe7ff;
  background: #091a3f;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}

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

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

.tool-result,
.lead-capture {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid #e7e0d6;
  border-radius: 24px;
  background: #f9f7f2;
}

.tool-result {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
}

.report-result {
  margin-top: 26px;
}

.tool-score {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 16px 32px rgba(6, 43, 120, .18);
}

.tool-score strong,
.tool-score span {
  display: block;
}

.tool-score strong {
  font-size: 34px;
  line-height: 1;
}

.tool-score span {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.tool-result-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 18px 0;
}

.tool-result-grid h3,
.tool-result-grid h2 {
  margin-bottom: 10px;
  font-size: 20px;
}

.tool-result-grid li {
  margin-bottom: 8px;
  color: #3f444d;
}

.generated-copy {
  margin: 16px 0;
  padding: 18px;
  border-radius: 16px;
  color: #202124;
  background: #fff;
  font-weight: 800;
  line-height: 1.6;
}

.qr-preview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 16px 0;
}

.qr-preview img {
  width: 160px;
  height: 160px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.competitor-list {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.competitor-list div {
  display: grid;
  gap: 3px;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
}

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

.competitor-shell {
  align-items: start;
}

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

.competitor-candidates {
  margin-top: 18px;
}

.competitor-candidate-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.competitor-candidate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid #dbe6f7;
  border-radius: 18px;
  background: #f8fbff;
  text-align: left;
  cursor: pointer;
}

.competitor-candidate:hover {
  border-color: var(--blue);
  background: #fff;
}

.competitor-candidate strong,
.competitor-candidate-meta b {
  color: var(--navy);
}

.competitor-candidate span,
.competitor-candidate-meta em {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.competitor-report {
  display: grid;
  gap: 18px;
}

.competitor-report-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 18px;
  padding: 24px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 22%, rgba(251, 188, 5, .34), transparent 28%),
    linear-gradient(135deg, var(--navy), #1145a6 58%, #2d70ff);
}

.competitor-report-head .eyebrow {
  color: #fff;
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
}

.competitor-report-head h2,
.competitor-report-head p {
  color: #fff;
}

.competitor-report-head p {
  margin-top: 8px;
  color: rgba(255, 255, 255, .82);
  font-weight: 800;
}

.competitor-report-meta {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 20px;
  background: rgba(255, 255, 255, .12);
}

.competitor-report-meta strong {
  font-size: 40px;
  line-height: 1;
}

.competitor-report-meta span,
.competitor-report-meta b {
  color: rgba(255, 255, 255, .86);
}

.competitor-top-section {
  display: grid;
  gap: 16px;
}

.competitor-top-heading {
  max-width: 760px;
}

.competitor-top-heading h3 {
  margin-top: 10px;
}

.competitor-top-heading p {
  margin-top: 6px;
  color: var(--muted);
}

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

.competitor-top-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #dbe6f7;
  border-radius: 18px;
  background: #f8fbff;
}

.competitor-top-card:nth-child(1) {
  border-color: #bfe5c8;
  background: #f1fbf4;
}

.competitor-top-card:nth-child(2) {
  border-color: #c8dbff;
  background: #f4f8ff;
}

.competitor-top-card:nth-child(3) {
  border-color: #f8dfa4;
  background: #fff8e1;
}

.competitor-rank {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.competitor-top-card h4 {
  margin: 0;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.25;
}

.competitor-top-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.competitor-top-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.competitor-top-card dl div {
  padding: 10px;
  border: 1px solid #e7edf7;
  border-radius: 12px;
  background: #fff;
}

.competitor-top-card dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.competitor-top-card dd {
  margin: 4px 0 0;
  color: #202124;
  font-size: 18px;
  font-weight: 900;
}

.competitor-top-address {
  min-height: 38px;
}

.competitor-top-card a,
.competitor-muted {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

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

.competitor-summary-grid,
.competitor-score-grid {
  display: grid;
  gap: 14px;
}

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

.competitor-summary-grid article,
.competitor-score-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(6, 43, 120, .06);
}

.competitor-summary-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.competitor-summary-grid strong {
  display: block;
  margin: 8px 0 6px;
  color: var(--navy);
  font-size: 30px;
  line-height: 1;
}

.competitor-summary-copy {
  color: #3f444d;
  font-size: 16px;
  line-height: 1.75;
}

.competitor-table {
  display: grid;
  gap: 10px;
}

.competitor-table-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(0, .7fr));
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #e6edf8;
  border-radius: 16px;
  background: #fff;
}

.competitor-table-row.head {
  color: var(--navy);
  background: #f8fbff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.competitor-table-row span,
.competitor-table-row em {
  display: block;
}

.competitor-table-row em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

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

.competitor-score-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.competitor-score-top span {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--navy);
  background: #eef4ff;
  font-size: 12px;
  font-weight: 900;
}

.competitor-score-bars {
  display: grid;
  gap: 12px;
}

.competitor-score-bar {
  display: grid;
  grid-template-columns: minmax(120px, .95fr) minmax(0, 1fr) 64px;
  gap: 10px;
  align-items: center;
}

.competitor-score-bar span,
.competitor-score-bar b {
  color: #3f444d;
  font-size: 13px;
}

.competitor-score-bar div {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf2fb;
}

.competitor-score-bar i {
  height: 100%;
  display: block;
  border-radius: inherit;
}

.competitor-score-bar i.good {
  background: linear-gradient(90deg, var(--green), #68d38d);
}

.competitor-score-bar i.mid {
  background: linear-gradient(90deg, var(--yellow), #ffd86d);
}

.competitor-score-bar i.low {
  background: linear-gradient(90deg, var(--red), #ff8b7e);
}

.competitor-report-actions {
  justify-content: flex-start;
}

.competitor-search-card {
  min-width: 0;
}

.competitor-setup-form {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid #e7edf7;
}

.competitor-matrix {
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid #dbe6f7;
  border-radius: 18px;
}

.competitor-matrix-row {
  display: grid;
  grid-template-columns: minmax(170px, 1.1fr) repeat(4, minmax(140px, 1fr));
  gap: 0;
}

.competitor-matrix-row > * {
  min-width: 0;
  padding: 14px 12px;
  border-right: 1px solid #e8eef8;
  border-bottom: 1px solid #e8eef8;
  overflow-wrap: anywhere;
}

.competitor-matrix-row > *:last-child {
  border-right: 0;
}

.competitor-matrix-row:last-child > * {
  border-bottom: 0;
}

.competitor-matrix-head {
  background: #f8fbff;
}

.competitor-matrix-head span {
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.competitor-matrix-row strong {
  color: #202124;
  font-size: 13px;
}

.competitor-matrix-row span {
  color: #3f444d;
  font-size: 13px;
}

.competitor-matrix-row span.tone-positive {
  color: #188038;
  background: #f1fbf4;
  font-weight: 900;
}

.competitor-matrix-row span.tone-warning {
  color: #b06000;
  background: #fff8e1;
  font-weight: 900;
}

.competitor-matrix-row span.tone-negative {
  color: #d93025;
  background: #fff3f1;
  font-weight: 900;
}

.competitor-matrix-row span.tone-info {
  color: #1967d2;
  background: #f4f8ff;
}

.competitor-section-summary {
  margin-top: 14px;
  color: #546277;
}

.competitor-action-table {
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid #dbe6f7;
  border-radius: 18px;
}

.competitor-action-row {
  display: grid;
  grid-template-columns: minmax(210px, .85fr) minmax(0, 1.4fr);
}

.competitor-action-row > * {
  min-width: 0;
  padding: 14px 16px;
  border-right: 1px solid #e8eef8;
  border-bottom: 1px solid #e8eef8;
  overflow-wrap: anywhere;
}

.competitor-action-row > *:last-child {
  border-right: 0;
}

.competitor-action-row:last-child > * {
  border-bottom: 0;
}

.competitor-action-head {
  background: #f8fbff;
}

.competitor-action-head span {
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.admin-body {
  min-height: 100vh;
  background: #f5f8fd;
}

.hidden {
  display: none !important;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
}

.admin-shell.is-authenticated {
  grid-template-columns: 260px 1fr;
}

.admin-sidebar {
  display: none;
  padding: 30px 22px;
  color: #d8e4f7;
  background: #02153d;
}

.admin-shell.is-authenticated .admin-sidebar {
  display: block;
}

.admin-brand {
  width: 160px;
  margin-bottom: 30px;
}

.admin-brand img {
  filter: brightness(0) invert(1);
}

.admin-sidebar p {
  color: #fff;
  font-weight: 900;
}

.admin-sidebar a:not(.brand) {
  display: block;
  padding: 11px 0;
  color: #d8e4f7;
  font-weight: 800;
}

.admin-nav-link {
  width: 100%;
  display: block;
  margin-bottom: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 13px;
  color: #d8e4f7;
  background: transparent;
  text-align: left;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.admin-nav-link:hover,
.admin-nav-link.active {
  color: #fff;
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .12);
}

.admin-main {
  padding: 36px;
}

.admin-shell:not(.is-authenticated) .admin-main {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 18%, rgba(67, 132, 234, .16), transparent 30%),
    radial-gradient(circle at 82% 72%, rgba(52, 168, 83, .12), transparent 28%),
    var(--soft);
}

.admin-login {
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}

.admin-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 26px;
}

.admin-topbar h1 {
  margin-bottom: 8px;
}

.admin-topbar p {
  color: var(--muted);
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(320px, .85fr) minmax(460px, 1.15fr);
  gap: 24px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.admin-stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(6, 43, 120, .04);
}

.admin-stat strong,
.admin-stat span {
  display: block;
}

.admin-stat strong {
  color: var(--navy);
  font-size: 30px;
  line-height: 1;
}

.admin-stat span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.admin-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(6, 43, 120, 0.05);
}

.admin-card-head,
.admin-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-card-head {
  margin-bottom: 20px;
}

.admin-card-head h2 {
  margin-bottom: 0;
  font-size: 28px;
}

.admin-card-head span,
.admin-post-item em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.admin-post-list {
  display: grid;
  gap: 12px;
}

.admin-list-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 10px;
  margin-bottom: 16px;
}

.admin-list-tools input,
.admin-list-tools select {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #ccd8ea;
  border-radius: 12px;
  background: #fff;
}

.admin-post-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.admin-post-item:hover {
  border-color: var(--blue);
}

.admin-post-item.selected,
.admin-post-item.unread {
  border-color: rgba(66, 133, 244, .45);
  background: #f6f9ff;
}

.admin-post-item strong,
.admin-post-item small {
  display: block;
}

.admin-post-item small {
  margin-top: 4px;
  color: var(--muted);
}

.admin-post-item em {
  padding: 5px 8px;
  border-radius: 999px;
  color: #16743a;
  background: #e8f8ed;
}

.admin-post-item em.draft {
  color: #a96f00;
  background: #fff6d9;
}

.admin-post-item em.scheduled {
  color: #174ea6;
  background: #e8f0fe;
}

.admin-post-item em.read {
  color: #174ea6;
  background: #e8f0fe;
}

.admin-post-item em.archived {
  color: #60656f;
  background: #f0f1f5;
}

.enquiries-grid {
  grid-template-columns: minmax(320px, .9fr) minmax(420px, 1.1fr);
}

.tool-analytics-grid {
  grid-template-columns: minmax(340px, .9fr) minmax(460px, 1.1fr);
}

.settings-grid {
  grid-template-columns: minmax(360px, .9fr) minmax(420px, 1.1fr);
}

.enquiry-detail {
  display: grid;
  gap: 18px;
}

.enquiry-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.enquiry-detail-head h3 {
  margin: 10px 0 4px;
  font-size: 28px;
}

.enquiry-detail-head p {
  margin: 0;
  color: var(--muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  color: #16743a;
  background: #e8f8ed;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.status-pill.read {
  color: #174ea6;
  background: #e8f0fe;
}

.status-pill.archived {
  color: #60656f;
  background: #f0f1f5;
}

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

.enquiry-meta div,
.enquiry-message {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfdff;
}

.enquiry-meta strong,
.enquiry-meta span,
.enquiry-message strong,
.enquiry-message p {
  display: block;
}

.enquiry-meta strong,
.enquiry-message strong {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.enquiry-meta span,
.enquiry-message p {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.enquiry-meta.compact {
  grid-template-columns: 1fr;
}

.enquiry-actions {
  justify-content: flex-start;
}

.tool-run-detail {
  display: grid;
  gap: 18px;
}

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

.tool-run-summary-grid div,
.tool-run-json {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfdff;
}

.tool-run-summary-grid strong,
.tool-run-summary-grid span,
.tool-run-json strong {
  display: block;
}

.tool-run-summary-grid strong,
.tool-run-json strong {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.tool-run-summary-grid span {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.tool-run-json pre {
  max-height: 320px;
  margin: 0;
  overflow: auto;
  color: #31415f;
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

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

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.editor-toolbar .btn {
  min-height: 40px;
}

.editor-guide {
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid #dbe6f7;
  border-radius: 16px;
  background: #f8fbff;
}

.editor-guide strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.editor-guide p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.admin-manager {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fbff;
}

.admin-manager strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
}

.admin-manager p {
  color: var(--muted);
  font-size: 14px;
}

.inline-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #dbe6f7;
  border-radius: 999px;
  color: var(--blue);
  background: #fff;
  font-size: 13px;
  font-weight: 900;
}

.category-pill button {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.image-preview {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px dashed #cbd9ef;
  border-radius: 16px;
  color: var(--muted);
  background: #fff;
}

.image-preview img {
  width: 82px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
}

.image-preview span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.image-preview .btn {
  flex: 0 0 auto;
}

.image-library {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 10px;
}

.image-option {
  position: relative;
  display: grid;
  gap: 7px;
  padding: 8px;
  border: 2px solid transparent;
  border-radius: 14px;
  background: #fff;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}

.image-option:hover,
.image-option.selected {
  border-color: var(--blue);
}

.image-option img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  object-fit: cover;
  background: #edf3fb;
}

.image-option span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 800;
}

.image-option em {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 7px;
  border-radius: 999px;
  color: #fff;
  background: rgba(234, 67, 53, .92);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  opacity: 0;
  transition: opacity .2s ease;
}

.image-option:hover em {
  opacity: 1;
}

.empty-state.compact {
  padding: 12px;
  font-size: 13px;
}

.content-editor {
  min-height: 360px;
  padding: 18px 20px;
  border: 1px solid #ccd8ea;
  border-radius: 18px;
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

.btn.danger {
  color: var(--red);
  border-color: #ffd0cc;
}

.btn.danger:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}

.btn.is-busy {
  position: relative;
  pointer-events: none;
}

.btn.is-busy::before {
  content: "";
  width: 14px;
  height: 14px;
  display: inline-block;
  margin-right: 8px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  vertical-align: -2px;
  animation: button-spin .7s linear infinite;
}

.admin-toast-stack {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  gap: 10px;
  max-width: min(360px, calc(100vw - 28px));
}

.admin-toast {
  padding: 14px 16px;
  border-radius: 16px;
  color: #fff;
  background: #123c9c;
  box-shadow: 0 16px 34px rgba(6, 43, 120, .18);
  font-size: 14px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
}

.admin-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.admin-toast.success {
  background: #16743a;
}

.admin-toast.warn {
  background: #9b6700;
}

.admin-toast.error {
  background: #c5221f;
}

@keyframes button-spin {
  to {
    transform: rotate(360deg);
  }
}

.site-footer {
  padding: 72px 0 30px;
  color: #bfcbe0;
  background: #02153d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(4, minmax(120px, 1fr));
  gap: 28px;
  padding-bottom: 50px;
}

.footer-grid > div {
  min-width: 0;
}

.footer-brand img {
  width: 160px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 340px;
  margin: 20px 0;
}

.footer-social-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-social-row > span {
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.footer-social {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.footer-social a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 10px 7px 7px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: #e8f0ff;
  background: rgba(255, 255, 255, .07);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .01em;
}

.footer-social a::before {
  content: attr(data-icon);
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #02153d;
  background: #b8ff2c;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.footer-social a:hover {
  border-color: rgba(184, 255, 44, .55);
  color: #b8ff2c;
  background: rgba(184, 255, 44, .1);
  transform: translateY(-1px);
}

.footer-title {
  margin-bottom: 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.footer-links {
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-link-button {
  width: max-content;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font-size: inherit;
  text-align: left;
  cursor: pointer;
}

.footer-link-button:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
}

.footer-company {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin-top: 18px;
  color: #94a4c2;
  font-size: 11px;
  line-height: 1.5;
}

.footer-company strong {
  color: #d7e3f7;
}

.free-tool-sticky-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 75;
  width: min(920px, calc(100% - 44px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding: 14px 16px 14px 20px;
  border: 1px solid rgba(67, 132, 234, .22);
  border-radius: 20px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 22px 70px rgba(3, 28, 81, .18);
  opacity: 0;
  transform: translateY(22px);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  backdrop-filter: blur(14px);
}

.free-tool-sticky-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.free-tool-sticky-cta strong,
.free-tool-sticky-cta span {
  display: block;
}

.free-tool-sticky-cta strong {
  color: var(--navy);
  font-size: 15px;
}

.free-tool-sticky-cta span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.free-tool-sticky-cta .btn {
  white-space: nowrap;
}

.cookie-banner {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: min(390px, calc(100% - 44px));
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(3, 28, 81, 0.25);
}

.cookie-banner h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.cookie-banner p {
  color: var(--muted);
  font-size: 13px;
}

.cookie-actions {
  display: flex;
  gap: 9px;
}

.cookie-banner.hidden {
  display: none;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 80px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(67, 132, 234, 0.15), transparent 28%),
    radial-gradient(circle at 80% 70%, rgba(46, 174, 88, 0.12), transparent 25%),
    var(--soft);
  text-align: center;
}

.error-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.error-content .lead {
  max-width: 620px;
}

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

.error-mark {
  width: 110px;
  margin-bottom: 26px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    inset: 75px 0 auto;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 18px 20px 26px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-actions .btn-secondary {
    display: none;
  }

  .nav-login {
    margin-left: auto;
  }

  .hero-grid,
  .split,
  .split.reverse,
  .contact-grid,
  .newsletter-card {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy .lead {
    margin-right: auto;
    margin-left: auto;
  }

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

  .hero-visual {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
  }

  .split.reverse .split-visual {
    order: 0;
  }

  .grid-3,
  .grid-4,
  .blog-grid,
  .blog-grid.compact,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-blog-card {
    grid-column: 1 / -1;
  }

  .admin-shell,
  .admin-grid,
  .tools-shell,
  .rank-tool-grid,
  .rank-check-shell,
  .rank-step-panel.active {
    grid-template-columns: 1fr;
  }

  .rank-step-tabs {
    gap: 10px;
    margin-inline: 0;
    padding-inline: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .rank-step-tabs::-webkit-scrollbar {
    display: none;
  }

  .rank-step-tabs button {
    min-height: 48px;
    gap: 8px;
    padding-inline: 4px;
    font-size: 14px;
  }

  .rank-step-tabs button::after {
    display: none;
  }

  .rank-report-title {
    grid-template-columns: 1fr;
  }

  .rank-found-strip {
    grid-template-columns: 1fr;
  }

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

  .qr-preview-card {
    order: 2;
  }

  .request-card {
    order: 2;
  }

  .tools-menu {
    position: static;
  }

  .admin-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .admin-shell.is-authenticated .admin-sidebar {
    display: block;
    padding: 18px;
  }

  .admin-main {
    padding: 24px 18px;
  }

  .admin-brand {
    width: 128px;
    margin-bottom: 16px;
  }

  .admin-sidebar p {
    margin-bottom: 10px;
  }

  .admin-nav-link {
    display: inline-flex;
    width: auto;
    margin: 0 8px 10px 0;
    padding: 10px 12px;
  }

  .admin-sidebar a:not(.brand) {
    display: inline-block;
    margin-right: 14px;
  }

  .admin-topbar {
    display: grid;
  }

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

  .feature-row {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

}

@media (max-width: 1180px) {
  .rank-tool-hero,
  .qr-tool-hero {
    padding: 34px 0 46px;
  }

  .rank-tool-intro,
  .qr-tool-intro {
    margin-bottom: 14px;
  }

  .rank-tool-intro h1,
  .qr-tool-intro h1 {
    font-size: clamp(34px, 4.4vw, 54px);
    white-space: normal;
    text-wrap: balance;
  }

  .rank-step-panel,
  .qr-tool-shell,
  .audit-search-panel {
    grid-template-columns: 1fr;
  }

  .rank-wizard,
  .qr-builder-card,
  .qr-preview-card,
  .request-card,
  .audit-search-panel,
  .audit-report-panel {
    min-height: auto;
    padding: 22px;
    border-radius: 24px;
  }

  .rank-step-tabs {
    gap: 10px;
    margin-inline: 0;
    padding-inline: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .rank-step-tabs::-webkit-scrollbar {
    display: none;
  }

  .rank-step-tabs button {
    min-height: 48px;
    gap: 8px;
    padding-inline: 4px;
    font-size: 14px;
  }

  .rank-step-tabs button::after {
    display: none;
  }

  .qr-preview-card,
  .request-card {
    order: 2;
  }

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

  .request-phone-grid {
    grid-template-columns: 1fr;
  }

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

  .response-list {
    min-height: 300px;
  }

  .response-review-head,
  .response-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .qr-actions,
  .response-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qr-actions .btn,
  .response-actions .btn {
    width: 100%;
  }

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

  .audit-check-grid,
  .audit-split-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .brand {
    width: 137px;
  }

  .nav-actions .btn-primary {
    display: none;
  }

  .nav-login {
    display: none;
  }

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

  .section {
    padding: 74px 0;
  }

  .section-tight {
    padding: 34px 0;
  }

  .tool-video-card {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px;
    border-radius: 24px;
  }

  h1 {
    font-size: 43px;
  }

  .grid-3,
  .grid-4,
  .grid-2,
  .blog-grid,
  .blog-grid.compact,
  .pricing-grid,
  .steps,
  .feature-row .feature-items,
  .form-grid,
  .newsletter-card {
    grid-template-columns: 1fr;
  }

  .newsletter-card {
    padding: 24px;
    border-radius: 24px;
  }

  .newsletter-input-row {
    display: grid;
  }

  .newsletter-input-row input {
    min-height: 44px;
    padding: 0 8px;
  }

  .free-tool-sticky-cta {
    right: 14px;
    bottom: 14px;
    left: 14px;
    width: calc(100% - 28px);
    display: grid;
    gap: 12px;
    padding: 14px;
    text-align: center;
  }

  .free-tool-sticky-cta .btn {
    width: 100%;
  }

  .pricing-controls,
  .pricing-toggle,
  .market-selector {
    width: 100%;
  }

  .pricing-toggle {
    justify-content: center;
  }

  .pricing-toggle button {
    flex: 1;
  }

  .market-selector {
    justify-content: space-between;
  }

  .market-selector select {
    flex: 1;
  }

  .featured-blog-card {
    display: block;
  }

  .rank-tool-hero {
    padding: 24px 0 34px;
  }

  .rank-tool-intro {
    margin-bottom: 14px;
  }

  .rank-tool-intro h1 {
    margin-bottom: 10px;
    font-size: 34px;
    white-space: normal;
  }

  .rank-tool-intro .lead {
    font-size: 15px;
  }

  .rank-wizard {
    padding: 14px;
    border-radius: 22px;
  }

  .rank-step-tabs {
    grid-template-columns: repeat(3, minmax(106px, 1fr));
    margin: 0 0 14px;
    padding: 0;
    border-radius: 0;
  }

  .rank-step-tabs button {
    min-height: 42px;
    gap: 6px;
    padding: 0 0 9px;
    font-size: 11px;
    white-space: nowrap;
  }

  .rank-step-tabs button span {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .rank-search-card,
  .selected-place-card {
    padding: 18px;
    border-radius: 22px;
  }

  .rank-step-panel {
    gap: 12px;
  }

  .rank-step-copy {
    padding: 2px 2px 0;
  }

  .rank-step-copy .eyebrow {
    margin-bottom: 10px;
  }

  .rank-step-copy h2 {
    margin-bottom: 8px;
    font-size: 26px;
  }

  .rank-step-copy p {
    font-size: 14px;
  }

  .rank-search-box input {
    min-height: 50px;
  }

  body[data-page="tools"] .section-soft {
    padding: 46px 0;
  }

  .qr-tool-hero {
    padding: 34px 0 42px;
  }

  .qr-tool-intro {
    margin-bottom: 18px;
  }

  .qr-tool-intro h1 {
    font-size: 36px;
    white-space: normal;
  }

  .qr-builder-card,
  .qr-preview-card,
  .request-card {
    min-height: auto;
    padding: 18px;
    border-radius: 22px;
  }

  .request-channel-tabs button {
    min-height: 44px;
  }

  .request-message-preview {
    padding: 15px;
  }

  .request-phone-grid {
    grid-template-columns: 1fr;
  }

  .response-review-head,
  .response-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .audit-search-panel {
    grid-template-columns: 1fr;
  }

  .audit-search-panel,
  .audit-report-panel {
    padding: 18px;
    border-radius: 22px;
  }

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

  .audit-check-grid,
  .audit-split-grid {
    grid-template-columns: 1fr;
  }

  .audit-breakdown-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

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

  .qr-theme-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .review-poster {
    border-radius: 22px;
  }

  .review-poster-top {
    padding: 26px 18px 22px;
  }

  .review-poster-top h3 {
    font-size: 25px;
  }

  .review-poster-body {
    padding: 24px 18px 26px;
  }

  .review-poster-body p {
    font-size: 18px;
  }

  .qr-frame {
    width: 220px;
    height: 220px;
  }

  .qr-frame img {
    width: 194px;
    height: 194px;
  }

  .qr-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .rank-report-head,
  .rank-summary-grid,
  .rank-result-card {
    grid-template-columns: 1fr;
  }

  .rank-report-head {
    display: grid;
    padding: 22px;
  }

  .rank-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .rank-summary-grid article {
    padding: 12px 10px;
  }

  .rank-summary-grid span {
    font-size: 9px;
  }

  .rank-summary-grid strong {
    font-size: 22px;
  }

  .rank-found-strip {
    padding: 14px;
  }

  .audit-score-hero {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .audit-stack {
    gap: 18px;
  }

  .audit-brand-meta {
    display: grid;
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .audit-status-chip {
    min-width: 0;
    width: 100%;
  }

  .audit-score-ring {
    width: 120px;
    height: 120px;
  }

  .audit-card-grid,
  .audit-detail-grid {
    grid-template-columns: 1fr;
  }

  .audit-rating-row {
    grid-template-columns: 58px 1fr 44px;
    gap: 8px;
  }

  .audit-time-grid,
  .audit-competitor-grid {
    grid-template-columns: 1fr;
  }

  .audit-json {
    max-height: 360px;
    padding: 14px;
    font-size: 11px;
  }

  .rank-found-strip strong {
    font-size: 15px;
  }

  .rank-result-top {
    grid-template-columns: 72px 1fr;
    gap: 14px;
  }

  .rank-number {
    width: 66px;
    height: 66px;
    border-radius: 20px;
    font-size: 20px;
  }

  .rank-top-results li {
    grid-template-columns: 30px 1fr;
  }

  .rank-top-results li b {
    grid-column: 2;
    justify-self: start;
  }

  .rank-top-results li em {
    justify-self: start;
  }

  .featured-blog-card .blog-card-media {
    padding: 10px 10px 0;
  }

  .featured-blog-card .blog-card-media > img,
  .featured-blog-card .blog-card-mark {
    min-height: 0;
    height: 210px;
  }

  .product-dashboard {
    grid-template-columns: 1fr;
    min-height: 420px;
    transform: none;
  }

  .product-sidebar {
    display: none;
  }

  .product-header,
  .product-content {
    padding-right: 10px;
    padding-left: 10px;
  }

  .product-actions span {
    display: none;
  }

  .product-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
  }

  .product-metric {
    padding: 9px;
  }

  .product-panels {
    grid-template-columns: 1fr;
  }

  .rating-panel {
    display: none;
  }

  .trend-panel {
    min-height: 215px;
    padding: 13px;
  }

  .trend-chart {
    height: 148px;
    margin-top: 8px;
  }

  .trend-chart svg {
    height: 110px;
  }

  .float-card {
    display: none;
  }

  .logo-strip-inner {
    display: grid;
    gap: 16px;
  }

  .split-visual {
    min-height: 330px;
    padding: 18px;
  }

  .map-grid {
    width: 280px;
    height: 280px;
  }

  .cta {
    grid-template-columns: 1fr;
    padding: 38px 28px;
  }

  .price-card.featured {
    transform: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .footer-social-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .blog-toolbar,
  .admin-actions,
  .admin-card-head {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-stats,
  .admin-list-tools,
  .enquiry-meta,
  .tool-run-summary-grid,
  .tool-result,
  .tool-result-grid,
  .rank-result-card,
  .rank-top-results li {
    grid-template-columns: 1fr;
  }

  .rank-top-results li em {
    justify-self: start;
  }

  .blog-article {
    padding-bottom: 78px;
  }

  .back-link {
    min-height: 66px;
    margin-bottom: 30px;
  }

  .article-head h1 {
    font-size: 42px;
    letter-spacing: -0.05em;
  }

  .article-pills {
    gap: 8px;
    margin-bottom: 22px;
  }

  .article-cover {
    min-height: 240px;
    margin: 28px 0 42px;
  }

  .article-body {
    font-size: 17px;
  }

  .inline-control {
    grid-template-columns: 1fr;
  }

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

  .image-preview span {
    width: 100%;
  }

  .admin-card {
    padding: 20px;
  }
}

@media (max-width: 900px) {
  .competitor-form,
  .competitor-top-list,
  .competitor-summary-grid,
  .competitor-score-grid {
    grid-template-columns: 1fr;
  }

  .competitor-report-head,
  .competitor-candidate,
  .competitor-table-row,
  .competitor-score-bar {
    grid-template-columns: 1fr;
  }

  .competitor-table-row.head {
    display: none;
  }

  .competitor-matrix,
  .competitor-action-table {
    overflow-x: auto;
  }

  .competitor-matrix-row {
    min-width: 860px;
  }

  .competitor-action-row {
    min-width: 520px;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
