/* Homepage – Google Maps Grid Rank Tracker (SaaS tool) */
.page-tool {
  --tool-blue: #137752;
  --tool-blue-dark: #0f6344;
  --tool-blue-light: #ecfdf5;
  --rank-green: #22c55e;
  --rank-yellow: #f59e0b;
  --rank-orange: #f97316;
  --rank-red: #ef4444;
  --text-dark: #0b1220;
  --section-gray: #f3f5f7;
}
.page-tool {
  --blue-600: var(--tool-blue);
  --blue-700: var(--tool-blue-dark);
  --blue-50: var(--tool-blue-light);
}
/* ---- Header overrides ---- */
.page-tool .logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
}
.page-tool .logo-pin {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.page-tool .nav-chevron {
  opacity: 0.45;
  margin-top: 1px;
}
.page-tool .header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.page-tool .header-signin {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  white-space: nowrap;
}
.page-tool .header-signin:hover {
  color: var(--tool-blue);
}
.page-tool .btn-primary {
  background: var(--tool-blue);
  border-color: var(--tool-blue);
  border-radius: 999px;
}
.page-tool .btn-primary:hover {
  background: var(--tool-blue-dark);
  border-color: var(--tool-blue-dark);
  box-shadow: 0 4px 14px rgba(19, 119, 82, 0.32);
}
.page-tool .btn-outline {
  border-radius: 999px;
  border-color: rgba(15, 23, 42, 0.12);
}
.page-tool .btn-outline:hover {
  border-color: rgba(19, 119, 82, 0.35);
  color: var(--tool-blue-dark);
}
.page-tool .btn-sm {
  padding: 10px 18px;
  font-size: 13px;
}

/* ---- Hero: 50/50 — H1 + problem question left, product right ---- */
.tool-hero {
  position: relative;
  padding: 48px 0 56px;
  overflow: hidden;
  background: transparent;
}
.tool-hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 70% at 12% 35%, rgba(19, 119, 82, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 55% at 88% 40%, rgba(15, 99, 68, 0.09), transparent 58%),
    linear-gradient(180deg, #eef5f1 0%, var(--section-gray) 55%, #e8eef2 100%);
  z-index: 0;
}
.tool-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}
.tool-hero-intro {
  position: relative;
  z-index: 1;
  max-width: none;
  margin: 0;
  text-align: center; /* 50/50: center headline + body */
  padding: 4px 0;
  animation: hero-fade 0.7s ease both;
}
.tool-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text-dark);
  letter-spacing: -0.04em;
  margin: 0 0 14px;
}
.tool-hero-problem {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--tool-blue);
  letter-spacing: -0.015em;
}
.tool-hero-sub {
  margin: 0 auto 14px;
  max-width: 42ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--gray-600);
}
.tool-hero-proof {
  margin: 0 auto 22px;
  max-width: 42ch;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--tool-blue-dark);
  background: rgba(19, 119, 82, 0.1);
  border-left: 3px solid var(--tool-blue);
  border-radius: 0 10px 10px 0;
}
.tool-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.tool-hero-visual {
  position: relative;
  z-index: 1;
  margin: 0;
  min-width: 0;
  animation: hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.tool-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(400px, 52vh);
  object-fit: cover;
  object-position: left center;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  box-shadow: 0 22px 56px rgba(15, 23, 42, 0.14);
}
@keyframes hero-fade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.tool-hero-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray-600);
  margin-bottom: 12px;
}
.tool-hero-lead strong {
  color: var(--text-dark);
  font-weight: 600;
}
.btn-play {
  gap: 10px;
}
.btn-play-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--tool-blue-light);
  color: var(--tool-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tool-hero-trust {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-500);
  max-width: 460px;
  line-height: 1.5;
}
.tool-hero-trust svg {
  flex-shrink: 0;
  margin-top: 1px;
}

/* Product screenshots (non-hero) */
.tool-screenshot {
  margin: 0;
}

.tool-screenshot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.1);
}

.competitor-showcase {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: start;
}

