/* www.pikast.app — static site. Colors follow the app icon and the store feature graphic. */
:root {
  --bg: #fbf7f6;
  --bg-2: #f3ebe9;
  --surface: #ffffff;
  --text: #22151b;
  --text-2: #5d4a52;
  --line: #e6d9dc;
  --brand: #c2185b;
  --brand-2: #ff7a2e;
  --accent: #b84a00;
  --hero-1: #2a1020;
  --hero-2: #4a1236;
  --hero-3: #7a1e3a;
  --on-hero: #fff3ee;
  --on-hero-2: #ffd9c4;
  --radius: 18px;
  --shadow: 0 10px 30px rgb(42 16 32 / 0.12);
  --max: 1080px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #160c12;
    --bg-2: #1f121a;
    --surface: #261620;
    --text: #f6ecef;
    --text-2: #c8b3bb;
    --line: #3a2731;
    --brand: #ff6f9c;
    --brand-2: #ffa067;
    --accent: #ffb36b;
    --shadow: 0 10px 30px rgb(0 0 0 / 0.45);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 76px; } /* clear the sticky header on #anchor links */
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Segoe UI", Roboto, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); font-weight: 650; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 650; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--text-2); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; letter-spacing: 0.04em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.top nav { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
.top nav a { color: var(--text-2); text-decoration: none; padding: 6px 10px; border-radius: 999px; font-size: 0.95rem; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--text); background: var(--bg-2); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--hero-1), var(--hero-2) 55%, var(--hero-3));
  color: var(--on-hero);
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.2rem; color: var(--on-hero-2); max-width: 34ch; }
.hero .tag { color: #ffb36b; font-weight: 650; letter-spacing: 0.02em; }
.hero .phones { position: relative; display: flex; justify-content: center; gap: 14px; }
.hero .phones img { width: 46%; max-width: 230px; border-radius: 22px; box-shadow: 0 18px 40px rgb(0 0 0 / 0.45); }
.hero .phones img:nth-child(2) { margin-top: 48px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 650; text-decoration: none;
  border: 1px solid transparent; font-size: 1rem;
}
.btn-primary { background: linear-gradient(135deg, #ff8a3d, #e5397a); color: #fff; }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { color: #fff; border-color: rgb(255 255 255 / 0.4); }
.btn-ghost:hover { background: rgb(255 255 255 / 0.08); }
.btn[aria-disabled="true"] { opacity: 0.85; cursor: default; }
.btn small { font-weight: 500; opacity: 0.85; }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--bg-2); }
.section-head { max-width: 640px; margin-bottom: 32px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.card .icon { font-size: 1.6rem; line-height: 1; margin-bottom: 10px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card ul { padding-left: 1.1em; margin: 0; }
.card li { margin: 4px 0; }

/* Screenshot strip */
.shots { display: flex; gap: 18px; overflow-x: auto; padding: 4px 4px 18px; scroll-snap-type: x mandatory; }
.shots figure { flex: 0 0 220px; margin: 0; scroll-snap-align: start; }
.shots img { border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.shots figcaption { font-size: 0.92rem; color: var(--text-2); margin-top: 8px; text-align: center; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }

.plus {
  background: linear-gradient(135deg, var(--hero-2), var(--hero-3));
  color: var(--on-hero); border-radius: 26px; padding: 36px;
}
.plus h2 { color: #fff; }
.plus ul { padding-left: 1.1em; }
.plus li { margin: 6px 0; }
.plus .muted { color: var(--on-hero-2); }

/* Help page */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 1em; }
.steps li { counter-increment: s; position: relative; padding-left: 42px; margin: 12px 0; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 0.9rem;
  display: grid; place-items: center;
}
code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.92em; background: var(--bg-2); padding: 1px 6px; border-radius: 6px; overflow-wrap: anywhere; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 10px 0; }
details summary { cursor: pointer; font-weight: 650; }
details[open] summary { margin-bottom: 8px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--text-2); font-size: 0.95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--text-2); }

@media (max-width: 860px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .hero .phones img { width: 44%; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  section { padding: 44px 0; }
  .hero .wrap { padding-top: 36px; padding-bottom: 40px; }
  .plus { padding: 24px; }
  .top nav { flex-wrap: nowrap; }
  .top nav a { padding: 6px 8px; }
  .top nav a.wide { display: none; }
  .shots figure { flex-basis: 180px; }
}
