/* Organizacja ruchu — civic landing
   Navy #0F2744 · Accent #C45C26 · Paper #F7F4EE */

:root {
  --navy: #0f2744;
  --navy-2: #17365c;
  --blue: #1b4f8c;
  --accent: #c45c26;
  --accent-hover: #a84b1c;
  --accent-soft: #f8e6da;
  --paper: #f7f4ee;
  --paper-2: #efeae1;
  --white: #ffffff;
  --text: #152033;
  --muted: #4a5568;
  --border: #e2d9cc;
  --ok: #1f6b4a;
  --shadow: 0 8px 32px rgba(15, 39, 68, 0.08);
  --shadow-lg: 0 18px 50px rgba(15, 39, 68, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1180px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.2rem;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--accent-hover);
}

ul {
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 400;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
}
.skip-link:focus {
  top: 0.75rem;
  color: #fff;
}

.draft-banner {
  background: #f8e6da;
  border-bottom: 1px solid #e2c4ae;
  color: #3a2418;
  font-size: 0.92rem;
  line-height: 1.45;
}
.draft-banner p {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 0.55rem 0;
}
.draft-banner a {
  color: inherit;
  font-weight: 600;
  white-space: nowrap;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 238, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.4rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo img,
.logo svg {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}
.logo-mark {
  line-height: 1.1;
}
.logo-mark small {
  display: block;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 8px;
  background: var(--navy);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}
.nav-links a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a:hover {
  color: var(--accent);
}

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  text-decoration: none !important;
}
.nav-cta:hover {
  background: var(--accent-hover) !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary {
  background: var(--accent);
  color: #fff !important;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff !important;
}
.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy) !important;
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff !important;
}
.btn-ghost {
  background: transparent;
  color: var(--navy) !important;
}
.btn-accent {
  background: var(--navy);
  color: #fff !important;
}
.btn-accent:hover {
  background: var(--navy-2);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  align-items: center;
}
.hero-actions .btn {
  white-space: nowrap;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
}

/* Hero */
.hero {
  position: relative;
  padding: 3.2rem 0 2.4rem;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.2vw, 3.35rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 1rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--blue);
}
.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 40rem;
  margin-bottom: 1.4rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.2rem 0 1.6rem;
}
.chip {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  text-decoration: none;
}
a.chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-visual {
  position: relative;
}
.hero-visual img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}
.hero-credit {
  margin: 0.45rem 0 0;
  font-size: 0.75rem;
  color: var(--muted, #5b6b7c);
}
.hero-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hero-card {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  background: rgba(15, 39, 68, 0.92);
  color: #fff;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1rem;
  font-size: 0.85rem;
}
.hero-card strong {
  display: block;
  font-size: 1.05rem;
  font-family: var(--serif);
}
.hero-card span {
  opacity: 0.8;
}

/* Sections */
section {
  padding: 4.2rem 0;
}
.section-head {
  max-width: 42rem;
  margin-bottom: 2rem;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head h1 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 1.95rem);
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--navy);
  margin-bottom: 0.7rem;
}
.section-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.55rem;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 0.7rem;
}
h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.band-navy {
  background: var(--navy);
  color: #e8eef6;
}
.band-navy h2,
.band-navy h3 {
  color: #fff;
}
.band-navy .section-label {
  color: #f0b089;
}
.band-white {
  background: var(--white);
}
.band-paper-2 {
  background: var(--paper-2);
}

/* Product modules — Publink-like numbered cards */
.modules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}
.module {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.35rem 1.2rem;
  box-shadow: var(--shadow);
  align-self: start;
}
.module summary {
  cursor: pointer;
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem 0.8rem;
  align-items: baseline;
}
.module summary::-webkit-details-marker {
  display: none;
}
.module summary h3 {
  margin: 0;
  font-size: 1.12rem;
}
.module summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--accent);
  line-height: 1;
}
.module[open] summary::after {
  content: "−";
}
.module[open] {
  padding-bottom: 1.4rem;
}
.module summary + p {
  margin-top: 0.85rem;
}
.module-num {
  font-family: var(--serif);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
}
.module ul {
  margin-top: 0.7rem;
}
.module li {
  position: relative;
  padding-left: 1.15rem;
  margin: 0.35rem 0;
  color: var(--muted);
  font-size: 0.98rem;
}
.module li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1.2rem;
}
.stat b {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

/* Process */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem;
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 2rem 1fr;
  column-gap: 0.55rem;
  row-gap: 0.45rem;
  align-items: center;
}
.step-n {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.step h2,
.step h3 {
  grid-column: 2;
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: 0;
}
.step p {
  grid-column: 1 / -1;
  margin: 0;
}

/* Audience */
.audience {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.audience article {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem;
  border: 1px solid var(--border);
}

/* Legal basis */
.legal-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}
.legal-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--border);
}
.legal-box a {
  font-weight: 600;
}

