/*
Theme Name: Beyond PageSpeed
Description: A lightweight, accessible website for the Beyond PageSpeed service.
Version: 1.3.2
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: pagespeedfix
*/

:root {
  --ink: #232933;
  --ink-deep: #202833;
  --paper: #f8f7f3;
  --white: #fff;
  --orange: #f47735;
  --orange-soft: #fff0e4;
  --orange-ink: #aa3e0d;
  --muted: #56606d;
  --line: #d9dcd8;
  --radius: 12px;
  --wrap: 1220px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 24px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-wrap: break-word;
}

[hidden] {
  display: none !important;
}

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

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

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid #a53b08;
  outline-offset: 5px;
}

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

h1,
h2,
h3,
h4 {
  font-weight: 750;
  line-height: 1.12;
  text-wrap: balance;
}

h1,
h2 {
  letter-spacing: -0.045em;
}

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

h2 {
  margin-bottom: 20px;
  font-size: clamp(32px, 4vw, 50px);
}

h3 {
  margin-bottom: 12px;
  font-size: 23px;
  letter-spacing: -0.025em;
}

p {
  margin-bottom: 20px;
}

p:last-child {
  margin-bottom: 0;
}

main,
.wrap,
.hero-copy,
.hero-visual,
.content-flow,
.page-aside {
  min-width: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 80px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 20px;
  transform: translateY(-160%);
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
}

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

.preview-bar {
  padding: 8px 24px;
  background: var(--ink-deep);
  color: #e3e6eb;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.preview-bar a {
  color: #ffd4ba;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid #e9eae6;
  background: var(--white);
}

.header-inner {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: 218px;
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
}

.brand-image {
  position: relative;
  display: block;
  width: 280px;
  height: 40px;
  overflow: hidden;
}

.brand-image .brand-logo {
  position: absolute;
  top: 50%;
  left: 0;
  width: 280px;
  max-width: none;
  height: auto;
  max-height: none;
  transform: translateY(-50%);
}

/* Reuse the same cached artwork; only the orange mark moves. */
.brand-motion .brand-wordmark {
  clip-path: inset(0 0 0 18%);
}

.brand-mark-window {
  position: absolute;
  inset: 0 auto 0 0;
  width: 18%;
  overflow: hidden;
  pointer-events: none;
}

.brand-mark-runner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

@keyframes gpff-logo-speed {
  0% { transform: translateX(0); opacity: 1; }
  36% { transform: translateX(110%); opacity: 1; }
  37% { transform: translateX(110%); opacity: 0; }
  38% { transform: translateX(-110%); opacity: 0; }
  39% { transform: translateX(-110%); opacity: 1; }
  100% { transform: translateX(0); opacity: 1; }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .brand:hover .brand-mark-runner {
    animation: gpff-logo-speed 700ms cubic-bezier(0.2, 0.6, 0.4, 1) both;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .brand:focus-visible .brand-mark-runner {
    animation: gpff-logo-speed 700ms cubic-bezier(0.2, 0.6, 0.4, 1) both;
  }
}

.brand-custom-logo {
  display: block;
  max-width: 245px;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.brand-image.brand-custom-logo {
  width: auto;
  height: auto;
  overflow: visible;
}

.brand-custom-logo .brand-logo.brand-custom-logo {
  position: static;
  width: auto;
  max-width: 245px;
  height: auto;
  max-height: 50px;
  object-fit: contain;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav li {
  margin: 0;
}

.site-nav a:not(.button) {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 12px;
  color: #3d4651;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a[aria-current="page"]:not(.button),
.site-nav a:not(.button):hover {
  color: var(--orange-ink);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.site-nav .button {
  margin-left: 10px;
}

.menu-toggle {
  display: none;
  min-width: 76px;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid #aeb4b9;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 23px;
  border: 1px solid var(--ink-deep);
  border-radius: 7px;
  background: var(--ink-deep);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  border-color: #394451;
  background: #394451;
  color: var(--white);
}

.button-small {
  min-height: 46px;
  padding: 11px 17px;
  font-size: 14px;
}

.button-secondary {
  border-color: #aeb4b9;
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--ink);
  background: var(--paper);
  color: var(--ink);
}

.button-orange {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--ink-deep);
}

.button-orange:hover {
  border-color: #ff955a;
  background: #ff955a;
  color: var(--ink-deep);
}

.button:disabled {
  border-color: #5b6570;
  background: #5b6570;
  color: var(--white);
  cursor: wait;
  opacity: 1;
}

/* One short speed accent; no extra assets, markup, or layout movement. */
:is(.button, .gpff-submit, .gpff-cta) {
  position: relative;
  overflow: hidden;
  --button-speed-color: #f47735;
}

:is(.button-light, .button-orange, .button-secondary) {
  --button-speed-color: #aa3e0d;
}

:is(.button, .gpff-submit, .gpff-cta):not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"])::before {
  content: "";
  position: absolute;
  inset: 1px 0 auto;
  height: var(--button-speed-height, 14px);
  background: var(--button-speed-color);
  clip-path: polygon(0 36%, 22% 36%, 22% 0, 30% 50%, 22% 100%, 22% 64%, 0 64%);
  opacity: 0;
  transform: translateX(-25%);
  pointer-events: none;
}

@keyframes gpff-button-speed {
  0% { opacity: 0; transform: translateX(-25%); }
  12%, 82% { opacity: 1; }
  100% { opacity: 0; transform: translateX(105%); }
}

.button-small { --button-speed-height: 10px; }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  :is(.button, .gpff-submit, .gpff-cta):not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]):hover::before {
    animation: gpff-button-speed 750ms linear both;
  }
}

