@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700;12..96,800&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --bg: #fbf8f2;
  --paper: #ffffff;
  --ink: #14110f;
  --ink-2: #3d3833;
  --muted: #7a726a;
  --line: #e9e2d6;
  --star: #ffb400;
  --star-deep: #e89a00;
  --mint: #5844e0;
  --violet: #5b3df5;
  --radius: 22px;
  --shadow: 0 1px 0 rgba(20, 17, 15, 0.04), 0 18px 50px -18px rgba(20, 17, 15, 0.22);
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.display { font-family: var(--display); letter-spacing: -0.035em; line-height: 0.98; font-weight: 800; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-2); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--star); transform: rotate(45deg); }
.stars { color: var(--star); letter-spacing: 1px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 242, 0.82); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.nav.scrolled { border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); display: grid; place-items: center; color: var(--star); font-size: 18px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1.5px solid var(--ink); transition: transform 0.15s, box-shadow 0.15s, background 0.15s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -10px rgba(20, 17, 15, 0.6); }
.btn-star { background: var(--star); border-color: var(--star); color: var(--ink); box-shadow: 0 10px 28px -10px rgba(232, 154, 0, 0.8); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
@media (max-width: 860px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 64px 0 40px; overflow-x: clip; }
.hero::before { content: ""; position: absolute; inset: -200px 0 auto; height: 760px; background: radial-gradient(600px 380px at 78% 30%, rgba(255, 180, 0, 0.28), transparent 70%), radial-gradient(500px 360px at 12% 10%, rgba(91, 61, 245, 0.10), transparent 70%); pointer-events: none; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(46px, 7.2vw, 92px); margin: 18px 0 22px; }
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: 0.06em; height: 0.28em; background: var(--star); z-index: -1; border-radius: 4px; transform: skewX(-8deg); }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 540px; margin: 0 0 30px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.assure { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.assure span::before { content: "✓"; color: var(--mint); font-weight: 800; margin-right: 6px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

/* hero composition */
.stage { position: relative; min-height: 640px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.product { position: absolute; inset: 64px 40px 96px 0; padding: 22px; overflow: hidden; }
.product-top { display: grid; grid-template-columns: 132px 1fr; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.product-img { aspect-ratio: 1; border-radius: 14px; background: linear-gradient(140deg, #ffe3a1, #ffb400 55%, #f08c00); position: relative; overflow: hidden; }
.product-img::after { content: ""; position: absolute; inset: 22% 26% 14%; border-radius: 40% 40% 12px 12px; background: rgba(255, 255, 255, 0.55); }
.product h4 { margin: 2px 0 6px; font-size: 17px; }
.product .pprice { font-weight: 700; margin-top: 8px; font-size: 18px; }
.rating-line { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.summary { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 18px 0; }
.avg { font-family: var(--display); font-size: 54px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.bars { display: grid; gap: 5px; }
.bars div { display: grid; grid-template-columns: 20px 1fr 34px; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); }
.bars i { height: 7px; border-radius: 9px; background: #f1ebe0; overflow: hidden; }
.bars b { display: block; height: 100%; background: var(--star); border-radius: 9px; }
.rev { padding: 14px 0; border-top: 1px solid var(--line); font-size: 14px; }
.rev-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; }
.chip { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 99px; }
.chip.ok { color: var(--mint); background: rgba(88, 68, 224, 0.1); }
.chip.src { color: #b4570a; background: rgba(255, 140, 0, 0.12); }
.rev p { margin: 6px 0 0; color: var(--ink-2); }
.thumbs { display: flex; gap: 6px; margin-top: 8px; }
.thumbs span { width: 44px; height: 44px; border-radius: 9px; }

.float { position: absolute; padding: 14px 16px; font-size: 14px; animation: bob 6s ease-in-out infinite; }
.float.import { right: -8px; top: 0; width: 240px; }
.float.email { right: -8px; bottom: 0; width: 236px; animation-delay: -2s; }
.float.reward { left: -16px; bottom: 6px; width: 220px; animation-delay: -4s; background: var(--ink); color: #fff; border-color: var(--ink); }
.float small { display: block; color: var(--muted); font-size: 12px; }
.float.reward small { color: #b9b1a6; }
.float strong { display: block; }
.progress { height: 6px; border-radius: 9px; background: #f1ebe0; margin-top: 10px; overflow: hidden; }
.progress b { display: block; height: 100%; width: 86%; background: linear-gradient(90deg, var(--star), var(--star-deep)); border-radius: 9px; animation: fill 3.2s ease-out infinite; }
.code { font-family: ui-monospace, monospace; font-size: 15px; letter-spacing: 0.06em; border: 1.5px dashed rgba(255, 255, 255, 0.35); border-radius: 8px; padding: 6px 10px; margin-top: 8px; display: inline-block; color: var(--star); }
.mail-stars { font-size: 22px; color: var(--star); letter-spacing: 3px; margin-top: 4px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes fill { 0% { width: 8%; } 70%, 100% { width: 86%; } }
@media (prefers-reduced-motion: reduce) { .float, .progress b { animation: none; } }
@media (max-width: 960px) { .stage { min-height: 660px; } .product { inset: 64px 0 96px 0; } .float.import { top: 0; right: 0; } .float.email { display: none; } .float.reward { left: 0; } }
@media (max-width: 520px) { .stage { min-height: 700px; } .product-top { grid-template-columns: 96px 1fr; } .float.import { width: 210px; } }

/* ---------- sources marquee ---------- */
.sources { padding: 34px 0; border-block: 1px solid var(--line); margin-top: 40px; overflow: hidden; }
.sources p { text-align: center; color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.marquee { display: flex; gap: 56px; width: max-content; animation: slide 36s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 700; font-size: 26px; color: #b8aea1; letter-spacing: -0.02em; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } }

/* ---------- sections ---------- */
section.block { padding: 110px 0; }
.sec-head { max-width: 760px; margin-bottom: 52px; }
.sec-head h2 { font-size: clamp(36px, 5vw, 64px); margin: 14px 0 16px; }
.sec-head p { color: var(--ink-2); font-size: 18px; margin: 0; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; }
.tile h3 { font-family: var(--display); font-size: 24px; letter-spacing: -0.02em; margin: 0; line-height: 1.1; }
.tile p { margin: 0; color: var(--ink-2); font-size: 15px; }
.tile.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.tile.dark p { color: #cfc6ba; }
.tile.amber { background: var(--star); border-color: var(--star); }
.tile.amber p { color: #3b2a00; }
.span-6 { grid-column: span 6; } .span-4 { grid-column: span 4; } .span-3 { grid-column: span 3; } .span-2 { grid-column: span 2; }
.viz { margin-top: auto; padding-top: 18px; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } .span-6, .span-4, .span-3, .span-2 { grid-column: span 2; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .span-6, .span-4, .span-3, .span-2 { grid-column: span 1; } }

.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.gallery span { aspect-ratio: 1; border-radius: 12px; position: relative; }
.gallery span.vid::after { content: "▶"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 18px; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); }
.timeline { display: grid; gap: 10px; }
.timeline div { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.timeline i { width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); display: grid; place-items: center; font-style: normal; font-size: 13px; }
.timeline div:last-child i { background: var(--star); color: var(--ink); }
.qa { background: #f7f2e9; border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.qa b { display: block; }
.qa span { color: var(--ink-2); }
.serp { background: #fff; border-radius: 12px; padding: 12px 14px; font-size: 13px; border: 1px solid rgba(0, 0, 0, 0.08); }
.serp .t { color: #1a0dab; font-size: 16px; }
.serp .u { color: #0d652d; }
.big-num { font-family: var(--display); font-size: 64px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.langs { display: flex; flex-wrap: wrap; gap: 6px; }
.langs span { padding: 5px 10px; border-radius: 99px; background: #f3ede3; font-size: 13px; font-weight: 600; }
.toggle { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 12px; background: #f7f2e9; font-size: 14px; margin-top: 6px; }
.toggle i { width: 38px; height: 22px; border-radius: 99px; background: var(--mint); position: relative; }
.toggle i::after { content: ""; position: absolute; right: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }

/* import steps */
.import-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.steps { display: grid; gap: 14px; counter-reset: s; }
.step { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 20px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); width: 46px; height: 46px; border-radius: 14px; background: var(--ink); color: var(--star); font-family: var(--display); font-weight: 800; font-size: 20px; display: grid; place-items: center; }
.step h4 { margin: 2px 0 4px; font-size: 17px; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }
.popup { max-width: 360px; margin: 0 auto; padding: 0; overflow: hidden; }
.popup header { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); font-weight: 700; }
.popup .body { padding: 16px; display: grid; gap: 12px; font-size: 14px; }
.field { border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; display: flex; justify-content: space-between; color: var(--ink-2); }
.found { background: rgba(88, 68, 224, 0.08); color: #0f6b3b; padding: 10px 12px; border-radius: 10px; font-weight: 600; }
.popup .go { background: var(--ink); color: #fff; text-align: center; padding: 11px; border-radius: 10px; font-weight: 700; }
@media (max-width: 900px) { .import-grid { grid-template-columns: 1fr; } }

/* compare */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare th { font-family: var(--display); font-size: 18px; letter-spacing: -0.01em; }
.compare th.us, .compare td.us { background: #fff7e0; }
.compare td.us { font-weight: 700; }
.yes { color: var(--mint); font-weight: 800; }
.no { color: #b9aea0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
.table-scroll .compare { min-width: 620px; }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 940px; }
.plan { padding: 34px; border-radius: 28px; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan.pro { background: var(--ink); color: #fff; border-color: var(--ink); position: relative; }
.plan .tag { position: absolute; top: 22px; right: 22px; background: var(--star); color: var(--ink); font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 99px; }
.plan h3 { font-family: var(--display); font-size: 26px; margin: 0 0 4px; }
.plan .sub { color: var(--muted); margin: 0 0 20px; }
.plan.pro .sub { color: #b9b1a6; }
.price { font-family: var(--display); font-size: 68px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price small { font-family: Inter, sans-serif; font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 11px; }
.plan li { padding-left: 30px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: rgba(88, 68, 224, 0.12); color: var(--mint); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.plan.pro li::before { background: rgba(255, 180, 0, 0.18); color: var(--star); }
.plan li.minus::before { content: "–"; background: #f1ebe0; color: var(--muted); }
.plan .btn { margin-top: auto; justify-content: center; }
.plan.pro .btn-star { border-color: var(--star); }
.fine { color: var(--muted); font-size: 14px; margin-top: 18px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 820px; }
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
summary { cursor: pointer; list-style: none; font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 26px; line-height: 1; transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-2); margin: 12px 0 0; max-width: 680px; }

/* final cta */
.final { margin: 40px 20px 0; border-radius: 36px; background: var(--ink); color: #fff; padding: 96px 24px; text-align: center; position: relative; overflow: hidden; }
.final::before { content: "★"; position: absolute; font-size: 520px; line-height: 1; color: rgba(255, 180, 0, 0.08); right: -80px; top: -120px; }
.final h2 { font-size: clamp(40px, 6vw, 80px); margin: 0 auto 18px; max-width: 900px; position: relative; }
.final p { color: #cfc6ba; font-size: 18px; margin: 0 auto 32px; max-width: 560px; position: relative; }
.final .cta-row { justify-content: center; position: relative; }
.final .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.4); }

/* footer */
footer { padding: 48px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
footer nav a { color: var(--ink-2); text-decoration: none; margin-left: 22px; }
footer nav a:first-child { margin-left: 0; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- legal pages ---------- */
.legal { padding: 64px 20px 100px; max-width: 820px; }
.legal h1 { font-family: var(--display); font-size: clamp(40px, 6vw, 60px); letter-spacing: -0.035em; line-height: 1; margin: 0 0 10px; }
.legal h2 { font-family: var(--display); letter-spacing: -0.02em; margin-top: 44px; font-size: 26px; }
.legal p, .legal li { color: var(--ink-2); }
.legal .muted { color: var(--muted); }
.legal a { color: var(--ink); text-decoration-color: var(--star); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal table { border-collapse: collapse; width: 100%; font-size: 15px; background: var(--paper); border-radius: 14px; overflow: hidden; display: block; overflow-x: auto; }
.legal td, .legal th { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal details { padding: 18px 0; }
.legal summary { font-size: 18px; }
.legal code { background: #f1ebe0; padding: 2px 6px; border-radius: 6px; font-size: 14px; }
