@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Noto+Sans+KR:wght@300;400;500;700&family=Syne:wght@400;600;700;800&display=swap");

:root {
  --swimming-blue: #0284c7;
  --swimming-blue-dark: #0369a1;
  --soft-blue: #f0f9ff;
  --bg-white: #ffffff;
  --bg-soft: #f8fafc;
  --border: #e2e8f0;
  --text-title: #0f172a;
  --text-body: #334155;
  --text-dim: #64748b;
  --mint-point: #2dd4bf;
  --max-width: 1120px;

  /* Existing system tokens (kept) */
  --radius: 16px;
  --radius-2: 20px;
  --shadow: 0 18px 46px rgba(15, 23, 42, 0.12);
  --gutter: 20px;
  --focus: 0 0 0 3px rgba(45, 212, 191, 0.32);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--text-body);
  background: var(--bg-white);
  font-family:
    Outfit,
    "Noto Sans KR",
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  letter-spacing: -0.01em;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.hfont-en {
  font-family:
    Syne,
    ui-sans-serif,
    system-ui,
    sans-serif;
  letter-spacing: -0.02em;
}

.hfont-ko {
  font-family:
    "Noto Sans KR",
    ui-sans-serif,
    system-ui,
    sans-serif;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.muted {
  color: var(--text-dim);
}

.accent {
  color: var(--swimming-blue);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 9999;
  transform: translateY(-180%);
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 12px;
  box-shadow: var(--shadow);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: none;
  box-shadow: var(--shadow), var(--focus);
}

/* Language toggle rules */
.ko {
  display: contents;
}
.en {
  display: none;
}
html.lang-en .ko {
  display: none;
}
html.lang-en .en {
  display: contents;
}
body.lang-en .ko {
  display: none;
}
body.lang-en .en {
  display: contents;
}
body.lang-en span.ko,
body.lang-en p.ko,
body.lang-en div.ko,
body.lang-en h1.ko,
body.lang-en h2.ko,
body.lang-en h3.ko,
body.lang-en li.ko {
  display: none !important;
}
body.lang-en span.en,
body.lang-en p.en,
body.lang-en div.en,
body.lang-en h1.en,
body.lang-en h2.en,
body.lang-en h3.en,
body.lang-en li.en {
  display: block !important;
}
body.lang-en span.en {
  display: inline !important;
}

/* Tiny motion accent */
@keyframes es-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(45, 212, 191, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0);
  }
}

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid transparent;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    backdrop-filter 220ms ease;
}

/* Global hover / transition system */
.btn,
.article-card,
.hub-card,
.p-card,
.glass,
.card,
.term {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
}

.article-card:hover,
.hub-card:hover,
.p-card:hover,
.glass:hover,
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* Index hero refresh */
.hero {
  background: linear-gradient(to bottom, var(--soft-blue), var(--bg-white));
}

.hero-inner {
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: 3rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-title);
}

.hero-sub {
  color: var(--text-body);
}

.btn-row.hero-cta {
  justify-content: center;
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 2.2rem;
  }
}

/* Trust banner */
.trust-banner {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-banner .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 18px 0;
}

.stat-item {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 6px;
}

.stat-item strong {
  font-size: 2rem;
  color: var(--swimming-blue);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.stat-item span {
  font-size: 0.85rem;
  color: var(--text-dim);
}

@media (max-width: 900px) {
  .trust-banner .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Articles grid + cards (new spec) */
.grid#article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.article-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.article-card .thumb {
  height: 116px;
  padding: 0;
  border-radius: 0;
}

.article-card .a-inner {
  padding: 24px;
}

.article-card .a-title {
  margin: 12px 0 10px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-title);
}

.article-card .a-desc {
  margin: 0 0 14px 0;
  font-size: 14px;
  color: var(--text-body);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card .a-meta {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-dim);
}

@media (max-width: 640px) {
  .grid#article-grid {
    grid-template-columns: 1fr;
  }
}

/* Article reading page refresh (content unchanged) */
.article-shell {
  max-width: 720px;
}

.toc {
  display: none;
}

.article {
  max-width: 720px;
  margin-inline: auto;
}

.prose {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-body);
}

.prose h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-title);
  margin-top: 48px;
}

.prose h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-title);
}

.prose blockquote {
  border-left: 3px solid var(--swimming-blue);
  background: var(--soft-blue);
  padding: 16px 20px;
  border-radius: 8px;
}

