/* PullOwl public site: same tokens as the app (style.css), no gradients, pixel accents. */
.site { min-height: 100vh; display: flex; flex-direction: column; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* nav */
.topnav { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.topnav .wrap { display: flex; align-items: center; gap: 28px; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; letter-spacing: -.02em; color: var(--text); }
.logo img, .logo .owl { width: 24px; height: 24px; image-rendering: pixelated; }
.topnav nav { display: flex; gap: 22px; font-size: 13.5px; }
.topnav nav a { color: var(--muted); }
.topnav nav a:hover, .topnav nav a.on { color: var(--text); }
.topnav .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; }

/* type */
.kicker { font: 500 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--green-ink); }
.h-xl { font-size: 58px; line-height: 1.04; letter-spacing: -.045em; font-weight: 600; margin: 18px 0 18px; color: var(--text); }
.h-lg { font-size: 36px; line-height: 1.12; letter-spacing: -.035em; font-weight: 600; margin: 12px 0 12px; color: var(--text); }
.h-md { font-size: 18px; line-height: 1.3; letter-spacing: -.02em; font-weight: 600; color: var(--text); }
.lead { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 620px; margin: 0; }
.lead.center { margin: 0 auto; text-align: center; }
.small { font-size: 12.5px; color: var(--faint); }

/* sections */
.sec { padding: 96px 0; border-bottom: 1px solid var(--line); }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* hero */
.hero2 { padding: 84px 0 72px; border-bottom: 1px solid var(--line); }
.hero2 .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hero2 .wrap > *, .split > *, .docs > *, .steps3 > *, .plans > *, .pipeline > * { min-width: 0; }
.mock, .mock-body, .mock-comment, .diff { min-width: 0; max-width: 100%; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.cta-note { margin-top: 14px; }
.pixel-rule { display: grid; grid-template-columns: repeat(24, 8px); gap: 2px; margin-bottom: 26px; }
.pixel-rule i { width: 8px; height: 8px; border-radius: 1px; background: var(--px-0); }
.pixel-rule i.a { background: var(--px-2); } .pixel-rule i.b { background: var(--px-3); } .pixel-rule i.c { background: var(--px-4); } .pixel-rule i.d { background: var(--px-1); }

/* product mock: a GitHub-style review, drawn in HTML */
.mock { background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--faint); }
.mock-bar .dots { display: flex; gap: 5px; margin-right: 6px; }
.mock-bar .dots i { width: 9px; height: 9px; border-radius: 2px; background: var(--px-0); border: 1px solid var(--line-2); }
.mock-body { padding: 16px; display: grid; gap: 12px; }
.mock-comment { border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.mock-comment .who { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.mock-comment .who img, .mock-comment .who .owl { width: 18px; height: 18px; }
.mock-comment .who b { color: var(--text); font-weight: 600; }
.mock-comment .bot { font-size: 10.5px; border: 1px solid var(--line-2); border-radius: 4px; padding: 0 5px; color: var(--faint); }
.mock-comment .in { padding: 12px; font-size: 12.5px; color: var(--text-2); display: grid; gap: 9px; }
.mock-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.mock .sev { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text); font-weight: 500; }
.mock .sev::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--major); }
.mock .sev.crit::before { background: var(--crit); } .mock .sev.low::before { background: var(--green-hi); } .mock .sev.med::before { background: var(--minor); }
.diff { font: 12px/1.65 var(--mono); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.diff div { padding: 0 10px; white-space: pre; overflow: hidden; text-overflow: ellipsis; color: var(--text-2); }
.diff .ln { color: var(--faint); display: inline-block; width: 26px; }
.diff .del { background: rgba(220, 60, 61, .12); }
.diff .add { background: rgba(34, 160, 79, .14); }
.diff .hd { color: var(--faint); background: var(--panel-2); border-bottom: 1px solid var(--line); }
.mock-actions { display: flex; gap: 6px; }
.mock-actions span { font-size: 11.5px; border: 1px solid var(--line-2); border-radius: 6px; padding: 3px 9px; color: var(--text-2); background: var(--panel-2); }
.mock-actions span.go { background: var(--green); border-color: var(--green); color: #fff; }

/* steps */
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.step .n { font: 600 12px/1 var(--mono); color: var(--green-ink); }
.step h3 { font-size: 16px; margin: 14px 0 8px; letter-spacing: -.015em; }
.step p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }

/* feature grid */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.feature { background: var(--bg); padding: 26px 24px 28px; }
.feature .glyph { width: 30px; height: 30px; display: grid; grid-template-columns: repeat(3, 8px); gap: 2px; margin-bottom: 18px; }
.feature .glyph i { width: 8px; height: 8px; border-radius: 1px; background: var(--px-0); }
.feature .glyph i.on { background: var(--px-3); } .feature .glyph i.hi { background: var(--px-4); }
.feature h3 { font-size: 15px; margin: 0 0 8px; letter-spacing: -.015em; }
.feature p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.feature code { font-size: 12px; }

/* pipeline */
.pipeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.pipe { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.pipe .bar { display: flex; gap: 2px; margin-bottom: 14px; }
.pipe .bar i { flex: 1; height: 8px; border-radius: 1px; background: var(--px-0); }
.pipe .bar i.on { background: var(--px-3); }
.pipe b { display: block; font-size: 13.5px; color: var(--text); margin-bottom: 6px; font-weight: 600; }
.pipe span { font-size: 12.5px; color: var(--muted); line-height: 1.55; display: block; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font: 12px/1 var(--mono); padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--text-2); background: var(--panel); }

/* split section */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 22px; color: var(--text-2); font-size: 14px; line-height: 1.55; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 1px; background: var(--px-3); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 26px; display: flex; flex-direction: column; }
.plan.main { border-color: rgba(34, 160, 79, .55); box-shadow: inset 0 0 0 1px rgba(34, 160, 79, .25); }
.plan .name { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 15px; }
.plan .price { font-size: 42px; font-weight: 600; letter-spacing: -.04em; margin: 18px 0 2px; }
.plan .per { color: var(--faint); font-size: 12.5px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan li { position: relative; padding-left: 18px; font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.plan li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 1px; background: var(--px-3); }
.plan .btn { width: 100%; }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 15px; font-weight: 500; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--faint); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; max-width: 760px; }

