:root {
    --blue: #274060;
    --blue-strong: #1b4f8b;
    --accent: #bf9c6e;
    --accent-dark: #b7905c;
    --spare: #f0f3f7;
    --light: #ffffff;
    --ink: #101820;
    --muted: #5d7088;
    --line: #d2d5d8;
    --success: #2f9f63;
    --error: #a12727;
    --container: 1296px;
    --narrow: 1024px;
    --shadow: 0 12px 35px rgba(24, 40, 60, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--light);
    font-family: "Barlow", Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.85;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

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

a {
    color: var(--blue);
    text-underline-offset: 0.14em;
}

a:hover,
a:focus-visible {
    color: var(--accent-dark);
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 0.5em;
    color: var(--blue);
    font-weight: 400;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
}

p,
ul,
ol,
figure {
    margin: 0 0 1rem;
}

.container {
    width: min(90%, var(--container));
    margin-inline: auto;
}

.container--medium {
    width: min(90%, var(--narrow));
}

.screen-reader-text,
.form-trap {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.6rem 1rem;
    color: #fff;
    background: var(--blue);
    transform: translateY(-160%);
}

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

.site-header {
    position: static;
    z-index: 1000;
    min-height: 99.984375px;
    height: 99.984375px;
    background: var(--accent);
}

.site-header__inner {
    display: flex;
    align-items: center;
    min-height: 99.984375px;
    height: 99.984375px;
    padding-block: 25px;
    gap: 0;
}

.site-logo {
    display: block;
    flex: 0 0 296.3125px;
}

.site-logo__image {
    width: min(100%, 296.3125px);
    max-height: 50px;
    object-fit: contain;
}

.primary-navigation .menu {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 3.625px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.primary-navigation {
    flex: 0 0 566.203125px;
    margin-left: 28px;
}

.primary-navigation a,
.site-header__email {
    color: rgba(39, 64, 96, 0.875);
    text-decoration: none;
    white-space: nowrap;
}

.primary-navigation a {
    display: inline-block;
    padding: 8px 12px;
    font-size: 17px;
    line-height: 17px;
}

.site-header__email {
    position: relative;
    top: 0.359375px;
    margin-left: auto;
    color: var(--blue);
    font-size: 15.4545px;
    line-height: 18px;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.site-header__email:hover {
    color: var(--blue);
    text-decoration: underline;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(39, 64, 96, 0.35);
    border-radius: 4px;
    background: transparent;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 24px;
    height: 2px;
    margin: auto;
    background: var(--blue);
    transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle__bars {
    position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
    position: absolute;
    left: 0;
    content: "";
}

.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

.site-main {
    min-height: 55vh;
}

.home-hero {
    display: grid;
    height: 349.03125px;
    place-items: center;
    color: var(--blue);
    background-color: var(--spare);
    background-image: url("../../images/hero-pattern.png");
    background-position: center;
    background-size: cover;
}

.home .primary-navigation .current-menu-item > a {
    text-decoration: none;
}

.home-hero .button {
    position: relative;
    top: 5.7265625px;
}

.home-hero__content {
    text-align: center;
}

.home-hero h1 {
    margin-bottom: 6px;
    color: #1f497d;
    font-size: 72px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 72px;
}

.home-hero p {
    margin-bottom: 20px;
    color: #0f243e;
    font-size: 16px;
    font-weight: 700;
    line-height: 29.6px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 18px 24px;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 14px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
    color: #fff;
    transform: translateY(-1px);
}

.button--accent {
    color: var(--blue);
    background: var(--accent);
}

.button--accent:hover,
.button--accent:focus-visible {
    background: var(--accent-dark);
}

.button--dark {
    color: #fff;
    background: var(--blue);
}

.button--dark:hover,
.button--dark:focus-visible {
    background: var(--blue-strong);
}

.section {
    position: relative;
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: #fff;
}

.section--spare {
    background: var(--spare);
}

.section--light {
    background: #fff;
}

.section-title,
.text-center {
    text-align: center;
}

.section-title {
    margin-bottom: 2.4rem;
}

.prose {
    max-width: 740px;
}

.prose--wide {
    max-width: var(--narrow);
    margin-inline: auto;
}

.prose > * + * {
    margin-top: 1rem;
}

.prose h2 + *,
.prose h3 + * {
    margin-top: 1.25rem;
}

.prose li + li {
    margin-top: 0.5rem;
}

.home-first-step,
.home-precheck,
.home-benefits,
.home-divider-spacer,
.home-footer-spacer {
    position: relative;
}

.home-first-step,
.home-precheck,
.home-benefits {
    background: var(--spare);
}

.home-first-step {
    display: flex;
    height: 610.78125px;
    align-items: flex-start;
    padding: 80px 0 180px;
}

.home-first-step__content {
    color: #000;
    font-size: 18px;
    line-height: 33.3px;
    text-align: center;
}

.home-first-step__content h2 {
    margin: 0 0 15px;
    color: var(--blue);
    font-size: 45.696px;
    font-weight: 400;
    line-height: 54.8352px;
}

.home-first-step__content p {
    margin: 0;
}

.home-divider-spacer {
    height: 260px;
    background: #fff;
}

.cross-divider {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: -2px;
    left: 0;
    height: 100px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
    transform: rotate(180deg);
}

.cross-divider--dark {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 710 100' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M354.5 50L0 0L710 0L354.5 50Z' fill='%23274060'/%3E%3Cpath d='M354.5 50L710 0L710 100L354.5 50Z' fill='%23274060' fill-opacity='.25'/%3E%3Cpath d='M354.5 50L0 0L0 100L354.5 50Z' fill='%23274060' fill-opacity='.25'/%3E%3C/svg%3E");
}

.cross-divider--accent {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 710 100' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M354.5 50L0 0L710 0L354.5 50Z' fill='%23BF9C6E'/%3E%3Cpath d='M354.5 50L710 0L710 100L354.5 50Z' fill='%23BF9C6E' fill-opacity='.25'/%3E%3Cpath d='M354.5 50L0 0L0 100L354.5 50Z' fill='%23BF9C6E' fill-opacity='.25'/%3E%3C/svg%3E");
}

.home-precheck {
    height: 730.734375px;
    padding: 130px 0 180px;
}

.home-precheck h2 {
    margin: 0 0 39.390625px;
    color: var(--blue);
    font-size: 59.408px;
    font-weight: 400;
    line-height: 65.3488px;
    text-align: center;
}

.home-precheck__grid {
    display: grid;
    min-height: 236px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
}

.home-precheck__item {
    color: #000;
    text-align: center;
}

.home-precheck__item h3 {
    margin: 0 0 14.59375px;
    color: #938953;
    font-size: 28px;
    font-weight: 400;
    line-height: 36.4px;
    text-align: center;
}

.home-precheck__item p {
    margin: 0;
    color: #000;
    font-size: 20px;
    line-height: 37px;
    text-align: center;
}

.home-precheck__action {
    margin: 30px 0 0;
    text-align: center;
}

.home-benefits {
    height: 897.375px;
    padding: 50px 0 180px;
}

.home-benefits__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 48px;
}

.home-benefits__media {
    width: 100%;
    aspect-ratio: 1;
    margin: 61.0625px 0 0;
}

.home-benefits__media img {
    width: 100%;
    height: 100%;
    clip-path: ellipse(50% 50% at 50% 50%);
    object-fit: cover;
}

.home-benefits__content {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    color: #000;
    font-size: 18px;
    line-height: 33.3px;
}

.home-benefits__content h2 {
    height: 49.921875px;
    margin: 0 0 12px;
    color: var(--blue);
    font-size: 48px;
    font-weight: 400;
    line-height: 48px;
    text-align: center;
}

.home-benefits__content p {
    margin: 0;
}

.home-benefits__list {
    padding-left: 16px;
    margin: 18px 0;
    color: #000;
    list-style: disc outside;
}

.home-benefits__list li {
    margin: 0;
    padding: 0;
}

.home-benefits__more,
.home-benefits__action {
    text-align: center;
}

.home-benefits__more {
    margin-bottom: 33.296875px !important;
}

.home-benefits__action {
    margin-top: 20px !important;
}

.home-results {
    min-height: 698px;
    padding: 130px 0 80px;
    background: #fff;
}

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

.home-results__content {
    text-align: center;
}

.home-results__content h2 {
    margin: 0 0 45px;
    color: var(--blue);
    font-size: 45.696px;
    font-weight: 400;
    line-height: 54.8352px;
}

.home-results__content p {
    margin: 0 0 53px;
    color: #000;
    font-size: 20px;
    line-height: 37px;
}

.home-results__content > .button {
    position: relative;
    top: 0.171875px;
}

.home-results__media {
    width: 100%;
    aspect-ratio: 1;
    margin: 0;
}

.home-results__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-footer-spacer {
    height: 125px;
    background: #fff;
}

.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
}

.split--top {
    align-items: start;
}

.split--reverse .split__content { order: 2; }
.split--reverse .split__media { order: 1; }

.split__media {
    margin: 0;
}

.image-frame {
    overflow: hidden;
    background: #e7ebf0;
    box-shadow: var(--shadow);
}

.image-frame img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.image-frame--portrait img {
    aspect-ratio: 4 / 5;
}

.check-list {
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 1.8rem;
}

.check-list li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--success);
    content: "✓";
    font-weight: 700;
}

