@font-face { font-family: Inter; src: url('/fonts/inter-latin-wght.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root {
  --brand: #6D28D9; --brand-2: #8B5CF6; --brand-ink: #4C1D95; --ink: #17132B; --muted: #5B5873; --line: #E7E5F0; --canvas: #F6F5FB; --card: #fff;
  --ok: #047857; --ok-bg: #ECFDF5; --warn-bg: #FFFBEB; --radius: 18px; --shadow: 0 18px 40px -24px rgba(23, 19, 43, .35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--canvas); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
pre { background: #17132B; color: #EDE9FE; padding: 16px 18px; border-radius: 12px; overflow-x: auto; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(246, 245, 251, .88); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 22px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.logo img { width: 30px; height: 30px; }
.logo:hover { text-decoration: none; }
.nav { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink); font-weight: 500; font-size: .96rem; }
.nav a[aria-current="page"] { color: var(--brand); }
.nav a.btn-primary { color: #fff; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font: inherit; cursor: pointer; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-weight: 650; font-size: 1rem; border: 1px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -12px rgba(109, 40, 217, .8); }
.btn-primary:hover { background: #5B21B6; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #CFCBE0; }
.btn-sm { padding: 8px 14px; font-size: .92rem; }
.btn[disabled] { opacity: .6; cursor: default; }

/* hero */
.hero { padding: 72px 0 36px; background: radial-gradient(900px 480px at 80% -10%, #E9E3FF, transparent 70%); }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 720px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.chip b { color: var(--ink); }
.shot { border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; overflow: hidden; }
.hero .shot { margin-top: 44px; }

/* sections */
.section { padding: 80px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } .section { padding: 56px 0; } .hero { padding-top: 44px; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); margin: 0; }
.icon { width: 42px; height: 42px; border-radius: 12px; background: #F3E8FF; color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; margin-top: 64px; }
.row.flip { grid-template-columns: 1.25fr 1fr; }
.row.flip .text { order: 2; }
@media (max-width: 860px) { .row, .row.flip { grid-template-columns: 1fr; gap: 24px; } .row.flip .text { order: 0; } }
.ticks { list-style: none; padding: 0; margin: 14px 0 0; }
.ticks li { position: relative; padding-left: 28px; margin: 8px 0; color: var(--muted); }
.ticks li::before { content: ''; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='%23047857' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.ticks li b { color: var(--ink); }
.tiles { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.tile { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; font-weight: 600; font-size: .95rem; }
.badge { width: 32px; height: 32px; border-radius: 9px; color: #fff; font-weight: 800; font-size: .8rem; display: flex; align-items: center; justify-content: center; }
.tile .lock { font-size: .72rem; font-weight: 700; color: #92400E; background: #FEF3C7; padding: 2px 7px; border-radius: 999px; }

/* video */
.video { position: relative; border-radius: 16px; overflow: hidden; background: #0F0B1E; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.video video { width: 100%; height: 100%; object-fit: cover; }

/* pricing */
.toggle { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin: 10px 0 30px; }
.toggle button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font: 600 .95rem Inter, sans-serif; color: var(--muted); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.toggle .save { font-size: .75rem; margin-left: 6px; background: var(--ok-bg); color: var(--ok); padding: 2px 7px; border-radius: 999px; }
.toggle button[aria-pressed="true"] .save { background: rgba(255, 255, 255, .2); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 24px; justify-content: center; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; text-align: left; }
.plan.featured { border: 2px solid var(--brand); box-shadow: 0 24px 60px -30px rgba(109, 40, 217, .55); }
.plan .price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 2px; }
.plan .price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .per { color: var(--muted); font-size: .92rem; min-height: 1.5em; }
.plan .btn { margin: 20px 0 6px; width: 100%; }
.plan .ticks { flex: 1; }
table.compare { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: .95rem; }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { background: var(--canvas); font-size: .85rem; color: var(--muted); }
.compare td:not(:first-child) { width: 30%; }
.compare .y { color: var(--ok); font-weight: 700; } .compare .n { color: #A8A4BA; }
.table-wrap { overflow-x: auto; }

/* faq */
details.faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin: 10px 0; }
details.faq summary { font-weight: 650; cursor: pointer; }
details.faq p { color: var(--muted); margin: 10px 0 0; }

/* guides */
.guide-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); }
.guide-card:hover { text-decoration: none; border-color: #CFCBE0; box-shadow: var(--shadow); }
.guide-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: var(--canvas); }
.guide-card .body { padding: 18px 20px; }
.guide-card .body p { color: var(--muted); margin: 6px 0 0; font-size: .95rem; }
.guide-card .meta { font-size: .8rem; color: var(--brand); font-weight: 700; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 46px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: .9rem; display: flex; align-items: center; justify-content: center; }
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; } .prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #3F3C52; }
.note { background: var(--warn-bg); border: 1px solid #FDE68A; border-radius: 12px; padding: 12px 16px; color: #78350F; font-size: .95rem; }
.crumbs { font-size: .9rem; margin-bottom: 14px; }

/* footer */
.foot { background: #17132B; color: #C9C5DA; padding: 56px 0 30px; margin-top: 0; }
.foot a { color: #EDE9FE; }
.foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .foot .cols { grid-template-columns: 1fr 1fr; } }
.foot h4 { color: #fff; font-size: .9rem; margin: 0 0 10px; }
.foot ul { list-style: none; padding: 0; margin: 0; } .foot li { margin: 6px 0; font-size: .94rem; }
.foot .legal { border-top: 1px solid #2E2A45; margin-top: 36px; padding-top: 18px; font-size: .85rem; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.cta-band { background: linear-gradient(120deg, #4C1D95, #6D28D9 60%, #8B5CF6); color: #fff; border-radius: 24px; padding: 48px; text-align: center; }
.cta-band h2 { color: #fff; } .cta-band p { color: #EDE9FE; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
