/* ============================================================
   Vailo — strona produktowa (vailo.pl)
   Jasny motyw, akcent marki: Błękit z Logo #0185e6
   Zero zewnętrznych zasobów: systemowe fonty, brak trackerów.
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --card: #ffffff;
  --card-2: #f0f4f8;
  --line: rgba(0, 0, 0, 0.10);
  --line-strong: rgba(0, 0, 0, 0.18);
  --text: #0a0a0a;
  --muted: #4b5563;
  --brand: #0185e6;
  --brand-2: #0172c6;
  --brand-soft: rgba(1, 133, 230, 0.10);
  --ok: #059669;
  --warn: #d97706;
  --radius: 16px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}
.container-narrow { width: min(860px, 100% - 48px); }

/* ---------- typografia ---------- */
h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  font-weight: 800;
}
h3 { font-size: 1.12rem; font-weight: 700; }
.grad {
  color: var(--brand);
}
.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.kicker-light { color: var(--brand-2); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-sub { color: var(--muted); margin-top: 14px; font-size: 1.02rem; }
code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.86em;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  white-space: nowrap;
}

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--brand-2); }
.btn-ghost {
  background: var(--card);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { background: var(--bg-soft); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; border-radius: 10px; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ---------- nagłówek ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav-wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}
.brand-mark { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }
.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.94rem;
  color: var(--muted);
  font-weight: 600;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
}
.lang { color: var(--muted); transition: color 0.15s ease; }
.lang:hover { color: var(--text); }
.lang.active { color: var(--brand); }
.lang-sep { color: var(--line-strong); }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-burger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 40px;
  overflow: hidden;
}
.hero-glow { display: none; }
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px;
  align-items: center;
  padding-bottom: 40px;
}
.hero-eyebrow { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid rgba(1, 133, 230, 0.25);
  color: var(--brand);
}
.pill-ghost {
  background: var(--bg-soft);
  border-color: var(--line-strong);
  color: var(--muted);
}
.hero-sub {
  color: var(--muted);
  font-size: 1.08rem;
  margin-top: 20px;
  max-width: 54ch;
}
.hero-sub strong { color: var(--text); }
.hero-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  list-style: none;
}
.hero-chips li {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

/* ramka aplikacji */
.window {
  background: #f8f9fb;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  background: #eef0f4;
  border-bottom: 1px solid var(--line);
}
.dot { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.dot:nth-child(1) { background: #ff5f57; }
.dot:nth-child(2) { background: #febc2e; }
.dot:nth-child(3) { background: #28c840; }
.window-title {
  font-size: 0.78rem;
  color: var(--muted);
  margin-left: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero-shot { position: relative; }
.hero-shot .window { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transition: transform 0.4s ease; }
.hero-shot .window:hover { transform: perspective(1600px) rotateY(0) rotateX(0); }

.float-card {
  position: absolute;
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}
.float-card strong { color: var(--text); font-size: 0.82rem; }
.float-ico {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
}
.float-ico svg { width: 19px; height: 19px; }
.float-e2ee { top: 18%; left: -46px; }
.float-vault { bottom: 12%; right: -30px; }

/* statystyki */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 34px 0 10px;
  padding: 26px 30px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stats dt { font-size: 1.5rem; font-weight: 800; color: var(--brand); letter-spacing: -0.01em; }
.stats dd { color: var(--muted); font-size: 0.88rem; }

/* ---------- sekcje ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-soft); border-block: 1px solid var(--line); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-rev > .split-copy { order: 2; }
.split-rev > .split-shot { order: 1; }
.split-copy h2 { margin-bottom: 16px; }
.split-copy > p { color: var(--muted); }
.ticks { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.ticks li {
  position: relative;
  padding-left: 32px;
  color: var(--muted);
  font-size: 0.97rem;
}
.ticks li strong { color: var(--text); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.4 2.6 2.6L14 7.5' fill='none' stroke='%230185e6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
  border: 1px solid rgba(1, 133, 230, 0.3);
}
.split-shot figcaption,
.sec-shot figcaption {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}
.window-sm { box-shadow: var(--shadow); }

/* ---------- galeria ---------- */
.gallery-tabs { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.g-tab {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-soft);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}
.g-tab:hover { color: var(--text); border-color: var(--brand); }
.g-tab.active {
  background: var(--brand);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow);
}
.gallery-frame img { width: 100%; }
.gallery-caption {
  padding: 16px 22px;
  font-size: 0.88rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* ---------- karty funkcji ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--brand); background: var(--card-2); }
.card h3 { margin: 16px 0 10px; }
.card p { color: var(--muted); font-size: 0.93rem; }
.card-ico {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--brand-soft);
  border: 1px solid rgba(1, 133, 230, 0.25);
  color: var(--brand);
}
.card-ico svg { width: 23px; height: 23px; }

/* ---------- bezpieczeństwo ---------- */
.security {
  position: relative;
  background: var(--bg);
  overflow: hidden;
}
.security-glow { display: none; }
.grid-2 {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.sec-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.sec-card:hover { border-color: var(--brand); transform: translateY(-3px); }
.sec-num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: rgba(1, 133, 230, 0.4);
}
.sec-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-right: 40px;
}
.sec-card h3::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--brand);
  flex: 0 0 10px;
}
.sec-card p { color: var(--muted); font-size: 0.94rem; }
.sec-card p strong { color: var(--text); }
.sec-shot { margin-top: 48px; max-width: 980px; margin-inline: auto; }

.honest {
  margin-top: 44px;
  padding: 26px 30px;
  border: 1px solid rgba(217, 119, 6, 0.3);
  border-radius: var(--radius);
  background: rgba(217, 119, 6, 0.05);
  max-width: 980px;
  margin-inline: auto;
}
.honest h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--warn);
  margin-bottom: 10px;
}
.honest h4 svg { width: 20px; height: 20px; }
.honest p { color: var(--muted); font-size: 0.94rem; }
.honest p strong { color: var(--text); }

