@font-face {
  font-family: Roboto;
  src: url(/assets/roboto-latin.woff2) format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --teal: #03323a;
  --deep-teal: #022125;
  --green: #47b173;
  --lime: #b5f399;
  --navy: #000b41;
  --ink: #121f36;
  --light: #f3f5f5;
  --muted-green: #bde4cc;
  --gutter: clamp(22px, 4vw, 64px);
  font-family: Roboto, Arial, sans-serif;
  color: var(--light);
  background: var(--teal);
  line-height: 1.5;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .15em; }
button { font: inherit; }
:focus-visible { outline: 3px solid #ffa633; outline-offset: 4px; }
[hidden] { display: none !important; }

.shell { width: min(100%, 1600px); padding-inline: var(--gutter); margin-inline: auto; }
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { position: absolute; z-index: 5; top: 8px; left: 8px; padding: 12px; background: var(--navy); }

.header { position: relative; z-index: 2; color: var(--muted-green); background: var(--teal); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: 116px; padding-inline: clamp(22px, 3.2vw, 52px);
}
.logo { flex: 0 1 auto; }
.logo img { width: clamp(154px, 16vw, 234px); height: auto; }
.nav { display: flex; align-items: center; }
.nav > a:not(.qualify), .nav summary {
  padding: 9px clamp(8px, .85vw, 15px); text-decoration: none;
  white-space: nowrap; font-size: clamp(14px, 1.16vw, 18px);
}
.nav > :is(a, details):not(:first-child, .qualify) { border-inline-start: 1px solid #629589; }
.nav a:hover, .nav summary:hover { color: white; }
.submenu { position: relative; }
.submenu summary { list-style: none; cursor: pointer; }
.submenu summary::-webkit-details-marker { display: none; }
.submenu summary::after {
  content: ""; display: inline-block; width: .35em; height: .35em;
  border-right: 1px solid; border-bottom: 1px solid;
  transform: rotate(45deg); margin: 0 0 .2em .45em;
}
.submenu[open] summary::after { transform: rotate(225deg); margin-bottom: 0; }
.submenu-links {
  display: grid; position: absolute; z-index: 1; min-width: max-content;
  left: 0; top: calc(100% + 4px); padding: 7px;
  border-radius: 12px; background: var(--deep-teal); box-shadow: 0 5px 18px #0005;
}
.submenu-links a { text-decoration: none; padding: 8px 12px; border-radius: 7px; }
.submenu-links a:hover, .submenu-links [aria-current="page"] { color: white; background: #20564f; }
.menu-toggle { border: 0; color: white; background: none; padding: 10px; cursor: pointer; }

.qualify {
  --button-bg: var(--green); --button-fg: var(--deep-teal);
  display: inline-flex; align-items: stretch; gap: 2px; align-self: flex-start; flex: 0 0 auto;
  font-size: 16px; font-weight: 700; line-height: 1.1; text-decoration: none;
  color: var(--button-fg);
}
.qualify :is(span, b) {
  display: grid; place-items: center; min-height: 49px; border-radius: 999px;
  background: var(--button-bg);
}
.qualify span { padding-inline: clamp(16px, 4.2vw, 72px); }
.qualify b { width: 49px; font-size: 28px; font-weight: 500; }
.qualify:hover { --button-bg: #77d29a; color: var(--button-fg); }
.qualify-header { margin-inline-start: 12px; align-self: center; }
.qualify-header span { padding-inline: clamp(15px, 2.8vw, 66px); }
.qualify-header :is(b, span) { min-height: 52px; }
.qualify-header b { width: 40px; }

.hero {
  --hero-height: clamp(520px, 40vw, 700px);
  position: relative; isolation: isolate; overflow: hidden; background: var(--ink);
}
.theme-anticipo .hero { --hero-height: clamp(570px, 52vw, 825px); }
.hero-image, .hero-image img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; }
.hero-image img { object-fit: cover; }
.hero::after {
  content: ""; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, #102021d4, #10202182 43%, #10202108 73%);
}
.hero-inner {
  position: relative; min-height: var(--hero-height); display: flex; align-items: center;
  padding-block: clamp(42px, 4.5vw, 82px);
}
.hero-content { position: relative; z-index: 1; max-width: min(100%, 58rem); color: white; }
.hero h1 { font-size: clamp(55px, 5.7vw, 94px); line-height: 1.02; font-weight: 500; }
.theme-anticipo .hero h1 { font-size: clamp(56px, 6.7vw, 106px); }
.hero p { max-width: 39ch; font-size: clamp(20px, 1.82vw, 30px); line-height: 1.25; margin-block: clamp(24px, 2.8vw, 44px) clamp(30px, 4.9vw, 76px); }
.theme-anticipo .hero p { max-width: 33ch; font-size: clamp(23px, 2.22vw, 36px); }
.hero-symbol { position: absolute; width: clamp(120px, 18vw, 280px); height: auto; bottom: -9%; right: 4.8%; }

.details, .benefits { --section-bg: var(--teal); background: var(--section-bg); }
.theme-anticipo :is(.details, .benefits) { --section-bg: var(--green); color: var(--deep-teal); }
.details-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 68px); align-items: start;
  padding-block: clamp(54px, 6vw, 100px) clamp(36px, 4vw, 72px);
}
.about { padding-block: clamp(16px, 3vw, 56px); max-width: 41rem; }
.about h2 { font-size: clamp(36px, 4vw, 62px); line-height: 1.03; font-weight: 500; }
.about p { margin-top: clamp(38px, 8vw, 144px); font-size: clamp(17px, 1.56vw, 25px); line-height: 1.42; }
.steps { display: grid; gap: clamp(20px, 3.7vw, 58px); list-style: none; padding: 0; margin: 0; }
.steps li {
  --card: #7196f3; --card-fg: var(--ink);
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(15px, 2vw, 36px);
  min-height: clamp(200px, 19vw, 290px); padding: clamp(22px, 3.1vw, 47px);
  border-radius: clamp(18px, 2vw, 34px); color: var(--card-fg); background: var(--card);
}
.steps li:nth-child(2) { --card: var(--lime); }
.steps li:nth-child(3) { --card: #a5a8f2; }
.steps li:nth-child(4) { --card: #fff; }
.theme-anticipo .steps li:first-child { --card: var(--teal); --card-fg: var(--muted-green); }
.step-number { font-size: clamp(18px, 2.2vw, 36px); line-height: 1.1; }
.steps li div { align-self: center; }
.steps h3 { font-size: clamp(22px, 1.98vw, 31px); line-height: 1.12; margin-bottom: clamp(12px, 2vw, 28px); }
.steps p { font-size: clamp(16px, 1.42vw, 22px); }
.steps a { font-weight: 700; }

.benefits-inner {
  --benefit-radius: 18px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 29px);
  align-items: stretch; padding-block: 30px clamp(30px, 4vw, 62px);
}
.theme-anticipo .benefits-inner { max-width: 1240px; padding-block: clamp(50px, 7vw, 104px); }
.benefits-image { width: 100%; height: 100%; object-fit: cover; border-radius: var(--benefit-radius); }
.benefits-copy {
  min-height: clamp(420px, 40vw, 630px); display: flex; flex-direction: column; justify-content: center;
  border-radius: var(--benefit-radius); padding: clamp(27px, 3.3vw, 56px);
  color: var(--deep-teal); background: var(--green);
}
.theme-anticipo .benefits-copy { color: var(--light); background: #1c2f4d; }
.benefits-copy h2 { font-size: clamp(29px, 2.55vw, 42px); line-height: 1.13; font-weight: 500; }
.benefits-copy ul {
  list-style: none; padding: 0; margin: clamp(24px, 3.4vw, 55px) 0 0;
  display: grid; gap: clamp(16px, 2vw, 32px); font-size: clamp(17px, 1.8vw, 27px);
}
.theme-anticipo .benefits-copy ul { font-size: clamp(17px, 1.45vw, 22px); }
.theme-anticipo .benefits-copy strong { color: var(--muted-green); }

.closing { --closing-fg: var(--deep-teal); color: var(--closing-fg); background: var(--green); }
.theme-anticipo .closing { --closing-fg: var(--muted-green); background: var(--deep-teal); }
.closing-inner { display: grid; grid-template-columns: 1.12fr 1fr; padding-inline: 0; align-items: stretch; }
.closing-image { width: 100%; height: 100%; object-fit: contain; object-position: left bottom; }
.closing-copy {
  display: flex; flex-direction: column; align-items: flex-end; justify-content: center;
  gap: clamp(20px, 2.6vw, 48px); text-align: right; padding: clamp(32px, 4vw, 70px) var(--gutter) clamp(45px, 6vw, 95px) 10px;
}
.closing-logo { display: block; width: min(58%, 320px); }
.closing-logo img { width: 100%; height: auto; }
.closing h2 { font-size: clamp(48px, 6.9vw, 110px); font-weight: 500; line-height: .97; color: white; }
.closing h2 span { display: block; color: var(--closing-fg); }
.theme-anticipo .closing h2 span { color: var(--green); }
.closing p { font-size: clamp(19px, 1.82vw, 29px); line-height: 1.3; max-width: 40ch; }
.qualify-closing { align-self: flex-end; --button-bg: var(--navy); --button-fg: #8bdba8; }
.qualify-closing:hover { --button-bg: #1c2f4d; }
.theme-anticipo .qualify-closing { --button-bg: var(--green); --button-fg: var(--deep-teal); }
.theme-anticipo .qualify-closing:hover { --button-bg: #77d29a; }

.footer { padding-block: 17px; font-size: 14px; text-align: center; background: var(--navy); color: var(--light); }
.footer address { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; font-style: normal; margin-bottom: 8px; }
.footer address a { text-decoration: none; }
.footer address a:hover { text-decoration: underline; }
.not-found { min-height: 55vh; padding-block: 65px; }
.not-found h1 { margin-bottom: 14px; }

@media (max-width: 1080px) {
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; min-height: 84px; gap: 0 14px; }
  .logo img { width: clamp(177px, 23vw, 234px); }
  .nav { grid-column: 1 / -1; display: grid; gap: 5px; padding-block: 12px 20px; }
  .header[data-menu-ready] .nav { display: none; }
  .header[data-menu-ready] .menu-toggle[aria-expanded="true"] ~ .nav { display: grid; }
  .nav > :is(a, details):not(:first-child, .qualify) { border: 0; }
  .nav > a:not(.qualify), .nav summary { padding: 8px 10px; font-size: 17px; }
  .submenu-links { position: static; min-width: auto; margin-block: 4px; box-shadow: none; }
  .qualify-header { justify-self: start; margin: 8px 0 0; }
  .qualify-header span { padding-inline: 25px; }
}

@media (max-width: 700px) {
  :root { --gutter: clamp(16px, 5vw, 30px); }
  .header-inner { min-height: 84px; padding-inline: var(--gutter); }
  .hero { --hero-height: clamp(452px, 119vw, 580px); }
  .theme-anticipo .hero { --hero-height: clamp(475px, 124vw, 615px); }
  .theme-pie .hero { --hero-height: clamp(495px, 136vw, 620px); }
  .hero-inner { align-items: stretch; padding-block: 27px 25px; }
  .hero-content { width: 100%; display: flex; flex-direction: column; }
  .hero h1 { font-size: clamp(33px, 9.55vw, 48px); }
  .theme-anticipo .hero h1 { font-size: clamp(37px, 11vw, 55px); }
  .hero p, .theme-anticipo .hero p { max-width: 24ch; font-size: clamp(17px, 4.4vw, 22px); line-height: 1.3; margin-block: 17px 25px; }
  .hero .qualify { margin-top: auto; }
  .hero-symbol { width: clamp(74px, 20vw, 120px); right: 5%; bottom: -3%; }
  .hero::after { background: linear-gradient(90deg, #102021da, #1020218a 49%, #1020210f 94%); }
  .hero .qualify span { padding-inline: 23px; }
  .qualify :is(span, b) { min-height: 46px; }
  .qualify b { width: 46px; }
  .details-inner, .benefits-inner { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .details-inner { padding-block: 32px 43px; }
  .about { padding: 0; }
  .about h2 { font-size: clamp(32px, 8.4vw, 43px); }
  .about p { margin-top: 17px; }
  .steps { gap: 19px; }
  .steps li { display: block; min-height: 0; padding: 20px; }
  .steps h3 { margin-block: 11px 7px; font-size: 19px; }
  .steps p { font-size: 16px; }
  .benefits-inner, .theme-anticipo .benefits-inner { padding-block: 13px 37px; }
  .benefits-image { width: 100%; height: auto; aspect-ratio: 1.2; }
  .benefits-copy { min-height: 0; padding: 24px; }
  .closing-inner { grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 20px 12px; padding: 18px var(--gutter) 43px; }
  .closing-copy { display: contents; }
  .closing-image { grid-column: 1; grid-row: 1 / 3; align-self: end; width: 100%; height: auto; }
  .closing-logo { grid-column: 2; justify-self: end; width: min(100%, 212px); }
  .closing h2 { grid-column: 2; grid-row: 2; align-self: center; text-align: right; font-size: clamp(30px, 8.5vw, 52px); }
  .closing-copy p, .qualify-closing { grid-column: 1 / -1; justify-self: center; text-align: center; }
  .closing p { font-size: clamp(19px, 5vw, 24px); }
  .qualify-closing { margin-top: 8px; }
}

