@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

.royal-home { color: var(--ink); background: var(--paper); font: 16px/1.55 'DM Sans', system-ui, sans-serif; }
.royal-home .wrap { width: min(1180px, calc(100% - 72px)); margin-inline: auto; }
.royal-home :is(figure, p, h1, h2, h3) { margin: 0; }
.royal-home :is(h1, h2, h3) { font-family: var(--display); line-height: 1.02; text-wrap: balance; }
.royal-home h1 { text-wrap: pretty; }
.royal-home h2 { letter-spacing: -.035em; }
.royal-home h3 { font-size: clamp(1.4rem, 2.3vw, 2rem); }
.royal-home .eyebrow { display: block; font-size: .77rem; font-weight: 700; margin-bottom: 18px; }
.royal-home .eyebrow::before { content: none; }
.royal-home .royal-hero .eyebrow { color: #b0dcfa; }
.royal-home .example-copy > p:not(.eyebrow) { margin: 9px 0 15px; }
.royal-home .examples-note { margin-top: 12px; }
.royal-home .offer-primary p { margin: 10px 0 16px; }
.royal-home .offer-primary h3 { margin-top: 15px; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.royal-home .offer-support > h3 { margin-bottom: 16px; }
.royal-home :is(.process-list, .price-grid) p { margin-top: 8px; }
.royal-home .price-grid h3 { font-size: 1.3rem; margin-bottom: 13px; }
.royal-home .price-grid .price-fit { margin-top: auto; }
.royal-home .royal-note p + p { margin-top: 4px; }
.royal-nav-actions, .royal-markets { display: flex; align-items: center; gap: 8px; }
.royal-home .royal-nav nav { flex-wrap: wrap; justify-content: center; gap: 6px clamp(10px, 1.35vw, 20px); }
.royal-nav-actions { flex: none; }
.royal-home .royal-name { flex: none; }
.royal-home .royal-name img { width: clamp(140px, 18vw, 208px); height: auto; }
.royal-home .royal-nav a { white-space: nowrap; }
.royal-markets { gap: 0; border: 1px solid #435c7d; border-radius: 6px; font-size: .78rem; font-weight: 700; }
.royal-markets a { padding: 5px 7px; }
.royal-markets a[aria-current] { color: #a3ddff; background: #233753; }
.royal-home a:focus-visible, .royal-home button:focus-visible { outline: 2px solid #6aa8ed; outline-offset: 3px; }
.royal-home .royal-form { min-width: 0; box-shadow: 0 14px 35px #374c6420; }
.royal-home .royal-form :is(input, select, textarea) { padding: 9px; }
.royal-home .royal-form .royal-button { justify-content: center; cursor: pointer; }
.royal-home .g-recaptcha { max-width: 100%; overflow-x: auto; }
.royal-home .contact-details a { width: fit-content; color: #174fa4; font-weight: 700; overflow-wrap: anywhere; }
.royal-home .contact-details a:hover, .royal-home .royal-footer-links a:hover { text-decoration: underline; }
.royal-home .footer-brand img { filter: none; }
.royal-home .royal-footer-links { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 29px; font-size: .9rem; }
.royal-usa .offer-primary { grid-template-columns: 1fr; }
.royal-usa .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (prefers-reduced-motion: no-preference) {
    .royal-home [data-reveal] { transition: opacity .55s ease, transform .55s ease; }
    .royal-home [data-reveal].pending { opacity: 0; transform: translateY(18px); }
    .royal-home .process-list[data-reveal] { opacity: 1; transform: none; }
}
@supports (grid-template-rows: subgrid) {
    @media (min-width: 721px) {
        .royal-home .price-grid .price-fit { margin-top: 13px; }
    }
}
@media (max-width: 800px) { .royal-home .wrap { width: calc(100% - 40px); } }
@media (max-width: 720px) {
    .royal-usa .price-grid { grid-template-columns: 1fr; }
    .royal-home .royal-nav nav { justify-content: start; }
}
@media (max-width: 660px) { .royal-home .wrap { width: calc(100% - 32px); } }
@media (max-width: 360px) {
    .royal-home .royal-name img { width: 130px; }
    .royal-home .nav-quote { padding-inline: 7px; }
}

html:has(.royal-home) { scroll-padding-top: calc(var(--royal-header-height, 72px) + 12px); }
.royal-home .royal-header { position: sticky; top: 0; z-index: 50; }
.royal-home .royal-nav nav a[aria-current] { color: #9dd8ff; text-decoration: underline; text-underline-offset: 4px; }

.royal-tools :is(.qr-page, .faq-page) { color: var(--ink); background: var(--paper); }
.royal-tools .qr-page { overflow: clip; }
.royal-tools :is(.qr-hero, .faq-hero) {
    background: radial-gradient(ellipse at 78% 52%, #1c3e6d, transparent 57%), #0b1522;
    color: #f8fbff;
    padding-block: clamp(43px, 7vw, 82px);
}
.royal-tools :is(.qr-hero-copy h1, .faq-hero h1) {
    font-size: clamp(2.7rem, 6vw, 5.7rem);
    letter-spacing: -.055em;
    margin: 8px 0 15px;
}
.royal-tools :is(.qr-hero-copy > p, .faq-intro) { margin: 0; color: #c4d2e6; opacity: 1; }
.royal-tools :is(.qr-hero, .qr-cta) .eyebrow, .royal-tools .faq-eyebrow { color: #9dd8ff; opacity: 1; }
.royal-tools .qr-privacy-note { background: #182c46; border: 1px solid #3a5477; border-radius: 9px; }
.royal-tools .qr-privacy-note i { color: #9dd8ff; }
.royal-tools .qr-mini-card { background: #142943; border: 1px solid #4c6789; border-radius: 14px; }
.royal-tools .qr-mini-card strong { color: #9dd8ff; }
.royal-tools .qr-mini-pattern span { border-radius: 2px; }
.royal-tools :is(.qr-builder-card, .qr-result-card, .qr-use-grid article, .qr-guide-grid article, .faq-index) {
    border: 1px solid #cad9e8;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 12px 28px #374c6410;
}
.royal-tools :is(.qr-result-card, .faq-index) { top: calc(var(--royal-header-height, 72px) + 18px); }
.royal-tools .qr-section-title h2 { margin-bottom: 5px; }
.royal-tools .qr-step-number { background: #e4eefc; color: #1855b9; border-radius: 7px; }
.royal-tools :is(.qr-tool-section, .qr-seo-content, .faq-content) { background: #f5f6f8; }
.royal-tools .qr-info-section { background: #e7eef7; }
.royal-tools .qr-info-section .section-heading h2, .royal-tools .qr-seo-content .section-heading h2 { margin-bottom: .25em; }
.royal-tools :is(.qr-use-grid, .qr-guide-grid) h3 { margin-bottom: 8px; }
.royal-tools :is(.qr-cta, .faq-cta-card) { background: #112136; border-radius: 13px; }
.royal-tools .qr-cta h2, .royal-tools .faq-cta-card h2 { margin-bottom: 10px; }
.royal-tools :is(.qr-page .btn-primary, .faq-cta-button) { color: #fff; background: #1855d9; border-radius: 7px; box-shadow: none; }
.royal-tools .faq-index a:hover { background: #e7eef7; color: #174fa4; }
.royal-tools .faq-group { scroll-margin-top: 0; }
.royal-tools .faq-group h2 { margin-bottom: 20px; }
.royal-tools .faq-item summary::after { color: #1855b9; }
@media (prefers-reduced-motion: no-preference) {
    .royal-tools :is(.faq-hero .container, .qr-hero-copy) { animation: royal-in .65s ease both; }
    .royal-tools .faq-item[open] .faq-answer { animation: royal-in .23s ease both; }
}
