/* ==========================================================================
   Useral — site styles (no frameworks, system fonts, GPU-friendly motion)
   ========================================================================== */
:root {
  --primary: #1E88E5;
  --accent: #14C4A2;
  --ink: #0d1626;
  --ink-2: #33415a;
  --muted: #5d6b82;
  --line: #e5eaf2;
  --soft: #f4f7fb;
  --bg-dark: #070d1c;
  --dark-2: #0d1830;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(13, 22, 38, .05), 0 12px 32px -12px rgba(13, 22, 38, .16);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --grad: linear-gradient(110deg, var(--primary), var(--accent));
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.ic { width: 1em; height: 1em; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.4em; border-radius: 12px; font-weight: 600; font-size: .98rem; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s; white-space: nowrap; }
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn-sm { padding: .6em 1.05em; font-size: .9rem; border-radius: 10px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--primary) 70%, transparent); position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--primary) 80%, transparent); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn.loading { opacity: .7; pointer-events: none; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background .35s, box-shadow .35s, color .35s, backdrop-filter .35s; }
.site-header.scrolled { background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 14px; border-radius: 10px; font-size: .95rem; font-weight: 500; opacity: .85; transition: opacity .2s, background .2s; }
.nav-links a:hover, .nav-links a[aria-current] { opacity: 1; background: rgba(127,140,160,.14); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-signin { font-weight: 600; font-size: .95rem; padding: 8px 12px; opacity: .9; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; font-size: 26px; color: inherit; }
.only-m { display: none !important; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--bg-dark); color: #fff; padding: 150px 0 0; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; }
.g1 { width: 620px; height: 620px; background: var(--primary); top: -260px; left: -140px; animation: drift 18s ease-in-out infinite alternate; }
.g2 { width: 520px; height: 520px; background: var(--accent); top: -120px; right: -160px; opacity: .35; animation: drift 22s ease-in-out infinite alternate-reverse; }
.g3 { width: 900px; height: 400px; background: #3a4cff; bottom: 18%; left: 50%; margin-left: -450px; opacity: .22; }
@keyframes drift { to { transform: translate(80px, 60px) scale(1.08); } }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%); }
.hero-copy { text-align: center; max-width: 860px; margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 99px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); font-size: .85rem; color: #cdd7e8; margin-bottom: 22px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: ping 2s infinite; margin-left: 4px; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 70%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: 20px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #b7c3d8; max-width: 680px; margin: 0 auto 30px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; color: #9fb0c9; font-size: .92rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .ic { color: var(--accent); font-size: 1.1em; }

