/* Reinbook – landing. Kolory wzięte z logo: granat + złoto. */

/* Czcionki z własnego serwera (licencja SIL OFL) – bez zapytań do Google, więc bez przekazywania IP odwiedzających. */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url(assets/fonts/fraunces-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url(assets/fonts/fraunces-latin.woff2) format('woff2');
  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: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(assets/fonts/manrope-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(assets/fonts/manrope-latin.woff2) format('woff2');
  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 {
  --navy-900: #071330;
  --navy-800: #0a1a3f;
  --navy-700: #10275c;
  --navy-600: #1a3a7e;
  --gold: #f6b62b;
  --gold-deep: #e39a12;
  --gold-soft: #fff4d9;
  --ink: #101a33;
  --muted: #56607a;
  --line: #e3e6ef;
  --soft: #f4f5f9;
  --white: #ffffff;
  --ok: #2f9e5b;
  --warn: #d9480f;

  --radius: 18px;
  --shadow: 0 18px 50px -20px rgba(7, 19, 48, .35);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 780px; }

.logo { border-radius: 22%; }
.logo--xl { width: 112px; height: 112px; margin: 0 auto 24px; box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .6); }

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--navy-900); box-shadow: 0 10px 24px -10px rgba(246, 182, 43, .8); }
.btn--gold:hover { background: #ffc645; }
.btn--ghost { color: var(--white); border: 1.5px solid rgba(255, 255, 255, .35); }
.btn--ghost:hover { border-color: var(--white); }
.btn--sm { padding: 9px 18px; font-size: .92rem; }
.btn--lg { padding: 17px 34px; font-size: 1.08rem; }

.eyebrow {
  font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.eyebrow--dark { color: var(--gold-deep); }
.lead { font-size: 1.15rem; color: rgba(255, 255, 255, .78); }
.lead--light { color: rgba(255, 255, 255, .78); }

/* ---------- nawigacja ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 26, 63, .88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; }
.brand .logo { width: 40px; height: 40px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { color: rgba(255, 255, 255, .75); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav__links a:hover { color: var(--white); }
.nav__login { color: var(--white); text-decoration: none; font-weight: 700; font-size: .95rem; white-space: nowrap; }
.nav__login:hover { color: var(--gold); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(26, 58, 126, .9), transparent 60%),
    radial-gradient(600px 400px at 10% 100%, rgba(246, 182, 43, .12), transparent 70%),
    var(--navy-800);
  padding: 72px 0 96px;
}
.hero::after { /* złoty łuk jak w logo */
  content: ''; position: absolute; right: -220px; top: -160px;
  width: 760px; height: 760px; border-radius: 50%;
  border: 2px solid rgba(246, 182, 43, .22);
  pointer-events: none;
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); margin-bottom: 22px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 30px; }
.hero__login { margin: -14px 0 24px; color: rgba(255, 255, 255, .7); font-size: .95rem; }
.hero__login a { color: var(--white); font-weight: 700; text-underline-offset: 3px; }
.hero__login a:hover { color: var(--gold); }
.hero__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: rgba(255, 255, 255, .7); font-size: .95rem; }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* makieta telefonu */
.hero__visual { position: relative; display: flex; justify-content: center; padding: 10px 0; }
.phone {
  position: relative; width: 300px; padding: 12px;
  background: #050c20; border-radius: 44px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 0 0 2px rgba(255, 255, 255, .08);
}
.phone__notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; background: #050c20; border-radius: 12px; z-index: 2; }
.screen { background: var(--soft); color: var(--ink); border-radius: 34px; padding: 50px 14px 18px; min-height: 560px; }
.screen__head { display: flex; align-items: baseline; gap: 8px; padding: 0 4px 10px; }
.screen__day { font-weight: 800; font-size: 1.2rem; }
.screen__date { color: var(--muted); font-size: .85rem; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 14px; }
.days span { text-align: center; font-size: .7rem; font-weight: 700; color: var(--muted); padding: 6px 0; border-radius: 10px; }
.days .on { background: var(--navy-800); color: var(--white); }
.slot { display: grid; grid-template-columns: 40px 1fr; gap: 8px; margin-bottom: 9px; }
.slot__time { font-size: .72rem; font-weight: 700; color: var(--muted); padding-top: 10px; }
.slot__card { background: var(--white); border-radius: 12px; padding: 9px 11px; border-left: 4px solid; box-shadow: 0 1px 2px rgba(16, 26, 51, .06); }
.slot__card.c-a { border-color: #3b6fd8; }
.slot__card.c-b { border-color: var(--gold-deep); }
.slot__card.c-c { border-color: #8a5cd0; }
.slot__title { font-size: .8rem; font-weight: 800; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.slot__meta { font-size: .72rem; color: var(--muted); line-height: 1.45; }
.slot__meta b { color: var(--ink); font-weight: 700; }
.pill { font-size: .66rem; font-weight: 800; background: var(--gold-soft); color: #9a6200; padding: 1px 7px; border-radius: 999px; }
.warn { margin-top: 6px; font-size: .68rem; font-weight: 700; color: var(--warn); background: #fff0e8; border-radius: 7px; padding: 4px 7px; }

.float {
  position: absolute; background: var(--white); color: var(--ink);
  border-radius: 16px; padding: 13px 16px; box-shadow: var(--shadow);
  font-size: .85rem;
}
.float__label { color: var(--muted); font-size: .74rem; font-weight: 600; }
.float__value { font-weight: 800; font-size: 1.05rem; }
.float__value--sm { font-size: .88rem; }
/* przy krawędzi telefonu (300px), ale nie poza kolumnę */
.float--pass { left: max(-12px, calc(50% - 290px)); top: 300px; width: 165px; }
.float--cancel { right: max(-12px, calc(50% - 290px)); bottom: 50px; display: flex; gap: 10px; align-items: center; }
.bar { height: 7px; background: var(--soft); border-radius: 999px; margin-top: 8px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--gold); border-radius: inherit; }
.dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.dot--ok { background: var(--ok); box-shadow: 0 0 0 4px rgba(47, 158, 91, .16); }

/* ---------- pasek „problem” ---------- */
.strip { background: var(--gold-soft); border-bottom: 1px solid #f3e3b8; }
.strip__inner { padding-top: 34px; padding-bottom: 34px; text-align: center; max-width: 860px; }
.strip p { color: #5a4718; font-size: 1.08rem; }
.strip__answer { margin-top: 8px !important; font-weight: 800; color: var(--navy-800) !important; }

/* ---------- sekcje ---------- */
.section { padding: 100px 0; }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy-800); color: var(--white); }
.section__head { max-width: 720px; margin-bottom: 52px; }

/* cennik */
.section__head .lead--dark { color: var(--muted); margin-top: 14px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); display: flex; flex-direction: column; }
.plan h3 { margin-bottom: 4px; }
.plan__horses { color: var(--gold-deep); font-weight: 800; }
.plan__price { margin: 22px 0 6px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan__price strong { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--navy-800); }
.plan__price span { color: var(--muted); font-size: .95rem; }
.plan__year { color: var(--muted); font-size: .92rem; }
.plans__all { margin-top: 20px; padding: 30px; border-radius: var(--radius); background: var(--soft); }
.plans__all .checks { margin-top: 16px; grid-template-columns: repeat(3, 1fr); gap: 12px 24px; }
.plans__all .checks li { color: var(--ink); }
.plans__foot { margin-top: 28px; display: grid; gap: 8px; color: var(--muted); max-width: 760px; }
.plans__foot strong { color: var(--ink); }
.plans__cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn--ghost-dark { color: var(--navy-800); border: 1.5px solid #cfd5e6; }
.btn--ghost-dark:hover { border-color: var(--navy-800); }

/* funkcje */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.feature:hover { border-color: #cfd5e6; box-shadow: var(--shadow); transform: translateY(-2px); }
.feature__icon {
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px;
  display: grid; place-items: center; background: var(--navy-800);
}
.feature__icon svg, .privacy svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .98rem; }

/* konie */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { margin-bottom: 20px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: rgba(255, 255, 255, .88); }
.checks li::before {
  content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1a3f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat;
}
.load {
  background: var(--navy-700); border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 22px; padding: 28px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.load__head { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; margin-bottom: 20px; font-size: .95rem; }
.load__legend { color: rgba(255, 255, 255, .55); font-weight: 600; font-size: .82rem; }
.load__row { display: grid; grid-template-columns: 72px 1fr 52px; gap: 12px; align-items: center; margin-bottom: 14px; font-size: .92rem; }
.load__name { font-weight: 700; }
.load__bar { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.load__bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f6b62b, #ffd27a); }
.load__bar span.hi { background: linear-gradient(90deg, #e39a12, #f25c2a); }
.load__pct { text-align: right; color: rgba(255, 255, 255, .75); font-variant-numeric: tabular-nums; font-size: .85rem; }
.load__row--off .load__name, .load__row--off .load__pct { color: rgba(255, 255, 255, .45); }
.load__row--off .load__bar { background: repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 6px, transparent 6px 12px); }
.load__note { margin-top: 8px; font-size: .75rem; color: rgba(255, 255, 255, .4); }

/* jeźdźcy */
.duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.duo__card { padding: 30px; border-radius: var(--radius); background: var(--soft); position: relative; overflow: hidden; }
.duo__card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold); }
.duo__card h3 { margin-bottom: 8px; }
.duo__card p { color: var(--muted); }
.privacy {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 28px; padding: 20px 24px; border-radius: var(--radius);
  border: 1px dashed #cdd3e3; color: var(--muted); font-size: .96rem;
}
.privacy svg { flex: none; stroke: var(--navy-600); margin-top: 1px; }

/* kroki */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.steps li { background: var(--white); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); }
.steps__n {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold); color: var(--navy-900); font-weight: 800; margin-bottom: 18px;
}
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); }
.ai { margin: 40px auto 0; max-width: 520px; display: grid; gap: 10px; }
.ai__bubble { justify-self: start; max-width: 85%; padding: 12px 16px; border-radius: 18px 18px 18px 6px; background: var(--white); border: 1px solid var(--line); font-size: .95rem; }
.ai__bubble--me { justify-self: end; background: var(--navy-800); color: var(--white); border-color: transparent; border-radius: 18px 18px 6px 18px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; background: var(--white); }
.faq details[open] { border-color: #cfd5e6; box-shadow: 0 8px 24px -16px rgba(7, 19, 48, .3); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; font-weight: 500; color: var(--gold-deep); line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--muted); }

/* CTA */
.cta {
  position: relative; overflow: hidden; text-align: center; color: var(--white);
  background: radial-gradient(700px 380px at 50% 0%, rgba(26, 58, 126, .95), transparent 70%), var(--navy-900);
  padding: 100px 0;
}
.cta h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.cta p { color: rgba(255, 255, 255, .75); font-size: 1.12rem; margin-bottom: 34px; }

/* cennik – brutto / netto i pilotaż */
.vat-switch { display: inline-flex; padding: 4px; margin: -28px 0 24px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); }
.vat-switch button { border: 0; background: none; font: inherit; font-weight: 700; font-size: .92rem; color: var(--muted); padding: 7px 18px; border-radius: 999px; cursor: pointer; }
.vat-switch button.is-on { background: var(--navy-800); color: var(--white); }
.pilot { margin-top: 28px; padding: 30px; border-radius: var(--radius); background: var(--navy-800); color: var(--white);
  display: flex; gap: 28px; align-items: center; justify-content: space-between; }
.pilot h3 { font-size: 1.4rem; margin-bottom: 8px; }
.pilot p:last-child { color: rgba(255, 255, 255, .78); max-width: 680px; }
.pilot .btn { flex: none; }

/* kontakt */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; text-align: left; }
.contact__copy .logo { margin-bottom: 18px; }
.cta .contact__copy p { margin-bottom: 22px; }
.contact__ways { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.contact__ways li { display: flex; gap: 14px; align-items: baseline; }
.contact__ways span { min-width: 72px; color: rgba(255, 255, 255, .55); font-size: .9rem; }
.contact__ways a { color: var(--gold); font-weight: 800; font-size: 1.2rem; text-decoration: none; }
.cta .contact__note { font-size: .98rem; color: rgba(255, 255, 255, .7); }
.contact__form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; padding: 28px; border-radius: var(--radius);
  background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.contact__form label { display: grid; gap: 6px; font-weight: 700; font-size: .92rem; }
.contact__form label span { font-weight: 400; color: var(--muted); }
.contact__form input, .contact__form textarea { font: inherit; font-weight: 400; padding: 11px 13px; border: 1px solid #cfd5e6; border-radius: 10px; background: var(--white); color: var(--ink); width: 100%; }
.contact__form input:focus, .contact__form textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.contact__form textarea { resize: vertical; }
.contact__wide { grid-column: 1 / -1; }
.contact__form .contact__check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.contact__check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--navy-800); }
.contact__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cta .contact__privacy { font-size: .85rem; color: var(--muted); margin: 0; }
.contact__privacy a { color: var(--navy-600); }
.cta .contact__status { margin: 0; font-size: .95rem; font-weight: 700; color: var(--ink); }
.cta .contact__status.is-ok { color: var(--ok); }
.cta .contact__status.is-bad { color: var(--warn); }

