:root {
  --bg: #f7f7f7;
  --surface: #ffffff;
  --ink: #171717;
  --ink-2: #3a3a3a;
  --muted: #8c8c8c;
  --line: #eaeaea;
  --line-2: #d9d9d9;
  --lime: #cbf36c;
  --lime-ink: #2f4a00;
  --purple-bg: #e5d6f5;
  --purple: #4e24c2;
  --blue: #0059e6;
  --orange: #ff8c00;
  --green: #4bae00;
  --radius: 14px;
  --font: "Funnel Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* Buttons & chips */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 18px; border-radius: 8px; font-weight: 500; font-size: 15px; border: 1px solid transparent; transition: transform .15s, background .15s, border-color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { height: 50px; padding: 0 22px; font-size: 16px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,.25); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-icon { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-left: -10px; border-radius: 6px; background: #fff; color: var(--ink); font-size: 18px; }

.chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; }
.chip-lime { background: var(--lime); color: var(--ink); }
.chip-purple { background: var(--purple-bg); color: var(--purple); }
.chip-gray { background: #eeeeee; color: var(--ink-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); display: inline-block; }
.dot.live { background: var(--green); box-shadow: 0 0 0 3px rgba(75,174,0,.18); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.logo-mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--lime); color: var(--ink); }
.main-nav { display: flex; gap: 32px; margin: 0 auto; font-size: 15px; color: #666; }
.main-nav a:hover { color: var(--ink); }
.header-cta { display: flex; gap: 10px; }
.nav-toggle { display: none; margin-left: auto; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); padding: 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform .2s; }
.nav-open .nav-toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* Announcement */
.announce { display: flex; justify-content: center; align-items: center; gap: 14px; padding: 10px 24px; background: var(--surface); border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.announce:hover .announce-text { text-decoration: underline; }

/* Hero */
.hero { padding-top: 0; }
.hero-frame { margin: 0 auto; max-width: 1400px; padding: 56px 24px 64px; text-align: center; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 120px 120px; background: linear-gradient(#fafafa, var(--bg)); }
.hero h1 { margin: 24px auto 20px; font-size: clamp(38px, 6.4vw, 72px); letter-spacing: -0.035em; max-width: 18ch; }
.rotator { display: inline-block; position: relative; isolation: isolate; }
.rotator::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em; background: var(--lime); z-index: -1; border-radius: 4px; }
.rotator.swap { animation: swap .45s ease; }
@keyframes swap { 0% { opacity: 0; transform: translateY(.25em); } 100% { opacity: 1; transform: none; } }
.lead { max-width: 640px; margin: 0 auto; font-size: 18px; color: var(--muted); }
.lead b { color: var(--ink-2); font-weight: 600; }
.hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; padding: 32px 0 40px; }

/* Dashboard mockup */
.dash { position: relative; display: grid; grid-template-columns: 210px 1fr; border: 1px solid var(--line-2); border-radius: 18px; background: var(--surface); box-shadow: 0 30px 80px -30px rgba(0,0,0,.18); overflow: hidden; font-size: 13px; }
.dash-side { border-right: 1px solid var(--line); padding: 16px 12px; background: #fcfcfc; }
.dash-search { border: 1px solid var(--line-2); border-radius: 8px; padding: 6px 10px; color: var(--muted); margin-bottom: 18px; }
.dash-label { font-size: 11px; color: var(--muted); letter-spacing: .06em; margin: 14px 8px 6px; }
.dash-item { padding: 7px 8px; border-radius: 7px; color: #555; }
.dash-item.is-active { background: #f0f0f0; color: var(--ink); font-weight: 600; }
.dash-main { padding: 18px 20px 20px; min-width: 0; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.dash-head strong { display: block; font-size: 15px; }
.dash-head span { color: var(--muted); font-size: 12px; }
.dash-grid { display: grid; grid-template-columns: 240px 1fr; gap: 14px; }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: var(--surface); min-width: 0; }
.card-full { grid-column: 1 / -1; }
.card-title { font-weight: 600; font-size: 13px; display: flex; justify-content: space-between; align-items: center; }
.card-title.mt { margin-top: 14px; margin-bottom: 4px; }
.pill-mini { font-weight: 500; font-size: 11px; border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 8px; color: #555; }
.gauge { position: relative; width: 130px; margin: 10px auto 4px; }
.gauge svg { display: block; transform: rotate(-90deg); }
.g-bg, .g-fg { fill: none; stroke-width: 12; }
.g-bg { stroke: #eef2ff; }
.g-fg { stroke: var(--blue); stroke-linecap: round; transition: stroke-dasharray 1.2s ease; }
.gauge-val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-size: 26px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.gauge-val small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); margin-top: 4px; letter-spacing: 0; }
.ci { text-align: center; font-size: 11px; color: var(--muted); }
.bar-row { display: grid; grid-template-columns: 58px 1fr 34px; gap: 8px; align-items: center; margin-top: 8px; font-size: 12px; }
.bar-row b { text-align: right; font-weight: 600; }
.bar { height: 6px; border-radius: 99px; background: #f0f0f0; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--blue); border-radius: 99px; }
.bar.small { height: 5px; }
.timeline { width: 100%; height: 170px; margin-top: 12px; display: block; }
.grid-lines line { stroke: #f0f0f0; stroke-width: 1; }
.ln { fill: none; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ln-a { stroke: var(--blue); }
.ln-b { stroke: var(--orange); }
.ln-c { stroke: #c4c4c4; stroke-dasharray: 4 4; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 11px; color: #555; margin-top: 8px; }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; }
.weeks { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 8px; }
.src { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 12px; }
.src th { text-align: left; font-weight: 500; color: var(--muted); padding: 6px 0; border-bottom: 1px solid var(--line); }
.src td { padding: 8px 0; border-bottom: 1px solid #f5f5f5; }
.src td:nth-child(2) { width: 60px; }
.src td:last-child { width: 40%; }
.dash-float { position: absolute; right: 22px; top: 76px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 14px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.2); }
.dash-float .muted { font-size: 11px; }
.models { display: flex; gap: 6px; margin-top: 6px; }
.m { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; color: #fff; }
.m-gpt { background: #0f0f0f; }
.m-gem { background: linear-gradient(90deg, #4285f4, #a142f4); }
.note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 12px; }

/* Marquee */
.marquee-sec { padding: 72px 0 24px; }
.eyebrow { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.q { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: 15px; white-space: nowrap; }
.q i { font-style: normal; color: var(--blue); font-weight: 700; }

/* Sections */
.sec { padding: 96px 0; }
.sec h2 { font-size: clamp(30px, 4.2vw, 48px); letter-spacing: -0.03em; }
.big { max-width: 22ch; margin: 0 auto; }
.sub { font-size: 17px; color: var(--muted); max-width: 620px; margin: 16px auto 0; }
.sub.left { margin-left: 0; }

/* Bounty */
.bounty { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.bounty-copy h2 { margin: 20px 0 18px; }
.bounty-copy p { color: #555; font-size: 17px; max-width: 520px; }
.link-arrow { display: inline-block; margin-top: 22px; font-weight: 600; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; }
.task-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; padding: 24px; box-shadow: 0 24px 60px -30px rgba(0,0,0,.2); }
.task-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.task-status { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.task-card h3 { font-size: 22px; margin: 18px 0 12px; }
.task-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.task-tags span { font-size: 12px; border: 1px solid var(--line-2); border-radius: 6px; padding: 3px 8px; color: #555; }
.task-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0; }
.task-nums div { background: var(--bg); border-radius: 10px; padding: 12px; }
.task-nums small { display: block; color: var(--muted); font-size: 12px; }
.task-nums b { font-size: 20px; letter-spacing: -0.02em; }
.quota { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; font-size: 13px; color: #555; }
.task-hint { margin-top: 14px; font-size: 12px; color: var(--muted); }

/* Loop */
.loop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.loop-step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.loop-step .num { font-size: 13px; color: var(--muted); font-weight: 600; }
.loop-step h3 { font-size: 30px; margin: 10px 0 12px; }
.loop-step:nth-child(2) h3 { color: var(--blue); }
.loop-step:nth-child(3) { background: var(--ink); color: #fff; border-color: var(--ink); }
.loop-step:nth-child(3) h3 { color: var(--lime); }
.loop-step:nth-child(3) p { color: #bdbdbd; }
.loop-step p { color: #555; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 24px; }
.feat h3 { font-size: 19px; margin: 18px 4px 8px; }
.feat p { color: #666; font-size: 15px; margin: 0 4px; }
.feat-art { height: 150px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; justify-content: center; gap: 8px; overflow: hidden; }
.art-queries span { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font-size: 13px; color: #555; }
.art-queries span.on { border-color: var(--blue); color: var(--ink); box-shadow: 0 0 0 3px rgba(0,89,230,.1); }
.art-rivals div { display: flex; justify-content: space-between; background: var(--surface); border-radius: 8px; padding: 8px 12px; font-size: 13px; }
.art-rivals div:first-child { background: var(--ink); color: #fff; }
.art-proof code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; color: #444; }
.art-ci { align-items: center; }
.ci-bar { position: relative; width: 90%; height: 10px; border-radius: 99px; background: #e9e9e9; }
.ci-bar i { position: absolute; left: 12%; right: 35%; top: 0; bottom: 0; border-radius: 99px; background: rgba(0,89,230,.25); }
.ci-bar b { position: absolute; left: 33%; top: -5px; width: 4px; height: 20px; border-radius: 2px; background: var(--blue); }
.art-ci span { font-size: 13px; color: #555; margin-top: 10px; }
.art-weeks { flex-direction: row; align-items: flex-end; justify-content: center; gap: 10px; }
.art-weeks i { width: 26px; height: 40px; border-radius: 6px; background: #e4e4e4; }
.art-weeks i.on { height: 90px; background: var(--lime); }
.art-check span { font-size: 14px; background: var(--surface); border-radius: 8px; padding: 7px 12px; color: var(--ink-2); }

/* Reward */
.reward { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.reward h2 { margin-top: 18px; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; color: #444; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23171717' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.split-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; padding: 26px; }
.split-head { display: flex; justify-content: space-between; align-items: baseline; }
.split-head span { color: var(--muted); }
.split-head b { font-size: 30px; letter-spacing: -0.03em; }
.split-bar { display: flex; gap: 4px; height: 16px; margin: 18px 0 22px; }
.split-bar i { border-radius: 5px; }
.split-rows { display: grid; gap: 14px; }
.split-rows > div { display: grid; grid-template-columns: 14px 1fr 44px 86px; gap: 12px; align-items: start; }
.split-rows small { display: block; color: var(--muted); font-size: 13px; }
.split-rows em { font-style: normal; color: var(--muted); text-align: right; }
.split-rows b { text-align: right; }
.sw { width: 14px; height: 14px; border-radius: 4px; margin-top: 4px; }

/* Sides */
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.side { border-radius: 20px; padding: 36px; scroll-margin-top: 90px; }
.side h3 { font-size: 28px; letter-spacing: -0.025em; margin: 18px 0 4px; max-width: 20ch; }
.side .btn { margin-top: 28px; }
.side-light { background: var(--surface); border: 1px solid var(--line); }
.side-dark { background: var(--ink); color: #fff; }
.side-dark .checks li { color: #cfcfcf; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; }
.faq-list { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 28px 18px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 22px; font-weight: 400; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: #555; }

/* CTA */
.cta { padding: 0 24px 96px; }
.cta-inner { background: var(--ink); color: #fff; border-radius: 28px; padding: 80px 24px; text-align: center; background-image: radial-gradient(600px 240px at 50% 0%, rgba(203,243,108,.18), transparent 70%); }
.cta h2 { font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -0.03em; }
.cta p { color: #bdbdbd; margin-top: 16px; font-size: 17px; }
.cta .hero-cta { padding-bottom: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-size: 14px; margin-bottom: 14px; }
.footer-grid a:not(.logo) { display: block; color: #666; font-size: 14px; margin-bottom: 10px; }
.footer-grid a:not(.logo):hover { color: var(--ink); }
.footer-tag { margin-top: 16px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.footer-loop { margin-top: 10px; color: var(--muted); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* Blog fallback */
.page-body { padding-top: 64px; padding-bottom: 96px; max-width: 760px; }
.entry { margin-bottom: 56px; }
.entry-title { font-size: 36px; }
.entry-meta { color: var(--muted); font-size: 14px; margin: 10px 0 20px; }
.entry-content { font-size: 17px; }
.entry-content p { margin-bottom: 1em; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .rotator.swap { animation: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .main-nav { gap: 22px; }
  .dash { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .bounty, .reward, .faq { grid-template-columns: 1fr; gap: 40px; }
  .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav-open .main-nav { display: flex; }
  .loop, .sides { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .announce { padding: 10px 16px; gap: 10px; font-size: 13px; justify-content: flex-start; }
  .announce > span:last-child { display: none; }
  .hero-frame { padding: 40px 16px 48px; border-radius: 0 0 48px 48px; }
  .lead { font-size: 16px; }
  .hero-cta { padding: 24px 0 32px; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .btn-icon { display: none; }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-main { padding: 14px; }
  .dash-float { display: none; }
  .sec { padding: 64px 0; }
  .features { grid-template-columns: 1fr; }
  .side { padding: 26px 22px; }
  .side h3 { font-size: 23px; }
  .split-card { padding: 20px; }
  .split-rows > div { grid-template-columns: 14px 1fr 70px; }
  .split-rows em { display: none; }
  .task-nums b { font-size: 17px; }
  .cta { padding: 0 16px 64px; }
  .cta-inner { padding: 56px 20px; border-radius: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

/* App pages */
.page-app { min-height: 60vh; }
.nav-mobil { display: none; }
@media (max-width: 860px) { .nav-mobil { display: block; } }
