*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body.tk-home {
  font-family: var(--tk-font);
  color: var(--tk-dark);
  background: radial-gradient(var(--tk-dot) 1px, transparent 1px);
  background-size: 28px 28px;
  background-color: var(--tk-light);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

/* Navbar — soft slate, a step darker than page ground */
.tk-navbar {
  background: var(--tk-navbar-bg, rgba(226, 232, 240, 0.94));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset;
  padding: 0.45rem 0;
  z-index: 1040;
  color: var(--tn-ink, #0f172a);
}

.tk-navbar > .container {
  position: relative;
}

.tk-navbar .navbar-brand {
  display: inline-flex;
  align-items: center;
  color: var(--tn-ink, #0f172a);
  text-decoration: none;
}

.tk-navbar .navbar-brand:hover {
  color: var(--tn-ink, #0f172a);
}

.tk-navbar .navbar-brand .tk-brand-lockup__logo {
  height: 42px;
}

.tk-logo {
  height: 42px;
  width: auto;
  display: block;
}

.tk-brand-text .tk-fi {
  color: var(--tk-brand-green);
}

.tk-brand-text .tk-se {
  color: var(--tk-brand-gold);
}

.tk-navbar .navbar-nav .nav-item {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
}

.tk-navbar .nav-link {
  color: var(--tn-ink-soft, #1e293b) !important;
  font-weight: 550;
  padding: 0.55rem 0.8rem !important;
  border-radius: 999px;
  position: relative;
  z-index: 1;
  display: inline-block;
  pointer-events: auto;
}

.tk-navbar .nav-link:hover,
.tk-navbar .nav-link.active {
  color: var(--tn-ink, #0f172a) !important;
  background: rgba(15, 23, 42, 0.06);
}

/* Keep hash links from stealing clicks on neighbouring items in RTL. */
html[dir="rtl"] .tk-navbar .navbar-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tk-navbar .navbar-toggler {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1.5px solid rgba(15, 23, 42, 0.28);
  border-radius: 0.7rem;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.1);
}

.tk-navbar .navbar-toggler:focus-visible {
  outline: none;
  box-shadow: var(--tn-focus-ring, 0 0 0 3px rgba(0, 122, 255, 0.35));
}

.tk-navbar .navbar-toggler-icon {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  filter: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  /* Three clear ink bars */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230f172a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.6' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  transition: background-image 120ms ease, transform 120ms ease;
}

.tk-navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  /* Clear X when menu is open */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230f172a' stroke-linecap='round' stroke-width='2.6' d='M8 8l14 14M22 8L8 22'/%3e%3c/svg%3e");
}

.tk-navbar .tn-btn--ghost,
.tk-navbar .tn-btn--on-dark {
  color: var(--tn-ink, #0f172a) !important;
  border-color: rgba(15, 23, 42, 0.18) !important;
  background: rgba(255, 255, 255, 0.55) !important;
}

.tk-navbar .tn-btn--ghost:hover:not(:disabled),
.tk-navbar .tn-btn--on-dark:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.9) !important;
  color: var(--tn-ink, #0f172a) !important;
  border-color: rgba(15, 23, 42, 0.28) !important;
}

.btn-tk-ghost,
.btn-tk-solid {
  border-radius: 999px;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
}

.btn-tk-ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
}

.btn-tk-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-tk-solid {
  background: var(--tk-gradient);
  border: 0;
  color: #fff;
}

.btn-tk-solid:hover {
  color: #fff;
  filter: brightness(1.05);
}

/* Hero */
.hero-section {
  background: var(--tk-gradient-hero);
  color: #fff;
  padding: 9rem 0 8rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 4rem;
  border-radius: 0 0 40% 40% / 0 0 90px 90px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.35;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 300;
  max-width: 720px;
  margin: 1.2rem auto 2rem;
  opacity: 0.95;
  animation: fadeInUp 0.8s ease-out 0.15s both;
}

.hero-section *,
.parallax-content * {
  color: #fff;
}

.car-animation {
  position: absolute;
  bottom: -24px;
  left: -100px;
  font-size: 58px;
  animation: driveCar 16s linear infinite;
  z-index: 2;
}

.road-sign {
  position: absolute;
  z-index: 1;
  opacity: 0.85;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.15));
}

.road-sign-1 {
  top: 14%;
  right: 5%;
  width: 88px;
  animation: float 7s ease-in-out infinite;
}

.road-sign-2 {
  bottom: 16%;
  left: 6%;
  width: 70px;
  animation: float 8s ease-in-out infinite 1s;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes driveCar {
  from { transform: translate3d(-160px, 0, 0); }
  to { transform: translate3d(calc(100vw + 160px), 0, 0); }
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -12px, 0); }
}

.btn-hero {
  padding: 0.95rem 2.4rem;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

.btn-dark-custom {
  background: var(--tk-dark);
  color: var(--tk-white);
  border: 0;
}

.btn-dark-custom:hover {
  background: var(--tk-dark-hover);
  color: var(--tk-white);
}

.btn-primary-gradient,
.btn-danger-custom {
  border: 0;
  color: #fff;
}

.btn-primary-gradient {
  background: var(--tk-gradient);
  color: #fff;
}

.btn-danger-custom {
  background: var(--tk-cta-red);
}

.btn-shop {
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
}

/* Cards & products */
.card-product {
  border: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
}

.card-product:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
}

.card-product .card-header {
  background: var(--tk-gradient);
  color: #fff;
  border: 0;
}

.card-product .card-img-container {
  height: 140px;
  overflow: hidden;
  background: var(--tk-surface-tint);
}

.card-product .card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.price-tag {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--tk-primary);
}

.features-list li {
  margin-bottom: 0.4rem;
}

.features-list i {
  color: var(--tk-success);
  margin-right: 0.35rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title {
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  height: 5px;
  width: 55%;
  margin: 0.5rem auto 0;
  border-radius: 6px;
  background: var(--tk-gradient);
}

.stats-container {
  background: #fff;
  border-radius: 20px;
  padding: 2.2rem 1.5rem;
  margin-top: -5rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
  position: relative;
  z-index: 8;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  background: var(--tk-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  color: var(--tk-muted);
  font-weight: 500;
  margin-top: 0.4rem;
}

.countdown-box {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.5rem;
  color: var(--tk-dark);
  text-align: center;
  margin-top: -2rem;
  margin-bottom: 2rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
  position: relative;
  z-index: 6;
}

.countdown-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--tk-countdown);
  margin: 0;
}

.countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tk-muted);
}

.vehicle-types-box,
.vehicle-filter-section {
  position: relative;
  z-index: 6;
}

.vehicle-pill,
.category-pill {
  display: inline-block;
  padding: 0.45rem 0.95rem;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0 0.3rem 0.4rem 0;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.06);
}

.vehicle-pill.active,
.category-pill.active {
  background: var(--tk-gradient);
  color: #fff;
}

.parallax-section {
  background:
    linear-gradient(180deg, rgba(12, 18, 34, 0.2), rgba(12, 18, 34, 0.62)),
    radial-gradient(1200px 400px at 50% 120%, rgba(0, 122, 255, 0.22), transparent 55%),
    radial-gradient(900px 320px at 80% 0%, rgba(0, 122, 255, 0.34), transparent 50%),
    linear-gradient(160deg, #141b2d 0%, #0c1222 55%, #162033 100%);
  background-attachment: scroll;
  padding: 8rem 0 9rem;
  position: relative;
  margin: 4.5rem 0 0;
  overflow: hidden;
}

@media (min-width: 992px) {
  .parallax-section {
    background-attachment: fixed;
  }
}

.parallax-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 46%, rgba(0, 122, 255, 0.22) 50%, transparent 54%),
    linear-gradient(rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.55));
  pointer-events: none;
}

.parallax-section__scene {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 148px;
  overflow: hidden;
  z-index: 1;
}

.parallax-section__lane {
  top: 58%;
  height: 5px;
}

.tk-car--band {
  bottom: 8px;
  width: 280px;
  animation-name: driveBandBus;
  animation-duration: 32s;
  animation-delay: 0s;
}

.tk-car--band .tk-car-svg {
  width: 280px;
}

.tk-car--band .tk-car-beam {
  left: 91%;
  top: 58%;
  width: 14%;
  height: 6px;
  margin-top: -3px;
}

.tk-moto--band {
  bottom: 14px;
  width: 168px;
  animation-name: driveBandMoto;
  animation-duration: 32s;
  animation-delay: 0s;
}

.tk-moto--band .tk-car-svg {
  width: 168px;
}

.tk-moto--band .tk-car-beam {
  left: 86%;
  top: 48%;
  width: 18%;
  height: 5px;
  margin-top: -2px;
}

@keyframes driveBandBus {
  0% { transform: translate3d(-340px, 0, 0); }
  78% { transform: translate3d(calc(100vw + 40px), 0, 0); }
  78.01%, 100% { transform: translate3d(calc(100vw + 360px), 0, 0); }
}

@keyframes driveBandMoto {
  0%, 44.7% { transform: translate3d(-220px, 0, 0); }
  80.7% { transform: translate3d(calc(100vw + 20px), 0, 0); }
  80.71%, 100% { transform: translate3d(calc(100vw + 220px), 0, 0); }
}

.parallax-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.parallax-title {
  font-weight: 800;
  margin-bottom: 1rem;
}

.ai-features-section {
  background: var(--tk-light);
}

.ai-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.ai-icon-primary {
  background: var(--tk-gradient-hero);
}

.ai-icon-accent {
  background: var(--tk-gradient-accent);
}

.chat-bubble {
  border-radius: 1rem;
  padding: 1rem;
}

.user-message .chat-bubble {
  background: var(--tk-chat-user);
  color: var(--tk-dark);
}

.ai-message .chat-bubble {
  background: rgba(var(--tk-primary-rgb), 0.1);
  color: var(--tk-dark);
}

/* Newsletter — compact luxury strip */
.newsletter-section,
.tn-newsletter {
  padding: 1.1rem 0 0.85rem;
}

.newsletter-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.newsletter-card h2 {
  font-weight: 800;
}

.newsletter-card .form-control {
  min-height: 52px;
  border-radius: 999px;
  padding-left: 1.1rem;
}

.newsletter-card .btn {
  min-height: 52px;
  border-radius: 999px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.tn-newsletter__shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 0.85rem 1.35rem;
  align-items: center;
  padding: 0.95rem 1.15rem;
  border-radius: 1rem;
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(0, 122, 255, 0.18), transparent 55%),
    linear-gradient(135deg, #0b1220 0%, #121c2e 55%, #0e1624 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tn-newsletter__copy {
  min-width: 0;
}