@media (prefers-reduced-motion: no-preference) {
  :is(.button, .gpff-submit, .gpff-cta):not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]):focus-visible::before {
    animation: gpff-button-speed 750ms linear both;
  }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #59626c;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: block;
  width: 22px;
  height: 3px;
  flex: 0 0 22px;
  background: var(--orange);
}

.hero {
  padding: 24px 0 56px;
  background: var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.92fr);
  align-items: start;
  gap: clamp(36px, 5vw, 76px);
}

.hero h1 {
  max-width: 13ch;
}

.hero h1 em,
.hero h1 .accent {
  color: var(--orange-ink);
  font-style: normal;
}

.lead {
  max-width: 57ch;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.hero .lead {
  max-width: 45ch;
}

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

.text-link,
.aside-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.section-link {
  margin-top: 32px;
}

.eyebrow-dot {
  display: none;
}

.quiet {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.hero-visual {
  position: relative;
}

/* Text-based guarantee artwork stays crisp without an image request. */
.hero-with-guarantee .hero-copy > .eyebrow {
  margin-bottom: 12px;
}

.hero-with-guarantee h1 {
  margin-bottom: 16px;
  font-size: clamp(44px, 4.4vw, 66px);
}

.hero-with-guarantee .lead {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.5;
}

.guarantee-offer {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding: 18px;
  border: 2px solid var(--orange);
  border-radius: 10px;
  background: #fff0e4;
  box-shadow: 4px 4px 0 var(--orange);
}

.guarantee-stamp {
  position: relative;
  display: flex;
  width: 160px;
  min-height: 144px;
  padding: 14px 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--orange);
  color: var(--ink-deep);
  text-align: center;
}

.guarantee-stamp::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid #23293355;
  border-radius: 8px;
  pointer-events: none;
}

.guarantee-stamp span {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

.guarantee-stamp > span:first-child {
  font-size: 14px;
  letter-spacing: 0;
  white-space: nowrap;
}

.guarantee-stamp strong {
  flex: 0 0 auto;
  font-size: 52px;
  font-weight: 850;
  letter-spacing: -0.07em;
  line-height: 1;
}

.guarantee-offer h2 {
  margin-bottom: 8px;
  font-size: 24px;
  letter-spacing: -0.035em;
  line-height: 1.15;
  text-wrap: initial;
}

.guarantee-offer p {
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.5;
}

.guarantee-offer-condition {
  color: #434b55;
}

.guarantee-terms-link {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}

.hero-with-guarantee .hero-actions {
  margin-top: 22px;
}

@media (min-width: 701px) and (max-width: 1100px) {
  .guarantee-offer {
    grid-template-columns: minmax(0, 1fr);
  }

}

@media (max-width: 480px) {
  .guarantee-offer {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px;
  }

}

.speed-panel {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid #3c4551;
  border-radius: 16px;
  background: var(--ink-deep);
  color: var(--white);
  box-shadow: 10px 12px 0 #e8e5dc;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 22px;
  border-bottom: 1px solid #46505c;
  color: #d4d9df;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border: 1px solid #657183;
  border-radius: 4px;
  color: #e4e8ed;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.status-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.speed-track {
  position: relative;
  display: flex;
  min-height: 126px;
  align-items: center;
  gap: 8px;
  margin: 24px 0;
  padding: 18px 0;
  background: repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), #343f4c calc(25% - 1px), #343f4c 25%);
}

.speed-track::before {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  right: 0;
  left: 0;
  height: 2px;
  background: #6a7686;
}

