:root {
  color-scheme: dark;
  --bg: #06131f;
  --surface: #0c1c2a;
  --surface-strong: #112536;
  --text: #f7f9fc;
  --muted: #9aabbb;
  --line: #284055;
  --purple: #9a6cff;
  --cyan: #55b9ff;
  --green: #30dfa2;
  --amber: #f5ad42;
  --max: 1120px;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 14% 0%, rgba(154, 108, 255, 0.14), transparent 30rem),
    radial-gradient(circle at 92% 28%, rgba(85, 185, 255, 0.11), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
}

a { color: #a8d7ff; }
a:hover { color: #d0eaff; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(154, 108, 255, 0.36);
  background: rgba(6, 19, 31, 0.91);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.035em;
  line-height: 1.05;
}

.brand strong { font-size: 1.08rem; }
.brand span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-right,
.nav-links,
.language-switch {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links a {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--text); }

.language-switch {
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(12, 28, 42, 0.72);
}

.language-switch button {
  min-width: 42px;
  padding: 7px 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
}

.language-switch button[aria-pressed="true"] {
  background: rgba(154, 108, 255, 0.22);
  color: var(--text);
}

.hero {
  padding: 96px 0 64px;
}

.hero.compact { padding: 68px 0 38px; }

.eyebrow {
  margin: 0 0 14px;
  color: #c8afff;
  font-size: 0.83rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.16; }

h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(2.45rem, 7vw, 5.4rem);
  letter-spacing: -0.055em;
}

.compact h1 { font-size: clamp(2.25rem, 5.2vw, 4.2rem); }