.tn-newsletter__perk {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.35rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b1220;
  background: #FECC00;
}

.tn-newsletter__copy h2 {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #fff;
}

.tn-newsletter__copy p {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(226, 232, 240, 0.78);
  max-width: 36rem;
}

.tn-newsletter__form {
  display: flex;
  gap: 0.45rem;
  align-items: stretch;
  min-width: 0;
}

.tn-newsletter__form .form-control {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 2.55rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.88rem;
  padding: 0.45rem 0.85rem;
}

.tn-newsletter__form .form-control::placeholder {
  color: rgba(226, 232, 240, 0.5);
}

.tn-newsletter__form .form-control:focus {
  outline: 0;
  border-color: rgba(0, 122, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.2);
  background: rgba(255, 255, 255, 0.09);
}

.tn-newsletter__btn {
  flex: 0 0 auto;
  min-height: 2.55rem;
  padding: 0.45rem 1rem;
  border: 0;
  border-radius: 0.7rem;
  background: #007AFF;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
}

.tn-newsletter__btn:hover {
  background: #0066d6;
}

.tn-newsletter__msg {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  min-height: 0;
}

.tn-newsletter__msg:empty {
  display: none;
}

@media (max-width: 767.98px) {
  .tn-newsletter {
    padding: 0.75rem 0 0.55rem;
  }

  .tn-newsletter__shell {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    padding: 0.85rem 0.9rem;
    border-radius: 0.85rem;
  }

  .tn-newsletter__copy h2 {
    font-size: 1.05rem;
  }

  .tn-newsletter__copy p {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .tn-newsletter__form {
    flex-direction: column;
  }

  .tn-newsletter__btn {
    width: 100%;
  }
}

.news-card {
  border-radius: 12px;
}

.footer,
.tk-footer {
  background:
    radial-gradient(700px 160px at 10% 0%, rgba(var(--tn-accent-rgb), 0.1), transparent 55%),
    var(--tn-night-mid, #101826);
  color: rgba(255, 255, 255, 0.86);
  padding: 1.65rem 0 1.1rem;
  margin-top: 0;
  border-top: 1px solid rgba(var(--tn-accent-rgb), 0.18);
}

.tk-footer a,
.footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.tk-footer a:hover,
.footer a:hover {
  color: #fff;
}

.tk-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tk-footer__brand {
  max-width: 18rem;
  flex: 0 1 auto;
}

.tk-footer__logo {
  display: inline-flex;
  align-items: center;
  color: #fff;
  margin-bottom: 0;
  text-decoration: none;
}

.tk-footer__logo .tk-brand-lockup__logo {
  height: 36px;
}

.tk-footer__brand p {
  display: none;
}

.tk-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.15rem;
  justify-content: flex-end;
  max-width: 40rem;
}

.tk-footer__nav a {
  padding: 0.28rem 0.55rem;
  border-radius: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid transparent;
}

.tk-footer__nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 122, 255, 0.22);
}

.tk-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.85rem;
  color: rgba(226, 232, 240, 0.58);
  font-size: 0.72rem;
}

.tk-footer__bottom p {
  margin: 0;
}

html[dir="rtl"] .tk-footer__nav {
  justify-content: flex-start;
}

.tk-navbar .tk-brand-text {
  color: var(--tn-ink, #0f172a);
  font-weight: 700;
  letter-spacing: 0.04em;
  display: inline-block;
  white-space: nowrap;
}

.tk-navbar .tk-brand-lockup__name {
  color: var(--tn-ink, #0f172a);
}

.tk-navbar .tk-brand-lockup__tag {
  color: var(--tn-ink-muted, #64748b);
  opacity: 1;
}

.tk-navbar .form-select {
  background-color: rgba(255, 255, 255, 0.7);
  color: var(--tn-ink, #0f172a);
  border-color: rgba(15, 23, 42, 0.14);
  min-width: 8.5rem;
}

.tk-navbar .form-select option {
  color: #0f172a;
}

body.tk-lux {
  background-color: #eef1f6;
  background-image: radial-gradient(#dfe4ee 1px, transparent 1px);
  background-size: 26px 28px;
}

.tk-hero {
  --tk-road-h: 128px;
  background:
    radial-gradient(900px 380px at 12% 12%, rgba(0, 122, 255, 0.2), transparent 58%),
    radial-gradient(800px 420px at 92% 0%, rgba(0, 122, 255, 0.4), transparent 52%),
    linear-gradient(165deg, #10182b 0%, #0c1222 46%, #15243a 100%);
  color: #fff;
  padding: 8.25rem 0 9.5rem;
  position: relative;
  overflow: hidden;
  min-height: min(92vh, 860px);
}

.tk-hero__scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.tk-hero__mesh {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.22;
}

.tk-hero__glow {
  position: absolute;
  right: -8%;
  bottom: 8%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.5), transparent 68%);
}

.tk-hero__glow--left {
  right: auto;
  left: -10%;
  bottom: 18%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.18), transparent 70%);
}

.tk-skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 112px;
  width: 100%;
  height: 140px;
  z-index: 1;
  opacity: 0.95;
  pointer-events: none;
}

.tk-hero__inner {
  position: relative;
  z-index: 6;
  max-width: 760px;
  isolation: isolate;
}

.tk-post {
  position: absolute;
  left: clamp(0.7rem, 2.6vw, 2.2rem);
  bottom: var(--tk-road-h);
  z-index: 4;
  width: 4.55rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.tk-post__pole {
  width: 10px;
  height: 9.5rem;
  background: linear-gradient(90deg, #5b6570 0%, #d7dde5 38%, #9aa3b2 52%, #4b5563 100%);
  border-radius: 1px;
  box-shadow: 1px 0 0 rgba(0, 0, 0, 0.28);
}

.tk-post__pole::after {
  content: "";
  display: block;
  width: 30px;
  height: 7px;
  margin-left: -10px;
  margin-top: -1px;
  background: #6b7280;
  border-radius: 1px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.tk-post__stop {
  position: relative;
  width: 4.55rem;
  height: 4.55rem;
  flex: 0 0 4.55rem;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.35));
}

.tk-post__stop svg {
  display: block;
  width: 100%;
  height: 100%;
}

.tk-post__stop span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.tk-hero__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tk-hero__logo {
  height: 76px;
  width: auto;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.4));
}

.tk-kicker {
  margin: 0;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: #5AC8FA;
}

.tk-kicker--dark {
  color: var(--tn-accent, #007AFF);
}

.tk-hero__title {
  font-size: clamp(2.2rem, 5.4vw, 3.85rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 4px 18px rgba(0, 0, 0, 0.55);
  max-width: 100%;
  overflow-wrap: anywhere;
  position: relative;
  z-index: 2;
}

.tk-hero__lead {
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.55;
  max-width: 38rem;
  color: #fff;
  margin-bottom: 2rem;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.95),
    0 3px 14px rgba(0, 0, 0, 0.65);
  position: relative;
  z-index: 2;
}

.tk-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tk-hero .btn-tk-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.tk-parallax {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.tk-float-sign,
.tk-float-mark {
  position: absolute;
  z-index: 2;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.28));
  opacity: 0.62;
}

.tk-float-sign {
  overflow: visible;
}

.tk-float-mark {
  top: 14%;
  right: 5%;
  left: auto;
  bottom: auto;
  width: 108px;
  height: auto;
  opacity: 0.4;
  animation: float 7s ease-in-out infinite;
}

.tk-float-sign--1 {
  top: 26%;
  right: 12%;
  left: auto;
  bottom: auto;
  width: 86px;
  height: 86px;
  animation: float 6.4s ease-in-out infinite;
}

.tk-float-sign--2 {
  top: 50%;
  right: 5%;
  left: auto;
  bottom: auto;
  width: 78px;
  height: 78px;
  animation: float 8s ease-in-out infinite 0.6s;
}

.tk-float-sign--3 {
  top: 38%;
  right: 24%;
  left: auto;
  bottom: auto;
  width: 72px;
  height: 70px;
  animation: float 7.5s ease-in-out infinite 1.1s;
}

.tk-road {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--tk-road-h);
  background:
    linear-gradient(180deg, rgba(0, 122, 255, 0.12), transparent 18%),
    linear-gradient(180deg, #334155 0%, #151b2c 42%, #070b12 100%);
  z-index: 3;
  overflow: visible;
}

.tk-road__edge--top {
  height: 5px;
  background: linear-gradient(90deg, var(--tn-accent-hover), var(--tn-accent), var(--tn-accent-hover));
}

.tk-road__lane,
.parallax-section__lane {
  position: absolute;
  left: 0;
  right: 0;
  overflow: hidden;
}

.tk-road__lane {
  top: 52%;
  height: 6px;
}

.tk-road__lane::before,
.parallax-section__lane::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80px;
  height: 100%;
  width: calc(100% + 160px);
  background-image: repeating-linear-gradient(90deg, var(--tn-accent) 0 36px, transparent 36px 80px);
  background-size: 80px 100%;
  animation: tkLane 2.4s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}

.tk-road__lane--soft {
  top: 28%;
  height: 2px;
  opacity: 0.35;
}

.tk-road__lane--soft::before {
  animation-duration: 4.8s;
}

.tk-car {
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 248px;
  animation: driveCar 18s linear infinite;
  z-index: 4;
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.5));
  direction: ltr;
  will-change: transform;
  backface-visibility: hidden;
}

.tk-car-beam {
  position: absolute;
  left: 89%;
  top: 62%;
  width: 16%;
  height: 7px;
  margin-top: -3.5px;
  background: linear-gradient(90deg, rgba(255, 247, 214, 0.95), rgba(255, 247, 214, 0.28) 40%, transparent 100%);
  filter: blur(1px);
  pointer-events: none;
  border-radius: 2px;
}

.tk-car-svg {
  width: 248px;
  height: auto;
  display: block;
  overflow: visible;
}

.tk-car.tk-car--band {
  width: 280px;
  bottom: 8px;
  animation-name: driveBandBus;
  animation-duration: 32s;
  animation-delay: 0s;
}

.tk-car.tk-car--band .tk-car-svg {
  width: 280px;
}

.tk-car.tk-moto--band {
  width: 168px;
  bottom: 14px;
  animation-name: driveBandMoto;
  animation-duration: 32s;
  animation-delay: 0s;
}

.tk-car.tk-moto--band .tk-car-svg {
  width: 168px;
}

