:root {
  --bg: #f6f4f1;
  --bg-alt: #efece7;
  --surface: #ffffff;
  --text: #1f1d1c;
  --muted: #6b6560;
  --subtle: #857e78;
  --divider: rgba(31, 30, 28, 0.1);
  --divider-strong: rgba(31, 30, 28, 0.18);
  --accent-100: #e3f1f7;
  --accent-500: #2ea3c9;
  --accent-600: #0b6d8d;
  --accent-700: #04566f;
  --rose-100: #fbecf2;
  --rose-500: #c92f6d;
  --rose-700: #8f1148;
  --ink: #16242a;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(31, 29, 28, 0.04), 0 8px 24px rgba(31, 29, 28, 0.06);
  --shadow-lg: 0 2px 6px rgba(31, 29, 28, 0.05), 0 30px 60px -20px rgba(4, 86, 111, 0.28);
  --font-heading: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-body:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --container: 1160px;
  --gutter: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent-700);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent-500);
  outline-offset: 3px;
  border-radius: 8px;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 7vw, 4.1rem);
}

h2 {
  font-size: clamp(1.9rem, 4.6vw, 2.9rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--surface);
  padding: 10px 16px;
  border-radius: 10px;
}

.skip-link:focus {
  left: 8px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 244, 241, 0.82);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--divider);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
  color: #0a5670;
}

.site-nav {
  display: none;
  gap: 28px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-login {
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}

.have-account {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.have-account a {
  font-weight: 600;
  text-decoration: none;
}

.have-account a:hover {
  text-decoration: underline;
}

.cta-box .have-account {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.85);
}

.cta-box .have-account a {
  color: #fff;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 14px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent-600);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(11, 109, 141, 0.6);
}

.btn-primary:hover {
  background: var(--accent-700);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--divider-strong);
}

.btn-sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.92rem;
  border-radius: 12px;
}

.btn-light {
  background: #fff;
  color: var(--accent-700);
}

/* Sections */

section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-700);
  margin-bottom: 14px;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.1rem;
}

/* Hero */

.hero {
  padding: 48px 0 64px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero-copy .lead {
  margin-top: 20px;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-ctas .btn {
  flex: 1 1 200px;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--accent-600);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 8% -10% 0;
  background:
    radial-gradient(closest-side, rgba(46, 163, 201, 0.25), transparent 70%),
    radial-gradient(closest-side at 80% 30%, rgba(201, 47, 109, 0.12), transparent 70%);
  z-index: 0;
}

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  line-height: 1.35;
  max-width: 240px;
}

.float-card strong {
  display: block;
  font-size: 0.9rem;
}

.float-card span {
  color: var(--muted);
}

.float-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--accent-100);
  color: var(--accent-700);
}

.float-card.top {
  top: 3%;
  left: -6%;
}

.float-card.bottom {
  bottom: 12%;
  right: -2%;
}

/* Phone mockup */

.phone {
  position: relative;
  z-index: 1;
  width: 300px;
  max-width: 82vw;
  aspect-ratio: 9 / 18.5;
  padding: 10px;
  border-radius: 46px;
  background: #1c1b1a;
  box-shadow:
    0 0 0 2px #3a3735,
    var(--shadow-lg);
}

.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 37px;
  background: var(--bg);
  overflow: hidden;
  padding: 40px 16px 16px;
  font-size: 11px;
  line-height: 1.35;
}

.phone-screen::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 22px;
  border-radius: 20px;
  background: #1c1b1a;
}

.ui-date {
  color: var(--muted);
  font-size: 10px;
}

.ui-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
}

.ui-banner {
  margin: 12px 0 14px;
  padding: 9px 12px;
  border-radius: 12px;
  background: var(--bg-alt);
  color: var(--muted);
}

.ui-banner b {
  color: var(--text);
}

.ui-label {
  margin: 12px 0 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.ui-card {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
  padding: 9px 11px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(31, 29, 28, 0.05);
}

.ui-time {
  min-width: 40px;
  padding-right: 10px;
  border-right: 1px solid var(--divider);
  text-align: center;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
}

.ui-time small {
  display: block;
  font-family: var(--font-body);
  font-size: 8.5px;
  color: var(--subtle);
}

.ui-name {
  flex: 1;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 500;
}

.ui-tag {
  display: inline-block;
  margin-top: 3px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--accent-100);
  color: var(--accent-700);
  font-family: var(--font-body);
  font-size: 8.5px;
  font-weight: 600;
}

.ui-tag.neutral {
  background: var(--bg-alt);
  color: var(--muted);
}

.ui-mic {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--rose-100);
  color: var(--rose-500);
}

.ui-tabbar {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 46px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 16px rgba(31, 29, 28, 0.1);
  color: var(--subtle);
}

.ui-tabbar .active {
  color: var(--accent-600);
}

.ui-fab {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-top: -22px;
  border-radius: 50%;
  background: var(--accent-600);
  color: #fff;
  box-shadow: 0 6px 14px rgba(11, 109, 141, 0.4);
}

.ui-business {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
}