.competitor-showcase .competitor-card--accent {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.competitor-showcase .competitor-card--accent .btn-white {
  margin-top: auto;
  align-self: flex-start;
}

/* Grid scan dashboard mockup */
.grid-dashboard {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}
.grid-dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-100);
  background: var(--gray-50);
}
.grid-dashboard-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}
.grid-dashboard-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--rank-green);
  background: #dcfce7;
  padding: 3px 8px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.grid-dashboard-body {
  display: grid;
  grid-template-columns: 1fr 155px;
  gap: 0;
}
.grid-map-wrap {
  padding: 16px;
  border-right: 1px solid var(--gray-100);
}
.grid-map-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 12px;
  font-size: 11px;
}
.grid-map-stats span {
  color: var(--gray-500);
  display: block;
  margin-bottom: 2px;
}
.grid-map-stats strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
}
.grid-map-stats strong.green {
  color: var(--rank-green);
}
.grid-heatmap {
  display: grid;
  gap: 4px;
  padding: 14px;
  background: #dce8f8;
  border-radius: 10px;
  position: relative;
}
.grid-heatmap--map {
  grid-template-columns: repeat(7, 1fr);
  background:
    linear-gradient(180deg, rgba(220, 232, 248, 0.92) 0%, rgba(220, 232, 248, 0.85) 100%),
    repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(255,255,255,0.4) 19px, rgba(255,255,255,0.4) 20px),
    repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(255,255,255,0.4) 19px, rgba(255,255,255,0.4) 20px);
}
.grid-heatmap--squares {
  grid-template-columns: repeat(5, 1fr);
  max-width: 260px;
  margin: 0 auto;
}
.grid-heatmap--mini {
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 8px;
}
.grid-heatmap--report {
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  padding: 8px;
  background: #e8f0fe;
}
.grid-cell {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
}
.grid-heatmap--squares .grid-cell,
.grid-heatmap--report .grid-cell {
  border-radius: 4px;
  border: none;
}
.grid-cell--1, .grid-cell--2, .grid-cell--3 { background: var(--rank-green); }
.grid-cell--4, .grid-cell--5, .grid-cell--6, .grid-cell--7 { background: var(--rank-yellow); }
.grid-cell--8, .grid-cell--9, .grid-cell--10, .grid-cell--11 { background: var(--rank-red); }
.grid-cell--active {
  box-shadow: 0 0 0 3px var(--tool-blue);
}
.grid-competitors {
  padding: 14px 12px;
  font-size: 11px;
  background: var(--gray-50);
}
.grid-comp-you {
  background: var(--tool-blue-light);
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 12px;
  text-align: center;
}
.grid-comp-you-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.grid-comp-you strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--tool-blue);
  margin: 2px 0;
}
.grid-comp-you-sub {
  font-size: 10px;
  color: var(--gray-500);
}
.grid-competitors h4 {
  font-size: 10px;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.grid-comp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-600);
}
.grid-comp-row:last-child {
  border-bottom: none;
}
.grid-comp-row.you {
  font-weight: 700;
  color: var(--tool-blue);
}
.grid-comp-rank {
  font-weight: 700;
  color: var(--text-dark);
}
.grid-comp-change {
  font-size: 10px;
  color: var(--rank-green);
}
.grid-comp-change.down {
  color: var(--rank-red);
}
/* ---- Sections ---- */
.tool-section {
  padding: 88px 0;
  background: var(--white);
}
.tool-section--alt {
  background: var(--section-gray);
}
.tool-section--soft {
  background: #eef5f1;
}
.tool-section--muted {
  background: #e8edf1;
}
.tool-section-header {
  text-align: center; /* full-width default: headings + body */
  max-width: 680px;
  margin: 0 auto 48px;
}
.tool-section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 3vw, 2.125rem);
  font-weight: 750;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.tool-section-header p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.65;
}
.tool-section-header p + p {
  margin-top: 12px;
}

