.frpw-page {
  background: #f8fafc;
}

.frpw-page .seo-header {
  background: rgba(255, 255, 255, 0.97);
}

.frpw-main {
  max-width: none;
  color: #102033;
}

.frpw-breadcrumb,
.frpw-hero,
.frpw-band {
  width: min(1220px, calc(100% - 48px));
  margin-inline: auto;
}

.frpw-breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 20px 0 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 750;
}

.frpw-breadcrumb a {
  color: #334155;
  text-decoration: none;
}

.frpw-hero {
  min-height: 520px;
  margin-top: 18px;
  margin-bottom: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dbe7f4;
  border-radius: 18px;
  background: #071b3a;
  box-shadow: 0 28px 80px rgba(15, 35, 80, 0.14);
}

.frpw-hero__copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px;
  color: #ffffff;
}

.frpw-hero__copy h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(44px, 4.6vw, 68px);
  line-height: 1;
  letter-spacing: 0;
}

.frpw-hero__copy p {
  max-width: 560px;
  margin: 20px 0 0;
  color: #dbeafe;
  font-size: 18px;
}

.frpw-eyebrow {
  margin: 0 0 12px !important;
  color: #1557e6;
  font-size: 13px !important;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.frpw-hero .frpw-eyebrow,
.frpw-final .frpw-eyebrow {
  color: #93c5fd;
}

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

.frpw-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  white-space: nowrap;
}

.frpw-button:hover,
.frpw-topic-card:hover,
.frpw-guide-card:hover {
  transform: translateY(-2px);
}

.frpw-button:focus-visible,
.frpw-topic-card:focus-visible,
.frpw-guide-card:focus-visible,
.frpw-prompt-grid a:focus-visible {
  outline: 3px solid rgba(21, 87, 230, 0.35);
  outline-offset: 3px;
}

.frpw-button--primary {
  border-color: #1557e6;
  background: #1557e6;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(21, 87, 230, 0.22);
}

.frpw-button--secondary {
  background: #ffffff;
  color: #0f172a;
}

.frpw-trust {
  margin-top: 18px !important;
  color: #bfdbfe !important;
  font-size: 14px !important;
  font-weight: 750;
}

.frpw-hero__image {
  position: relative;
  min-width: 0;
  width: 100%;
  min-height: 100%;
}

.frpw-hero__image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #071b3a 0%, rgba(7, 27, 58, 0.7) 22%, rgba(7, 27, 58, 0.04) 64%);
}

.frpw-hero__image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  object-fit: cover;
}

.frpw-band {
  padding: 64px 0;
}

.frpw-band--soft {
  width: 100%;
  margin-top: 68px;
  padding-inline: max(24px, calc((100% - 1220px) / 2));
  box-sizing: border-box;
  background: #eef4fb;
}

.frpw-section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.frpw-section-heading h2,
.frpw-roadmap h2,
.frpw-ai h2,
.frpw-final h2,
.frpw-local-growth h2 {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.06;
  letter-spacing: 0;
}

.frpw-section-heading p,
.frpw-roadmap p,
.frpw-ai p,
.frpw-final p,
.frpw-local-growth p {
  max-width: 720px;
  margin: 0;
  color: #475569;
  font-size: 17px;
}

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

.frpw-topic-card {
  min-height: 188px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  color: #0f172a;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(15, 35, 80, 0.05);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.frpw-topic-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 18px 42px rgba(15, 35, 80, 0.09);
}

.frpw-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #eef4ff;
  color: #1557e6;
}

.frpw-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.frpw-topic-card strong {
  font-size: 18px;
}

.frpw-topic-card span:last-child {
  color: #475569;
  font-size: 14px;
}

.frpw-roadmap {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  gap: 42px;
  align-items: center;
  box-sizing: border-box;
  background: #ffffff;
}

.frpw-roadmap-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid #dbe7f4;
  border-radius: 18px;
  background: linear-gradient(160deg, #f8fbff 0%, #eef4ff 100%);
  box-shadow: 0 20px 60px rgba(15, 35, 80, 0.08);
}