.ui-meta {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.ui-service {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
  padding: 9px 12px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--divider);
}

.ui-service.selected {
  border-color: var(--accent-600);
  box-shadow: 0 0 0 1px var(--accent-600);
}

.ui-service b {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
}

.ui-service span {
  color: var(--subtle);
  font-size: 9.5px;
}

.ui-days {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
}

.ui-day {
  padding: 6px 0;
  border-radius: 10px;
  text-align: center;
  background: var(--surface);
  color: var(--muted);
  font-size: 8.5px;
}

.ui-day b {
  display: block;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
}

.ui-day.active {
  background: var(--accent-600);
  color: rgba(255, 255, 255, 0.8);
}

.ui-day.active b {
  color: #fff;
}

.ui-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.ui-slot {
  padding: 7px 0;
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--divider-strong);
  background: var(--surface);
  font-weight: 600;
}

.ui-slot.active {
  background: var(--accent-600);
  border-color: var(--accent-600);
  color: #fff;
}

.ui-button {
  margin-top: 12px;
  padding: 10px;
  border-radius: 12px;
  background: var(--accent-600);
  color: #fff;
  text-align: center;
  font-weight: 700;
}

/* Problem / solution */

.pain-grid {
  display: grid;
  gap: 16px;
}

.pain-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--divider);
}

.pain-card .before {
  color: var(--subtle);
  text-decoration: line-through;
  text-decoration-color: rgba(179, 38, 30, 0.45);
  font-size: 0.95rem;
}

.pain-card .after {
  margin-top: 10px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  line-height: 1.3;
}

/* Features */

.feature-grid {
  display: grid;
  gap: 16px;
}

.feature-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--accent-100);
  color: var(--accent-700);
}

.feature-icon.rose {
  background: var(--rose-100);
  color: var(--rose-700);
}

.feature-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Split section (booking) */

.split {
  display: grid;
  gap: 48px;
  align-items: center;
}

.split-copy > p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.1rem;
}

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 18px;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-600);
  color: #fff;
  font-weight: 700;
}

.steps strong {
  display: block;
}

.steps span {
  color: var(--muted);
  font-size: 0.97rem;
}

.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px dashed var(--accent-500);
  color: var(--accent-700);
  font-weight: 600;
  font-size: 0.95rem;
  word-break: break-all;
}

.split-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

/* How it works */

.how-grid {
  display: grid;
  gap: 16px;
  counter-reset: how;
}

.how-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--divider);
  counter-increment: how;
}

.how-card::before {
  content: '0' counter(how);
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--accent-500);
}

.how-card p {
  margin-top: 8px;
  color: var(--muted);
}

/* Audience */

.audience {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.audience li {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--divider);
  font-weight: 500;
}

.audience-note {
  max-width: 680px;
  margin: 28px auto 0;
  text-align: center;
  color: var(--muted);
}

/* PWA */

.pwa-grid {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.pwa-card {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.pwa-card ol {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.pwa-card li + li {
  margin-top: 6px;
}

/* Coming soon */

.soon {
  background: linear-gradient(160deg, #2a1220 0%, #16242a 60%, #0d2f3a 100%);
  color: #f3eef0;
}

.soon .eyebrow {
  color: #f4a9c7;
}

.soon .section-head p {
  color: rgba(243, 238, 240, 0.75);
}

.soon-grid {
  display: grid;
  gap: 16px;
}

.soon-card {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.soon-card .badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(244, 169, 199, 0.16);
  color: #f4a9c7;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.soon-card p {
  margin-top: 10px;
  color: rgba(243, 238, 240, 0.75);
}

/* Pricing */

.price-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--accent-600);
  text-align: center;
}

.price-name {
  font-weight: 700;
  color: var(--accent-700);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.price-value {
  margin-top: 10px;
  font-family: var(--font-heading);
  font-size: 3.6rem;
  line-height: 1;
}

.price-value small {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--muted);
}

.price-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 28px 0;
  display: grid;
  gap: 12px;
  text-align: left;
}

.price-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.price-list .check {
  margin-top: 4px;
}

.price-list .soon-tag {
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--rose-100);
  color: var(--rose-700);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.price-card .btn {
  width: 100%;
}

/* FAQ */

.faq {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq details {
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--divider);
}

.faq summary {
  position: relative;
  padding: 20px 56px 20px 22px;
  list-style: none;
  cursor: pointer;
  font-weight: 600;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent-600);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq details p {
  padding: 0 22px 20px;
  color: var(--muted);
}

/* Final CTA */

.cta-band {
  padding: 0 0 80px;
}

.cta-box {
  padding: 48px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent-600), var(--accent-700));
  color: #fff;
  text-align: center;
}

.cta-box p {
  max-width: 560px;
  margin: 16px auto 28px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
}

/* Footer */

.site-footer {
  padding: 40px 0 120px;
  border-top: 1px solid var(--divider);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: var(--muted);
}

/* Mobile sticky CTA */

.mobile-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 40;
}