.speed-orb {
  position: relative;
  z-index: 1;
  display: flex;
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  align-items: center;
  justify-content: center;
  margin-left: 0;
  border: 8px solid #755044;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink-deep);
  background-clip: padding-box;
}

.speed-orb > span {
  width: 16px;
  height: 16px;
  border-top: 5px solid var(--ink-deep);
  border-right: 5px solid var(--ink-deep);
  transform: rotate(45deg);
}

.speed-orb > span + span {
  margin-left: -4px;
}

.speed-line {
  position: relative;
  z-index: 1;
  height: 3px;
  flex: 1 1 auto;
  background: var(--orange);
}

.track-end {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border-radius: 50%;
  background: var(--orange);
}

.speed-orb svg {
  width: 32px;
  height: 32px;
}

.speed-readout {
  margin: 0 0 12px;
  color: var(--white);
  font-size: clamp(36px, 4.7vw, 62px);
  font-weight: 750;
  letter-spacing: -0.05em;
  line-height: 1.1;
}

.speed-readout span {
  color: var(--orange);
}

.speed-caption {
  max-width: 35ch;
  margin: 0;
  color: #c4ccd6;
  font-size: 14px;
}

.panel-checklist {
  margin: 26px 0 22px;
  padding-block: 4px;
  border-top: 1px solid #46505c;
  border-bottom: 1px solid #46505c;
}

.panel-checklist > div {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-block: 9px;
}

.panel-checklist > div > span {
  color: #ffb48c;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 600;
}

.panel-checklist p {
  margin: 0;
  color: #e0e5eb;
  font-size: 13px;
}

.panel-footer,
.panel-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #46505c;
  color: #c4ccd6;
  font-size: 11px;
  line-height: 1.6;
}

.panel-footer strong,
.panel-metrics strong {
  display: block;
  margin-bottom: 3px;
  color: #fff;
  font-size: 13px;
  font-weight: 650;
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 24px;
  margin: 0;
  padding: 24px 0;
  color: #47515c;
  font-size: 13px;
  font-weight: 600;
  list-style: none;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-list li::before {
  display: none;
}

.trust-list li > span {
  color: var(--orange-ink);
  font-size: 16px;
  font-weight: 750;
}

.section {
  padding: 100px 0;
}

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

.section-dark {
  background: var(--ink-deep);
  color: var(--white);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-heading > p:not(.eyebrow) {
  max-width: 62ch;
  color: var(--muted);
  font-size: 17px;
}

.section-dark .eyebrow,
.section-dark .section-heading > p:not(.eyebrow) {
  color: #c4ccd6;
}

.section-dark :is(a, button, input, select, textarea, summary):focus-visible {
  outline-color: #ffb58a;
}

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

.step {
  min-width: 0;
  padding: 28px 0 0;
  border-top: 1px solid #aeb6bc;
}

.step-number {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  border-radius: 6px;
  background: var(--orange-soft);
  color: #9e3709;
  font-size: 13px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.step p {
  max-width: 37ch;
  color: var(--muted);
  font-size: 15px;
}

.service-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 80px;
}

.service-split .section-heading {
  margin-bottom: 0;
}

.service-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-item {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.service-item:first-child {
  padding-top: 0;
}

.service-item::before {
  display: none;
}

.service-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2cbb9;
  border-radius: 7px;
  background: #fff8f1;
  color: var(--orange-ink);
  font-size: 20px;
  line-height: 1;
}

.service-item:first-child::before {
  top: 10px;
}

.service-item h3 {
  margin-bottom: 9px;
  font-size: 21px;
}

.service-item p {
  color: var(--muted);
  font-size: 15px;
}

.guarantee-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr);
  gap: 24px 64px;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid #46505c;
  border-radius: var(--radius);
  background: #27323e;
  color: var(--white);
}

.guarantee-copy h2 {
  color: var(--white);
}

.guarantee-copy .eyebrow {
  color: #c4ccd6;
}

.guarantee-number {
  align-self: center;
  color: var(--orange);
  font-size: clamp(80px, 10vw, 140px);
  font-weight: 750;
  letter-spacing: -0.07em;
  line-height: 1;
}

.guarantee-number span,
.guarantee-number small {
  display: block;
  margin-top: 16px;
  color: #c4ccd6;
  font-size: 12px;
  font-weight: 550;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.guarantee-number > span {
  display: inline;
  margin: 0;
  color: var(--orange);
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

.guarantee-copy h2 {
  max-width: 19ch;
  font-size: clamp(28px, 3.4vw, 42px);
}

.guarantee-copy p {
  max-width: 55ch;
  color: #d0d6de;
  font-size: 16px;
}

.guarantee-copy a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #ffc29f;
  font-size: 15px;
  font-weight: 650;
}

.guarantee-conditions {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid #4e5a67;
  color: #c4ccd6;
  font-size: 12px;
  line-height: 1.8;
}

.guarantee-panel :is(a, button):focus-visible {
  outline-color: #ffb58a;
}

.safe-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 80px;
}

