:root {
  --tka-blue: #0b74de;
  --tka-ink: #0f172a;
  --tka-muted: #64748b;
  --tka-line: #e2e8f0;
  --tka-soft: #f8fafc;
  --tka-green: #16a34a;
}

body {
  color: var(--tka-ink);
  background: #ffffff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding-top: 0 !important;
}

.tka-tutorial-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--tka-line);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(14px);
}

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

.tka-tutorial-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 18px;
}

.tka-tutorial-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  color: var(--tka-ink);
  text-decoration: none;
  font-size: 17px;
  font-weight: 900;
  white-space: nowrap;
}

.tka-tutorial-brand:hover {
  color: var(--tka-ink);
  text-decoration: none;
}

.tka-tutorial-brand img {
  height: 38px;
  width: auto;
}

.tka-tutorial-brand span {
  display: grid;
  line-height: 1.05;
}

.tka-tutorial-brand small {
  color: var(--tka-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.tka-tutorial-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tka-tutorial-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 11px;
  border-radius: 999px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}

.tka-tutorial-links a:hover {
  color: var(--tka-blue);
  background: #eff6ff;
  text-decoration: none;
}

.tka-tutorial-cta {
  background: var(--tka-blue) !important;
  color: #ffffff !important;
  min-width: auto !important;
  min-height: 40px !important;
  height: auto !important;
  width: auto !important;
  padding: 9px 16px !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 20px rgba(11, 116, 222, 0.18);
}

.tka-tutorial-main {
  padding-top: 18px;
}

.tka-tutorial-header-spacer {
  display: none;
}

.tka-page-crumb {
  margin-top: 0 !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
}

.tka-tutorial-hero {
  background: linear-gradient(135deg, #eef6ff 0%, #ffffff 55%, #ecfdf5 100%);
  border-bottom: 1px solid var(--tka-line);
  padding: 64px 0 46px;
}

.tka-tutorial-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 38px;
  align-items: center;
}

.tka-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #dbeafe;
  color: #07559f;
  font-size: 13px;
  font-weight: 800;
}

.tka-tutorial-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 900;
}

.tka-tutorial-hero p {
  max-width: 660px;
  color: #475569;
  font-size: 18px;
  line-height: 1.75;
}

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

.tka-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
}

.tka-button:hover {
  text-decoration: none;
}

.tka-button-primary {
  background: var(--tka-blue);
  color: #ffffff;
}

.tka-button-secondary {
  background: #ffffff;
  color: var(--tka-ink);
  border-color: var(--tka-line);
}

.tka-hero-card {
  background: #ffffff;
  border: 1px solid var(--tka-line);
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.09);
}

.tka-hero-card h2 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 900;
}

.tka-topic-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tka-topic-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid var(--tka-line);
  border-radius: 8px;
  color: var(--tka-ink);
  font-weight: 800;
  text-decoration: none;
}

.tka-topic-pill:hover {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: var(--tka-blue);
  text-decoration: none;
}

.tka-section {
  padding: 54px 0;
}

.tka-section h2 {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 900;
}

.tka-section-lead {
  margin: 0 0 28px;
  color: var(--tka-muted);
  font-size: 17px;
}

.tka-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tka-tutorial-card {
  display: block;
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--tka-line);
  border-radius: 12px;
  background: #ffffff;
  color: var(--tka-ink);
  text-decoration: none;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
}

.tka-tutorial-card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  color: var(--tka-ink);
  text-decoration: none;
}

.tka-tutorial-card strong {
  display: block;
  margin: 14px 0 8px;
  font-size: 20px;
}

.tka-tutorial-card span {
  color: var(--tka-muted);
  line-height: 1.65;
}

.tka-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #eff6ff;
  color: var(--tka-blue);
  font-weight: 900;
}

.tka-library-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 76px;
  background:
    radial-gradient(circle at 12% 18%, rgba(11, 116, 222, 0.16), transparent 28%),
    radial-gradient(circle at 86% 28%, rgba(22, 163, 74, 0.14), transparent 30%),
    linear-gradient(135deg, #f8fbff 0%, #ffffff 48%, #f3fbf7 100%);
  border-bottom: 1px solid var(--tka-line);
}

.tka-library-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 85%);
}

.tka-library-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .78fr);
  gap: 46px;
  align-items: center;
}

