/* Landing page and help pages. The app's look (apps/web/src/styles.css, direction "B"):
   calm white surfaces, dark ink, one orange accent, Inter. Always light, like the app. */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --line: #e5e7eb;
  --ink: #111827;
  --ink-2: #4b5563;
  --brand: #111827;
  --brand-hover: #1f2937;
  --accent: #c2410c;
  --accent-ink: #9a3412;
  --accent-soft: #fff4ec;
  --ok: #15803d;
  --ok-soft: #ecfdf3;
  --warn: #a16207;
  --warn-soft: #fefce8;
  --match: #1d4ed8;
  --match-soft: #eff6ff;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(17, 24, 39, 0.05), 0 1px 1px rgba(17, 24, 39, 0.03);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(36px, 6vw, 58px); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; line-height: 20px; }
.strong { font-weight: 600; }
.center { text-align: center; }
.row { display: flex; gap: 8px; flex-wrap: wrap; }
.ok { color: var(--ok); }
.warn { color: var(--warn); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 600 15px var(--font); text-decoration: none; white-space: nowrap; cursor: pointer; }
.btn:hover { background: var(--bg-soft); }
.btn--primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn--ghost { background: transparent; border-color: transparent; }
.btn--lg { min-height: 52px; padding: 0 24px; font-size: 16px; }

/* the mark: a pitch (outline, halfway line, centre circle), the same as the favicon and the app's sign-in page */
.logo { display: block; width: 34px; height: 34px; flex: none; }
.logo--sm { width: 26px; height: 26px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.brand--sm { font-size: 16px; }

/* "still in development" strip above the navigation */
.devbar { background: var(--warn-soft); border-bottom: 1px solid var(--line); color: var(--ink); font-size: 14px; }
.devbar__in { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-block: 8px; }
.devbar__tag { flex: none; padding: 2px 8px; border-radius: 999px; background: var(--warn); color: #fff; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }

.nav { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links > a:not(.btn) { padding: 8px 12px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav__links > a:not(.btn):hover { color: var(--ink); }
@media (max-width: 860px) {
  .nav__links > a:not(.btn) { display: none; }
}
@media (max-width: 440px) {
  .nav__links .btn--ghost { display: none; }
  .brand { font-size: 17px; }
}

.hero { padding: 72px 0 80px; }
.hero__in { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 22px; }
.eyebrow { font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 34em; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .hero { padding: 40px 0 56px; }
  .hero__in { grid-template-columns: 1fr; gap: 40px; }
}

/* a small picture of the app's calendar, drawn with the app's own colours */
.mock { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: 0 24px 60px -32px rgba(17, 24, 39, 0.35); display: flex; flex-direction: column; gap: 10px; }
.mock__bar { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.mock__bar strong { flex: 1; }
.mock__crest { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #1d4ed8; color: #fff; font-weight: 700; font-size: 11px; }
.mock__h { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); margin-top: 4px; }
.ev { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.ev__main { display: flex; flex-direction: column; min-width: 0; }
.ev__main span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev__count { display: flex; flex-direction: column; align-items: flex-end; }
.ev__count b { font-size: 20px; line-height: 1; }
.chip { display: inline-flex; padding: 3px 8px; border-radius: 999px; font-weight: 700; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.chip--training { background: var(--accent-soft); color: var(--accent-ink); }
.chip--match { background: var(--match-soft); color: var(--match); }
.mock__rsvp { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: var(--radius); background: var(--bg-soft); }
.pill { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--bg); }
.pill--on { background: var(--ok); color: #fff; border-color: var(--ok); }
@media (max-width: 420px) {
  .ev { grid-template-columns: 1fr auto; }
  .ev .chip { grid-column: 1 / -1; justify-self: start; }
}

.section { padding: 80px 0; scroll-margin-top: 64px; }
.section--soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; max-width: 46em; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } .section { padding: 56px 0; } }
.feat { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.feat p { color: var(--ink-2); }
.ico { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--accent-soft); }
.ico svg { width: 22px; height: 22px; fill: none; stroke: var(--accent-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* price */
.price { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
@media (max-width: 760px) { .price { grid-template-columns: 1fr; } }
.plan { display: flex; flex-direction: column; gap: 12px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); box-shadow: var(--shadow); }
.plan--best { border: 2px solid var(--brand); }
.plan__name { font-weight: 700; color: var(--ink-2); }
.plan__amount { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan__amount small { font-size: 16px; font-weight: 600; color: var(--ink-2); letter-spacing: 0; }
.plan__save { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-weight: 700; font-size: 13px; }
.ticks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
@media (max-width: 600px) { .ticks { grid-template-columns: 1fr; } }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }

.steps { list-style: none; margin: 0 0 36px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.steps li { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); }
.steps p { color: var(--ink-2); }
.step__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 800; }

/* short questions on the home page (the full list is on /pomoc/) */
.faq { max-width: 780px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { display: flex; gap: 12px; padding: 16px 20px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 8px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(-45deg); transition: transform 0.15s; }
.faq details[open] summary::before { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px 39px; color: var(--ink-2); }
.faq__more { margin-top: 20px; }

.foot { padding: 36px 0 44px; border-top: 1px solid var(--line); }
.foot__in { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.foot__links { display: flex; gap: 8px 20px; flex-wrap: wrap; }
.foot__links a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.foot__links a:hover { color: var(--ink); text-decoration: underline; }
.feat__more { margin-top: auto; padding-top: 4px; font-weight: 600; font-size: 14px; text-decoration: none; }
.feat__more::after { content: " →"; }
.feat__more:hover { text-decoration: underline; }
.price__more { margin-top: 20px; color: var(--ink-2); }

/* cookie notice (site.js): only necessary cookies, so it informs and closes, nothing to accept */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20; max-width: 560px; margin: 0 auto; display: flex; gap: 12px 16px; align-items: center; flex-wrap: wrap; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); box-shadow: 0 12px 40px -12px rgba(17, 24, 39, 0.3); font-size: 14px; line-height: 20px; }
.cookie p { flex: 1 1 260px; color: var(--ink-2); }
.cookie .btn { min-height: 38px; }

/* plain text pages (privacy) and the breadcrumb on generated pages */
.crumbs { display: flex; gap: 6px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs ol { display: contents; list-style: none; }
.prose { max-width: 760px; padding-top: 40px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 16px; }
.prose h1 { font-size: clamp(30px, 5vw, 42px); }
.prose h2 { font-size: 22px; margin-top: 16px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--ink); background: var(--bg-soft); }
.prose code { font-size: 13px; padding: 1px 5px; border-radius: 4px; background: var(--bg-soft); color: var(--ink); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

/* language menu: a plain list of links (crawlable, works without JavaScript) */
.langs { position: relative; margin: 0 4px; }
.langs summary { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font: 700 12px var(--font); letter-spacing: 0.06em; list-style: none; cursor: pointer; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary::after { content: ""; width: 5px; height: 5px; margin-top: -3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.langs summary:hover, .langs[open] summary { color: var(--ink); background: var(--bg-soft); }
.langs ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 150px; margin: 0; padding: 6px; list-style: none; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px -12px rgba(17, 24, 39, 0.3); }
.langs a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; }
.langs a:hover { background: var(--bg-soft); }
html[lang="bs"] .langs a[hreflang="bs"], html[lang="en"] .langs a[hreflang="en"], html[lang="cs"] .langs a[hreflang="cs"] { font-weight: 700; color: var(--accent-ink); }