.hero-visual { margin-top: 64px; perspective: 1600px; }
.mock-stage { --p: 0; --mx: 0; --my: 0; position: relative; max-width: 1120px; margin: 0 auto; transform-style: preserve-3d; transform: rotateX(calc(18deg * (1 - var(--p)) - var(--my) * 4deg)) rotateY(calc(var(--mx) * 5deg)) scale(calc(.9 + .1 * var(--p))) translateY(calc(30px * (1 - var(--p)))); transition: transform .15s linear; will-change: transform; }
.mock-stage::before { content: ""; position: absolute; inset: 8% 6% -4%; background: var(--grad); filter: blur(60px); opacity: .35; z-index: -1; border-radius: 40px; }
.hero .mock { border-radius: 16px 16px 0 0; box-shadow: 0 -1px 0 rgba(255,255,255,.2), 0 40px 80px -20px rgba(0,0,0,.6); }
.hero-fade { height: 120px; margin-top: -120px; position: relative; background: linear-gradient(transparent, #fff); z-index: 2; }
.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: rgba(255,255,255,.96); color: var(--ink); border-radius: 14px; font-size: .85rem; box-shadow: 0 20px 40px -12px rgba(5,10,30,.45); transform: translateZ(60px); opacity: 0; animation: pop .7s var(--ease) forwards, float 6s ease-in-out infinite; }
.float-card b { display: block; font-size: .9rem; }
.float-card small { color: var(--muted); }
.float-card .fi { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; font-size: 18px; color: #fff; }
.fc1 { top: 14%; left: -3%; animation-delay: .9s, 1.6s; }
.fc1 .fi { background: #16a34a; }
.fc2 { top: 46%; right: -3%; animation-delay: 1.2s, 2s; }
.fc2 .fi { background: #f59e0b; }
.fc3 { bottom: 14%; left: 6%; animation-delay: 1.5s, 2.4s; }
.fc3 .fi { background: var(--primary); }
@keyframes pop { from { opacity: 0; transform: translateZ(60px) translateY(16px) scale(.92); } to { opacity: 1; transform: translateZ(60px) translateY(0) scale(1); } }
@keyframes float { 50% { translate: 0 -8px; } }

/* marquee */
.marquee { padding: 30px 0 10px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 99px; font-size: .92rem; color: var(--ink-2); background: #fff; white-space: nowrap; }
.marquee span .ic { color: var(--primary); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 110px 0; position: relative; }
.section.soft { background: var(--soft); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.sec-head h2, .split h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; }
.sec-head p { font-size: 1.1rem; color: var(--muted); }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* features */
.f-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.f-card { position: relative; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s, opacity .8s var(--ease); }
.spot::before { content: ""; position: absolute; inset: 0; background: radial-gradient(360px circle at var(--sx, 50%) var(--sy, 0%), color-mix(in srgb, var(--primary) 12%, transparent), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.spot:hover::before { opacity: 1; }
.f-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 30%, var(--line)); }
.f-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; font-size: 22px; color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, #fff); margin-bottom: 18px; transition: transform .4s var(--ease), background .3s, color .3s; }
.f-card:hover .f-icon { transform: rotate(-8deg) scale(1.08); background: var(--primary); color: #fff; }
.f-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.f-card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* showcase */
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 14px; background: #fff; border: 1px solid var(--line); margin: 0 auto 36px; position: relative; }
.tabs-wrap { text-align: center; }
.tabs button { border: 0; background: none; padding: 10px 20px; border-radius: 10px; font-weight: 600; font-size: .95rem; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: color .25s, background .25s, box-shadow .25s; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: 0 6px 16px -6px rgba(13,22,38,.5); }
.tab-panel { animation: fadeUp .6s var(--ease); }
.tab-panel p.cap { text-align: center; color: var(--muted); max-width: 680px; margin: 26px auto 0; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
.showcase .mock { max-width: 1120px; margin: 0 auto; border-radius: 16px; box-shadow: 0 40px 80px -30px rgba(13,22,38,.35), 0 0 0 1px var(--line); }
.demo-note { text-align: center; font-size: .8rem; color: #8a96a8; margin-top: 14px; }

/* split section */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.split .lead2 { font-size: 1.1rem; color: var(--muted); margin-bottom: 28px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks .ck { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: color-mix(in srgb, var(--accent) 14%, #fff); color: var(--accent); font-size: 15px; margin-top: 2px; }
.checks b { display: block; }
.checks span.t { color: var(--muted); font-size: .95rem; }

/* journal card */
.journal { background: #fff; border-radius: 22px; box-shadow: var(--shadow), 0 0 0 1px var(--line); padding: 26px; position: relative; }
.journal::before { content: ""; position: absolute; inset: -30px; background: var(--grad); filter: blur(70px); opacity: .18; z-index: -1; border-radius: 50%; }
.j-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.j-head b { font-size: 1.05rem; }
.j-head small { color: var(--muted); }
.j-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.j-table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.j-table td { padding: 12px 6px; border-bottom: 1px dashed var(--line); }
.j-table .n { text-align: right; font-variant-numeric: tabular-nums; }
.j-table tbody tr { opacity: 0; transform: translateX(-12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.journal.in tbody tr { opacity: 1; transform: none; }
.journal.in tbody tr:nth-child(2) { transition-delay: .25s; }
.journal.in tbody tr:nth-child(3) { transition-delay: .5s; }
.journal.in tbody tr:nth-child(4) { transition-delay: .75s; }
.j-table tfoot td { font-weight: 700; border: 0; padding-top: 14px; }
.j-ok { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: #e8f8ef; color: #15803d; font-weight: 600; font-size: .85rem; opacity: 0; transform: scale(.6); transition: opacity .5s var(--ease) 1.2s, transform .5s cubic-bezier(.3,1.6,.5,1) 1.2s; }
.journal.in .j-ok { opacity: 1; transform: none; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 16%; right: 16%; height: 2px; background: linear-gradient(90deg, var(--line), var(--primary), var(--line)); }
.step { text-align: center; padding: 0 12px; position: relative; }
.step .num { width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 20px; display: grid; place-items: center; font-size: 28px; color: #fff; background: var(--grad); box-shadow: 0 14px 30px -12px var(--primary); position: relative; }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); }

/* security */
.dark { background: var(--bg-dark); color: #fff; overflow: hidden; isolation: isolate; }
.dark .sec-head p, .dark .muted { color: #9fb0c9; }
.dark .glow { opacity: .25; }
.sec-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sec-card { padding: 28px 24px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); position: relative; overflow: hidden; transition: transform .35s var(--ease), border-color .3s, opacity .8s var(--ease); }
.sec-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.2); }
.sec-card .f-icon { background: rgba(255,255,255,.08); color: var(--accent); }
.sec-card:hover .f-icon { background: var(--accent); color: var(--bg-dark); }
.sec-card p { color: #9fb0c9; font-size: .95rem; margin: 0; }
.dark .spot::before { background: radial-gradient(320px circle at var(--sx, 50%) var(--sy, 0%), rgba(255,255,255,.08), transparent 60%); }

/* about */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }
.about-grid p { color: var(--ink-2); font-size: 1.05rem; }
.facts { border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 26px; background: #fff; box-shadow: var(--shadow); }
.facts dl { margin: 0; }
.facts .row { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts .row:last-child { border: 0; }
.facts dt { color: var(--muted); font-size: .9rem; }
.facts dd { margin: 0; font-weight: 600; word-break: break-word; }
.facts a { color: var(--primary); }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { padding: 32px 28px; border-radius: 22px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; position: relative; transition: transform .35s var(--ease), box-shadow .35s, opacity .8s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan.hot { border: 2px solid var(--primary); box-shadow: 0 30px 60px -30px var(--primary); }
.plan .badge { position: absolute; top: -13px; left: 28px; background: var(--grad); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 99px; }
.price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 20px; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); margin-right: 4px; }
.price span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: center; color: var(--ink-2); }
.plan li .ic { color: var(--accent); }
.price-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 24px; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: box-shadow .3s, border-color .3s, opacity .8s var(--ease), transform .8s var(--ease); }
.faq-item[open] { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 30%, var(--line)); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq-item summary::-webkit-details-marker { display: none; }
.pm { width: 22px; height: 22px; flex: none; position: relative; }
.pm::before, .pm::after { content: ""; position: absolute; left: 4px; right: 4px; top: 10px; height: 2px; background: var(--primary); border-radius: 2px; transition: transform .3s var(--ease); }
.pm::after { transform: rotate(90deg); }
.faq-item[open] .pm::after { transform: rotate(0); }
.faq-a { padding: 0 24px 6px; color: var(--muted); animation: fadeUp .4s var(--ease); }

/* cta */
.cta { padding: 0 0 110px; }
.cta-box { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: 72px 40px; text-align: center; color: #fff; background: var(--dark-2); }
.cta-box .glow { opacity: .5; }
.cta-box h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
.cta-box p { color: #b7c3d8; font-size: 1.1rem; max-width: 560px; margin: 0 auto 30px; }

/* ---------- footer ---------- */
.site-footer { background: #060b17; color: #9fb0c9; padding: 72px 0 28px; font-size: .94rem; }
.f-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.5fr; gap: 36px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.f-brand p { max-width: 320px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; letter-spacing: 0; }
.site-footer a { display: flex; align-items: center; gap: 8px; padding: 4px 0; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.f-contact span { display: flex; gap: 8px; padding: 4px 0; }
.f-contact .ic { margin-top: .3em; color: var(--accent); }
.f-social { display: flex; gap: 8px; margin-top: 16px; }
.f-social a { width: 38px; height: 38px; justify-content: center; border-radius: 10px; background: rgba(255,255,255,.06); font-size: 17px; }
.f-social a:hover { background: var(--primary); }
.store { display: inline-flex !important; margin-top: 14px; padding: 8px 14px !important; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; color: #fff; }
.f-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }

/* ---------- sub pages ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--bg-dark); color: #fff; padding: 150px 0 80px; text-align: center; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 800; }
.page-hero p { color: #b7c3d8; font-size: 1.1rem; max-width: 640px; margin: 0 auto; }
.page-hero .glow { opacity: .4; }

.legal { padding: 80px 0 110px; }
.legal-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 60px; align-items: start; }
.toc { position: sticky; top: 100px; font-size: .9rem; border-left: 2px solid var(--line); padding-left: 18px; }
.toc b { display: block; margin-bottom: 10px; }
.toc a { display: block; padding: 4px 0; color: var(--muted); transition: color .2s; }
.toc a:hover { color: var(--primary); }
.prose { max-width: 760px; color: var(--ink-2); }
.prose h2 { font-size: 1.45rem; color: var(--ink); margin: 2.2em 0 .7em; scroll-margin-top: 100px; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 1.1rem; color: var(--ink); margin: 1.5em 0 .5em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.prose .meta { display: inline-block; padding: 6px 14px; border-radius: 99px; background: var(--soft); border: 1px solid var(--line); font-size: .88rem; color: var(--muted); margin-bottom: 30px; }
.prose .box { padding: 20px 24px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); margin: 1.2em 0; }
.prose .box p:last-child { margin: 0; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 40px; margin-top: -40px; position: relative; z-index: 2; padding-bottom: 110px; }
.c-info { display: grid; gap: 16px; align-content: start; }
.c-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); display: flex; gap: 16px; transition: transform .3s var(--ease), opacity .8s var(--ease); }
.c-card:hover { transform: translateY(-3px); }
.c-card .f-icon { margin: 0; flex: none; }
.c-card h3 { font-size: 1rem; margin-bottom: 4px; }
.c-card p, .c-card a { color: var(--muted); margin: 0; font-size: .95rem; word-break: break-word; }
.c-card a:hover { color: var(--primary); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 36px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.6rem; }
.fg { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 4px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.field label i { font-style: normal; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); transition: border-color .2s, box-shadow .2s, background .2s; outline: none; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 15%, transparent); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin: 14px 0 20px; }
.consent input { margin-top: 4px; accent-color: var(--primary); }
.consent a { color: var(--primary); text-decoration: underline; }
.hp { position: absolute !important; left: -9999px !important; }
.form-status { margin-top: 14px; font-size: .95rem; min-height: 1.5em; }
.form-status.ok { color: #15803d; }
.form-status.err { color: #dc2626; }
.rc-note { font-size: .78rem; color: #8a96a8; margin-top: 12px; }
.rc-note a { text-decoration: underline; }
#rcSlot { margin: 6px 0 4px; }
.notfound { min-height: 100vh; display: grid; place-items: center; }

/* ==========================================================================
   APP MOCKUP (demo screens)
   ========================================================================== */
.mock { container-type: inline-size; position: relative; overflow: hidden; background: #f3f5f9; }
.app { font-size: 1.12cqi; display: flex; aspect-ratio: 16 / 10; color: #1d2735; background: #f3f5f9; text-align: left; line-height: 1.35; user-select: none; }
.app .ic { width: 1.5em; height: 1.5em; }
.app-side { width: 4.8em; background: #1d2736; display: flex; flex-direction: column; align-items: center; gap: .55em; padding: 1em 0; flex: none; }
.as-logo { width: 3em; height: 3em; margin-bottom: .9em; }
.as-logo img { width: 100%; height: 100%; }
.as-i { width: 3.3em; height: 2.9em; display: grid; place-items: center; color: #b6c2d3; border-radius: .7em; }
.as-i .ic { width: 1.45em; height: 1.45em; }
.as-i.on { background: var(--primary); color: #fff; box-shadow: 0 .4em 1em -.3em var(--primary); }
.app-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.app-top { height: 4.4em; flex: none; background: #fff; border-bottom: 1px solid #e6eaf0; display: flex; align-items: center; gap: 1.5em; padding: 0 1.8em; }
.app-date { color: var(--primary); font-weight: 500; white-space: nowrap; }
.app-search { flex: 1; max-width: 26em; display: flex; align-items: center; gap: .6em; background: #f3f5f9; border-radius: .7em; padding: .55em .9em; color: #96a1b2; white-space: nowrap; overflow: hidden; }
.app-search .ic { width: 1.2em; height: 1.2em; }
.app-user { margin-left: auto; display: flex; align-items: center; gap: .8em; font-weight: 600; white-space: nowrap; }
.bell { position: relative; color: #5d6b82; }
.bell b { position: absolute; top: -.5em; right: -.6em; background: var(--primary); color: #fff; font-size: .7em; width: 1.7em; height: 1.7em; display: grid; place-items: center; border-radius: 50%; }
.avatar { width: 2.6em; height: 2.6em; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #7c8cff, var(--primary)); color: #fff; font-size: .85em; }
.app-body { flex: 1; padding: 1.4em 1.6em; overflow: hidden; min-height: 0; }
.card { background: #fff; border-radius: .9em; border: 1px solid #e6eaf0; padding: 1.1em 1.3em; min-width: 0; }
.card h6 { font-size: 1.1em; margin: 0 0 .5em; font-weight: 600; }
.card-h { display: flex; justify-content: space-between; align-items: center; }
.card-h .sm { font-size: .95em; }
.seg { display: flex; gap: .3em; background: #f3f5f9; border-radius: .6em; padding: .25em; font-size: .85em; }
.seg i { font-style: normal; padding: .25em .8em; border-radius: .45em; color: #8792a3; }
.seg i.on { background: #fff; color: #1d2735; font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.dash { display: grid; grid-template-rows: auto 1.35fr 1fr; gap: 1.1em; height: 100%; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1em; }
.kpi { background: #fff; border: 1px solid #e6eaf0; border-radius: .9em; padding: .9em 1.2em; display: grid; gap: .15em; position: relative; overflow: hidden; }
.kpi::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: .25em; background: var(--primary); }
.kpi:nth-child(2)::after { background: var(--accent); } .kpi:nth-child(3)::after { background: #f59e0b; } .kpi:nth-child(4)::after { background: #6d5dfc; }
.kpi span { color: #7a8699; font-size: .9em; }
.kpi b { font-size: 1.55em; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi em { font-style: normal; font-size: .82em; }
.up { color: #16a34a; } .down { color: #dc2626; }
.dash-r2 { display: grid; grid-template-columns: 2.3fr 1fr; gap: 1.1em; min-height: 0; }
.chart-card { display: flex; flex-direction: column; min-height: 0; }
.chart-wrap { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.chart { width: 100%; flex: 1; min-height: 0; height: 100%; clip-path: inset(0 100% 0 0); transition: clip-path 1.8s var(--ease) .2s; }
.grid-l line { stroke: #eef1f5; stroke-width: 1; }
.chart .pt { fill: #fff; stroke: var(--primary); stroke-width: 3; }
.tip { position: absolute; transform: translate(-50%, -150%) scale(.7); background: #fff; border: 1px solid var(--primary); color: #1d2735; font-weight: 700; padding: .35em .7em; border-radius: .45em; font-size: .9em; white-space: nowrap; box-shadow: 0 .5em 1em -.4em rgba(30,136,229,.5); opacity: 0; transition: opacity .4s, transform .5s cubic-bezier(.3,1.6,.5,1); transition-delay: 1.8s; }
.months { display: flex; justify-content: space-between; color: #8a96a8; font-size: .78em; padding-top: .4em; }
.legend { display: flex; gap: 1.4em; justify-content: center; font-size: .85em; color: #5d6b82; margin-top: .4em; }
.legend.col { flex-direction: row; flex-wrap: wrap; gap: .5em 1em; }
.legend i { display: inline-block; width: .7em; height: .7em; border-radius: 50%; margin-right: .4em; }
.donut-card { display: flex; flex-direction: column; }
@property --dd { syntax: '<number>'; inherits: false; initial-value: 0; }
.donut { --dd: 0; flex: 1; margin: .6em auto; aspect-ratio: 1; height: 0; min-height: 60%; max-height: 13em; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--primary) 0 calc(var(--dd) * 62%), #2b3a4f 0 calc(var(--dd) * 74%), var(--accent) 0 calc(var(--dd) * 100%), #eef1f5 0); -webkit-mask: radial-gradient(circle, transparent 54%, #000 55%); mask: radial-gradient(circle, transparent 54%, #000 55%); transition: --dd 1.6s var(--ease) .3s; position: relative; }
.dash-r3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1em; min-height: 0; }
.mini { overflow: hidden; }
.mini table, .tbl { width: 100%; border-collapse: collapse; }
.mini th { text-align: left; color: #98a3b4; font-weight: 500; font-size: .82em; padding: .3em .4em .5em 0; border-bottom: 1px solid #eef1f5; }
.mini td { padding: .55em .4em .55em 0; border-bottom: 1px solid #f2f4f7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 11em; font-size: .92em; }
.mini tr:last-child td { border: 0; }
.num { text-align: right !important; font-variant-numeric: tabular-nums; }
.mut { color: #7f8b9d; }
.b { font-weight: 600; }
.lnk { color: var(--primary); }
.pill { display: inline-block; padding: .2em .7em; border-radius: 99px; font-size: .82em; font-weight: 600; white-space: nowrap; }
.pill.ok { background: #e7f7ee; color: #15803d; } .pill.warn { background: #fff4e0; color: #b45309; } .pill.bad { background: #fde8e8; color: #dc2626; } .pill.info { background: #e6f1fd; color: #1d6fd1; } .pill.mut { background: #eef1f5; color: #6b7686; }
/* tables */
.tbl-app .app-body { padding: 1.4em 1.6em; }
.tbl-card { height: 100%; padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.tbl-bar { display: flex; align-items: center; gap: 1.4em; padding: 1em 1.4em; border-bottom: 1px solid #eef1f5; }
.tbl-bar h6 { margin: 0; font-size: 1.15em; }
.tools { display: flex; gap: .8em; color: var(--primary); }
.chips { display: flex; gap: .4em; margin-left: auto; }
.chips i { font-style: normal; font-size: .85em; padding: .3em .9em; border-radius: 99px; background: #f3f5f9; color: #6b7686; }
.chips i.on { background: color-mix(in srgb, var(--primary) 12%, #fff); color: var(--primary); font-weight: 600; }
.add { display: flex; align-items: center; gap: .4em; background: var(--primary); color: #fff; padding: .45em .9em; border-radius: .6em; font-weight: 600; font-size: .9em; }
.add .ic { width: 1.2em; height: 1.2em; }
.tbl th { text-align: left; font-weight: 600; color: #4a5568; font-size: .9em; padding: .9em 1.1em; background: #fafbfd; border-bottom: 1px solid #eef1f5; white-space: nowrap; }
.tbl td { padding: .82em 1.1em; border-bottom: 1px solid #f2f4f7; white-space: nowrap; font-size: .95em; }
.tbl tbody tr { opacity: 0; transform: translateY(.6em); transition: opacity .45s var(--ease), transform .45s var(--ease), background .2s; transition-delay: calc(var(--i) * 70ms + 150ms); }
.tbl tbody tr:nth-child(even) { background: #fbfcfe; }
.tbl tfoot td { font-weight: 700; background: #fafbfd; border-top: 1px solid #e6eaf0; }
.prod td { padding-top: .5em; padding-bottom: .5em; }
.thumb { width: 2.6em; height: 2.6em; border-radius: .6em; display: grid; place-items: center; background: hsl(var(--h) 80% 95%); color: hsl(var(--h) 60% 42%); }
.thumb .ic { width: 1.45em; height: 1.45em; }
.low { color: #dc2626; font-weight: 700; }
/* animate in */
.mock.in .chart { clip-path: inset(0 0 0 0); }
.mock.in .tip { opacity: 1; transform: translate(-50%, -150%) scale(1); }
.mock.in .donut { --dd: 1; }
.mock.in .tbl tbody tr { opacity: 1; transform: none; }
.mock .kpi, .mock .card.mini { opacity: 0; transform: translateY(.8em); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.mock.in .kpi, .mock.in .card.mini { opacity: 1; transform: none; }
.mock .kpi:nth-child(2) { transition-delay: .08s; } .mock .kpi:nth-child(3) { transition-delay: .16s; } .mock .kpi:nth-child(4) { transition-delay: .24s; }
.mock .dash-r3 .mini:nth-child(1) { transition-delay: .5s; } .mock .dash-r3 .mini:nth-child(2) { transition-delay: .6s; } .mock .dash-r3 .mini:nth-child(3) { transition-delay: .7s; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .f-cards, .sec-cards { grid-template-columns: repeat(2, 1fr); }
  .f-grid { grid-template-columns: 1fr 1fr 1fr; }
  .f-brand, .f-contact { grid-column: span 3; }
  .fc1 { left: 1%; } .fc2 { right: 1%; }
}
@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 72px 0 auto; flex-direction: column; background: #fff; color: var(--ink); padding: 16px 20px 24px; gap: 2px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.3); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
  .nav-links a { padding: 12px 14px; font-size: 1.05rem; }
  .nav-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-open .site-header { background: #fff; color: var(--ink); }
  .only-m { display: flex !important; }
  .nav-links .btn { margin-top: 10px; color: #fff; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .split, .about-grid, .contact-grid, .legal-wrap { grid-template-columns: 1fr; gap: 40px; }
  .toc { display: none; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { display: none; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .float-card { font-size: .75rem; padding: 9px 12px; }
  .float-card .fi { width: 28px; height: 28px; font-size: 15px; }
  .fc3 { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .hero { padding-top: 120px; }
  .hero-visual { margin-top: 44px; }
  .f-cards, .sec-cards { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .f-brand, .f-contact { grid-column: span 2; }
  .fg { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .facts .row { grid-template-columns: 1fr; gap: 2px; }
  .float-card { display: none; }
  .tabs button { padding: 9px 12px; font-size: .88rem; }
  .cta-box { padding: 56px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .float-card { opacity: 1; }
}