/* final CTA */
.final { text-align: center; padding: 96px 0; }
.final .cta { justify-content: center; }

/* footer */
.foot { margin-top: auto; border-top: 1px solid var(--line); padding: 56px 0 28px; }
.foot-hero { display: flex; align-items: flex-end; justify-content: center; gap: 28px; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.foot-owl-link { flex: none; }
.foot .foot-owl { width: 104px; height: 104px; }
.foot-word { flex: 0 1 640px; }
.pixel-word { width: 100%; height: auto; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-tag { color: var(--muted); font-size: 13.5px; line-height: 1.6; max-width: 300px; margin: 0 0 18px; }
.foot h4 { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin: 4px 0 14px; }
.foot-grid a:not(.btn) { display: block; color: var(--muted); font-size: 13px; margin-bottom: 9px; }
.foot-grid a:not(.btn):hover { color: var(--text); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--faint); }
.foot-status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; }
.foot-status i { width: 7px; height: 7px; border-radius: 1px; background: var(--green-hi); animation: dot-blink 2s steps(1) infinite; }

/* prose (legal + docs) */
.prose { max-width: 760px; font-size: 14.5px; line-height: 1.75; color: var(--text-2); }
.prose h1 { font-size: 34px; letter-spacing: -.035em; line-height: 1.15; color: var(--text); margin: 0 0 10px; }
.prose h2 { font-size: 20px; letter-spacing: -.02em; color: var(--text); margin: 40px 0 10px; padding-top: 6px; }
.prose h3 { font-size: 15.5px; color: var(--text); margin: 28px 0 6px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--green-hi); text-underline-offset: 3px; }
.prose code { font-size: 12.5px; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; color: var(--text); }
.prose pre { font: 12.5px/1.65 var(--mono); background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; overflow-x: auto; color: var(--text); margin: 0 0 18px; }
.prose pre code { background: none; border: 0; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 6px 0 20px; font-size: 13.5px; display: block; overflow-x: auto; }
.prose th { text-align: left; font-weight: 500; color: var(--faint); font-size: 12px; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); }
.prose td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose .callout { border: 1px solid var(--line-2); border-left: 3px solid var(--green-hi); background: var(--panel); border-radius: 6px; padding: 12px 14px; margin: 0 0 18px; font-size: 13.5px; }
.prose .callout.warn { border-left-color: var(--major); }
.prose .updated { color: var(--faint); font-size: 13px; margin-bottom: 28px; }
.legal { padding: 64px 0 96px; }

