/*
Theme Name: Invest Finance
Author: Invest Finance
Description: Classic WordPress theme with Invest Finance homepage and broker dispute assistance layout.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: invest-finance
*/

@font-face {
  font-family: Inter;
  src: url("assets/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("assets/inter-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("assets/inter-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("assets/inter-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("assets/inter-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
.if-site {
  --navy: #041a33;
  --ink: #07142e;
  --blue: #008df5;
  --cyan: #00bafa;
  --muted: #60718a;
  --line: #dbeaf5;
  --wash: #f0f9ff;
  margin: 0;
  color: var(--ink);
  background: #fff;
  font:
    16px/1.5 Inter,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
.if-site * {
  box-sizing: border-box;
}
.if-site a {
  color: inherit;
  text-decoration: none;
}
.if-site button,
.if-site input,
.if-site select,
.if-site textarea {
  font: inherit;
}
.if-site button {
  cursor: pointer;
}
.if-site [hidden] {
  display: none !important;
}
.if-site a:focus-visible,
.if-site button:focus-visible,
.if-site summary:focus-visible {
  outline: 3px solid #007ddc;
  outline-offset: 5px;
}
.if-site input:focus,
.if-site select:focus,
.if-site textarea:focus {
  outline: 2px solid #008df5;
  outline-offset: 2px;
}
.if-site h1,
.if-site h2,
.if-site h3,
.if-site p {
  margin-top: 0;
}
.if-site h1 {
  font-size: clamp(40px, 4.7vw, 68px);
  line-height: 1.05;
  letter-spacing: -2.7px;
  font-weight: 800;
  margin-bottom: 22px;
}
.if-site h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.14;
  letter-spacing: -1.2px;
  margin-bottom: 10px;
  font-weight: 800;
}
.if-site h3 {
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 8px;
}
.if-site h1 span {
  color: var(--cyan);
}
.if-site h2 span {
  color: var(--blue);
}
.if-container {
  width: min(1260px, calc(100% - 64px));
  margin-inline: auto;
}
.if-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  vertical-align: middle;
}
.if-skip {
  position: fixed;
  top: -100px;
  left: 15px;
  z-index: 100;
  background: white;
  padding: 12px;
}
.if-skip:focus {
  top: 10px;
}
.if-header {
  background: var(--navy);
  color: white;
  border-bottom: 1px solid #1d3c57;
}
.if-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 30px;
  position: relative;
}
.if-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.if-brand-mark {
  height: 42px;
  display: flex;
  gap: 3px;
  align-items: end;
  transform: skewY(-7deg);
}
.if-brand-mark i {
  width: 8px;
  background: linear-gradient(#08c5fd, #0084e5);
  display: block;
}
.if-brand-mark i:nth-child(1) {
  height: 16px;
}
.if-brand-mark i:nth-child(2) {
  height: 25px;
}
.if-brand-mark i:nth-child(3) {
  height: 34px;
}
.if-brand-mark i:nth-child(4) {
  height: 42px;
}
.if-brand-name {
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -1.3px;
  line-height: 1.1;
  display: block;
  color: #fff;
  white-space: nowrap;
}
.if-brand-name em {
  font-style: normal;
  color: var(--cyan);
}
.if-tagline {
  display: block;
  font-size: 8px;
  letter-spacing: 1.8px;
  color: #bfd0e0;
  margin-top: 5px;
}
.if-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.if-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 114px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.15;
  padding-block: 23px;
  min-height: 88px;
}
.if-nav .if-icon {
  color: var(--cyan);
  width: 31px;
  height: 31px;
}
.if-nav a:nth-child(2) .if-icon {
  color: #ff9d19;
}
.if-nav a:hover,
.if-nav [aria-current] {
  color: var(--cyan);
}
.if-nav [aria-current] {
  box-shadow: inset 0 -3px var(--cyan);
}
.if-menu {
  display: none;
  color: white;
  background: none;
  border: 1px solid #44627c;
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 23px;
}
.if-home-hero {
  color: #fff;
  background:
    linear-gradient(
      90deg,
      #03182ff5 0%,
      #03182fda 28%,
      #03182f33 56%,
      transparent 80%
    ),
    url("assets/home-hero.png") center/cover no-repeat #03182f;
}
.if-home-copy {
  padding: 65px 0 70px;
  max-width: 650px;
  min-height: 580px;
}
.if-home-copy p {
  font-size: 21px;
  line-height: 1.5;
  max-width: 480px;
  margin-bottom: 26px;
}
.if-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.if-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 50px;
  padding: 12px 25px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: linear-gradient(100deg, #0087ef, #00b6f5);
  color: white !important;
  font-weight: 700;
  line-height: 1.3;
  transition:
    filter 0.15s,
    transform 0.15s;
}
.if-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.if-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}
.if-btn .if-icon {
  width: 20px;
  height: 20px;
}
.if-btn-outline {
  border-color: var(--cyan);
  background: #031c36cc;
}
.if-actions .if-btn {
  min-width: 320px;
}
.if-steps {
  background: linear-gradient(#f8fcff, #edf8ff);
  padding: 33px 0;
}
.if-step-grid {
  display: grid;
  grid-template-columns: repeat(var(--steps), 1fr);
  gap: 40px;
}
.if-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e2f4ff;
  color: var(--blue);
  width: 64px;
  height: 64px;
  margin-bottom: 14px;
}
.if-icon-circle .if-icon {
  width: 34px;
  height: 34px;
}
.if-step-grid article {
  position: relative;
}
.if-step-grid article:not(:last-child):after {
  content: "›";
  position: absolute;
  right: 0;
  top: 14px;
  color: #9bb6cc;
  font-size: 38px;
}
.if-step-grid h3 {
  font-size: 19px;
  margin-bottom: 5px;
}
.if-step-grid p {
  font-size: 15px;
  color: var(--muted);
  max-width: 255px;
  margin: 0;
}
.if-section {
  padding: 46px 0;
}
.if-market-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.if-market-card {
  border: 1px solid var(--line);
  background: linear-gradient(130deg, #fff, #f0f9ff);
  border-radius: 9px;
  padding: 28px;
}
.if-market-heading {
  display: flex;
  align-items: center;
  gap: 18px;
}
.if-market-heading > .if-icon {
  width: 67px;
  height: 67px;
  color: var(--blue);
}
.if-market-heading h2 {
  font-size: 31px;
  margin-bottom: 6px;
}
.if-market-heading p {
  color: var(--muted);
  font-size: 15px;
  max-width: 365px;
  margin: 0;
}
.if-crypto {
  background: linear-gradient(130deg, #fff, #fff9ee);
}
.if-crypto .if-market-heading > .if-icon,
.if-crypto .if-checks .if-icon {
  color: #ff9818;
}
.if-checks {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.if-checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  color: #52627c;
  font-size: 15px;
}
.if-checks .if-icon {
  color: var(--blue);
  width: 22px;
  height: 22px;
}
.if-market-card .if-btn {
  width: 100%;
}
.if-service-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(ellipse at 90% 60%, #074c81, transparent 50%), var(--navy);
  border: 1px solid #16577d;
  border-radius: 12px;
  padding: 30px 36px;
  overflow: hidden;
}
.if-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: var(--cyan);
  margin-bottom: 10px;
}
.if-service-banner h2 {
  font-size: 37px;
  letter-spacing: -1px;
}
.if-service-banner p:not(.if-eyebrow) {
  font-size: 18px;
  max-width: 660px;
  margin-bottom: 18px;
}
.if-service-banner img {
  width: 100%;
  height: auto;
}
.if-service-tags {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0 0 23px;
  flex-wrap: wrap;
}
.if-service-tags li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
}
.if-service-tags .if-icon {
  color: #6bdcff;
  width: 30px;
  height: 30px;
}
.if-service-banner small,
.if-dispute-hero small {
  display: block;
  color: #c2d2e2;
  font-size: 12px;
  margin-top: 13px;
  line-height: 1.5;
}
.if-service-banner .if-btn {
  min-width: 310px;
}
.if-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.if-section-head p,
.if-intro {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 24px;
}
.if-tabs {
  display: flex;
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: #edf5fc;
  border-radius: 7px;
  padding: 3px;
}
.if-tabs button {
  background: none;
  border: 0;
  padding: 12px 16px;
  border-radius: 5px;
  font-size: 13px;
  color: #284468;
}
.if-tabs [aria-selected="true"] {
  background: var(--blue);
  color: white;
}
.if-table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.if-table-scroll table {
  border-collapse: collapse;
  width: 100%;
  min-width: 850px;
  font-size: 14px;
  text-align: left;
}
.if-table-scroll thead {
  background: #f0f7fd;
  color: #365071;
}
.if-table-scroll th,
.if-table-scroll td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
.if-table-scroll thead th {
  font-size: 12px;
  font-weight: 600;
}
.if-table-scroll tr:last-child td,
.if-table-scroll tr:last-child th {
  border-bottom: 0;
}
.if-table-scroll td {
  color: var(--muted);
}
.if-provider {
  display: flex;
  align-items: center;
  gap: 17px;
}
.if-provider small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
  margin-top: 2px;
}
.if-provider-logo {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 800;
  color: #0088f5;
  border-radius: 50%;
  background: #eff7ff;
}
.if-logo-0 {
  color: #c92b35;
  font-size: 22px;
}
.if-logo-1 {
  color: #deac00;
}
.if-feature {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  margin-bottom: 3px;
}
.if-feature .if-icon {
  width: 16px;
  height: 16px;
  color: var(--blue);
}
.if-table-link {
  display: inline-block;
  background: #edf6ff;
  color: #007bdd !important;
  padding: 11px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.if-caption {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 0;
}
.if-wash {
  background: var(--wash);
}
.if-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.if-tool-card {
  background: white;
  border-radius: 9px;
  padding: 23px;
  border: 1px solid var(--line);
  position: relative;
}
.if-tool-card > .if-icon {
  color: var(--blue);
  width: 39px;
  height: 39px;
  margin-bottom: 12px;
}
.if-tool-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  padding-right: 15px;
}
.if-tool-card > span {
  position: absolute;
  right: 17px;
  bottom: 19px;
  color: var(--blue);
}
.if-guides {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.if-guide {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.if-guide-art {
  height: 170px;
  background: radial-gradient(at 60% 45%, #0875a8, #042344 75%);
  display: grid;
  place-items: center;
}
.if-guide-art .if-icon {
  width: 85px;
  height: 85px;
  color: #48caff;
  filter: drop-shadow(0 0 18px #00c4ff);
}
.if-guide-crypto {
  background: radial-gradient(at 60% 45%, #925811, #0b2036 75%);
}
.if-guide-crypto .if-icon {
  color: #ffbf45;
  filter: drop-shadow(0 0 16px #ffbb26);
}
.if-guide > div:last-child {
  padding: 22px;
}
.if-guide h3 {
  font-size: 18px;
}
.if-guide p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
}
.if-guide span {
  font-size: 13px;
  color: var(--blue);
  font-weight: 700;
}
.if-guide:hover,
.if-tool-card:hover {
  box-shadow: 0 8px 25px #0a426315;
}
.if-footer {
  background: #061d35;
  color: #c0d2e1;
  padding: 45px 0 23px;
}
.if-footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(4, 1fr);
  gap: 27px;
}
.if-footer .if-brand-name {
  font-size: 23px;
}
.if-footer .if-brand-mark {
  transform: scale(0.85);
  transform-origin: left center;
  margin-right: -5px;
}
.if-footer .if-tagline {
  font-size: 6px;
}
.if-footer-grid h3 {
  font-size: 14px;
  color: white;
  margin-bottom: 17px;
}
.if-footer-grid > div > a:not(.if-brand) {
  display: block;
  font-size: 12px;
  margin: 10px 0;
}
.if-footer a:hover {
  color: var(--cyan);
}
.if-footer p {
  font-size: 12px;
  margin-top: 17px;
}
.if-fineprint {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 35px;
  border-top: 1px solid #38526b;
  margin-top: 25px;
  padding-top: 18px;
  font-size: 11px;
  color: #adbfce;
}
.if-fineprint p {
  margin: 0;
  max-width: 870px;
  font-size: 11px;
}
.if-fineprint span {
  white-space: nowrap;
}
.if-dispute-hero {
  background:
    radial-gradient(ellipse at 86% 50%, #084d7b, transparent 47%), #031b33;
  color: #fff;
  padding: 28px 0 35px;
}
.if-breadcrumb {
  display: flex;
  gap: 10px;
  color: #c9e2f4;
  font-size: 12px;
  margin-bottom: 20px;
}
.if-dispute-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
  gap: 15px;
}
.if-dispute-hero h1 {
  font-size: clamp(38px, 4.7vw, 65px);
}
.if-dispute-hero p {
  font-size: 20px;
  max-width: 690px;
  line-height: 1.45;
  margin-bottom: 24px;
}
.if-dispute-hero img {
  width: 100%;
  height: auto;
  max-height: 390px;
}
.if-dispute-hero .if-btn {
  min-width: 330px;
}
.if-enquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.25fr) minmax(260px, 1fr);
  gap: 24px;
  align-items: stretch;
}
.if-enquiry-section {
  padding-bottom: 20px;
}
.if-form-card,
.if-next {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}
.if-form-card h2 {
  font-size: 35px;
}
.if-form-card b {
  color: #c74c52;
}
.if-site fieldset {
  padding: 0;
  margin: 0 0 24px;
  border: 0;
  min-width: 0;
}
.if-site fieldset + fieldset {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.if-site legend {
  font-size: 19px;
  letter-spacing: -0.4px;
  font-weight: 800;
  margin-bottom: 14px;
  float: left;
  width: 100%;
}
.if-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
  clear: both;
}
.if-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  color: var(--ink);
  min-width: 0;
}
.if-field > b {
  display: contents;
}
.if-site input:not([type="checkbox"]),
.if-site select,
.if-site textarea {
  width: 100%;
  min-width: 0;
  min-height: 45px;
  border: 1px solid #cddfea;
  border-radius: 5px;
  background: #fff;
  padding: 10px 12px;
  color: #223951;
  font-size: 14px;
}
.if-site input::placeholder,
.if-site textarea::placeholder {
  color: #77869b;
  opacity: 1;
}
.if-site textarea {
  resize: vertical;
  line-height: 1.55;
  min-height: 130px;
}
.if-site input:disabled {
  background: #edf2f6;
  color: #73849b;
}
.if-site input[type="checkbox"] {
  width: 19px;
  height: 19px;
  accent-color: var(--blue);
  flex-shrink: 0;
  margin: 1px 0 0;
}
.if-amount {
  display: grid;
  grid-template-columns: 1fr 90px;
  gap: 6px;
}
.if-small-check {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  margin-top: 3px;
  color: var(--muted);
}
.if-description {
  margin-top: 23px;
}
.if-info {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #edf8ff;
  border-radius: 6px;
  padding: 13px;
  font-size: 12px;
  color: #536985;
  margin: 0 0 20px;
}
.if-info .if-icon {
  width: 22px;
  color: var(--blue);
}
.if-consent {
  display: flex;
  gap: 12px;
  font-size: 12px;
  line-height: 1.7;
  color: #526683;
  margin-bottom: 18px;
}
.if-consent a {
  color: #007add;
  text-decoration: underline;
}
.if-security-label {
  font-size: 13px;
  margin-bottom: 7px;
}
.if-captcha-preview {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fafafa;
  border: 1px solid #d3dce4;
  border-radius: 4px;
  padding: 16px;
  max-width: 305px;
  font-size: 14px;
  color: #45566a;
}
.if-captcha-preview small {
  display: block;
  font-size: 10px;
  margin-top: 5px;
}
.if-captcha-preview > .if-icon {
  margin-left: auto;
  color: #039abf;
}
.if-empty-check {
  width: 24px;
  height: 24px;
  border: 1px solid #8f9aa4;
  background: white;
  border-radius: 3px;
  flex-shrink: 0;
}
.if-preview-notice {
  font-size: 12px;
  color: #6e5c2b;
  background: #fff9e8;
  border: 1px solid #e9dfc6;
  padding: 9px 12px;
  border-radius: 5px;
  margin: 14px 0;
}
.if-submit {
  width: 100%;
  margin-top: 14px;
}
.if-form-note {
  font-size: 12px;
  color: var(--muted);
  margin: 9px 0 0;
}
.if-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.if-next {
  background: linear-gradient(135deg, #f8fcff, #eaf7ff);
}
.if-next h2 {
  font-size: 30px;
}
.if-next > p {
  font-size: 15px;
  color: #647692;
  line-height: 1.65;
}
.if-next article {
  display: flex;
  gap: 15px;
  border-top: 1px solid #d7e9f4;
  padding-top: 30px;
  margin-top: 30px;
}
.if-next .if-icon-circle {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.if-next .if-icon {
  width: 27px;
  height: 27px;
}
.if-next h3 {
  font-size: 15px;
}
.if-next article p {
  font-size: 13px;
  line-height: 1.6;
  color: #647692;
}
.if-faq {
  padding-top: 15px;
}
.if-faq details {
  border: 1px solid var(--line);
  border-radius: 6px;
  margin: 9px 0;
  padding: 15px 20px;
}
.if-faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  list-style: none;
  display: flex;
  gap: 13px;
  align-items: center;
}
.if-faq summary::-webkit-details-marker {
  display: none;
}
.if-faq summary:before {
  content: "+";
  color: var(--blue);
  border: 1px solid #b7e3ff;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 19px;
  font-weight: 400;
}
.if-faq details[open] summary:before {
  content: "−";
}
.if-faq details p {
  color: var(--muted);
  font-size: 14px;
  margin: 9px 0 2px 36px;
}
.if-site #form-status {
  padding: 16px;
  border-radius: 6px;
  background: #edf7ff;
  border: 1px solid #bedef4;
  margin-top: 18px;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.if-site #form-status[data-kind="error"] {
  background: #fff2f1;
  color: #952c22;
  border-color: #ebbfbc;
}
.if-site #form-status[data-kind="success"] {
  background: #eefbf5;
  color: #145b40;
  border-color: #afdec7;
}
@media (min-width: 1500px) {
  .if-home-copy {
    min-height: 630px;
    padding-top: 85px;
  }
}
@media (max-width: 1100px) {
  .if-container {
    width: calc(100% - 44px);
  }
  .if-nav {
    gap: 14px;
  }
  .if-nav a {
    font-size: 10px;
    gap: 5px;
  }
  .if-nav .if-icon {
    width: 25px;
    height: 25px;
  }
  .if-brand-name {
    font-size: 25px;
  }
  .if-header-inner {
    gap: 20px;
  }
  .if-service-banner {
    grid-template-columns: 1fr 260px;
  }
  .if-service-banner h2 {
    font-size: 32px;
  }
  .if-enquiry-layout {
    grid-template-columns: minmax(0, 2fr) minmax(230px, 1fr);
  }
  .if-form-card,
  .if-next {
    padding: 22px;
  }
  .if-footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .if-footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .if-home-copy {
    max-width: 570px;
  }
  .if-home-hero {
    background-position: 60% center;
  }
  .if-section-head {
    align-items: start;
  }
}
@media (max-width: 800px) {
  .if-menu {
    display: block;
  }
  .if-header-inner {
    min-height: 76px;
  }
  .if-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: -22px;
    right: -22px;
    background: #041a33;
    padding: 14px 22px;
    z-index: 20;
    box-shadow: 0 20px 25px #00172a30;
  }
  .if-nav.is-open {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 15px;
  }
  .if-nav a {
    font-size: 14px;
    max-width: none;
    min-height: 55px;
    padding: 12px 0;
  }
  .if-home-copy {
    padding: 55px 0;
    min-height: 550px;
    max-width: 560px;
  }
  .if-home-hero {
    background-image:
      linear-gradient(90deg, #03182fee, #03182f94), url("assets/home-hero.png");
  }
  .if-home-copy p {
    font-size: 19px;
  }
  .if-step-grid {
    gap: 24px;
  }
  .if-step-grid h3 {
    font-size: 16px;
  }
  .if-step-grid p {
    font-size: 13px;
  }
  .if-step-grid article:after {
    display: none;
  }
  .if-market-heading {
    align-items: start;
    gap: 12px;
  }
  .if-market-heading > .if-icon {
    width: 45px;
    height: 45px;
  }
  .if-market-heading h2 {
    font-size: 26px;
  }
  .if-market-card {
    padding: 22px;
  }
  .if-service-banner {
    grid-template-columns: 1fr 180px;
    padding: 25px;
  }
  .if-service-banner h2 {
    font-size: 29px;
  }
  .if-service-banner p:not(.if-eyebrow) {
    font-size: 16px;
  }
  .if-service-tags {
    gap: 12px;
  }
  .if-tools-grid {
    grid-template-columns: 1fr 1fr;
  }
  .if-section-head {
    display: block;
  }
  .if-tabs {
    width: max-content;
    margin-bottom: 20px;
  }
  .if-guides {
    gap: 15px;
  }
  .if-guide h3 {
    font-size: 16px;
  }
  .if-guide > div:last-child {
    padding: 16px;
  }
  .if-dispute-hero-grid {
    grid-template-columns: 1.5fr 1fr;
  }
  .if-dispute-hero h1 {
    font-size: 42px;
    letter-spacing: -1.7px;
  }
  .if-dispute-hero p {
    font-size: 17px;
  }
  .if-dispute-hero .if-btn {
    min-width: 0;
  }
  .if-enquiry-layout {
    grid-template-columns: 1fr;
  }
  .if-next {
    display: none;
  }
  .if-fineprint {
    display: block;
  }
  .if-fineprint span {
    display: block;
    margin-top: 12px;
  }
}
@media (max-width: 560px) {
  .if-container {
    width: calc(100% - 32px);
  }
  .if-brand-name {
    font-size: 24px;
  }
  .if-tagline {
    font-size: 7px;
  }
  .if-brand-mark {
    height: 36px;
    transform: scale(0.86);
    margin-right: -4px;
  }
  .if-nav {
    left: -16px;
    right: -16px;
    padding-inline: 16px;
  }
  .if-site h1 {
    font-size: 42px;
    letter-spacing: -1.8px;
  }
  .if-home-copy {
    min-height: 550px;
    padding: 50px 0;
  }
  .if-home-copy p {
    font-size: 18px;
  }
  .if-actions .if-btn {
    min-width: 0;
    width: 100%;
  }
  .if-home-hero {
    background-position: 68% center;
  }
  .if-step-grid {
    grid-template-columns: 1fr 1fr;
  }
  .if-dispute-hero + .if-steps .if-step-grid {
    grid-template-columns: 1fr;
  }
  .if-dispute-hero + .if-steps article {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 15px;
  }
  .if-dispute-hero + .if-steps .if-icon-circle {
    grid-row: 1/3;
    width: 48px;
    height: 48px;
    margin: 0;
  }
  .if-dispute-hero + .if-steps h3 {
    align-self: end;
    margin-bottom: 4px;
  }
  .if-icon-circle {
    width: 53px;
    height: 53px;
  }
  .if-section {
    padding: 30px 0;
  }
  .if-market-grid,
  .if-guides {
    grid-template-columns: 1fr;
  }
  .if-market-heading h2 {
    font-size: 28px;
  }
  .if-service-banner {
    display: block;
    position: relative;
    padding: 25px;
    isolation: isolate;
  }
  .if-service-banner > div {
    position: relative;
    z-index: 1;
  }
  .if-service-banner img {
    position: absolute;
    width: 210px;
    right: -58px;
    top: 18px;
    opacity: 0.15;
    z-index: 0;
  }
  .if-service-banner h2 {
    font-size: 31px;
  }
  .if-service-banner .if-btn {
    min-width: 0;
    width: 100%;
  }
  .if-service-tags {
    display: grid;
    gap: 10px;
  }
  .if-service-tags .if-icon {
    width: 24px;
    height: 24px;
  }
  .if-tools-grid {
    gap: 12px;
  }
  .if-tool-card {
    padding: 17px;
  }
  .if-tool-card h3 {
    font-size: 16px;
  }
  .if-tool-card p {
    font-size: 13px;
  }
  .if-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .if-dispute-hero {
    padding-top: 20px;
  }
  .if-dispute-hero-grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 0;
  }
  .if-dispute-hero-grid > img {
    height: 170px;
    width: 220px;
    align-self: center;
    margin-top: -12px;
  }
  .if-dispute-hero h1 {
    font-size: 40px;
  }
  .if-dispute-hero p {
    font-size: 17px;
  }
  .if-dispute-hero .if-btn {
    width: 100%;
  }
  .if-dispute-hero small {
    font-size: 11px;
  }
  .if-form-card {
    padding: 19px 16px;
  }
  .if-form-card h2 {
    font-size: 29px;
  }
  .if-fields {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .if-field {
    font-size: 14px;
  }
  .if-site input:not([type="checkbox"]),
  .if-site select,
  .if-site textarea {
    font-size: 16px;
  }
  .if-form-card .if-intro {
    font-size: 13px;
  }
  .if-info {
    align-items: start;
    font-size: 11px;
  }
  .if-consent {
    font-size: 12px;
  }
  .if-faq details {
    padding: 14px;
  }
  .if-faq summary {
    font-size: 14px;
  }
  .if-faq details p {
    font-size: 13px;
  }
  .if-captcha-preview {
    padding: 12px;
    gap: 10px;
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .if-site * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@media print {
  .if-header,
  .if-footer,
  .if-menu,
  .if-btn {
    display: none;
  }
  .if-container {
    width: 100%;
  }
  .if-dispute-hero {
    background: white;
    color: #111;
  }
  .if-dispute-hero img {
    display: none;
  }
  .if-enquiry-layout {
    display: block;
  }
  .if-next {
    display: none;
  }
}

.if-site .if-step-grid-four {
  --steps: 4;
}
.if-site .if-step-grid-three {
  --steps: 3;
}

.if-primary-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.if-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.if-wp-content {
  padding-top: 60px;
  padding-bottom: 60px;
  min-height: 50vh;
}

.if-wp-content img {
  max-width: 100%;
  height: auto;
}

.if-wp-entry {
  margin-bottom: 32px;
}

@media (max-width: 800px) {
  .if-primary-menu {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
}
