:root {
  --bg: #071118;
  --bg-soft: #0d1e29;
  --card: #0f2533;
  --text: #ecf5ff;
  --muted: #9eb4c6;
  --accent: #1dd4c4;
  --accent-2: #ffcb47;
  --line: #1c3a4d;
  --max: 860px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

body {
  background-image:
    radial-gradient(900px 500px at 110% -10%, #1c4f77 0%, transparent 58%),
    radial-gradient(700px 420px at -10% 0%, #164c48 0%, transparent 56%),
    linear-gradient(180deg, #071118 0%, #091720 100%);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(7, 17, 24, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  object-fit: cover;
  display: block;
}

.logo-text {
  font-size: clamp(20px, 3.4vw, 28px);
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(110deg, var(--accent), #7cf4ad 50%, var(--accent-2));
  color: #04131f;
  box-shadow: 0 10px 32px rgba(124, 244, 173, 0.24);
  padding: 12px 20px;
}

.btn-secondary {
  border-color: var(--line);
  color: var(--text);
  padding: 12px 20px;
  background: rgba(15, 37, 51, 0.62);
}

.crumbs {
  margin: 34px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.crumbs a {
  color: #9ce9df;
  text-decoration: none;
}

.crumbs a:hover { text-decoration: underline; }

article.post { padding: 18px 0 30px; }

.post h1 {
  margin: 10px 0 0;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.post .lead {
  color: var(--muted);
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.55;
  margin: 18px 0 8px;
}

.post h2 {
  margin: 42px 0 10px;
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.post h3 {
  margin: 26px 0 8px;
  font-size: 20px;
}

.post p, .post li {
  color: #c6d8e7;
  font-size: 17px;
  line-height: 1.65;
}

.post ul, .post ol { padding-left: 22px; }
.post li + li { margin-top: 8px; }

.post a { color: #9ce9df; }

.post strong { color: var(--text); }

.callout {
  margin: 26px 0;
  border: 1px solid #225369;
  border-radius: 16px;
  background: rgba(12, 37, 54, 0.6);
  padding: 16px 18px;
  color: #b9d6e6;
  font-size: 16px;
  line-height: 1.55;
}

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

.steps > li {
  counter-increment: step;
  position: relative;
  padding: 18px 18px 18px 64px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(14, 35, 48, 0.86), rgba(9, 24, 34, 0.96));
  margin: 12px 0;
}

.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #04131f;
  background: linear-gradient(110deg, var(--accent), #7cf4ad);
}

.steps h3 { margin: 0 0 6px; }
.steps p { margin: 0; }

table.compare {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 16px;
}

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

table.compare th {
  background: rgba(14, 36, 49, 0.85);
  color: var(--text);
}

table.compare td { color: #c6d8e7; background: rgba(9, 24, 34, 0.6); }

.table-wrap { overflow-x: auto; }

.faq {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(14, 35, 48, 0.86), rgba(9, 24, 34, 0.96));
  padding: 6px 18px;
  margin: 18px 0;
}

.faq h3 { margin: 16px 0 6px; }
.faq p { margin: 0 0 16px; }

.final {
  margin: 40px 0 70px;
  border-radius: 24px;
  border: 1px solid #2a5a70;
  padding: 26px;
  background: linear-gradient(125deg, rgba(15, 39, 52, 0.9), rgba(10, 24, 34, 0.92));
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.final h2 { margin: 0; font-size: clamp(22px, 3.6vw, 34px); }
.final p { margin: 8px 0 0; color: var(--muted); }

.more-guides {
  margin: 0 0 60px;
}

.more-guides h2 { font-size: 22px; margin: 0 0 12px; }

.more-guides a {
  display: block;
  color: #9ce9df;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.more-guides a:hover { text-decoration: underline; }

.foot {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0 34px;
  color: #8ea4b8;
  font-size: 14px;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 10px;
}

.foot-link {
  color: #9ce9df;
  font-size: 14px;
  text-decoration: none;
}

.foot-link:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .topbar-inner, .shell { width: min(var(--max), calc(100% - 24px)); }
  .topbar .btn { padding: 10px 14px; font-size: 14px; }
}
