@media (min-width: 1500px) {
  .hero-content.page-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: clamp(150px, 10vw, 240px);
    padding-right: clamp(56px, 4vw, 96px);
  }
}

@media (max-width: 1350px){
  .radiant-orb {
    right: 0px;
  }
}

@media (max-width: 1050px) {
  .story-section,
  .warehouse-section,
  .pricing-story,
  .faq-section {
      grid-template-columns: 1fr;
      gap: 65px;
  }
  .story-copy,
  .warehouse-copy,
  .pricing-copy {
      max-width: 760px;
  }
  .workflow-grid {
      grid-template-columns: repeat(3, 1fr);
  }
  .workflow-card:nth-child(2),
  .workflow-card:nth-child(5) {
      transform: none;
  }
  .capability-grid {
      grid-template-columns: repeat(2, 1fr);
  }
  .audience-grid {
      grid-template-columns: repeat(2, 1fr);
  }
  .audience-grid article:nth-child(2) {
      border-right: 0;
  }
  .audience-grid article:nth-child(-n + 2) {
      border-bottom: 1px solid var(--line);
  }
  .faq-heading {
      position: static;
  }

  /* ---------- Mobile hamburger menu ---------- */
  .nav-toggle {
      display: flex;
      position: relative;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 5px;
      width: 42px;
      height: 42px;
      border-radius: 10px;
      border: 1px solid rgba(255, 255, 255, 0.35);
      background: rgba(255, 255, 255, 0.08);
      cursor: pointer;
      z-index: 100;
      flex-shrink: 0;
  }
  .nav-toggle span {
      width: 20px;
      height: 2px;
      background: #fff;
      border-radius: 2px;
      transition:
          transform 0.3s ease,
          opacity 0.3s ease;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
      opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
  }
  .nav-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(10, 5, 25, 0.55);
      z-index: 50;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.35s ease;
  } 
  .nav-backdrop.is-open {
      opacity: 1;
      pointer-events: auto;
  }
  .mobile-nav {
      position: fixed;
      top: 0;
      right: -14px;
      height: 100%;
      width: min(320px, 84%);
      background: linear-gradient(165deg, #1b1044, #2a1264 70%);
      z-index: 60;
      transform: translateX(100%);
      transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      padding: 100px 30px 40px;
      box-shadow: -20px 0 60px rgba(10, 5, 30, 0.35);
      flex-direction: column;
      min-height: 100vh;
      min-height: 100dvh; 
      display: none !important;
  }
  .site-header nav a {
    font-size: 16px;
  }
  .mobile-nav.is-open,
  .mobile-nav.is-open .shopify-menu {
      transform: translateX(0);
      /* display: block; */
      overflow: hidden;
      display: flex !important;
      flex-wrap: wrap;
  }
  .site-header nav,
  ul.shopify-menu {
    justify-content: start;
    align-items: self-start;
    gap: 24px;
  }
  .mobile-nav.is-open .shopify-menu li {
    display: block;
    width: 100%;
  }

  body.nav-open {
      overflow: hidden;
  }
  .story-points > div {
      grid-template-columns: 14px 1fr;
      gap: 10px;
  }
  .pricing-story {
    padding-top: 30px;
  }
  .price-card {
    left: 20px;
  }
  .migration-banner .button-white {
    min-width: 220px;
  }
  .site-header {
    justify-content: flex-end;
  }
}
@media (max-width: 760px) {
  .page-shell {
      width: min(100% - 32px, 1180px);
  }
  .site-header {
      width: calc(100% - 28px);
      height: 70px;
  }
  .brand img {
      width: 130px;
      height: 44px;
  }
  .site-header .button {
      min-height: 38px;
      padding: 0 14px;
  }
  .hero {
    min-height: auto;
    padding: 100px 0px 60px 0px;
  }
  .hero-proof {
    margin-top: 25px;
  }
  .hero-image {
      object-position: 63% center;
  }
  .hero-overlay {
      background: linear-gradient(90deg, rgba(20, 9, 57, 0.96), rgba(25, 11, 67, 0.75)),
          linear-gradient(0deg, rgba(18, 8, 45, 0.8), transparent);
  }
  .hero-content {
      padding-top: 50px;
  }
  .hero h1 {
      font-size: 36px;
      margin-bottom: 20px;
  }
  .hero-actions {
    margin-top: 20px;
  }
  .hero-actions .text-link {
    justify-content: center;
  }
  .hero-content > p {
      font-size: 16px;
      line-height: 1.4;
  }
  .hero-actions,
  .cta-actions {
      align-items: stretch;
      flex-direction: column;
  }
  .hero-proof {
      width: 100%;
  }
  .hero-proof div {
      min-width: 0;
      flex: 1;
      padding-right: 12px;
      margin-right: 12px;
  }
  .trust-grid {
      grid-template-columns: 1fr 1fr;
      padding: 40px 0;
      gap: 12px;
  }
  .system-pill strong {
    font-size: 14px;
  }
  .trust-intro {
      grid-column: 1 / -1;
  }
  .connector {
      display: none;
  }
  .system-pill {
      min-width: 0;
  }
  .story-section,
  .warehouse-section,
  .pricing-story,
  .audience-section,
  .faq-section {
      padding-top: 90px;
      padding-bottom: 90px;
  }
  h2 {
      font-size: 28px;
  }
  .lede, .section-heading > p, .warehouse-copy > p, .pricing-copy > p {
    font-size: 16px;
    line-height: 1.5;
  }
  .story-visual {
      padding-bottom: 30px;
  }
  .floating-stat {
      right: 8px;
  }
  .workflow-section,
  .capability-section,
  .product-showcase {
      padding: 90px 0;
  }
  .workflow-grid {
      grid-template-columns: repeat(2, 1fr);
  }
  .workflow-card {
      min-height: 215px;
  }
  .split-heading {
      grid-template-columns: 1fr;
      gap: 16px;
  }
  .capability-grid {
      grid-template-columns: 1fr;
  }
  .showcase-tabs {
      overflow-x: auto;
      justify-content: flex-center;
      padding-bottom: 5px;
      flex-wrap: wrap;
  }
  .showcase-details {
      grid-template-columns: 1fr;
      gap: 24px;
      padding: 0 12px;
  }
  .price-card {
      left: 12px;
  }
  .scale-section {
      min-height: 850px;
      align-items: flex-start;
      padding-top: 100px;
  }
  .scale-bg {
      object-position: 65% center;
  }
  .scale-content h2 {
      font-size: 42px;
  }
  .scale-path {
      grid-template-columns: 1fr;
      gap: 8px;
  }
  .scale-path > i {
      transform: rotate(90deg);
      width: fit-content;
  }
  .audience-grid {
      grid-template-columns: 1fr;
  }
  .audience-grid article {
      border-right: 0;
      border-bottom: 1px solid var(--line);
      min-height: 230px;
  }
  .audience-grid article:last-child {
      border-bottom: 0;
  }
  .audience-grid h3 {
      margin-top: 55px;
  }
  .migration-inner {
      padding: 70px 0;
      flex-direction: column;
      align-items: flex-start;
  }
  .migration-inner h2 {
      font-size: 37px;
  }
  .faq-heading h2 {
      font-size: 44px;
  }
  .final-cta-inner {
      min-height: 670px;
  }
  .final-cta h2 {
      font-size: 49px;
  }
  .footer-inner {
      padding: 28px 0;
      flex-wrap: wrap;
  }
  .footer-inner p {
      order: 3;
      width: 100%;
  }
  .radiant-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    right: 0px;
    top: 75px;
  }
  .site-header {
    gap:15px;
  }
  .workflow-card:nth-child(2), .workflow-card:nth-child(5) {
    position: initial;
  }
  .story-points {
    gap: 10px;
  }
  .story-section, .warehouse-section, .pricing-story, .audience-section, .faq-section {
      padding-top: 60px;
      padding-bottom: 60px;
  }
  .story-points {
    margin-top: 20px;
  }
  .story-section {
    gap: 20px;
    padding-bottom: 100px !important;
  }
  .workflow-card {
    min-height: auto;
  }
  .workflow-card h3 {
      margin: 26px 0 10px;
      font-size: 18px;
  }
  .workflow-result {
    gap: 20px;
    margin-top: 30px;
  }
  .workflow-section, .capability-section, .product-showcase {
      padding: 60px 0px;
  }
  .section-heading.centered {
    margin-bottom: 30px;
  }
  .photo-panel::before {
    left: -8px;
    bottom: -8px;
  }
  .warehouse-section {
    gap: 40px;
  }
  .role-list {
    margin-top: 20px;
  }
  .split-heading > p {
    padding-bottom: 0px;
  }
  .capability-card a {
    margin-top: auto;
    position: initial;
  }
  .capability-card {
    display: flex;
    flex-direction: column;
  }
  .capability-card p {
    padding-bottom: 15px;
  }
  .capability-card h3 {
    margin: 50px 0 14px;
    font-size: 22px;
  }
  .capability-card {
    min-height: auto;
    padding: 24px;
  }
  .showcase-details {
    margin-top: 30px;
    gap: 20px;
  }
  .product-showcase {
      padding-bottom: 20px !important;
  }
  .pricing-copy ul {
    margin-top: 20px;
  }
  .pricing-story {
    gap: 30px;
    padding-bottom: 100px !important;
  }
  .price-card strong {
    margin: 9px 0 10px;
  }
  .scale-section {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 60px;
  }
  .scale-content h2 {
    font-size: 28px;
  }
  .scale-content > p {
    font-size: 16px;
    line-height: 1.5;
  }
  .scale-path {
    margin-top: 30px;
  }
  .scale-path {
    grid-template-columns: 1fr auto;
  }
  .audience-grid article {
    padding: 20px;
    min-height: auto;
  }
  .audience-grid h3 {
    margin-top: 18px;
    font-size: 20px;
    margin-bottom: 10px;
  }
  .audience-grid p {
    margin-bottom: 0px;
  }
  .migration-inner h2 {
      font-size: 28px;
      line-height: 1.3;
  }
  .migration-inner p {
    line-height: 1.5;
    font-size: 16px;
  }
  .migration-inner {
    gap: 22px;
  }
  .faq-heading h2 {
    font-size: 28px;
  }
  .faq-heading p{
    line-height: 1.5;
    margin-top: 0px;
  }
  .inline-link {
    margin-top: 5px;
  }
  .faq-section {
    gap:25px
  }
  .faq-list summary {
    line-height: 1.3;
    padding: 20px 0px;
  }
  .faq-list details p {
    margin-bottom: 20px;
    line-height: 1.5;
  }
  .faq-list summary span {
      min-width: 20px;
      text-align: center;
      height: 26px;
  }
  .final-cta h2 {
    font-size: 28px;
  }
  .final-cta-inner {
    min-height: auto;
    padding: 70px 0px;
  }
  .final-cta-inner > p {
    font-size: 16px;
    line-height: 1.5;
  }
  .cta-actions {
    margin-top: 26px;
  }
  .contact-line {
    margin-top: 30px;
  }
  .footer-inner a {
    margin-left: auto;
  }
  .footer-inner {
    gap: 10px;
  }
}
@media (max-width: 700px) {
  .hero-content.page-shell {
    width: calc(100% - 36px);
  }
}
@media (max-width: 430px) {
  .story-section, .warehouse-section, .pricing-story, .audience-section, .faq-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
.story-points > div {
    grid-template-columns: 18px 1fr;
    gap: 6px;
}
  .site-header .button {
    padding: 4px 12px;
    font-size: 10px;
    gap:5px;
  }
  .site-header {
    gap: 10px;
  }
  .site-header .button span {
      font-size: 14px;
  }
  .hero h1 {
      font-size: 36px;
  }
  .hero-proof {
      gap: 10px;
  }
  .hero-proof div {
      padding-right: 4px;
      margin-right: 4px;
  }
  .hero-proof strong {
      font-size: 13px;
  }
  .workflow-grid {
      grid-template-columns: 1fr;
  }
  .workflow-section, .capability-section, .product-showcase {
    gap:60px 
  }
  .story-points {
    margin-top: 20px;
    display: grid;
    gap: 14px;
 }
 .workflow-section, .capability-section, .product-showcase {
    padding: 60px 0;
 }
 .story-section {
  gap:25px
 }
 .section-heading.centered {
  margin-bottom: 30px;
 }
 .workflow-result {
  gap: 12px;
  margin-top: 24px;
 }
 .hero-content {
      padding-top: 40px;
  }
  .split-heading {
    margin-bottom: 20px;
  }
  .scale-content h2 {
    font-size: 32px;
  }
  .scale-path {
    margin-top: 30px;
  }
  .scale-section {
    padding-top:60px;
    min-height: auto;
    padding-bottom: 30px;
  }
  .audience-grid article {
    padding:24px
  }
  .radiant-orb {
    width: 200px;
    height: 300px;
    top: 30px;
  }
  .workflow-top i {
    transform: rotate(90deg);
  }
}

@media (max-width: 350px) {
  .brand img {
    width: 110px;
  }
  .trust-grid {
      grid-template-columns: 1fr;
      padding: 20px 0;
      gap: 12px;
  }
  .workflow-result {
      justify-content: start;
      flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
      scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
      transition-duration: 0.01ms !important;
  }
}
@media (max-width: 1280px) {
 .hero {
    padding-left: 20px;
    padding-right: 20px;
 }
}
@media (max-width: 760px) {
 .hero {
    padding-left: 0px;
    padding-right: 0px;
 }
}
