/*
 * mobile.css — Site-wide mobile responsiveness overrides
 * Loaded after each page's inline styles and layout.css
 * Breakpoints: 1024px, 768px, 480px
 * Enhanced for better touch interactions and mobile UX
 */

/* ══════════════════════════════════════════════════════════
   GLOBAL — applies to every page
══════════════════════════════════════════════════════════ */
@media only screen and (max-width: 1400px) {
.site-nav-links {
  gap: 20px;
}

}

@media only screen and (max-width: 1199px) {
.site-nav-links {
  gap: 13px;
}
.site-nav {  
  padding: 0 30px;
}

}

@media (max-width: 1024px) {
  /* Hide desktop nav links/actions on all pages */
  nav .nav-links,
  nav .nav-actions,
  nav .nav-ctas {
    display: none !important;
  }

  /* Ensure proper mobile viewport */
  html {
    font-size: 16px;
  }

  /* Prevent horizontal scroll */
  body {
    overflow-x: hidden;
  }
}

@media (max-width: 768px) {
  /* Ensure proper mobile viewport */
  html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
  }

  /* Prevent horizontal scroll */
  body,
  html {
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Section padding reduction */
  section {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  /* Ensure all images are fluid */
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  /* Improve picture element responsiveness */
  picture {
    display: block;
  }

  picture img {
    width: 100%;
    height: auto;
  }

  /* Generic button stretch fix with better touch targets */
  .btn-primary,
  .btn-outline,
  .btn-ghost,
  .btn,
  .site-btn,
  button,
  input[type="button"],
  input[type="submit"] {
    white-space: normal;
    text-align: center;
    min-height: 44px;
    min-width: 44px;
    padding: 12px 24px !important;
  }

  /* Ensure all links have touch-friendly sizes */
  a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* Form elements touch targets */
  input,
  textarea,
  select {
    min-height: 44px;
    padding: 12px 16px;
    font-size: 16px;
  }

  /* Fix textarea height */
  textarea {
    min-height: 120px;
  }

  /* Improve focus states for touch */
  button:focus,
  a:focus,
  input:focus,
  select:focus,
  textarea:focus {
    outline: 2px solid var(--blue, #81A6C6);
    outline-offset: 2px;
  }

  /* Prevent zoom on input focus */
  input,
  textarea,
  select {
    font-size: 16px !important;
  }

  /* Better spacing for touch navigation */
  .site-nav-mobile-links li {
    padding: 4px 0;
  }

  .site-nav-mobile-links a {
    padding: 14px 0 !important;
  }

  /* Improve footer link touch targets without breaking layout */
  .site-footer-links li {
    padding: 0;
    margin-bottom: 10px;
  }

  .site-footer-links a {
    display: inline-block;
    min-height: auto;
    padding: 2px 0;
  }

  /* Social buttons better touch targets */
  .social-btn,
  .site-social-btn {
    min-width: 44px;
    min-height: 44px;
    padding: 8px !important;
  }

  /* Better spacing between interactive elements */
  button + button,
  a + a,
  .btn + .btn {
    margin-left: 8px;
  }
}

@media (max-width: 480px) {
  section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Optimize for smaller screens */
  html {
    font-size: 15px;
  }

  /* Increase minimum touch targets further on very small screens */
  .btn-primary,
  .btn-outline,
  .btn-ghost,
  .btn,
  .site-btn,
  button {
    min-height: 48px;
    padding: 14px 20px !important;
  }

  /* Stack button groups vertically on small screens */
  .hero-actions,
  .cta-actions,
  .cta-btns,
  .download-buttons {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .hero-actions > a,
  .hero-actions > button,
  .cta-actions > a,
  .cta-actions > button,
  .cta-btns > a,
  .cta-btns > button,
  .download-buttons > a,
  .download-buttons > button {
    width: 100% !important;
    max-width: none !important;
  }

  /* Improve form spacing */
  input,
  textarea,
  select {
    width: 100%;
    max-width: 100%;
  }

  /* Social links better spacing */
  .site-footer-socials {
    gap: 8px;
  }

  /* Reduce heading sizes on smallest screens */
  h1,
  h2,
  h3,
  h4 {
    line-height: 1.2 !important;
  }
}


/* ══════════════════════════════════════════════════════════
   MODAL & DIALOG — improves accessibility & mobile experience
══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  /* Dialog/modal improvements */
  dialog,
  [role="dialog"],
  .modal {
    max-width: 100% !important;
    max-height: 100vh !important;
    width: 90vw !important;
    border-radius: 20px !important;
  }

  /* Ensure content doesn't overflow on mobile */
  .modal-content,
  dialog > * {
    max-width: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}


/* ══════════════════════════════════════════════════════════
   TABLES — responsive table handling
══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  table {
    width: 100%;
    font-size: 0.88rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
  }

  thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  tr {
    margin-bottom: 15px;
    border: 1px solid rgba(210, 196, 180, 0.3);
    border-radius: 8px;
    overflow: hidden;
  }

  td {
    position: relative;
    padding-left: 50%;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  td::before {
    content: attr(data-label);
    position: absolute;
    left: 6px;
    font-weight: 600;
    width: 45%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}


/* ══════════════════════════════════════════════════════════
   LISTS & NAVIGATION — mobile list improvements
══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  /* Better spacing for touch on lists */
  ul,
  ol {
    margin: 0;
    padding: 0 0 0 20px;
  }

  li {
    margin-bottom: 10px;
    padding: 8px 0;
  }

  /* Navigation list items */
  nav li,
  nav ul,
  nav ol {
    list-style: none;
  }

  /* Breadcrumb improvements */
  [aria-label="Breadcrumb"],
  .breadcrumb {
    font-size: 0.88rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .breadcrumb li {
    display: inline;
    margin-right: 8px;
  }
}


/* ══════════════════════════════════════════════════════════
   VIDEO & MEDIA — responsive video containers
══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  /* Responsive video container */
  .video-container,
  .embed-container,
  iframe {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
  }

  /* YouTube, Vimeo embeds */
  iframe[src*="youtube"],
  iframe[src*="vimeo"],
  iframe[src*="dailymotion"] {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  /* Better SVG responsiveness */
  svg {
    max-width: 100%;
    height: auto;
  }
}


/* ══════════════════════════════════════════════════════════
   CARDS & GRID LAYOUTS — comprehensive card improvements
══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  /* Generic card collapse */
  .card,
  .card-item,
  [class*="card"],
  [class*="tile"],
  [class*="product"],
  [class*="item"] {
    width: 100%;
  }

  /* Grid to single column */
  .grid,
  .cards,
  [class*="grid"],
  [class*="cards"],
  [class*="product-grid"],
  [class*="item-grid"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Improve spacing inside cards on mobile */
  .card,
  [class*="card"] {
    padding: 20px !important;
    margin-bottom: 16px;
  }

  /* Better card images on mobile */
  .card img,
  [class*="card"] img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
  }
}


/* ══════════════════════════════════════════════════════════
   ACCORDIONS & EXPANDABLE CONTENT
══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  [role="button"].accordion-trigger,
  .accordion-header,
  .faq-question,
  [class*="expand"],
  .collapsible {
    width: 100%;
    padding: 16px !important;
    border-radius: 12px !important;
    margin-bottom: 12px !important;
    font-size: 1rem;
    cursor: pointer;
  }

  .accordion-content,
  .faq-answer,
  [class*="expand"] + *,
  .collapsible + * {
    padding: 16px 20px !important;
    font-size: 0.95rem;
  }
}


/* ══════════════════════════════════════════════════════════
   INDEX PAGE  (#hero, #goals, #how, #product, #app, footer)
══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  /* Index hero */
  #hero {
    padding: 100px 30px 70px !important;
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }

  .hero-visual {
    justify-content: flex-start !important;
  }

  /* Goals */
  .goals-paths {
    grid-template-columns: 1fr !important;
  }

  .goals-divider {
    flex-direction: row !important;
    padding-top: 0 !important;
    padding: 16px 0 !important;
  }

  .divider-line,
  .divider-line-bot {
    width: 60px !important;
    height: 1.5px !important;
  }

  /* How timeline */
  .timeline-row,
  .timeline-row-2 {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .tl-arrow-h {
    display: none !important;
  }

  .timeline-down {
    justify-content: flex-start !important;
    padding-right: 0 !important;
    padding-left: 17px !important;
  }

  /* Product / App */
  .product-layout {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }

  .app-layout {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .app-visual {
    margin-top: 0 !important;
  }

  /* Index inline footer */
  .footer-top {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
  }
}

@media (max-width: 768px) {
  /* Hero */
  #hero {
    padding: 90px 22px 60px !important;
  }

  .hero-title {
    font-size: clamp(1.9rem, 8vw, 2.6rem) !important;
    line-height: 1.15 !important;
  }

  .section-title {
    font-size: clamp(1.7rem, 6vw, 2.2rem) !important;
  }

  .section-intro {
    font-size: 0.95rem !important;
  }

  /* Hero CTA buttons */
  .hero-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .hero-actions > a {
    width: 100% !important;
    max-width: 320px !important;
    margin-inline: auto !important;
    justify-content: center !important;
  }

  /* Float cards — flatten from absolute */
  .float-card {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 10px 0 0 !important;
    animation: none !important;
  }

  /* Goals */
  .goal-path {
    padding: 28px 22px !important;
  }

  .goals-divider {
    display: none !important;
  }

  .goals-footer {
    font-size: 1.1rem !important;
    margin-top: 32px !important;
  }

  /* How it works */
  .how-footer {
    flex-direction: column !important;
    gap: 12px !important;
    padding: 20px !important;
  }

  .how-footer-dot {
    display: none !important;
  }

  .how-footer-text {
    font-size: 1.1rem !important;
  }

  .tl-node {
    min-height: auto !important;
    padding: 20px !important;
  }

  /* Product */
  .product-image-wrap {
    width: min(100%, 320px) !important;
    margin: 0 auto !important;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* App */
  .app-features {
    gap: 10px !important;
  }

  .download-btns {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .phone-float {
    display: none !important;
  }

  /* Index footer */
  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  /* Hero card */
  .hero-card-main {
    width: min(100%, 320px) !important;
    padding: 22px !important;
  }
}

@media (max-width: 480px) {
  #hero {
    padding: 80px 16px 48px !important;
  }

  .hero-title {
    font-size: 1.9rem !important;
  }

  .section-title {
    font-size: 1.6rem !important;
  }

  .hero-badge {
    font-size: 0.7rem !important;
    padding: 6px 14px !important;
  }

  .trust-pill {
    font-size: 0.72rem !important;
    padding: 5px 10px !important;
  }

  .metrics-grid {
    grid-template-columns: 1fr !important;
  }

  .goal-path {
    padding: 22px 16px !important;
  }

  .tl-node {
    padding: 16px !important;
  }

  .hero-card-main {
    padding: 20px !important;
    width: 100% !important;
  }

  .metric-row {
    grid-template-columns: 1fr !important;
  }

  .download-area,
  .cta-band,
  .cta-card {
    padding: 24px 16px !important;
  }
}


/* ══════════════════════════════════════════════════════════
   ABOUT PAGE  (#editorial-hero, #who-we-are, etc.)
══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  #editorial-hero {
    padding: 100px 40px 60px !important;
  }

  /* about.php hero container already collapses at 1200px via inline styles */
}

@media (max-width: 768px) {
  #editorial-hero,
  #who-we-are,
  #mission-manifesto,
  #principles,
  #human-support,
  #vision {
    padding: 60px 22px !important;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 2.8rem) !important;
  }

  .hero-subtitle {
    font-size: 1.05rem !important;
  }

  .hero-desc {
    font-size: 0.95rem !important;
  }

  /* Who we are */
  .story-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .story-content h2 {
    font-size: 2rem !important;
  }

  .story-content p {
    font-size: 1rem !important;
  }

  .story-visual-premium {
    height: 420px !important;
    background: #fdfaf6 !important; /* Lighter background for contain fit */
  }

  /* Mission */
  .mission-statement {
    font-size: clamp(1.5rem, 5vw, 2rem) !important;
  }

  /* Principles */
  .principles-grid {
    grid-template-columns: 1fr !important;
  }

  .principle-item {
    padding: 32px 28px !important;
  }

  /* Human support */
  .support-layout {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .support-visual-mosaic {
    height: auto !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
  }

  .mosaic-panel {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 120px !important;
    padding: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    transform: none !important; /* Remove any desktop centering transforms */
    background: white !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
  }

  .panel-icon {
    font-size: 2.2rem !important;
    margin-bottom: 8px !important;
  }

  .support-content h2 {
    font-size: 2rem !important;
  }

  /* Vision */
  .vision-container h2 {
    font-size: 2rem !important;
  }

  .vision-closing {
    padding: 32px 0 0 !important;
    margin-top: 40px !important;
  }

  /* About footer */
  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    gap: 16px !important;
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  #editorial-hero,
  #who-we-are,
  #mission-manifesto,
  #principles,
  #human-support,
  #vision {
    padding: 48px 16px !important;
  }

  .support-visual-mosaic {
    grid-template-columns: 1fr !important;
  }

  .hero-visual-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .floating-card.card-1,
  .floating-card.card-2,
  .floating-card.card-3 {
    margin: 0 !important;
  }
}


