/*
 * Rank Circles — white header, orange accent, black footer, Cabin type.
 * Brand colours follow Site Settings: --color-primary (accent) and --color-secondary (footer).
 * Every class is prefixed with `rc-` so custom CMS HTML never collides with the Tailwind CDN utilities.
 */
body.theme-rank-circle {
    --rc-primary: var(--color-primary, #ff512f);
    --rc-primary-end: #f09819;
    --rc-ink: #1c1d3e;
    --rc-footer: var(--color-secondary, #111111);
    --rc-copy: #647484;
    --rc-bg: #ffffff;
    --rc-text: #1c1d3e;
    --rc-muted: #647484;

    --cms-bg-page: var(--rc-bg);
    --cms-surface: #ffffff;
    --cms-primary: var(--rc-primary);
    --cms-primary-dark: var(--rc-primary);
    --cms-ink: var(--rc-ink);
    --cms-slate-200: #e6e8ee;
    --cms-text-muted: var(--rc-muted);
    --cms-gradient: none;

    font-family: "Cabin", system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background: var(--rc-bg);
    color: var(--rc-text);
    -webkit-font-smoothing: antialiased;
}

body.theme-rank-circle main {
    background: var(--rc-bg);
}

body.theme-rank-circle .cms-page section + section {
    border-top: 0;
}

/* Tailwind CDN ships `.collapse { visibility: collapse }`, which hides open Bootstrap menus. */
body.theme-rank-circle .collapse {
    visibility: visible;
}

body.theme-rank-circle a {
    text-decoration: none;
}

body.theme-rank-circle img {
    max-width: 100%;
    height: auto;
}

body.theme-rank-circle .customer-portal-nav img {
    height: 45px;
    width: auto;
    max-width: 180px;
}

body.theme-rank-circle .rc-container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem;
}

body.theme-rank-circle .rc-home {
    min-height: 40vh;
}

body.theme-rank-circle .rc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 1rem;
    border: 0;
    border-radius: 0.25rem;
    background: linear-gradient(90deg, var(--rc-primary) 0%, var(--rc-primary-end) 80%);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
}

body.theme-rank-circle .rc-btn:hover,
body.theme-rank-circle .rc-btn:focus-visible {
    color: #ffffff;
    filter: brightness(1.05);
}

body.theme-rank-circle .rc-nav {
    background: #ffffff;
    padding: 0.625rem 0;
}

body.theme-rank-circle .rc-nav-inner {
    padding: 0;
}

body.theme-rank-circle .rc-nav-logo {
    display: block;
    height: 45px;
    width: auto;
}

body.theme-rank-circle .rc-nav-toggle {
    border: 0;
    background: transparent;
    padding: 0.4rem;
    margin-left: 0.5rem;
}

body.theme-rank-circle .rc-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px 0;
    background: var(--rc-primary);
}

body.theme-rank-circle .rc-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
}

body.theme-rank-circle .rc-nav-link {
    display: block;
    padding: 0.45rem 0.25rem;
    color: var(--rc-ink);
    font-weight: 500;
    text-transform: capitalize;
}

body.theme-rank-circle .rc-nav-link:hover,
body.theme-rank-circle .rc-nav-link:focus-visible {
    color: var(--rc-primary);
}

body.theme-rank-circle .rc-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

body.theme-rank-circle .rc-account-toggle {
    display: inline-flex;
    align-items: center;
    border: 0;
    background: transparent;
    color: var(--rc-ink);
    font-size: 1.75rem;
    line-height: 1;
    padding: 0;
}

body.theme-rank-circle .rc-account-menu {
    min-width: 14rem;
    padding: 0.5rem 0;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1.5rem rgba(28, 29, 62, 0.15);
}

body.theme-rank-circle .rc-account-email {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--rc-ink);
    font-weight: 500;
}

body.theme-rank-circle .rc-account-menu .dropdown-item {
    padding: 0.75rem 1rem;
    color: var(--rc-ink);
    background: transparent;
    border: 0;
    width: 100%;
    text-align: left;
}

body.theme-rank-circle .rc-account-menu .dropdown-item:hover,
body.theme-rank-circle .rc-account-menu .dropdown-item:focus-visible {
    background: #f7f7fb;
    color: var(--rc-primary);
}

body.theme-rank-circle .rc-footer {
    background: #111111;
    padding: 4rem 0 2.5rem;
    text-align: center;
    color: #f8f9fa;
}

body.theme-rank-circle .rc-footer-links {
    line-height: 2;
}

body.theme-rank-circle .rc-footer-links a {
    margin: 0 0.5rem;
    color: #f8f9fa;
}

body.theme-rank-circle .rc-footer-links a:hover,
body.theme-rank-circle .rc-footer-links a:focus-visible {
    color: #ffffff;
}

body.theme-rank-circle .rc-footer-facebook {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.7rem;
    height: 1.7rem;
    margin-left: 0.35rem;
    border: 1px solid #f8f9fa;
    border-radius: 50%;
    font-size: 0.85rem;
    vertical-align: middle;
}

