.ofcc-page {
  overflow-x: hidden;
}

.ofcc-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 82px;
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 106, 237, .13), transparent 34%),
    linear-gradient(180deg, #fff 0%, #f5f9ff 100%);
}

.ofcc-hero::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -310px;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(0, 106, 237, .11);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(0, 106, 237, .025),
    0 0 0 150px rgba(0, 106, 237, .018);
}

.ofcc-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(480px, .78fr);
  gap: 72px;
  align-items: center;
}

.ofcc-hero-copy h1 {
  max-width: 760px;
  margin: 24px 0;
  color: var(--ink);
  font-size: clamp(3.4rem, 5.5vw, 5.7rem);
  line-height: .93;
  letter-spacing: -.065em;
}

.ofcc-hero-copy h1 em {
  color: var(--primary);
  font-style: normal;
}

.ofcc-hero-copy > p {
  max-width: 700px;
  margin: 0;
  color: #334155;
  font-size: 1.25rem;
  line-height: 1.65;
}

.ofcc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 16px;
  border: 1px solid rgba(0, 106, 237, .18);
  border-radius: 999px;
  color: #0058c8;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 28px rgba(0, 106, 237, .09);
  font-size: .79rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ofcc-eyebrow span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(18, 185, 129, .14);
}

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

.ofcc-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.ofcc-hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #334155;
  font-size: .92rem;
  font-weight: 700;
}

.ofcc-hero-trust i {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  font-style: normal;
}

.ofcc-hero-visual {
  position: relative;
  min-height: 650px;
  border-radius: 44px;
}

.ofcc-hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 36px -26px -26px 36px;
  border-radius: 44px;
  background: linear-gradient(145deg, rgba(0, 106, 237, .15), rgba(0, 167, 225, .04));
}

.ofcc-hero-visual > img {
  width: 100%;
  height: 650px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 44px;
  object-fit: cover;
  object-position: 56% 54%;
  box-shadow: 0 34px 85px rgba(7, 27, 59, .22);
}

.ofcc-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 17px;
  border: 1px solid rgba(255, 255, 255, .74);
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 45px rgba(7, 27, 59, .16);
  backdrop-filter: blur(14px);
}

.ofcc-float-card small,
.ofcc-float-card strong {
  display: block;
}

.ofcc-float-card small {
  color: var(--muted);
  font-size: .72rem;
}

.ofcc-float-card strong {
  margin-top: 2px;
  color: var(--ink);
  font-size: .88rem;
}

.ofcc-float-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  font-weight: 900;
}

.ofcc-float-purchase {
  top: 108px;
  left: -34px;
}

.ofcc-float-match {
  right: -38px;
  bottom: 165px;
}

.ofcc-float-invoice {
  left: -20px;
  bottom: 54px;
  display: block;
}

.ofcc-pain-section {
  background: #fff;
}

.ofcc-pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.ofcc-pain-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.ofcc-pain-card::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -64px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(0, 106, 237, .06);
}

.ofcc-pain-card > span {
  color: var(--primary);
  font-size: .85rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.ofcc-pain-card h3 {
  margin: 38px 0 12px;
  color: var(--ink);
  font-size: 1.45rem;
}

.ofcc-pain-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.ofcc-journey-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(520px, 1fr);
  gap: 78px;
  align-items: center;
}

.ofcc-journey-copy h2,
.ofcc-control-copy h2 {
  margin: 14px 0 20px;
  color: var(--ink);
  font-size: clamp(2.35rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.ofcc-journey-copy p,
.ofcc-control-copy > p {
  color: #475569;
  font-size: 1.08rem;
  line-height: 1.7;
}

.ofcc-journey-copy .btn {
  margin-top: 20px;
}

.ofcc-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ofcc-step;
}

.ofcc-steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid rgba(0, 106, 237, .1);
  border-radius: 22px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 32px rgba(15, 23, 42, .055);
}

.ofcc-steps li > span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(145deg, var(--primary), #0054bd);
  box-shadow: 0 12px 28px rgba(0, 106, 237, .24);
  font-size: 1.1rem;
  font-weight: 900;
}

.ofcc-steps h3 {
  margin: 1px 0 6px;
  color: var(--ink);
  font-size: 1.14rem;
}

.ofcc-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.ofcc-control-section {
  background:
    radial-gradient(circle at 80% 18%, rgba(0, 106, 237, .11), transparent 30%),
    #fff;
}

.ofcc-control-grid {
  display: grid;
  grid-template-columns: minmax(520px, 1.05fr) minmax(0, .85fr);
  gap: 74px;
  align-items: center;
}

.ofcc-control-panel {
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(0, 106, 237, .15);
  border-radius: 30px;
  background: #f8fbff;
  box-shadow: 0 28px 70px rgba(7, 27, 59, .16);
}

.ofcc-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px 22px;
  color: var(--ink);
  font-weight: 800;
}

.ofcc-panel-top strong {
  padding: 7px 11px;
  border-radius: 999px;
  color: #067a57;
  background: rgba(18, 185, 129, .13);
  font-size: .76rem;
}

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