.prose .tip {
  border-left: 3px solid var(--mint-point);
  background: #f0fdfa;
  padding: 16px 20px;
}

.end {
  font-size: 14px;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 48px;
}

/* Touch targets */
.btn,
.nav-links a,
.mobile-panel a,
.tab,
.alpha button {
  min-height: 44px;
}

.nav.is-scrolled {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.84);
  border-bottom-color: rgba(10, 22, 40, 0.1);
}

.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 240px;
}

.mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background:
    radial-gradient(90% 90% at 20% 15%, rgba(45, 212, 191, 0.95), rgba(45, 212, 191, 0) 55%),
    radial-gradient(120% 140% at 75% 80%, rgba(2, 132, 199, 1), rgba(2, 132, 199, 0) 55%),
    linear-gradient(165deg, rgba(3, 105, 161, 1), rgba(15, 23, 42, 1));
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.brand-title {
  display: grid;
  gap: 1px;
}

.brand-title strong {
  font-size: 13px;
  line-height: 1.1;
}

.brand-title span {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.1;
}

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

.nav-links a {
  font-size: 13px;
  color: rgba(10, 22, 40, 0.86);
  padding: 10px 8px;
  border-radius: 10px;
  transition: background 160ms ease;
  position: relative;
}

.nav-links a:hover {
  background: rgba(10, 22, 40, 0.06);
}

.nav-links a:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: rgba(45, 212, 191, 0.95);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(10, 22, 40, 0.12);
  background: rgba(10, 22, 40, 0.03);
  font-size: 11px;
  color: rgba(10, 22, 40, 0.74);
}

.pill.dark {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.76);
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(10, 22, 40, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}

.lang-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(10, 22, 40, 0.84);
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.lang-toggle button[aria-pressed="true"] {
  background: rgba(78, 205, 196, 0.16);
  color: rgba(10, 22, 40, 0.94);
}

.lang-toggle button:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.hamburger {
  display: none;
  border: 1px solid rgba(10, 22, 40, 0.12);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
}

.hamburger:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(10, 22, 40, 0.84);
  margin: 4px auto;
  border-radius: 2px;
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(10, 22, 40, 0.1);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.mobile-panel.is-open {
  display: block;
}

.mobile-panel .container {
  padding: 10px 0 14px 0;
}

.mobile-panel a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 6px;
  border-radius: 12px;
  font-size: 14px;
}

.mobile-panel a:hover {
  background: rgba(10, 22, 40, 0.06);
}

.mobile-panel a:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

main {
  padding-top: 64px;
}

/* Shared sections (index + others) */
.section-pad {
  padding: 64px 0;
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.12;
}

.section-head p {
  margin: 0;
  max-width: 68ch;
  color: rgba(10, 22, 40, 0.74);
  font-size: 14px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 15% 10%, rgba(78, 205, 196, 0.12), rgba(78, 205, 196, 0) 56%),
    radial-gradient(900px 520px at 85% 15%, rgba(43, 140, 196, 0.16), rgba(43, 140, 196, 0) 55%),
    radial-gradient(900px 600px at 60% 95%, rgba(27, 111, 160, 0.1), rgba(27, 111, 160, 0) 65%),
    linear-gradient(180deg, rgba(245, 247, 250, 0.95), rgba(255, 255, 255, 1));
}

.hero-inner {
  padding: 56px 0 44px 0;
  display: grid;
  gap: 22px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(10, 22, 40, 0.12);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--mint-point);
  box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.55);
  animation: es-pulse 1.6s ease-in-out infinite;
}

.soon-badge span {
  font-size: 13px;
  color: rgba(10, 22, 40, 0.88);
}

.expert-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(10, 22, 40, 0.05), rgba(43, 140, 196, 0.06));
  border: 1px solid rgba(10, 22, 40, 0.08);
  font-size: 13px;
  color: rgba(10, 22, 40, 0.88);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: start;
}

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1.02;
}

.hero-sub {
  margin: 0;
  font-size: 15px;
  color: rgba(10, 22, 40, 0.8);
  max-width: 66ch;
}

.platform-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(10, 22, 40, 0.1);
  background: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  color: rgba(10, 22, 40, 0.84);
}

.tag i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(27, 111, 160, 0.9);
}

