:root {
    --brand: #15a2b8;
    --brand-dark: #075061;
    --ink: #172033;
    --muted: #667085;
    --line: #d7e5ea;
    --soft: #eef6f8;
    --paper: #ffffff;
    --accent: #f2a900;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.fregister-site {
    background: var(--soft);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
    margin: 0;
}

a {
    color: var(--brand-dark);
    font-weight: 800;
    text-decoration: none;
}

.site-header {
    align-items: center;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 18px;
    justify-content: space-between;
    min-height: 72px;
    padding: 14px clamp(18px, 4vw, 56px);
    position: sticky;
    top: 0;
    z-index: 20;
}

.brand {
    align-items: center;
    color: var(--ink);
    display: inline-flex;
    gap: 10px;
    font-size: 20px;
    font-weight: 900;
}

.brand-mark {
    align-items: center;
    background: var(--brand);
    border-radius: 8px;
    color: #ffffff;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.site-nav {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: flex-end;
}

.site-nav ul {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a {
    color: #344054;
    font-size: 14px;
}

.site-nav a:hover {
    color: var(--brand-dark);
}

.site-nav .mod-languages ul {
    align-items: center;
    display: flex;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav .mod-languages a {
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--brand-dark);
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    padding: 6px 8px;
    text-transform: uppercase;
}

.site-nav .mod-languages .lang-active a {
    background: var(--brand);
    border-color: var(--brand);
    color: #ffffff;
}

.nav-login,
.button {
    background: var(--brand);
    border: 2px solid var(--brand);
    border-radius: 8px;
    color: #ffffff !important;
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
    padding: 10px 14px;
}

.nav-toggle {
    background: transparent;
    border: 0;
    color: var(--brand);
    cursor: pointer;
    display: none;
    font-size: 30px;
    font-weight: 900;
}

.pagebuilder-hero {
    background:
        linear-gradient(120deg, rgba(7, 80, 97, 0.9), rgba(23, 32, 51, 0.72)),
        url('/images/fregister-hero.jpg') center / cover;
    color: #ffffff;
    padding: clamp(74px, 12vw, 142px) clamp(20px, 5vw, 72px);
}

.pagebuilder-hero .moduletable,
.pagebuilder-hero .custom {
    margin: 0 auto;
    max-width: 1180px;
}

.site-main,
.template-band {
    margin: 0 auto;
    max-width: 1240px;
    padding: clamp(42px, 6vw, 82px) clamp(18px, 4vw, 48px);
}

.template-band {
    max-width: none;
}

.template-band > * {
    margin-left: auto;
    margin-right: auto;
    max-width: 1180px;
}

.template-band-light {
    background: #ffffff;
}

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

.layout-wrap {
    margin: 0 auto;
    max-width: 1180px;
}

.layout-wrap.has-sidebar {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(220px, 0.3fr) minmax(0, 1fr);
}

.component-area,
.site-sidebar .moduletable,
.template-grid .moduletable {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: clamp(22px, 4vw, 38px);
}

.component-area:has(.sppb-section) {
    background: transparent;
    border: 0;
    padding: 0;
}

.com-content-article > .page-header,
.com-content-article > .article-info {
    display: none;
}

.fr-home-hero {
    background:
        linear-gradient(120deg, rgba(7, 80, 97, 0.92), rgba(23, 32, 51, 0.76)),
        radial-gradient(circle at 82% 12%, rgba(21, 162, 184, 0.38), transparent 34%);
    border-radius: 8px;
    color: #ffffff;
    margin: calc(clamp(22px, 4vw, 38px) * -1) calc(clamp(22px, 4vw, 38px) * -1) 28px;
    padding: clamp(46px, 8vw, 88px) clamp(24px, 6vw, 72px);
}

.fr-home-hero .eyebrow {
    color: #80e4ef;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.fr-home-hero .lead {
    font-size: clamp(19px, 2.4vw, 26px);
    max-width: 820px;
}

.fr-card-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 28px 0;
}

.fr-card-grid article {
    background: #f7fbfc;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
}

