:root {
  --ink: #0c111d;
  --muted: #5f6877;
  --line: #dce1e8;
  --paper: #f7f8fa;
  --white: #ffffff;
  --blue: #2d5bff;
  --dark-blue: #16213f;
  --green: #77e6ac;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

.site-header, footer {
  max-width: 1220px;
  margin: 0 auto;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header { border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 760; letter-spacing: -.02em; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px;
  color: white; background: var(--blue); border-radius: 9px; font-size: 18px;
}
nav { display: flex; gap: 28px; font-size: .92rem; font-weight: 600; }
nav a { color: var(--muted); transition: color .2s; }
nav a:hover, nav a:focus-visible { color: var(--blue); }

.hero {
  max-width: 1220px; margin: 0 auto; padding: 96px 32px 110px;
  display: grid; grid-template-columns: 1.12fr .88fr; gap: 72px; align-items: center;
}
.eyebrow { margin: 0 0 18px; color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .14em; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.045em; }
h1 { max-width: 760px; margin-bottom: 28px; font-size: clamp(3rem, 5.4vw, 5.8rem); }
h2 { margin-bottom: 20px; font-size: clamp(2.15rem, 3.6vw, 3.8rem); }
h3 { margin-bottom: 13px; font-size: 1.35rem; }
.lead { max-width: 700px; margin: 0 0 34px; color: var(--muted); font-size: 1.2rem; line-height: 1.65; }
.primary-link { display: inline-flex; gap: 12px; align-items: center; padding-bottom: 7px; color: var(--blue); border-bottom: 2px solid var(--blue); font-weight: 750; }

.code-panel { overflow: hidden; color: #eaf0ff; background: var(--dark-blue); border-radius: 18px; box-shadow: 0 30px 70px rgba(18, 31, 70, .22); transform: rotate(1.2deg); }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 15px 18px; color: #8996b7; background: #10182d; font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.window-bar i { width: 8px; height: 8px; border-radius: 50%; background: #35405d; }
.window-bar span { margin-left: 8px; }
pre { margin: 0; padding: 34px 26px 30px; overflow-x: auto; font: 14px/2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.muted { color: #53617e; }.blue { color: #8aa7ff; }.green { color: var(--green); }
.status { padding: 14px 22px; border-top: 1px solid #2b3654; color: #adb7cf; font-size: .8rem; }
.status span { display: inline-block; width: 7px; height: 7px; margin-right: 8px; background: var(--green); border-radius: 50%; }

.section { max-width: 1220px; margin: 0 auto; padding: 110px 32px; }
#obszary { border-top: 1px solid var(--line); }
.section-heading { max-width: 650px; margin-bottom: 54px; }
.section-heading > p:last-child, .approach-copy { color: var(--muted); font-size: 1.08rem; }
.services { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.services article { min-height: 250px; padding: 38px; background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services article p { max-width: 440px; margin: 0; color: var(--muted); }
.service-number { display: block; margin-bottom: 42px; color: var(--blue); font: 700 .78rem ui-monospace, monospace; }

.tech-section { padding: 90px max(32px, calc((100vw - 1156px) / 2)); color: white; background: var(--ink); }
.tech-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.tech-section h2 { margin: 0; max-width: 450px; }
.tech-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tech-list span { padding: 10px 16px; color: #dce3f5; border: 1px solid #364057; border-radius: 999px; font-size: .9rem; }

.approach { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.approach-copy { padding-top: 28px; }
.approach-copy p { margin: 0 0 22px; max-width: 550px; }
footer { padding-top: 34px; padding-bottom: 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
footer .brand { color: var(--ink); }

@media (max-width: 850px) {
  .site-header { padding: 18px 22px; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 54px; padding: 72px 22px 88px; }
  h1 { font-size: clamp(2.8rem, 13vw, 4.6rem); }
  .code-panel { transform: none; }
  .section { padding: 84px 22px; }
  .services { grid-template-columns: 1fr; }
  .tech-section { grid-template-columns: 1fr; padding: 76px 22px; }
  .approach { grid-template-columns: 1fr; gap: 12px; }
  footer { flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px 22px; }
  footer p { margin: 0; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
