:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background: #ffffff;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #ffffff; }
img { max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: 82px;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(130px, 1fr);
  align-items: center;
  gap: 28px;
  padding: 10px clamp(24px, 5vw, 84px);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #e5e7eb;
  backdrop-filter: blur(12px);
}
.brand { width: fit-content; display: flex; flex-direction: column; align-items: center; gap: 1px; text-decoration: none; }
.brand-logo { width: 154px; height: 44px; display: block; object-fit: contain; }
.brand span { color: #64748b; font-size: 9px; font-weight: 750; letter-spacing: 0; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); }
.main-nav a { color: #344054; font-size: 14px; font-weight: 650; text-decoration: none; }
.main-nav a:hover { color: #1f4fe0; }
.topbar > .button { justify-self: end; }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  color: #ffffff;
  background: #3157d5;
  border: 1px solid #3157d5;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.button:hover { background: #2447bd; border-color: #2447bd; transform: translateY(-1px); }
.button-small { min-height: 44px; padding-inline: 20px; }
.button-ghost { color: #ffffff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .45); }
.button-ghost:hover { background: rgba(255, 255, 255, .16); border-color: #ffffff; }

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 82px));
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #0b1019 url("/media/magazyn-wz.png") center / cover no-repeat;
}
.hero-backdrop { position: absolute; z-index: -1; inset: 0; background: rgba(7, 11, 19, .84); }
.hero-inner { width: min(1280px, calc(100% - 48px)); margin: 0 auto; padding: 88px 0 120px; }
.eyebrow { margin: 0 0 14px; color: #2f67e8; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.hero .eyebrow { color: #7db5ff; }
.hero h1 { max-width: 820px; margin: 0; color: #ffffff; font-size: clamp(64px, 9vw, 132px); line-height: .92; letter-spacing: 0; }
.hero-lead { max-width: 760px; margin: 28px 0 34px; color: #e2e8f0; font-size: clamp(22px, 2.35vw, 34px); line-height: 1.38; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 24px 0 0; color: #aeb9ca; font-size: 14px; }

.proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid #e5e7eb; background: #ffffff; }
.proof-strip div { min-height: 120px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 24px clamp(18px, 2.8vw, 46px); border-right: 1px solid #e5e7eb; }
.proof-strip div:last-child { border-right: 0; }
.proof-strip strong { font-size: 16px; }
.proof-strip span { color: #64748b; font-size: 13px; line-height: 1.5; }

.intro-band, .security-band { padding: 112px clamp(24px, 6vw, 96px); }
.intro-band { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(560px, 1.15fr); gap: clamp(60px, 9vw, 150px); background: #f7f9fc; }
.section-heading { max-width: 720px; }
.section-heading h2, .product-copy h2, .mobile-copy h2, .final-cta h2, .download-card h1 { margin: 0; color: #101828; font-size: clamp(34px, 4.2vw, 58px); line-height: 1.08; }
.section-heading > p:last-child, .product-copy > p, .mobile-copy > p, .final-cta p, .download-card > p { color: #5d687a; font-size: 18px; line-height: 1.7; }

.capability-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #dfe4eb; border-left: 1px solid #dfe4eb; }
.capability-grid article { min-height: 220px; padding: 30px; background: transparent; border-right: 1px solid #dfe4eb; border-bottom: 1px solid #dfe4eb; }
.capability-grid article > span { color: #2f67e8; font-size: 13px; font-weight: 800; }
.capability-grid h3 { margin: 42px 0 9px; font-size: 20px; }
.capability-grid p { margin: 0; color: #667085; line-height: 1.65; }

.product-band {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(340px, .72fr) minmax(640px, 1.28fr);
  align-items: center;
  gap: clamp(50px, 7vw, 112px);
  padding: 96px clamp(24px, 6vw, 96px);
  overflow: hidden;
}
.product-band-light { background: #ffffff; }
.product-band-dark { grid-template-columns: minmax(640px, 1.28fr) minmax(340px, .72fr); background: #0b1019; }
.product-band-dark .product-copy h2 { color: #ffffff; }
.product-band-dark .product-copy > p, .product-band-dark .feature-list { color: #aeb9ca; }
.product-copy > p { margin: 24px 0; }
.feature-list { display: grid; gap: 11px; margin: 26px 0 0; padding: 0; color: #475467; list-style: none; }
.feature-list li { position: relative; padding-left: 25px; line-height: 1.55; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .58em; width: 9px; height: 9px; background: #2f67e8; border-radius: 2px; }

.screen-frame { position: relative; margin: 0; padding: 14px; background: #f8fafc; border: 1px solid #d7dee8; border-radius: 8px; box-shadow: 0 30px 80px rgba(16, 24, 40, .14); }
.screen-frame img { width: 100%; display: block; object-fit: contain; border-radius: 4px; }
.screen-frame figcaption { padding: 12px 4px 2px; color: #667085; font-size: 12px; }
.product-band-dark .screen-frame { background: #151d2a; border-color: #2c3748; box-shadow: 0 30px 80px rgba(0, 0, 0, .34); }
.product-band-dark .screen-frame figcaption { color: #aeb9ca; }

.mobile-band {
  min-height: 780px;
  display: grid;
  grid-template-columns: minmax(360px, .8fr) minmax(520px, 1.2fr);
  align-items: center;
  gap: clamp(60px, 9vw, 150px);
  padding: 112px clamp(24px, 8vw, 132px);
  background: #eef4ff;
}
.mobile-visual { display: flex; justify-content: center; }
.phone-shell { width: min(390px, 90vw); padding: 16px; background: #101828; border: 1px solid #263347; border-radius: 32px; box-shadow: 0 34px 80px rgba(30, 64, 175, .2); }
.phone-shell img { width: 100%; display: block; border-radius: 20px; }
.mobile-copy > p { max-width: 720px; margin: 24px 0 32px; }
.download-box { max-width: 700px; display: grid; grid-template-columns: 152px 1fr; align-items: center; gap: 24px; padding: 20px; background: #ffffff; border: 1px solid #d4ddeb; border-radius: 8px; }
.download-box > img { width: 152px; height: 152px; object-fit: contain; }
.download-box div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.download-box strong { font-size: 18px; }
.download-box span { color: #667085; font-size: 14px; line-height: 1.55; }
.download-box a, .text-link { color: #2451cf; font-weight: 750; text-decoration: none; }

.security-band { background: #f7f9fc; }
.security-band .section-heading { max-width: 850px; }
.security-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 56px; background: #dfe4eb; border: 1px solid #dfe4eb; }
.security-points div { min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; padding: 30px; background: #ffffff; }
.security-points strong { font-size: 19px; }
.security-points span { color: #667085; line-height: 1.6; }

.final-cta { min-height: 390px; display: grid; grid-template-columns: 260px minmax(420px, 1fr) auto; align-items: center; gap: clamp(40px, 6vw, 90px); padding: 80px clamp(24px, 6vw, 96px); background: #0b1019; }
.final-cta > img { width: 260px; height: 100px; object-fit: contain; }
.final-cta h2 { color: #ffffff; font-size: clamp(32px, 3.6vw, 52px); }
.final-cta p { margin-bottom: 0; color: #aeb9ca; }
.final-actions { display: flex; flex-direction: column; align-items: center; gap: 15px; }
.final-actions .text-link { color: #a8c6ff; }

footer { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 22px clamp(24px, 6vw, 96px); background: #070b12; border-top: 1px solid #232d3d; color: #98a2b3; font-size: 13px; }
footer > div { display: flex; align-items: center; gap: 24px; }
footer img { width: 122px; height: 42px; object-fit: contain; }
footer a { color: #c8d0dc; text-decoration: none; }

.download-page { min-height: 100vh; display: flex; flex-direction: column; background: #f3f6fb; }
.download-main { flex: 1; display: grid; place-items: center; padding: 70px 24px; }
.download-card { width: min(1040px, 100%); display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: center; padding: clamp(32px, 6vw, 72px); background: #ffffff; border: 1px solid #dce3ec; border-radius: 8px; box-shadow: 0 30px 80px rgba(16, 24, 40, .1); }
.download-card h1 { font-size: clamp(38px, 5vw, 64px); }
.download-card > div > p { margin: 24px 0; color: #5d687a; font-size: 17px; line-height: 1.65; }
.release-status { display: flex; align-items: center; gap: 12px; margin: 28px 0; color: #344054; font-weight: 700; }
.release-status::before { content: ""; width: 12px; height: 12px; background: #e5a62d; border-radius: 50%; }
.download-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.download-actions .button-ghost { color: #344054; background: #ffffff; border-color: #cbd5e1; }
.download-actions .button-ghost:hover { background: #f8fafc; border-color: #98a2b3; }
.download-qr { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 22px; background: #f8fafc; border: 1px solid #e1e6ed; border-radius: 8px; text-align: center; }
.download-qr img { width: 250px; height: 250px; }
.download-qr span { color: #667085; font-size: 13px; }

@media (max-width: 1120px) {
  .main-nav { display: none; }
  .topbar { grid-template-columns: 1fr auto; }
  .intro-band, .product-band, .product-band-dark, .mobile-band { grid-template-columns: 1fr; }
  .product-band { min-height: auto; }
  .product-band-dark .screen-frame { order: 2; }
  .product-band-dark .product-copy { order: 1; }
  .mobile-copy { order: 1; }
  .mobile-visual { order: 2; }
  .final-cta { grid-template-columns: 200px 1fr; }
  .final-actions { grid-column: 1 / -1; flex-direction: row; justify-content: center; }
}
@media (max-width: 760px) {
  .topbar { min-height: 70px; padding-inline: 18px; }
  .brand-logo { width: 126px; height: 38px; }
  .brand span { font-size: 7px; }
  .button-small { min-height: 40px; padding-inline: 14px; font-size: 13px; }
  .hero { min-height: calc(100svh - 118px); background-position: 64% center; }
  .hero-inner { width: min(100% - 36px, 1280px); padding: 74px 0 92px; }
  .hero h1 { font-size: clamp(56px, 18vw, 78px); }
  .hero-lead { font-size: 22px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .proof-strip { grid-template-columns: 1fr 1fr; }
  .proof-strip div:nth-child(2) { border-right: 0; }
  .proof-strip div:nth-child(-n+2) { border-bottom: 1px solid #e5e7eb; }
  .intro-band, .product-band, .mobile-band, .security-band { padding: 76px 20px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid article { min-height: 180px; }
  .capability-grid h3 { margin-top: 28px; }
  .screen-frame { padding: 7px; }
  .screen-frame-wide img { min-height: 250px; object-fit: cover; object-position: left center; }
  .screen-frame-calendar img { min-height: 300px; object-fit: cover; object-position: left top; }
  .mobile-band { gap: 52px; }
  .download-box { grid-template-columns: 104px 1fr; padding: 14px; }
  .download-box > img { width: 104px; height: 104px; }
  .security-points { grid-template-columns: 1fr; }
  .final-cta { grid-template-columns: 1fr; padding: 70px 24px; text-align: center; }
  .final-cta > img { margin-inline: auto; }
  .final-actions { grid-column: auto; flex-direction: column; }
  footer { align-items: flex-start; flex-direction: column; }
  footer > div:last-child { align-items: flex-start; flex-direction: column; gap: 12px; }
  .download-card { grid-template-columns: 1fr; gap: 40px; }
  .download-qr { order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
.release-status.available::before { background: #16a66a; }
.release-status.unavailable::before { background: #d64545; }
.release-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 24px 0; padding: 1px; background: #dce3ec; }
.release-details[hidden], .release-notes-public[hidden], .download-actions [hidden] { display: none; }
.release-details div { min-width: 0; padding: 14px; background: #f8fafc; }
.release-details dt { margin-bottom: 5px; color: #667085; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.release-details dd { margin: 0; color: #1d2939; font-size: 13px; font-weight: 750; overflow-wrap: anywhere; }
.release-details .release-checksum { grid-column: 1 / -1; }
.release-details .release-checksum dd { font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; word-break: break-all; }
.release-notes-public { margin: 22px 0; padding: 15px 16px; border-left: 3px solid #3157d5; background: #f4f7ff; color: #475467; font-size: 14px; line-height: 1.6; white-space: pre-wrap; }
@media (max-width: 620px) {
  .release-details { grid-template-columns: 1fr; }
  .release-details .release-checksum { grid-column: auto; }
}