body.theme-rank-circle .rc-footer-copy {
    margin: 1.25rem 0 0;
    color: #647484;
}

@media (min-width: 992px) {
    body.theme-rank-circle .rc-nav-links {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0;
        margin: 0 auto;
    }

    body.theme-rank-circle .rc-nav-link {
        margin: 0 1.25rem;
        padding: 0;
    }

    body.theme-rank-circle .rc-nav-toggle {
        display: none;
    }
}

body.theme-rank-circle .rc-hero {
    padding: 3rem 0 1rem;
}

body.theme-rank-circle .rc-hero-copy {
    text-align: center;
}

body.theme-rank-circle .rc-hero-copy h1 {
    margin: 0.5rem 0;
    font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
    font-weight: 300;
    line-height: 1.5;
    color: var(--rc-ink);
}

body.theme-rank-circle .rc-hero-copy h1 span {
    font-weight: 700;
    text-transform: uppercase;
}

body.theme-rank-circle .rc-hero-copy p {
    margin: 1rem 0;
    font-size: 1.25rem;
    color: #6c757d;
}

body.theme-rank-circle .rc-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
}

body.theme-rank-circle .rc-btn-lg {
    padding: 0.7rem 1.4rem;
    font-size: 1.05rem;
}

body.theme-rank-circle .rc-btn-outline {
    background: transparent;
    border: 1px solid #212529;
    color: #212529;
}

body.theme-rank-circle .rc-btn-outline:hover,
body.theme-rank-circle .rc-btn-outline:focus-visible {
    color: #ffffff;
    background: #212529;
    filter: none;
}

body.theme-rank-circle .rc-btn-pill {
    border-radius: 30px;
    margin-top: 1.5rem;
}

body.theme-rank-circle .rc-wave {
    display: block;
    width: 100%;
    height: 8em;
    margin: 0;
}

body.theme-rank-circle .rc-wave-bg > use {
    animation: rc-wave-move 20s linear infinite;
}

body.theme-rank-circle .rc-wave-bg > use:nth-child(2) {
    animation-duration: 10s;
}

body.theme-rank-circle .rc-wave-bg > use:nth-child(3) {
    animation-duration: 8s;
}

@keyframes rc-wave-move {
    0% { transform: translate(-90px, 0%); }
    100% { transform: translate(85px, 0%); }
}

body.theme-rank-circle .rc-section {
    padding: 3rem 0;
}

body.theme-rank-circle .rc-narrow {
    max-width: 880px;
}

body.theme-rank-circle .rc-intro {
    margin: 0;
    text-align: center;
    font-size: clamp(1.35rem, 1rem + 1vw, 1.75rem);
    font-weight: 400;
    line-height: 1.6;
    color: #111111;
}

body.theme-rank-circle .rc-intro span,
body.theme-rank-circle .rc-pricing-head span,
body.theme-rank-circle .rc-price-title,
body.theme-rank-circle .rc-guarantee a {
    color: var(--rc-primary);
}

body.theme-rank-circle .rc-feature-copy h2,
body.theme-rank-circle .rc-faq-head h2,
body.theme-rank-circle .rc-guarantee h2 {
    margin: 0 0 0.75rem;
    color: var(--rc-ink);
    font-weight: 700;
}

body.theme-rank-circle .rc-feature-copy p,
body.theme-rank-circle .rc-guarantee p {
    margin: 0 0 1rem;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #4b5160;
}

body.theme-rank-circle .rc-pricing {
    position: relative;
    overflow: hidden;
    padding: 3rem 0 4rem;
}

body.theme-rank-circle .rc-pricing-head {
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
    text-align: center;
}

body.theme-rank-circle .rc-pricing-head h2 {
    margin: 0 0 0.5rem;
    color: var(--rc-ink);
}

body.theme-rank-circle .rc-pricing-head p {
    margin: 0;
    color: #111111;
}

body.theme-rank-circle .rc-hexagon-bg {
    position: absolute;
    left: 50%;
    top: 50%;
    display: flex;
    width: 100%;
    transform: translateX(-50%);
    pointer-events: none;
}

body.theme-rank-circle .rc-hexagon {
    position: relative;
    width: 10em;
    height: 17.32em;
    margin: 0 auto;
    border-radius: 1em / 0.5em;
    background: #ff0844;
    opacity: 0.05;
}

body.theme-rank-circle .rc-hexagon:nth-child(2n) {
    margin-top: 20px;
}

body.theme-rank-circle .rc-hexagon::before,
body.theme-rank-circle .rc-hexagon::after {
    content: "";
    position: absolute;
    width: inherit;
    height: inherit;
    border-radius: inherit;
    background: inherit;
}

body.theme-rank-circle .rc-hexagon::before { transform: rotate(60deg); }
body.theme-rank-circle .rc-hexagon::after { transform: rotate(-60deg); }

body.theme-rank-circle .rc-price {
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin-top: 1rem;
    padding: 3rem 1.75rem;
    border-radius: 7px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 10px 30px rgba(28, 29, 62, 0.06);
}

