/* Pickyoka — site styles. System typography, flat colour, no gradients. */
:root {
  --ink: #0b1220;
  --ink-2: #2b3346;
  --muted: #5d6678;
  --line: #e5e8ef;
  --bg: #ffffff;
  --soft: #f5f7fb;
  --brand: #2457e6;
  --brand-ink: #ffffff;
  --brand-soft: #eaf0ff;
  --navy: #0f2a6b;
  --ok: #1f9d63;
  --radius: 22px;
  --max: 1140px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2f4f8; --ink-2: #d5dae4; --muted: #9ba4b6; --line: #232a37; --bg: #0a0c11; --soft: #121722;
    --brand: #5b8cff; --brand-ink: #0a0c11; --brand-soft: #16223f; --navy: #0f2a6b; --ok: #3ccf8e;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
h1, h2, h3 { font-family: var(--display); color: var(--ink); text-wrap: balance; margin: 0; }
h1 { font-size: clamp(40px, 6.2vw, 68px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 700; }
h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; letter-spacing: -0.028em; font-weight: 700; }
h3 { font-size: 21px; line-height: 1.3; letter-spacing: -0.012em; font-weight: 650; }
p { margin: 0; }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--muted); max-width: 34em; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--brand); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 650; font-size: 19px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a { color: var(--ink-2); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .nav .hide-sm { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 14px; font-weight: 600; font-size: 16px; border: 1px solid transparent; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: var(--bg); }
.btn-small { height: 38px; padding: 0 16px; border-radius: 11px; font-size: 14px; }
.store-badge { display: inline-block; line-height: 0; border-radius: 8px; } .store-badge:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; } .store-badge img { display: block; height: 48px; width: auto; }

/* Device frame for screenshots */
.device { position: relative; width: 100%; max-width: 320px; aspect-ratio: 1320 / 2868; border-radius: 52px; padding: 11px; background: #0b0c10; box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 30px 60px -20px rgba(11,18,32,0.35); margin: 0 auto; }
.device img { width: 100%; height: 100%; object-fit: cover; border-radius: 42px; }
.device::after { content: ""; position: absolute; top: 22px; left: 50%; width: 31%; height: 26px; transform: translateX(-50%); background: #000; border-radius: 20px; }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 6px; }
.hero-note { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .hero { padding-top: 48px; } .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero .device { max-width: 280px; } }

.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 56px; }
.facts ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.facts li { display: grid; gap: 2px; align-content: start; }
.facts strong { font-family: var(--display); font-size: 26px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.facts span { font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .facts ul { grid-template-columns: repeat(2, 1fr); } }

/* Sections */
section { scroll-margin-top: 80px; }
.section { padding: 104px 0; }
.section.alt { background: var(--soft); }
.section-head { display: grid; gap: 14px; max-width: 46em; margin-bottom: 56px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; justify-items: center; }
@media (max-width: 760px) { .section { padding: 72px 0; } .section-head { margin-bottom: 40px; } }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature + .feature { margin-top: 112px; }
.feature.flip .feature-media { order: 2; }
.feature-copy { display: grid; gap: 18px; max-width: 30em; }
.feature-copy ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.feature-copy li { position: relative; padding-left: 30px; color: var(--ink-2); }
.feature-copy li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft); box-shadow: inset 0 0 0 5.5px var(--brand); }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 36px; } .feature.flip .feature-media { order: 0; } .feature + .feature { margin-top: 80px; } .feature .device { max-width: 270px; } }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 10px; align-content: start; }
.section.alt .card { background: var(--bg); }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 6px; }
.card .icon svg { width: 22px; height: 22px; }
.card p { color: var(--muted); font-size: 16px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 22px; display: grid; gap: 10px; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--display); font-weight: 600; color: var(--brand); font-variant-numeric: tabular-nums; }
.steps p { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 20px; justify-content: center; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; gap: 14px; background: var(--bg); }
.plan.featured { border: 2px solid var(--brand); }
.plan-tag { justify-self: start; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 5px 10px; border-radius: 999px; }
.price { font-family: var(--display); font-size: 44px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price small { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 9px; font-size: 15px; color: var(--ink-2); }
.plan li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 10px; }
.fineprint { max-width: 46em; margin: 32px auto 0; text-align: center; font-size: 14px; color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 26px; font-weight: 300; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 24px; color: var(--muted); max-width: 44em; display: grid; gap: 12px; }

/* CTA band */
.cta { background: var(--navy); color: #fff; padding: 88px 0; }
.cta .wrap { display: grid; gap: 22px; justify-items: center; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #c9d6f5; max-width: 36em; }
.cta .store-badge { margin-top: 4px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 14px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-grid h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: 0.02em; color: var(--ink); font-weight: 600; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--ink); }
.footer-company p + p { margin-top: 10px; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.footer-bottom .tm { flex-basis: 100%; font-size: 12px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-company { grid-column: 1 / -1; } }

/* Legal & content pages */
.page-head { padding: 64px 0 36px; border-bottom: 1px solid var(--line); }
.page-head .wrap { display: grid; gap: 12px; }
.page-head h1 { font-size: clamp(36px, 5vw, 52px); }
.page-head p { color: var(--muted); }
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding-top: 48px; padding-bottom: 104px; align-items: start; }
.page-body { padding-top: 48px; padding-bottom: 104px; }
.toc { position: sticky; top: 92px; font-size: 14px; }
.toc p { font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.toc a { color: var(--muted); }
.toc a:hover { color: var(--ink); }
.prose { max-width: 720px; }
.prose h2 { font-size: 26px; letter-spacing: -0.018em; margin: 48px 0 14px; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 22px; margin: 12px 0; display: grid; gap: 8px; }
.prose strong { color: var(--ink); }
.prose .callout { background: var(--soft); border-radius: 16px; padding: 18px 22px; margin: 22px 0; color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); }
.prose th { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: 0.02em; }
.table-scroll { overflow-x: auto; }
@media (max-width: 900px) { .doc { grid-template-columns: 1fr; gap: 28px; } .toc { position: static; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; } }

.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 8px 0 28px; }
@media (max-width: 700px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-cards .card p { font-size: 15px; }
.notfound { padding: 140px 0; text-align: center; display: grid; gap: 18px; justify-items: center; }
