/* =========================
   Global layout
   ========================= */

   main .content {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
  
  .page-index .page-columns,
  .page-team .page-columns {
    grid-template-columns:
      minmax(1rem, 1fr)
      minmax(0, 1400px)
      minmax(1rem, 1fr);
  }
  
  .anchorjs-link {
    display: none !important;
  }
  
  
  /* =========================
     Navbar
     ========================= */
  
  .navbar .navbar-brand {
    display: flex;
    align-items: center;
  }
  
  .navbar-brand .navbar-logo {
    height: 44px !important;
    width: auto;
  }
  
  
  /* =========================
     Home
     ========================= */
  
  .hero {
    align-items: center;
    margin-top: 0.75rem;
    row-gap: 1.25rem;
  }
  
  .kicker {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    opacity: 0.7;
    margin-bottom: 0.6rem;
  }
  
  .hero h1 {
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 0.85rem;
  }
  
  .hero p {
    font-size: 1.05rem;
    opacity: 0.9;
    max-width: 80ch;
  }
  
  @media (max-width: 768px) {
    .hero p {
      max-width: 56ch;
    }
  }
  
  .hero-illustration {
    width: 130%;
    max-width: none;
    height: auto;
    display: block;
  }
  
  
  /* =========================
     Buttons
     ========================= */
  
  .cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.1rem;
  }
  
  .btn-primary,
  .btn-secondary {
    display: inline-block;
    padding: 0.65rem 0.95rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.12);
  }
  
  .btn-primary {
    background: rgba(0, 0, 0, 0.92);
    color: white;
  }
  
  .btn-primary:hover {
    background: rgba(0, 0, 0, 1);
  }
  
  .btn-secondary {
    background: rgba(255, 255, 255, 0.7);
    color: rgba(0, 0, 0, 0.9);
  }
  
  .btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
  }
  
  
  /* =========================
     Card system (Feature / Teaser / Note / Team)
     ========================= */
  
  .feature-card,
  .teaser-card,
  .note-card,
  .team-card {
    /* border: 1px solid rgba(0, 0, 0, 0.12); */
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
  }
  
  .feature-grid,
  .teaser-grid {
    margin-top: 1.4rem;
    row-gap: 1rem;
  }
  
  .feature-card,
  .teaser-card {
    padding: 1.15rem 1.15rem;
  }
  
  .feature-card h3,
  .teaser-card h3 {
    margin-top: 0;
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
  }
  
  .feature-card p {
    margin: 0;
    opacity: 0.85;
  }
  
  .note-grid {
    margin-top: 0.9rem;
  }
  
  .note-card {
    padding: 1rem 1.15rem;
  }
  
  .teaser-card {
    display: flex;
    flex-direction: column;
  }
  
  .teaser-card .card-links {
    margin-top: auto;
    padding-top: 0.75rem;
  }
  
  .teaser-card .card-links a {
    display: inline-block;
    margin-right: 1.25rem;
    margin-bottom: 0.25rem;
    font-weight: 500;
    text-decoration: none;
  }
  
  
  /* =========================
     Team page
     ========================= */
  
  .team-grid {
    margin-top: 1rem;
    row-gap: 1.25rem;
    column-gap: 1.25rem;
    justify-items: center;
  }
  
  .team-card {
    width: 100%;
    max-width: 420px;
    padding: 1.1rem 1.15rem;
  
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .team-card span {
    display: block;
  }
  
  .team-avatar {
    width: 250px;
    height: 250px;
    border-radius: 999px;
    object-fit: cover;
    object-position: center;
    border: 1px solid rgba(0, 0, 0, 0.14);
    margin-bottom: 0.75rem;
  }
  
  .team-name {
    font-weight: 650;
    margin: 0;
    margin-bottom: 0;
    line-height: 0.95;
    font-size: 1.4rem;
  }
  
  .team-role {
    margin-top: -0.15rem;
    line-height: 0;
    opacity: 0.78;
    font-size: 1.15rem;
  }
  
  .team-meta {
    margin-top: 0.5rem;
    font-size: 0.92rem;
    opacity: 0.82;
  }
  
  @media (max-width: 480px) {
    .team-card {
      max-width: 360px;
      padding: 1.05rem 1rem;
    }
  
    .team-avatar {
      width: 168px;
      height: 168px;
    }
  }
  
  
  /* =========================
     Footer
     ========================= */
  
  .page-footer,
  footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 0;
    padding: 1.5rem 0;
    font-size: 0.9rem;
  }
  
  .footer-block {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    max-width: 980px;
  }
  
  .footer-logo {
    height: 96px;
    width: auto;
    flex-shrink: 0;
  }
  
  .footer-text {
    line-height: 1.45;
    opacity: 0.9;
  }
  
  .footer-text strong {
    font-weight: 600;
  }
  
  .page-footer-center {
    opacity: 0.75;
  }
  
  @media (max-width: 640px) {
    .footer-block {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .page-footer-center {
      text-align: left;
      margin-top: 1rem;
    }
  }