/* =========================================================
   SHARED DESIGN SYSTEM
   Tokens, base, nav, buttons, modal, footer, motion
   ========================================================= */

:root {
  --tm-bg: #ffffff;
  --tm-bg-soft: #fcfcfa;
  --tm-bg-alt: #f7f7f4;
  --tm-surface: #ffffff;
  --tm-surface-2: #fbfaf7;

  --tm-text: #111111;
  --tm-muted: #5f5f5b;
  --tm-muted-2: #7a7a75;

  --tm-border: #e4e2da;
  --tm-border-strong: #cdcbc2;

  --tm-orange: #ff6b35;
  --tm-orange-dark: #e4572e;
  --tm-blue: #4f7cff;
  --tm-blue-soft: #eaf0ff;
  --tm-green: #16a34a;
  --tm-green-soft: #eaf8ef;
  --tm-purple: #7c3aed;
  --tm-purple-soft: #f2ebff;
  --tm-grey: #6b7280;
  --tm-grey-soft: #f3f4f6;

  --tm-shell: 1160px;

  --tm-radius-sm: 10px;
  --tm-radius: 16px;
  --tm-radius-lg: 20px;

  --tm-shadow: 0 1px 2px rgba(17, 17, 17, 0.04);
  --tm-shadow-soft: 0 12px 28px rgba(17, 17, 17, 0.06);
  --tm-shadow-glow: 0 8px 24px rgba(79, 124, 255, 0.08);

  --tm-space-1: 8px;
  --tm-space-2: 12px;
  --tm-space-3: 16px;
  --tm-space-4: 24px;
  --tm-space-5: 32px;
  --tm-space-6: 48px;
  --tm-space-7: 64px;
  --tm-space-8: 96px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: var(--tm-text);
  background: linear-gradient(180deg, #ffffff 0%, #fbfbf8 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.tm-page {
  overflow: clip;
}

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


/* =========================================================
   Logo / NAV
   ========================================================= */

.tm-logo-mark {
  height: 28px;
  width: auto;
  display: block;
}

.tm-brand {
  display: inline-flex;
  align-items: center;
}

.tm-logo-mark--designed {
  overflow: visible;
}

.tm-brand:hover .tm-logo-mark--designed {
  transform: translateY(-0.5px);
}

.tm-brand:hover .tm-logo-mark--designed circle:nth-of-type(2) {
  filter: drop-shadow(0 0 6px rgba(228, 87, 46, 0.22));
}

/* =========================================================
   TOPBAR / NAV
   ========================================================= */

.tm-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(228, 226, 218, 0.9);
}

.tm-topbar__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.tm-brand {
  flex: 0 0 auto;
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--tm-text);
  white-space: nowrap;
}

.tm-nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-left: auto;
  flex-wrap: wrap;
  padding: 6px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.035);
  border: 1px solid rgba(17, 17, 17, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.tm-nav::before {
  content: "";
  position: absolute;
  inset: -8px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0) 70%);
  filter: blur(10px);
  opacity: 0.7;
  pointer-events: none;
  z-index: -1;
}


.tm-nav__link--section.is-active-section::after {
  content: "/";
  display: inline-block;
  margin-left: 4px; /* was 6–8px */
  color: var(--tm-orange-dark);
  font-weight: 800;
  transform: translateY(-0.5px);
}