.hero-card {
  border-radius: var(--radius-2);
  border: 1px solid rgba(10, 22, 40, 0.1);
  background:
    radial-gradient(110% 90% at 20% 20%, rgba(78, 205, 196, 0.1), rgba(78, 205, 196, 0) 55%),
    radial-gradient(100% 110% at 90% 70%, rgba(43, 140, 196, 0.12), rgba(43, 140, 196, 0) 55%),
    rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 46px rgba(10, 22, 40, 0.08);
  overflow: hidden;
}

.hero-card-inner {
  padding: 18px 18px 16px 18px;
}

.hero-card h3 {
  margin: 0 0 6px 0;
  font-size: 16px;
}

.hero-card p {
  margin: 0;
  color: rgba(10, 22, 40, 0.74);
  font-size: 13px;
}

.hero-card .line {
  height: 1px;
  background: rgba(10, 22, 40, 0.1);
  margin: 14px 0;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.hero-card li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 13px;
  color: rgba(10, 22, 40, 0.82);
}

.hero-card li .b {
  width: 18px;
  height: 18px;
  border-radius: 9px;
  background: rgba(78, 205, 196, 0.14);
  border: 1px solid rgba(78, 205, 196, 0.22);
  position: relative;
}

.hero-card li .b::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 999px;
  background: rgba(78, 205, 196, 0.92);
}

.hero-cta {
  margin-top: 18px;
}

/* Hub preview (index) */
.hub {
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(245, 247, 250, 1));
  border-top: 1px solid rgba(10, 22, 40, 0.06);
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.hub-card {
  border-radius: calc(var(--radius-2) + 2px);
  border: 1px solid rgba(10, 22, 40, 0.1);
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.hub-top {
  height: 96px;
  background:
    radial-gradient(120% 130% at 20% 20%, rgba(78, 205, 196, 0.18), rgba(78, 205, 196, 0) 60%),
    radial-gradient(120% 130% at 85% 80%, rgba(43, 140, 196, 0.22), rgba(43, 140, 196, 0) 60%),
    linear-gradient(165deg, rgba(10, 22, 40, 0.92), rgba(15, 42, 68, 0.92));
}

.hub-top.light {
  background:
    radial-gradient(120% 130% at 18% 22%, rgba(78, 205, 196, 0.16), rgba(78, 205, 196, 0) 60%),
    radial-gradient(120% 130% at 82% 78%, rgba(43, 140, 196, 0.18), rgba(43, 140, 196, 0) 60%),
    linear-gradient(180deg, rgba(245, 247, 250, 1), rgba(255, 255, 255, 1));
}

.hub-inner {
  padding: 16px 16px 16px 16px;
  display: grid;
  gap: 10px;
}

.hub-inner h3 {
  margin: 0;
  font-size: 16px;
}

.hub-inner p {
  margin: 0;
  color: rgba(10, 22, 40, 0.76);
  font-size: 13px;
}

.hub-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

/* Difference */
.diff {
  background: linear-gradient(180deg, rgba(245, 247, 250, 1), rgba(238, 243, 247, 1));
  border-top: 1px solid rgba(10, 22, 40, 0.06);
  border-bottom: 1px solid rgba(10, 22, 40, 0.06);
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.card {
  border-radius: var(--radius-2);
  border: 1px solid rgba(10, 22, 40, 0.1);
  background: rgba(255, 255, 255, 0.86);
  overflow: hidden;
}

.card-inner {
  padding: 18px 18px 16px 18px;
}

.card h3 {
  margin: 0 0 10px 0;
  font-size: 15px;
}

.card ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(10, 22, 40, 0.78);
  display: grid;
  gap: 8px;
}

.card-muted {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.75));
}

.card-featured {
  border-color: rgba(27, 111, 160, 0.35);
  background:
    radial-gradient(140% 120% at 12% 20%, rgba(78, 205, 196, 0.18), rgba(78, 205, 196, 0) 55%),
    radial-gradient(120% 140% at 88% 82%, rgba(43, 140, 196, 0.3), rgba(43, 140, 196, 0) 55%),
    linear-gradient(165deg, rgba(10, 22, 40, 0.98), rgba(15, 42, 68, 0.98));
  color: rgba(255, 255, 255, 0.92);
}

.card-featured ul {
  color: rgba(255, 255, 255, 0.84);
}

