* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg-a: #f4fbfb;
  --bg-b: #f8f7ff;
  --ink: #08111c;
  --muted: rgba(8, 17, 28, 0.66);
  --soft: rgba(8, 17, 28, 0.46);
  --line: rgba(8, 17, 28, 0.1);
  --card: rgba(255, 255, 255, 0.78);
  --card-strong: rgba(255, 255, 255, 0.92);
  --accent: #0b8f93;
  --accent-dark: #066c70;
  --shadow: 0 24px 70px rgba(10, 28, 54, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(139, 228, 225, 0.28), transparent 42%),
    radial-gradient(circle at top right, rgba(191, 180, 255, 0.2), transparent 35%),
    linear-gradient(180deg, var(--bg-a), var(--bg-b));
}

a {
  color: var(--accent);
  text-decoration: none;
}

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

.shell {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 16px 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 40px rgba(8, 17, 28, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, #0b8f93, #5ecdcf);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.toplinks {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  font-weight: 600;
}

.hero {
  padding: 24px 0 28px;
}

.hero-card,
.card,
.article-card,
.faq-card,
.cta-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 38px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(11, 143, 147, 0.08);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.04em;
  color: var(--ink);
}

h1 {
  margin-top: 16px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

h3 {
  font-size: 1.1rem;
}

.hero p,
.lede,
.article-body p,
.faq-card p,
.card p,
.cta-card p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 16px;
}

.hero-actions,
.link-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.btn {
  color: #fff;
  background: linear-gradient(135deg, #0b8f93, #14a8ac);
  box-shadow: 0 12px 24px rgba(11, 143, 147, 0.18);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(8, 17, 28, 0.08);
}

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

.grid {
  display: grid;
  gap: 20px;
}

.faq-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.post-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.faq-card,
.card,
.article-card,
.cta-card {
  padding: 24px;
}

.section {
  padding: 18px 0 12px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.toc {
  padding: 18px 20px;
  margin: 20px 0 26px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(8, 17, 28, 0.08);
}

.toc ul,
.article-body ul {
  margin: 10px 0 0 20px;
  padding: 0;
  color: var(--muted);
  line-height: 1.8;
}

.article-wrap {
  padding: 30px 0 52px;
}

.article-card {
  padding: 34px;
}

.article-body h2 {
  margin-top: 30px;
}

.article-body h3 {
  margin-top: 22px;
}

.article-body p + p {
  margin-top: 14px;
}

.divider {
  height: 1px;
  margin: 28px 0;
  background: linear-gradient(90deg, transparent, rgba(8, 17, 28, 0.12), transparent);
}

.footer {
  padding: 36px 0 60px;
  color: var(--soft);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

code {
  padding: 2px 6px;
  border-radius: 7px;
  background: rgba(8, 17, 28, 0.06);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 22px, 100%);
  }

  .topbar-inner,
  .hero-card,
  .article-card,
  .card,
  .faq-card,
  .cta-card {
    border-radius: 22px;
  }

  .hero-card,
  .article-card {
    padding: 24px;
  }

  .toplinks {
    gap: 12px;
    font-size: 13px;
  }
}