.tk-wheel-spin {
  transform-box: fill-box;
  transform-origin: center;
  animation: tkWheel 0.38s linear infinite;
}

@keyframes tkWheel {
  to { transform: rotate(360deg); }
}

.tk-strip {
  margin-top: -2.6rem;
  position: relative;
  z-index: 6;
}

.tk-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.35rem 1.5rem;
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.14);
}

.tk-strip__grid > div {
  min-width: 0;
}

.tk-strip__num {
  display: block;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--tk-dark);
}

.tk-strip__label {
  color: #475569;
  font-size: 0.88rem;
  font-weight: 500;
  display: block;
  line-height: 1.35;
}

.tk-section-head {
  max-width: 640px;
  margin-bottom: 2rem;
}

.tk-section-head h2 {
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  color: var(--tk-dark);
}

.tk-step {
  margin-bottom: 2.25rem;
}

.tk-step__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--tk-dark);
}

.tk-step__title span {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tk-dark);
  color: #fff;
  font-size: 0.8rem;
}

.tk-home .tk-course-card,
.tk-home .tk-lang-pill {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font: inherit;
  width: 100%;
  background: var(--tk-white);
  color: var(--tk-dark);
  border: 1px solid rgba(var(--tk-dark-rgb), 0.1);
  box-shadow: none;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.tk-home .tk-course-card {
  text-align: start;
  border-radius: 0.8rem;
  padding: 0.55rem 0.7rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
  min-height: 0;
}

.tk-course-card__copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.tk-course-card__copy strong {
  font-size: var(--tk-fs-md);
  font-weight: 650;
  line-height: 1.25;
}

.tk-home .tk-course-card:hover,
.tk-home .tk-lang-pill:hover {
  border-color: rgba(var(--tk-success-rgb), 0.55);
}

.tk-course-card i {
  color: var(--tk-brand-green);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.tk-course-card.is-active {
  border-color: var(--tk-brand-green);
  background: rgba(var(--tk-success-rgb), 0.06);
  box-shadow: 0 0 0 1px var(--tk-brand-green);
}

.tk-prereq-chip,
.tk-soon-chip {
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.tk-prereq-chip {
  color: var(--tk-muted);
}

.tk-soon-chip {
  color: var(--tk-primary);
}

.tk-home .tk-course-card.is-soon,
.tk-home .tk-course-card:disabled {
  cursor: not-allowed;
  opacity: 0.78;
  background: var(--tk-light);
}

.tk-home .tk-course-card.is-soon:hover,
.tk-home .tk-course-card:disabled:hover {
  border-color: rgba(var(--tk-dark-rgb), 0.1);
}

.tk-course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8.4rem, 1fr));
  gap: 0.5rem;
}

.tk-prereq-note {
  margin: 0.65rem 0 0;
  color: var(--tk-dark);
  background: var(--tk-surface-tint);
  border-radius: 0.65rem;
  padding: 0.5rem 0.75rem;
  font-size: var(--tk-fs-sm);
}

.tk-lang-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.tk-home .tk-lang-pill {
  text-align: start;
  border-radius: 0.8rem;
  padding: 0.7rem 0.8rem;
  height: 100%;
}

.tk-lang-pill strong {
  display: block;
  margin-bottom: 0.12rem;
  color: var(--tk-dark);
  font-size: var(--tk-fs-md);
}

.tk-lang-pill span {
  color: var(--tk-muted);
  font-size: var(--tk-fs-sm);
  line-height: 1.3;
}

.tk-lang-pill.is-active {
  border-color: var(--tk-primary);
  background: rgba(var(--tk-primary-rgb), 0.06);
  box-shadow: 0 0 0 1px var(--tk-primary);
}

.tk-home .tk-lang-pill.is-active {
  border-color: var(--tk-primary);
  background: rgba(var(--tk-primary-rgb), 0.06);
}

.tk-lang-pickers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 18rem));
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.tk-lang-picker {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0;
  color: var(--tk-dark);
  font-weight: 600;
  font-size: 0.88rem;
}

.tk-lang-select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  border-radius: 0.7rem;
  min-height: 2.75rem;
  font-size: 1rem; /* avoid iOS zoom */
  border: 1px solid rgba(var(--tk-dark-rgb), 0.12);
  background: var(--tk-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230f172a' d='M1.2 1.4L6 6.2l4.8-4.8'/%3E%3C/svg%3E") no-repeat;
  background-position: right 0.8rem center;
  padding: 0.55rem 2.2rem 0.55rem 0.8rem;
  font: inherit;
  font-weight: 600;
  color: var(--tk-dark);
  box-shadow: none;
}

html[dir="rtl"] .tk-lang-select {
  background-position: left 0.9rem center;
  padding: 0.75rem 1rem 0.75rem 2.4rem;
}

.tk-lang-select:focus {
  outline: 2px solid rgba(0, 122, 255, 0.55);
  outline-offset: 2px;
  border-color: rgba(0, 122, 255, 0.7);
}

.tk-lang-hint {
  margin: 0.7rem 0 0;
  color: #7a4e16;
  font-size: 0.9rem;
}

.tk-buy-link.disabled {
  pointer-events: none;
  opacity: 0.55;
}

.tk-lang-list {
  margin: 0.85rem 0 0;
  color: #475569;
  font-size: 0.88rem;
}

.tk-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.tk-plan {
  min-width: 0;
}

.tk-plan-card {
  background: var(--tk-white);
  border-radius: 0.95rem;
  padding: 0.95rem 0.95rem 1rem;
  height: 100%;
  border: 1px solid rgba(var(--tk-dark-rgb), 0.08);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  position: relative;
}

.tk-plan-card.is-featured {
  border-color: var(--tk-brand-green);
  box-shadow: 0 0 0 1px var(--tk-brand-green);
}

.tk-plan-card__badge {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--tn-accent, #007AFF);
  display: inline-block;
  width: fit-content;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.tk-plan-card__badge--quiet {
  background: var(--tk-dot);
}

.tk-plan-card h4 {
  font-weight: 750;
  letter-spacing: -0.02em;
  font-size: var(--tk-fs-lg);
  margin-bottom: 0.25rem;
  color: var(--tk-dark);
}

.tk-plan-card__meta {
  color: var(--tk-muted);
  font-size: var(--tk-fs-sm);
  min-height: 0;
  margin-bottom: 0.55rem;
}

.tk-plan-card__price {
  font-size: var(--tk-fs-sm);
  color: var(--tk-muted);
  margin-bottom: 0.45rem;
}

.tk-plan-card__price span {
  display: inline-block;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--tk-dark);
  letter-spacing: -0.03em;
  margin-inline-end: 0.2rem;
}

.tk-plan-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.85rem;
  color: var(--tk-dark);
  font-size: var(--tk-fs-sm);
  flex: 1;
}

.tk-plan-card__list li {
  padding: 0.28rem 0 0.28rem 1.2rem;
  position: relative;
}

.tk-plan-card__list li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--tk-brand-green);
  position: absolute;
  inset-inline-start: 0;
  top: 0.7rem;
}

html[dir="rtl"] .tk-plan-card__list li {
  padding: 0.28rem 1.2rem 0.28rem 0;
}

html[dir="rtl"] .tk-float-mark {
  right: auto;
  left: 5%;
}

html[dir="rtl"] .tk-float-sign--1 {
  right: auto;
  left: 12%;
}

html[dir="rtl"] .tk-float-sign--2 {
  right: auto;
  left: 5%;
}

html[dir="rtl"] .tk-float-sign--3 {
  right: auto;
  left: 24%;
}

html[dir="rtl"] .tk-car {
  animation-name: driveCar;
  animation-direction: normal;
}

html[dir="rtl"] .tk-car--band {
  animation-name: driveBandBus;
}

html[dir="rtl"] .tk-moto--band {
  animation-name: driveBandMoto;
}

@keyframes tkLane {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(80px, 0, 0); }
}