.check-list--inline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: left;
}

.number-list {
    padding-left: 1.5rem;
}

.page-title {
    display: grid;
    min-height: 214px;
    place-items: center;
    text-align: center;
}

.page-title h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.6rem, 5vw, 3.35rem);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.24);
}

.page-title--plain {
    background: #aa9974;
}

.page-title--photo {
    background-color: var(--blue);
    background-image: linear-gradient(rgba(24, 40, 60, 0.18), rgba(24, 40, 60, 0.18)), url("../../images/business-team.jpg");
    background-position: center;
    background-size: cover;
}

.ruled-title {
    display: grid;
    grid-template-columns: minmax(20px, 1fr) auto minmax(20px, 1fr);
    align-items: center;
    gap: 1rem;
    margin-bottom: clamp(2.5rem, 6vw, 5rem);
    text-align: center;
}

.ruled-title::before,
.ruled-title::after {
    height: 1px;
    background: #aeb6c0;
    content: "";
}

.ruled-title small {
    color: inherit;
    font-size: 0.56em;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
}

.team-card {
    padding: 2.5rem;
    text-align: center;
    background: #fff;
    box-shadow: var(--shadow);
}

.team-card .ruled-title {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.team-card__role {
    color: var(--accent-dark);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.case-section > h2 {
    margin: 0;
    padding: 1.2rem 1.5rem;
    color: #fff;
    background: var(--accent);
    font-size: 2rem;
    text-align: center;
}

.case-section--dark > h2 {
    background: var(--blue);
}

.case-carousel {
    position: relative;
    padding: 0;
    background: #fff;
}

.case-carousel__viewport {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.case-carousel__viewport::-webkit-scrollbar { display: none; }

.case-slide {
    flex: 0 0 100%;
    min-height: 600px;
    margin: 0;
    scroll-snap-align: start;
    text-align: center;
}

.case-slide a {
    display: flex;
    min-height: 600px;
    align-items: center;
    justify-content: center;
}

.case-slide img {
    width: 100%;
    height: 600px;
    object-fit: contain;
}

.case-slide h3,
.case-slide p {
    max-width: 760px;
    margin-inline: auto;
}

.case-carousel__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.85rem;
    border-top: 1px solid var(--line);
}

.case-carousel__controls button {
    display: grid;
    width: 38px;
    height: 38px;
    padding: 0;
    place-items: center;
    color: #fff;
    border: 0;
    border-radius: 50%;
    background: var(--blue);
    cursor: pointer;
}

.case-carousel__dots {
    display: flex;
    gap: 0.5rem;
}

.case-carousel__dots button {
    width: 10px;
    height: 10px;
    background: #c1c7d0;
}

.case-carousel__dots button[aria-current="true"] {
    background: var(--accent-dark);
}

.benefit-box {
    padding: 2rem;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 8px 26px rgba(24, 40, 60, 0.08);
}

.form-section > h2 {
    margin-bottom: 2rem;
    text-align: center;
}

.form-section--narrow {
    max-width: 760px;
}

.eex-form {
    display: grid;
    gap: 1.3rem;
    max-width: 920px;
    margin-inline: auto;
}

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

.form-grid__full {
    grid-column: 1 / -1;
}

.eex-form label,
.eex-form legend {
    color: var(--blue);
    font-weight: 600;
}

.eex-form input[type="text"],
.eex-form input[type="email"],
.eex-form input[type="tel"],
.eex-form select,
.eex-form textarea {
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.72rem 0.85rem;
    color: var(--ink);
    border: 1px solid #b9c2cc;
    border-radius: 0;
    background: #fff;
}

.eex-form input:focus,
.eex-form select:focus,
.eex-form textarea:focus {
    border-color: var(--blue);
    outline: 3px solid rgba(39, 64, 96, 0.14);
}

.eex-form fieldset {
    padding: 1rem;
    border: 1px solid #b9c2cc;
}

.eex-form fieldset label {
    display: block;
    color: var(--ink);
    font-weight: 400;
}

.eex-form .form-consent {
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 400;
}

.form-help {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
}

.form-notice {
    max-width: 920px;
    margin: 0 auto 1.5rem;
    padding: 0.9rem 1rem;
    border-left: 4px solid;
    background: #fff;
}

.form-notice--success { border-color: var(--success); }
.form-notice--error { border-color: var(--error); }

.rating-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.map-frame {
    width: 100%;
    min-height: 520px;
    border: 0;
    box-shadow: var(--shadow);
}

.legal-copy {
    min-height: 360px;
}

/* Faithful subpage replication of the original BaseKit site. */
.page-title {
    min-height: 214.40625px;
    height: 214.40625px;
}

.page-title--about {
    min-height: 222.40625px;
    height: 222.40625px;
}

.page-title--about h1 {
    height: 62.40625px;
    line-height: 62.40625px;
}

.page-title h1 {
    color: #fff;
    font-size: 45.3504px;
    font-weight: 400;
    line-height: 54.4205px;
    text-shadow: none;
}

.page-title--photo {
    background-color: var(--blue);
    background-image: linear-gradient(rgba(53, 102, 95, 0.21), rgba(53, 102, 95, 0.21)), url("../../images/business-team.jpg");
    background-position: 50% 50%;
    background-size: cover;
}

.replica-about-intro,
.replica-team,
.replica-interest-chance,
.replica-interest-law,
.replica-vulnerable,
.replica-interest-feature,
.replica-contact-form,
.replica-appointment,
.replica-review,
.replica-spacer {
    position: relative;
}

.replica-copy {
    color: rgba(39, 64, 96, 0.75);
    font-size: 18px;
    line-height: 33.3px;
}

.replica-copy--center {
    text-align: center;
}

.replica-copy p {
    margin: 0;
}

.replica-copy p + p {
    margin-top: 15px;
}

.replica-copy strong {
    color: inherit;
}

.ruled-title {
    display: block;
    height: 101.75px;
    padding: 22.6752px 0;
    margin: 0;
    color: var(--blue);
    border-top: 1px solid #9ca4ad;
    border-bottom: 1px solid #9ca4ad;
    font-size: 45.3504px;
    font-weight: 400;
    line-height: 54.4205px;
    text-align: center;
}

.ruled-title::before,
.ruled-title::after {
    display: none;
}

.replica-natural-image {
    margin: 0;
}

.replica-natural-image img {
    width: 100%;
    height: auto;
    object-fit: initial;
}

.replica-spacer {
    background: #fff;
}

.replica-spacer--25 { height: 25px; }
.replica-spacer--80 { height: 80px; }
.replica-spacer--125 { height: 125px; }

.replica-about-intro {
    height: 1003.15625px;
    background: #fff;
}

.replica-about-intro .container {
    padding-top: 102.671875px;
}

.replica-about-intro .ruled-title {
    margin-bottom: 81.734375px;
}

.replica-about-intro .replica-copy {
    line-height: 37px;
}

.replica-about-intro .replica-copy__action {
    margin-top: 35px;
}

.replica-about-intro .replica-copy > p:nth-of-type(3) a {
    font-size: 20px;
}

.replica-team {
    height: 762.796875px;
    background: #fff;
}

.replica-team__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    padding-top: 22.671875px;
}

.replica-team__member {
    color: rgba(39, 64, 96, 0.75);
    font-size: 18px;
    line-height: 37px;
    text-align: center;
}

.replica-team__member .ruled-title {
    margin-bottom: 89.078125px;
}

.replica-team__member p {
    margin: 0;
}

.replica-team__member p + p {
    margin-top: 15px;
}

.replica-team__member a {
    color: var(--blue);
    font-size: 20px;
}

.replica-interest-chance {
    height: 1001.265625px;
    background: var(--spare);
}

.replica-interest-chance__grid,
.replica-interest-feature__grid,
.replica-appointment__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
}