/* Security */
.secure {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.secure article {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.3rem;
  border: 1px solid var(--border);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.team-grid-full {
  grid-template-columns: 1fr;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.team-top {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}
.team-top img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 50%;
}
.team-role {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.92rem;
}
.team-bio {
  color: var(--muted);
}
.team-bio a {
  font-weight: 650;
}
.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}
.team-tags li {
  background: var(--paper-2);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.35rem;
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
  box-shadow: var(--shadow);
}
.blog-card:hover {
  border-color: #d2b89a;
}
.blog-card time,
.blog-card .blog-meta,
.blog-meta {
  color: var(--muted);
  font-size: 0.85rem;
}
.blog-card h2,
.blog-card h3 {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: 0;
  margin: 0.45rem 0 0.5rem;
  color: var(--navy);
}
.blog-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}
.article {
  max-width: 46rem;
  margin: 2rem auto 3rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2.1rem 2.4rem;
  border: 1px solid var(--border);
}
.article h1 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 1.95rem);
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: 0;
  margin: 0.4rem 0 0.8rem;
}
.article h2 {
  font-size: 1.18rem;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: 0;
  margin: 1.55rem 0 0.45rem;
}
.article p,
.article li {
  margin: 0.85rem 0;
}
.article ul,
.article ol {
  padding-left: 1.3rem;
  list-style: disc;
}
.article ol {
  list-style: decimal;
}
.article h3 {
  font-size: 1.02rem;
  font-weight: 650;
  margin: 1.2rem 0 0.3rem;
  color: var(--navy);
}
.article .lead {
  font-size: 1.08rem;
  color: var(--muted);
}
.table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
}
.article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.article th,
.article td {
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid var(--border);
}
.article th {
  background: var(--paper);
  color: var(--navy);
  font-weight: 650;
}
.article-cta {
  margin: 2rem 0 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  border: 1px solid #ecc9b2;
}
.article-cta p {
  margin: 0.3rem 0;
}
.toc {
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.2rem;
  margin: 1.2rem 0;
}
.toc ol {
  margin: 0.3rem 0 0;
}
.toc li {
  margin: 0.25rem 0;
}
.sources {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}
.sources h2 {
  font-size: 1.2rem;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.7rem;
}
.faq-cta {
  text-align: center;
  margin-top: 1.6rem;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.2rem 1rem 0.2rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  padding: 0.95rem 0;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item p {
  color: var(--muted);
  padding-bottom: 1rem;
}

/* Form */
.form-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.form-row {
  margin-bottom: 0.9rem;
}
.form-row label {
  display: block;
  font-size: 0.9rem;
  font-weight: 650;
  margin-bottom: 0.35rem;
}
.form-optional {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.85em;
}
.form-row input:not([type="checkbox"]),
.form-row textarea,
.form-row select {
  width: 100%;
  min-height: 44px;
  padding: 0.7rem 0.85rem;
  border: 1px solid #c9c0b3;
  border-radius: 10px;
  font: inherit;
  background: #fff;
  color: var(--text);
}
.form-row textarea {
  min-height: 120px;
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196, 92, 38, 0.2);
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
}
.form-check input[type="checkbox"] {
  flex: 0 0 1.05rem;
  width: 1.05rem;
  height: 1.05rem;
  min-height: 0;
  margin: 0.18em 0 0;
  padding: 0;
  border: none;
  border-radius: 0;
  accent-color: var(--navy);
}
.secure details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
}
.secure summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.15rem;
  list-style: none;
}
.secure summary::-webkit-details-marker {
  display: none;
}
.secure details p {
  margin-top: 0.65rem;
}
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-success,
.form-error {
  display: none;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-weight: 600;
}
.form-success {
  background: #e7f6ee;
  border: 1px solid #8dcfb0;
  color: var(--ok);
}
.form-error {
  background: #fdecec;
  border: 1px solid #f0b0b0;
  color: #8a1f1f;
}
.form-success.show,
.form-error.show {
  display: block;
}
.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.7rem;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #c9d4e3;
  padding: 2.4rem 0 1.4rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}
