/* Shared visual layer. Load after existing page CSS. Business behavior is unchanged. */
.site-light {
    --bg: #ffffff;
    --section: #f8f9f8;
    --card: #ffffff;
    --text: #202725;
    --secondary: #596560;
    --muted: #68736f;
    --border: #e5eae6;
    --emerald: #00a67e;
    --ink-green: #007356;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
.site-light .site-container { width: min(100%, 1440px); padding-inline: clamp(22px, 4.5vw, 68px); }
.site-light :where(h1, h2, h3, h4) { font-family: 'Montserrat', sans-serif; overflow-wrap: anywhere; }
.site-light :where(a, button, input):focus-visible { outline: 3px solid var(--ink-green); outline-offset: 4px; }
.site-light :where(.section-kicker, .legal-link) { color: var(--ink-green); }
.site-light .section-kicker { font-size: .68rem; letter-spacing: .15em; margin-bottom: 16px; }
.site-light .skip-link { position: absolute; top: 8px; left: 16px; z-index: 10; padding: 12px 18px; background: var(--text); color: white; transform: translateY(-160%); }
.site-light .skip-link:focus { transform: translateY(0); }
.site-light .navbar { position: sticky; top: 0; z-index: 50; padding-block: 17px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); }
.site-light .nav-inner { gap: 28px; }
.site-light .site-brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 9px; padding: 0; background: transparent; text-decoration: none; }
.site-light .site-symbol { width: 34px; height: auto; }
.site-light .site-wordmark { width: 157px; height: auto; }
.site-light .navbar nav { gap: clamp(20px, 2.7vw, 38px); }
.site-light .navbar nav a { display: inline-flex; align-items: center; min-height: 44px; color: #3e4844; font-size: .83rem; transition: color .2s ease; }
.site-light .navbar nav a:hover { color: var(--ink-green); }
.site-light .hub-home-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 44px; padding: 10px 16px; border: 1px solid var(--border); border-radius: 6px; color: var(--text); background: transparent; text-decoration: none; font-size: .82rem; }
.site-light .hub-home-link:hover { background: #f2f7f4; border-color: #a6bdb0; }
.site-light .navbar nav a[aria-current="page"] { color: var(--ink-green); }
.site-light .site-footer { padding: 0; border: 0; background: white; }
.site-light .site-footer > .site-container { display: block; }
.site-light .footer-shell { padding: clamp(35px, 4vw, 55px) 0 28px; background: #fff; border-radius: 0; border-top: 1px solid var(--border); }
.site-light .site-footer-top,
.site-light .site-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-light .site-email { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; font-size: clamp(.9rem, 1.4vw, 1.14rem); color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.site-light .site-email span { flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #b4cdc0; border-radius: 50%; color: var(--ink-green); transition: background .2s ease; }
.site-light .site-email:hover span { background: #dcebe2; }
.site-light .footer-tagline { margin: 11px 0 0 43px; color: var(--muted); font-size: .75rem; letter-spacing: .01em; }
.site-light .site-footer-bottom { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--border); }
.site-light .footer-links { margin: 0; gap: 0 22px; }
.site-light .footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--secondary); font-size: .74rem; }
.site-light .footer-links a:hover,
.site-light .footer-links a[aria-current="page"] { color: var(--ink-green); }
.site-light .copyright { font-size: .7rem; color: var(--muted); }
.site-light .site-button,
.site-light .hub-button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 46px; padding: 12px 21px; border-radius: 6px; background: var(--emerald); color: #092c21; font-weight: 600; text-decoration: none; transition: background .2s ease; }
.site-light .site-button:hover,
.site-light .hub-button:hover { background: #16b38c; }
.site-light .hub-button:disabled { opacity: .55; }
.site-light .ui-arrow { display: inline-grid; flex: 0 0 auto; place-items: center; line-height: 0; }
.site-light .ui-arrow svg { display: block; width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Editorial legal pages; original copy and content links are preserved. */
.site-light .legal-main { padding: clamp(48px, 6vw, 80px) 0 64px; }
.site-light .legal-container { max-width: 1160px; }
.site-light .legal-hero { max-width: 820px; margin-bottom: 48px; padding-bottom: 36px; border-bottom: 1px solid var(--border); }
.site-light .legal-hero h1 { font-size: clamp(2.15rem, 4.3vw, 3.65rem); font-weight: 600; line-height: 1.12; letter-spacing: -.05em; margin-bottom: 20px; }
.site-light .legal-summary { max-width: 680px; font-size: 1rem; line-height: 1.75; }
.site-light .legal-updated { font-size: .75rem; color: var(--muted); }
.site-light .legal-content { max-width: none; }
.site-light .legal-section { display: grid; grid-template-columns: minmax(160px, .75fr) minmax(0, 1.65fr); gap: 36px; padding: 30px 0; }
.site-light .legal-section:first-child { padding-top: 0; }
.site-light .legal-section h2 { font-size: 1.06rem; line-height: 1.5; margin: 0; letter-spacing: -.02em; }
.site-light .legal-section-copy { min-width: 0; }
.site-light .legal-section :where(p, li) { font-size: .94rem; line-height: 1.85; }
.site-light .legal-link { text-decoration-thickness: 1px; }
.site-light .legal-link:hover { color: #004d39; }
.site-light .contact-options { gap: 0; margin-top: 0; }
.site-light .contact-option { border: 0; border-radius: 0; padding: 12px 28px 28px; background: transparent; }
.site-light .contact-option:first-child { padding-left: 0; }
.site-light .contact-option + .contact-option { border-left: 1px solid var(--border); }
.site-light .contact-option h2 { font-size: 1.05rem; line-height: 1.5; }
.site-light .contact-option p { font-size: .94rem; line-height: 1.75; }
.site-light .contact-details { margin-top: 30px; gap: 0; padding: 28px 32px; background: var(--section); border-radius: 10px; }
.site-light .contact-detail { padding: 0; border: 0; background: transparent; }
.site-light .contact-detail + .contact-detail { padding-left: 32px; border-left: 1px solid var(--border); }
.site-light .contact-detail span { color: var(--ink-green); }
.site-light .contact-response { margin-top: 20px; font-size: .86rem; }

/* Merchant account visual shell. Preserve IDs, hidden states and every interaction. */
.site-light .hub-main { background: #fff; padding: clamp(40px, 5vw, 64px) 0 72px; }
.site-light .hub-container { max-width: 1180px; }
.site-light .hub-intro { max-width: 720px; margin-bottom: 34px; }
.site-light .hub-intro h1 { font-size: clamp(2.3rem, 4.3vw, 3.6rem); font-weight: 600; line-height: 1.15; letter-spacing: -.05em; }
.site-light .hub-intro > p:last-child,
.site-light .hub-card-heading > p:last-child { font-size: .96rem; line-height: 1.7; }
.site-light .hub-card { border-radius: 10px; border-color: var(--border); background: white; }
.site-light .login-card { border-top: 3px solid var(--emerald); box-shadow: 0 12px 40px -30px #334d3f; }
.site-light .login-card h2,
.site-light .dashboard h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.25; }
.site-light .form-field input { min-height: 48px; background: #fbfcfb; border-color: #bccdc1; border-radius: 6px; }
.site-light .form-field input:focus { border-color: var(--ink-green); outline: 2px solid #b6dcc9; outline-offset: 2px; }
.site-light .form-field label { color: #33483c; }
.site-light .form-error,
.site-light .dashboard-error,
.site-light .plan-status[data-status="expired"],
.site-light .plan-status[data-status="suspended"] { color: #a12d2d; }
.site-light .plan-status[data-status="active"] { color: #006d4f; background: #eaf7ef; border-color: #bbdac9; }
.site-light .text-button { color: var(--ink-green); min-height: 44px; }
.site-light .manual-renewal { background: #edf5f0; border-color: #c0dacb; border-radius: 10px; }
.site-light .renewal-plan-card { border-radius: 8px; }
.site-light .renewal-plan-card .hub-button { margin-top: auto; }
.site-light .renewal-price { margin-bottom: 22px; }
.site-light .hub-message code { overflow-wrap: anywhere; }

/* Standalone 404 uses absolute asset/link URLs to work at nested missing routes. */
.site-light.error-page { display: flex; flex-direction: column; min-height: 100vh; }
.site-light .error-main { flex: 1; padding: 64px 0 80px; text-align: center; }
.site-light .error-code { font-family: 'Montserrat', sans-serif; color: #c4ddcd; font-size: clamp(6rem, 16vw, 11rem); font-weight: 600; line-height: 1; margin-bottom: 24px; }
.site-light .error-main h1 { font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 600; line-height: 1.15; }
.site-light .error-main p:not(.error-code) { color: var(--secondary); margin-bottom: 28px; }

@media (max-width: 1024px) {
    .site-light .navbar nav { gap: 20px; }
    .site-light .site-footer-bottom { flex-direction: column-reverse; align-items: flex-start; gap: 8px; }
    .site-light .footer-links { justify-content: flex-start; }
}
@media (max-width: 768px) {
    .site-light .navbar { padding-block: 14px; }
    .site-light .nav-inner { gap: 0; }
    .site-light .site-brand { padding: 0; gap: 7px; }
    .site-light .site-symbol { width: 30px; }
    .site-light .site-wordmark { width: 139px; }
    .site-light .menu-toggle { width: 44px; height: 44px; flex-basis: 44px; border-color: var(--border); }
    .site-light .menu-toggle:hover { background: #edf4ef; border-color: #a9c4b5; }
    .site-light .navbar nav { gap: 8px; }
    .site-light .navbar nav.is-open { padding: 14px 4px 4px; }
    .site-light .navbar nav a { min-height: 48px; justify-content: space-between; padding: 12px 16px; border-color: var(--border); background: #f5f8f6; color: var(--text); font-size: .86rem; }
    .site-light .navbar nav a:hover { background: #e3efe7; }
    .site-light .hub-navbar .nav-inner { gap: 12px; }
    .site-light .hub-home-link { padding-inline: 12px; font-size: .78rem; gap: 12px; }
    .site-light .site-footer { padding: 0; }
    .site-light .site-footer-top { flex-direction: column; align-items: flex-start; gap: 22px; }
    .site-light .site-footer-bottom { margin-top: 22px; padding-top: 12px; }
    .site-light .site-email { gap: 12px; font-size: .82rem; }
    .site-light .site-email span { width: 28px; height: 28px; }
    .site-light .footer-links { gap: 0 18px; }
    .site-light .legal-main { padding: 40px 0 44px; }
    .site-light .legal-hero { margin-bottom: 32px; padding-bottom: 26px; }
    .site-light .legal-section { grid-template-columns: 1fr; gap: 14px; padding: 26px 0; }
    .site-light .legal-hero h1 { font-size: clamp(2rem, 7.8vw, 3rem); }
    .site-light .contact-option { padding: 24px 0; }
    .site-light .contact-option + .contact-option { border-left: 0; border-top: 1px solid var(--border); }
    .site-light .contact-details { padding: 24px; margin-top: 10px; gap: 24px; }
    .site-light .contact-detail + .contact-detail { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--border); }
    .site-light .hub-main { padding: 36px 0 48px; }
    .site-light .hub-card { padding: 24px; }
    .site-light .hub-intro { margin-bottom: 26px; }
    .site-light .subscription-heading { flex-wrap: wrap; }
}
@media (max-width: 390px) {
    .site-light .footer-shell { padding: 30px 0; }
    .site-light .site-email { gap: 8px; font-size: .77rem; }
}
@media (prefers-reduced-motion: reduce) {
    html:has(.site-light) { scroll-behavior: auto; }
    .site-light *, .site-light *::before, .site-light *::after { transition: none !important; }
}
