/* Subpages of janpoli.com. Brand tokens match the inline styles of /index.html. */
:root {
  --neon-volt: #C8FF00;
  --deep-black: #080808;
  --surface: #141414;
  --off-white: #F5F5F0;
  --muted: rgba(245, 245, 240, 0.62);
  --ink-muted: rgba(8, 8, 8, 0.62);
  --rule: rgba(8, 8, 8, 0.14);

  --font-sans: 'Raleway', system-ui, sans-serif;
  --font-dots: 'Raleway Dots', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--off-white);
  color: var(--deep-black);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
.print-only { display: none; }
p { margin: 0 0 16px; }
ul { margin: 0 0 16px; padding-left: 20px; }
li { margin-bottom: 6px; }

.container { max-width: 760px; margin: 0 auto; padding: 0 28px; }

.pill {
  display: inline-block;
  background: var(--neon-volt);
  color: var(--deep-black);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 14px;
  line-height: 1.2;
}

/* ---------- Top bar ---------- */
.topbar { background: var(--deep-black); color: var(--off-white); }
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 18px;
  max-width: 960px;
}
.brand { font-weight: 700; font-size: 15px; text-decoration: none; letter-spacing: -0.01em; }
.nav { display: flex; gap: 20px; font-size: 13.5px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--muted); border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--off-white); border-bottom-color: var(--neon-volt); }