.replica-interest-chance__copy {
    margin-top: 98px;
}

.replica-interest-chance__copy .ruled-title {
    margin-bottom: 75.09375px;
}

.replica-interest-chance__media {
    margin-top: 274.84375px;
}

.replica-interest-law {
    height: 1818.1875px;
    background: #fff;
}

.replica-interest-law .container {
    padding-top: 102.671875px;
}

.replica-law-title {
    position: relative;
    height: 180.828125px;
    padding-top: 24.671875px;
    margin: 0;
    color: var(--blue);
    font-size: 45.3504px;
    font-weight: 400;
    line-height: 54.4205px;
    text-align: center;
}

.replica-law-title::before,
.replica-law-title::after {
    position: absolute;
    right: 0;
    left: 0;
    height: 1px;
    background: #9ca4ad;
    content: "";
}

.replica-law-title::before { top: 0; }
.replica-law-title::after { top: 101.75px; }

.replica-law-title strong {
    color: #bda664;
    font-weight: 400;
}

.replica-interest-law h3 {
    margin: 0;
    color: #000;
    font-size: 18px;
    font-weight: 700;
    line-height: 33.3px;
    text-align: center;
}

.replica-interest-law h3 + p,
.replica-interest-law p + h3,
.replica-interest-law .replica-list + h3,
.replica-interest-law p + .replica-list {
    margin-top: 15px;
}

