@media (min-width: 640px) {
  .container {
    width: min(100% - 48px, var(--container));
  }

  .section {
    padding: 58px 0;
  }

  .hero-panel {
    padding: 40px;
  }

  .hero h1 {
    font-size: 60px;
  }

  .stat-k {
    font-size: 36px;
  }

  .stat-v {
    font-size: 16px;
  }

  .section-heading h2 {
    font-size: 36px;
  }

  .section-heading--lg h2 {
    font-size: 60px;
  }

  .cta-box {
    padding: 64px;
  }

  .cta-box h2 {
    font-size: 48px;
  }

  .faq-question {
    font-size: 18px;
  }

  .page-hero h1 {
    font-size: 60px;
  }

  .solution-copy h2 {
    font-size: 36px;
  }

  .solution-card h3,
  .carousel-copy h3 {
    font-size: 30px;
  }

  .solutions-list {
    gap: 128px;
  }

  .dark-cta {
    padding: 56px;
  }

  .dark-cta h2 {
    font-size: 36px;
  }
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 72px;
  }
}

@media (min-width: 1024px) {
  .container {
    width: min(100% - 64px, var(--container));
  }
  

  .section-heading h2 {
    font-size: 48px;
  }

  .solution-copy h2 {
    font-size: 48px;
  }
}

@media (max-width: 1080px) {
  .desktop-nav,
  .desktop-actions {
    display: none;
  }

  .mobile-toggle {
    display: inline-grid;
    place-items: center;
  }

  .carousel-slide {
    flex-basis: 45%;
  }

  .about-grid,
  .founders-grid,
  .solution-detail-grid,
  .contact-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .solution-detail:nth-child(even) .solution-copy {
    order: 0;
  }

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

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

  .footer-main {
    flex-direction: column;
  }

  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .footer-brand p {
    font-size: 13px;
    line-height: 1.5;
    margin-top: 10px;
  }

  .footer-title {
    font-size: 13px;
  }

  .footer li {
    font-size: 12px;
  }

  .footer ul {
    gap: 8px;
    margin-top: 10px;
  }

  .footer li a {
    overflow-wrap: anywhere;
  }

  .doc-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .hero-symbol {
    display: none;
  }

  .hero-content {
    min-height: 82vh;
    padding: 76px 0;
  }

  .hero-panel {
    border-radius: 24px;
    padding: 28px 20px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p,
  .page-hero p {
    font-size: 16px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    padding: 28px 20px 24px;
  }

  .carousel-slide {
    flex-basis: 75%;
  }

  .solution-card {
    height: 390px;
  }

  .value-grid,
  .security-grid,
  .media-grid,
  .form-grid,
  .meta-grid {
    grid-template-columns: 1fr;
  }

  .founder-list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 16px;
    row-gap: 24px;
  }

  .founder-photo {
    background: var(--navy);
    padding: 10px;
    border-radius: 16px;
  }

  .founder-photo img:first-child {
    border-radius: 12px;
    background: var(--primary);
  }

  .founder-photo img:last-child {
    display: none;
  }

  .founder-photo::after {
    content: "";
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 18px;
    height: 18px;
    border-right: 3px solid var(--primary);
    border-bottom: 3px solid var(--primary);
    pointer-events: none;
  }

  .founder h3 {
    margin: 10px 0 4px;
    font-size: 14px;
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .founder p {
    font-size: 12px;
  }

  .founder a {
    margin-top: 8px;
    color: var(--primary);
  }

  .contact-card {
    margin: 40px 0 56px;
    padding: 28px 20px;
    
    border-radius: 20px;
  }

  .cta-box,
  .dark-cta {
    padding: 32px 22px;
    border-radius: 20px;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .page-hero {
    padding: 72px 0 84px;
  }

  .solutions-list {
    gap: 96px;
    padding: 64px 0;
  }
}

@media (max-width: 639px) {
  .section {
    padding: 32px 0;
  }

  .hero-stats-viewport {
    overflow: hidden;
  }

  .hero-stats-track {
    display: flex;
    gap: 0;
    transition: none;
  }

  .hero-stats-track.is-animating {
    transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .hero-stats-slide {
    flex: 0 0 100%;
    min-width: 0;
    text-align: center;
  }

  .hero-stats-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    background: transparent;
    padding: 0;
  }

  .hero-stats-dots .dot {
    background: rgba(255, 255, 255, 0.32);
  }

  .hero-stats-dots .dot.is-active {
    background: var(--primary);
  }
}

@media (max-width: 480px) {
  .section-heading h2,
  .page-hero h1,
  .document-header h1 {
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .browser-url {
    display: none;
  }

  .footer-links {
    gap: 12px;
  }
}