.mobile-cta {
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.mobile-cta.is-hidden {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}

.mobile-cta .btn {
  width: 100%;
  box-shadow: 0 12px 30px -10px rgba(4, 86, 111, 0.7);
}

/* Legal pages */

.legal {
  padding: 48px 0 80px;
}

.legal article {
  max-width: 780px;
  margin: 0 auto;
  padding: 32px 22px;
  border-radius: var(--radius);
  background: var(--surface);
}

.legal h1 {
  font-size: clamp(2rem, 6vw, 2.8rem);
}

.legal h2 {
  margin-top: 36px;
  font-size: 1.5rem;
}

.legal p,
.legal li {
  color: #413c38;
  font-size: 1rem;
}

.legal p {
  margin-top: 12px;
}

.legal ol,
.legal ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal li + li {
  margin-top: 6px;
}

.legal .updated {
  margin-top: 10px;
  color: var(--subtle);
  font-size: 0.9rem;
}

/* Breakpoints */

@media (min-width: 640px) {
  :root {
    --gutter: 24px;
  }

  .header-login {
    font-size: 0.95rem;
  }

  .pain-grid,
  .feature-grid,
  .pwa-grid,
  .soon-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-ctas .btn {
    flex: 0 0 auto;
  }

  .cta-box {
    padding: 64px 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .legal article {
    padding: 48px 56px;
  }
}

@media (min-width: 960px) {
  section {
    padding: 104px 0;
  }

  .site-nav {
    display: flex;
  }

  .hero {
    padding: 72px 0 96px;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }

  .split.reverse .split-visual {
    order: -1;
  }

  .pain-grid,
  .how-grid,
  .soon-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mobile-cta {
    display: none;
  }

  .site-footer {
    padding-bottom: 40px;
  }

  .phone {
    width: 320px;
  }
}

@media (max-width: 420px) {
  .float-card {
    max-width: 200px;
    padding: 10px 12px;
    font-size: 0.78rem;
  }

  .float-card.top {
    left: -4px;
  }

  .float-card.bottom {
    right: -4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .mobile-cta,
  .faq summary::after {
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}

/* Signed-in visitors (see auth-nav.js) get "Do aplikacji" instead of log-in and sign-up. */
[data-auth='in'] {
  display: none !important;
}

.is-signed-in [data-auth='in'] {
  display: inline-flex !important;
}

.is-signed-in [data-auth='out'] {
  display: none !important;
}

/* A real app screenshot inside the phone frame, below a status-bar strip for the notch. */
.phone-screen.shot {
  padding: 32px 0 0;
}

.phone-screen.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.features-more {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* ---- Mapa funkcji ---- */

.map-hero {
  padding: 48px 0 24px;
}

.map-hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  max-width: 18ch;
}

.map-hero .lead {
  max-width: 62ch;
  color: var(--muted);
  margin-top: 16px;
}

.map-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.map-facts b {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text);
  margin-right: 6px;
  font-variant-numeric: tabular-nums;
}

.map-toc {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}

.map-toc a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid var(--divider);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
}

.map-toc a:hover {
  border-color: var(--accent-500);
}

.map-toc b {
  font-weight: 600;
  font-size: 0.95rem;
}

.map-toc span {
  font-size: 0.8rem;
  color: var(--subtle);
  white-space: nowrap;
}

.map-chapter {
  padding: 40px 0;
  scroll-margin-top: 72px;
}

.map-chapter + .map-chapter {
  padding-top: 8px;
}

.map-chapter-head {
  display: grid;
  gap: 6px;
  padding-top: 20px;
  border-top: 2px solid var(--text);
  margin-bottom: 28px;
}

.map-chapter-head h2 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
}

.map-chapter-head p {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}

.plates {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr));
  gap: 36px 40px;
  align-items: start;
}

.plate {
  display: grid;
  grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  scroll-margin-top: 72px;
}

.plate-phone {
  background: #1c1b1a;
  border-radius: 28px;
  padding: 8px 10px;
  box-shadow:
    0 0 0 2px #3a3735,
    var(--shadow);
}

.plate-screen {
  position: relative;
  width: 100%;
  border-radius: 20px;
  background: var(--bg);
}

.plate-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-600);
  color: #fff;
  font: 600 11px/20px var(--font-body);
  text-align: center;
  box-shadow:
    0 0 0 2px #fff,
    0 2px 6px rgba(0, 0, 0, 0.25);
  font-variant-numeric: tabular-nums;
}

.plate-legend {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.plate-legend h3 {
  font-size: 1.45rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.soon-pill {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-700);
  background: var(--rose-100);
  padding: 3px 9px;
  border-radius: 999px;
}

.plate-legend ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.plate-legend li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 0.95rem;
  line-height: 1.45;
}

.plate-legend .num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-100);
  color: var(--accent-700);
  font-weight: 700;
  font-size: 11px;
  display: grid;
  place-items: center;
  font-variant-numeric: tabular-nums;
}

.plate-legend .num.dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-600);
}

.plate-legend li.extra {
  color: var(--muted);
}

@media (max-width: 560px) {
  .plate {
    grid-template-columns: 1fr;
  }

  .plate-phone {
    max-width: 290px;
  }
}

.map-note {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--subtle);
}