/* Features grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature {
  border-radius: var(--radius-2);
  border: 1px solid rgba(10, 22, 40, 0.1);
  background: rgba(255, 255, 255, 0.9);
  padding: 18px 18px 16px 18px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(27, 111, 160, 0.26);
  box-shadow: 0 18px 44px rgba(10, 22, 40, 0.08);
  background:
    radial-gradient(100% 90% at 20% 10%, rgba(78, 205, 196, 0.11), rgba(78, 205, 196, 0) 60%),
    rgba(255, 255, 255, 0.94);
}

.feature:focus-within {
  box-shadow: 0 18px 44px rgba(10, 22, 40, 0.08), var(--focus);
}

.feature h3 {
  margin: 0 0 10px 0;
  font-size: 16px;
  line-height: 1.2;
}

.feature p {
  margin: 0 0 10px 0;
  color: rgba(10, 22, 40, 0.76);
  font-size: 13px;
}

.ftag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(10, 22, 40, 0.1);
  background: rgba(10, 22, 40, 0.03);
  font-size: 12px;
  color: rgba(10, 22, 40, 0.78);
}

.ftag b {
  font-weight: 600;
}

/* Audience (dark) */
.audience {
  background: linear-gradient(180deg, rgba(10, 22, 40, 1), rgba(12, 28, 50, 1));
  color: rgba(255, 255, 255, 0.92);
}

.audience .section-head p {
  color: rgba(255, 255, 255, 0.72);
}

.aud-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.glass {
  border-radius: var(--radius-2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  padding: 18px 18px 16px 18px;
}

.glass h3 {
  margin: 0 0 6px 0;
  font-size: 16px;
}

.glass .sub {
  margin: 0 0 12px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.glass ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
}

/* Timeline */
.timeline {
  border-radius: var(--radius-2);
  border: 1px solid rgba(10, 22, 40, 0.1);
  background:
    radial-gradient(110% 120% at 10% 20%, rgba(78, 205, 196, 0.08), rgba(78, 205, 196, 0) 55%),
    radial-gradient(110% 120% at 90% 80%, rgba(43, 140, 196, 0.11), rgba(43, 140, 196, 0) 55%),
    rgba(255, 255, 255, 0.9);
  padding: 18px;
  overflow: hidden;
}

.t-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: start;
  position: relative;
}

.t-row::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 18px;
  height: 2px;
  background: rgba(10, 22, 40, 0.12);
}

.t-step {
  position: relative;
  padding-top: 2px;
}

.t-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: rgba(10, 22, 40, 0.14);
  border: 1px solid rgba(10, 22, 40, 0.18);
  position: relative;
  margin: 10px 0 10px 0;
}

.t-dot.active {
  background: var(--mint-point);
  border-color: rgba(45, 212, 191, 0.5);
  box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.45);
  animation: es-pulse 1.6s ease-in-out infinite;
}

.t-title {
  font-size: 14px;
  margin: 0 0 4px 0;
  color: rgba(10, 22, 40, 0.9);
}

.t-desc {
  margin: 0;
  font-size: 13px;
  color: rgba(10, 22, 40, 0.72);
}

/* CTA section */
.cta {
  background:
    radial-gradient(1200px 520px at 20% 10%, rgba(78, 205, 196, 0.18), rgba(78, 205, 196, 0) 55%),
    radial-gradient(1200px 540px at 90% 80%, rgba(43, 140, 196, 0.32), rgba(43, 140, 196, 0) 55%),
    linear-gradient(165deg, rgba(10, 22, 40, 1), rgba(27, 111, 160, 1));
  color: rgba(255, 255, 255, 0.92);
}

.cta-box {
  border-radius: calc(var(--radius-2) + 6px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  padding: 26px 18px;
  display: grid;
  gap: 12px;
}

.cta h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.12;
}

.cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  max-width: 70ch;
  font-size: 14px;
}

/* Buttons */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.btn.primary {
  background: rgba(255, 255, 255, 0.94);
  color: rgba(10, 22, 40, 0.95);
}

.btn.primary:hover {
  transform: translateY(-1px);
  background: #ffffff;
}

.btn.solid {
  background: rgba(10, 22, 40, 0.92);
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(10, 22, 40, 0.12);
}

.btn.solid:hover {
  transform: translateY(-1px);
  background: rgba(10, 22, 40, 0.98);
}

.btn.ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.24);
}

.btn.ghost:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.06);
}

.btn.ghost-dark {
  background: transparent;
  color: rgba(10, 22, 40, 0.92);
  border-color: rgba(10, 22, 40, 0.16);
}

.btn.ghost-dark:hover {
  transform: translateY(-1px);
  border-color: rgba(10, 22, 40, 0.24);
  background: rgba(10, 22, 40, 0.04);
}

