:root {
  --bg: #FBF8EF;
  --bg-deep: #F1ECDD;
  --card: #FFFFFF;
  --ink: #1A1526;
  --ink-soft: #8B8398;
  --purple: #6D28D9;
  --purple-light: #8B5CF6;
  --yellow: #FFD11A;
  --red: #EF3E36;
  --line: rgba(139, 131, 152, 0.3);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14111C;
    --bg-deep: #1A1626;
    --card: #1E1A2B;
    --ink: #F3EFE4;
    --ink-soft: #9A93A8;
    --line: rgba(154, 147, 168, 0.28);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 680px; margin: 0 auto; padding: 56px 20px 64px; }

/* Nagłówek */

header { display: flex; align-items: center; gap: 18px; margin-bottom: 36px; }
.mascot { width: 68px; height: 68px; image-rendering: pixelated; flex: none; }
h1 { font-size: 30px; margin: 0; letter-spacing: 1px; }
.tagline { color: var(--ink-soft); margin: 6px 0 0; font-size: 15px; }

.lead { font-size: 17px; margin: 0 0 8px; }
.tagline + .lead { margin-top: 22px; }

/* Hero — strona główna skondensowana do jednego ekranu */

.hero-wrap { max-width: 1040px; padding-top: 48px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  align-items: center;
  gap: 48px;
  min-height: 74vh;
}

.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.brand .mascot { width: 34px; height: 34px; }
.brand-name { font-size: 15px; letter-spacing: 2px; color: var(--ink-soft); text-transform: uppercase; }

.hero-copy h1 { font-size: 38px; line-height: 1.2; letter-spacing: 0.5px; margin: 0 0 20px; max-width: 15ch; }

.subtitle { font-size: 17px; color: var(--ink-soft); max-width: 46ch; margin: 0 0 28px; }

.features { margin: 0 0 36px; }
.features li { font-size: 14px; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }

.store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 3px solid var(--ink);
  color: var(--ink);
  padding: 10px 16px;
  text-decoration: none;
  font-family: inherit;
}
.store-btn:hover { background: var(--purple); color: #fff; }
.store-btn svg { width: 22px; height: 22px; flex: none; }
.store-btn span { display: flex; flex-direction: column; font-size: 10px; line-height: 1.4; }
.store-btn strong { font-size: 14px; font-weight: 600; letter-spacing: 0.2px; }

@media (prefers-color-scheme: dark) {
  .store-btn:hover { background: var(--purple-light); color: var(--ink); }
}

/* Wachlarz zrzutów ekranu po prawej — ekran „dziś" na pierwszym planie,
   reszta rozłożona wokół, żeby jednym spojrzeniem było widać, że w apce
   jest więcej niż lista zadań. */

.hero-art { position: relative; height: 460px; justify-self: center; width: 100%; max-width: 480px; }

.phone {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 148px;
  height: 300px;
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px -18px rgba(26, 21, 38, 0.4);
}
.phone img { width: 100%; height: 100%; object-fit: cover; display: block; }

.p-front {
  width: 172px;
  height: 348px;
  z-index: 5;
  transform: translate(-50%, -50%);
}
.p-mid-l { z-index: 4; opacity: 0.96; transform: translate(-50%, -50%) translateX(-92px) rotate(-11deg); }
.p-mid-r { z-index: 4; opacity: 0.96; transform: translate(-50%, -50%) translateX(92px) rotate(11deg); }
.p-far-l { z-index: 3; opacity: 0.85; transform: translate(-50%, -50%) translateX(-168px) rotate(-20deg); }
.p-far-r { z-index: 3; opacity: 0.85; transform: translate(-50%, -50%) translateX(168px) rotate(20deg); }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 40px; min-height: 0; text-align: center; }
  .brand { justify-content: center; }
  .hero-copy h1 { max-width: none; }
  .subtitle { max-width: none; margin-left: auto; margin-right: auto; }
  .features { display: inline-block; text-align: left; }
  .stores { justify-content: center; }
  .hero-art { order: -1; height: 300px; width: 100%; max-width: none; }
  .phone { width: 92px; height: 186px; border-radius: 14px; }
  .p-front { width: 108px; height: 218px; }
  .p-mid-l { transform: translate(-50%, -50%) translateX(-58px) rotate(-11deg); }
  .p-mid-r { transform: translate(-50%, -50%) translateX(58px) rotate(11deg); }
  .p-far-l { transform: translate(-50%, -50%) translateX(-104px) rotate(-20deg); }
  .p-far-r { transform: translate(-50%, -50%) translateX(104px) rotate(20deg); }
}

h2 {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--ink-soft);
  text-transform: uppercase;
  font-weight: 400;
  margin: 48px 0 16px;
}

h3 { margin: 0 0 10px; font-size: 15px; letter-spacing: 0.5px; }
p { margin: 0 0 16px; }
a { color: var(--purple); }

@media (prefers-color-scheme: dark) {
  a { color: var(--purple-light); }
}

/* Listy z kwadracikiem zamiast kropki — jak w apce */

ul { margin: 0 0 16px; padding-left: 0; list-style: none; }
li { position: relative; padding-left: 24px; margin-bottom: 12px; }
li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--purple);
}

/* Kafelki w pixelowym kancie */

.card {
  background: var(--card);
  border: 3px solid var(--ink);
  padding: 20px 22px;
  margin-bottom: 18px;
}

.steps { display: grid; gap: 14px; }

.step { display: flex; gap: 16px; align-items: flex-start; }
.step-no {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--purple);
  color: #fff;
  font-size: 14px;
}
.step p { margin: 4px 0 0; color: var(--ink-soft); font-size: 14px; }
.step strong { font-weight: 600; font-size: 15px; }

.note {
  background: var(--bg-deep);
  border-left: 4px solid var(--yellow);
  padding: 14px 18px;
  font-size: 14px;
  margin-bottom: 18px;
}

footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 2px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
}
footer p { margin: 0 0 6px; }

.back { display: inline-block; margin-bottom: 28px; font-size: 14px; }