/* Layout rhythm helpers */
.layout-5050 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.layout-23-13 {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.layout-13-23 {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.layout-333 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

/* Full-width blocks: everything centered */
.layout-full {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

/* Split headers: fill the column */
.layout-5050 > .tool-section-header,
.layout-23-13 > .tool-section-header,
.layout-13-23 > .tool-section-header,
.tool-section-header--left,
.tool-section-header--right {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

/*
  Alignment by layout:
  - 50/50 → center headline + body
  - 1/3 + 2/3 → face the image (text left → right; text right → left)
*/
.layout-5050 > .tool-section-header {
  text-align: center;
}
.layout-13-23 > .tool-section-header {
  text-align: right;
}
.layout-23-13 > .tool-section-header {
  text-align: left;
}

/* Mid-page banners */
.tool-mid-banner {
  padding: 40px 0;
  background:
    radial-gradient(ellipse 50% 80% at 80% 50%, rgba(255,255,255,0.08), transparent 55%),
    linear-gradient(135deg, #0f6344 0%, #137752 55%, #0b4f36 100%);
  color: #fff;
  text-align: center;
}
.tool-mid-banner--light {
  background: linear-gradient(180deg, #e8f2ec 0%, #dceee4 100%);
  color: var(--text-dark);
  border-top: 1px solid rgba(19, 119, 82, 0.12);
  border-bottom: 1px solid rgba(19, 119, 82, 0.12);
}
.tool-mid-banner-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.tool-mid-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: inherit;
}
.tool-mid-banner p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.92;
}
.tool-mid-banner--light p {
  color: var(--gray-600);
  opacity: 1;
}
.tool-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
/* Section 1 – location */
.section-location-copy h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-location-copy p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 12px;
}
.section-location-copy h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 28px 0 10px;
}
.benefit-icon-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
}
.benefit-icon-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
}
.benefit-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--tool-blue-light);
  color: var(--tool-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(19, 119, 82, 0.12);
}
.section-location-shot {
  margin: 0;
}
.section-location-shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.1);
}

/* Professional product screenshot frames */
.shot-frame {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.1);
}
.shot-frame img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}
.shot-frame--wide {
  max-width: 1100px;
  margin: 0 auto;
}
.shot-frame--constrained {
  max-width: 920px;
  margin: 0 auto;
}
.shot-frame--constrained img {
  max-height: 520px;
  object-fit: cover;
  object-position: top center;
}
.shot-frame--card {
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}
.shot-frame--card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}
.shot-caption {
  padding: 12px 16px 14px;
  font-size: 13px;
  color: var(--gray-500);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background: #fafbfc;
}
.shot-note {
  text-align: center;
  max-width: 520px;
  margin: 18px auto 0;
  font-size: 14px;
  color: var(--gray-500);
}
.shot-card-row {
  align-items: start;
}
.shot-card {
  min-width: 0;
}
.shot-card h3 {
  margin: 16px 0 8px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}
.shot-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--gray-600);
}
.polish-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.polish-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
  line-height: 1.45;
}
.polish-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--tool-blue-light);
  box-shadow: inset 0 0 0 4px var(--tool-blue);
}
.polish-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.polish-panel-light {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}
.tool-capability-list--stacked {
  columns: 1;
  max-width: 420px;
  margin: 0;
}