body.theme-rank-circle .rc-price::before {
    content: "";
    position: absolute;
    top: -10%;
    left: -25%;
    width: 150%;
    height: 300px;
    background: #fafaff;
    transform: rotate(-10deg);
}

body.theme-rank-circle .rc-price:hover {
    box-shadow: 0 20px 50px rgba(153, 153, 153, 0.5);
}

body.theme-rank-circle .rc-price-watermark {
    position: absolute;
    left: 85%;
    top: 50%;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(0, 0, 0, 0.04);
    transform: translate(-50%, -50%) rotate(-90deg);
}

body.theme-rank-circle .rc-price-value,
body.theme-rank-circle .rc-price-title,
body.theme-rank-circle .rc-price-note,
body.theme-rank-circle .rc-price-list,
body.theme-rank-circle .rc-price .rc-btn {
    position: relative;
}

body.theme-rank-circle .rc-price-value h3 {
    margin: 0;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    color: var(--rc-ink);
}

body.theme-rank-circle .rc-price-value span,
body.theme-rank-circle .rc-price-note {
    display: block;
    margin: 0.75rem 0;
    color: #5f5f5f;
}

body.theme-rank-circle .rc-price-title {
    margin: 0.5rem 0 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
}

body.theme-rank-circle .rc-price-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.theme-rank-circle .rc-price-list li + li {
    margin-top: 0.45rem;
}

body.theme-rank-circle .rc-guarantee {
    padding: 2.5rem 2rem 1.5rem;
    border-radius: 0.5rem;
    background: #ffffff;
    box-shadow: 0 0.5rem 1.5rem rgba(28, 29, 62, 0.08);
}

body.theme-rank-circle .rc-faq-head {
    margin-bottom: 2rem;
    text-align: center;
}

body.theme-rank-circle .rc-faq-line {
    display: block;
    width: 80px;
    height: 2px;
    margin: 0.75rem auto 0;
    background: var(--rc-primary);
}

body.theme-rank-circle .rc-faq {
    margin: 1rem 0;
}

body.theme-rank-circle .rc-faq-toggle {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 0;
    border-radius: 0.5rem;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(28, 29, 62, 0.08);
    color: var(--rc-ink);
    font-weight: 600;
    text-align: left;
}

body.theme-rank-circle .rc-faq-toggle::before {
    content: "+";
    margin-right: 0.75rem;
    color: var(--rc-primary);
}

body.theme-rank-circle .rc-faq-answer {
    padding: 1rem 1.25rem 0.25rem;
    color: #4b5160;
}

body.theme-rank-circle .rc-faq-more {
    margin-top: 1.5rem;
    text-align: center;
    color: #111111;
}

body.theme-rank-circle .rc-faq-more a,
body.theme-rank-circle .rc-faq-answer a,
body.theme-rank-circle .rc-legal a {
    color: var(--rc-primary);
}

body.theme-rank-circle .rc-contact {
    padding: 5rem 0 6rem;
    background: #ffffff;
}

body.theme-rank-circle .rc-contact-head {
    margin-bottom: 3rem;
    text-align: center;
}

body.theme-rank-circle .rc-contact-head h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.5rem, 1.6rem + 2vw, 4rem);
    font-weight: 300;
    color: #111111;
}

body.theme-rank-circle .rc-contact-head p {
    margin: 0;
    color: #111111;
}

body.theme-rank-circle .rc-contact-card {
    height: 100%;
    padding: 2.5rem 2rem;
    border-radius: 0.75rem;
    background: #ffffff;
    box-shadow: 0 0.5rem 1.5rem rgba(28, 29, 62, 0.08);
    text-align: center;
}

body.theme-rank-circle .rc-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.25rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--rc-primary) 12%, #ffffff);
    color: var(--rc-primary);
    font-size: 1.75rem;
}

body.theme-rank-circle .rc-contact-card h2 {
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--rc-ink);
}

body.theme-rank-circle .rc-contact-card p {
    margin: 0 0 1.5rem;
    color: #616368;
}

body.theme-rank-circle .rc-legal h1,
body.theme-rank-circle .rc-legal h2 {
    margin: 0 0 0.75rem;
    color: var(--rc-ink);
    font-weight: 700;
}

body.theme-rank-circle .rc-legal h2 {
    margin-top: 2rem;
}

body.theme-rank-circle .rc-legal p,
body.theme-rank-circle .rc-legal li {
    color: #4b5160;
    line-height: 1.7;
}

body.theme-rank-circle .rc-legal p {
    margin: 0 0 0.75rem;
}

body.theme-rank-circle .rc-legal ul {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}

body.theme-rank-circle .rc-legal li + li {
    margin-top: 0.35rem;
}

@media (min-width: 576px) {
    body.theme-rank-circle .rc-hero-actions {
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    body.theme-rank-circle .rc-hero-copy,
    body.theme-rank-circle .rc-hero-actions {
        text-align: left;
        justify-content: flex-start;
    }
}