.lede {
  max-width: 760px;
  margin: 24px 0 0;
  color: #c0ccd7;
  font-size: clamp(1.03rem, 2vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button.button-primary {
  border-color: rgba(154, 108, 255, 0.96);
  background: linear-gradient(135deg, #7950e8, #565be8);
  box-shadow: 0 12px 34px rgba(94, 74, 210, 0.24);
}

.availability {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.business {
  scroll-margin-top: 100px;
  margin-bottom: 82px;
  padding: clamp(26px, 5vw, 52px);
  border: 1px solid rgba(154, 108, 255, 0.48);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(20, 39, 58, 0.97), rgba(7, 24, 37, 0.94));
}

.section-heading { max-width: 820px; }
.section-heading h2,
.resources-heading h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  letter-spacing: -0.035em;
}
.section-heading > p:last-child {
  max-width: 760px;
  margin: 18px 0 0;
  color: #c0ccd7;
  font-size: 1.05rem;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
}

.benefit {
  padding: 22px;
  border-top: 1px solid rgba(85, 185, 255, 0.5);
  background: rgba(6, 19, 31, 0.46);
}
.benefit > span { color: #bca4ff; font-size: 0.78rem; font-weight: 850; }
.benefit h3 { margin: 24px 0 10px; font-size: 1.18rem; }
.benefit p { margin: 0; color: #aebdca; }

.business-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 30px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.business-cta strong { font-size: 1.08rem; }
.business-cta p { margin: 6px 0 0; color: var(--muted); }
.business-cta .button { flex: 0 0 auto; }

.product-note {
  margin: 2px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--cyan);
  background: rgba(85, 185, 255, 0.07);
  color: #b9c9d6;
  font-size: 0.9rem;
}

.resources-heading { padding-bottom: 30px; }

.notice {
  margin: 34px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(245, 173, 66, 0.48);
  border-radius: 14px;
  background: rgba(245, 173, 66, 0.08);
  color: #f8d7a3;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 8px 0 86px;
}

.card {
  min-height: 260px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(17, 37, 54, 0.96), rgba(9, 26, 40, 0.94));
  color: var(--text);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.card:hover { transform: translateY(-4px); }
.card.privacy { border-color: rgba(154, 108, 255, 0.76); }
.card.support { border-color: rgba(85, 185, 255, 0.68); }
.card.delete { border-color: rgba(48, 223, 162, 0.64); }

.card-tag {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card h2 {
  margin: 56px 0 12px;
  font-size: 1.55rem;
}

.card p { margin: 0; color: #aebdca; }
.card-cta { display: block; margin-top: 28px; font-weight: 800; }

.operator {
  margin-bottom: 86px;
  padding: 30px clamp(22px, 5vw, 48px);
  border: 1px solid rgba(85, 185, 255, 0.52);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(17, 37, 54, 0.94), rgba(9, 26, 40, 0.9));
}

.operator h2 { margin: 0 0 14px; font-size: clamp(1.5rem, 3vw, 2rem); }
.operator p:last-child { margin: 0; color: #c0ccd7; }
.operator strong { color: var(--text); }

.content-grid {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  gap: 46px;
  align-items: start;
  padding: 16px 0 90px;
}

.toc {
  position: sticky;
  top: 104px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(12, 28, 42, 0.8);
}

.toc strong {
  display: block;
  margin-bottom: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.toc a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 0.91rem;
  text-decoration: none;
}

.toc a:hover { color: var(--text); }

.article {
  min-width: 0;
  padding: 36px clamp(22px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(10, 27, 41, 0.9);
}

.article section {
  scroll-margin-top: 112px;
  padding: 12px 0 30px;
  border-bottom: 1px solid rgba(40, 64, 85, 0.7);
}

.article section:last-child { border-bottom: 0; }

.article h2 {
  margin: 14px 0 15px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.article h3 { margin: 24px 0 8px; font-size: 1.08rem; }
.article p { margin: 0 0 14px; color: #c0ccd7; }
.article li { margin: 7px 0; color: #c0ccd7; }
.article strong { color: var(--text); }

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

.data-table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.data-table th,
.data-table td {
  padding: 14px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th { background: #102536; color: var(--text); }
.data-table td { color: #b9c7d3; }

.steps {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  min-height: 54px;
  padding: 4px 0 22px 58px;
  counter-increment: steps;
}

.steps li::before {
  content: counter(steps);
  position: absolute;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(154, 108, 255, 0.74);
  border-radius: 50%;
  color: #d9c8ff;
  font-weight: 850;
}

.callout {
  margin: 20px 0;
  padding: 17px 19px;
  border-left: 3px solid var(--green);
  border-radius: 4px 14px 14px 4px;
  background: rgba(48, 223, 162, 0.07);
  color: #c5f5e4;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 18px;
  border: 1px solid rgba(154, 108, 255, 0.82);
  border-radius: 12px;
  background: rgba(154, 108, 255, 0.15);
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.button[aria-disabled="true"] {
  border-color: var(--line);
  background: #102230;
  color: var(--muted);
  cursor: not-allowed;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #05101a;
}

.footer-inner {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 15px; }
.footer-links a { color: var(--muted); text-decoration: none; }

[data-lang="en"] { display: none; }
html[lang="en"] [data-lang="cs"] { display: none; }
html[lang="en"] [data-lang="en"] { display: revert; }

@media (max-width: 850px) {
  .nav-links { display: none; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: auto; }
  .card h2 { margin-top: 32px; }
  .content-grid { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .business-cta { align-items: flex-start; flex-direction: column; }
  .toc { position: static; }
}

@media (max-width: 640px) {
  .shell { width: min(calc(100% - 24px), var(--max)); }
  .nav { min-height: 70px; }
  .brand strong { font-size: 0.92rem; }
  .brand span { display: none; }
  .hero { padding-top: 68px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .business { margin-bottom: 64px; padding: 24px 18px; border-radius: 20px; }
  .hero.compact { padding-top: 50px; }
  .article { padding: 25px 18px; border-radius: 18px; }
  .operator { margin-bottom: 64px; padding: 24px 20px; }
  .data-table { display: block; overflow-x: auto; }
  .footer-inner { align-items: flex-start; flex-direction: column; padding: 28px 0; }
}

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