.tm-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--tm-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.tm-nav__link:hover {
  color: var(--tm-text);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.tm-nav__link.is-active {
  color: var(--tm-text);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.tm-nav__link--partner {
  position: relative;
  font-weight: 600;
  color: var(--tm-text);
  background: rgba(255, 107, 53, 0.06);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.tm-nav__link--partner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  padding: 1px;
  background: linear-gradient(120deg, transparent, #ff6b35, transparent, #ff6b35, transparent);
  background-size: 300% 300%;
  animation: tm-border-flow 6s linear infinite;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
}

.tm-nav__link--section {
  position: relative;
}

.tm-nav__link--section.is-active-section {
  color: var(--tm-text);
}

.tm-nav__link--section.is-active-section::after {
  content: "/";
  display: inline-block;
  margin-left: 6px;
  color: var(--tm-orange-dark);
  font-weight: 800;
  transform: translateY(-0.5px);
}

.tm-topbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.tm-signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--tm-border);
  background: #fff;
  color: var(--tm-text);
  text-decoration: none;
  box-shadow: var(--tm-shadow);
}

.tm-signin__icon {
  width: 18px;
  height: 18px;
}

.tm-menu-toggle {
  display: none;
  appearance: none;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(17, 17, 17, 0.03);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.tm-menu-toggle:hover {
  background: #ffffff;
  border-color: rgba(17, 17, 17, 0.12);
  transform: translateY(-1px);
}

.tm-menu-toggle__line {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--tm-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.tm-nav__link--signin-mobile {
  display: none;
}

/* =========================================================
   SHARED UI
   ========================================================= */

.tm-kicker {
  margin: 0 0 16px;
  color: var(--tm-orange-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tm-display {
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 5vw, 4.65rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.tm-lead {
  margin: 0;
  font-size: 1.08rem;
  color: var(--tm-muted);
  max-width: 640px;
}

.tm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--tm-space-3);
  margin-top: var(--tm-space-5);
}

.tm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

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

.tm-btn:focus,
.tm-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.22), 0 10px 24px rgba(228, 87, 46, 0.12);
}

.tm-btn--primary {
  background: var(--tm-orange);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(228, 87, 46, 0.18);
}

.tm-btn--primary:hover {
  background: var(--tm-orange-dark);
}

.tm-btn--secondary {
  background: #ffffff;
  color: var(--tm-text);
  border-color: var(--tm-border-strong);
}

.tm-btn--secondary:hover {
  border-color: #b8b8b3;
  box-shadow: var(--tm-shadow);
}

.tm-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--tm-text);
  text-decoration: none;
  font-weight: 600;
  line-height: 1.2;
  transition: color 0.15s ease;
}

.tm-link--arrow::after {
  content: "→";
  display: inline-block;
  font-size: 0.95rem;
  transition: transform 0.15s ease;
}

.tm-link:hover {
  color: var(--tm-orange-dark);
}

.tm-link--arrow:hover::after {
  transform: translateX(3px);
}

.tm-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--tm-border);
  color: var(--tm-muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.tm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tm-section {
  padding: 88px 0;
}

.tm-section--alt {
  background: linear-gradient(180deg, rgba(247, 247, 244, 0.8), rgba(255, 255, 255, 0.94));
  border-top: 1px solid rgba(228, 226, 218, 0.6);
  border-bottom: 1px solid rgba(228, 226, 218, 0.6);
}

.tm-section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.tm-section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.tm-section-heading p:last-child {
  margin: 0;
  color: var(--tm-muted);
  font-size: 1.03rem;
}

/* =========================================================
   MODAL
   ========================================================= */

.tm-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
}

.tm-modal.is-visible {
  display: block;
}

.tm-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.tm-modal__panel {
  position: relative;
  width: 500px;
  max-width: 92%;
  margin: 120px auto;
  padding: 34px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.tm-modal__intro {
  margin-bottom: 22px;
  color: var(--tm-muted);
}

.tm-modal__close {
  position: absolute;
  right: 16px;
  top: 12px;
  border: none;
  background: none;
  font-size: 26px;
  cursor: pointer;
}

.tm-form-field {
  margin-bottom: 18px;
}

.tm-form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.tm-form-field input,
.tm-form-field textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

/* =========================================================
   CTA BAND
   ========================================================= */

.tm-cta-band {
  padding: 84px 0 96px;
}

.tm-cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding: 40px 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 115, 43, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 115, 43, 0.05), rgba(111, 82, 255, 0.04)),
    #fffdfa;
  box-shadow: 0 20px 60px rgba(17, 24, 39, 0.06);
}

.tm-cta-band__content h2 {
  margin: 0 0 12px;
}

.tm-cta-band__content p:last-child {
  margin-bottom: 0;
  max-width: 720px;
}

.tm-cta-band__inner .tm-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