.ofcc-summary-grid > div {
  min-height: 108px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.ofcc-summary-grid small,
.ofcc-summary-grid strong {
  display: block;
}

.ofcc-summary-grid small {
  color: var(--muted);
  font-size: .72rem;
}

.ofcc-summary-grid strong {
  margin-top: 12px;
  color: var(--ink);
  font-size: .98rem;
  line-height: 1.25;
}

.ofcc-summary-grid .ofcc-summary-accent {
  border-color: rgba(0, 106, 237, .2);
  background: linear-gradient(145deg, rgba(0, 106, 237, .09), rgba(0, 167, 225, .055));
}

.ofcc-transaction-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.ofcc-transaction-list > div {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
}

.ofcc-transaction-list i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: #fff;
  background: var(--primary);
  font-style: normal;
  font-weight: 900;
}

.ofcc-transaction-list span strong,
.ofcc-transaction-list span small {
  display: block;
}

.ofcc-transaction-list span strong {
  color: var(--ink);
  font-size: .9rem;
}

.ofcc-transaction-list span small {
  margin-top: 3px;
  color: var(--muted);
  font-size: .73rem;
}

.ofcc-transaction-list b {
  padding: 8px 11px;
  border-radius: 10px;
  color: #0058c8;
  background: var(--surface-blue);
  font-size: .76rem;
}

.ofcc-control-copy .check-list {
  margin-top: 26px;
}

.ofcc-outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.ofcc-outcomes-grid article {
  min-height: 220px;
  padding: 28px;
  border: 1px solid rgba(0, 106, 237, .1);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .06);
}

.ofcc-outcomes-grid strong {
  color: var(--primary);
  font-size: 1.12rem;
}

.ofcc-outcomes-grid p {
  margin: 24px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.ofcc-cta-section {
  padding-bottom: 0;
  background: #fff;
}

.ofcc-cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  padding: 58px;
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 16%, rgba(0, 167, 225, .4), transparent 28%),
    linear-gradient(135deg, #071b3b 0%, #063b88 58%, #006aed 100%);
  box-shadow: 0 28px 80px rgba(7, 27, 59, .24);
}

.ofcc-cta-card .section-kicker {
  color: #91c8ff;
}

.ofcc-cta-card h2 {
  max-width: 860px;
  margin: 12px 0 14px;
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.03;
  letter-spacing: -.045em;
}

.ofcc-cta-card p {
  max-width: 760px;
  margin: 0;
  color: #c7dcf7;
  font-size: 1.05rem;
  line-height: 1.65;
}

.ofcc-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
}

@media (max-width: 1120px) {
  .ofcc-hero-grid,
  .ofcc-journey-layout,
  .ofcc-control-grid {
    grid-template-columns: 1fr;
  }

  .ofcc-hero-grid,
  .ofcc-journey-layout,
  .ofcc-control-grid {
    gap: 48px;
  }

  .ofcc-hero-copy {
    max-width: 820px;
  }

  .ofcc-hero-visual {
    width: min(720px, 100%);
    margin: 0 auto;
  }

  .ofcc-journey-copy {
    max-width: 800px;
  }

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

  .ofcc-cta-card {
    grid-template-columns: 1fr;
  }

  .ofcc-cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  .ofcc-hero {
    padding: 46px 0 62px;
  }

  .ofcc-hero-copy h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .ofcc-hero-copy > p {
    font-size: 1.05rem;
  }

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

  .ofcc-hero-actions .btn {
    justify-content: center;
  }

  .ofcc-hero-trust {
    display: grid;
    gap: 12px;
  }

  .ofcc-hero-visual {
    min-height: 520px;
  }

  .ofcc-hero-visual > img {
    height: 520px;
    border-radius: 30px;
  }

  .ofcc-float-purchase {
    top: 32px;
    left: 12px;
  }

  .ofcc-float-match {
    right: 12px;
    bottom: 120px;
  }

  .ofcc-float-invoice {
    left: 12px;
    bottom: 28px;
  }

  .ofcc-pain-grid,
  .ofcc-outcomes-grid {
    grid-template-columns: 1fr;
  }

  .ofcc-pain-card,
  .ofcc-outcomes-grid article {
    min-height: 0;
  }

  .ofcc-control-panel {
    padding: 10px;
    border-radius: 22px;
  }

  .ofcc-summary-grid {
    grid-template-columns: 1fr;
  }

  .ofcc-summary-grid > div {
    min-height: 0;
  }

  .ofcc-transaction-list > div {
    grid-template-columns: 36px 1fr;
  }

  .ofcc-transaction-list b {
    grid-column: 2;
    justify-self: start;
  }

  .ofcc-cta-card {
    padding: 34px 24px;
    border-radius: 26px;
  }

  .ofcc-cta-actions,
  .ofcc-cta-actions .btn {
    width: 100%;
  }

  .ofcc-cta-actions .btn {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .ofcc-float-card {
    padding: 11px 12px;
  }

  .ofcc-float-icon {
    width: 32px;
    height: 32px;
  }

  .ofcc-float-card strong {
    font-size: .77rem;
  }

  .ofcc-steps li {
    grid-template-columns: 44px 1fr;
    padding: 18px;
  }

  .ofcc-steps li > span {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }
}