.frpw-roadmap-card > span {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: #22c55e;
}

.frpw-roadmap-card > span:nth-child(1) {
  top: 32px;
  right: 42px;
}

.frpw-roadmap-card > span:nth-child(2) {
  top: 74px;
  right: 90px;
  background: #1557e6;
}

.frpw-roadmap-card > span:nth-child(3) {
  bottom: 36px;
  right: 54px;
  background: #64748b;
}

.frpw-roadmap-card div {
  padding: 18px;
  border: 1px solid #dbe7f4;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
}

.frpw-roadmap-card strong,
.frpw-roadmap-card em {
  display: block;
}

.frpw-roadmap-card strong {
  color: #0f172a;
}

.frpw-roadmap-card em {
  margin-top: 4px;
  color: #64748b;
  font-style: normal;
}

.frpw-band--blue {
  width: 100%;
  padding-inline: max(24px, calc((100% - 1220px) / 2));
  box-sizing: border-box;
  background: #f1f7ff;
}

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

.frpw-guide-card {
  display: grid;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  color: #0f172a;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(15, 35, 80, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.frpw-guide-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 20px 52px rgba(15, 35, 80, 0.1);
}

.frpw-guide-card img {
  width: 100%;
  height: 220px;
  aspect-ratio: 3 / 2;
  display: block;
  object-fit: cover;
}

.frpw-guide-card span,
.frpw-guide-card strong,
.frpw-guide-card p,
.frpw-guide-card em {
  margin-inline: 18px;
}

.frpw-guide-card span {
  margin-top: 18px;
  color: #1557e6;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.frpw-guide-card strong {
  margin-top: 8px;
  font-size: 19px;
  line-height: 1.2;
}

.frpw-guide-card p {
  margin-top: 10px;
  color: #475569;
  font-size: 14px;
}

.frpw-guide-card em {
  margin-top: 6px;
  margin-bottom: 20px;
  color: #1557e6;
  font-style: normal;
  font-weight: 850;
}

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

.frpw-image-row figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(15, 35, 80, 0.06);
}

.frpw-image-row img {
  width: 100%;
  height: 220px;
  aspect-ratio: 3 / 2;
  display: block;
  object-fit: cover;
}

.frpw-image-row figcaption {
  padding: 16px 18px 18px;
  color: #334155;
  font-size: 14px;
  font-weight: 750;
}

.frpw-ai {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1fr);
  gap: 32px;
  align-items: start;
  box-sizing: border-box;
  border: 1px solid #dbe7f4;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 20px 54px rgba(15, 35, 80, 0.07);
  padding-inline: 34px;
}

.frpw-prompt-grid {
  display: grid;
  gap: 12px;
}

.frpw-prompt-grid a {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  color: #0f172a;
  font-weight: 800;
  text-decoration: none;
}

.frpw-prompt-grid a:hover {
  border-color: #bfdbfe;
  background: #eef4ff;
}

.frpw-final {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  padding: 42px;
  box-sizing: border-box;
  border-radius: 18px;
  background: linear-gradient(135deg, #071b3a, #0a2a55);
  color: #ffffff;
}

.frpw-final h2,
.frpw-final p {
  color: #ffffff;
}

.frpw-final p {
  color: #dbeafe;
}

.frpw-local-growth {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 64px;
  padding: 30px;
  box-sizing: border-box;
  border: 1px solid #dbe7f4;
  border-radius: 18px;
  background: #eef4fb;
}

.frpw-local-growth h2 {
  font-size: clamp(24px, 2.5vw, 34px);
}

.frpw-regulated-note {
  background: #fff7ed;
  border-color: #fed7aa;
}

.frpw-regulated-note p {
  margin: 0;
  color: #713f12;
  line-height: 1.7;
}

.frpw-empty-tools {
  background: #ffffff;
  border: 1px solid #dce8f8;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 16px 40px rgba(15, 41, 74, 0.07);
}

.frpw-empty-tools h3 {
  margin: 0 0 10px;
  color: #071832;
  font-size: 1.25rem;
}

.frpw-empty-tools p {
  margin: 0 0 20px;
  color: #32445f;
  line-height: 1.7;
}

.frpw-guide-card--text {
  padding-top: 22px;
}

.frpw-guide-card--text em {
  margin-top: auto;
}

.frind-hero {
  background:
    linear-gradient(120deg, rgba(6, 45, 97, 0.96), rgba(8, 120, 226, 0.86)),
    radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.24), transparent 34%);
  color: #ffffff;
}