/* Icon benefit grids */
.icon-benefit-row {
  margin-top: 8px;
}
.icon-benefit {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  min-width: 0;
}
.tool-section--soft .icon-benefit,
.tool-section--alt .icon-benefit {
  background: #fff;
}
.icon-benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--tool-blue);
  background: var(--tool-blue-light);
  border: 1px solid rgba(19, 119, 82, 0.12);
}
.icon-benefit h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}
.icon-benefit p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--gray-600);
}
.location-grid-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}
.location-map-bg {
  background: linear-gradient(180deg, #e8f0fe 0%, #dce8f8 100%);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
}
.location-labels {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 12px;
  color: var(--gray-500);
  text-align: center;
}
.location-labels strong {
  display: block;
  color: var(--text-dark);
  font-size: 13px;
  margin-bottom: 2px;
}
/* Feature icon row */
.tool-icon-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tool-icon-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 8px 10px;
  text-align: left;
  box-shadow: none;
}
.tool-section--alt .tool-icon-card {
  background: transparent;
}
.tool-icon-card-icon {
  width: 44px;
  height: 44px;
  background: var(--tool-blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 14px;
  color: var(--tool-blue);
}
.tool-icon-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.tool-icon-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.5;
}
/* Triple feature cards */
.tool-triple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tool-feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.tool-feature-card-visual {
  padding: 20px 16px;
  background: var(--section-gray);
  border-bottom: 1px solid var(--gray-100);
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.inspect-mock {
  position: relative;
  width: 100%;
  max-width: 220px;
}
.inspect-mock .grid-heatmap--mini {
  max-width: 180px;
  margin: 0 auto;
}
.inspect-popup {
  position: absolute;
  top: 50%;
  right: -8px;
  transform: translateY(-50%);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 10px 12px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
  font-size: 10px;
  min-width: 120px;
}
.inspect-popup strong {
  display: block;
  font-size: 11px;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.inspect-popup span {
  display: block;
  color: var(--gray-500);
  line-height: 1.4;
}
.inspect-popup-cat {
  margin-top: 4px;
  color: var(--tool-blue) !important;
  font-weight: 600;
}
.tool-feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  padding: 18px 22px 8px;
}
.tool-feature-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.55;
  padding: 0 22px 22px;
}
.sparkline {
  width: 100%;
  height: 56px;
}
.sparkline-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-500);
  text-align: center;
  margin-top: 8px;
}
/* Mock table */
.mock-table {
  width: 100%;
  font-size: 11px;
  border-collapse: collapse;
}
.mock-table th,
.mock-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}
.mock-table th {
  font-weight: 600;
  color: var(--gray-500);
  background: var(--white);
  font-size: 10px;
}
.mock-table td {
  color: var(--gray-700);
}
/* Competitor triple cards */
.competitor-triple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.competitor-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.competitor-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.competitor-card--accent {
  background: linear-gradient(160deg, var(--tool-blue) 0%, var(--tool-blue-dark) 100%);
  border-color: var(--tool-blue);
  color: var(--white);
}
.competitor-card--accent h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.competitor-card--accent p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
  margin-bottom: 16px;
}
.competitor-card--accent .btn-white {
  margin-top: 8px;
}
.heatmap-compare {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.heatmap-mini {
  background: var(--section-gray);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 8px;
}
.heatmap-mini h5 {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Check lists */
.tool-check-list {
  list-style: none;
}
.tool-check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.5;
}
.tool-check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--tool-blue-light);
  color: var(--tool-blue);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tool-check-list--white li {
  color: rgba(255, 255, 255, 0.9);
}
.tool-check-list--white li::before {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}
.tool-check-list--center {
  max-width: 680px;
  margin: 16px auto 0;
  columns: 2;
  column-gap: 32px;
}
.growth-find-heading {
  text-align: center;
  margin-top: 36px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}
/* Growth plan */
.growth-plan-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}
.growth-plan-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 24px;
}
.growth-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-100);
}
.growth-todo {
  list-style: none;
}
.growth-todo li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray-600);
  padding: 7px 0;
}
.growth-todo input {
  accent-color: var(--tool-blue);
}
.action-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 12px;
  color: var(--gray-700);
}
.action-row:last-child {
  border-bottom: none;
}
.action-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--tool-blue-light);
  color: var(--tool-blue);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.action-row > span:nth-child(2) {
  flex: 1;
}
.action-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
  white-space: nowrap;
}
.action-tag--high {
  background: var(--tool-blue-light);
  color: var(--tool-blue);
}
.action-tag--med {
  background: #ffedd5;
  color: var(--rank-orange);
}
.insight-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
}
.insight-row > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.insight-row strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
}
.insight-row span {
  font-size: 11px;
  color: var(--gray-500);
}
.insight-icon {
  width: 32px;
  height: 32px;
  background: var(--tool-blue-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--tool-blue);
}
/* Opportunities */
.opportunity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.opportunity-widget {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.opportunity-widget h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.opportunity-widget-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}
.donut-mock {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: conic-gradient(var(--tool-blue) 0% 75%, var(--gray-200) 75% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.donut-mock::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  background: var(--white);
  border-radius: 50%;
}
.donut-mock span {
  position: relative;
  z-index: 1;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dark);
}
.status-missing {
  color: var(--rank-red);
  font-weight: 600;
  font-size: 10px;
}
/* Audience cards */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}
.audience-card {
  padding: 36px 32px;
  border-right: 1px solid var(--gray-200);
}
.audience-card:last-child {
  border-right: none;
}
.audience-card-icon {
  width: 52px;
  height: 52px;
  background: var(--tool-blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--tool-blue);
  border: 1px solid rgba(19, 119, 82, 0.12);
}
.audience-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.audience-bullets {
  list-style: none;
  margin-bottom: 20px;
}
.audience-bullets li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.5;
}
.audience-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tool-blue);
}
.audience-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--tool-blue);
}
.audience-link:hover {
  color: var(--tool-blue-dark);
}
/* Service icon grid */
.tool-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.tool-service-item {
  text-align: center;
}
.tool-service-icon {
  width: 64px;
  height: 64px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: var(--tool-blue);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}