@media (max-width: 991.98px) {
  .tk-hero__inner {
    max-width: 100%;
  }

  /* STOP post sits in the text column on tablets/phones — park it off the copy. */
  .tk-post {
    left: auto;
    right: clamp(0.5rem, 3vw, 1.25rem);
    bottom: calc(var(--tk-road-h) - 0.35rem);
    width: 3.4rem;
    transform: scale(0.88);
    transform-origin: bottom right;
    opacity: 0.92;
  }

  html[dir="rtl"] .tk-post {
    right: auto;
    left: clamp(0.5rem, 3vw, 1.25rem);
    transform-origin: bottom left;
  }

  .tk-post__pole {
    height: 6.5rem;
  }

  .tk-hero__actions {
    position: relative;
    z-index: 2;
  }

  .tk-plan-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tk-float-sign--1,
  .tk-float-mark {
    right: 4%;
    top: 18%;
    bottom: auto;
  }

  .tk-float-sign--2 {
    right: 6%;
    top: 48%;
    bottom: auto;
  }

  .tk-float-sign--3 {
    right: 28%;
    top: 24%;
    bottom: auto;
  }

  .tk-footer__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .tk-footer__nav {
    justify-content: flex-start;
    max-width: none;
  }
}

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

  .tk-lang-pickers,
  .tk-plan-grid {
    grid-template-columns: 1fr;
  }

  .tk-lang-pill span {
    display: none;
  }

  .tk-hero {
    min-height: 0;
    padding: 7.2rem 0 6.8rem;
  }

  .tk-hero__title {
    font-size: clamp(1.85rem, 7.2vw, 2.45rem);
  }

  .tk-hero__lead {
    font-size: 1.02rem;
    margin-bottom: 1.5rem;
  }

  .tk-hero__logo {
    height: 56px;
  }

  /* STOP board overlaps long hero copy on phones — remove it here. */
  .tk-post {
    display: none;
  }

  .tk-float-sign--3 {
    display: none;
  }

  .tk-float-mark {
    top: 14%;
    right: 3%;
    width: 64px;
    opacity: 0.26;
  }

  .tk-float-sign--1 {
    top: 20%;
    right: 3%;
    left: auto;
    bottom: auto;
    width: 46px;
    height: 42px;
    opacity: 0.3;
  }

  .tk-float-sign--2 {
    top: auto;
    bottom: calc(var(--tk-road-h) + 4.25rem);
    right: 4%;
    left: auto;
    width: 42px;
    height: 42px;
    opacity: 0.32;
  }

  .tk-car:not(.tk-car--band):not(.tk-moto--band),
  .tk-car:not(.tk-car--band):not(.tk-moto--band) .tk-car-svg {
    width: 168px;
  }

  .tk-car--band,
  .tk-car--band .tk-car-svg {
    width: 220px;
  }

  .tk-moto--band,
  .tk-moto--band .tk-car-svg {
    width: 140px;
  }

  .tk-car-beam {
    left: 89%;
    top: 56%;
    width: 18%;
  }

  .tk-skyline {
    height: 90px;
    bottom: 100px;
  }

  .tk-plan-card__meta {
    min-height: 0;
  }

  .tk-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-section {
    padding: 7.5rem 0 5.5rem;
    border-radius: 0 0 18% 18% / 0 0 50px 50px;
  }

  .stats-container {
    margin-top: -2.5rem;
  }

  .parallax-section {
    background-attachment: scroll;
  }

  .tk-navbar .navbar-nav {
    padding: 0;
    gap: 0.2rem;
  }

  /* Same luxury sheet as app #side-nav mobile (boka / logged-in pages) */
  body.tk-public.tn-nav-open {
    overflow: hidden;
  }

  body.tk-public.tn-nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1030;
    background: rgba(8, 12, 20, 0.52);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }

  body.tk-public.tn-nav-open .tk-navbar {
    z-index: 1055;
  }

  .tk-navbar .navbar-collapse {
    position: absolute;
    inset-inline: 0.65rem;
    top: calc(100% + 0.45rem);
    z-index: 1050;
    width: auto;
    max-height: min(78vh, 42rem);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    padding: 0.55rem 0.45rem 0.85rem;
    border-radius: 1.15rem 1.15rem 1.85rem 1.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
      radial-gradient(120% 80% at 100% 0%, rgba(0, 122, 255, 0.18), transparent 55%),
      linear-gradient(165deg, #121a2b 0%, #0b1220 55%, #0e1626 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow:
      0 28px 56px rgba(0, 0, 0, 0.42),
      0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  }

  .tk-navbar .navbar-collapse.collapse:not(.show) {
    display: none;
  }

  .tk-navbar .navbar-nav .nav-item {
    width: 100%;
  }

  .tk-navbar .nav-link {
    width: 100%;
    padding: 0.7rem 0.9rem !important;
    font-size: 0.95rem;
    font-weight: 650;
    border-radius: 0.85rem;
    color: rgba(248, 250, 252, 0.92) !important;
  }

  .tk-navbar .nav-link:hover,
  .tk-navbar .nav-link.active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
  }

  .tk-navbar .nav-link.dropdown-toggle::after {
    filter: invert(1);
    opacity: 0.7;
  }

  .tk-navbar .dropdown-menu {
    position: static !important;
    float: none !important;
    width: 100%;
    margin: 0.15rem 0 0.35rem !important;
    padding: 0.25rem;
    transform: none !important;
    border: 0;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
  }

  .tk-navbar .dropdown-item {
    color: rgba(248, 250, 252, 0.88) !important;
    border-radius: 0.65rem;
    padding: 0.55rem 0.75rem;
    font-weight: 550;
  }

  .tk-navbar .dropdown-item:hover,
  .tk-navbar .dropdown-item:focus {
    background: rgba(0, 122, 255, 0.22) !important;
    color: #fff !important;
  }

  .tk-navbar .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
  }

  .tk-navbar .tn-btn {
    width: 100%;
    justify-content: center;
    min-height: 2.55rem;
    margin-top: 0.2rem;
    border-radius: 0.85rem;
  }

  .tk-navbar .tn-btn--outline,
  .tk-navbar .tn-btn--ghost,
  .tk-navbar .tn-btn--on-dark {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
    background: rgba(255, 255, 255, 0.06) !important;
  }

  .tk-navbar .tn-btn--primary {
    box-shadow: 0 8px 20px rgba(0, 122, 255, 0.28);
  }

  .tk-navbar .form-select {
    width: 100%;
    min-width: 0;
    margin-top: 0.25rem;
    min-height: 2.5rem;
    border-radius: 0.85rem;
    font-size: 0.88rem;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
  }

  .tk-navbar .form-select option {
    color: #0f172a;
    background: #fff;
  }

  .tk-navbar .navbar-nav .nav-item.ms-lg-2 {
    margin-inline-start: 0 !important;
    margin-top: 0.35rem;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .tk-navbar .navbar-toggler[aria-expanded="true"] {
    border-color: rgba(15, 23, 42, 0.35);
    background: #0b1220;
  }

  .tk-navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23f8fafc' stroke-linecap='round' stroke-width='2.6' d='M8 8l14 14M22 8L8 22'/%3e%3c/svg%3e");
  }

  .tk-footer {
    padding: 1.25rem 0 0.95rem;
  }

  .tk-footer__nav a {
    padding: 0.32rem 0.5rem;
    font-size: 0.74rem;
  }
}

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

  .tk-float-sign--1,
  .tk-float-sign--2,
  .tk-float-mark {
    display: none;
  }

  .tk-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .tk-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .tk-builder__label {
    font-size: 0.95rem;
  }

  .tk-course-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tk-car,
  .tk-moto,
  .tk-road__lane,
  .tk-road__lane::before,
  .parallax-section__lane,
  .parallax-section__lane::before,
  .tk-float-mark,
  .tk-float-sign,
  .tk-wheel-spin {
    animation: none !important;
  }

  .tk-car {
    left: 12%;
  }
}

.tk-faq__list {
  max-width: 760px;
}

.tk-faq {
  padding: 1.35rem 0 0.55rem;
}

@media (max-width: 767.98px) {
  .tk-faq {
    padding: 0.85rem 0 0.35rem;
  }

  .tk-faq .tk-section-head {
    margin-bottom: 0.55rem;
  }

  .tk-faq .tk-section-head h2 {
    font-size: 1.05rem;
  }

  .tk-faq__item {
    padding: 0.55rem 0.7rem;
    margin-bottom: 0.35rem;
    border-radius: 0.65rem;
  }
}

.tk-faq__item {
  background: #fff;
  border-radius: 0.9rem;
  padding: 0.85rem 1.05rem;
  margin-bottom: 0.6rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.tk-faq__item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--tk-dark);
}

.tk-faq__item p {
  margin: 0.55rem 0 0;
  color: #475569;
  font-size: 0.94rem;
}

.tk-band {
  padding: 3rem 0;
}

.tk-band.tk-reviews {
  padding: 1.15rem 0 0.75rem;
}

.tk-band-head {
  max-width: 36rem;
  margin-bottom: 1.25rem;
}

.tk-band-head h2 {
  font-size: var(--tk-fs-2xl);
  font-weight: 750;
  letter-spacing: -0.03em;
  margin: 0 0 0.3rem;
  color: var(--tk-dark);
}

.tk-band-head p {
  margin: 0;
  color: var(--tk-muted);
  font-size: var(--tk-fs-md);
}

.tk-band-head--split {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.85rem 1.25rem;
  flex-wrap: wrap;
}

.tk-band .tk-kicker {
  color: var(--tk-primary);
  letter-spacing: 0.14em;
  margin-bottom: 0.35rem;
}

.tk-band-link {
  font-size: var(--tk-fs-sm);
  font-weight: 650;
  color: var(--tk-primary);
  text-decoration: none;
  white-space: nowrap;
}

.tk-band-link:hover {
  text-decoration: underline;
}

.tk-builder {
  background: var(--tk-light);
  border: 1px solid rgba(var(--tk-dark-rgb), 0.08);
  border-radius: 1.05rem;
  padding: 1.05rem 1.05rem 1.15rem;
}

.tk-builder__step + .tk-builder__step {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(var(--tk-dark-rgb), 0.08);
}

.tk-builder__label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--tk-fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tk-muted);
  margin: 0 0 0.6rem;
}

.tk-builder__label span {
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 999px;
  background: var(--tk-dark);
  color: var(--tk-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  letter-spacing: 0;
}

.tk-updates {
  background: transparent;
  padding: 1.15rem 0 0.65rem;
}

.tk-updates__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.65rem 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}

.tk-updates__head .tk-kicker {
  color: var(--tk-primary);
  letter-spacing: 0.12em;
  margin: 0 0 0.2rem;
  font-size: 0.68rem;
  font-weight: 750;
  text-transform: uppercase;
}

.tk-updates__head h2 {
  margin: 0;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--tk-dark);
}

.tk-updates__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.tk-update {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-height: 0;
  padding: 0.65rem 0.75rem 0.6rem;
  background: var(--tk-white);
  border: 1px solid rgba(var(--tk-dark-rgb), 0.07);
  border-radius: 0.75rem;
  text-decoration: none;
  color: var(--tk-dark);
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.tk-update:hover {
  border-color: var(--tk-primary);
  color: var(--tk-dark);
  transform: translateY(-1px);
}

.tk-update__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.tk-update__badge {
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tk-primary);
  background: rgba(var(--tk-primary-rgb), 0.1);
  border-radius: 999px;
  padding: 0.12rem 0.4rem;
}

.tk-update__badge.is-event {
  color: var(--tk-accent);
  background: rgba(var(--tk-accent-rgb), 0.1);
}

.tk-update time {
  color: var(--tk-muted);
  font-size: 0.68rem;
  white-space: nowrap;
}

.tk-update h3 {
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.25;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.tk-update p {
  margin: 0;
  color: var(--tk-muted);
  font-size: 0.74rem;
  line-height: 1.35;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.tk-update__go {
  display: none;
}

.tk-updates__empty {
  margin: 0;
  color: var(--tk-muted);
  font-size: 0.85rem;
}

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

@media (max-width: 575.98px) {
  .tk-lang-pills,
  .tk-plan-grid {
    grid-template-columns: 1fr;
  }

  .tk-updates {
    padding: 0.85rem 0 0.4rem;
  }

  .tk-updates .container {
    padding-inline: 0;
    max-width: none;
  }

  .tk-updates__head {
    flex-wrap: nowrap;
    align-items: flex-end;
    padding-inline: 1rem;
    margin-bottom: 0.5rem;
  }

  .tk-updates__head h2 {
    font-size: 1.05rem;
  }

  .tk-updates__head .tk-band-link {
    font-size: 0.72rem;
    flex-shrink: 0;
  }

  .tk-updates__grid {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding: 0 1rem 0.35rem;
    scrollbar-width: none;
  }

  .tk-updates__grid::-webkit-scrollbar {
    display: none;
  }

  .tk-update {
    flex: 0 0 min(72vw, 15rem);
    scroll-snap-align: start;
  }

  .tk-builder {
    padding: 0.85rem;
    border-radius: 0.9rem;
  }
}

/* ——— Phase 3: public TN hero / journey (Bootstrap still present) ——— */
.tn-hero {
  --tk-road-h: 120px;
  background:
    radial-gradient(70% 55% at 18% 10%, rgba(var(--tn-accent-rgb), 0.18), transparent 60%),
    radial-gradient(50% 45% at 88% 8%, rgba(var(--tn-accent-rgb), 0.2), transparent 55%),
    linear-gradient(180deg, var(--tn-night, #0b1220) 0%, var(--tn-night-mid, #101826) 55%, #0f172a 100%);
  min-height: min(88svh, 820px);
  padding: 7.5rem 0 8.75rem;
}

.tn-hero__wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.15), rgba(11, 18, 32, 0.55) 70%, rgba(11, 18, 32, 0.85));
  z-index: 1;
}

.tn-hero__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.35;
  z-index: 1;
}

