/* Pixelkit website. Same Quixotic language as the extension: Urbanist, brand green, pill buttons, 22px cards, flat white on warm grey. */
@font-face { font-family: 'Urbanist'; src: url('fonts/urbanist.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --brand: #188F55; --brand-hover: #147A49; --brand-deep: #0F6339; --brand-tint: #E8F3EC; --brand-glow: #D9EFE2;
  --ink: #111; --text: #1F2321; --muted: #5C615E; --faint: #8A8F8C;
  --page: #F6F7F5; --surface: #fff; --subtle: #EEF0EE; --line: rgba(17, 17, 17, 0.07);
  --r-card: 22px; --r-lg: 28px; --shadow: 0 0 0 1px var(--line), 0 24px 60px rgba(17, 17, 17, 0.08), 0 2px 6px rgba(17, 17, 17, 0.04);
  --wrap: 1160px; --gutter: 24px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: Urbanist, system-ui, sans-serif; font-size: 17px; line-height: 1.6; color: var(--text); background: var(--page); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--brand-tint); color: var(--brand-deep); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3 { color: var(--ink); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(44px, 7.4vw, 92px); }
h2 { font-size: clamp(36px, 5vw, 64px); }
h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
h1 em, h2 em { font-style: normal; color: var(--brand); }
.lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 6px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; color: var(--text); }
.eyebrow .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; }
.eyebrow .dot svg { width: 14px; height: 14px; }