/* ══════════════════════════════════════════════════════════
   CONTACT PAGE  (#hero, #contact-options, #contact-form, etc.)
══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  /* Contact hero: already has 1-col at 768px via inline, just fix padding */
  #hero {
    padding: 80px 22px 60px !important;
  }

  .hero-title {
    font-size: clamp(1.9rem, 7vw, 2.6rem) !important;
    line-height: 1.15 !important;
  }

  .hero-visual {
    min-height: 200px !important;
  }

  .hero-illustration-inner {
    width: 180px !important;
    height: 180px !important;
    font-size: 3rem !important;
  }

  .hero-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .hero-actions > a {
    width: 100% !important;
    max-width: 320px !important;
    margin-inline: auto !important;
    justify-content: center !important;
  }

  /* Contact section padding */
  section {
    padding: 60px 22px !important;
  }

  /* Contact cards already collapse via inline */
  .section-title {
    font-size: clamp(1.7rem, 6vw, 2.2rem) !important;
  }

  /* CTA */
  .cta-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .cta-actions > a {
    width: 100% !important;
    max-width: 320px !important;
    margin-inline: auto !important;
    justify-content: center !important;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
}

@media (max-width: 480px) {
  #hero {
    padding: 80px 16px 48px !important;
    min-height: auto !important;
  }

  .hero-illustration {
    display: none !important;
  }

  .hero-visual {
    display: none !important;
  }

  section {
    padding: 48px 16px !important;
  }

  .btn-submit {
    width: 100% !important;
    padding: 14px 20px !important;
  }
}


