/* The website's look: the public pages for businesses (index.html, en.html), and the same bar, colours, and footer on the
   download pages (pobierz.html, download.html, beta.html, beta-en.html, plus download.css) and the staff guide (pomoc.html,
   plus guide.css). Kept in a file so the pages can send a content security policy with no inline style. The homepage's
   pictures are in site/ (tools/site_shots.sh makes them). */
/* Figtree (SIL Open Font License 1.1, fonts/OFL.txt), served from this site and not from Google. Medium for text,
   SemiBold for headings, as in the app; the system fonts stand in until it has loaded. */
@font-face {
  font-family: "Figtree";
  src: url("/fonts/Figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #18232f;
  --muted: #56646f;
  --navy: #17344f;
  --teal: #167366;          /* text and buttons: 5.7:1 on white */
  --teal-bright: #1b897b;   /* accents that are not text */
  --on-teal: #ffffff;
  --pale-teal: #e3f2ef;
  --border: #dde3e2;
  --backdrop: #edf2f0;
  --card: #ffffff;
  --band: #17344f;
  --band-ink: #ffffff;
  --band-muted: #c4d4df;
  --shadow: 0 18px 48px rgba(13, 31, 41, 0.12);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8eef2;
    --muted: #a3b1bd;
    --navy: #cfe3ee;
    --teal: #4cc1b0;
    --teal-bright: #4cc1b0;
    --on-teal: #0f1a22;
    --pale-teal: #18332f;
    --border: #2b3a45;
    --backdrop: #0f1a22;
    --card: #16232d;
    --band: #16232d;
    --band-ink: #e8eef2;
    --band-muted: #a3b1bd;
    --shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--backdrop);
  color: var(--ink);
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  font-weight: 500;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
h1, h2, h3, strong { font-weight: 600; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0 0 12px; }
a { color: var(--teal); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; display: block; }

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  padding: 8px 14px;
  background: var(--card);
  border-radius: 8px;
  z-index: 10;
}
.skip:focus { top: 12px; }

/* The top bar: the name, the sections, the other language. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--backdrop);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 60px;
}
.logo {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-decoration: none;
  margin-right: auto;
}
.site-nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.site-nav a:hover { color: var(--teal); }
.site-nav .lang {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.85rem;
  font-weight: 600;
}
/* The staff's way to the app, in the bar of every screen of the homepage (the owner, 2026-10-16: it was at the bottom). */
.site-nav .download {
  background: var(--teal);
  color: var(--on-teal);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.9rem;
  font-weight: 600;
}
.site-nav .download:hover { color: var(--on-teal); filter: brightness(1.08); }
@media (max-width: 560px) {
  .site-nav .optional { display: none; }
}

/* The first screen: what Bookini is, for whom, and the way to ask for it. */
.hero { padding: 40px 0 40px; }
.hero .wrap { display: grid; gap: 40px; }
.hero-text { max-width: 760px; }
@media (min-width: 900px) {
  .hero { padding: 72px 0 64px; }
  .hero .wrap { gap: 56px; }
  .hero-text { text-align: center; margin: 0 auto; }
  .hero-text .types, .hero-text .actions { justify-content: center; }
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero h1 { margin: 0 0 16px; font-size: clamp(2rem, 5vw, 3rem); }
.lead { font-size: 1.15rem; color: var(--ink); }
.types {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.types li {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--pale-teal);
  color: var(--teal);
  font-weight: 600;
  font-size: 0.9rem;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0; }
.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--on-teal);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--teal);
}
.btn:hover { filter: brightness(1.08); }
.btn.secondary { background: transparent; color: var(--teal); }
.btn.light { background: var(--band-ink); color: var(--band); border-color: var(--band-ink); }
.btn.outline-light { background: transparent; color: var(--band-ink); border-color: var(--band-ink); }
/* Two buttons side by side on a phone (the hero's and the contact's: Zapytaj o ofertę, Umów prezentację), as they are in
   English: a little less padding and type on narrow screens. */
@media (max-width: 420px) { .actions .btn { padding-left: 16px; padding-right: 16px; font-size: 15px; } }

/* The app's pictures: a window for the computer; a laptop and phones drawn around the app's own pictures. */
.shot {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #e3e9ea;
}
/* The first picture: the calendar on a laptop, the phone's Today standing in front of its lower right corner. The phone
   covers only the laptop's frame and the window's empty right margin at every width (all sizes are shares of the
   width), so no header, button, or name of the calendar is hidden. */
.devices { position: relative; width: 100%; max-width: 1080px; margin: 0 auto; padding-bottom: 6%; }
.laptop { margin: 0 0 0 4%; width: 80%; }
.laptop-screen {
  position: relative;
  padding: 2.4% 2.4% 3%;
  background: #10171d;
  border-radius: 2.4% 2.4% 0.8% 0.8% / 3.7% 3.7% 1.2% 1.2%;
  box-shadow: inset 0 0 0 1px #2e3a43, 0 24px 60px rgba(13, 31, 41, 0.22);
}
/* The camera above the screen. */
.laptop-screen::before {
  content: "";
  position: absolute;
  top: 1%;
  left: 50%;
  width: 0.7%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #33414b;
}
.laptop-screen img { width: 100%; border-radius: 2px; }
/* The base, a little wider than the screen, with the notch for opening the lid. */
.laptop-base {
  position: relative;
  width: 110%;
  margin-left: -5%;
  aspect-ratio: 48 / 1;
  background: linear-gradient(#e6eaec, #c3cbd0 55%, #8e99a1);
  border-radius: 0 0 6% 6% / 0 0 100% 100%;
  box-shadow: 0 14px 22px -12px rgba(13, 31, 41, 0.45);
}
.laptop-base::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 13%;
  height: 45%;
  transform: translateX(-50%);
  border-radius: 0 0 40% 40% / 0 0 100% 100%;
  background: #a7b1b8;
}
/* A phone: a dark rounded body around the picture, a camera dot in the frame above the screen, a side button. Sizes in cqw, shares of the
   phone's own width (the figure is the container, so the body is the picture's shadow), so it looks the same large and
   small. */
