html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; color: #0B0B0F; background: #fff; -webkit-font-smoothing: antialiased; }
.container-x { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #3f3f46; }
.eyebrow::before { content: ''; width: 28px; height: 3px; border-radius: 2px; background: #FBBF24; }
.hand { font-family: 'Caveat', cursive; }
.underline-hand { background: linear-gradient(transparent 82%, #FBBF24 82%, #FBBF24 92%, transparent 92%); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.25rem; border-radius: 999px; font-weight: 600; font-size: .875rem; transition: all .2s; cursor: pointer; white-space: nowrap; }
.btn-dark { background: #0B0B0F; color: #fff; }
.btn-dark:hover { background: #2A2A36; transform: translateY(-1px); }
.btn-outline { border: 1.5px solid #0B0B0F; color: #0B0B0F; background: #fff; }
.btn-outline:hover { background: #0B0B0F; color: #fff; }
.btn-brand { background: #FBBF24; color: #0B0B0F; }
.btn-brand:hover { background: #F59E0B; transform: translateY(-1px); }
.btn-ghost-light { border: 1.5px solid rgba(255,255,255,.35); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: #0B0B0F; }

/* Nav */
.nav-link { position: relative; font-size: .8rem; font-weight: 500; color: #27272a; padding-block: .5rem; }
.nav-link::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: #FBBF24; transition: width .25s; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Hero */
.hero-bg { background: radial-gradient(900px 400px at 85% 10%, rgba(251,191,36,.18), transparent 60%), linear-gradient(180deg, #fafafa, #fff); }
.dots { background-image: radial-gradient(#d4d4d8 1px, transparent 1px); background-size: 18px 18px; }

/* Cards */
.card { background: #fff; border: 1px solid #ececf0; border-radius: 1rem; padding: 1.5rem; box-shadow: 0 1px 2px rgba(0,0,0,.03); transition: all .25s; }
.card:hover { box-shadow: 0 16px 40px -16px rgba(11,11,15,.2); transform: translateY(-3px); }
.dark-card { background: linear-gradient(160deg, #181820, #101016); border: 1px solid #2A2A36; border-radius: .9rem; padding: 1.25rem; transition: all .25s; }
.dark-card:hover { border-color: #FBBF24; transform: translateY(-3px); }
.icon-box { width: 44px; height: 44px; border-radius: .75rem; display: grid; place-items: center; }

/* Pricing */
.plan { border: 1px solid #ececf0; border-radius: 1rem; padding: 1.5rem; background: #fff; display: flex; flex-direction: column; transition: all .25s; position: relative; }
.plan:hover { box-shadow: 0 20px 44px -18px rgba(11,11,15,.25); transform: translateY(-4px); }
.plan.popular { background: #0B0B0F; color: #fff; border: 2px solid #FBBF24; }
.plan ul li { display: flex; gap: .55rem; align-items: flex-start; font-size: .85rem; }

/* FAQ */
.faq-item { border-bottom: 1px solid #e4e4e7; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left; padding: 1rem 0; font-weight: 500; font-size: .92rem; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: #52525b; font-size: .875rem; line-height: 1.6; }
.faq-item.open .faq-a { max-height: 240px; padding-bottom: 1rem; }
.faq-item.open .faq-ico { transform: rotate(45deg); }
.faq-ico { transition: transform .25s; }

/* Forms */
.field { width: 100%; border: 1.5px solid #e4e4e7; border-radius: .75rem; padding: .7rem .9rem; font-size: .9rem; background: #fff; transition: all .2s; outline: none; }
.field:focus { border-color: #FBBF24; box-shadow: 0 0 0 4px rgba(251,191,36,.2); }
.field.invalid { border-color: #ef4444; }
.err { color: #ef4444; font-size: .75rem; margin-top: .25rem; display: none; }
.field.invalid ~ .err { display: block; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Floating */
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.floaty { animation: floaty 5s ease-in-out infinite; }

/* Signature pad */
.sig-pad { touch-action: none; background: #fff; border: 2px dashed #d4d4d8; border-radius: .9rem; cursor: crosshair; width: 100%; height: 180px; }

/* Toast */
#toast-root { position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 100; display: flex; flex-direction: column; gap: .5rem; }
.toast { background: #0B0B0F; color: #fff; padding: .8rem 1.1rem; border-radius: .75rem; font-size: .85rem; box-shadow: 0 10px 30px rgba(0,0,0,.3); border-left: 4px solid #FBBF24; animation: tin .3s ease; }
@keyframes tin { from { opacity: 0; transform: translateY(10px); } }

/* Legal prose */
.prose-legal h2 { font-size: 1.25rem; font-weight: 700; margin: 2rem 0 .6rem; }
.prose-legal p, .prose-legal li { color: #52525b; line-height: 1.75; font-size: .95rem; }
.prose-legal ul { list-style: disc; padding-left: 1.25rem; margin: .5rem 0; }

/* Mobile menu */
#mobile-menu { transition: max-height .3s ease; max-height: 0; overflow: hidden; }
#mobile-menu.open { max-height: 520px; }

.logo-dark { filter: invert(1); }