/* ══════════════════════════════════════════════════════════
   PRODUCT PAGE  (no major layout changes needed, filling gaps)
══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  /* Hero product */
  .hero-text {
    padding: 90px 22px 60px !important;
  }

  .hero-h1 {
    font-size: clamp(1.9rem, 7vw, 2.6rem) !important;
  }

  .hero-btns {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .hero-btns > a {
    width: 100% !important;
    max-width: 320px !important;
    margin-inline: auto !important;
    justify-content: center !important;
  }

  .hero-trust {
    flex-wrap: wrap !important;
    gap: 4px !important;
  }

  /* Hide data chips on small screens to prevent overflow */
  .dc {
    display: none !important;
  }

  /* Feat strip: 5 → 2 columns */
  .feat-strip {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Metrics: 4 → 2 */
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Overview top */
  .overview-top {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px !important;
  }

  .overview-top-right {
    max-width: 100% !important;
  }

  /* Why section */
  .why-wrap {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .why-stats {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Who cards */
  .who-cards {
    grid-template-columns: 1fr !important;
  }

  /* Support ecosystem */
  .eco {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .eco-hub-col {
    flex-direction: row !important;
    padding: 12px 0 !important;
  }

  .eco-line {
    width: 20px !important;
    height: 2px !important;
  }

  /* App header */
  .app-header-row {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .app-feat-grid {
    grid-template-columns: 1fr !important;
  }

  /* App phone band */
  .app-phone-band {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    padding: 30px 20px !important;
  }

  .app-phone-center {
    display: none !important;
  }

  .app-band-right {
    flex-direction: row !important;
    flex-wrap: wrap !important;
  }

  /* Store pills */
  .store-pill {
    width: 100% !important;
    justify-content: center !important;
  }

  /* How wrap */
  .how-wrap {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .how-left {
    position: static !important;
  }

  .hdc-devices {
    flex-direction: column !important;
    align-items: center !important;
  }

  /* Banner/CTA */
  .banner-inner {
    padding: 0 !important;
  }

  .cta-card {
    padding: 40px 24px !important;
  }

  .cta-btns,
  .hero-btns {
    flex-direction: column !important;
    align-items: center !important;
  }

  .cta-btns > a,
  .hero-btns > .btn {
    width: 100% !important;
    max-width: 320px !important;
    justify-content: center !important;
  }

  /* Footer */
  .ft {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
  }
}

@media (max-width: 480px) {
  .hero-visual {
    min-height: 320px !important;
  }

  .feat-strip {
    grid-template-columns: 1fr !important;
  }

  .metrics-grid {
    grid-template-columns: 1fr !important;
  }

  .why-stats {
    grid-template-columns: 1fr !important;
  }

  .ws-wide {
    grid-column: span 1 !important;
  }

  .s-title,
  .hero-h1 {
    font-size: 1.7rem !important;
  }

  .ft {
    grid-template-columns: 1fr !important;
  }

  .ft-bot {
    flex-direction: column !important;
    gap: 12px !important;
    align-items: flex-start !important;
  }

  .cta-card {
    padding: 32px 16px !important;
  }
}


/* ══════════════════════════════════════════════════════════
   PERSONAL TRAINING PAGE  (fills gaps below 1024px)
══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  /* Hero */
  .hero-inner {
    padding: 80px 22px !important;
  }

  .hero-h1 {
    font-size: clamp(2rem, 8vw, 3rem) !important;
  }

  .hero-sub {
    font-size: 1rem !important;
  }

  .hero-btns {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .hero-btns > a {
    width: 100% !important;
    max-width: 320px !important;
    justify-content: center !important;
  }

  .hero-chips {
    gap: 8px !important;
  }

  .hero-ring {
    display: none !important;
  }

  /* Section padding */
  #statement,
  #process,
  #included,
  #comparison,
  #pricing,
  #who,
  #faq,
  #cta,
  #proof {
    padding: 60px 22px !important;
  }

  /* Statement closing */
  .statement-closing {
    font-size: 1.1rem !important;
    padding: 32px 0 0 !important;
  }

  /* Process timeline */
  .tl-item {
    grid-template-columns: 48px 1fr !important;
  }

  .tl-left,
  .tl-empty {
    display: none !important;
  }

  .tl-right {
    grid-column: 2 !important;
    padding: 0 0 0 20px !important;
    text-align: left !important;
  }

  .tl-center {
    align-items: flex-start !important;
    padding-top: 14px !important;
  }

  .timeline::before {
    left: 24px !important;
  }

  /* Included */
  .included-wrap {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* Comparison */
  .comp-cols {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .comp-benefits {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr !important;
    max-width: 440px !important;
    margin: 0 auto !important;
  }

  /* Who */
  .who-strip {
    grid-template-columns: 1fr 1fr !important;
    border-radius: 16px !important;
  }

  .who-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(210, 196, 180, .2) !important;
  }

  .who-item:nth-child(odd) {
    border-right: 1px solid rgba(210, 196, 180, .2) !important;
  }

  /* Proof */
  .proof-stats {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .proof-quotes {
    grid-template-columns: 1fr !important;
  }

  /* FAQ */
  .faq-wrap {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .faq-left {
    position: static !important;
  }

  /* CTA band */
  .cta-band {
    padding: 50px 22px !important;
  }

  .cta-title {
    font-size: clamp(1.8rem, 6vw, 2.4rem) !important;
  }

  .cta-btns {
    flex-direction: column !important;
    align-items: center !important;
  }

  .cta-btns > a {
    width: 100% !important;
    max-width: 320px !important;
    justify-content: center !important;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .footer-bot {
    flex-direction: column !important;
    gap: 12px !important;
    align-items: flex-start !important;
  }
}

@media (max-width: 480px) {
  #statement,
  #process,
  #included,
  #comparison,
  #pricing,
  #who,
  #faq,
  #cta,
  #proof {
    padding: 48px 16px !important;
  }

  .hero-inner {
    padding: 80px 16px !important;
  }

  .hero-h1 {
    font-size: 1.9rem !important;
  }

  .comp-benefits {
    grid-template-columns: 1fr !important;
  }

  .who-strip {
    grid-template-columns: 1fr !important;
  }

  .who-item {
    border-right: none !important;
  }

  .who-item:nth-child(odd) {
    border-right: none !important;
  }

  .proof-stats {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .plan-head,
  .plan-features {
    padding: 24px 20px !important;
  }

  .cta-band {
    padding: 40px 16px !important;
  }

  .feat-icon-col {
    min-height: 180px !important;
    padding: 20px !important;
  }

  .feat-text-col {
    padding: 24px 20px !important;
  }
}


/* ══════════════════════════════════════════════════════════
   APP PAGE  (app.php if it exists)
══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .app-hero-title,
  .app-header-title {
    font-size: clamp(1.9rem, 7vw, 2.6rem) !important;
  }

  .app-phone-band {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    padding: 30px 20px !important;
  }

  .download-buttons,
  .download-btns {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .download-buttons > a,
  .download-btns > a {
    width: 100% !important;
    max-width: 320px !important;
    justify-content: center !important;
  }
}


/* ══════════════════════════════════════════════════════════
   SHARED SITE NAV  (site-nav used in layout.css pages)
   layout.css already handles this, but safe to reinforce
══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .site-nav {
    height: 60px !important;
    padding: 0 16px !important;
  }

  .site-nav-logo img {
    width: 80px !important;
  }
}