/* stopka */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .6); border-top: 1px solid rgba(255, 255, 255, .08); font-size: .92rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.footer__about p { margin-top: 14px; max-width: 300px; }
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__col h2 {
  font-family: var(--sans); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.footer address { font-style: normal; line-height: 1.8; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem;
}
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }
.brand--light .logo { width: 32px; height: 32px; }
.brand--light { font-size: 1.05rem; }
/* Puste pole do uzupełnienia – widoczne, żeby nie wyszło na produkcję. */
.todo { background: rgba(246, 182, 43, .18); color: var(--gold); border-radius: 4px; padding: 0 4px; }

/* ---------- podstrony prawne ---------- */
.nav__cta { margin-left: auto; }
.legal { padding: 56px 0 96px; }
.legal__back { display: inline-block; margin-bottom: 28px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .92rem; }
.legal__back:hover { color: var(--ink); }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.legal__updated { color: var(--muted); font-size: .9rem; margin-bottom: 28px; }
.legal__intro { font-size: 1.08rem; padding: 20px 24px; background: var(--soft); border-radius: var(--radius); }
.legal section { margin-top: 44px; }
.legal h2 { font-size: 1.4rem; margin-bottom: 14px; }
.legal h3 { margin: 22px 0 8px; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 6px; }
.legal a { color: var(--navy-600); text-underline-offset: 3px; }
.legal .todo { color: #8a5a00; background: #fff1cc; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* zrzut z aplikacji w telefonie w hero; granatowy pasek u góry = pasek stanu (wycięcie nie zasłania nagłówka grafiku) */
.shot { background: #10275c; padding-top: 30px; border-radius: 34px; overflow: hidden; }
.shot img { display: block; width: 100%; height: auto; }

/* ---------- demo asystenta (sekcja „Wypróbuj”) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* czat obok telefonu; czat ma wysokość telefonu (log rośnie), więc pole do pisania jest na wysokości dołu telefonu */
/* po kliknięciu „Wypróbuj” nagłówek sekcji, czat i telefon mieszczą się na ekranie laptopa (ok. 900 px wysokości) */
.section--try { padding-top: 40px; }
.section--try .section__head { max-width: none; margin-bottom: 28px; }
.try { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: stretch; }
.try .demo { margin-top: 0; box-shadow: var(--shadow); }
.try .demo__log { flex: 1 1 0; height: auto; min-height: 280px; }
.try__phone { position: relative; }
.demo {
  margin-top: 30px; background: var(--white); color: var(--ink);
  border-radius: 22px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .65);
  display: flex; flex-direction: column; overflow: hidden;
}
.demo__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.demo__head .logo { border-radius: 8px; }
.demo__who { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.demo__who b { font-size: .95rem; }
.demo__who span { color: var(--muted); font-size: .78rem; }
.demo__status {
  margin-left: auto; flex: none; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  color: #9a6200; background: var(--gold-soft); padding: 4px 10px; border-radius: 999px;
}
.demo__status.is-live { color: #1d6b3c; background: #e3f5ea; }
.demo__status.is-live::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--ok); vertical-align: 1px; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.demo__log { height: 300px; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--soft); scroll-behavior: smooth; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: .92rem; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.msg--bot { align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg--user { align-self: flex-end; background: var(--navy-800); color: var(--white); border-bottom-right-radius: 6px; }
.msg--action { align-self: flex-start; background: #e3f5ea; color: #1d6b3c; font-weight: 700; font-size: .84rem; padding: 6px 12px; }
.msg--note { align-self: stretch; max-width: none; background: var(--gold-soft); color: #7a4d00; font-size: .85rem; }
.msg--typing { display: flex; gap: 5px; padding: 14px 16px; }
.msg--typing span { width: 7px; height: 7px; border-radius: 50%; background: #aab2c8; animation: blink 1.2s infinite; }
.msg--typing span:nth-child(2) { animation-delay: .2s; }
.msg--typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }

.msg--card { align-self: flex-start; width: 88%; background: var(--white); border: 1.5px solid var(--gold); white-space: normal; padding: 12px 14px; }
.card__title { font-weight: 800; margin-bottom: 6px; }
.card__details { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: .84rem; color: var(--muted); }
.card__details .is-skip { color: var(--warn); }
.card__details .is-warn { color: #9a6200; }
.card__details .is-more { font-style: italic; }
.card__buttons { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; }
.card__btn { font: inherit; font-size: .88rem; font-weight: 600; padding: 8px 16px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; }
.card__btn--ok { font-weight: 800; background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.card__btn:disabled { opacity: .6; cursor: default; }
.card__done { font-size: .85rem; font-weight: 700; color: var(--muted); }

.demo__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px 4px; }
.chip {
  font: inherit; font-size: .82rem; font-weight: 700; color: var(--navy-700); cursor: pointer;
  background: var(--white); border: 1.5px solid #d6dbea; border-radius: 999px; padding: 6px 12px;
  transition: border-color .15s, background .15s;
}
.chip:hover { border-color: var(--gold-deep); background: var(--gold-soft); }
.demo__form { display: flex; gap: 8px; padding: 10px 16px 6px; }
.demo__form input {
  flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 11px 14px;
  border: 1.5px solid #d6dbea; border-radius: 12px; color: var(--ink); background: var(--white);
}
.demo__form input:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(26, 58, 126, .15); }
.demo__send { flex: none; width: 46px; border: 0; border-radius: 12px; background: var(--gold); cursor: pointer; display: grid; place-items: center; }
.demo__send svg { width: 22px; height: 22px; fill: none; stroke: var(--navy-900); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.demo.is-busy .demo__send, .demo.is-busy .chip { opacity: .55; pointer-events: none; }
.demo__note { padding: 4px 16px 14px; color: var(--muted); font-size: .74rem; line-height: 1.45; }
.demo__note a { color: var(--navy-600); text-underline-offset: 2px; }

/* telefon na żywo */
.screen { display: flex; flex-direction: column; height: 600px; min-height: 0; }
.screen .days button {
  font: inherit; font-size: .68rem; font-weight: 700; color: var(--muted); background: none; border: 0;
  padding: 6px 0; border-radius: 10px; cursor: pointer; position: relative;
}
.screen .days button.on { background: var(--navy-800); color: var(--white); }
.screen .days button.has-new::after { content: ''; position: absolute; top: 2px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-deep); }
.slots { flex: 1; overflow-y: auto; margin-right: -6px; padding-right: 6px; }
.empty { text-align: center; color: var(--muted); font-size: .8rem; padding: 40px 0; }
.off { font-size: .7rem; font-weight: 700; color: var(--warn); background: #fff0e8; border-radius: 8px; padding: 5px 9px; margin-bottom: 10px; }
.slot__meta .is-new { background: var(--gold-soft); box-shadow: 0 0 0 2px var(--gold-soft); border-radius: 4px; animation: glow 1.4s ease-out 2; }
@keyframes glow { 0% { background: var(--gold); box-shadow: 0 0 0 2px var(--gold); } }
.slot__card.is-cancelled { opacity: .5; text-decoration: line-through; }
.float[hidden] { display: none; }
.float--toast { right: max(-12px, calc(50% - 300px)); bottom: 70px; display: flex; gap: 10px; align-items: center; max-width: 230px; }
.float--toast.is-in { animation: toastIn .35s ease-out; }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px) scale(.97); } }

/* ---------- responsywność ---------- */
@media (max-width: 960px) {
  .hero__grid, .split { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 72px; }
  .hero__visual { margin-top: 12px; }
  .float--toast { top: auto; bottom: 30px; right: 0; }
  .try { grid-template-columns: 1fr; gap: 30px; }
  .try .demo__log { flex: none; height: 340px; }
  .try__phone { display: flex; justify-content: center; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .plans, .plans__all .checks { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; gap: 36px; }
  .pilot { flex-direction: column; align-items: flex-start; }
  .nav__links { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav__login { margin-left: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero::after { display: none; }
  .section { padding: 72px 0; }
  .features, .duo { grid-template-columns: 1fr; }
  .hero__cta .btn, .plans__cta .btn, .pilot .btn { flex: 1 1 100%; width: 100%; }
  .contact__form { grid-template-columns: 1fr; padding: 20px; }
  .phone { width: 280px; }
  .screen { height: 540px; }
  .demo { margin-left: -4px; margin-right: -4px; }
  .msg, .msg--card { max-width: 94%; width: auto; }
  .float--pass { display: none; }
  .float--cancel { right: -4px; bottom: 20px; padding: 10px 12px; }
  .brand span { font-size: 1.1rem; }
  .nav__inner .btn { padding: 8px 14px; font-size: .85rem; }
  .nav__login { display: none; } /* brak miejsca obok logo; „Załóż stajnię za darmo” w hero prowadzi do tego samego logowania */
  .nav__inner .btn { margin-left: auto; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; padding-top: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