/* ---------- desktop ---------- */
.desktop-cards { display: grid; gap: 16px; }
.dl-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.dl-card:hover { border-color: var(--brand); transform: translateX(4px); }
.dl-card h3 { margin-bottom: 4px; }
.dl-card p { color: var(--muted); font-size: 0.9rem; }
.dl-ico {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--brand-soft);
  border: 1px solid rgba(1, 133, 230, 0.25);
  color: var(--brand);
}
.dl-ico svg { width: 23px; height: 23px; }

/* ---------- pobierz ---------- */
.download { padding-top: 40px; }
.download-box {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  padding: 64px 40px;
  box-shadow: var(--shadow);
}
.download-box h2 { margin-bottom: 12px; }
.download-box > p { color: var(--muted); max-width: 52ch; margin-inline: auto; }
.download-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}
.download-note { margin-top: 22px; font-size: 0.84rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq details[open] { border-color: var(--brand); }

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-weight: 700;
  position: relative;
  user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%234b5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); font-size: 0.95rem; }

/* ---------- stopka ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand p { color: var(--muted); font-size: 0.92rem; margin-top: 14px; max-width: 34ch; }
.footer-domains { display: grid; gap: 6px; }
.dom { font-size: 0.9rem; color: var(--text); font-weight: 600; text-decoration: none; transition: opacity 0.15s; }
a.dom:hover { opacity: 0.7; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col h5 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 6px;
}
.footer-col a { color: var(--muted); font-size: 0.93rem; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsywność ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-shot .window { transform: none; }
  .float-e2ee { left: -8px; }
  .float-vault { right: -8px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-rev > .split-copy { order: 1; }
  .split-rev > .split-shot { order: 2; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .section { padding: 68px 0; }
  .hero { padding-top: 56px; }
  .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; padding: 20px; }
  .float-card { display: none; }
  .nav-links {
    position: fixed;
    inset: 62px 0 auto;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 18px;
    display: none;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; font-size: 1.02rem; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
  .lang-switch { margin-left: auto; }
  .download-box { padding: 44px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- cennik: strona cennik.html ---------- */
.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: stretch;
}
.price-cards .tier-card { min-width: 0; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.cmp-wrap { overflow-x: auto; border-radius: var(--radius); }
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 0.94rem;
}
.cmp-table th, .cmp-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.cmp-table thead th {
  background: var(--bg-soft);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-table td:not(:first-child), .cmp-table th:not(:first-child) {
  text-align: center;
  width: 150px;
  min-width: 110px;
}
.cmp-yes { color: var(--ok); font-weight: 800; }
.cmp-no { color: var(--muted); opacity: 0.55; }
.cmp-col-pro { background: var(--brand-soft); }

/* ---------- cennik: karty (z index.html, zachowane dla spójności) ---------- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 26px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.tier-card:hover { border-color: var(--brand); transform: translateY(-4px); box-shadow: var(--shadow); }
.tier-card h3 { font-size: 1.2rem; }
.tier-sub { color: var(--muted); font-size: 0.9rem; margin: 2px 0 16px; }
.tier-price { font-size: 2rem; font-weight: 800; color: var(--brand); letter-spacing: -0.02em; }
.tier-price span { font-size: 0.95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.tier-lifetime { color: var(--muted); font-size: 0.86rem; margin: 2px 0 18px; }
.tier-card .ticks { margin-top: auto; }
.tier-card .ticks li { font-size: 0.92rem; padding-left: 30px; }
.tier-note {
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--text);
  font-size: 0.86rem;
}
.tier-note strong { color: var(--brand); }
.tier-featured {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), var(--shadow);
}
.tier-badge {
  position: absolute;
  top: -13px;
  right: 22px;
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.tier-badge-pro { background: #059669; }

/* ---------- style podstron: prawne i wsparcie ---------- */
.doc-page { padding: 56px 0 88px; }
.doc-header { margin-bottom: 36px; }
.doc-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.doc-breadcrumb a { color: var(--brand); transition: color 0.15s; }
.doc-breadcrumb a:hover { color: var(--text); }
.doc-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 48px;
  box-shadow: var(--shadow);
}
.doc-box h2 {
  font-size: 1.38rem;
  color: var(--text);
  margin: 34px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.doc-box h2:first-of-type { margin-top: 0; }
.doc-box h3 {
  font-size: 1.1rem;
  color: var(--brand);
  margin: 22px 0 8px;
}
.doc-box p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
.doc-box p strong { color: var(--text); }
.doc-box ul, .doc-box ol {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
  padding-left: 24px;
  margin-bottom: 20px;
}
.doc-box li { margin-bottom: 8px; }
.doc-box li strong { color: var(--text); }
.doc-callout {
  background: var(--brand-soft);
  border-left: 4px solid var(--brand);
  border-radius: 0 12px 12px 0;
  padding: 18px 22px;
  margin: 24px 0;
  color: var(--text);
  font-size: 0.94rem;
}
.doc-callout strong { color: var(--brand); }
.doc-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 12px;
}
.guide-step {
  display: flex;
  gap: 20px;
  margin: 24px 0;
  padding: 22px;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.guide-step-num {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 1rem;
}
.guide-step-body h4 { font-size: 1.05rem; margin-bottom: 6px; color: var(--text); }
.guide-step-body p { margin-bottom: 0; font-size: 0.93rem; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-control:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
textarea.form-control { min-height: 130px; resize: vertical; }

@media (max-width: 768px) {
  .doc-box { padding: 26px 20px; }
  .guide-step { flex-direction: column; gap: 12px; }
}