.replica-interest-law p,
.replica-interest-law li {
    color: #000;
    font-size: 18px;
    line-height: 33.3px;
    text-align: center;
}

.replica-list {
    padding-left: 16px;
    margin: 15px 0 18px;
    color: #000;
    list-style: disc outside;
}

.replica-list--numbered {
    list-style: decimal outside;
}

.replica-list li {
    margin: 0;
}

.replica-vulnerable {
    height: 1111.59375px;
    background: #fff;
}

.replica-vulnerable .container {
    padding-top: 22.671875px;
}

.replica-vulnerable .ruled-title {
    margin-bottom: 140.375px;
}

.replica-vulnerable h3 {
    margin: 15px 0 0;
    color: var(--blue);
    font-size: 26.912px;
    font-weight: 400;
    line-height: 34.9856px;
    text-align: center;
}

.replica-vulnerable h3 + p + h3 {
    margin-top: 78px;
}

.replica-list--centered {
    text-align: left;
}

.replica-interest-feature {
    background: #fff;
}

.replica-interest-feature--negotiation {
    height: 579.59375px;
}

.replica-interest-feature--negotiation .replica-interest-feature__grid {
    padding-top: 18px;
}

.replica-interest-feature .ruled-title {
    margin-bottom: 55px;
}

.replica-interest-feature--release {
    height: 532.59375px;
}