.handset {
  margin: 0;
  position: relative;
  container-type: inline-size;
}
.handset img {
  width: calc(100% - 7.2cqw);
  margin: 3.6cqw;
  border-radius: 9.5cqw;
  box-shadow: 0 0 0 3.6cqw #10171d, 0 0 0 calc(3.6cqw + 1.5px) #3a4751, 0 24px 48px rgba(13, 31, 41, 0.3);
}
.handset::before {
  content: "";
  position: absolute;
  top: 0.9cqw;
  left: 50%;
  width: 1.8cqw;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #2b3741;
}
.handset::after {
  content: "";
  position: absolute;
  top: 24%;
  right: -1.2cqw;
  width: 1.4cqw;
  height: 11%;
  border-radius: 0 2cqw 2cqw 0;
  background: #2a353d;
}
.devices .handset { position: absolute; right: 0; bottom: 0; width: 18%; }
@media (max-width: 560px) {
  /* A narrow screen: the phone a little larger, still clear of the calendar. */
  .devices { padding-bottom: 12%; }
  .devices .laptop { margin-left: 2%; width: 78%; }
  .devices .handset { width: 21%; }
}

/* Sections. */
.section { padding: 56px 0; }
.section.alt { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); margin: 0 0 12px; }
.section-intro { max-width: 720px; color: var(--muted); font-size: 1.05rem; margin-bottom: 32px; }

.cards { display: grid; gap: 18px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 22px 16px;
}
.section.alt .card { background: var(--backdrop); }
.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 6px; }
.cards + .note { margin-top: 20px; color: var(--muted); }

/* A feature: its text beside its picture, the sides taking turns on a wide screen. */
.feature {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--border);
}
.feature:first-of-type { border-top: 0; padding-top: 8px; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 4fr 7fr; gap: 48px; padding: 48px 0; }
  .feature.flip { grid-template-columns: 7fr 4fr; }
  .feature.flip .feature-text { order: 2; }
  .feature.tall { grid-template-columns: 6fr 5fr; }
  .feature.tall.flip { grid-template-columns: 5fr 6fr; }
}
.feature h3 { font-size: 1.45rem; margin: 0 0 10px; }
.feature ul { margin: 12px 0 0; padding-left: 20px; }
.feature li { margin-bottom: 6px; }
.feature .note { color: var(--muted); font-size: 0.95rem; }
.feature.tall .shot { max-width: 440px; justify-self: center; width: 100%; }
.phones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 640px;
  justify-self: center;
  width: 100%;
}
.feature .phones { grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 500px; padding: 0 8px; }
@media (max-width: 480px) { .feature .phones { gap: 18px; } }

/* The other features: an icon (Lucide's, written into the page), a name, and a sentence or two each. */
.more {
  display: grid;
  gap: 18px;
  margin-top: 12px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
@media (min-width: 720px) { .more { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .more { grid-template-columns: repeat(3, 1fr); } }
.mini {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 22px 14px;
}
.mini h3 { margin: 14px 0 8px; font-size: 1.15rem; }
.mini p { color: var(--muted); }
.icon {
  display: block;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: var(--pale-teal);
  color: var(--teal);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Security and privacy: what is true and can be checked. */
.facts { display: grid; gap: 18px; }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .facts { grid-template-columns: repeat(3, 1fr); } }

/* Asking for it. */
.contact { background: var(--band); color: var(--band-ink); padding: 64px 0; }
.contact h2 { color: var(--band-ink); margin: 0 0 12px; font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
.contact p { color: var(--band-muted); max-width: 640px; font-size: 1.05rem; }
.contact .email { color: var(--band-ink); font-weight: 600; font-size: 1.2rem; }
.contact .actions { margin-top: 20px; }

.site-footer { padding: 28px 0 40px; color: var(--muted); font-size: 0.9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* The other pages (the downloads, the beta, the staff guide): a heading like the homepage's, then their content on cards. */
.wrap.narrow { max-width: 860px; }
.page-head { padding: 36px 0 4px; }
@media (min-width: 900px) { .page-head { padding: 56px 0 8px; } }
.page-head h1 { margin: 0 0 14px; font-size: clamp(1.9rem, 4.6vw, 2.6rem); }
.page-head .lead { color: var(--muted); font-size: 1.08rem; max-width: 760px; }
.page-body { padding: 20px 0 48px; }
.page-body .card { padding: 24px 24px 18px; }
.page-body .card + .card { margin-top: 18px; }
.page-body .card h2 { margin: 0 0 10px; font-size: 1.3rem; }
@media (max-width: 480px) { .page-body .card { padding: 20px 18px 14px; } }
.badge {
  display: inline-block;
  margin: 4px 0 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--pale-teal);
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 600;
}

/* The privacy policy (prywatnosc.html, privacy.html): text to read, in the ink colour, with plain lists. */
.page-body .legal p, .page-body .legal li { color: var(--ink); }
.page-body .legal ul { margin: 0 0 12px; padding-left: 20px; list-style: disc; }
.page-body .legal li { margin: 6px 0; }