.tka-library-copy h1 {
  max-width: 820px;
  margin: 0 0 18px;
  color: #0b1220;
  font-size: clamp(42px, 5.2vw, 76px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: 0;
}

.tka-library-copy p {
  max-width: 720px;
  margin: 0;
  color: #475569;
  font-size: 19px;
  line-height: 1.75;
}

.tka-library-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.tka-library-stats div {
  min-width: 150px;
  padding: 14px 16px;
  border: 1px solid rgba(148, 163, 184, .26);
  border-radius: 12px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
}

.tka-library-stats strong,
.tka-library-stats span {
  display: block;
}

.tka-library-stats strong {
  color: #0b74de;
  font-size: 24px;
  font-weight: 900;
}

.tka-library-stats span {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.tka-quick-panel {
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .10);
  padding: 24px;
  backdrop-filter: blur(18px);
}

.tka-panel-heading {
  margin-bottom: 18px;
}

.tka-panel-heading span,
.tka-panel-heading small {
  display: block;
}

.tka-panel-heading span {
  color: #064d87;
  font-size: 24px;
  font-weight: 900;
}

.tka-panel-heading small {
  margin-top: 4px;
  color: #64748b;
  font-weight: 700;
}

.tka-quick-grid {
  display: grid;
  gap: 10px;
}

.tka-quick-link {
  display: grid;
  gap: 4px;
  padding: 15px 16px;
  border: 1px solid var(--tka-line);
  border-radius: 12px;
  background: #ffffff;
  color: var(--tka-ink);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.tka-quick-link:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  box-shadow: 0 14px 32px rgba(15, 23, 42, .08);
  color: var(--tka-ink);
  text-decoration: none;
}

.tka-quick-link strong {
  font-size: 17px;
  font-weight: 900;
}

.tka-quick-link span {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.tka-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.tka-section-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: #0b74de;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tka-inline-action {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--tka-line);
  border-radius: 999px;
  color: #0b74de;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.tka-inline-action:hover {
  background: #eff6ff;
  color: #07559f;
  text-decoration: none;
}

.tka-track-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tka-track-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--tka-line);
  border-radius: 16px;
  background: #ffffff;
  color: var(--tka-ink);
  text-decoration: none;
  box-shadow: 0 16px 42px rgba(15, 23, 42, .06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.tka-track-card::after {
  content: "";
  position: absolute;
  inset: auto -34px -44px auto;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: var(--track-soft, #eff6ff);
}

.tka-track-card:hover {
  transform: translateY(-4px);
  border-color: var(--track-border, #bfdbfe);
  color: var(--tka-ink);
  text-decoration: none;
  box-shadow: 0 24px 56px rgba(15, 23, 42, .10);
}

.tka-track-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--track-soft, #eff6ff);
  color: var(--track-ink, #0b74de);
  font-weight: 900;
}

.tka-track-card strong {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 900;
}

.tka-track-desc {
  position: relative;
  z-index: 1;
  color: #64748b;
  line-height: 1.65;
}

.tka-track-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
}

.tka-track-meta em {
  padding: 7px 10px;
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.tka-track-blue { --track-soft: #eff6ff; --track-ink: #0b74de; --track-border: #bfdbfe; }
.tka-track-green { --track-soft: #ecfdf5; --track-ink: #118247; --track-border: #bbf7d0; }
.tka-track-cyan { --track-soft: #ecfeff; --track-ink: #0e7490; --track-border: #a5f3fc; }
.tka-track-slate { --track-soft: #f1f5f9; --track-ink: #475569; --track-border: #cbd5e1; }
.tka-track-red { --track-soft: #fff1f2; --track-ink: #be123c; --track-border: #fecdd3; }

.tka-study-map {
  padding: 58px 0;
  background: #0b1220;
  color: #ffffff;
}

.tka-study-map-grid {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  gap: 42px;
  align-items: start;
}

.tka-study-map h2,
.tka-course-bridge h2,
.tka-interview-band h2 {
  margin: 0 0 12px;
  font-size: 34px;
  font-weight: 900;
}

.tka-study-map p {
  color: #cbd5e1;
  line-height: 1.75;
}

.tka-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.tka-steps div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .055);
}

.tka-steps span {
  display: inline-flex;
  margin-bottom: 16px;
  color: #93c5fd;
  font-weight: 900;
}

.tka-steps strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}

.tka-steps p {
  margin: 0;
  font-size: 14px;
}

.tka-interview-band {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
  gap: 30px;
  align-items: center;
  padding: 34px;
  border: 1px solid #bfdbfe;
  border-radius: 18px;
  background: linear-gradient(135deg, #eff6ff, #ffffff);
}

.tka-interview-band p {
  margin: 0;
  color: #64748b;
}

.tka-interview-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tka-interview-links a {
  padding: 15px 16px;
  border: 1px solid var(--tka-line);
  border-radius: 12px;
  background: #ffffff;
  color: var(--tka-ink);
  font-weight: 900;
  text-decoration: none;
}

.tka-interview-links a:hover {
  color: #0b74de;
  border-color: #bfdbfe;
  text-decoration: none;
}

.tka-course-bridge {
  padding: 18px 0 58px;
}

.tka-course-bridge-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid var(--tka-line);
}

.tka-course-bridge p {
  max-width: 680px;
  margin: 0;
  color: #64748b;
}

.tka-reading-cta {
  margin: 34px auto;
  padding: 24px;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.tka-reading-cta h2,
.tka-reading-cta h3 {
  margin-top: 0;
  font-weight: 900;
}

.tka-site-footer {
  margin-top: 42px;
  background: #08111f;
  color: #dbeafe;
  padding: 42px 0 20px;
}

.tka-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 26px;
}

.tka-site-footer h3 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
}

.tka-site-footer a {
  display: block;
  margin: 9px 0;
  color: #bfdbfe;
  text-decoration: none;
}

.tka-site-footer a:hover {
  color: #ffffff;
}

.tka-footer-bottom {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-size: 14px;
}

.card-header {
  letter-spacing: 0;
}

.leftBarList a {
  line-height: 1.45;
}

@media (max-width: 991px) {
  .tka-tutorial-nav {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    min-height: auto;
    padding: 12px 0;
  }

  .tka-tutorial-links {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .tka-tutorial-hero-grid,
  .tka-library-hero-grid,
  .tka-card-grid,
  .tka-track-grid,
  .tka-study-map-grid,
  .tka-steps,
  .tka-interview-band,
  .tka-footer-grid {
    grid-template-columns: 1fr;
  }

  .tka-section-heading,
  .tka-course-bridge-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .tka-topic-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .tka-tutorial-shell {
    width: min(100% - 20px, 1180px);
  }

  .tka-tutorial-hero {
    padding: 42px 0 34px;
  }

  .tka-tutorial-links a {
    padding: 8px 10px;
  }

  .tka-tutorial-brand img {
    height: 34px;
  }

  .tka-tutorial-brand span {
    font-size: 15px;
  }

  .tka-tutorial-brand small {
    display: none;
  }

  .tka-library-hero {
    padding: 48px 0 44px;
  }

  .tka-library-copy h1 {
    font-size: 40px;
  }

  .tka-library-copy p {
    font-size: 16px;
  }

  .tka-library-stats,
  .tka-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .tka-library-stats div,
  .tka-button {
    width: 100%;
  }

  .tka-interview-links {
    grid-template-columns: 1fr;
  }
}

.tka-hub-hero {
  padding: 58px 0;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 60%, #ecfdf5 100%);
  border-bottom: 1px solid var(--tka-line);
}

.tka-hub-hero h1 {
  max-width: 860px;
  margin: 0 0 14px;
  color: #0b1220;
  font-size: clamp(38px, 4.8vw, 68px);
  font-weight: 900;
  line-height: 1;
}

.tka-hub-hero p {
  max-width: 760px;
  color: #475569;
  font-size: 18px;
  line-height: 1.75;
}

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

.tka-hub-link {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--tka-line);
  border-radius: 14px;
  background: #fff;
  color: var(--tka-ink);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .045);
}

.tka-hub-link:hover {
  border-color: #bfdbfe;
  color: var(--tka-ink);
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .075);
}

.tka-hub-link strong {
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
}

.tka-hub-link span {
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.tka-local-seo-band {
  padding: 46px 0 58px;
}

.tka-local-seo-band .tka-tutorial-shell {
  padding: 30px;
  border: 1px solid #bfdbfe;
  border-radius: 18px;
  background: #eff6ff;
}

.tka-local-seo-band h2 {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 900;
}

.tka-local-seo-band p {
  max-width: 780px;
  color: #475569;
  line-height: 1.7;
}

@media (max-width: 991px) {
  .tka-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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