.safe-grid .section-heading,
.faq-grid .section-heading {
  margin-bottom: 0;
}

.safe-grid {
  align-items: center;
}

.safe-visual {
  width: 100%;
  max-width: 440px;
  justify-self: end;
  padding: 30px;
  border: 1px solid #4d5865;
  border-radius: 12px;
  background: #27323e;
}

.safe-node {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  align-items: center;
  gap: 5px 12px;
  padding: 20px;
  border: 1px solid #566473;
  border-radius: 7px;
  background: #303d4b;
}

.safe-node > span:not(.node-dot) {
  color: #fff;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
}

.safe-node small {
  grid-column: 2;
  color: #c4ccd6;
  font-size: 12px;
  line-height: 1.6;
}

.node-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #bec9d4;
}

.node-dot.orange {
  background: var(--orange);
}

.safe-approval {
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  padding: 8px 20px;
  border: 1px solid #b47652;
  border-radius: 5px;
  background: #463a35;
  color: #ffd0b4;
  font-size: 12px;
  font-weight: 650;
  text-align: center;
}

.safe-connector {
  padding-block: 6px;
  color: #b9c5d2;
  font-size: 20px;
  line-height: 1.3;
  text-align: center;
}

.button-light {
  margin-top: 8px;
  border-color: #fff;
  background: #fff;
  color: var(--ink-deep);
}

.button-light:hover {
  border-color: #ffe4d3;
  background: #ffe4d3;
  color: var(--ink-deep);
}

.faq-grid {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
}

.faq-list {
  max-width: 880px;
  border-top: 1px solid #b9c0c4;
}

.faq-list details {
  border-bottom: 1px solid #b9c0c4;
}

.faq-list summary {
  position: relative;
  min-height: 70px;
  padding: 22px 44px 22px 0;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 20px;
  right: 5px;
  color: var(--orange-ink);
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
}

.faq-list details[open] > summary::after {
  content: "−";
}

.faq-list details > p,
.faq-list details > div {
  max-width: 72ch;
  margin: 0;
  padding: 0 36px 24px 0;
  color: var(--muted);
  font-size: 16px;
}

.final-cta {
  padding: 72px 0;
  background: var(--orange-soft);
}

.final-cta > .wrap {
  display: block;
  text-align: center;
}

.final-cta .eyebrow {
  justify-content: center;
}

.final-cta h2 {
  max-width: 20ch;
  margin-bottom: 12px;
  font-size: clamp(32px, 3.4vw, 44px);
  margin-inline: auto;
}

.final-cta p {
  max-width: 60ch;
  color: #575a5d;
  margin-inline: auto;
}

.final-cta .button {
  flex: 0 0 auto;
  margin-top: 6px;
}

.site-footer {
  padding: 58px 0 24px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 0.75fr));
  gap: 48px;
}

.footer-grid .brand {
  margin-bottom: 18px;
}

.footer-grid p {
  max-width: 37ch;
  color: var(--muted);
  font-size: 14px;
}

.footer-grid .footer-note {
  font-size: 12px;
}

.footer-grid h2,
.footer-grid h3,
.footer-heading {
  margin: 7px 0 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.5;
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid li {
  margin: 0;
}

.footer-grid li a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #47515c;
  font-size: 14px;
  text-decoration: none;
}

.footer-grid li a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 28px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #606872;
  font-size: 12px;
  line-height: 1.7;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom > div {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-block: -10px;
}

.page-hero {
  padding: 70px 0 64px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.page-hero h1 {
  max-width: 18ch;
  font-size: clamp(40px, 5.2vw, 68px);
}

.page-hero .lead {
  max-width: 66ch;
  margin-bottom: 0;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.4fr);
  align-items: start;
  gap: 72px;
  padding-block: 72px 96px;
}

.content-flow {
  max-width: 800px;
}

.content-section {
  margin-bottom: 48px;
}

.content-section:last-child {
  margin-bottom: 0;
}

.content-section h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3vw, 36px);
}

.content-section h3 {
  margin-top: 28px;
  font-size: 22px;
}

.content-section p,
.content-section li {
  color: #4f5965;
}

.content-section ul,
.content-section ol {
  padding-left: 24px;
}

.content-section li {
  margin-bottom: 10px;
  padding-left: 4px;
}