/* docs */
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; padding: 40px 0 96px; }
.docs-nav { position: sticky; top: 84px; align-self: start; max-height: calc(100vh - 100px); overflow-y: auto; }
.docs-nav h4 { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin: 18px 0 8px; }
.docs-nav h4:first-child { margin-top: 0; }
.docs-nav a { display: block; padding: 5px 10px; margin-left: -10px; border-radius: 6px; color: var(--muted); font-size: 13.5px; position: relative; }
.docs-nav a:hover { color: var(--text); background: var(--hover); }
.docs-nav a.on { color: var(--text); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.docs-nav a.on::before { content: ""; position: absolute; left: -6px; top: 8px; bottom: 8px; width: 2px; background: var(--green-hi); }
.docs-pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); }
.docs-pager a { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; background: var(--panel); font-size: 13.5px; color: var(--text); }
.docs-pager a span { display: block; color: var(--faint); font-size: 11.5px; }
.docs-pager a:hover { border-color: var(--line-2); }

@media (max-width: 960px) {
  .hero2 .wrap, .split { grid-template-columns: 1fr; }
  .features, .plans, .steps3 { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr 1fr; }
  .h-xl { font-size: 42px; } .h-lg { font-size: 30px; }
  .docs { grid-template-columns: 1fr; gap: 24px; }
  .docs-nav { position: static; max-height: none; display: flex; flex-wrap: wrap; gap: 4px 10px; }
  .docs-nav h4 { width: 100%; margin: 10px 0 2px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .topnav nav { display: none; }
  .topnav .right .btn:not(.primary) { display: none; }
  .wrap { padding: 0 16px; }
  .sec { padding: 64px 0; } .hero2 { padding: 52px 0 48px; }
  .h-xl { font-size: 36px; }
  .pipeline { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-hero { flex-direction: column; align-items: center; gap: 18px; }
  .foot-word { width: 100%; }
  .foot .foot-owl { width: 72px; height: 72px; }
}

/* ---------- motion: stepped, pixel-like, never on for reduced-motion users ---------- */
.owl { display: block; overflow: visible; }
.owl-eyes { transform-box: fill-box; transform-origin: center; animation: owl-blink 5.5s steps(1) infinite; }
.foot-owl .owl-eyes { animation-delay: -2.2s; }
.big-owl .owl-eyes { animation-delay: -3.6s; }
.mini-owl .owl-eyes { animation-duration: 7s; }
@keyframes owl-blink { 0%, 93%, 100% { transform: scaleY(1); } 94%, 96% { transform: scaleY(.15); } }
@keyframes dot-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes px-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes cell-pop { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }
@keyframes type-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes twinkle { 0%, 100% { background: var(--px-3); } 50% { background: var(--px-4); } }
@keyframes word-twinkle { 0%, 100% { fill: var(--px-4); } 50% { fill: var(--px-2); } }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 50% { box-shadow: 0 0 0 3px rgba(34, 160, 79, .35); } }
@keyframes hop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* hero: on load */
.hero-anim .pixel-rule i { animation: px-pulse 2.4s steps(2) infinite; }
.hero-anim .pixel-rule i:nth-child(3n) { animation-delay: .4s; }
.hero-anim .pixel-rule i:nth-child(3n+1) { animation-delay: .8s; }
.hero-anim .pixel-rule i:nth-child(4n) { animation-delay: 1.2s; }
.hero-anim .pixel-rule i:nth-child(5n) { animation-delay: 1.6s; }
.hero-anim .kicker, .hero-anim .h-xl, .hero-anim .lead, .hero-anim .cta, .hero-anim .cta-note { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero-anim .h-xl { animation-delay: .08s; } .hero-anim .lead { animation-delay: .16s; }
.hero-anim .cta { animation-delay: .24s; } .hero-anim .cta-note { animation-delay: .32s; }
.mock-anim { animation: rise .8s .2s cubic-bezier(.2, .7, .2, 1) both; }
.mock-anim .mock-comment { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
.mock-anim .mock-comment:nth-child(1) { animation-delay: .6s; }
.mock-anim .mock-comment:nth-child(2) { animation-delay: 1.2s; }
.mock-anim .diff .del { animation: type-in .9s 1.8s steps(28) both; }
.mock-anim .diff .add { animation: type-in 1.3s 2.6s steps(40) both; }
.mock-anim .mock-actions .go { animation: ring 1.6s 4s steps(2) 3; }

/* scroll reveal (app.js adds .js to <html> and .in when visible) */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .steps3.in > *, .js .features.in > *, .js .pipeline.in > *, .js .chips.in > * { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
.js .in > *:nth-child(2) { animation-delay: .07s; } .js .in > *:nth-child(3) { animation-delay: .14s; }
.js .in > *:nth-child(4) { animation-delay: .21s; } .js .in > *:nth-child(5) { animation-delay: .28s; }
.js .in > *:nth-child(6) { animation-delay: .35s; } .js .in > *:nth-child(7) { animation-delay: .42s; }
.js .in > *:nth-child(8) { animation-delay: .49s; } .js .in > *:nth-child(9) { animation-delay: .56s; }
.js .in > *:nth-child(n+10) { animation-delay: .6s; }
.js .pipeline.in .bar i.on { animation: cell-pop .3s steps(2) both; }
.js .pipeline.in .pipe:nth-child(1) .bar i { animation-delay: .5s; }
.js .pipeline.in .pipe:nth-child(2) .bar i { animation-delay: .7s; }
.js .pipeline.in .pipe:nth-child(3) .bar i { animation-delay: .9s; }
.js .pipeline.in .pipe:nth-child(4) .bar i { animation-delay: 1.1s; }
.js .pipeline.in .pipe:nth-child(5) .bar i { animation-delay: 1.3s; }
.feature .glyph i.on, .feature .glyph i.hi { animation: twinkle 3.2s steps(1) infinite; }
.feature .glyph i:nth-child(2n) { animation-delay: .8s; } .feature .glyph i:nth-child(3n) { animation-delay: 1.6s; }
.feature .glyph i:nth-child(4n) { animation-delay: 2.4s; }
.feature:hover .glyph i.on, .feature:hover .glyph i.hi { animation-duration: .5s; }
.js .mock.in .px g rect { transform-box: fill-box; transform-origin: center; animation: cell-pop .35s steps(3) both; animation-delay: calc(var(--i) * 45ms); }
.js .foot-hero.in .pixel-word rect { transform-box: fill-box; transform-origin: center; animation: cell-pop .3s steps(2) both; animation-delay: calc(var(--i) * 28ms); }
.js .foot-hero.in .pixel-word rect.p4 { animation: cell-pop .3s steps(2) both, word-twinkle 2.6s steps(1) infinite; animation-delay: calc(var(--i) * 28ms), calc(var(--i) * 90ms + 1.5s); }
.final-owl { display: flex; justify-content: center; margin-bottom: 22px; }
.final-owl .big-owl { width: 72px; height: 72px; animation: hop 1.4s steps(2) infinite; }

@media (prefers-reduced-motion: reduce) {
  .site *, .site *::before, .site *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
.pixel-word .e { opacity: .4; }