.replica-interest-feature__grid--reverse .replica-copy {
    grid-column: 2;
    grid-row: 1;
}

.replica-interest-feature__grid--reverse .replica-natural-image {
    grid-column: 1;
    grid-row: 1;
}

.replica-interest-feature--release .replica-copy {
    margin-top: 74px;
}

.replica-interest-feature--release .replica-natural-image {
    margin-top: 100.9375px;
}

.replica-contact-intro {
    height: 625.96875px;
    background: #fff;
}

.replica-contact-intro__grid {
    display: grid;
    grid-template-columns: 649.5fr 441fr;
    gap: 48px;
    padding-top: 80px;
}

.replica-contact-intro h2,
.replica-library-intro h2,
.replica-legal h2 {
    margin: 0;
    color: var(--blue);
    font-size: 45.3504px;
    font-weight: 400;
    line-height: 54.4205px;
}

.replica-contact-intro h2 + p {
    margin-top: 15px;
}

.replica-contact-benefits {
    padding-top: 142.09375px;
    color: rgba(39, 64, 96, 0.75);
}

.replica-contact-benefits ul {
    width: 361px;
    padding: 0 0 0 53px;
    margin: 0;
    list-style: none;
}

.replica-contact-benefits li {
    position: relative;
    padding-left: 48px;
    font-size: 18px;
    line-height: 33.3px;
}

.replica-contact-benefits li::before {
    position: absolute;
    left: 0;
    color: #2f9f63;
    content: "✓";
    font-weight: 700;
}

.replica-contact-form,
.replica-appointment {
    background: var(--spare);
}

.replica-contact-form--interest {
    height: 1318.390625px;
}

.replica-form--wide {
    width: 800px;
}

.replica-contact-form--interest .replica-form,
.replica-review .replica-form {
    padding-top: 80px;
}

.replica-form > h2 {
    margin: 0 0 28.84375px;
    color: var(--blue);
    font-size: 34.9312px;
    font-weight: 400;
    line-height: 34.9312px;
}

.replica-form--wide > h2 {
    text-align: left;
}

.replica-form .eex-form {
    display: block;
    max-width: none;
    margin: 0;
}

.replica-form .eex-form > label,
.replica-form .eex-form > fieldset {
    display: block;
    padding: 0;
    margin: 0 0 16px;
    border: 0;
    color: var(--blue);
    font-size: 18px;
    font-weight: 400;
    line-height: 33.3px;
}

.replica-form .eex-form input[type="text"],
.replica-form .eex-form input[type="email"],
.replica-form .eex-form input[type="tel"],
.replica-form .eex-form select,
.replica-form .eex-form textarea {
    display: block;
    width: 100%;
    height: 49.296875px;
    padding: 8px 12px;
    margin: 0;
    color: var(--blue);
    border: 0;
    background: #d9e0eb;
    font-size: 18px;
    line-height: 33.3px;
}

.replica-form .eex-form textarea {
    height: 125px;
    resize: vertical;
}

.replica-form .eex-form fieldset label {
    display: block;
    height: 32px;
    color: var(--blue);
    font-weight: 400;
}

.replica-form .eex-form input[type="radio"],
.replica-form .eex-form input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0 8px 0 0;
    vertical-align: middle;
    accent-color: var(--accent);
}

.replica-form .eex-form .form-consent {
    margin: 20px 0 16px;
    color: rgba(39, 64, 96, 0.75);
    font-size: 14px;
    line-height: 19.6px;
}

.replica-form .form-consent a {
    color: rgba(39, 64, 96, 0.75);
    text-decoration: none;
}

.replica-form .eex-form .button {
    width: auto;
    min-width: 0;
}

.replica-form .form-help {
    margin: 44px 0 0;
    color: #000;
    font-size: 18px;
    line-height: 33.3px;
    text-align: left;
}

.replica-appointment--map-left {
    height: 759.890625px;
}

.replica-appointment--form-left {
    height: 809.890625px;
}

.replica-appointment--map-left .replica-form {
    margin-top: 10.9375px;
}

.replica-appointment--form-left .replica-form {
    margin-top: 60.9375px;
}

.replica-appointment--form-left .replica-map {
    margin-top: 50px;
}

.replica-map {
    width: 100%;
    height: 450px;
    border: 0;
}

.replica-form--appointment .form-help {
    margin-top: 44px;
}