/* =========================================================
   FOOTER
   ========================================================= */

.tm-footer {
  margin-top: 120px;
  padding: 80px 0 48px;
  border-top: 1px solid var(--tm-border);
  background: #fafaf8;
}

.tm-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 80px;
}

.tm-footer__logo {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.tm-footer__tagline {
  font-size: 0.95rem;
  color: var(--tm-muted);
  max-width: 420px;
  margin-bottom: 24px;
  line-height: 1.5;
}

.tm-footer__cta {
  margin-top: 6px;
}

.tm-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.tm-footer__heading {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tm-muted);
  margin-bottom: 14px;
}

.tm-footer__column a {
  display: block;
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--tm-text);
  margin-bottom: 10px;
  transition: opacity 0.2s ease;
}

.tm-footer__column a:hover {
  opacity: 0.6;
}

.tm-footer__partner {
  font-weight: 600;
  color: #ff6b35;
}

.tm-footer__bottom {
  margin-top: 60px;
  padding-top: 22px;
  border-top: 1px solid var(--tm-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--tm-muted);
}

.tm-footer__credit a {
  text-decoration: none;
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.45);
  transition: color 0.2s ease;
}

.tm-footer__credit a:hover {
  color: rgba(0, 0, 0, 0.7);
}

/* =========================================================
   REVEAL
   ========================================================= */

.tm-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.tm-reveal--delay-1 {
  transition-delay: 0.12s;
}

/* =========================================================
   MOTION
   ========================================================= */

@keyframes tm-border-flow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 980px) {
  .tm-topbar__inner {
    min-height: auto;
    padding: 16px 0;
    flex-wrap: wrap;
    align-items: center;
  }

  .tm-nav__link--section.is-active-section::after {
  margin-left: 8px;
}

  .tm-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
    padding-top: 4px;
  }

  .tm-topbar__actions {
    margin-left: auto;
  }

  .tm-footer__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .tm-footer__nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .tm-cta-band__inner {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .tm-cta-band__inner .tm-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .tm-shell {
    width: min(calc(100% - 28px), var(--tm-shell));
  }

  .tm-topbar {
    transition: transform 0.28s ease, opacity 0.28s ease;
  }

  .tm-topbar.is-hidden-mobile {
    transform: translateY(-100%);
  }

  .tm-topbar__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px 0 12px;
  }

  .tm-brand {
    font-size: 1rem;
  }

  .tm-menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .tm-topbar__actions {
    display: none;
  }

  .tm-nav {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    margin-top: 6px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(17, 17, 17, 0.06);
    box-shadow: 0 12px 28px rgba(17, 17, 17, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  }

  .tm-topbar.is-menu-open .tm-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tm-topbar.is-menu-open .tm-menu-toggle__line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .tm-topbar.is-menu-open .tm-menu-toggle__line:nth-child(2) {
    opacity: 0;
  }

  .tm-topbar.is-menu-open .tm-menu-toggle__line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .tm-nav__link {
    min-height: 48px;
    width: 100%;
    padding: 0 14px;
    font-size: 0.96rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 17, 17, 0.035);
    border: 1px solid rgba(17, 17, 17, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  }

  .tm-nav__link.is-active {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(17, 17, 17, 0.08);
    box-shadow: 0 1px 2px rgba(17, 17, 17, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  }

  .tm-nav__link--partner {
    min-height: 48px;
  }

  .tm-nav__link--signin-mobile {
    display: inline-flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
  }

  .tm-nav__link--signin-mobile .tm-signin__icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
  }

  .tm-footer__nav {
    grid-template-columns: 1fr;
  }

  .tm-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .tm-btn {
    width: 100%;
  }
}



.tm-panel-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(107, 114, 128, 0.55);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.tm-panel-link:hover {
  color: #111827;
  transform: translateY(-1px);
}

.tm-hero-panel__footer {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.tm-break {
  display: none;
}

@media (min-width: 768px) {
  .tm-break {
    display: block;
  }
}



.tm-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0A66C2; /* LinkedIn blue */
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.tm-footer__social-link:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}