:root {
  --bg: #0b0d0f;
  --surface: #14171a;
  --surface-2: #1a1e22;
  --line: rgba(255, 255, 255, .09);
  --text: #f4f6f7;
  --muted: #9aa4ad;
  --accent: #35d0ba;
  --accent-ink: #04231f;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 Inter, "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 13, 15, .72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 28px; height: 62px; }
.brand { font-weight: 600; letter-spacing: -.01em; display: flex; align-items: center; gap: 9px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.nav nav { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
.nav nav a { font-size: 14px; color: var(--muted); }
.nav nav a:hover, .nav nav a.on { color: var(--text); }
.nav .btn { font-size: 14px; }

/* buttons */
.btn {
  display: inline-block; padding: 11px 18px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-weight: 600; border: 0;
  cursor: pointer; font: inherit;
}
.btn:hover { background: #46e0c9; color: var(--accent-ink); }
.ghost { color: var(--muted); border-bottom: 1px solid transparent; }
.ghost:hover { color: var(--text); }

/* sections */
section { padding: 96px 0; border-bottom: 1px solid var(--line); }
section.alt { background: var(--surface); }
section.band { background: linear-gradient(180deg, rgba(53, 208, 186, .10), transparent); }
h1 { font-size: clamp(2.4rem, 6vw, 3.9rem); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 18px; font-weight: 600; }
h2 { font-size: 1.75rem; letter-spacing: -.01em; margin: 0 0 10px; font-weight: 600; }
h3 { font-size: 1rem; margin: 0 0 8px; font-weight: 600; }
p { margin: 0 0 14px; }
.kicker { color: var(--accent); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 16px; }
.lead, .sub { color: var(--muted); max-width: 62ch; font-size: 1.05rem; }
.lead { margin-bottom: 28px; }
.note { color: var(--muted); font-size: 14px; border-left: 2px solid var(--accent); padding-left: 14px; margin-top: 24px; }

/* hero */
.hero { padding: 120px 0 96px; }
.hero .ctas { display: flex; gap: 18px; align-items: center; margin: 30px 0 26px; flex-wrap: wrap; }
.ticks { list-style: none; display: flex; gap: 26px; padding: 0; margin: 0; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.ticks li { padding-left: 20px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }

.pagehead { padding: 96px 0 64px; }
.pagehead h1 { max-width: 20ch; }

/* grids and cards */
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card, .case, .plan, .step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
section.alt .card, section.alt .case, section.alt .plan { background: var(--surface-2); }
.card p, .case p { color: var(--muted); font-size: 15px; margin-bottom: 0; }
.card p + p, .case p + p { margin-top: 10px; }
.card:hover, .case:hover { border-color: rgba(53, 208, 186, .4); }

.steps .step span { color: var(--accent); font-size: 13px; letter-spacing: .1em; }
.steps .give { color: var(--text); font-size: 14px; margin-top: 12px; }

.plan { display: flex; flex-direction: column; }
.plan .price { color: var(--accent); font-weight: 600; margin: 4px 0 14px; }
.plan ul { margin: 0 0 18px; padding-left: 18px; color: var(--muted); font-size: 15px; }
.plan a { margin-top: auto; align-self: flex-start; }
.plan.feat { border-color: rgba(53, 208, 186, .45); box-shadow: 0 0 0 1px rgba(53, 208, 186, .18); }

/* case pages */
.case .p::before { content: "Problem — "; color: var(--muted); }
.case .r::before { content: "AI — "; color: var(--accent); }
.case .e::before { content: "Efekt — "; color: var(--muted); }

/* tiles */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tiles a {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; background: var(--surface);
}
.tiles a:hover { border-color: rgba(53, 208, 186, .4); }
.tiles span { color: var(--muted); font-size: 14px; text-align: right; }

/* tables */
table.cmp { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 8px; }
table.cmp th, table.cmp td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.cmp thead th { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
table.cmp tbody th { color: var(--text); font-weight: 600; width: 20%; }
table.cmp td { color: var(--muted); }
table.cmp td:nth-child(3) { color: var(--text); }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; }
summary:hover { color: var(--accent); }
details p { color: var(--muted); margin: 12px 0 0; max-width: 78ch; }

/* band */
.band-in { max-width: 720px; }
.band .ctas { display: flex; gap: 18px; align-items: center; margin-top: 22px; flex-wrap: wrap; }

/* forms */
.two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: start; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.form input, .form select, .form textarea {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  color: var(--text); padding: 12px 14px; font: inherit;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form .check { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14px; }
.form .check input { margin-top: 4px; }
.err { color: #ff8f8f; border: 1px solid rgba(255, 143, 143, .4); border-radius: 10px; padding: 12px 14px; }
.side h2 { font-size: 1.05rem; margin-top: 26px; }
.side p { color: var(--muted); }
.bul { margin: 0 0 18px; padding-left: 18px; color: var(--muted); font-size: 15px; }

/* footer */
.foot { background: var(--surface); padding: 56px 0 28px; }
.foot-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 28px; }
.foot p { color: var(--muted); font-size: 14px; }
.foot .small { color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); padding-top: 20px; }
ul.clean { list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--muted); }
ul.clean li { margin-bottom: 6px; }

/* responsive */
@media (max-width: 1000px) {
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .split, .two { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  section { padding: 64px 0; }
  .hero { padding: 80px 0 64px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .nav-in { height: auto; padding: 14px 0; flex-wrap: wrap; }
  .nav nav { width: 100%; margin-left: 0; }
  table.cmp { font-size: 14px; }
  table.cmp th, table.cmp td { padding: 9px 8px; }
  .foot-in { grid-template-columns: 1fr; }
}
