/* The product's own pages: home page, privacy policy, terms (DESIGN.md section 15).
   "Plac budowy" tokens of the panel (DESIGN.md section 3). Mobile first; laptop from 1024 px.
   Fonts: the public page's files (Tenants module static assets, OFL-1.1). */

@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("/_content/Beavo.Modules.Tenants/profile/fonts/archivo-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("/_content/Beavo.Modules.Tenants/profile/fonts/archivo-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("/_content/Beavo.Modules.Tenants/profile/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("/_content/Beavo.Modules.Tenants/profile/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --primary: #ffc400;
  --ink: #1c1b19;
  --paper: #f6f4ef;
  --card: #ffffff;
  --muted: #57534e;
  --border: #d6d3cd;
  --neutral-soft: #edebe7;
  --success: #1f7a3a;
  --on-ink: #e7e5e4;
  --on-ink-muted: #d6d3cd;
  --ink-line: #44403c;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: Inter, system-ui, sans-serif; font-size: 17px; line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
h1, h2 { font-family: Archivo, Inter, sans-serif; font-weight: 800; letter-spacing: -0.01em; }
h3 { font-family: Archivo, Inter, sans-serif; font-size: 20px; font-weight: 700; }
p { margin: 0; }
code { font-size: 15px; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 2px #fff; }
.icon { flex-shrink: 0; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.with-icon { display: flex; align-items: center; gap: 10px; }
.link { font-weight: 600; text-underline-offset: 3px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.card { background: var(--card); border: 2px solid var(--border); border-radius: 16px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--primary); color: var(--ink);
  padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

/* Buttons (DESIGN.md section 5): one yellow action, the rest outlined. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 14px;
  text-decoration: none; font-weight: 700; border: 2px solid var(--ink); }
.btn-primary { min-height: 60px; padding: 0 28px; background: var(--primary); color: var(--ink);
  font-family: Archivo, Inter, sans-serif; font-size: 20px; }
.btn-primary:hover { filter: brightness(0.95); }
.btn-outline { min-height: 56px; padding: 0 22px; color: var(--ink); font-size: 18px; }
.btn-outline:hover { background: var(--neutral-soft); }
.btn-on-ink { border-color: #fff; color: #fff; font-weight: 600; }
.btn-on-ink:hover { background: rgb(255 255 255 / 0.1); }
.btn-small { min-height: 44px; padding: 0 16px; border-radius: 12px; font-size: 17px; gap: 8px; }

/* Top bar */
.topbar { background: var(--ink); color: #fff; }
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand-tile { width: 40px; height: 40px; border-radius: 10px; background: var(--primary); color: var(--ink);
  display: flex; align-items: center; justify-content: center; }
.brand-tile-small { width: 36px; height: 36px; border-radius: 9px; }
.brand-name { font-family: Archivo, Inter, sans-serif; font-weight: 800; font-size: 24px; }

/* Home: hero */
.hero { display: grid; gap: 32px; padding-top: 40px; padding-bottom: 40px; align-items: center; }
.badge { display: inline-block; background: var(--card); border: 2px solid var(--border); border-radius: 999px;
  padding: 6px 14px; font-size: 15px; font-weight: 600; }
.hero h1 { font-size: 32px; line-height: 1.1; margin: 20px 0 16px; max-width: 760px; }
.lead { font-size: 19px; color: var(--muted); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; background: var(--neutral-soft); border-radius: 999px;
  padding: 8px 14px; font-size: 15px; font-weight: 600; }
.facts .icon { color: var(--success); }
.example { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px; border-radius: 16px; background: var(--card);
  border: 2px solid var(--ink); text-decoration: none; color: var(--ink); }
.example:hover { box-shadow: 0 0 0 3px var(--primary); }
.example-title { display: flex; align-items: center; gap: 8px; font-family: Archivo, Inter, sans-serif; font-size: 22px; font-weight: 700; }

/* Home: sections */
.section { padding-top: 24px; padding-bottom: 48px; }
.section-last { padding-top: 48px; padding-bottom: 64px; }
.section h2, .band h2 { font-size: 26px; margin-bottom: 8px; }
.section-lead { color: var(--muted); font-size: 18px; margin-bottom: 24px; }
.tiles { display: grid; gap: 20px; }
.tile { padding: 24px; }
.tile h3 { margin: 16px 0 6px; }
.tile p { font-size: 16px; color: var(--muted); }
.tile-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--primary); color: var(--ink);
  display: flex; align-items: center; justify-content: center; }
.band { background: var(--card); border-top: 2px solid var(--border); border-bottom: 2px solid var(--border); padding: 40px 0; }
.band h2 { margin-bottom: 24px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; }
.steps li { display: flex; gap: 16px; }
.steps strong { display: block; font-size: 18px; }
.steps .muted { font-size: 16px; }
.step-number { flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--ink); color: var(--primary);
  font-family: Archivo, Inter, sans-serif; font-weight: 800; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.contact { padding: 24px 20px; display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
.contact-email { font-size: 18px; font-weight: 600; text-align: center; overflow-wrap: anywhere; }

/* Legal documents */
.legal { padding-top: 24px; padding-bottom: 64px; }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-underline-offset: 3px; }
.legal h1 { font-size: 30px; margin: 12px 0 8px; }
.legal-meta { font-size: 16px; margin-bottom: 24px; }
.legal-body { display: grid; gap: 28px; align-items: start; }
.toc { padding: 16px 20px; }
.toc h2 { font-family: Inter, sans-serif; font-size: 15px; font-weight: 700; color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 4px; }
.toc ol { margin: 0; padding-left: 22px; font-size: 16px; line-height: 1.35; }
.toc a { display: block; padding: 8px 0; }
.legal-text { max-width: 720px; min-width: 0; line-height: 1.6; }
.legal-text > * + * { margin-top: 32px; }
.legal-text h2 { font-size: 24px; line-height: 1.2; margin-bottom: 10px; }
.legal-text ol, .legal-text ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal-text section > p + *, .legal-text section > * + p { margin-top: 12px; }
.legal-lead { font-size: 19px; }
.legal-highlight { border-color: var(--ink); padding: 22px 20px; }
.table-box { overflow-x: auto; border: 2px solid var(--border); border-radius: 12px; background: var(--card); }
table { border-collapse: collapse; width: 100%; min-width: 540px; font-size: 16px; line-height: 1.45; }
th, td { padding: 12px 14px; text-align: left; vertical-align: top; }
thead tr { background: var(--neutral-soft); }
tbody tr { border-top: 1px solid var(--border); }

/* Footer */
.footer { background: var(--ink); color: var(--on-ink); font-size: 16px; padding: 40px 0 28px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-brand { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; }
.footer-operator { color: var(--on-ink-muted); font-size: 15px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 24px 56px; }
.footer-nav h2 { font-family: Inter, sans-serif; font-size: 15px; font-weight: 700; color: var(--on-ink-muted);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; }
.footer-nav a { color: #fff; min-height: 44px; display: flex; align-items: center; text-underline-offset: 3px; }
.footer-bottom { border-top: 1px solid var(--ink-line); margin-top: 28px; padding-top: 20px; display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 12px 24px; font-size: 15px; color: var(--on-ink-muted); }
.footer-cookies { display: inline-flex; align-items: center; gap: 8px; }

@media (min-width: 640px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .hero { grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; padding-top: 64px; padding-bottom: 56px; }
  .hero-single { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: 50px; }
  .section h2, .band h2 { font-size: 34px; }
  .tiles, .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .band { padding: 48px 0; }
  .legal h1 { font-size: 42px; }
  .legal-body { grid-template-columns: 280px minmax(0, 720px); gap: 48px; }
  .toc { position: sticky; top: 16px; }
}