.btn.disabled,
.btn[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.55;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
  will-change: transform, opacity;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:hover {
    transform: none;
  }
}

/* Footer */
footer {
  background: linear-gradient(180deg, rgba(10, 22, 40, 1), rgba(8, 18, 34, 1));
  color: rgba(255, 255, 255, 0.86);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.foot {
  padding: 28px 0 22px 0;
  display: grid;
  gap: 12px;
}

.foot-top {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.foot strong {
  font-size: 14px;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.foot-links a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  padding: 8px 8px;
  border-radius: 10px;
}

.foot-links a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
}

.foot-links a:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.foot-bottom {
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 760px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .section-pad {
    padding: 56px 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .compare {
    grid-template-columns: 1fr;
  }
  .hub-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  :root {
    --gutter: 16px;
  }
  .brand {
    min-width: 160px;
  }
  .brand-title span {
    display: none;
  }
  .btn {
    width: 100%;
  }
}

@media (max-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .aud-grid {
    grid-template-columns: 1fr;
  }
  .t-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .t-row::before {
    display: none;
  }
  .t-dot {
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------
   Articles page
-------------------- */
.page-hero {
  padding: 44px 0 18px 0;
  background:
    radial-gradient(900px 360px at 15% 0%, rgba(78, 205, 196, 0.1), rgba(78, 205, 196, 0) 60%),
    radial-gradient(900px 380px at 85% 30%, rgba(43, 140, 196, 0.14), rgba(43, 140, 196, 0) 60%),
    linear-gradient(180deg, rgba(245, 247, 250, 1), rgba(255, 255, 255, 1));
  border-bottom: 1px solid rgba(10, 22, 40, 0.06);
}

.page-hero h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
}

.page-hero p {
  margin: 10px 0 0 0;
  color: rgba(10, 22, 40, 0.74);
  max-width: 66ch;
}

.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 0 10px 0;
  -webkit-overflow-scrolling: touch;
}

.tab {
  flex: 0 0 auto;
  border: 1px solid rgba(10, 22, 40, 0.12);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 13px;
  cursor: pointer;
  transition: background 160ms ease;
}

.tab:hover {
  background: rgba(10, 22, 40, 0.04);
}

.tab[aria-pressed="true"] {
  border-color: rgba(78, 205, 196, 0.55);
  background: rgba(78, 205, 196, 0.12);
}

.tab:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px 0 34px 0;
}

.article-card {
  border-radius: var(--radius-2);
  border: 1px solid rgba(10, 22, 40, 0.1);
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
  display: grid;
  grid-template-rows: 120px 1fr;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(27, 111, 160, 0.22);
  box-shadow: 0 18px 44px rgba(10, 22, 40, 0.08);
}

.thumb {
  position: relative;
  background: linear-gradient(165deg, rgba(10, 22, 40, 0.92), rgba(15, 42, 68, 0.92));
}

.thumb.strokes {
  background:
    radial-gradient(120% 140% at 20% 20%, rgba(78, 205, 196, 0.22), rgba(78, 205, 196, 0) 60%),
    linear-gradient(165deg, rgba(10, 22, 40, 0.96), rgba(27, 111, 160, 0.9));
}

.thumb.training {
  background:
    radial-gradient(120% 140% at 80% 30%, rgba(43, 140, 196, 0.28), rgba(43, 140, 196, 0) 60%),
    linear-gradient(165deg, rgba(10, 22, 40, 0.96), rgba(15, 42, 68, 0.92));
}

.thumb.coaching {
  background:
    radial-gradient(120% 140% at 25% 70%, rgba(78, 205, 196, 0.18), rgba(78, 205, 196, 0) 60%),
    linear-gradient(165deg, rgba(10, 22, 40, 0.96), rgba(15, 42, 68, 0.92));
}

.thumb.competition {
  background:
    radial-gradient(120% 140% at 70% 35%, rgba(43, 140, 196, 0.22), rgba(43, 140, 196, 0) 60%),
    linear-gradient(165deg, rgba(10, 22, 40, 0.96), rgba(27, 111, 160, 0.9));
}

.thumb.terms {
  background:
    radial-gradient(120% 140% at 30% 30%, rgba(78, 205, 196, 0.22), rgba(78, 205, 196, 0) 60%),
    radial-gradient(120% 140% at 80% 80%, rgba(43, 140, 196, 0.18), rgba(43, 140, 196, 0) 60%),
    linear-gradient(165deg, rgba(10, 22, 40, 0.96), rgba(15, 42, 68, 0.92));
}

.thumb.beginners {
  background:
    radial-gradient(120% 140% at 20% 30%, rgba(78, 205, 196, 0.16), rgba(78, 205, 196, 0) 60%),
    linear-gradient(165deg, rgba(10, 22, 40, 0.96), rgba(15, 42, 68, 0.92));
}

.thumb .chip {
  position: absolute;
  left: 12px;
  bottom: 12px;
}

.a-inner {
  padding: 14px 14px 14px 14px;
  display: grid;
  gap: 8px;
}

.a-title {
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
}

.a-desc {
  margin: 0;
  color: rgba(10, 22, 40, 0.74);
  font-size: 13px;
}

.a-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: rgba(10, 22, 40, 0.62);
  font-size: 12px;
}