.content-section li::marker {
  color: var(--orange-ink);
}

.content-flow a:not(.button) {
  color: var(--orange-ink);
}

.aside-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  border-radius: 0 0 10px 10px;
  background: var(--paper);
}

.aside-card + .aside-card {
  margin-top: 24px;
}

.aside-card h2,
.aside-card h3 {
  font-size: 22px;
  letter-spacing: -0.025em;
}

.aside-card p,
.aside-card li {
  color: var(--muted);
  font-size: 14px;
}

.aside-card ul {
  padding-left: 18px;
}

.aside-card li {
  margin-bottom: 9px;
}

.aside-card .button {
  width: 100%;
  margin-top: 10px;
}

.aside-link {
  margin-top: 14px;
  font-size: 13px;
}

.assessment-confidence {
  padding: 24px;
  border: 1px solid #efc7a9;
  border-top: 4px solid var(--orange);
  border-radius: 12px;
  background: #fff5ec;
}

.assessment-confidence .guarantee-stamp {
  width: 160px;
  margin: 0 auto 20px;
}

.assessment-confidence h2 {
  margin-bottom: 12px;
  font-size: 25px;
  letter-spacing: -0.035em;
  line-height: 1.15;
  text-wrap: initial;
}

.assessment-confidence p {
  margin-bottom: 12px;
  color: #434b55;
  font-size: 14px;
  line-height: 1.5;
}

.assessment-confidence .assessment-guarantee-condition {
  font-size: 13px;
}

.assessment-next {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #e8c8af;
}

.assessment-next h3 {
  margin-bottom: 12px;
  font-size: 17px;
  letter-spacing: -0.015em;
}

.assessment-next-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 23px;
  font-size: 14px;
  line-height: 1.5;
}

.assessment-next-steps li {
  padding-left: 3px;
}

.assessment-next-steps li::marker {
  color: var(--orange-ink);
  font-weight: 750;
}

/* Keep the whole promise readable; short and narrow screens scroll normally. */
@media (min-width: 961px) and (min-height: 700px) {
  .assessment-reassurance {
    position: sticky;
    top: 24px;
  }
}

.draft-note {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid #d7b69c;
  border-radius: 7px;
  background: #fff5eb;
  color: #684025;
  font-size: 13px;
}

.draft-note p {
  margin-top: 8px;
}

.page-faq {
  padding-block: 64px;
  border-top: 1px solid var(--line);
}

.page-faq h2 {
  font-size: 36px;
}

.page-cta {
  margin-top: 48px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--orange-soft);
}

.page-cta h2 {
  font-size: 30px;
}