.tn-hero__skyline {
  opacity: 0.85;
  z-index: 2;
}

.tn-hero__inner {
  max-width: 40rem;
  z-index: 6;
}

.tn-hero__brand {
  display: inline-flex;
  align-items: center;
  margin: 0 0 1.25rem;
  color: #fff;
  position: relative;
}

.tn-hero__brand .tk-brand-lockup__logo {
  height: clamp(3.25rem, 2.4rem + 2vw, 4.5rem);
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25));
}

.tn-hero__brand .tk-brand-lockup__name {
  font-size: clamp(1.35rem, 1rem + 1.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.05em;
}

.tn-hero__brand .tk-brand-lockup__tag {
  font-size: clamp(0.55rem, 0.42rem + 0.35vw, 0.72rem);
  font-weight: 300;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.72);
  opacity: 1;
}

.tn-hero__brand .tk-brand-lockup__word {
  letter-spacing: 0.2em;
}

.tn-hero__brand .tk-brand-lockup__word:last-child {
  letter-spacing: 0.2em;
  margin-inline-end: -0.2em;
}

.tn-hero__mark {
  width: clamp(7rem, 5rem + 8vw, 12rem);
  height: clamp(7rem, 5rem + 8vw, 12rem);
  display: block;
  object-fit: contain;
  opacity: 0.22;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.2));
}

.tn-hero__title {
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 0 0 0.85rem;
  max-width: 18ch;
}

.tn-hero__lead {
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.9);
  max-width: 36rem;
  margin: 0 0 1.5rem;
}

.tn-journey {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.25rem;
  padding: 0;
  margin: 0 0 1.75rem;
  align-items: center;
}

.tn-journey__step {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  border: 1px solid transparent;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.tn-journey__step:not(:last-child)::after {
  content: "";
  width: 1.25rem;
  height: 1px;
  margin-inline-start: 0.35rem;
  background: rgba(226, 232, 240, 0.28);
}

.tn-journey__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.35);
}