.mini-cta {
  border-top: 1px solid rgba(10, 22, 40, 0.06);
  background: linear-gradient(180deg, rgba(245, 247, 250, 1), rgba(255, 255, 255, 1));
  padding: 26px 0;
}

.mini-cta-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.mini-cta p {
  margin: 0;
  color: rgba(10, 22, 40, 0.74);
  max-width: 70ch;
}

@media (max-width: 960px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------
   Article page
-------------------- */
.article-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
  padding: 34px 0 54px 0;
}

.toc {
  position: sticky;
  top: 86px;
  border-radius: var(--radius-2);
  border: 1px solid rgba(10, 22, 40, 0.1);
  background: rgba(255, 255, 255, 0.86);
  padding: 14px;
}

.toc h3 {
  margin: 0 0 10px 0;
  font-size: 13px;
  color: rgba(10, 22, 40, 0.82);
}

.toc a {
  display: block;
  padding: 8px 8px;
  border-radius: 10px;
  font-size: 13px;
  color: rgba(10, 22, 40, 0.78);
}

.toc a:hover {
  background: rgba(10, 22, 40, 0.04);
}

.toc a:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.article {
  max-width: 720px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.divider {
  height: 1px;
  background: rgba(10, 22, 40, 0.1);
  margin: 18px 0;
}

.article h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.12;
}

.summary {
  margin: 12px 0 0 0;
  color: rgba(10, 22, 40, 0.72);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  color: rgba(10, 22, 40, 0.62);
  font-size: 13px;
}

.prose {
  font-size: 17px;
  line-height: 1.85;
  padding: 10px 0;
}

.prose h2 {
  margin: 28px 0 10px 0;
  font-size: 22px;
  line-height: 1.2;
}

.prose h3 {
  margin: 18px 0 8px 0;
  font-size: 18px;
  line-height: 1.25;
}

.prose p {
  margin: 0 0 14px 0;
  color: rgba(10, 22, 40, 0.86);
}

.prose ul,
.prose ol {
  margin: 0 0 14px 0;
  padding-left: 20px;
  color: rgba(10, 22, 40, 0.82);
}

.prose li {
  margin: 6px 0;
}

.prose blockquote {
  margin: 16px 0;
  padding: 12px 14px;
  border-left: 3px solid rgba(43, 140, 196, 0.7);
  background: rgba(43, 140, 196, 0.06);
  border-radius: 14px;
  color: rgba(10, 22, 40, 0.82);
}

.tip {
  margin: 16px 0;
  padding: 12px 14px;
  border-left: 3px solid rgba(78, 205, 196, 0.75);
  background: rgba(78, 205, 196, 0.1);
  border-radius: 14px;
  color: rgba(10, 22, 40, 0.86);
}

.ph {
  height: 220px;
  border-radius: var(--radius-2);
  border: 1px solid rgba(10, 22, 40, 0.1);
  background: linear-gradient(180deg, rgba(245, 247, 250, 1), rgba(255, 255, 255, 1));
  display: grid;
  place-items: center;
  color: rgba(10, 22, 40, 0.6);
  font-size: 13px;
  margin: 18px 0;
}

.inline-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.92em;
  padding: 0.12em 0.38em;
  border-radius: 8px;
  border: 1px solid rgba(10, 22, 40, 0.12);
  background: rgba(10, 22, 40, 0.03);
}

.end {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}

.rec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.rec {
  border-radius: var(--radius-2);
  border: 1px solid rgba(10, 22, 40, 0.1);
  background: rgba(255, 255, 255, 0.9);
  padding: 14px;
  display: grid;
  gap: 6px;
}