.replica-review {
    height: 896.015625px;
    background: #fff;
}

.replica-review .replica-form input,
.replica-review .replica-form select,
.replica-review .replica-form textarea {
    background: #ededed !important;
}

.replica-library-intro {
    height: 326.296875px;
    background: #fff;
}

.replica-library-intro .container {
    padding-top: 80px;
}

.replica-library-intro h2 {
    text-align: center;
}

.replica-library-intro h2 + p {
    margin-top: 15px;
}

.case-section {
    height: 684.96875px;
}

.case-section > h2 {
    height: 84.96875px;
    padding: 25px 24px;
    font-size: 26.912px;
    font-weight: 400;
    line-height: 34.9856px;
}

.case-carousel,
.case-carousel__viewport,
.case-slide,
.case-slide a,
.case-slide img {
    height: 600px;
    min-height: 600px;
}

.case-carousel__controls {
    position: absolute;
    z-index: 2;
    top: 198px;
    right: 24px;
    display: block;
    padding: 0;
    border: 0;
}

.case-carousel__controls > button {
    display: none;
}

.case-carousel__dots {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.case-carousel__dots button {
    width: 10px;
    height: 10px;
    min-height: 10px;
    padding: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
}

.case-carousel__dots button[aria-current="true"] {
    background: var(--accent);
}

.replica-legal {
    background: #fff;
}

.replica-legal--privacy { height: 526.078125px; }
.replica-legal--cookie { height: 496.1875px; }

.replica-legal .container {
    padding-top: 80px;
}

.replica-legal h2 {
    margin-bottom: 15px;
}

.replica-legal p {
    margin: 0;
    color: rgba(39, 64, 96, 0.75);
    font-size: 18px;
    line-height: 33.3px;
}

.replica-legal p + p {
    margin-top: 15px;
}

.replica-legal .button {
    margin-top: 15px;
}

.replica-legal--cookie .button {
    position: relative;
    top: -58.015625px;
}

.site-footer {
    color: var(--blue);
    background: var(--accent);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.34527fr 1.03499fr 1fr 0.75972fr;
    gap: 48px;
    min-height: 195px;
    padding-top: 25px;
    padding-bottom: 25px;
}

.site-footer h2 {
    margin-bottom: 16px;
    color: var(--blue);
    font-size: 20.752px;
    font-weight: 500;
    line-height: 29.0528px;
}

.site-footer p {
    margin-bottom: 0;
    color: rgba(39, 64, 96, 0.875);
    font-size: 18px;
    line-height: 33.3px;
}

.site-footer a {
    color: rgba(39, 64, 96, 0.875);
    text-decoration: none;
}

.site-footer__grid > div:nth-child(2) p + p {
    margin-top: 16px;
}

.site-footer__brand img {
    width: 296.3125px;
    max-height: 50px;
    margin-bottom: 16px;
    object-fit: contain;
}

.social-links {
    position: relative;
    top: 3px;
    display: flex;
    width: 84px;
    height: 24px;
    padding-top: 4px;
    gap: 6px;
}

.social-links a {
    display: flex;
    width: 24px;
    height: 16px;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    font-size: 0;
    font-weight: 400;
    text-decoration: none;
}

.social-links a[aria-label="Facebook"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle fill='%230866ff' cx='12' cy='12' r='12'/%3E%3Cpath fill='%23fff' d='M14 8.5V7c0-.8.5-1 1-1h2V2.5h-2.8C11 2.5 10 4.8 10 6.7v1.8H7V12h3v9.5h4V12h2.8l.5-3.5H14Z'/%3E%3C/svg%3E");
}

.social-links a[aria-label="Instagram"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='ig' x1='0' y1='1' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23feda75'/%3E%3Cstop offset='.3' stop-color='%23fa7e1e'/%3E%3Cstop offset='.6' stop-color='%23d62976'/%3E%3Cstop offset='1' stop-color='%234f5bd5'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='24' height='24' rx='6' fill='url(%23ig)'/%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.8'%3E%3Crect x='4.5' y='4.5' width='15' height='15' rx='4'/%3E%3Ccircle cx='12' cy='12' r='3.6'/%3E%3C/g%3E%3Ccircle fill='%23fff' cx='17' cy='7' r='1.1'/%3E%3C/svg%3E");
}

.social-links a[aria-label="TikTok"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3Cpath id='tt' d='M14 3h3c.3 2 1.6 3.4 4 3.8v3.1c-1.5-.1-2.8-.5-4-1.3v6.1a6 6 0 1 1-5-5.9V12a2.9 2.9 0 1 0 2 2.7V3Z'/%3E%3C/defs%3E%3Cuse href='%23tt' fill='%2325f4ee' transform='translate(-1 -1)'/%3E%3Cuse href='%23tt' fill='%23fe2c55' transform='translate(1 1)'/%3E%3Cuse href='%23tt' fill='%23fff'/%3E%3C/svg%3E");
}

.site-footer__legal {
    position: relative;
    top: -17.5625px;
    min-height: 37.5px;
    padding: 7.5px 0;
    background: transparent;
}

.site-footer__legal .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    justify-content: center;
    font-size: 15px;
    line-height: 22.5px;
}