.tn-journey__step.is-active {
  color: #fff;
  background: var(--tn-accent, #007AFF);
  border-color: var(--tn-accent, #007AFF);
}

.tn-journey__step.is-active .tn-journey__dot {
  background: #fff;
  box-shadow: none;
}

.tn-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tn-btn--on-dark {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  background: transparent !important;
}

.tn-btn--on-dark:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
}

/* Pillars — Theory / Quizzes / Schools / Languages */
.tn-pillars {
  padding: 0 0 3rem;
  background: var(--tn-surface-muted, #f3f5f7);
}

.tn-pillars__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  background: var(--tn-surface, #fff);
  border: 1px solid var(--tn-border, #dce3ea);
  border-radius: var(--tn-radius-lg, 0.875rem);
  overflow: hidden;
}

@media (min-width: 600px) {
  .tn-pillars__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }
}

@media (min-width: 992px) {
  .tn-pillars__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.tn-pillars__grid > li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.35rem;
  min-width: 0;
  border-bottom: 1px solid var(--tn-border, #dce3ea);
}

@media (min-width: 600px) and (max-width: 991.98px) {
  .tn-pillars__grid > li {
    border-bottom: 0;
    border-inline-end: 1px solid var(--tn-border, #dce3ea);
  }

  .tn-pillars__grid > li:nth-child(2n) {
    border-inline-end: 0;
  }

  .tn-pillars__grid > li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--tn-border, #dce3ea);
  }
}

@media (min-width: 992px) {
  .tn-pillars__grid > li {
    border-inline-end: 1px solid var(--tn-border, #dce3ea);
  }

  .tn-pillars__grid > li:nth-child(2n) {
    border-inline-end: 1px solid var(--tn-border, #dce3ea);
  }

  .tn-pillars__grid > li:last-child {
    border-inline-end: 0;
  }
}

.tn-pillars__grid strong {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--tn-ink, #0f172a);
}

.tn-pillars__grid span {
  color: var(--tn-ink-muted, #5a6b7d);
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 500;
}

.tn-band {
  padding: 3.5rem 0;
}

.tn-feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.tn-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  color: var(--tn-ink-muted, #475569);
  font-size: 0.95rem;
}

.tn-feature-list li {
  padding-inline-start: 1.15rem;
  position: relative;
}

.tn-feature-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--tn-accent, #007AFF);
}

@media (max-width: 767.98px) {
  .tn-hero {
    min-height: auto;
    padding: 6.5rem 0 7.5rem;
  }

  .tn-hero__title {
    max-width: none;
  }

  .tn-hero__actions .tn-btn {
    width: 100%;
  }

  .tn-journey__step:not(:last-child)::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tn-journey__step {
    transition: none;
  }
}

/* Route — Learn → Practice → Book → Drive */
.tn-route {
  padding: 3.25rem 0 2rem;
  background: var(--tn-surface-muted, #f3f5f7);
}

.tn-route__head {
  margin-bottom: 1.75rem;
  max-width: 36rem;
}

.tn-route__lede {
  margin: 0.65rem 0 0;
  color: var(--tn-ink-muted, #5a6b7d);
  font-size: 1.05rem;
  line-height: 1.55;
}

.tn-route__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: none;
  border: 1px solid var(--tn-border, #dce3ea);
  border-radius: var(--tn-radius-lg, 0.875rem);
  background: var(--tn-surface, #fff);
  overflow: hidden;
}

@media (min-width: 768px) {
  .tn-route__track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.tn-route__stop {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1.35rem 1.25rem 1.45rem;
  border-bottom: 1px solid var(--tn-border, #dce3ea);
}

@media (min-width: 768px) {
  .tn-route__stop {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    border-bottom: 0;
    border-inline-end: 1px solid var(--tn-border, #dce3ea);
    min-height: 100%;
  }

  .tn-route__stop:last-child {
    border-inline-end: 0;
  }
}

.tn-route__stop:last-child {
  border-bottom: 0;
}

.tn-route__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #007AFF;
  background: var(--tn-accent-soft, #E8F1FF);
  flex-shrink: 0;
}

.tn-route__copy h3 {
  margin: 0 0 0.3rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--tn-ink, #12181f);
}

.tn-route__copy p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--tn-ink-muted, #5a6b7d);
}

@media (prefers-reduced-motion: no-preference) {
  .tn-route__stop {
    transition: background 160ms ease;
  }

  .tn-route__stop:hover {
    background: rgba(0, 122, 255, 0.06);
  }
}

@media (max-width: 767.98px) {
  .tn-route {
    padding: 0.85rem 0 0.55rem;
  }

  .tn-route .container {
    padding-inline: 0;
    max-width: none;
  }

  .tn-route__head {
    margin-bottom: 0.55rem;
    padding-inline: 1rem;
    max-width: none;
  }

  .tn-route__head .tn-type-page {
    font-size: 1.1rem;
    line-height: 1.2;
  }

  .tn-route__lede {
    margin-top: 0.25rem;
    font-size: 0.78rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .tn-route__track {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    border: 0;
    background: transparent;
    border-radius: 0;
    padding: 0 1rem 0.4rem;
    scrollbar-width: none;
  }

  .tn-route__track::-webkit-scrollbar {
    display: none;
  }

  .tn-route__stop {
    flex: 0 0 min(70vw, 14.5rem);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: flex-start;
    grid-template-columns: none;
    padding: 0.7rem 0.8rem 0.75rem;
    border: 1px solid var(--tn-border, #dce3ea);
    border-radius: 0.75rem;
    border-bottom: 1px solid var(--tn-border, #dce3ea);
    background: var(--tn-surface, #fff);
    min-height: 0;
  }

  .tn-route__stop:last-child {
    border-bottom: 1px solid var(--tn-border, #dce3ea);
  }

  .tn-route__num {
    width: 1.55rem;
    height: 1.55rem;
    font-size: 0.62rem;
  }

  .tn-route__copy h3 {
    margin-bottom: 0.08rem;
    font-size: 0.92rem;
  }

  .tn-route__copy p {
    font-size: 0.74rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .tn-pillars {
    padding: 0 0 1rem;
  }

  .tn-pillars .container {
    padding-inline: 0;
    max-width: none;
  }

  .tn-pillars__grid {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    border: 0;
    background: transparent;
    border-radius: 0;
    padding: 0 1rem 0.35rem;
    scrollbar-width: none;
  }

  .tn-pillars__grid::-webkit-scrollbar {
    display: none;
  }

  .tn-pillars__grid > li {
    flex: 0 0 min(58vw, 11.5rem);
    scroll-snap-align: start;
    gap: 0.2rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--tn-border, #dce3ea);
    border-radius: 0.7rem;
    border-bottom: 1px solid var(--tn-border, #dce3ea);
    background: var(--tn-surface, #fff);
  }

  .tn-pillars__grid strong {
    font-size: 0.88rem;
  }

  .tn-pillars__grid span {
    font-size: 0.72rem;
    line-height: 1.3;
  }
}

/* Geo marketing campaign strip (between hero and route) */
.tn-geo-campaign {
  position: relative;
  z-index: 2;
  padding: 1.15rem 0;
  background:
    radial-gradient(80% 120% at 0% 50%, rgba(80, 190, 151, 0.35), transparent 55%),
    radial-gradient(70% 100% at 100% 0%, rgba(0, 122, 255, 0.18), transparent 50%),
    linear-gradient(135deg, #0b1220 0%, #122033 55%, #0f1a14 100%);
  border-block: 0;
}

.tn-geo-campaign__shell {
  width: min(70rem, calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.75rem;
  padding: 1.15rem 1.35rem;
  border-radius: var(--tn-radius-lg, 0.875rem);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(6px);
}

.tn-geo-campaign__copy {
  flex: 1 1 16rem;
  min-width: 0;
}

.tn-geo-campaign__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tk-brand-green, #50be97);
}

.tn-geo-campaign__headline {
  margin: 0;
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.28;
  color: #f8fafc;
  overflow-wrap: anywhere;
}

.tn-geo-campaign__lede {
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.88);
  overflow-wrap: anywhere;
}

.tn-geo-campaign__cta {
  flex-shrink: 0;
  white-space: normal;
  text-align: center;
  max-width: 100%;
  box-shadow: 0 8px 20px rgba(80, 190, 151, 0.35);
}

@media (max-width: 767.98px) {
  .tn-geo-campaign {
    padding: 0.85rem 0;
  }

  .tn-geo-campaign__shell {
    width: min(100%, calc(100% - 1.25rem));
    padding: 1rem 1rem;
    gap: 0.85rem;
  }

  .tn-geo-campaign__headline {
    font-size: 1.08rem;
  }

  .tn-geo-campaign__lede {
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .tn-geo-campaign__cta {
    width: 100%;
  }
}

/* ——— Luxury cinematic road (hero + mid drive) ——— */
.tn-hero--lux {
  --tk-road-h: 148px;
  background:
    radial-gradient(70% 50% at 18% 8%, rgba(var(--tn-accent-rgb), 0.2), transparent 58%),
    radial-gradient(55% 42% at 88% 6%, rgba(var(--tn-accent-rgb), 0.22), transparent 52%),
    radial-gradient(40% 30% at 50% 100%, rgba(var(--tn-accent-rgb), 0.1), transparent 60%),
    linear-gradient(180deg, var(--tn-night, #0b1220) 0%, var(--tn-night-mid, #101826) 48%, #0a101c 100%);
  min-height: min(92svh, 880px);
  padding: 7.75rem 0 9.5rem;
}

.tn-hero__haze {
  position: absolute;
  inset: auto 0 18%;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(8, 14, 28, 0.55) 40%, rgba(5, 8, 15, 0.92));
  z-index: 2;
  pointer-events: none;
}

.tn-hero__horizon {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: calc(var(--tk-road-h) + 4rem);
  height: 9rem;
  background:
    radial-gradient(55% 90% at 30% 100%, rgba(254, 204, 0, 0.18), transparent 70%),
    radial-gradient(45% 80% at 72% 100%, rgba(0, 106, 167, 0.16), transparent 68%);
  filter: blur(18px);
  z-index: 2;
  pointer-events: none;
}

.tn-hero--lux .tn-hero__skyline {
  bottom: calc(var(--tk-road-h) - 0.35rem);
  height: 160px;
  opacity: 1;
  z-index: 3;
}

.tn-road {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--tk-road-h);
  z-index: 4;
  overflow: visible;
  perspective: 420px;
}

.tn-road__glow {
  position: absolute;
  left: 0;
  right: 0;
  top: -1.25rem;
  height: 2.5rem;
  background: linear-gradient(90deg, transparent 0%, rgba(254, 204, 0, 0.32) 20%, rgba(254, 204, 0, 0.55) 50%, rgba(254, 204, 0, 0.32) 80%, transparent 100%);
  filter: blur(10px);
  opacity: 0.85;
}

.tn-road__asphalt {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(254, 204, 0, 0.1), transparent 22%),
    linear-gradient(180deg, #3a465a 0%, #1a2233 28%, #0c1018 72%, #05070c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transform-origin: 50% 0%;
}

.tn-road__shoulder--top {
  height: 3px;
  background: linear-gradient(90deg, #006AA7, #FECC00, #006AA7);
  opacity: 0.9;
}

.tn-road__lane {
  position: absolute;
  left: 0;
  right: 0;
  overflow: hidden;
}

.tn-road__lane--center {
  top: 54%;
  height: 5px;
}

.tn-road__lane--edge {
  top: 26%;
  height: 2px;
  opacity: 0.28;
}

.tn-road__lane--center::before,
.tn-road__lane--edge::before,
.tn-drive__lane::before,
.tn-drive__lane-edge::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100px;
  height: 100%;
  width: calc(100% + 200px);
  background-image: repeating-linear-gradient(
    90deg,
    rgba(0, 122, 255, 0.95) 0 34px,
    transparent 34px 78px
  );
  background-size: 78px 100%;
  animation: tnLaneScroll 1.85s linear infinite;
  will-change: transform;
}

.tn-road__lane--edge::before,
.tn-drive__lane-edge::before {
  background-image: repeating-linear-gradient(
    90deg,
    rgba(226, 232, 240, 0.55) 0 48px,
    transparent 48px 110px
  );
  background-size: 110px 100%;
  animation-duration: 3.4s;
}

.tn-road__reflection {
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(254, 204, 0, 0.07));
  pointer-events: none;
}

.tn-vehicle {
  position: absolute;
  left: 0;
  bottom: 10px;
  z-index: 5;
  direction: ltr;
  filter:
    drop-shadow(0 14px 18px rgba(0, 0, 0, 0.55))
    drop-shadow(0 20px 26px rgba(254, 204, 0, 0.28));
  will-change: transform;
  backface-visibility: hidden;
}

.tn-vehicle--hero,
.tn-vehicle--flee {
  width: min(210px, 44vw);
  bottom: 10px;
  z-index: 5;
  animation: tnDriveFlee 20s linear infinite;
}

.tn-vehicle--polis {
  width: min(270px, 54vw);
  bottom: 6px;
  z-index: 6;
  /* Wait until the flee car has covered ~2/3 of the road, then chase faster */
  animation: tnDrivePolis 20s linear infinite;
}

.tn-vehicle__beam--polis {
  background: linear-gradient(90deg, rgba(147, 197, 253, 0.95), rgba(254, 204, 0, 0.4) 40%, transparent 100%);
}

.tn-vehicle__beacon {
  transform-box: fill-box;
  transform-origin: center;
}

.tn-vehicle__beacon--blue {
  animation: tnPolisFlash 0.55s ease-in-out infinite alternate;
}

.tn-vehicle__beacon--yellow {
  animation: tnPolisFlash 0.55s ease-in-out infinite alternate-reverse;
}

@keyframes tnPolisFlash {
  from { opacity: 0.35; }
  to { opacity: 1; }
}

@keyframes tnDriveFlee {
  0% { transform: translate3d(calc(-100% - 6vw), 0, 0); }
  100% { transform: translate3d(calc(100vw + 12%), 0, 0); }
}

/* Hold off-screen for first 66%, then cover the full road in the remaining 34% (faster) */
@keyframes tnDrivePolis {
  0%,
  66% {
    transform: translate3d(calc(-100% - 10vw), 0, 0);
  }
  100% {
    transform: translate3d(calc(100vw + 18%), 0, 0);
  }
}

.tn-vehicle__svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.tn-vehicle__wheel {
  transform-box: fill-box;
  transform-origin: center;
  animation: tnWheelSpin 0.42s linear infinite;
}

.tn-vehicle__beam {
  position: absolute;
  left: 90%;
  top: 58%;
  width: 42%;
  height: 14px;
  margin-top: -7px;
  background: linear-gradient(90deg, rgba(255, 247, 214, 0.95), rgba(254, 204, 0, 0.45) 35%, transparent 100%);
  clip-path: polygon(0 35%, 100% 0, 100% 100%, 0 65%);
  filter: blur(1.5px);
  pointer-events: none;
  opacity: 0.9;
}

.tn-vehicle__beam--soft {
  width: 58%;
  height: 28px;
  margin-top: -14px;
  opacity: 0.35;
  filter: blur(8px);
  clip-path: none;
  border-radius: 40%;
}

@keyframes tnLaneScroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(78px, 0, 0); }
}

@keyframes tnWheelSpin {
  to { transform: rotate(360deg); }
}

/* Mid-page cinematic drive band */
.tn-drive {
  position: relative;
  margin: 3.5rem 0 0;
  padding: 7.5rem 0 8.75rem;
  overflow: hidden;
  background:
    radial-gradient(70% 55% at 50% 100%, rgba(var(--tn-accent-rgb), 0.16), transparent 55%),
    radial-gradient(50% 40% at 85% 0%, rgba(var(--tn-accent-rgb), 0.18), transparent 55%),
    linear-gradient(165deg, var(--tn-night, #0b1220) 0%, var(--tn-night-mid, #101826) 45%, #101a2c 100%);
  color: #fff;
}

.tn-drive__scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.tn-drive__wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 11, 20, 0.35), rgba(7, 11, 20, 0.15) 40%, rgba(7, 11, 20, 0.72)),
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: auto, 28px 28px;
  opacity: 0.9;
}

.tn-drive__haze {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(5, 8, 15, 0.85));
}

.tn-drive__road {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 132px;
  background:
    linear-gradient(180deg, rgba(254, 204, 0, 0.12), transparent 20%),
    linear-gradient(180deg, #334155 0%, #151b2c 40%, #070b12 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.tn-drive__shoulder {
  height: 3px;
  background: linear-gradient(90deg, #006AA7, #FECC00, #006AA7);
}

.tn-drive__lane {
  top: 52%;
  height: 5px;
}

.tn-drive__lane-edge {
  top: 28%;
  height: 2px;
  opacity: 0.3;
}

.tn-vehicle--bus {
  bottom: 4px;
  width: min(340px, 72vw);
  animation: tnDriveBus 34s linear infinite;
}

.tn-vehicle--moto {
  bottom: 14px;
  width: min(190px, 44vw);
  animation: tnDriveMoto 34s linear infinite;
}

.tn-vehicle--bus .tn-vehicle__beam {
  left: 91%;
  top: 52%;
  width: 26%;
}

.tn-vehicle--moto .tn-vehicle__beam {
  left: 88%;
  top: 48%;
  width: 34%;
  height: 10px;
  margin-top: -5px;
}

@keyframes tnDriveBus {
  0% { transform: translate3d(calc(-100% - 8vw), 0, 0); }
  72% { transform: translate3d(calc(100vw + 5%), 0, 0); }
  72.01%, 100% { transform: translate3d(calc(100vw + 40%), 0, 0); }
}

@keyframes tnDriveMoto {
  /* Fully off-frame until the drive segment starts */
  0%,
  38% {
    transform: translate3d(calc(-100% - 12vw), 0, 0);
    opacity: 0;
  }
  38.2% {
    transform: translate3d(calc(-100% - 12vw), 0, 0);
    opacity: 1;
  }
  78% {
    transform: translate3d(calc(100vw + 5%), 0, 0);
    opacity: 1;
  }
  78.01%,
  100% {
    transform: translate3d(calc(100vw + 40%), 0, 0);
    opacity: 0;
  }
}

.tn-drive__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.tn-drive__label {
  color: #5AC8FA !important;
  margin-bottom: 0.65rem;
}

.tn-drive__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.65rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.tn-drive__lede {
  margin: 0 auto 1.75rem;
  max-width: 32rem;
  color: rgba(226, 232, 240, 0.9);
  font-size: 1.05rem;
  line-height: 1.55;
}

@media (max-width: 767.98px) {
  .tn-hero--lux {
    --tk-road-h: 118px;
    min-height: auto;
    padding: 6.5rem 0 8rem;
  }

  .tn-hero--lux .tn-hero__skyline {
    height: 100px;
  }

  .tn-vehicle--flee {
    width: min(168px, 40vw);
    bottom: 8px;
  }

  .tn-vehicle--polis {
    width: min(210px, 50vw);
    bottom: 4px;
  }

  .tn-drive {
    padding: 5.5rem 0 7rem;
  }

  .tn-drive__road {
    height: 118px;
  }

  .tn-vehicle--bus {
    width: 248px;
  }

  .tn-vehicle--moto {
    width: 148px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tn-vehicle,
  .tn-vehicle__wheel,
  .tn-vehicle__beacon,
  .tn-road__lane--center::before,
  .tn-road__lane--edge::before,
  .tn-drive__lane::before,
  .tn-drive__lane-edge::before {
    animation: none !important;
  }

  .tn-vehicle--flee {
    left: 42%;
    transform: none;
  }

  .tn-vehicle--polis {
    left: 6%;
    transform: none;
  }

  .tn-vehicle--bus {
    left: 8%;
    transform: none;
  }

  .tn-vehicle--moto {
    left: 55%;
    transform: none;
    opacity: 1;
  }
}

.tk-builder-details{margin-top:1.25rem;border:1px solid var(--tn-line,#e2e8f0);border-radius:1rem;background:var(--tn-surface,#fff);padding:0.5rem 1rem 1rem}.tk-builder-details__sum{cursor:pointer;font-weight:700;color:var(--tn-ink,#0f172a);padding:0.75rem 0;list-style:none}.tk-builder-details__sum::-webkit-details-marker{display:none}.tk-band-head--compact{margin-bottom:1rem}.tk-band-head--compact p{margin-bottom:0.35rem}.tk-home .tk-lang-pill--link{text-decoration:none;display:flex;flex-direction:column;gap:0.2rem;border-style:dashed;background:rgba(80,190,151,0.06)}.tk-home .tk-lang-pill--link:hover{border-color:var(--tk-brand-green,#50be97)}

/* AI learning — compact bold luxury strip */
.tn-learning {
  padding: 0.85rem 0 0.55rem;
}

.tn-learning__shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr);
  gap: 0.85rem 1.5rem;
  align-items: center;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(0, 122, 255, 0.22), transparent 55%),
    linear-gradient(145deg, #0b1220 0%, #101a2c 48%, #0c1422 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.tn-learning__kicker {
  margin: 0 0 0.25rem;
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FECC00;
}

.tn-learning__title {
  margin: 0;
  font-size: clamp(1.55rem, 4.2vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.98;
  color: #fff;
}

.tn-learning__lede {
  margin: 0.4rem 0 0;
  max-width: 26rem;
  font-size: 0.8rem;
  line-height: 1.35;
  color: rgba(226, 232, 240, 0.72);
}

.tn-learning__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  min-width: 0;
}

.tn-learning__col {
  padding: 0.65rem 0.7rem;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tn-learning__col h3 {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}

.tn-learning__chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
}

.tn-learning__chips li {
  margin: 0;
  padding: 0.22rem 0.45rem;
  border-radius: 0.45rem;
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1.25;
  color: rgba(241, 245, 249, 0.92);
  background: rgba(0, 122, 255, 0.16);
  border: 1px solid rgba(0, 122, 255, 0.22);
}

@media (max-width: 991.98px) {
  .tn-learning__shell {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
}

@media (max-width: 767.98px) {
  .tn-learning {
    padding: 0.55rem 0 0.35rem;
  }

  .tn-learning__shell {
    padding: 0.85rem 0.9rem;
    border-radius: 0.85rem;
  }

  .tn-learning__title {
    font-size: clamp(1.45rem, 7.5vw, 1.85rem);
  }

  .tn-learning__lede {
    font-size: 0.72rem;
  }

  .tn-learning__grid {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .tn-learning__col {
    padding: 0.55rem 0.6rem;
  }

  .tn-learning__chips li {
    font-size: 0.64rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .tn-learning__shell {
    animation: tnLearningIn 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}

@keyframes tnLearningIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.tn-growth-offer {
  margin: 0.75rem 0 1rem;
  padding: 0.9rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(0, 122, 255, 0.08), transparent 55%),
    #fff;
}

.tn-growth-offer__badge {
  margin: 0 0 0.25rem;
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #007AFF;
}

.tn-growth-offer__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.tn-growth-offer__body,
.tn-growth-offer__legal,
.tn-growth-offer__delta {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #5a6b7d;
}

.tn-growth-offer__legal {
  font-size: 0.72rem;
  color: #64748b;
}

.tk-checkout__growth {
  margin: 0 0 1rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.7rem;
  background: rgba(0, 122, 255, 0.05);
  border: 1px solid rgba(0, 122, 255, 0.12);
}

.tk-checkout__growth-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #007AFF;
}

.tk-checkout__growth-title {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  font-weight: 750;
}

.tk-checkout__growth-msg,
.tk-checkout__growth-legal {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: #64748b;
}

/* Personalized logged-in homepage sales banner */
.tn-sales-banner {
  position: relative;
  z-index: 2;
  margin: -1.5rem 0 0;
  padding: 1.35rem 0 1.5rem;
  background:
    linear-gradient(105deg, rgba(11, 18, 32, 0.96) 0%, rgba(15, 35, 70, 0.94) 55%, rgba(0, 86, 184, 0.88) 100%);
  color: #f8fafc;
  border-block: 1px solid rgba(254, 204, 0, 0.35);
}

.tn-sales-banner--motivate {
  background: linear-gradient(105deg, #0b1220 0%, #12324f 100%);
}

.tn-sales-banner--renew {
  background: linear-gradient(105deg, #1c1917 0%, #7c2d12 70%, #b45309 100%);
}

.tn-sales-banner--convert {
  background: linear-gradient(105deg, #0b1220 0%, #0f3d2e 55%, #147a55 100%);
}

.tn-sales-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.tn-sales-banner__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fecc00;
}

.tn-sales-banner__title {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}

.tn-sales-banner__msg {
  margin: 0.4rem 0 0;
  max-width: 40rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(248, 250, 252, 0.88);
}

.tn-sales-banner__meta {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  color: rgba(254, 204, 0, 0.9);
}

.tn-sales-banner__cta .tn-btn {
  white-space: nowrap;
}

@media (max-width: 720px) {
  .tn-sales-banner {
    margin-top: 0;
  }
  .tn-sales-banner__cta {
    width: 100%;
  }
  .tn-sales-banner__cta .tn-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Logged-in student cockpit — readiness gauge + topic analysis */
.tn-study-cockpit {
  display: grid;
  gap: 1.25rem 1.75rem;
  grid-template-columns: minmax(7rem, 9.5rem) minmax(0, 1fr);
  align-items: start;
  width: 100%;
  max-width: 52rem;
  text-align: start;
}

.tn-study-cockpit__gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

/* Donut base (home does not load app.css tk-result-ring) */
.tn-study-cockpit__ring {
  --tk-pct: 0;
  position: relative;
  width: 8.2rem;
  height: 8.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: conic-gradient(
    #50be97 calc(var(--tk-pct) * 1%),
    rgba(255, 255, 255, 0.18) 0
  );
}

.tn-study-cockpit__ring::before {
  content: "";
  position: absolute;
  inset: 0.85rem;
  border-radius: 50%;
  background: rgba(8, 14, 28, 0.72);
}

.tn-study-cockpit__ring span {
  position: relative;
  z-index: 1;
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
}

.tn-study-cockpit__ring.is-mid {
  background: conic-gradient(
    #f0bf77 calc(var(--tk-pct) * 1%),
    rgba(255, 255, 255, 0.18) 0
  );
}

.tn-study-cockpit__ring.is-low {
  background: conic-gradient(
    #f87171 calc(var(--tk-pct) * 1%),
    rgba(255, 255, 255, 0.18) 0
  );
}

.tn-study-cockpit__brand {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.72);
}

.tn-study-cockpit__kicker {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fecc00;
}

.tn-study-cockpit__title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.15;
}

.tn-study-cockpit__lede {
  margin: 0 0 1rem;
  max-width: 36rem;
  color: rgba(248, 250, 252, 0.88);
  font-size: 1.02rem;
  line-height: 1.45;
}

.tn-study-cockpit__insights {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.tn-study-cockpit__card {
  padding: 0.85rem 0.95rem;
  border-radius: 0.9rem;
  background: rgba(8, 14, 28, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(248, 250, 252, 0.92);
}

.tn-study-cockpit__card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fecc00;
}

.tn-study-cockpit__card ul {
  margin: 0 0 0.45rem;
  padding-inline-start: 1.1rem;
}

.tn-study-cockpit__card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
  color: rgba(226, 232, 240, 0.9);
}

.tn-study-cockpit__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0.7rem 0 0;
}

.tn-study-cockpit__meta dt {
  margin: 0;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(148, 163, 184, 0.95);
}

.tn-study-cockpit__meta dd {
  margin: 0.1rem 0 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}

.tn-journey--cockpit {
  margin: 0 0 1rem;
}

.tn-study-cockpit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.tn-study-cockpit__nudge {
  margin: 0.85rem 0 0;
  padding: 0.7rem 0.85rem;
  border-radius: 0.75rem;
  background: rgba(254, 204, 0, 0.12);
  border: 1px solid rgba(254, 204, 0, 0.35);
  color: #fff7d6;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  max-width: 40rem;
}

@media (max-width: 720px) {
  .tn-study-cockpit {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .tn-study-cockpit__copy {
    width: 100%;
  }
  .tn-study-cockpit__insights {
    grid-template-columns: 1fr;
  }
  .tn-study-cockpit__lede,
  .tn-study-cockpit__nudge {
    margin-inline: auto;
  }
  .tn-study-cockpit__actions {
    justify-content: center;
  }
  .tn-study-cockpit__actions .tn-btn {
    width: 100%;
    justify-content: center;
  }
}

/* —— Public Account dropdown (TN panel) —— */
.tk-navbar .tn-account-panel.dropdown-menu {
  min-width: 17.5rem;
  max-width: min(22rem, calc(100vw - 1.5rem));
  padding: 0.8rem;
  margin-top: 0.45rem;
  border: 1px solid rgba(var(--tn-signal-blue-rgb, 0, 106, 167), 0.16);
  border-radius: 1.1rem;
  background:
    linear-gradient(180deg, rgba(var(--tn-signal-yellow-rgb, 254, 204, 0), 0.1) 0%, transparent 40%),
    var(--tn-surface, #fff);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

.tk-navbar .tn-account-panel__who {
  padding: 0.2rem 0.35rem 0.75rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid rgba(var(--tn-accent-rgb), 0.12);
}

.tk-navbar .tn-account-panel__who--compact {
  text-align: start;
}

.tk-navbar .tn-account-panel__name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--tn-ink, #0f172a);
}

.tk-navbar .tn-account-panel__sub {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  color: var(--tn-ink-muted, #64748b);
}

.tk-navbar .tn-account-menu__label {
  margin: 0.65rem 0.4rem 0.2rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tn-signal-blue, #006AA7);
}

.tk-navbar .tn-account-menu__label:first-child {
  margin-top: 0.1rem;
}

.tk-navbar .tn-account-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0.6rem;
  border-radius: 0.7rem;
  color: var(--tn-ink, #0f172a) !important;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.3;
}

.tk-navbar .tn-account-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.55rem;
  background: rgba(var(--tn-accent-rgb), 0.1);
  color: var(--tn-accent, #007AFF);
  flex: 0 0 auto;
}

.tk-navbar .tn-account-link:hover {
  background: rgba(var(--tn-accent-rgb), 0.1);
}

.tk-navbar .tn-account-link:hover .tn-account-link__icon {
  background: var(--tn-accent, #007AFF);
  color: #fff;
}

.tk-navbar .tn-account-panel__logout {
  margin-top: 0.45rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(var(--tn-accent-rgb), 0.12);
}

.tk-navbar .tn-account-panel__logout .tn-btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 991.98px) {
  .tk-navbar .tn-account-panel.dropdown-menu {
    width: 100%;
    max-width: none;
    background: rgba(255, 255, 255, 0.08);
    border: 0;
    box-shadow: none;
  }

  .tk-navbar .tn-account-panel__name,
  .tk-navbar .tn-account-link {
    color: rgba(248, 250, 252, 0.92) !important;
  }

  .tk-navbar .tn-account-panel__sub,
  .tk-navbar .tn-account-menu__label {
    color: rgba(254, 204, 0, 0.85) !important;
  }

  .tk-navbar .tn-account-link__icon {
    background: rgba(0, 122, 255, 0.22);
    color: #E8F1FF;
  }

  .tk-navbar .tn-account-link:hover {
    background: rgba(0, 122, 255, 0.22) !important;
  }
}

/* —— Logged-in home learning panel —— */
.tn-home-dash {
  padding: 2.75rem 0 1.5rem;
  background:
    radial-gradient(640px 220px at 8% 0%, rgba(var(--tn-signal-yellow-rgb, 254, 204, 0), 0.12), transparent 55%),
    radial-gradient(520px 240px at 92% 10%, rgba(var(--tn-accent-rgb), 0.1), transparent 55%),
    var(--tn-surface-muted, #f8fafc);
}

.tn-home-dash--books {
  padding-top: 1.25rem;
  padding-bottom: 2.75rem;
  background:
    radial-gradient(520px 200px at 90% 0%, rgba(var(--tn-signal-blue-rgb, 0, 106, 167), 0.08), transparent 55%),
    var(--tn-surface, #fff);
}

.tn-home-dash__head {
  margin-bottom: 1.35rem;
  max-width: 40rem;
}

.tn-home-dash__lede {
  margin: 0.45rem 0 0;
  color: var(--tn-ink-muted, #64748b);
  font-size: 1rem;
  line-height: 1.5;
}

.tn-home-dash__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr));
  gap: 0.85rem;
}

.tn-home-dash__card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-height: 5.5rem;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  text-decoration: none;
  color: inherit;
  background: var(--tn-surface, #fff);
  border: 1px solid rgba(var(--tn-accent-rgb), 0.14);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.tn-home-dash__card:hover {
  border-color: rgba(var(--tn-accent-rgb), 0.45);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.tn-home-dash__card--book {
  border-color: rgba(var(--tn-signal-yellow-rgb, 254, 204, 0), 0.35);
}

.tn-home-dash__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(var(--tn-accent-rgb), 0.12);
  color: var(--tn-accent, #007AFF);
  flex: 0 0 auto;
}

.tn-home-dash__card--book .tn-home-dash__icon {
  background: rgba(var(--tn-signal-yellow-rgb, 254, 204, 0), 0.22);
  color: var(--tn-signal-blue, #006AA7);
}

.tn-home-dash__copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  flex: 1 1 auto;
}

.tn-home-dash__copy strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--tn-ink, #0f172a);
  line-height: 1.3;
}

.tn-home-dash__copy span {
  font-size: 0.85rem;
  color: var(--tn-ink-muted, #64748b);
  line-height: 1.4;
}

.tn-home-dash__go {
  color: var(--tn-accent, #007AFF);
  opacity: 0.7;
  margin-top: 0.2rem;
}

html[dir="rtl"] .tn-home-dash__go {
  transform: scaleX(-1);
}

.tn-home-dash__empty {
  padding: 1.25rem 1.35rem;
  border-radius: 1rem;
  background: var(--tn-surface, #fff);
  border: 1px dashed rgba(var(--tn-signal-blue-rgb, 0, 106, 167), 0.28);
}

.tn-home-dash__empty p {
  margin: 0 0 0.85rem;
  color: var(--tn-ink-soft, #1e293b);
}

.tn-home-dash__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tn-home-dash__sub {
  margin-top: 1.5rem;
}

.tn-home-dash__sub h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--tn-ink, #0f172a);
}

.tn-home-dash__chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tn-home-dash__chips a {
  display: inline-flex;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(var(--tn-accent-rgb), 0.1);
  color: var(--tn-signal-blue, #006AA7);
  font-size: 0.85rem;
  font-weight: 650;
  text-decoration: none;
}

.tn-home-dash__chips a:hover {
  background: var(--tn-accent, #007AFF);
  color: #fff;
}

.tn-home-dash__more {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--tn-accent, #007AFF);
}

.tn-home-dash__foot {
  margin: 1.25rem 0 0;
}

.tn-home-dash-news {
  padding-top: 0.5rem;
}

/* ——— Per-area Transportstyrelsen analysis charts ——— */
.tn-area-analysis {
  margin: 0.85rem 0 1.1rem;
  padding: 0.85rem 0.95rem 1rem;
  border-radius: 0.95rem;
  border: 1px solid var(--edu-line, #e2e8f0);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(0, 106, 167, 0.08), transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--edu-cream, #fff9ef) 100%);
}

.tn-area-analysis__head {
  margin-bottom: 0.75rem;
}

.tn-area-analysis__head h2 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--edu-ink, #0b1220);
  letter-spacing: -0.02em;
}

.tn-area-analysis__head p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--edu-muted, #5a6b7d);
  line-height: 1.4;
}

.tn-area-analysis__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.tn-area-analysis__item {
  padding: 0.55rem 0.65rem;
  border-radius: 0.7rem;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.tn-area-analysis__item.is-weak {
  border-color: rgba(220, 80, 80, 0.35);
  background: linear-gradient(180deg, #fff 0%, #fff5f5 100%);
}

.tn-area-analysis__item.is-mid {
  border-color: rgba(240, 191, 119, 0.55);
  background: linear-gradient(180deg, #fff 0%, #fff9ef 100%);
}

.tn-area-analysis__item.is-strong {
  border-color: rgba(80, 190, 151, 0.4);
  background: linear-gradient(180deg, #fff 0%, #f3fbf7 100%);
}

.tn-area-analysis__item.is-empty {
  opacity: 0.88;
}

.tn-area-analysis__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}

.tn-area-analysis__row h3 {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--edu-blue, #006aa7);
  line-height: 1.25;
}

.tn-area-analysis__pct {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--edu-ink, #0b1220);
  font-variant-numeric: tabular-nums;
}

.tn-area-analysis__item.is-weak .tn-area-analysis__pct {
  color: #c43c3c;
}

.tn-area-analysis__item.is-strong .tn-area-analysis__pct {
  color: #1f7a52;
}

.tn-area-analysis__bar {
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.tn-area-analysis__bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--edu-blue, #006aa7), var(--edu-gold, #f0bf77));
  transition: width 280ms ease;
}

.tn-area-analysis__item.is-weak .tn-area-analysis__bar > span {
  background: linear-gradient(90deg, #c43c3c, #f0a0a0);
}

.tn-area-analysis__item.is-strong .tn-area-analysis__bar > span {
  background: linear-gradient(90deg, #1f7a52, #50be97);
}

.tn-area-analysis__note {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--edu-muted, #5a6b7d);
  line-height: 1.35;
}

.tn-area-analysis__meta {
  margin: 0.15rem 0 0;
  font-size: 0.7rem;
  font-weight: 650;
  color: var(--edu-muted, #5a6b7d);
}

.tn-study-cockpit .tn-area-analysis {
  margin: 0.85rem 0 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.tn-study-cockpit .tn-area-analysis__head h2,
.tn-study-cockpit .tn-area-analysis__row h3,
.tn-study-cockpit .tn-area-analysis__pct {
  color: #fff;
}

.tn-study-cockpit .tn-area-analysis__head p,
.tn-study-cockpit .tn-area-analysis__note,
.tn-study-cockpit .tn-area-analysis__meta {
  color: rgba(255, 255, 255, 0.72);
}

.tn-study-cockpit .tn-area-analysis__item {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

@media (min-width: 720px) {
  .tn-area-analysis__list {
    grid-template-columns: 1fr 1fr;
  }
}

.tn-area-analysis__cta {
  margin-top: 0.45rem;
}

.tn-area-analysis__row h3 a {
  color: inherit;
  text-decoration: none;
  font-weight: 800;
}

.tn-area-analysis__row h3 a:hover {
  text-decoration: underline;
}