.tool-service-item span {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-700);
}
.tool-capability-list {
  columns: 2;
  column-gap: 32px;
  list-style: none;
  margin-top: 32px;
}
.tool-capability-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--gray-600);
  break-inside: avoid;
}
.tool-capability-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--tool-blue);
  font-weight: 700;
}
/* Report preview */
.report-preview-wrap {
  background: var(--section-gray);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 24px;
}
.report-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.report-panel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 16px;
}
.report-panel h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.report-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 12px;
  color: var(--gray-600);
}
.report-stat-row:last-child {
  border-bottom: none;
}
.report-stat-row strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
}
.report-trend {
  width: 100%;
  height: 70px;
}
.report-keywords li {
  font-size: 12px;
  color: var(--gray-600);
  padding: 7px 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  justify-content: space-between;
}
.report-keywords li:last-child {
  border-bottom: none;
}
.report-keywords li span:last-child {
  font-weight: 700;
  color: var(--tool-blue);
}
.report-cta-wrap {
  text-align: center;
  margin-top: 24px;
}
/* FAQ */
.page-tool .faq-section {
  padding: 80px 0;
  background: var(--white);
}
.page-tool .faq-section h2 {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 40px;
}
.page-tool .faq-grid {
  max-width: 760px;
  margin: 0 auto;
}
.page-tool .faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}
.page-tool .faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
}
.page-tool .faq-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--gray-500);
  transition: transform 0.2s;
}
.page-tool .faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--tool-blue-light);
  color: var(--tool-blue);
}
.page-tool .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.page-tool .faq-item.open .faq-answer {
  max-height: 300px;
}
.page-tool .faq-answer-inner {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
}
/* Final CTA banner */
.tool-cta-banner {
  background:
    radial-gradient(ellipse 60% 80% at 12% 20%, rgba(255,255,255,0.12), transparent 55%),
    linear-gradient(135deg, #137752 0%, #0b4f36 100%);
  padding: 72px 0;
}
.tool-cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.tool-cta-content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex: 1;
  min-width: 280px;
}
.tool-cta-pin {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}
.tool-cta-banner h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.875rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.tool-cta-banner p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
  max-width: 480px;
}
.tool-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.btn-white {
  background: var(--white);
  color: var(--tool-blue-dark);
  border-color: var(--white);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(11, 18, 32, 0.12);
}
.btn-white:hover {
  background: #f0fdf4;
  color: var(--tool-blue-dark);
  border-color: #f0fdf4;
}
.tool-cta-secondary {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tool-cta-secondary:hover {
  color: var(--white);
}
/* Footer SEO block */
.tool-footer-seo {
  padding: 48px 0;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}
.tool-footer-seo h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.tool-footer-seo p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.65;
  max-width: 800px;
}
/* Footer overrides */
.page-tool .site-footer {
  border-top: none;
}
.page-tool .logo--light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.page-tool .logo-pin--footer {
  width: 24px;
  height: 24px;
}
.page-tool .footer-about .social-links {
  margin: 16px 0;
}

/* Mobile-only nav CTAs (hidden on desktop) */
.page-tool .nav-item--mobile-only {
  display: none;
}

/* Prevent horizontal scroll from shadows / full-bleed media */
.page-tool {
  overflow-x: clip;
  /* Localo-style side gutters: never edge-hugging on phone → desktop */
  --page-gutter: clamp(24px, 5.5vw, 56px);
}
.page-tool .container {
  padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
}
.page-tool .tool-mid-banner-inner {
  max-width: 760px;
  margin: 0 auto;
  padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
}
.page-tool img,
.page-tool svg,
.page-tool figure {
  max-width: 100%;
}
.page-tool .shot-frame,
.page-tool .tool-hero-visual {
  min-width: 0;
  max-width: 100%;
}

/* ---------- Responsive breakpoints ---------- */