/* Use the same text box for links and the cookie-settings button. */
.site-footer__legal a,
.site-footer__legal .site-footer__cookie-button {
    display: inline-flex;
    margin: 0;
    padding: 0;
    font: inherit;
}

.cookie-banner {
    position: fixed;
    z-index: 2000;
    right: 50%;
    bottom: 10px;
    display: grid;
    grid-template-columns: 463.765625px minmax(0, 1fr);
    width: min(calc(100% - 20px), 900px);
    padding: 20px;
    gap: 0;
    background: rgba(241, 241, 241, 0.95);
    box-shadow: none;
    transform: translateX(50%);
}

.cookie-banner[hidden],
.cookie-preferences[hidden] {
    display: none;
}

.cookie-banner p {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 21px;
}

.cookie-banner__copy > strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 21px;
}

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
}

.cookie-banner .button {
    min-height: 32px;
    padding: 8px 16px;
    margin-left: 8px;
    background: #1b346b;
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0;
    text-transform: none;
}

.cookie-preferences {
    display: flex;
    gap: 1rem;
    margin-top: 0.8rem;
    font-size: 0.85rem;
}

.entry-card + .entry-card {
    margin-top: 2.5rem;
}

@media (max-width: 1050px) {
    .site-header__inner {
        display: grid;
        grid-template-columns: 230px 1fr;
        gap: 1.25rem;
    }

    .site-logo,
    .primary-navigation {
        margin-left: 0;
    }

    .site-logo,
    .primary-navigation {
        flex: initial;
    }

    .site-header__email {
        display: none;
    }

    .primary-navigation .menu {
        gap: 1rem;
    }

    .site-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 820px) {
    body {
        font-size: 17px;
    }

    .container {
        width: min(calc(100% - 2rem), var(--container));
    }

    .site-header,
    .site-header__inner {
        min-height: 82px;
        height: 82px;
    }

    .site-header__inner {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .site-logo__image {
        width: min(250px, 72vw);
        max-height: 58px;
    }

    .nav-toggle {
        display: block;
    }

    .primary-navigation {
        position: fixed;
        z-index: 999;
        top: 82px;
        right: 0;
        bottom: 0;
        width: min(86vw, 380px);
        padding: 2rem;
        background: var(--accent);
        box-shadow: -15px 20px 40px rgba(24, 40, 60, 0.22);
        transform: translateX(105%);
        transition: transform 220ms ease;
    }

    .primary-navigation.is-open {
        transform: translateX(0);
    }

    .primary-navigation .menu {
        display: grid;
        justify-content: stretch;
        gap: 0;
    }

    .primary-navigation a {
        display: block;
        padding: 0.85rem 0;
        border-bottom: 1px solid rgba(39, 64, 96, 0.18);
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .home-hero {
        height: 330px;
        background-position: 44% center;
    }

    .home-hero h1 {
        font-size: 52px;
        line-height: 1;
    }

    .section {
        min-height: 0;
        padding: 4.5rem 0;
    }

    .split,
    .team-grid,
    .check-list--inline,
    .form-grid,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .split--reverse .split__content,
    .split--reverse .split__media {
        order: initial;
    }

    .home-first-step {
        height: auto;
        min-height: 0;
        padding: 60px 0 130px;
    }

    .home-first-step__content {
        font-size: 17px;
        line-height: 31.45px;
    }

    .home-first-step__content h2 {
        font-size: 38px;
        line-height: 45.6px;
    }

    .home-divider-spacer {
        height: 180px;
    }

    .cross-divider {
        height: 80px;
    }

    .home-precheck {
        height: auto;
        min-height: 0;
        padding: 90px 0 130px;
    }

    .home-precheck h2 {
        font-size: 42px;
        line-height: 50.4px;
    }

    .home-precheck__grid,
    .home-benefits__grid,
    .home-results__grid {
        grid-template-columns: 1fr;
    }

    .home-precheck__grid {
        gap: 36px;
    }

    .home-benefits {
        height: auto;
        min-height: 0;
        padding: 50px 0 90px;
    }

    .home-benefits__content h2 {
        height: auto;
        margin-top: 18px;
        font-size: 42px;
        line-height: 46.2px;
    }

    .home-benefits__media {
        margin-top: 0;
    }

    .home-benefits__content {
        margin-top: 0;
    }

    .home-results {
        min-height: 0;
        padding: 80px 0;
    }

    .home-results__grid {
        gap: 48px;
    }

    .home-results__content h2 {
        font-size: 42px;
        line-height: 50.4px;
    }

    .home-footer-spacer {
        height: 100px;
    }

    .page-title,
    .page-title--about {
        min-height: 185px;
        height: 185px;
    }

    .page-title h1 {
        font-size: 38px;
        line-height: 45.6px;
    }

    .replica-about-intro,
    .replica-team,
    .replica-interest-chance,
    .replica-interest-law,
    .replica-vulnerable,
    .replica-interest-feature,
    .replica-contact-intro,
    .replica-contact-form--interest,
    .replica-appointment--map-left,
    .replica-appointment--form-left,
    .replica-review,
    .replica-library-intro,
    .replica-legal--privacy,
    .replica-legal--cookie {
        height: auto;
        min-height: 0;
        padding: 60px 0 120px;
    }

    .replica-about-intro .container,
    .replica-team__grid,
    .replica-interest-law .container,
    .replica-vulnerable .container,
    .replica-contact-intro__grid,
    .replica-contact-form--interest .replica-form,
    .replica-review .replica-form,
    .replica-library-intro .container,
    .replica-legal .container {
        padding-top: 0;
    }

    .replica-team__grid,
    .replica-interest-chance__grid,
    .replica-interest-feature__grid,
    .replica-contact-intro__grid,
    .replica-appointment__grid {
        grid-template-columns: 1fr;
    }

    .ruled-title,
    .replica-law-title {
        height: auto;
        min-height: 0;
        padding: 20px 0;
        margin-bottom: 40px !important;
        border-top: 1px solid #9ca4ad;
        border-bottom: 1px solid #9ca4ad;
        font-size: 36px;
        line-height: 43.2px;
    }

    .replica-law-title::before,
    .replica-law-title::after {
        display: none;
    }

    .replica-interest-chance__copy,
    .replica-interest-chance__media,
    .replica-interest-feature--release .replica-copy,
    .replica-interest-feature--release .replica-natural-image,
    .replica-appointment--map-left .replica-form,
    .replica-appointment--form-left .replica-form,
    .replica-appointment--form-left .replica-map {
        margin-top: 0;
    }

    .replica-interest-chance__media,
    .replica-interest-feature .replica-natural-image,
    .replica-map {
        margin-top: 36px;
    }

    .replica-interest-feature__grid--reverse .replica-copy,
    .replica-interest-feature__grid--reverse .replica-natural-image {
        grid-column: auto;
        grid-row: auto;
    }

    .replica-interest-feature__grid--reverse .replica-copy {
        order: 1;
    }

    .replica-interest-feature__grid--reverse .replica-natural-image {
        order: 2;
    }

    .replica-team__grid {
        gap: 64px;
    }

    .replica-contact-benefits {
        padding-top: 24px;
    }

    .replica-contact-benefits ul {
        width: 100%;
        padding-left: 0;
    }

    .replica-form--wide {
        width: min(calc(100% - 2rem), 800px);
    }

    .replica-appointment__grid {
        width: min(calc(100% - 2rem), var(--container));
    }

    .replica-map {
        height: 360px;
    }

    .case-section {
        height: 504.96875px;
    }

    .case-carousel,
    .case-carousel__viewport,
    .case-slide,
    .case-slide a,
    .case-slide img {
        height: 420px;
        min-height: 420px;
    }

    .case-carousel__controls {
        top: 110px;
    }

    .case-slide,
    .case-slide a {
        min-height: 420px;
    }

    .case-slide img {
        height: 420px;
    }

    .form-grid__full {
        grid-column: auto;
    }

    .site-footer__grid {
        gap: 24px;
    }

    .site-footer__legal .container {
        justify-content: center;
    }

    .cookie-banner {
        grid-template-columns: 1fr;
        bottom: 10px;
        max-height: calc(100vh - 20px);
        overflow: auto;
    }

    .cookie-banner__actions {
        justify-content: flex-start;
        margin-top: 12px;
    }

    .cookie-banner .button {
        margin: 4px 8px 4px 0;
    }
}

@media (max-width: 520px) {
    body {
        font-size: 16px;
        line-height: 1.7;
    }

    .home-hero h1 {
        font-size: 42.4px;
    }

    .page-title {
        min-height: 185px;
        height: 185px;
    }

    .ruled-title {
        margin-bottom: 2.5rem;
    }

    .ruled-title::before,
    .ruled-title::after {
        width: 100%;
    }

    .team-card {
        padding: 1.5rem;
    }

    .case-section > h2 {
        font-size: 1.45rem;
    }

    .case-slide,
    .case-slide a {
        height: 330px;
        min-height: 330px;
    }

    .case-slide img {
        height: 330px;
    }

    .case-carousel,
    .case-carousel__viewport {
        height: 330px;
        min-height: 330px;
    }

    .case-section {
        height: 414.96875px;
    }

    .cookie-banner {
        max-height: calc(100vh - 1rem);
        overflow: auto;
    }

    .cookie-preferences {
        flex-direction: column;
        gap: 0.3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