/* ---------- wordmark: lowercase, each "i" dotted with a square brand pixel ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 24px; letter-spacing: -0.03em; color: var(--ink); }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.pk-i { position: relative; display: inline-block; line-height: 1; }
.pk-i::after { content: ''; position: absolute; left: 50%; top: 0.08em; width: 0.21em; height: 0.21em; margin-left: -0.105em; border-radius: 0.05em; background: var(--brand); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; border: 0; font: 600 17px/1 Urbanist, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color 160ms var(--ease), transform 160ms var(--ease), box-shadow 160ms var(--ease); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(24, 143, 85, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.btn-ghost:hover { background: var(--subtle); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 20; transition: background-color 200ms var(--ease), box-shadow 200ms var(--ease); }
.header.is-scrolled { background: rgba(246, 247, 245, 0.82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 600; color: var(--muted); transition: color 160ms, background-color 160ms; }
.nav a:not(.btn):hover { color: var(--ink); background: rgba(17, 17, 17, 0.04); }
.nav .btn { margin-left: 8px; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 56px 0 0; text-align: center; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -200px 0 auto; height: 760px; background: radial-gradient(closest-side, var(--brand-glow), transparent); pointer-events: none; z-index: -1; }
.hero-icon { width: 120px; height: 120px; margin: 0 auto 28px; border-radius: 28px; filter: drop-shadow(0 22px 34px rgba(15, 99, 57, 0.24)) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.08)); }
.hero .eyebrow { margin-bottom: 24px; }
.hero h1 { max-width: 15ch; margin-inline: auto; }
.hero .lead { max-width: 560px; margin: 22px auto 0; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.cta-note { margin-top: 14px; font-size: 14px; color: var(--faint); }
.hero-shot { position: relative; margin: 64px auto 0; max-width: 1100px; }

/* browser frame around real screenshots */
.browser { border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; background: #FBFBFA; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #E2E4E2; }
.browser-bar span { flex: 1; max-width: 360px; height: 26px; margin: 0 auto; border-radius: 999px; background: var(--subtle); font-size: 12px; line-height: 26px; color: var(--faint); text-align: center; }
.browser img { width: 100%; height: auto; }

/* ---------- strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 56px; }
.stat { padding: 22px 24px; border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); text-align: left; }
.stat b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); }
.stat span { font-size: 15px; color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- sections ---------- */
.section { padding: 128px 0 0; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 16px; }
@media (max-width: 760px) { .section { padding-top: 88px; } }

/* replaces 12 extensions */
.swap { display: grid; grid-template-columns: 1fr auto 300px; align-items: center; gap: 24px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: 18px; border-radius: 20px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.tile .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--subtle); color: #6A6F6C; display: grid; place-items: center; }
.tile .ic svg { width: 22px; height: 22px; }
.tile b { font-size: 16px; font-weight: 600; color: var(--text); line-height: 1.25; }
.tile .pro { position: absolute; top: 16px; right: 16px; padding: 4px 9px; border-radius: 999px; background: #FFF1D6; color: #8A5200; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; }
.swap-arrow { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.swap-arrow svg { width: 24px; height: 24px; }
.one { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 100%; padding: 32px 28px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.one .brand { font-size: 30px; }
.one .brand img { width: 46px; height: 46px; border-radius: 12px; }
.one .price { font-size: 104px; font-weight: 800; letter-spacing: -0.045em; line-height: 0.85; color: var(--brand); }
.one p { margin-top: 10px; color: var(--muted); font-size: 15px; }
@media (max-width: 980px) {
  .swap { grid-template-columns: 1fr; }
  .swap-arrow { transform: rotate(90deg); margin: 0 auto; }
}
@media (max-width: 560px) { .tiles { grid-template-columns: repeat(2, 1fr); } }

/* feature rows */
.features { display: flex; flex-direction: column; gap: 112px; }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 64px; }
.feature:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature:nth-child(even) .feature-copy { order: 2; }
.feature-tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 14px; font-weight: 700; color: var(--brand); letter-spacing: 0.01em; }
.feature-tag .k { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 7px; background: var(--brand-tint); color: var(--brand-deep); display: inline-grid; place-items: center; font-size: 13px; }
.feature h2 { font-size: clamp(34px, 4vw, 52px); }
.feature ul { list-style: none; padding: 0; margin-top: 26px; display: grid; gap: 12px; }
.feature li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; color: var(--text); }
.feature li i { flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; }
.feature li i svg { width: 14px; height: 14px; }
.feature .browser { border-radius: 20px; }
@media (max-width: 900px) {
  .feature, .feature:nth-child(even) { grid-template-columns: 1fr; gap: 36px; }
  .feature:nth-child(even) .feature-copy { order: 0; }
  .features { gap: 88px; }
}

/* all tools */
.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tool { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); transition: box-shadow 160ms var(--ease), transform 160ms var(--ease); }
.tool:hover { box-shadow: 0 0 0 1px rgba(24, 143, 85, 0.35), 0 10px 24px rgba(17, 17, 17, 0.06); transform: translateY(-1px); }
.tool .ic { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-tint); color: var(--brand-deep); display: grid; place-items: center; }
.tool .ic svg { width: 21px; height: 21px; }
.tool b { display: block; font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.tool span { font-size: 14px; color: var(--muted); line-height: 1.35; }
.tool .kbd { margin-left: auto; align-self: flex-start; }
@media (max-width: 1020px) { .tools { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .tools { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tools { grid-template-columns: 1fr; } }

.kbd { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 8px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 2px 0 rgba(17, 17, 17, 0.08); font-size: 13px; font-weight: 700; color: var(--muted); }

/* keyboard */
.keys-card { padding: 56px; border-radius: 32px; background: var(--surface); box-shadow: var(--shadow); text-align: center; }
.keys { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.key { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.key .cap { display: grid; place-items: center; min-width: 60px; height: 60px; padding: 0 16px; border-radius: 16px; background: var(--page); box-shadow: 0 0 0 1px var(--line), 0 4px 0 rgba(17, 17, 17, 0.08); font-size: 22px; font-weight: 700; color: var(--ink); }
.key span { font-size: 13px; color: var(--muted); }
.key.is-main .cap { background: var(--brand); color: #fff; box-shadow: 0 4px 0 var(--brand-deep); }
@media (max-width: 760px) { .keys-card { padding: 36px 20px; } .key .cap { min-width: 50px; height: 50px; font-size: 19px; } }

/* free */
.free-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.free-item { padding: 28px 24px; border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.free-item .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; margin-bottom: 40px; }
.free-item .ic svg { width: 24px; height: 24px; }
.free-item p { margin-top: 6px; font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .free-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .free-grid { grid-template-columns: 1fr; } }

/* ko-fi: an optional thank-you, never in the way */
.kofi-card { display: flex; align-items: center; gap: 20px; margin-top: 12px; padding: 22px 24px; border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.kofi-card h3 { font-size: 20px; }
.kofi-card p { margin-top: 2px; font-size: 15px; color: var(--muted); }
.kofi-card .btn { margin-left: auto; }
.kofi-cup { flex: none; width: 52px; height: 52px; border-radius: 16px; background: #FFF0EF; color: var(--ink); display: grid; place-items: center; }
.kofi-cup svg { width: 28px; height: 28px; }
.kofi-link { display: inline-flex; align-items: center; gap: 6px; }
.kofi-link svg { width: 18px; height: 18px; }
@media (max-width: 640px) { .kofi-card { flex-wrap: wrap; } .kofi-card .btn { margin-left: 0; width: 100%; } }
.faq details p a { color: var(--brand-deep); text-underline-offset: 3px; }

/* faq */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { border-radius: 20px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; cursor: pointer; list-style: none; font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--subtle); display: grid; place-items: center; transition: transform 200ms var(--ease); }
.faq summary .chev svg { width: 16px; height: 16px; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); max-width: 680px; }

/* final cta */
.final { margin-top: 128px; padding: 88px 24px; border-radius: 36px; background: radial-gradient(700px 360px at 50% 0%, var(--brand-glow), transparent 70%), var(--surface); box-shadow: var(--shadow); text-align: center; }
.final img { width: 96px; height: 96px; margin: 0 auto 28px; filter: drop-shadow(0 18px 28px rgba(15, 99, 57, 0.24)); }
.final h2 { max-width: 14ch; margin-inline: auto; }

/* ---------- footer ---------- */
.footer { margin-top: 96px; padding: 48px 0 56px; border-top: 1px solid var(--line); }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer nav a { text-decoration: none; font-size: 15px; color: var(--muted); }
.footer nav a:hover { color: var(--ink); }
.footer small { display: block; margin-top: 6px; font-size: 14px; color: var(--faint); }

/* ---------- document pages (privacy, terms, support) ---------- */
.doc { padding: 64px 0 0; }
.doc-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.doc-head h1 { font-size: clamp(40px, 6vw, 64px); }
.doc-head p { margin-top: 14px; color: var(--muted); }
.doc-body { max-width: 760px; margin-inline: auto; padding: 48px 56px; border-radius: 28px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.doc-body h2 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.25; margin: 40px 0 10px; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body p, .doc-body li { color: var(--text); }
.doc-body p + p { margin-top: 12px; }
.doc-body ul { padding-left: 22px; margin-top: 10px; display: grid; gap: 6px; }
.doc-body a:not(.btn) { color: var(--brand-deep); text-underline-offset: 3px; }
.doc-body code { padding: 1px 7px; border-radius: 6px; background: var(--subtle); font-size: 0.9em; }
.callout { margin: 0 0 28px; padding: 18px 22px; border-radius: 18px; background: var(--brand-tint); color: var(--brand-deep); font-weight: 600; }
.contact-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px; border-radius: 20px; background: var(--page); }
.contact-card b { display: block; font-size: 19px; color: var(--ink); }
.contact-card span { font-size: 15px; color: var(--muted); }
.shortcuts { width: 100%; border-collapse: collapse; margin-top: 12px; }
.shortcuts td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.shortcuts td:last-child { text-align: right; white-space: nowrap; }
.shortcuts .kbd + .kbd { margin-left: 4px; }
@media (max-width: 640px) { .doc-body { padding: 32px 22px; border-radius: 22px; } }

/* 404 */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.nf img { width: 96px; height: 96px; margin: 0 auto 28px; }
.nf p { margin: 14px auto 28px; color: var(--muted); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .tool, .faq summary .chev { transition: none; }
}