.assessment-form {
  margin: 32px 0 0;
  padding: clamp(22px, 3.5vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

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

.field {
  min-width: 0;
}

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

.field label,
.assessment-form legend {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}

.field input:not([type="checkbox"]):not([type="radio"]),
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #8c969f;
  border-radius: 6px;
  background: var(--white);
  box-shadow: none;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: #646e79;
  opacity: 1;
}

.field [aria-invalid="true"] {
  border-color: #a32720 !important;
}

.field small,
.field-description,
.form-note {
  display: block;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.check-field {
  display: flex;
  min-height: 44px;
  align-items: flex-start;
  gap: 11px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.check-field input {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  margin: 3px 0 0;
  accent-color: var(--ink-deep);
}

.check-field label {
  font-weight: 400;
}

.assessment-form > .button,
.assessment-form .form-actions {
  margin-top: 24px;
}

.form-message {
  margin: 0 0 24px;
  padding: 16px 18px;
  border: 1px solid #9dabb1;
  border-radius: 6px;
  background: #eef2f4;
  color: #253e4a;
  font-size: 15px;
}

.form-message:empty {
  display: none;
}

.form-honeypot {
  display: none;
}

.form-message.is-success,
.form-message.success {
  border-color: #71987a;
  background: #edf6ee;
  color: #204a2a;
}

.form-message.is-error,
.form-message.error {
  border-color: #b7685b;
  background: #fff0ec;
  color: #842a20;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.alignwide {
  max-width: var(--wrap);
}

.wp-block-image img {
  height: auto;
}

@media (min-width: 1600px) {
  .hero {
    padding-block: 24px 56px;
  }
}

@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }

  .header-inner {
    gap: 20px;
  }

  .brand-logo {
    width: 194px;
  }

  .brand-image,
  .brand-image .brand-logo {
    width: 245px;
  }

  .site-nav a:not(.button) {
    padding-inline: 8px;
    font-size: 13px;
  }

  .site-nav .button {
    margin-left: 4px;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero h1 {
    font-size: 64px;
  }

  .service-split,
  .page-layout,
  .safe-grid,
  .faq-grid {
    gap: 44px;
  }

  .speed-panel {
    padding: 24px;
  }

  .panel-top {
    font-size: 10px;
  }

  .guarantee-panel {
    gap: 24px 44px;
  }
}

@media (max-width: 960px) {
  .brand-image {
    width: 200px;
    height: 34px;
  }

  .brand-image .brand-logo {
    width: 200px;
  }

  .header-inner {
    min-height: 84px;
    flex-wrap: wrap;
    padding-block: 16px;
    gap: 16px;
  }

  .site-header.nav-ready .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .site-header.nav-ready .site-nav {
    display: none;
  }

  .site-header.nav-ready.nav-open .site-nav {
    display: block;
  }

  .site-nav ul {
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
  }

  .site-nav a:not(.button) {
    padding: 10px 5px;
    font-size: 14px;
  }

  .site-nav .button {
    margin: 0;
  }

  .hero {
    padding-block: 24px 48px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 32px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero .lead {
    font-size: 17px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .button {
    padding-inline: 17px;
    font-size: 14px;
  }

  .panel-top {
    flex-wrap: wrap;
  }

  .speed-readout {
    font-size: 42px;
  }

  .panel-footer,
  .panel-metrics {
    gap: 10px;
    font-size: 10px;
  }

  .section {
    padding-block: 76px;
  }

  .trust-list {
    justify-content: flex-start;
    gap: 12px 28px;
  }

  .steps {
    gap: 24px;
  }

  .step h3 {
    font-size: 21px;
  }

  .service-split {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 36px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .content-flow {
    max-width: none;
  }

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

  .aside-card + .aside-card {
    margin: 0;
  }

  .page-aside > :only-child {
    grid-column: 1 / -1;
    max-width: 680px;
  }
}

@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 40px);
  }

  .hero {
    padding: 24px 0 48px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .hero h1 {
    max-width: 13ch;
    font-size: clamp(45px, 10vw, 64px);
  }

  .hero .lead {
    max-width: 49ch;
    font-size: 18px;
  }

  .hero-visual {
    max-width: 520px;
    margin-right: 8px;
  }

  .speed-panel {
    padding: 26px;
    box-shadow: 7px 8px 0 #e8e5dc;
  }

  .panel-top {
    flex-wrap: nowrap;
  }

  .speed-track {
    min-height: 108px;
    margin-block: 18px;
  }

  .speed-readout {
    font-size: 50px;
  }

  .panel-footer,
  .panel-metrics {
    gap: 16px;
    font-size: 11px;
  }

  .section {
    padding-block: 60px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .steps,
  .service-split,
  .guarantee-panel,
  .safe-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps {
    gap: 30px;
  }

  .step {
    padding-top: 22px;
  }

  .step-number {
    margin-bottom: 18px;
  }

  .step p {
    max-width: 58ch;
    font-size: 16px;
  }

  .service-split {
    gap: 32px;
  }

  .safe-grid,
  .faq-grid {
    gap: 36px;
  }

  .safe-visual {
    max-width: 520px;
    justify-self: start;
    padding: 22px;
  }

  .guarantee-panel {
    gap: 28px;
  }

  .guarantee-number {
    font-size: 96px;
  }

  .guarantee-number span,
  .guarantee-number small {
    margin-top: 12px;
  }

  .guarantee-copy h2 {
    max-width: 21ch;
  }

  .faq-list summary {
    font-size: 17px;
  }

  .final-cta {
    padding-block: 52px;
  }

  .final-cta > .wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 26px;
  }

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

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .footer-grid p {
    max-width: 48ch;
  }

  .footer-bottom {
    margin-top: 28px;
  }

  .page-hero {
    padding-block: 48px;
  }

  .page-hero h1 {
    font-size: clamp(40px, 8vw, 54px);
  }

  .page-hero .lead {
    font-size: 18px;
  }

  .page-layout {
    padding-block: 48px 60px;
  }

  .content-section {
    margin-bottom: 36px;
  }

  .page-aside,
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .assessment-form {
    margin-top: 24px;
  }

  .form-grid {
    gap: 20px;
  }

  .page-faq {
    padding-block: 48px;
  }
}

@media (max-width: 380px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .brand-logo {
    width: 184px;
  }

  .brand-image {
    width: 158px;
    height: 28px;
  }

  .brand-image .brand-logo {
    width: 158px;
  }

  .brand-custom-logo,
  .brand-custom-logo .brand-logo.brand-custom-logo {
    width: auto;
    max-width: 158px;
    height: auto;
    max-height: 40px;
  }

  .brand-image.brand-custom-logo {
    width: auto;
    height: auto;
  }

  .header-inner {
    column-gap: 12px;
  }

  .menu-toggle {
    min-width: 68px;
    padding-inline: 10px;
    gap: 5px;
    font-size: 13px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .speed-panel {
    padding: 22px;
  }

  .speed-readout {
    font-size: 44px;
  }

  .status-pill {
    font-size: 9px;
    padding-inline: 7px;
  }

  .trust-list {
    gap: 12px;
  }

  .trust-list li {
    width: 100%;
  }

  .assessment-form {
    padding: 20px 16px;
  }
}

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

@media (forced-colors: active) {
  .button,
  .menu-toggle,
  .speed-panel,
  .guarantee-panel,
  .aside-card,
  .assessment-form,
  .step-number {
    border: 1px solid CanvasText;
  }

  :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline-color: Highlight;
  }
}

/* Homepage calculator: component styles stay independent of the full-page tool. */
.gpff.gpff-compact {
  --gpff-ink: #232933;
  --gpff-muted: #56606d;
  --gpff-paper: #f8f7f3;
  --gpff-line: #d9dcd8;
  --gpff-green: #aa3e0d;
  --gpff-mint: #ffdfc7;
  --gpff-focus: #9b360b;
  container: gpffcompact / inline-size;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 20px;
  border: 1px solid #d6d8d4;
  border-top: 3px solid #f47735;
  border-radius: 12px;
  background: #fff;
  color: #232933;
  box-shadow: 0 8px 24px #23293308;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
}

.gpff.gpff-compact .gpff-header {
  margin-bottom: 12px;
}

.gpff.gpff-compact .gpff-eyebrow {
  margin-bottom: 8px;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.gpff.gpff-compact .gpff-title {
  font-size: clamp(21px, 2vw, 27px);
  letter-spacing: -0.035em;
  line-height: 1.2;
  text-wrap: balance;
}

.gpff.gpff-compact .gpff-intro {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
}

.gpff.gpff-compact .gpff-form {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: end;
}

.gpff.gpff-compact .gpff-field {
  grid-column: 1 / -1;
}

.gpff.gpff-compact .gpff-field > label,
.gpff.gpff-compact .gpff-device > legend {
  margin-bottom: 6px;
  font-size: 12px;
}

.gpff.gpff-compact .gpff-field > input {
  min-height: 48px;
  padding: 11px 12px;
  border-color: #7b8490;
  border-radius: 6px;
  font-size: 16px;
}

.gpff.gpff-compact .gpff-device {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.gpff.gpff-compact .gpff-device > legend {
  float: none;
  width: 100%;
}

.gpff.gpff-compact .gpff-device label {
  min-width: 0;
  min-height: 44px;
  flex: 1 1 84px;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 10px 8px;
  border-color: #9ba3a9;
  border-radius: 6px;
  font-size: 12px;
}

.gpff.gpff-compact .gpff-device label:has(input:checked) {
  border-color: #aa3e0d;
  background: #fff0e4;
}

.gpff.gpff-compact .gpff-device input {
  width: 16px;
  height: 16px;
  accent-color: #aa3e0d;
}

.gpff.gpff-compact .gpff-submit {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 11px 15px;
  border: 1px solid #202833;
  border-radius: 6px;
  background: #202833;
  color: #fff;
  font-size: 13px;
}

.gpff.gpff-compact .gpff-submit:disabled {
  border-color: #56606d;
  background: #56606d;
}

.gpff.gpff-compact .gpff-disclosure {
  margin-top: 10px;
  color: #56606d;
  font-size: 12px;
  line-height: 1.5;
}

.gpff.gpff-compact .gpff-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.gpff.gpff-compact .gpff-preview-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 8px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #d9dcd8;
  border-radius: 8px;
  background: #f8f7f3;
  color: #232933;
}

.gpff.gpff-compact .gpff-preview-card + .gpff-preview-card {
  border-color: #e7c4ab;
  background: #fff5ed;
}

.gpff.gpff-compact .gpff-preview-card .gpff-label,
.gpff.gpff-compact .gpff-preview-card > :first-child {
  display: block;
  margin: 0;
  color: #47515c;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
}

.gpff.gpff-compact .gpff-preview-card strong {
  display: block;
  grid-column: 2;
  grid-row: 1 / 3;
  margin: 0;
  color: #56606d;
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
}

.gpff.gpff-compact .gpff-preview-card > p,
.gpff.gpff-compact .gpff-preview-card small {
  display: block;
  margin: 0;
  color: #56606d;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.gpff.gpff-compact .gpff-preview-card > p:first-child {
  font-weight: 650;
}

.gpff.gpff-compact .gpff-preview-card small {
  grid-column: 1;
}

.gpff.gpff-compact .gpff-preview-note {
  font-size: 12px;
  line-height: 1.5;
}

.gpff.gpff-compact .gpff-setup-note {
  margin: 0 0 12px;
  padding: 8px 12px;
  border-left: 3px solid #d68550;
  border-radius: 0 4px 4px 0;
  background: #fff5ed;
  color: #694027;
  font-size: 12px;
  line-height: 1.5;
}

.gpff.gpff-compact .gpff-status,
.gpff.gpff-compact .gpff-error,
.gpff.gpff-compact .gpff-intake-status {
  margin-top: 16px;
  padding: 12px;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.gpff.gpff-compact .gpff-intake {
  margin-top: 12px;
  padding-top: 0;
  border-top: 1px solid #d9dcd8;
}

.gpff.gpff-compact .gpff-intake > summary {
  box-sizing: border-box;
  position: relative;
  min-height: 44px;
  padding: 10px 24px 10px 0;
  color: #232933;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.6;
  list-style: none;
  cursor: pointer;
}

.gpff.gpff-compact .gpff-intake > summary::-webkit-details-marker {
  display: none;
}

.gpff.gpff-compact .gpff-intake > summary::after {
  content: "+";
  position: absolute;
  top: 15px;
  right: 1px;
  color: #aa3e0d;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.gpff.gpff-compact .gpff-intake[open] > summary::after {
  content: "−";
}

.gpff.gpff-compact .gpff-intake-body {
  padding-top: 4px;
  color: #56606d;
  font-size: 13px;
}

.gpff.gpff-compact .gpff-intake-status:empty {
  display: none;
}

.gpff.gpff-compact .assessment-form {
  margin-top: 12px;
  padding: 16px;
  border-radius: 7px;
  background: #f8f7f3;
}

.gpff.gpff-compact .assessment-form .form-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.gpff.gpff-compact .assessment-form .field label {
  font-size: 12px;
}

.gpff.gpff-compact .assessment-form .check-field {
  margin-top: 18px;
  font-size: 12px;
}

.gpff.gpff-compact .assessment-form .button {
  width: 100%;
  min-width: 0;
  padding-inline: 12px;
  font-size: 13px;
}

.gpff.gpff-compact .gpff-results {
  margin-top: 22px;
  padding-top: 20px;
}

.gpff.gpff-compact .gpff-result-heading h3 {
  font-size: 20px;
}

.gpff.gpff-compact .gpff-meta {
  font-size: 12px;
}

.gpff.gpff-compact .gpff-comparison {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.gpff.gpff-compact .gpff-card {
  padding: 20px;
  border-radius: 8px;
}

.gpff.gpff-compact .gpff-score {
  margin-block: 12px;
  font-size: 44px;
}

.gpff.gpff-compact .gpff-score-caption,
.gpff.gpff-compact .gpff-estimate-note {
  font-size: 12px;
}

.gpff.gpff-compact .gpff-other-scores {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 18px;
  border-radius: 7px;
}

.gpff.gpff-compact .gpff-mini-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
}

.gpff.gpff-compact .gpff-mini-score strong {
  font-size: 20px;
}

.gpff.gpff-compact .gpff-mini-score span {
  margin: 0;
  font-size: 12px;
  text-align: right;
}

.gpff.gpff-compact .gpff-opportunities h4 {
  font-size: 17px;
}

.gpff.gpff-compact .gpff-opportunity-list li strong {
  font-size: 14px;
}

.gpff.gpff-compact .gpff-opportunity-list li p,
.gpff.gpff-compact .gpff-method-body {
  font-size: 12px;
}

.gpff.gpff-compact .gpff-actions {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.gpff.gpff-compact .gpff-cta,
.gpff.gpff-compact .gpff-report {
  width: 100%;
  justify-content: center;
  font-size: 13px;
}

@container gpffcompact (min-width: 380px) {
  .gpff.gpff-compact .gpff-form {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
}

@media (max-width: 380px) {
  .gpff.gpff-compact {
    padding: 16px;
  }

  .gpff.gpff-compact .gpff-preview-card {
    padding: 12px 10px;
  }

  .gpff.gpff-compact .assessment-form {
    padding: 14px 12px;
  }
}

@media (forced-colors: active) {
  .gpff.gpff-compact,
  .gpff.gpff-compact .gpff-preview-card,
  .gpff.gpff-compact .gpff-submit {
    border: 1px solid CanvasText;
  }
}