/* ---------- Hero ---------- */
.hero { background: var(--deep-black); color: var(--off-white); padding: 56px 0 72px; }
.hero .pill { margin-bottom: 28px; }
.hero h1 {
  font-weight: 800;
  font-size: clamp(30px, 5.4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}
.hero h1 .accent { color: var(--neon-volt); }
.hero .lead { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 640px; margin: 0; }
.hero .lead strong { color: var(--off-white); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 64px 0 8px; }
.section:last-of-type { padding-bottom: 72px; }
h2 {
  display: inline-block;
  background: var(--neon-volt);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 7px 14px;
  margin: 0 0 30px;
  line-height: 1.2;
}
h3 { font-size: 19px; font-weight: 700; line-height: 1.3; margin: 0 0 8px; letter-spacing: -0.01em; }
.section-intro { font-size: 16px; max-width: 640px; }

/* ---------- Offer ---------- */
.offer { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; }
.offer-item .idx { font-family: var(--font-dots); font-size: 68px; line-height: 1; margin-bottom: 10px; }
.offer-item p { font-size: 15px; }
.offer-item .out { font-size: 13.5px; color: var(--ink-muted); }

/* ---------- Projects ---------- */
.project { border-left: 3px solid var(--deep-black); padding: 2px 0 2px 22px; margin-bottom: 36px; }
.meta { font-size: 12.5px; font-weight: 600; color: var(--ink-muted); letter-spacing: 0.02em; margin-bottom: 6px; }
.project p { font-size: 15px; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chips li {
  background: var(--deep-black);
  color: var(--off-white);
  font-size: 11px;
  font-weight: 500;
  padding: 6px 10px;
  margin: 0;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.feature { background: var(--deep-black); color: var(--off-white); padding: 36px 34px; margin: 8px 0 36px; }
.feature .meta { color: var(--muted); }
.feature h3 { color: var(--off-white); }
.feature p { font-size: 15px; color: var(--muted); }
.feature .clients { color: var(--neon-volt); font-weight: 600; font-size: 16px; margin-bottom: 14px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 58px; margin-bottom: 24px; font-size: 15px; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -6px;
  font-family: var(--font-dots);
  font-size: 48px;
  line-height: 1;
}
.steps strong { display: block; font-size: 16px; margin-bottom: 2px; }

/* ---------- FAQ ---------- */
.faq-item { padding: 22px 0; border-top: 1px solid var(--rule); }
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-item h3 { font-size: 17px; }
.faq-item p { font-size: 15px; margin: 0; }

/* ---------- CV ---------- */
.cv-row { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--rule); }
.cv-row:last-child { border-bottom: 1px solid var(--rule); }
.cv-when { font-size: 13.5px; font-weight: 600; color: var(--ink-muted); padding-top: 2px; }
.cv-when small { display: block; font-weight: 500; }
.cv-row h3 { font-size: 17px; margin-bottom: 2px; }
.cv-org { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.cv-row p { font-size: 15px; margin-bottom: 8px; }
.cv-row p:last-child { margin-bottom: 0; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cols h3 { font-size: 15px; margin-bottom: 10px; }
.cols ul { list-style: none; padding: 0; font-size: 14.5px; }
.cols li { margin-bottom: 4px; }

/* ---------- Links and buttons ---------- */
.text-link { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--neon-volt); }
.text-link:hover { background: var(--neon-volt); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 18px;
  border: 2px solid var(--deep-black);
  background: var(--deep-black);
  color: var(--off-white);
}
.btn.ghost { background: transparent; color: var(--deep-black); }
.btn:hover { background: var(--neon-volt); color: var(--deep-black); border-color: var(--neon-volt); }
.hero .btn { background: var(--neon-volt); color: var(--deep-black); border-color: var(--neon-volt); }
.hero .btn.ghost { background: transparent; color: var(--off-white); border-color: var(--off-white); }
.hero .btn:hover, .hero .btn.ghost:hover { background: var(--off-white); color: var(--deep-black); border-color: var(--off-white); }

/* ---------- Contact ---------- */
.contact { background: var(--neon-volt); padding: 76px 0 84px; text-align: center; }
.contact .big { font-family: var(--font-dots); font-size: clamp(46px, 8vw, 92px); line-height: 1.05; letter-spacing: 0.04em; margin: 0 0 18px; }
.contact p { font-size: 16px; max-width: 520px; margin: 0 auto 18px; }
.contact-info { font-size: 15.5px; line-height: 2; }
.contact-info a { text-decoration: none; border-bottom: 1px solid var(--deep-black); }

.footer { background: var(--deep-black); color: var(--muted); font-size: 12.5px; padding: 22px 0; }
.footer .container { max-width: 960px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--off-white); }

/* ---------- Responsive ---------- */
@media (max-width: 680px) {
  .container { padding: 0 20px; }
  .hero { padding: 40px 0 52px; }
  .hero .lead { font-size: 15.5px; }
  .offer { grid-template-columns: 1fr; gap: 30px; }
  .feature { padding: 28px 22px; }
  .cv-row { grid-template-columns: 1fr; gap: 4px; }
  .cols { grid-template-columns: 1fr; gap: 8px; }
  .nav { gap: 16px; }
  .section { padding-top: 52px; }
}

/* ---------- Print (the CV page is also offered as a PDF printed from this layout) ---------- */
@media print {
  @page { size: A4; margin: 14mm 15mm; }
  body { background: #fff; font-size: 10pt; }
  .topbar, .contact, .footer, .actions, .no-print { display: none !important; }
  .hero { background: #fff; color: var(--deep-black); padding: 0 0 10px; }
  .hero .pill { display: none; }
  .hero h1 { font-size: 24pt; margin-bottom: 6px; }
  .hero .lead, .hero .lead strong { color: var(--deep-black); font-size: 10.5pt; }
  .container { max-width: none; padding: 0; }
  .section, .section:last-of-type { padding: 12px 0 0; }
  h2 { break-after: avoid; }
  h2 { background: none; border-bottom: 2px solid var(--deep-black); padding: 0 0 3px; margin-bottom: 8px; font-size: 11pt; }
  .cv-row { grid-template-columns: 110px 1fr; padding: 8px 0; break-inside: avoid; }
  .cv-row p, .cols li, .project p { font-size: 9.2pt; line-height: 1.45; }
  .cols li { margin-bottom: 1px; }
  .cols h3 { margin-bottom: 4px; }
  .print-only { display: block !important; font-size: 9.5pt; margin-top: 6px; }
  .cv-row h3 { font-size: 11pt; }
  .chips li { background: #fff; color: var(--deep-black); border: 1px solid var(--deep-black); }
  a { text-decoration: none; }
}
