:root {
  --navy: #0f172a;
  --navy-2: #1e293b;
  --blue: #3b82f6;
  --blue-d: #1d4ed8;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --alt: #f8fafc;
  --green: #10b981;
  --amber: #f59e0b;
  --red: #ef4444;
  --radius: 18px;
  --shadow: 0 18px 40px -18px rgba(15, 23, 42, 0.35);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: #fff; line-height: 1.6; font-size: 17px; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-d); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 12px; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 14px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow-box { max-width: 780px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 680px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.site-header .bar { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--navy); text-decoration: none; letter-spacing: -0.02em; }
.brand img { border-radius: 9px; }
.nav-desktop { display: flex; gap: 22px; margin-left: 12px; flex: 1; }
.nav-desktop a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.97rem; }
.nav-desktop a:hover { color: var(--blue-d); }
.head-cta { display: flex; align-items: center; gap: 16px; }
.link-login { color: var(--text); font-weight: 600; text-decoration: none; }
.nav-mobile { display: none; margin-left: auto; position: relative; }
.nav-mobile summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary span, .nav-mobile summary span::before, .nav-mobile summary span::after { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; content: ""; position: relative; }
.nav-mobile summary span::before { position: absolute; top: -7px; }
.nav-mobile summary span::after { position: absolute; top: 7px; }
.nav-mobile nav { position: absolute; right: 0; top: 52px; width: 230px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; display: grid; }
.nav-mobile nav a { padding: 12px 14px; text-decoration: none; color: var(--text); font-weight: 600; border-radius: 10px; }
.nav-mobile nav a:hover { background: var(--alt); }
@media (max-width: 920px) {
  .nav-desktop, .head-cta { display: none; }
  .nav-mobile { display: block; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 14px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: transform 0.15s, box-shadow 0.15s, background 0.15s; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: 0.93rem; border-radius: 12px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(59, 130, 246, 0.9); }
.btn-primary:hover { background: var(--blue-d); }
.btn-ghost { background: transparent; color: var(--navy); border-color: #cbd5e1; }
.btn-ghost:hover { border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 24px 0 14px; }
.center .cta-row, .cta-row.center { justify-content: center; }
.micro { font-size: 0.9rem; color: #cbd5e1; margin: 0; }
.micro.dark { color: var(--muted); }

/* hero */
.hero { background: linear-gradient(160deg, #0f172a 0%, #14254f 55%, #1d4ed8 150%); color: #e2e8f0; padding: 56px 0 72px; overflow: hidden; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #34d399, #fbbf24 55%, #f87171); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.hero .btn-ghost:hover { border-color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 800; color: #93c5fd; margin-bottom: 14px; }
.eyebrow.dark { color: var(--blue-d); }
.lead { font-size: 1.2rem; color: #cbd5e1; }
.section .lead, .page-hero .lead, .band .lead { color: var(--muted); }
.hero-visual { position: relative; min-height: 520px; }
.hero-phone { position: absolute; right: 6%; top: 0; width: 250px; z-index: 2; transform: rotate(3deg); }
.hero-browser { position: absolute; left: 0; top: 70px; width: 460px; transform: rotate(-3deg); opacity: 0.98; }
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; display: flex; justify-content: center; }
  .hero-phone { position: static; transform: none; width: min(260px, 70vw); }
  .hero-browser { display: none; }
}

/* device frames */
.device img { width: 100%; }
.device.phone { border: 8px solid #0b1220; border-radius: 36px; overflow: hidden; background: #0b1220; box-shadow: var(--shadow); width: min(260px, 100%); margin: 0 auto; }
.device.browser { border: 1px solid #cbd5e1; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.device.browser .bar { height: 30px; background: #e2e8f0; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.device.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; display: block; }
.device.browser .bar i:nth-child(1) { background: #f87171; }
.device.browser .bar i:nth-child(2) { background: #fbbf24; }
.device.browser .bar i:nth-child(3) { background: #34d399; }

/* sections */
.section { padding: 76px 0; }
.section.alt { background: var(--alt); }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.video-box video { width: 100%; aspect-ratio: 16 / 9; background: var(--navy); border-radius: var(--radius); box-shadow: var(--shadow); }
.ticks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 18px; height: 18px; border-radius: 50%; background: #dcfce7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%2316a34a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps li { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.steps .num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; font-weight: 800; margin-bottom: 12px; }
.steps li:nth-child(1) .num { background: var(--green); }
.steps li:nth-child(2) .num { background: var(--amber); }
.steps li:nth-child(3) .num { background: var(--red); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 32px; }
@media (max-width: 860px) { .cards3 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; text-decoration: none; color: var(--text); display: block; transition: box-shadow 0.15s, transform 0.15s; }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card.plain { transition: none; }
.card .more { color: var(--blue-d); font-weight: 700; }

/* badges */
.badge { display: inline-block; font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.badge-free { background: #dcfce7; color: #166534; }
.badge-pro { background: var(--blue-d); color: #fff; }
.badge-free-pro { background: #e0e7ff; color: #3730a3; }

/* carousel */
.carousel { margin-top: 36px; }
.carousel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding: 0 4px; }
.carousel-head p { margin: 0; font-weight: 600; }
.arrows { display: flex; gap: 8px; }
.arrow { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--border); background: #fff; font-size: 1.2rem; cursor: pointer; color: var(--navy); }
.arrow:hover { border-color: var(--navy); }
.track { position: relative; list-style: none; margin: 0; padding: 6px 2px 18px; display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.slide { flex: 0 0 min(1040px, 92%); scroll-snap-align: center; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 34px; box-shadow: 0 8px 30px -18px rgba(15, 23, 42, 0.3); }
.slide-copy p { color: var(--text); }
@media (max-width: 760px) { .slide { grid-template-columns: 1fr; padding: 22px; gap: 20px; } .slide-visual { order: -1; } }
.dots { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.dot { width: 11px; height: 11px; border-radius: 50%; border: 0; padding: 0; background: #cbd5e1; cursor: pointer; }
.dot[aria-current="true"] { background: var(--blue); transform: scale(1.3); }

/* prices */
.prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 860px; margin: 34px auto; }
@media (max-width: 760px) { .prices { grid-template-columns: 1fr; } }
.price { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; }
.price .amount { font-size: 2rem; font-weight: 800; color: var(--navy); margin: 0; letter-spacing: -0.02em; }
.price .ticks { margin: 18px 0 24px; flex: 1; }
.price.pro { background: var(--navy); border-color: var(--navy); color: #e2e8f0; box-shadow: var(--shadow); }
.price.pro h3, .price.pro .amount { color: #fff; }
.price.pro .muted { color: #94a3b8; }
.price.pro .ticks li::before { background-color: #1e3a8a; }

/* faq */
.faq { display: grid; gap: 12px; margin-top: 28px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue-d); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 8px; }

/* band */
.band { background: linear-gradient(160deg, #0f172a, #1d4ed8 160%); color: #cbd5e1; padding: 68px 0; }
.band h2 { color: #fff; }
.band .btn { margin-top: 10px; }

/* inner pages */
.page-hero { padding: 54px 0 34px; background: var(--alt); border-bottom: 1px solid var(--border); }
.page-hero .lead { color: var(--muted); }
.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.toc { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { display: inline-block; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 0.9rem; font-weight: 600; text-decoration: none; color: var(--text); }
.toc a:hover { border-color: var(--blue); }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 44px 0; scroll-margin-top: 80px; }
.frow + .frow { border-top: 1px solid var(--border); }
.frow.rev .frow-copy { order: 2; }
@media (max-width: 820px) { .frow { grid-template-columns: 1fr; gap: 22px; } .frow.rev .frow-copy { order: 0; } .frow-visual { order: -1; } }
.callout { margin: 34px auto 0; max-width: 760px; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 14px; padding: 18px 22px; color: var(--navy); font-weight: 600; }
.table-wrap { overflow-x: auto; margin-top: 26px; }
.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); min-width: 520px; }
.compare th, .compare td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.compare thead th { background: var(--navy); color: #fff; }
.compare tbody th { font-weight: 600; }
.compare td { text-align: center; font-weight: 700; }
.compare thead th:not(:first-child) { text-align: center; }

/* footer */
.site-footer { background: var(--navy); color: #94a3b8; padding: 56px 0 40px; font-size: 0.95rem; }
.site-footer .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand { color: #fff; }
.site-footer h2 { color: #fff; font-size: 0.95rem; letter-spacing: 0; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .muted { color: #94a3b8; }
@media (max-width: 860px) { .site-footer .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