.frind-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.frind-hero p:not(.frpw-eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.75;
}

.frind-group {
  margin-top: 22px;
}

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

.frind-card {
  display: grid;
  gap: 12px;
  min-height: 100%;
  color: #071832;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #dce8f8;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 41, 74, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.frind-card:hover {
  transform: translateY(-3px);
  border-color: #b8d4f8;
  box-shadow: 0 20px 46px rgba(15, 41, 74, 0.11);
}

.frind-card:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.32);
  outline-offset: 3px;
}

.frind-card__media {
  display: block;
  aspect-ratio: 2 / 1;
  background: #eaf2fb;
  overflow: hidden;
}

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

.frind-card strong,
.frind-card span:not(.frind-card__media),
.frind-card em {
  margin-inline: 18px;
}

.frind-card strong {
  font-size: 1.08rem;
}

.frind-card span:not(.frind-card__media) {
  color: #32445f;
  line-height: 1.58;
}

.frind-card em {
  margin-bottom: 18px;
  color: #2563eb;
  font-style: normal;
  font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
  .frpw-button,
  .frpw-topic-card,
  .frpw-guide-card {
    transition: none;
  }
}

@media (max-width: 980px) {
  .frpw-breadcrumb,
  .frpw-hero,
  .frpw-band,
  .frpw-final {
    width: min(100% - 32px, 760px);
  }

  .frpw-hero,
  .frpw-roadmap,
  .frpw-ai,
  .frpw-final,
  .frpw-local-growth {
    grid-template-columns: 1fr;
  }

  .frpw-hero__copy {
    min-width: 0;
    padding: 38px 28px 24px;
  }

  .frpw-hero__copy h1 {
    max-width: 100%;
    font-size: clamp(34px, 8vw, 48px);
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .frpw-hero__copy p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .frpw-hero__image {
    order: 2;
  }

  .frpw-hero__image::before {
    display: none;
  }

  .frpw-hero__image img {
    min-height: 280px;
  }

  .frpw-topic-grid,
  .frpw-guide-grid,
  .frpw-image-row {
    grid-template-columns: 1fr;
  }

  .frpw-guide-card img,
  .frpw-image-row img {
    height: 260px;
  }

  .frpw-band--soft,
  .frpw-band--blue {
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .frpw-ai,
  .frpw-final,
  .frpw-local-growth {
    padding: 28px;
  }
}

@media (max-width: 560px) {
  .frpw-breadcrumb,
  .frpw-hero,
  .frpw-band,
  .frpw-final {
    width: calc(100% - 28px);
    max-width: none;
    box-sizing: border-box;
  }

  .frpw-breadcrumb {
    flex-wrap: wrap;
    padding-top: 14px;
  }

  .frpw-hero {
    min-height: 0;
    margin-top: 14px;
    border-radius: 14px;
  }

  .frpw-hero__copy {
    box-sizing: border-box;
    max-width: 100%;
    padding: 30px 22px 22px;
    overflow: hidden;
  }

  .frpw-hero__copy h1 {
    font-size: 32px;
    line-height: 1.05;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .frpw-hero__copy p {
    font-size: 16px;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .frpw-actions,
  .frpw-final .frpw-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .frpw-button {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    white-space: normal;
    text-align: center;
  }

  .frpw-band {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .frpw-topic-card {
    min-height: 0;
  }

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