.fr-card-grid p,
.fr-section p {
    color: var(--muted);
}

.fr-section {
    border-top: 1px solid var(--line);
    padding-top: 28px;
}

.fr-kicker {
    color: var(--brand);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.fr-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.fr-button-secondary {
    background: #ffffff;
    border: 2px solid var(--brand);
    border-radius: 8px;
    color: var(--brand-dark);
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
    padding: 10px 14px;
}

.fr-showcase {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 0;
    grid-template-columns: 0.9fr 1.1fr;
    margin: 30px 0;
    overflow: hidden;
}

.fr-showcase-copy {
    padding: clamp(24px, 4vw, 42px);
}

.fr-dashboard-preview {
    background: #eef6f8;
    border-left: 1px solid var(--line);
    min-height: 360px;
    padding: 22px;
}

.fr-preview-bar {
    align-items: center;
    background: var(--ink);
    border-radius: 8px 8px 0 0;
    color: #ffffff;
    display: flex;
    font-weight: 900;
    justify-content: space-between;
    padding: 13px 16px;
}

.fr-preview-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.fr-preview-item {
    background: #ffffff;
    border-left: 5px solid var(--brand);
    border-radius: 8px;
    display: grid;
    gap: 6px;
    padding: 14px 16px;
}

.fr-preview-item small {
    color: var(--muted);
    font-weight: 700;
}

.fr-pill {
    background: #e5fbff;
    border-radius: 999px;
    color: var(--brand-dark);
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    padding: 6px 10px;
    width: max-content;
}

.fr-comparison-wrap {
    overflow-x: auto;
}

.fr-comparison {
    border-collapse: collapse;
    min-width: 760px;
    width: 100%;
}

.fr-comparison th,
.fr-comparison td {
    border-bottom: 1px solid var(--line);
    padding: 14px 12px;
    text-align: left;
    vertical-align: top;
}

.fr-comparison th {
    background: var(--brand-dark);
    color: #ffffff;
    font-size: 14px;
}

.fr-comparison td:first-child {
    color: var(--ink);
    font-weight: 900;
}

.fr-check {
    color: var(--brand-dark);
    font-weight: 900;
}

.fr-muted {
    color: var(--muted);
}

.fr-language-note {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    margin-top: 18px;
    padding: 14px 16px;
}

.fr-legal-page {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: clamp(26px, 5vw, 54px);
}

.fr-legal-page h1 {
    font-size: clamp(36px, 5vw, 64px);
}

.fr-legal-page h2 {
    border-top: 1px solid var(--line);
    font-size: clamp(24px, 3vw, 34px);
    margin-top: 28px;
    padding-top: 24px;
}

.fr-legal-page .lead {
    color: var(--ink);
    font-size: clamp(18px, 2vw, 23px);
    max-width: 880px;
}

.fr-legal-page li {
    margin-bottom: 8px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(42px, 7vw, 86px);
    line-height: 0.98;
}

h2 {
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.05;
}

h3 {
    font-size: 22px;
    line-height: 1.2;
}

.site-footer {
    align-items: center;
    background: #ffffff;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: space-between;
    padding: 34px clamp(18px, 4vw, 56px);
}

.site-footer p {
    color: var(--muted);
    margin: 6px 0 0;
}

.footer-legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.footer-legal-nav a {
    color: var(--brand-dark);
    font-size: 13px;
    font-weight: 900;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        background: #ffffff;
        border-bottom: 1px solid var(--line);
        display: none;
        left: 0;
        padding: 14px 18px 18px;
        position: absolute;
        right: 0;
        top: 72px;
    }

    .site-nav.is-open,
    .site-nav.is-open ul {
        display: grid;
        justify-content: stretch;
    }

    .template-grid,
    .fr-card-grid,
    .fr-showcase,
    .layout-wrap.has-sidebar {
        grid-template-columns: 1fr;
    }

    .fr-dashboard-preview {
        border-left: 0;
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 560px) {
    .site-header {
        min-height: 64px;
        padding: 12px 16px;
    }

    .site-nav {
        top: 64px;
    }
}
