/* Copare marketing site. Loaded after the Small Apps template (template.css, MIT, Themefisher): it re-colours the template with the Copare palette from
   DESIGN.md, swaps its web fonts for the system stack (no third-party font requests), and styles the parts the template does not have (plans,
   module list, prose pages). Tokens: brand navy #2b4277, navy deep #101c37, navy light #7c90c0, brand gold #fbae47, ink hsl(220 30% 6%). */
:root {
    --navy: #2b4277;
    --navy-deep: #101c37;
    --navy-light: #7c90c0;
    --gold: #fbae47;
    --ink: hsl(220, 30%, 6%);
    --ink-soft: hsl(220, 20%, 35%);
    --line: hsl(220, 20%, 88%);
    --canvas: #f6f7fa;
    --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html, body { font-family: var(--font); color: var(--ink-soft); -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; }
h1, h2, h3, h4, h5, h6, p, a, li, span, small { font-family: var(--font); }
h1, h2, h3, h4, h5, h6 { color: var(--ink); letter-spacing: -0.01em; font-weight: 600; }
.gradient-banner h1, .page-hero h1 { color: #fff; font-weight: 700; }
.nav-link { font-weight: 600; }
a:hover, a:focus { color: var(--navy); }
.text-primary { color: var(--navy) !important; }
:focus-visible { outline: 3px solid var(--navy-light); outline-offset: 2px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--navy); padding: 8px 14px; border-radius: 4px; z-index: 2000; }
.skip-link:focus { left: 8px; }

/* Template colours */
.bg-blue, .call-to-action-app.bg-blue { background: var(--navy); }
.bg-gray { background: var(--canvas); }
.gradient-banner::before { background-image: linear-gradient(45deg, #4d6bb3 0%, var(--navy) 38%, var(--navy-deep) 100%); }
.btn-main-md, .btn-main, .btn-main-sm { background: var(--navy); border-radius: 8px; }
.btn-main-md:hover, .btn-main:hover { background: #1c2d54; }
.gradient-banner .btn-main-md { background: #fff; color: var(--navy); font-weight: 600; }
.gradient-banner .btn-main-md:hover { background: var(--canvas); color: var(--navy-deep); }
.btn-ghost-light { display: inline-block; padding: 16px 30px; margin-left: 12px; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 8px; color: #fff; font-weight: 600; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.main-nav .navbar-nav .nav-item.active .nav-link:before { background: var(--navy); }
.main-nav .navbar-nav .nav-item .nav-link:hover { color: var(--navy); }
.main-nav .navbar-brand img { height: 34px; width: auto; }
.nav-cta { margin-left: 12px; padding: 8px 18px !important; border: 1px solid var(--navy); border-radius: 8px; color: var(--navy) !important; font-weight: 600; }
.nav-cta:hover { background: var(--navy); color: #fff !important; }
.scroll-top-to { background: var(--navy); }
.footer-main .block img { height: 34px; width: auto; }

/* Hero: the modules, as the product draws them (the same circle marks the app uses). */
.module-panel { background: rgba(255, 255, 255, 0.96); border-radius: 16px; padding: 28px; box-shadow: 0 24px 60px rgba(16, 28, 55, 0.35); max-width: 440px; margin: 0 auto; }
.module-panel h2 { font-size: 1rem; color: var(--ink); margin: 0 0 4px; }
.module-panel p { font-size: 0.875rem; margin: 0 0 20px; color: var(--ink-soft); }
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 8px; }
.module-grid div { text-align: center; font-size: 0.8125rem; color: var(--ink); }
.module-grid img { width: 56px; height: 56px; display: block; margin: 0 auto 6px; }

/* The three plain statements under the hero */
.statements h3 { font-size: 1.125rem; margin-top: 1.25rem; }
.statements p { font-size: 0.9375rem; }
.statements img { width: 56px; height: 56px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
@media (max-width: 991px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 32px 28px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--navy); }
.plan h3 { font-size: 1.375rem; margin: 0; }
.plan .tag { color: var(--ink-soft); font-size: 0.9375rem; margin: 2px 0 18px; }
.plan .price { font-size: 2.25rem; font-weight: 700; color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 0.9375rem; font-weight: 400; color: var(--ink-soft); }
.plan .annual { font-size: 0.875rem; margin: 6px 0 20px; font-variant-numeric: tabular-nums; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan li { position: relative; padding: 7px 0 7px 26px; font-size: 0.9375rem; border-top: 1px solid var(--line); }
.plan li:first-child { border-top: 0; }
.plan li::before { content: "\e64c"; font-family: "themify"; position: absolute; left: 0; top: 8px; color: var(--navy); font-size: 0.8125rem; }
.plan .btn-main-md { text-align: center; padding: 14px 20px; }
.plans-note { text-align: center; font-size: 0.875rem; margin-top: 24px; }

/* Modules: the template's service grid, with the product's own marks */
.service-item img { width: 48px; height: 48px; margin-bottom: 14px; }
.module-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 32px; }
.module-list h3 { font-size: 1.0625rem; margin: 10px 0 6px; }
.module-list p { font-size: 0.9375rem; margin: 0; }
.module-list img { width: 48px; height: 48px; }

/* Questions */
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); font-size: 1.0625rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--navy); font-size: 1.25rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 12px 0 0; }

/* Contact band */
.contact-band { color: #fff; text-align: center; }
.contact-band h2, .contact-band p, .contact-band a { color: #fff; }
.contact-band a.mail { font-size: 1.25rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* Prose pages: terms, privacy, refunds */
.page-hero { background: var(--navy); padding: 70px 0 56px; }
.page-hero h1 { color: #fff; font-size: 2.25rem; margin: 0 0 8px; }
.page-hero p { color: rgba(255, 255, 255, 0.82); margin: 0; }
.prose { max-width: 760px; margin: 0 auto; padding: 56px 0 90px; }
.prose h2 { font-size: 1.375rem; margin: 2.2rem 0 0.7rem; }
.prose h3 { font-size: 1.125rem; margin: 1.6rem 0 0.5rem; }
.prose p, .prose li { font-size: 1rem; line-height: 1.7; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: 0.9375rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--canvas); color: var(--ink); }
.prose .meta { color: var(--ink-soft); font-size: 0.9375rem; }
.prose .summary { background: var(--canvas); border: 1px solid var(--line); border-radius: 10px; padding: 18px 22px; margin: 0 0 1.5rem; }
.prose .summary p { margin: 0 0 6px; }
.prose .summary p:last-child { margin: 0; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } [data-aos] { opacity: 1 !important; transform: none !important; } }