.rec strong {
  font-size: 13px;
}

.rec span {
  font-size: 12px;
  color: rgba(10, 22, 40, 0.7);
}

.rec:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

@media (max-width: 980px) {
  .article-shell {
    grid-template-columns: 1fr;
  }
  .toc {
    display: none;
  }
}

@media (max-width: 720px) {
  .rec-grid {
    grid-template-columns: 1fr;
  }
  .article h1 {
    font-size: 30px;
  }
}

/* --------------------
   Glossary page
-------------------- */
.search-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 14px 0 12px 0;
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(10, 22, 40, 0.12);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  padding: 10px 12px;
}

.search input {
  border: 0;
  outline: none;
  background: transparent;
  font-size: 14px;
  width: 100%;
  font-family: inherit;
}

.search:focus-within {
  box-shadow: var(--focus);
  border-color: rgba(78, 205, 196, 0.55);
}

.alpha {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.alpha button {
  flex: 0 0 auto;
  border: 1px solid rgba(10, 22, 40, 0.12);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 13px;
  cursor: pointer;
  transition: background 160ms ease;
}

.alpha button:hover {
  background: rgba(10, 22, 40, 0.04);
}

.alpha button[aria-pressed="true"] {
  border-color: rgba(78, 205, 196, 0.55);
  background: rgba(78, 205, 196, 0.12);
}

.alpha button:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.list {
  padding: 18px 0 46px 0;
  display: grid;
  gap: 10px;
}

.term {
  border-radius: var(--radius-2);
  border: 1px solid rgba(10, 22, 40, 0.1);
  background: rgba(255, 255, 255, 0.92);
  overflow: hidden;
}

.term button {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 14px 14px;
  display: grid;
  gap: 6px;
  text-align: left;
  cursor: pointer;
}

.term button:hover {
  background: rgba(10, 22, 40, 0.03);
}

.term button:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.t-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.t-title {
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
}

.t-mini {
  color: rgba(10, 22, 40, 0.6);
  font-size: 12px;
  white-space: nowrap;
}

.t-one {
  margin: 0;
  color: rgba(10, 22, 40, 0.74);
  font-size: 13px;
}

.panel {
  padding: 0 14px 14px 14px;
  color: rgba(10, 22, 40, 0.82);
  font-size: 14px;
  line-height: 1.7;
}

.panel .tags {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* --------------------
   Courses page
-------------------- */
.course-hero {
  padding: 46px 0 16px 0;
  background:
    radial-gradient(980px 420px at 18% 10%, rgba(78, 205, 196, 0.1), rgba(78, 205, 196, 0) 60%),
    radial-gradient(980px 420px at 82% 40%, rgba(43, 140, 196, 0.16), rgba(43, 140, 196, 0) 60%),
    linear-gradient(165deg, rgba(10, 22, 40, 0.98), rgba(15, 42, 68, 0.98));
  color: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.course-hero h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
}

.course-hero p {
  margin: 10px 0 0 0;
  color: rgba(255, 255, 255, 0.74);
  max-width: 68ch;
}

.coming {
  margin-top: 16px;
  font-size: 44px;
  letter-spacing: -0.03em;
  line-height: 1.02;
  opacity: 0.92;
}

.preview {
  padding: 34px 0 54px 0;
  background: linear-gradient(180deg, rgba(245, 247, 250, 1), rgba(255, 255, 255, 1));
}

.p-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.p-card {
  border-radius: var(--radius-2);
  border: 1px solid rgba(10, 22, 40, 0.1);
  background: rgba(255, 255, 255, 0.92);
  padding: 18px 18px 16px 18px;
  opacity: 0.85;
  filter: saturate(0.9);
}

.p-card h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
  line-height: 1.2;
}

.p-card p {
  margin: 0;
  color: rgba(10, 22, 40, 0.74);
  font-size: 13px;
}

.notify-band {
  border-top: 1px solid rgba(10, 22, 40, 0.06);
  background: rgba(255, 255, 255, 1);
  padding: 26px 0;
}

.notify-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.notify-inner p {
  margin: 0;
  color: rgba(10, 22, 40, 0.74);
  max-width: 70ch;
}

@media (max-width: 960px) {
  .p-grid {
    grid-template-columns: 1fr;
  }
  .coming {
    font-size: 38px;
  }
}