/*
  Tablet and below (incl. iPad): stack content splits AND switch to
  hamburger nav. Desktop nav + CTA was overflowing ~820–1024px.
*/
@media (max-width: 1024px) {
  .page-tool .mobile-toggle {
    display: flex;
  }

  .page-tool .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100vw;
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 16px 24px calc(32px + env(safe-area-inset-bottom, 0px));
    transform: translateX(100%);
    transition: transform 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 999;
    visibility: hidden;
    pointer-events: none;
  }

  .page-tool .main-nav.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .page-tool .nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .page-tool .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--gray-100);
    border-radius: 0;
  }

  .page-tool .nav-item--mobile-only {
    display: list-item;
  }

  .page-tool .nav-link--cta {
    color: var(--tool-blue) !important;
    font-weight: 700;
  }

  .page-tool .header-signin {
    display: none;
  }

  /* Keep primary CTA visible (global styles hide .btn-header ≤768) */
  .page-tool .btn-header {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .page-tool .header-inner {
    gap: 10px;
  }

  .page-tool .header-actions {
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0;
  }

  .page-tool .logo {
    min-width: 0;
    font-size: 17px;
  }

  .tool-hero-grid,
  .tool-split,
  .layout-5050,
  .layout-23-13,
  .layout-13-23,
  .layout-333,
  .competitor-showcase,
  .growth-plan-grid,
  .report-preview,
  .icon-benefit-row,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .tool-hero {
    padding: 36px 0 40px;
  }

  .tool-hero-visual img {
    width: 100%;
    max-height: min(280px, 42vh);
    min-height: 180px;
    object-fit: cover;
    object-position: left center;
  }

  .shot-frame--constrained img,
  .shot-frame--card img {
    max-height: min(320px, 45vh);
    object-fit: cover;
    object-position: top left;
  }

  /* Stacked: center copy when image is no longer beside text */
  .tool-hero-intro,
  .layout-5050 > .tool-section-header,
  .layout-13-23 > .tool-section-header,
  .layout-23-13 > .tool-section-header,
  .tool-section-header--right,
  .tool-section-header--left {
    text-align: center;
  }

  .tool-hero-sub,
  .tool-hero-proof {
    margin-left: auto;
    margin-right: auto;
  }

  .tool-hero-actions {
    justify-content: center;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  .tool-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .tool-section {
    padding: 64px 0;
  }

  .tool-section-header {
    margin-bottom: 32px;
    max-width: 720px;
  }

  .tool-mid-banner {
    padding: 32px 0;
  }

  .tool-triple,
  .tool-icon-row,
  .tool-service-grid {
    grid-template-columns: 1fr;
  }

  .audience-card {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    padding: 28px 24px;
  }

  .audience-card:last-child {
    border-bottom: none;
  }

  .tool-cta-banner {
    padding: 56px 0;
  }

  .tool-cta-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }

  .tool-cta-content {
    flex-direction: column;
    align-items: center;
    min-width: 0;
    width: 100%;
  }

  .tool-cta-banner p {
    margin-left: auto;
    margin-right: auto;
  }

  .tool-cta-actions {
    width: 100%;
    max-width: 400px;
  }

  .tool-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .page-tool .faq-question {
    text-align: left;
    min-height: 48px;
  }

  .page-tool .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* Narrow tablet / large phone */
@media (max-width: 900px) {
  .tool-hero h1 {
    font-size: clamp(1.45rem, 4.2vw, 2rem);
  }

  .tool-section-header h2,
  .page-tool .faq-section h2 {
    font-size: clamp(1.35rem, 3.6vw, 1.85rem);
  }

  .icon-benefit {
    padding: 22px 20px;
  }

  .page-tool .faq-question {
    padding: 16px;
    gap: 12px;
  }

  .page-tool .faq-answer-inner {
    padding: 0 16px 16px;
  }

  .tool-footer-seo h2 {
    font-size: 17px;
  }
}

/* Phones */
@media (max-width: 768px) {
  .page-tool .header-inner {
    gap: 8px;
  }

  .page-tool .logo {
    font-size: 16px;
  }

  .page-tool .logo-pin {
    width: 22px;
    height: 22px;
  }

  .page-tool .btn-header {
    padding: 8px 12px;
    font-size: 12px;
  }

  .page-tool .header-actions {
    gap: 8px;
    margin-right: 2px;
  }

  .page-tool .mobile-toggle {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .tool-hero {
    padding: 24px 0 28px;
  }

  .tool-hero-intro {
    padding: 0;
  }

  .tool-hero-sub,
  .tool-hero-proof {
    max-width: none;
    font-size: 14px;
  }

  .tool-hero-proof {
    text-align: left;
  }

  .tool-hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .tool-hero-actions .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .tool-hero-visual {
    margin-top: 4px;
  }

  .tool-hero-visual img {
    border-radius: 12px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
    min-height: 160px;
    max-height: min(220px, 38vh);
  }

  .tool-section {
    padding: 44px 0;
  }

  .tool-section-header {
    margin-bottom: 24px;
  }

  .tool-section-header p {
    font-size: 15px;
  }

  .layout-5050,
  .layout-23-13,
  .layout-13-23,
  .layout-333,
  .icon-benefit-row {
    gap: 16px;
  }

  .shot-frame,
  .shot-frame--card {
    border-radius: 12px;
  }

  .shot-frame--constrained img,
  .shot-frame img {
    max-height: min(260px, 40vh);
  }

  .tool-mid-banner {
    padding: 26px 0;
  }

  .tool-mid-banner h2 {
    font-size: clamp(1.12rem, 4.8vw, 1.4rem);
    line-height: 1.3;
  }

  .tool-mid-banner p {
    font-size: 14px;
  }

  .tool-icon-row,
  .tool-triple,
  .audience-grid,
  .opportunity-grid,
  .tool-service-grid {
    grid-template-columns: 1fr;
  }

  .tool-check-list--center,
  .tool-capability-list {
    columns: 1;
  }

  .tool-cta-banner {
    padding: 44px 0;
  }

  .tool-cta-pin {
    width: 44px;
    height: 44px;
  }

  .tool-cta-banner h2 {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
  }

  .tool-cta-actions {
    max-width: none;
  }

  .tool-cta-actions .btn {
    white-space: normal;
  }

  .benefit-icon-row {
    gap: 12px;
  }

  .page-tool .faq-section {
    padding: 44px 0;
  }

  .page-tool .faq-section h2 {
    margin-bottom: 24px;
  }

  .page-tool .faq-item {
    border-radius: 10px;
  }

  .tool-footer-seo {
    padding: 32px 0;
  }

  .page-tool .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-tool .site-footer {
    padding-top: 48px;
  }

  .page-tool .contact-list li {
    flex-wrap: wrap;
    word-break: break-word;
  }

  .page-tool .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .page-tool .footer-bottom ul {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Small phones */
@media (max-width: 540px) {
  .page-tool {
    --header-h: 60px;
    --page-gutter: clamp(22px, 6.5vw, 32px);
  }

  .page-tool .site-header,
  .page-tool .header-inner {
    height: var(--header-h);
  }

  .page-tool .btn-header {
    padding: 7px 10px;
    font-size: 11px;
  }

  .page-tool .logo {
    font-size: 15px;
  }

  .tool-hero h1 {
    font-size: clamp(1.3rem, 6.2vw, 1.65rem);
    letter-spacing: -0.03em;
  }

  .tool-hero-problem {
    font-size: clamp(0.95rem, 4vw, 1.08rem);
  }

  .tool-section {
    padding: 36px 0;
  }

  .layout-full {
    max-width: none;
  }

  .icon-benefit {
    padding: 18px 16px;
  }

  .icon-benefit-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
  }

  .icon-benefit h3 {
    font-size: 16px;
  }

  .audience-card {
    padding: 22px 16px;
  }

  .page-tool .faq-question {
    font-size: 14px;
    line-height: 1.4;
    padding: 14px 14px;
  }

  .page-tool .faq-icon {
    flex-shrink: 0;
  }
}

/* Smallest phones */
@media (max-width: 380px) {
  .page-tool {
    --page-gutter: 22px;
  }

  .page-tool .logo {
    font-size: 14px;
  }

  .page-tool .logo-pin {
    width: 20px;
    height: 20px;
  }

  .page-tool .btn-header {
    padding: 7px 8px;
    font-size: 10px;
  }

  .page-tool .mobile-toggle {
    width: 36px;
    height: 36px;
  }

  .page-tool .header-actions {
    gap: 6px;
  }

  .tool-hero-actions .btn,
  .tool-cta-actions .btn {
    font-size: 14px;
    padding: 12px 14px;
  }

  .tool-mid-banner h2 {
    font-size: 1.05rem;
  }
}


