:root{
  --site-font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --site-font-display: "Lora GFK", Georgia, "Times New Roman", serif;
}

body{
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
}

.home-return{
  position: fixed;
  right: clamp(16px, 2vw, 30px);
  bottom: 14px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(226, 164, 95, 0.42);
  border-radius: 999px;
  color: #f4f4f2 !important;
  background: rgba(8, 11, 14, 0.9);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font: 650 13px/1 var(--site-font-sans);
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.home-return:hover{
  transform: translateY(-2px);
  border-color: rgba(226, 164, 95, 0.78);
  background: rgba(18, 21, 24, 0.96);
}

.home-return:focus-visible{
  outline: 2px solid rgba(226, 164, 95, 0.72);
  outline-offset: 3px;
}

.home-return-arrow{
  color: #e2a45f;
  font-size: 17px;
  line-height: 1;
}

.home-page,
.editorial-page,
.utility-page{
  font-family: var(--site-font-sans);
}

.home-page,
.editorial-page{
  font-size: 16px;
  line-height: 1.58;
  letter-spacing: -0.008em;
}

.home-page .nav a,
.editorial-page .nav a,
.home-page .mobile-panel a,
.editorial-page .mobile-panel a{
  font-size: 14px;
  font-weight: 620;
  letter-spacing: -0.012em;
}

.home-page .btn,
.editorial-page .btn{
  font-size: 14px;
  font-weight: 680;
}

.home-page .hero-title{
  font-family: var(--site-font-display);
  font-size: clamp(54px, 5.25vw, 78px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.048em;
}

.editorial-page .hero-title,
.editorial-page .section-head h1{
  font-family: var(--site-font-display);
  font-size: clamp(46px, 4.6vw, 68px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.042em;
}

.editorial-page .lead{
  max-width: 62ch;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.58;
  letter-spacing: -0.012em;
}

.editorial-page .section-head h2,
.case-page .article-section h2,
.case-page .result-panel h2{
  font-family: var(--site-font-display);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.032em;
}

.projects-page .metric strong{
  font-size: clamp(20px, 1.55vw, 25px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.projects-page .metric span{
  font-size: 14px;
  line-height: 1.5;
}

.models-page .tools-tabs a,
.directories-page .tools-tabs a{
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.models-page .model-card h3,
.models-page .model-card strong,
.directories-page .directory-page-links .btn{
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.models-page .model-card p,
.models-page .model-card li,
.directories-page .directory-intro p,
.directories-page .directory-shell p{
  font-size: 14.5px;
  line-height: 1.55;
}

.models-page .pill,
.models-page .card-kicker,
.directories-page .pill,
.directories-page .card-kicker{
  font-size: 12.5px;
  line-height: 1.25;
}

.case-page .article-hero h1{
  max-width: 19ch;
  font-size: clamp(46px, 4.7vw, 68px);
  line-height: 1.01;
  letter-spacing: -0.043em;
}

.case-page .article-hero .lead{
  max-width: 68ch;
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.58;
}

.case-page .article-note{
  max-width: 78ch;
  font-size: 15px;
  line-height: 1.62;
}

.case-page .article-section p{
  max-width: 76ch;
  font-size: 18px;
  line-height: 1.72;
  letter-spacing: -0.006em;
}

.case-page .result-item strong{
  font-size: 26px;
  letter-spacing: -0.025em;
}

.case-page .result-item span{
  font-size: 14px;
  line-height: 1.48;
}

.utility-page{
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.006em;
}

.utility-page h1{
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.utility-page h2{
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.utility-page button,
.utility-page input,
.utility-page select,
.utility-page textarea{
  font-family: inherit;
}

.model-app-page{
  font-size: 14px;
  line-height: 1.5;
}

.model-app-page h1{
  font-size: clamp(25px, 2.1vw, 32px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.model-app-page h2,
.model-app-page .card h2{
  font-size: 19px;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.model-app-page h3,
.model-app-page .card h3{
  font-size: 16px;
  line-height: 1.22;
  letter-spacing: -0.012em;
}

.model-app-page label,
.model-app-page .label,
.model-app-page .muted,
.model-app-page .sub,
.model-app-page .hint,
.model-app-page .small{
  font-size: 13px;
  line-height: 1.45;
}

.model-app-page .tag,
.model-app-page .pill,
.model-app-page .badge{
  font-size: 12.5px;
}

@media (max-width: 760px){
  .home-page .hero-title{
    font-size: clamp(42px, 12vw, 54px);
    line-height: 1;
  }

  .editorial-page .hero-title,
  .editorial-page .section-head h1,
  .case-page .article-hero h1{
    font-size: clamp(38px, 10.5vw, 48px);
    line-height: 1.02;
  }

  .editorial-page .lead,
  .case-page .article-hero .lead{
    font-size: 17px;
  }

  .case-page .article-section p{
    font-size: 17px;
    line-height: 1.66;
  }

  .projects-page .metric strong{
    font-size: 21px;
  }

  .model-app-page{
    font-size: 13.5px;
  }

  .model-app-page h1{
    font-size: 24px;
  }
}
