@media (max-width: 768px) {
  html { scroll-padding-top: 78px; }
  body { overflow-x: hidden; }
  .site-header { position: sticky; top: 0; z-index: 1000; padding: 12px 16px; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); box-shadow: 0 10px 28px rgba(16,43,74,.08); }
  .site-logo-header { max-width: 188px; height: auto; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(15,159,152,.25); background: #ecfffd; color: #0a5f5b; font-weight: 800; }
  .site-header nav { position: fixed; left: 12px; right: 12px; top: 72px; display: none; flex-direction: column; gap: 8px; padding: 14px; border: 1px solid rgba(15,159,152,.22); border-radius: 24px; background: #fff; box-shadow: 0 24px 60px rgba(9,37,63,.18); }
  .site-header nav.is-open { display: flex; }
  .site-header nav a { width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 16px; font-weight: 800; }
  .site-header nav .nav-button { margin-top: 4px; }
  .hero-premium { grid-template-columns: 1fr; padding: 26px 18px 20px; gap: 18px; text-align: left; }
  .hero-copy .eyebrow { font-size: 11px; }
  .hero-copy h1 { font-size: clamp(34px, 10vw, 48px); line-height: .96; letter-spacing: -1.5px; margin: 10px 0; }
  .hero-lead { font-size: 16px; line-height: 1.55; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
  .hero-actions .button { width: 100%; min-height: 52px; }
  .trust-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
  .trust-strip span { padding: 10px 9px; text-align: center; font-size: 12px; }
  .hero-showcase { min-height: auto; }
  .smartphone-shell { max-width: 270px; margin: 0 auto; transform: rotate(-2deg); }
  .phone-bezel { border-radius: 34px; padding: 10px; }
  .phone-screen { min-height: 430px; padding: 24px 20px; border-radius: 26px; }
  .phone-screen h2 { font-size: 38px; }
  .hero-bottom-panels { position: static; grid-template-columns: 1fr; gap: 12px; margin-top: 14px; }
  .domain-qr-card, .domain-link-card { width: 100%; text-align: center; }
  .domain-qr-card img { width: 122px; margin: 8px auto 0; }
  .proof-band { grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 16px; padding: 12px; border-radius: 22px; }
  .proof-band article { padding: 12px; }
  .process-section, .occasions-section, .dashboard-preview, .plans-section { padding: 34px 16px; }
  .section-heading { margin-bottom: 18px; }
  .section-heading h2 { font-size: clamp(27px, 8vw, 36px); }
  .process-timeline { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .process-timeline article { display: grid; grid-template-columns: 76px 1fr; gap: 4px 14px; padding: 16px; align-items: start; }
  .process-timeline article span { grid-column: 2; width: max-content; }
  .process-timeline article h3, .process-timeline article p { grid-column: 2; margin: 0; }
  .process-graphic { grid-row: 1 / span 3; grid-column: 1; width: 68px; height: 68px; display: flex; align-items: center; justify-content: center; }
  .process-graphic img { max-width: 60px; max-height: 60px; }
  .occasion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .occasion-grid article { padding: 14px; min-height: 142px; }
  .dashboard-preview { grid-template-columns: 1fr; gap: 18px; }
  .dashboard-window { order: -1; }
  .plans-grid { grid-template-columns: 1fr; gap: 12px; }
  footer, .site-footer { padding: 24px 16px; text-align: center; }
}

@media (max-width: 430px) {
  .site-logo-header { max-width: 165px; }
  .proof-band, .occasion-grid { grid-template-columns: 1fr; }
  .phone-screen { min-height: 390px; }
  .phone-screen h2 { font-size: 33px; }
}

/* v1.53 mobile width containment fix */
@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  img,
  svg,
  video,
  canvas {
    max-width: 100%;
    height: auto;
  }

  .site-header,
  .hero,
  .hero-premium,
  .proof-band,
  .process-section,
  .occasions-section,
  .dashboard-preview,
  .plans-section,
  .final-cta,
  .site-footer,
  footer {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .site-logo-header {
    min-width: 0;
    max-width: min(170px, 58vw);
  }

  .menu-toggle {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .hero-premium {
    margin: 0;
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .hero-copy,
  .hero-showcase,
  .hero-actions,
  .trust-strip,
  .hero-bottom-panels,
  .domain-qr-card,
  .domain-link-card {
    min-width: 0;
    max-width: 100%;
  }

  .hero-copy .eyebrow,
  .section-heading .eyebrow,
  .eyebrow {
    display: inline-flex;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    line-height: 1.35;
  }

  .hero-copy h1,
  .section-heading h2,
  .hero-lead,
  .process-timeline article p,
  .occasion-grid article p {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero-copy h1 {
    font-size: clamp(33px, 9.4vw, 44px);
    line-height: 1.02;
    letter-spacing: -1.2px;
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-actions .button,
  .button,
  .button-secondary {
    max-width: 100%;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip span {
    min-width: 0;
    overflow-wrap: break-word;
  }

  .smartphone-shell {
    width: min(82vw, 270px);
    max-width: 100%;
    transform: none;
  }

  .phone-bezel,
  .phone-screen {
    width: 100%;
    max-width: 100%;
  }

  .phone-screen {
    min-height: 360px;
  }

  .phone-screen h2 {
    font-size: clamp(30px, 9vw, 36px);
    line-height: 1.05;
  }
}

@media (max-width: 430px) {
  .hero-premium {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-copy h1 {
    font-size: clamp(31px, 9vw, 39px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .smartphone-shell {
    width: min(78vw, 255px);
  }
}

/* v1.54 mobile homepage cleanup */
@media (max-width: 768px) {
  .site-header nav .mobile-nav-hide,
  .domain-qr-card,
  .proof-band,
  .occasions-section,
  .plans-section {
    display: none !important;
  }

  .site-header nav {
    gap: 7px;
  }

  .hero-premium {
    padding-top: 22px;
    padding-bottom: 18px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy .eyebrow {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 10px;
    letter-spacing: .12em;
    padding: 8px 11px;
  }

  .hero-copy h1 {
    margin-top: 12px;
    margin-bottom: 10px;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
    max-width: 35rem;
  }

  .hero-actions {
    margin-top: 16px;
  }

  .hero-bottom-panels {
    display: block;
    margin-top: 8px;
  }

  .domain-link-card {
    padding: 14px 16px;
  }

  .domain-link-card span {
    font-size: 10px;
  }

  .domain-link-card strong {
    font-size: 15px;
  }

  .domain-link-card p {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.45;
  }

  .process-section {
    padding: 26px 14px 30px;
  }

  .process-section .section-heading {
    text-align: center;
    margin: 0 auto 14px;
    max-width: 34rem;
  }

  .process-section .section-heading h2 {
    font-size: clamp(25px, 7.5vw, 32px);
    line-height: 1.08;
    margin: 8px 0 8px;
  }

  .process-section .section-heading p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0 auto;
  }

  .process-timeline {
    gap: 10px;
  }

  .process-timeline article {
    grid-template-columns: 58px 1fr;
    gap: 2px 12px;
    padding: 13px 14px;
    border-radius: 20px;
  }

  .process-timeline article span {
    font-size: 11px;
    padding: 5px 8px;
  }

  .process-timeline article h3 {
    font-size: 16px;
    line-height: 1.15;
  }

  .process-timeline article p {
    font-size: 13px;
    line-height: 1.42;
  }

  .process-graphic {
    width: 52px;
    height: 52px;
  }

  .process-graphic img {
    max-width: 46px;
    max-height: 46px;
  }

  .dashboard-preview {
    margin-top: 6px;
  }

  .final-cta {
    margin-top: 0;
    padding: 30px 16px;
  }
}

@media (max-width: 430px) {
  .process-section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .process-timeline article {
    grid-template-columns: 52px 1fr;
    padding: 12px;
  }

  .process-graphic {
    width: 48px;
    height: 48px;
  }

  .process-graphic img {
    max-width: 42px;
    max-height: 42px;
  }
}

/* v1.55 mobile homepage layout correction */
@media (max-width: 768px) {
  main {
    overflow: hidden;
  }

  .hero-premium {
    padding-bottom: 12px;
    gap: 12px;
  }

  .hero-showcase {
    margin-top: 0;
  }

  .domain-link-card {
    margin: 8px auto 0;
    border-radius: 20px;
  }

  .process-section {
    padding: 22px 14px 24px;
  }

  .process-section .section-heading {
    margin-bottom: 12px;
  }

  .process-section .section-heading .eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .process-timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 520px;
    margin: 0 auto;
  }

  .process-timeline article {
    display: grid;
    grid-template-columns: 64px 42px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: auto;
    padding: 12px;
    text-align: left;
    border-radius: 18px;
    overflow: visible;
  }

  .process-graphic {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 58px;
    height: 58px;
    margin: 0;
    border-radius: 18px;
  }

  .process-graphic img {
    max-width: 46px;
    max-height: 46px;
  }

  .process-timeline article span {
    grid-column: 2;
    grid-row: 1;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    font-size: 12px;
    line-height: 1;
  }

  .process-timeline article h3 {
    grid-column: 3;
    grid-row: 1;
    margin: 0;
    font-size: 16px;
    line-height: 1.18;
    text-align: left;
  }

  .process-timeline article p {
    grid-column: 2 / 4;
    grid-row: 2;
    margin: 2px 0 0;
    font-size: 13px;
    line-height: 1.38;
    text-align: left;
  }

  .dashboard-preview {
    display: block;
    padding: 18px 14px 22px;
    margin-top: 0;
  }

  .dashboard-window {
    display: none !important;
  }

  .dashboard-copy {
    max-width: 520px;
    margin: 0 auto;
    padding: 22px 18px;
    border-radius: 24px;
    background: linear-gradient(145deg, #073d3b 0%, #087b73 100%);
    color: #ffffff;
    box-shadow: 0 18px 42px rgba(7, 61, 59, .22);
    text-align: left;
  }

  .dashboard-copy .eyebrow {
    display: inline-flex;
    background: rgba(255,255,255,.14);
    color: #dffffb;
  }

  .dashboard-copy h2 {
    margin: 12px 0 8px;
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.06;
    color: #ffffff;
  }

  .dashboard-copy p {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255,255,255,.82);
  }

  .dashboard-copy ul {
    display: grid;
    gap: 6px;
    margin: 0 0 16px 18px;
    padding: 0;
    color: rgba(255,255,255,.9);
    font-size: 14px;
    line-height: 1.35;
  }

  .dashboard-copy .button {
    width: 100%;
    min-height: 48px;
    padding: 13px 16px;
    border-radius: 999px;
  }

  .final-cta {
    margin: 0 14px 18px;
    padding: 22px 16px;
    border-radius: 24px;
  }

  .final-cta .eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .final-cta h2 {
    font-size: clamp(28px, 7.5vw, 36px);
    line-height: 1.05;
    margin: 10px 0 8px;
  }

  .final-cta p {
    font-size: 15px;
    line-height: 1.45;
    margin-bottom: 16px;
  }

  .site-footer {
    margin-top: 0;
    padding: 20px 16px;
  }

  .site-footer p {
    max-width: 280px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.35;
  }
}

@media (max-width: 430px) {
  .process-timeline article {
    grid-template-columns: 56px 34px minmax(0, 1fr);
    gap: 8px;
    padding: 11px;
  }

  .process-graphic {
    width: 52px;
    height: 52px;
  }

  .process-graphic img {
    max-width: 42px;
    max-height: 42px;
  }

  .process-timeline article span {
    width: 32px;
    height: 32px;
    font-size: 11px;
  }

  .process-timeline article h3 {
    font-size: 15px;
  }

  .process-timeline article p {
    font-size: 12.5px;
  }

  .dashboard-copy {
    padding: 20px 16px;
  }
}

/* v1.56 mobile menu and homepage layout correction */
@media (max-width: 768px) {
  body.nav-open { overflow: hidden; }

  .site-header {
    min-height: 70px;
    overflow: visible !important;
  }

  .menu-toggle {
    position: relative;
    z-index: 1003;
  }

  .menu-toggle::after {
    content: '☰';
    margin-left: 8px;
    font-size: 17px;
    line-height: 1;
  }

  .menu-toggle.is-open::after {
    content: '×';
    font-size: 22px;
  }

  .site-header nav[data-main-nav] {
    position: fixed !important;
    top: 76px !important;
    left: 14px !important;
    right: 14px !important;
    z-index: 1002 !important;
    display: none !important;
    width: auto !important;
    max-width: calc(100vw - 28px) !important;
    padding: 12px !important;
    border-radius: 22px !important;
    background: #ffffff !important;
    box-shadow: 0 22px 58px rgba(13, 43, 61, .2) !important;
    border: 1px solid rgba(15,159,152,.18) !important;
  }

  .site-header nav[data-main-nav].is-open {
    display: flex !important;
  }

  .site-header nav[data-main-nav] a {
    min-height: 46px;
    padding: 11px 14px;
    border-radius: 15px;
    background: #f6fbfb;
    color: #102331;
  }

  .site-header nav[data-main-nav] .nav-button {
    background: linear-gradient(135deg, #0f9f98, #13bfb4) !important;
    color: #ffffff !important;
  }

  .hero-premium {
    padding: 22px 16px 18px !important;
    gap: 14px !important;
    text-align: center !important;
  }

  .hero-copy h1 {
    font-size: clamp(32px, 9vw, 42px) !important;
    line-height: 1.04 !important;
    letter-spacing: -1.35px !important;
    margin: 12px auto 10px !important;
  }

  .hero-lead {
    font-size: 15px !important;
    line-height: 1.5 !important;
    margin-bottom: 14px !important;
  }

  .hero-actions {
    gap: 9px !important;
    margin-top: 12px !important;
  }

  .hero-actions .button {
    min-height: 50px !important;
    padding: 13px 16px !important;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 12px !important;
  }

  .trust-strip span {
    font-size: 11.5px !important;
    padding: 9px 8px !important;
  }

  .hero-showcase {
    display: block !important;
    min-height: 0 !important;
    margin-top: 8px !important;
  }

  .smartphone-shell {
    width: min(74vw, 250px) !important;
    max-width: 250px !important;
    margin: 0 auto !important;
    transform: none !important;
  }

  .phone-bezel {
    width: 100% !important;
    padding: 9px !important;
    border-radius: 34px !important;
  }

  .phone-screen {
    min-height: 335px !important;
    padding: 20px 16px !important;
    border-radius: 25px !important;
  }

  .phone-status {
    margin-bottom: 18px !important;
  }

  .event-badge {
    padding: 7px 10px !important;
    font-size: 11px !important;
  }

  .phone-screen h2 {
    font-size: 30px !important;
    margin: 40px 0 9px !important;
  }

  .phone-screen p {
    font-size: 14px !important;
  }

  .upload-drop {
    margin: 18px 0 14px !important;
    padding: 18px 12px !important;
    border-radius: 18px !important;
    font-size: 13px !important;
  }

  .phone-gallery span {
    height: 44px !important;
    border-radius: 12px !important;
  }

  .domain-link-card {
    display: none !important;
  }

  .process-section {
    padding: 24px 14px 22px !important;
  }

  .process-section .section-heading {
    margin: 0 auto 14px !important;
    max-width: 360px !important;
    text-align: center !important;
  }

  .process-section .section-heading h2 {
    font-size: clamp(25px, 7vw, 31px) !important;
    line-height: 1.08 !important;
    margin: 8px 0 !important;
  }

  .process-section .section-heading p {
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  .process-timeline {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    max-width: 460px !important;
    margin: 0 auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  .process-timeline article {
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto !important;
    column-gap: 13px !important;
    row-gap: 4px !important;
    align-items: center !important;
    min-height: 0 !important;
    padding: 14px !important;
    border: 1px solid rgba(15,159,152,.14) !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    box-shadow: 0 12px 30px rgba(16, 35, 49, .07) !important;
    text-align: left !important;
    overflow: visible !important;
  }

  .process-timeline article + article,
  .process-timeline article:nth-child(3),
  .process-timeline article:nth-child(4) {
    border-left: 1px solid rgba(15,159,152,.14) !important;
    border-top: 1px solid rgba(15,159,152,.14) !important;
  }

  .process-graphic,
  .process-icon-card {
    grid-column: 1 !important;
    grid-row: 1 / span 3 !important;
    width: 58px !important;
    height: 58px !important;
    margin: 0 !important;
    border-radius: 18px !important;
  }

  .process-graphic img,
  .process-icon-card img {
    width: 42px !important;
    height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
  }

  .process-timeline article > span {
    position: static !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: max-content !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 4px 9px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    line-height: 1.1 !important;
  }

  .process-timeline article h3 {
    grid-column: 2 !important;
    grid-row: 2 !important;
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    text-align: left !important;
  }

  .process-timeline article p {
    grid-column: 2 !important;
    grid-row: 3 !important;
    margin: 1px 0 0 !important;
    font-size: 13px !important;
    line-height: 1.38 !important;
    text-align: left !important;
  }

  .dashboard-preview {
    margin: 8px 14px 18px !important;
    padding: 0 !important;
    background: none !important;
    box-shadow: none !important;
  }

  .dashboard-copy {
    padding: 20px 16px !important;
    border-radius: 24px !important;
  }

  .dashboard-copy h2 {
    font-size: clamp(25px, 7.5vw, 32px) !important;
  }

  .dashboard-copy p,
  .dashboard-copy li {
    font-size: 13.5px !important;
  }

  .final-cta {
    margin: 0 14px 18px !important;
    padding: 22px 16px !important;
    border-radius: 24px !important;
  }
}

@media (max-width: 430px) {
  .hero-premium {
    padding-left: 13px !important;
    padding-right: 13px !important;
  }

  .trust-strip {
    grid-template-columns: 1fr !important;
  }

  .smartphone-shell {
    width: min(72vw, 235px) !important;
  }

  .process-section {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .process-timeline article {
    grid-template-columns: 52px minmax(0, 1fr) !important;
    column-gap: 11px !important;
    padding: 12px !important;
  }

  .process-graphic,
  .process-icon-card {
    width: 52px !important;
    height: 52px !important;
  }

  .process-graphic img,
  .process-icon-card img {
    width: 38px !important;
    height: 38px !important;
  }
}

/* v1.57 mobile bottom section width fix */
@media (max-width: 768px) {
  .dashboard-preview,
  .final-cta {
    width: auto !important;
    max-width: calc(100vw - 28px) !important;
    margin-left: 14px !important;
    margin-right: 14px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: visible !important;
  }

  .dashboard-preview {
    display: block !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    margin-top: 10px !important;
    margin-bottom: 18px !important;
  }

  .dashboard-preview .dashboard-window {
    display: none !important;
  }

  .dashboard-preview .dashboard-copy,
  .final-cta {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    border-radius: 24px !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  .dashboard-preview .dashboard-copy {
    margin: 0 !important;
    padding: 20px 16px !important;
  }

  .dashboard-preview .dashboard-copy h2,
  .final-cta h2 {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }

  .dashboard-preview .dashboard-copy .button,
  .final-cta .button {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .final-cta {
    text-align: center !important;
    padding: 22px 16px !important;
    margin-top: 0 !important;
    margin-bottom: 18px !important;
  }
}

@media (max-width: 380px) {
  .dashboard-preview,
  .final-cta {
    max-width: calc(100vw - 20px) !important;
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

  .dashboard-preview .dashboard-copy,
  .final-cta {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}

/* v1.58 mobile CTA width correction */
@media (max-width: 768px) {
  .final-cta {
    display: block !important;
    width: auto !important;
    max-width: calc(100vw - 28px) !important;
    margin-left: 14px !important;
    margin-right: 14px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .final-cta > * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}
@media (max-width: 380px) {
  .final-cta {
    max-width: calc(100vw - 20px) !important;
    margin-left: 10px !important;
    margin-right: 10px !important;
  }
}