.site-footer a {
  color: #f3efe8;
}
.site-footer h3 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}
.site-footer li {
  margin: 0.3rem 0;
}
.lubi-credit {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  opacity: 0.72;
  font-size: 0.82rem;
  margin-top: 1.1rem;
}
.lubi-credit img {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}
.footer-contact {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.55;
  opacity: 0.88;
}
.footer-contact a {
  color: inherit;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
}

.footer-draft {
  flex: 1 0 100%;
  margin: 0;
  opacity: 0.9;
}

/* Legal pages */
.legal-page {
  padding: 2rem 0 3.5rem;
}
.legal-wrap {
  max-width: 48rem;
}
.legal-breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.legal-breadcrumb a {
  color: var(--navy);
}
.legal-header h1 {
  font-family: var(--serif);
  font-size: 2.1rem;
  color: var(--navy);
}
.legal-meta {
  color: var(--muted);
  margin: 0.5rem 0 1.2rem;
}
.legal-content {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
}
.legal-content h2 {
  font-size: 1.25rem;
  margin-top: 1.4rem;
}
.legal-content p,
.legal-content li {
  margin: 0.6rem 0;
}
.legal-content ul {
  list-style: disc;
  padding-left: 1.2rem;
}
.legal-toc {
  background: var(--paper-2);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
}

/* Cookies */
.cookie-banner {
  position: fixed;
  z-index: 200;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
  pointer-events: none;
}
.cookie-banner[hidden] {
  display: none !important;
}
.cookie-banner-inner {
  pointer-events: auto;
  max-width: min(100%, 740px);
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 1.35rem;
}
.cookie-banner-title {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
  font-family: var(--font);
}
.cookie-banner-text p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cookie-settings {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cookie-settings[hidden] {
  display: none !important;
}
.cookie-setting-label {
  display: flex;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.9rem;
}
.cookie-setting-desc {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 400;
}

.split-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
}

.roadmap {
  position: relative;
  list-style: none;
  max-width: 44rem;
  margin: 2rem 0 0;
  padding-left: 0.2rem;
}
.roadmap::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: var(--border);
}
.roadmap-item {
  position: relative;
  padding: 0 0 2.1rem 2.1rem;
}
.roadmap-item:last-child {
  padding-bottom: 0.2rem;
}
.roadmap-item::before {
  content: "";
  position: absolute;
  left: 0.28rem;
  top: 0.35rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 4px var(--paper);
}
.roadmap-item.is-next::before {
  background: var(--accent);
}
.roadmap-when {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.roadmap-item.is-next .roadmap-when {
  color: var(--accent);
}
.roadmap-tag {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--muted);
}
.roadmap-item.is-next .roadmap-tag {
  background: var(--accent-soft);
  color: var(--accent-hover);
}
.roadmap-item h2 {
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}
.roadmap-item p,
.roadmap-item ul {
  color: var(--muted);
  font-size: 1.02rem;
}
.roadmap-item ul {
  margin-top: 0.5rem;
}
.roadmap-item li {
  position: relative;
  padding-left: 1.1rem;
  margin: 0.3rem 0;
}
.roadmap-item li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
}

@media (max-width: 960px) {
  .hero-grid,
  .modules,
  .stats,
  .steps,
  .audience,
  .legal-grid,
  .secure,
  .team-grid,
  .blog-grid,
  .form-wrap,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual img {
    height: 280px;
  }
  .hero-card {
    position: static;
    margin-top: 0.8rem;
  }
  .nav-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 4.4rem;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.2rem 1.3rem;
    gap: 0.4rem;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-cta {
    text-align: center;
  }
  .hero-actions {
    flex-wrap: wrap;
  }
  #moduly-title {
    white-space: normal;
  }
}

#moduly-title {
  white-space: nowrap;
}
@media (max-width: 720px) {
  #moduly-title {
    white-space: normal;
  }
}

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