:root {
    --page: #ffffff;
    --surface: #f7f7fa;
    --card: #ffffff;
    --ink: #202129;
    --muted: #595d6c;
    --line: #d9dae2;
    --primary: #b82d2c;
    --primary-dark: #982525;
    --primary-soft: #fff0ef;
    --gray-600: #595d6c;
    --gray-700: #4c505d;
    --gray-900: #202129;
    color-scheme: light;
}
:root[data-theme="dark"] {
    --page: #0d0f15;
    --surface: #151821;
    --card: #1c202c;
    --ink: #f4f5f8;
    --muted: #bcc1cf;
    --line: #3c4352;
    --primary: #f29b93;
    --primary-soft: #302024;
    --gray-50: #151821;
    --gray-100: #1c202c;
    --gray-200: #303745;
    --gray-300: #646d80;
    --gray-600: #bcc1cf;
    --gray-700: #cbd0dc;
    --gray-800: #e0e3eb;
    --gray-900: #f4f5f8;
    --white: #1c202c;
    --border-light: #3c4352;
    color-scheme: dark;
}
html { background: var(--page); scroll-behavior: smooth; scroll-padding-top: 110px; }
body { color: var(--ink); background: var(--page); }
body.menu-open { overflow: hidden !important; }
main { display: block; }
[hidden] { display: none !important; }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible, [role="tabpanel"]:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 5px;
}
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 1200; background: var(--card); color: var(--ink); padding: 12px; }
.skip-link:focus { top: 12px; }
#navbar, #navbar.scrolled { background: var(--page); border-bottom: 1px solid var(--line); padding: 12px 0; }
.nav-inner { gap: 16px; }
.nav-links { gap: 18px; padding-left: 16px; }
.brand-mark { display: block; width: 122px; height: 50px; flex-shrink: 0; }
.brand-mark img, .nav-logo .brand-mark img, .footer-brand .brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-mark .logo-dark, [data-theme="dark"] .brand-mark .logo-light { display: none; }
[data-theme="dark"] .brand-mark .logo-dark { display: block; }
[data-theme="dark"] .brand-mark { background: #000; border-radius: 4px; }
.nav-logo { flex-shrink: 0; }
.theme-toggle { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--card); color: var(--ink); }
.theme-toggle:hover { border-color: var(--primary); }
.theme-toggle svg { width: 22px; height: 22px; }
.theme-sun, [data-theme="dark"] .theme-moon { display: none; }
[data-theme="dark"] .theme-sun { display: block; }
.hamburger { border: 1px solid var(--line); border-radius: 8px; width: 42px; height: 42px; justify-content: center; align-items: center; background: var(--card); }
.hamburger span { background: var(--ink); }
.mobile-menu { background: var(--card); max-width: calc(100vw - 24px); overflow-y: auto; gap: 4px; padding-top: 76px; }
.mobile-menu .brand-mark { margin-bottom: 16px; }
.mobile-close { color: var(--ink); border: 0; background: transparent; width: 42px; height: 42px; top: 12px; left: auto; right: 12px; }
.mobile-menu .btn-primary { color: #fff; }
#hero { background: #b82d2c; padding-top: 100px; }
#hero::before { background: var(--page); }
.hero-h1 { color: var(--ink); font-size: clamp(2.2rem, 4.4vw, 3.7rem); }
.hero-grid > * { min-width: 0; }
.hero-pill, .hero-stat-card, .about-img-badge, .who-card, .feature-card { background: var(--card); color: var(--ink); border-color: var(--line); }
.hero-social { left: 8px; }
.hero-social a { color: var(--primary); background: var(--card); border-color: var(--line); width: 30px; height: 30px; margin: 0; }
.hero-social a:hover { color: #fff; background: #b82d2c; }
.hero-circle-wrap { overflow: hidden; border-color: var(--card); }
.hero-play { border: 2px solid #fff; background: #b82d2c; color: #fff; }
.video-status { position: absolute; bottom: 10px; left: 12px; right: 12px; background: #111d; color: #fff; font-size: 12px; text-align: center; border-radius: 8px; }
.video-status:empty { display: none; }
.btn { line-height: 1.5; white-space: normal; text-align: center; justify-content: center; }
.btn-primary, .btn-red-solid { background: #b82d2c; color: #fff; }
.btn-primary:hover, .btn-red-solid:hover { background: #982525; color: #fff; }
.btn-white, .nav-actions .btn-white { background: #fff; color: #b82d2c; border: 1px solid #b82d2c; }
.btn-white:hover { background: #fff0ef; color: #982525; }
.nav-actions .btn-ghost { color: var(--ink); border-color: var(--line); background: var(--card); }
.btn-outline:hover, .btn-red-outline:hover { background: #b82d2c; color: #fff; }
.hero-built-badge { color: var(--primary); }
.hero-stat-card { max-width: 95%; }
.who-card h3, .feature-card h3 { color: var(--ink); }
.feature-card { position: relative; }
.feature-card.wide { min-width: 0; }
.feature-num { color: var(--line); }
#usecases, #integration { background: linear-gradient(var(--page), var(--surface)); }
.usecases-tabs { background: var(--surface); border: 1px solid var(--line); }
.tab-btn { color: var(--muted); }
.tab-btn.active { background: #b82d2c; color: #fff; }
.tab-content[hidden] { display: none; }
.integration-app, .integration-center { min-width: 0; max-width: 230px; }
.integration-app h3, .integration-center h3 { font-size: .9rem; margin-bottom: 3px; }
.usecase-image img { max-height: 430px; object-fit: cover; }
.toggle-label { background: transparent; border: 0; padding: 8px; }
.toggle-switch { border: 0; }
.toggle-switch.yearly { background: #b82d2c; }
#saveBadge:not([hidden]) { display: inline-block; }
.price-card.featured { transform: none; }
.price-card.featured:hover { transform: translateY(-8px); }
.price-popular { background: #b82d2c; color: #fff; }
.price-pending { font-size: 1.5rem; }
.price-card .price-num { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.cta-inner, .cta-text h2 { color: #fff; }
.cta-actions .btn-red-outline { color: #ffb0a8; border-color: #ffb0a8; }
.cta-actions .btn-red-outline:hover { color: #fff; border-color: #b82d2c; }
.invoice-faq { background: var(--surface); }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.faq-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.faq-card summary { color: var(--ink); cursor: pointer; font-weight: 700; }
.faq-card summary::marker, .faq-card summary:hover { color: var(--primary); }
.faq-card p { color: var(--muted); line-height: 1.8; margin-top: 16px; }
.footer-brand .brand-mark { width: 160px; height: 66px; }
.footer-col h2 { color: var(--ink); font-size: 14px; margin-bottom: 16px; font-weight: 800; }
.footer-link-disabled { display: block; color: var(--muted); font-size: .9rem; opacity: .8; cursor: default; margin-bottom: 8px; }
.footer-bottom a { color: var(--primary); }
.footer-socials { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-socials a { margin: 0; }
.social-btn:hover { background: #b82d2c; color: #fff; border-color: #b82d2c; }
.page-utilities { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 12px; z-index: 800; }
.page-utilities a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 4px 18px #0003; }
.whatsapp-utility { background: #14733d; color: #fff; font-size: 24px; }
.back-to-top { background: var(--card); color: var(--ink); border: 1px solid var(--line); opacity: 0; visibility: hidden; }
.back-to-top.is-visible { opacity: 1; visibility: visible; }
.scroll-reveal { opacity: 0; transform: translateY(24px); }
.scroll-reveal.is-revealed { opacity: 1; transform: none; transition: opacity .65s ease, transform .65s ease; }
.theme-changing :is(body, nav, section, footer, .theme-toggle) { transition: background-color .18s ease, color .18s ease; }
@media (max-width: 1100px) {
    .nav-links, .nav-actions { display: none; }
    .theme-toggle { margin-left: auto; }
    .hamburger { display: flex; }
}
@media (max-width: 1024px) {
    #hero { background: var(--surface); }
    #hero::before { width: 100%; border-radius: 0; }
    .hero-ring { border-color: var(--line); }
    .hero-social { display: none; }
}
@media (max-width: 768px) {
    #hero { background: var(--surface); }
    #hero::before { width: 100%; border-radius: 0; }
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-social { display: none; }
    .hero-content { text-align: center; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-pills, .hero-cta { justify-content: center; }
    .hero-built-badge { letter-spacing: .04em; }
    .hero-image-block { padding: 24px 0; }
    .hero-ring { width: min(92vw, 360px); height: min(92vw, 360px); border-color: var(--line); }
    .hero-circle-wrap { width: min(82vw, 320px); height: min(82vw, 320px); }
    .hero-stat-card { left: 0; bottom: 0; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
    .faq-grid { grid-template-columns: 1fr; }
    .cta-inner { padding: 36px 24px; }
    .cta-actions { width: 100%; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero-eyebrow-text { font-size: 10px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .integration-arrow { display: none; }
    .integration-app, .integration-center { width: 100%; max-width: none; }
    .page-utilities { right: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .scroll-reveal { opacity: 1; transform: none; }
}
