/* Mobile-only presentation. Desktop styles remain unchanged. */
.mobile-hero-copy,
.mobile-scene-brand,
.mobile-diary-promise {
  display: none;
}

/* Language selector and Indian-script typography. */
.language-switcher {
  position: relative;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 5px 9px;
  border: 1px solid #d8b55a66;
  border-radius: 8px;
  background: #06251dcc;
  color: #f5df9e;
  box-shadow: 0 8px 24px #001a1252;
  backdrop-filter: blur(10px);
}

.language-switcher span {
  color: #e3bd5c;
  font-size: .82rem;
  font-weight: 900;
}

.language-switcher select {
  max-width: 105px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: 750 .76rem/1.2 Inter, "Noto Sans Devanagari", "Noto Sans Telugu", system-ui, sans-serif;
  cursor: pointer;
}

.language-switcher select option {
  background: #08271f;
  color: #fff;
}

.language-switcher-side {
  margin: 0 0 17px 40px;
  align-self: flex-start;
}

.language-switcher-mobile {
  position: absolute;
  top: 24px;
  left: 32px;
  display: inline-flex;
}

html[lang="hi"] body,
html[lang="te"] body {
  font-family: "Noto Sans Devanagari", "Noto Sans Telugu", Inter, "Segoe UI", system-ui, sans-serif;
}

html[lang="hi"] h1,
html[lang="hi"] h2,
html[lang="te"] h1,
html[lang="te"] h2 {
  font-family: "Noto Sans Devanagari", "Noto Sans Telugu", Georgia, serif;
  letter-spacing: -.025em;
  line-height: 1.08;
}

@media (max-width: 650px) {
  .language-switcher-side {
    display: none;
  }

  .language-switcher-mobile {
    position: absolute;
    top: 10px;
    left: auto;
    right: 10px;
    display: inline-flex;
    min-height: 32px;
    padding: 4px 7px;
    border-radius: 999px;
  }

  .language-switcher-mobile span {
    display: none;
  }

  .language-switcher-mobile select {
    max-width: 75px;
    font-size: .67rem;
  }

  html[lang="hi"] .mobile-hero-copy h1,
  html[lang="te"] .mobile-hero-copy h1 {
    max-width: 330px;
    font-size: clamp(1.45rem, 6.8vw, 1.8rem);
    line-height: 1.08;
  }

  html[lang="hi"] .billing-heading h2,
  html[lang="te"] .billing-heading h2 {
    font-size: clamp(2.25rem, 10vw, 3rem);
    line-height: 1.08;
  }
}

.mobile-dock,
.mobile-module-menu {
  display: none;
}

.hero-artwork {
  position: relative;
}

@media (max-width: 650px) {
  html {
    scroll-padding-top: 18px;
  }

  body {
    padding-bottom: 68px;
    overflow-x: clip;
  }

  .hero-artwork {
    height: calc(100svh - 76px);
    min-height: 660px;
    max-height: 780px;
    overflow: hidden;
    background: linear-gradient(180deg, #073126 0%, #062d23 56%, #061f19 100%);
  }

  .hero-artwork::after {
    height: 36%;
    background: linear-gradient(180deg, #073126 0%, #073126 76%, #073126f2 88%, transparent 100%);
  }

  .hero picture {
    position: absolute;
    z-index: 0;
    inset: auto 0 0;
    width: 100%;
  }

  .concept-image {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center bottom;
  }

  .mobile-hero-copy {
    padding: 22px 18px 0;
  }

  .mobile-hero-brand {
    gap: 9px;
    font-size: 1.5rem;
    line-height: 1;
  }

  .mobile-hero-brand img {
    width: 34px;
    height: 34px;
  }

  .mobile-hero-copy h1 {
    max-width: 340px;
    margin-top: 15px;
    font-size: clamp(1.62rem, 7.5vw, 1.95rem);
    line-height: 1.03;
  }

  .mobile-promise-row {
    margin-top: 17px;
  }

  .mobile-built-for {
    margin-top: 17px !important;
    padding-bottom: 5px;
  }

  .mobile-scene-brand {
    width: max-content;
    max-width: 43px;
    padding: 2px 3px;
    gap: 2px;
    border-radius: 3px;
    white-space: nowrap;
    overflow: hidden;
    font-size: .29rem;
    letter-spacing: -.015em;
  }

  .mobile-scene-brand img {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
  }

  .mobile-scene-brand.monitor-brand {
    left: 25.5%;
    top: auto;
    bottom: 76.2vw;
    background: #0a3b2ee6;
    border: 1px solid #d7b65a70;
  }

  .mobile-scene-brand.invoice-brand {
    left: 72.6%;
    top: auto;
    bottom: 56.4vw;
    max-width: 48px;
    background: #f8f3e9e8;
    border: 1px solid #b6934866;
  }

  .mobile-diary-promise {
    left: 8.2%;
    top: auto;
    bottom: 25.3vw;
    width: 38.5%;
    font-size: .31rem;
    line-height: 1.22;
    letter-spacing: .085em;
  }

  .concept-bar {
    position: relative;
    z-index: 3;
    padding: 12px 14px 15px !important;
  }

  .outcomes {
    display: flex !important;
    gap: 8px;
    padding: 12px 13px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    background: #eef1ee;
  }

  .outcomes::-webkit-scrollbar {
    display: none;
  }

  .outcome {
    flex: 0 0 70%;
    min-width: 0;
    padding: 16px 17px;
    border: 1px solid #dfe4e0;
    border-radius: 12px;
    scroll-snap-align: start;
    box-shadow: 0 5px 18px #0d2d2310;
  }

  .outcome b {
    font-size: 1.08rem;
  }

  main > .section[id] {
    scroll-margin-top: 16px;
    padding: 58px 0 74px;
  }

  main > .section[id] .wrap {
    width: min(100% - 30px, 1120px);
  }

  .module-head {
    margin-bottom: 25px;
  }

  .module-head h2,
  .billing-heading h2 {
    margin: .55rem 0 .85rem;
    font-size: clamp(2.35rem, 11vw, 3rem);
    line-height: .96;
    text-wrap: balance;
  }

  .module-head .lead,
  .billing-intro {
    font-size: .98rem;
    line-height: 1.55;
  }

  .visual,
  .visual.reverse {
    gap: 24px;
  }

  .visual + .visual {
    margin-top: 38px !important;
  }

  .screen {
    max-width: 100%;
    border-radius: 13px;
    box-shadow: 0 18px 44px #061c1629;
  }

  .screen-top {
    gap: 8px;
    padding: 13px 14px;
    font-size: .78rem;
  }

  .screen-body {
    padding: 14px;
  }

  .benefits {
    gap: 10px;
  }

  .benefit {
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border: 1px solid #dfe5e1;
    border-radius: 11px;
    background: #ffffffa8;
  }

  .dark .benefit {
    border-color: #ffffff18;
    background: #ffffff09;
  }

  .benefit i {
    flex-basis: 27px;
    height: 27px;
  }

  .benefit small {
    display: block;
    margin-top: 2px;
    line-height: 1.4;
  }

  h3 {
    font-size: 1.55rem;
    line-height: 1.12;
  }

  .workflow-tabs {
    gap: 6px;
  }

  .workflow-tab {
    min-width: 0;
    padding: 9px 4px;
    font-size: .66rem;
  }

  .workflow-view {
    min-height: 150px;
  }

  .jewel-tag {
    min-width: 0;
    grid-template-columns: 1.15fr .8fr .65fr;
    gap: 6px;
    padding: 9px;
    font-size: 9px;
  }

  .jewel-tag .qr {
    width: 58px;
    height: 58px;
    background-size: 12px 12px;
    border-width: 4px;
  }

  #marketing .visual > .visual {
    grid-template-columns: 1fr !important;
  }

  .phone {
    border-width: 6px;
    padding: 13px;
  }

  .report-grid,
  .camera-grid {
    gap: 7px;
  }

  .report-card {
    min-width: 0;
    padding: 10px;
  }

  .report-card small {
    display: block;
    line-height: 1.35;
  }

  .demo-grid {
    gap: 30px;
  }

  .form {
    padding: 18px;
  }

  .mobile-dock {
    display: grid;
    position: fixed;
    z-index: 80;
    right: 10px;
    bottom: max(9px, env(safe-area-inset-bottom));
    left: 10px;
    grid-template-columns: 42px minmax(0, 1fr) 42px 62px;
    gap: 5px;
    padding: 6px;
    border: 1px solid #d6b45a55;
    border-radius: 16px;
    background: #071f18f2;
    box-shadow: 0 12px 35px #00150fc7;
    backdrop-filter: blur(16px);
    transform: translateY(calc(100% + 22px));
    opacity: 0;
    pointer-events: none;
    transition: transform .28s ease, opacity .28s ease;
  }

  .mobile-dock.visible {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-dock button,
  .mobile-dock a {
    min-width: 0;
    min-height: 45px;
    border: 0;
    border-radius: 11px;
    background: #ffffff0b;
    color: #fff;
    font: 800 .78rem/1 Inter, system-ui, sans-serif;
    text-decoration: none;
  }

  .mobile-dock button:disabled {
    opacity: .3;
  }

  .mobile-dock .dock-prev,
  .mobile-dock .dock-next {
    font-size: 1.65rem;
    color: #f2d58b;
  }

  .dock-current {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    padding: 0 10px;
    text-align: left;
  }

  .dock-current span,
  .dock-current b,
  .dock-current small {
    display: block;
    min-width: 0;
  }

  .dock-current b {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dock-current small {
    margin-bottom: 3px;
    color: #d9b45b;
    font-size: .56rem;
    letter-spacing: .1em;
  }

  .dock-current i {
    color: #d9b45b;
    font-style: normal;
  }

  .mobile-dock > a {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f0d079, #c89631);
    color: #10241c;
  }

  .mobile-module-menu {
    display: grid;
    position: fixed;
    z-index: 79;
    right: 10px;
    bottom: calc(76px + env(safe-area-inset-bottom));
    left: 10px;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    max-height: min(66vh, 520px);
    padding: 16px;
    overflow-y: auto;
    border: 1px solid #d6b45a55;
    border-radius: 18px;
    background: #08261ef7;
    box-shadow: 0 18px 60px #00150fe8;
    backdrop-filter: blur(18px);
    transform: translateY(18px) scale(.98);
    transform-origin: bottom;
    opacity: 0;
    pointer-events: none;
    transition: transform .22s ease, opacity .22s ease;
  }

  .mobile-module-menu.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-module-menu > div {
    grid-column: 1 / -1;
    padding: 0 2px 8px;
    color: #fff;
  }

  .mobile-module-menu > div strong,
  .mobile-module-menu > div small {
    display: block;
  }

  .mobile-module-menu > div small {
    margin-top: 2px;
    color: #ffffff8d;
  }

  .mobile-module-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 48px;
    padding: 9px;
    border: 1px solid #ffffff10;
    border-radius: 10px;
    background: #ffffff08;
    color: #fff;
    font-size: .72rem;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
  }

  .mobile-module-menu a.active {
    border-color: #d9ad5270;
    background: #d9ad521c;
  }

  .mobile-module-menu a i {
    flex: 0 0 auto;
    color: #f2d58b;
    font-style: normal;
    font-size: .64rem;
  }

  .wa {
    right: 16px;
    bottom: 82px;
    width: 48px;
    height: 48px;
  }
}

/* Refined feature demonstrations shared by desktop and mobile. */
.mobile-values {
  display: none;
}

.label-studio {
  display: grid;
  gap: 14px;
}

.label-studio-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.label-studio-tools button,
.report-picker button {
  min-height: 38px;
  border: 1px solid #d9dfdb;
  border-radius: 7px;
  background: #f5f7f5;
  color: #5d6b65;
  font-weight: 850;
}

.label-studio-tools button.active,
.report-picker button.active {
  border-color: #10192e;
  background: #10192e;
  color: #fff;
}

.standard-tag-preview {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  gap: 13px;
  min-height: 150px;
  padding: 18px;
  overflow: hidden;
  border: 1px dashed #b88721;
  border-radius: 9px;
  background: #fffefb;
  color: #111;
  font: 11px/1.4 Arial, sans-serif;
}

.tag-copy,
.tag-codes {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tag-copy strong {
  margin-bottom: 8px;
  font-size: 13px;
}

.tag-copy b {
  margin-top: 9px;
  color: #7e5a13;
}

.tag-codes {
  align-items: center;
  border-left: 1px dashed #b8b8b8;
  padding-left: 12px;
}

.tag-codes img {
  width: 62px;
  height: 62px;
  margin-top: 7px;
  image-rendering: pixelated;
}

.tag-codes small {
  font-size: 8px;
}

.real-barcode {
  width: 100%;
  height: 34px;
  background: repeating-linear-gradient(90deg,#111 0 2px,#fff 2px 4px,#111 4px 5px,#fff 5px 8px,#111 8px 11px,#fff 11px 13px);
}

.tag-fold {
  position: absolute;
  top: 4px;
  left: 58%;
  color: #999;
  font-size: 7px;
}

.print-support {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.print-support span {
  padding: 7px 9px;
  border-radius: 7px;
  background: #eef2ef;
  color: #4d5a55;
  font-size: .68rem;
  font-weight: 800;
}

.inventory-photo-demo {
  position: relative;
  margin: 18px 0 0;
  overflow: hidden;
  border: 1px solid #d4b45c55;
  border-radius: 14px;
  background: #061d17;
  box-shadow: 0 20px 45px #0004;
}

.inventory-photo-demo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.inventory-photo-demo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 15px 17px;
  background: linear-gradient(transparent, #041812ed 34%);
  color: #fff;
}

.inventory-photo-demo figcaption b,
.inventory-photo-demo figcaption span {
  display: block;
}

.inventory-photo-demo figcaption span {
  margin-top: 3px;
  color: #ffffffb0;
  font-size: .75rem;
}

.order-board {
  display: grid;
  gap: 10px;
}

.order-summary,
.loan-strip,
.campaign-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.order-summary span,
.loan-strip span,
.campaign-stats span {
  padding: 10px;
  border-radius: 8px;
  background: #f1f4f2;
  text-align: center;
}

.order-summary small,
.order-summary b,
.loan-strip small,
.loan-strip b,
.campaign-stats b {
  display: block;
}

.order-summary small,
.loan-strip small {
  color: #77827d;
  font-size: .62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.order-summary b,
.loan-strip b {
  margin-top: 2px;
  font-size: 1.05rem;
}

.order-line {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 10px;
  border: 1px solid #e0e5e2;
  border-radius: 9px;
}

.order-line i {
  color: #8a651c;
  font-style: normal;
  font-size: .68rem;
  font-weight: 900;
}

.order-line small {
  display: block;
  color: #75807b;
  font-size: .68rem;
}

.order-line > span {
  padding: 6px 8px;
  border-radius: 20px;
  font-size: .65rem;
  font-weight: 850;
}

.assigned { background:#eee7ff; color:#623ea6; }
.working { background:#fff0d7; color:#8c5700; }
.ready { background:#dff3e6; color:#18703b; }

.order-flow,
.girvi-flow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  padding: 10px;
  border-radius: 8px;
  background: #10192e;
  color: #fff;
  font-size: .68rem;
}

.order-flow b,
.girvi-flow i {
  color: #e6bd58;
  font-style: normal;
}

.girvi-proof {
  display: grid;
  gap: 12px;
}

.girvi-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 9px;
}

.girvi-photo-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #dce2de;
  border-radius: 9px;
  background: #f4f6f4;
}

.girvi-photo-grid img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.girvi-photo-grid figure:first-child img {
  object-position: center 28%;
}

.girvi-photo-grid figure:last-child img {
  object-position: 28% 70%;
}

.girvi-photo-grid figcaption {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  padding: 7px;
  color: #59665f;
  font-size: .62rem;
}

.girvi-photo-grid figcaption b {
  color: #17713b;
}

.verification-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.verification-row span {
  padding: 9px;
  border: 1px solid #dbe3de;
  border-radius: 8px;
  color: #53615a;
  font-size: .65rem;
  font-weight: 750;
}

.verification-row i {
  display: inline-grid;
  width: 18px;
  height: 18px;
  margin-right: 4px;
  place-items: center;
  border-radius: 50%;
  background: #dff3e6;
  color: #17713b;
  font-style: normal;
}

.campaign-demo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 22px 48px #061c1626;
}

.campaign-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #10192e;
  color: #fff;
}

.campaign-head small,
.campaign-head b {
  display: block;
}

.campaign-head small {
  color: #ffffff8f;
  font-size: .62rem;
  text-transform: uppercase;
}

.campaign-head > span {
  padding: 6px 9px;
  border-radius: 20px;
  background: #dff3e6;
  color: #176d38;
  font-size: .68rem;
  font-weight: 850;
}

.campaign-channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 14px 14px 0;
}

.campaign-channels > span {
  display: grid;
  grid-template-columns: 22px 1fr;
  padding: 10px;
  border: 1px solid #dfe5e1;
  border-radius: 9px;
}

.campaign-channels i {
  grid-row: 1 / 3;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: #20b862;
  color: #fff;
  font-style: normal;
  font-size: .6rem;
}

.campaign-channels small {
  color: #74807a;
  font-size: .62rem;
}

.campaign-message {
  margin: 10px 14px;
  padding: 12px;
  border-radius: 10px 10px 10px 2px;
  background: #e7f6e9;
  font-size: .76rem;
}

.campaign-stats {
  padding: 0 14px 14px;
}

.campaign-stats span {
  color: #718079;
  font-size: .62rem;
}

.campaign-stats b {
  color: #10241c;
  font-size: 1rem;
}

.report-compact {
  display: grid;
  gap: 12px;
}

.report-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.report-result {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 12px;
  align-items: end;
  padding: 14px;
  border-radius: 10px;
  background: #f3f6f4;
}

.report-result small,
.report-result b,
.report-result span {
  display: block;
}

.report-result small,
.report-result span {
  color: #718078;
  font-size: .66rem;
}

.report-result b {
  margin: 5px 0;
  font-size: 1.35rem;
}

.mini-bars {
  display: flex;
  height: 60px;
  align-items: end;
  gap: 5px;
}

.mini-bars i {
  flex: 1;
  height: 35%;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(#d6ad4e,#8c681e);
}

.mini-bars i:nth-child(2) { height: 55%; }
.mini-bars i:nth-child(3) { height: 44%; }
.mini-bars i:nth-child(4) { height: 76%; }
.mini-bars i:nth-child(5) { height: 68%; }
.mini-bars i:nth-child(6) { height: 94%; }

.report-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.report-actions span {
  padding: 8px 5px;
  border: 1px solid #dae1dc;
  border-radius: 7px;
  text-align: center;
  font-size: .63rem;
  font-weight: 800;
}

.report-compact p {
  margin: 0;
  color: #6d7b74;
  font-size: .72rem;
}

.primary-reason select {
  border-color: #d2ad52;
  background: #fffaf0;
}

@media (max-width: 650px) {
  .mobile-values {
    position: absolute;
    top: 245px;
    right: 64px;
    display: grid;
    justify-items: start;
    gap: 3px;
    color: #f2dfae;
    font: 500 .5rem/1.25 Georgia, serif;
    letter-spacing: .23em;
    text-transform: uppercase;
  }

  .mobile-values::after {
    content: '';
    width: 34px;
    height: 1px;
    margin-top: 4px;
    background: #d9ad52;
  }

  .concept-buttons {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) !important;
  }

  .concept-buttons .btn {
    min-width: 0;
    min-height: 52px;
    padding: 0 8px;
    white-space: nowrap;
  }

  .outcomes {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px;
    overflow: visible;
    padding: 12px;
    scroll-snap-type: none;
  }

  .outcome {
    min-width: 0;
    padding: 14px;
  }

  .outcome::before {
    display: block;
    margin-bottom: 7px;
    color: #ad7c1b;
    font-size: .6rem;
    font-weight: 900;
    letter-spacing: .14em;
  }

  .outcome:nth-child(1)::before { content: '01 BILLING'; }
  .outcome:nth-child(2)::before { content: '02 STOCK'; }
  .outcome:nth-child(3)::before { content: '03 ORDERS'; }
  .outcome:nth-child(4)::before { content: '04 CONTROL'; }

  .outcome b {
    font-size: 1rem;
    line-height: 1.15;
  }

  .outcome span {
    display: block;
    margin-top: 3px;
    line-height: 1.35;
  }

  .dock-whatsapp {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    padding: 0 !important;
    border: 1px solid #39d67b4d !important;
    background: transparent !important;
    color: #68e49a !important;
    font-size: .48rem !important;
  }

  .dock-whatsapp svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
  }

  .standard-tag-preview {
    grid-template-columns: 1.25fr .85fr;
    min-height: 170px;
    padding: 14px;
  }

  .label-studio-tools button {
    padding: 4px;
    font-size: .64rem;
  }

  .tag-codes img {
    width: 54px;
    height: 54px;
  }

  .inventory-photo-demo {
    margin-top: 14px;
  }

  .inventory-photo-demo figcaption {
    padding: 28px 13px 12px;
  }

  .inventory-photo-demo figcaption span {
    font-size: .67rem;
  }

  .order-line {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .order-line > span {
    grid-column: 2;
    justify-self: start;
  }

  .girvi-photo-grid img {
    height: 108px;
  }

  .verification-row {
    grid-template-columns: 1fr;
  }

  .verification-row span {
    padding: 7px 9px;
  }

  .campaign-demo {
    margin-top: 2px;
  }

  .report-picker button {
    min-width: 0;
    padding: 7px 2px;
    font-size: .66rem;
  }

  .report-actions {
    grid-template-columns: 1fr 1fr;
  }

  .form {
    padding: 16px;
  }

  .form textarea {
    min-height: 76px;
  }

  #reports .visual > .copy {
    display: none;
  }

  #reports .visual {
    display: block;
  }

  #reports .report-compact {
    gap: 10px;
  }

  #demo .demo-grid {
    gap: 22px;
  }

  #demo #contact .benefits {
    display: none;
  }

  #demo #contact > p:last-child {
    margin-bottom: 0;
  }

  #demo .fields {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px;
  }

  #demo .field.full {
    grid-column: 1 / -1 !important;
  }

  #demo .field input,
  #demo .field select {
    min-height: 46px;
  }

  .billing-demo-stage {
    order: 3;
    position: relative;
    height: 175svh;
    min-width: 0;
  }

  .billing-demo-stage .billing-product {
    position: sticky;
    top: 8px;
    width: 100%;
    max-height: calc(100svh - 16px);
    overflow: hidden;
    box-shadow: 0 24px 55px #061c164d;
  }

  .billing-demo-stage .screen-top {
    min-height: 46px;
    padding: 9px 12px;
    font-size: .76rem;
  }

  .billing-demo-stage .screen-body {
    padding: 10px;
  }

  .billing-demo-stage .bill-progress {
    margin-bottom: 7px;
  }

  .billing-demo-stage .bill-step {
    padding: 5px 2px;
    font-size: .5rem;
  }

  .billing-demo-stage .bill-customer {
    grid-template-columns: 1fr 1fr !important;
    gap: 5px;
  }

  .billing-demo-stage .bill-customer .live-field:first-child {
    grid-column: 1 / -1 !important;
  }

  .billing-demo-stage .live-field {
    min-height: 40px;
    padding: 6px;
  }

  .billing-demo-stage .live-field small {
    margin-bottom: 1px;
    font-size: .5rem;
  }

  .billing-demo-stage .live-field b {
    font-size: .66rem;
  }

  .billing-demo-stage .bill-table {
    margin-top: 6px;
  }

  .billing-demo-stage .bill-item span {
    padding: 6px 7px;
    font-size: .66rem;
  }

  .billing-demo-stage .bill-item span:first-child {
    padding-block: 7px;
  }

  .billing-demo-stage .bill-item span:not(:first-child)::before {
    margin-bottom: 0;
    font-size: .48rem;
  }

  .billing-demo-stage .bill-bottom {
    gap: 6px;
    margin-top: 6px;
  }

  .billing-demo-stage .bill-pay {
    gap: 4px;
  }

  .billing-demo-stage .pay-chip {
    padding: 5px 3px;
    font-size: .59rem;
  }

  .billing-demo-stage .bill-total {
    padding: 8px 10px;
  }

  .billing-demo-stage .bill-total strong {
    font-size: .92rem;
  }

  .billing-demo-stage .bill-save {
    min-height: 38px;
    padding: 7px;
  }

  .billing-demo-stage .bill-note {
    display: none;
  }

  .billing-demo-active .mobile-dock {
    transform: translateY(calc(100% + 24px));
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-width: 370px) {
  .hero-artwork {
    min-height: 640px;
  }

  .mobile-hero-copy {
    padding-inline: 12px;
  }

  .mobile-promise-row {
    gap: 2px;
  }

  .mobile-promise-row > span {
    grid-template-columns: 25px 1fr;
    padding-left: 3px;
  }

  .mobile-promise-row i {
    width: 25px;
    height: 25px;
  }

  .mobile-dock {
    grid-template-columns: 38px minmax(0, 1fr) 38px 55px;
  }
}

@media (max-width: 650px) {
  .hero-artwork::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0 0 auto;
    height: 40.5%;
    pointer-events: none;
    background: linear-gradient(180deg, #073126 0%, #073126 78%, #073126e8 88%, transparent 100%);
  }

  .hero picture {
    display: block !important;
  }

  .concept-image {
    aspect-ratio: 7 / 9;
    object-fit: cover;
  }

  .mobile-hero-copy {
    display: block !important;
    position: absolute;
    z-index: 2;
    inset: 0 0 auto;
    padding: 14px 18px 0;
    text-align: center;
    color: #fff;
  }

  .mobile-hero-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.4rem;
    font-weight: 900;
  }

  .mobile-hero-brand img {
    width: 32px;
    height: 32px;
    object-fit: contain;
  }

  .mobile-hero-copy h1 {
    max-width: 315px;
    margin: 7px auto 0;
    color: #fff;
    font: 500 1.58rem/1.04 Georgia, serif;
    letter-spacing: -.035em;
  }

  .mobile-built-for {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    margin: 9px auto 0 !important;
    max-width: 325px;
    color: #f1d48a;
    font-size: .55rem !important;
    font-weight: 800;
    letter-spacing: .19em !important;
    text-transform: uppercase;
  }

  .mobile-built-for::before,
  .mobile-built-for::after {
    content: "";
    height: 1px;
    background: #d9ad52;
  }

  .mobile-built-for span {
    display: block;
    font-weight: 700;
  }

  .mobile-promise-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin: 9px auto 0;
    max-width: 335px;
    color: #fff;
  }

  .mobile-promise-row > span {
    display: grid;
    grid-template-columns: 29px 1fr;
    grid-template-rows: auto auto;
    column-gap: 4px;
    align-items: center;
    min-width: 0;
    padding: 3px 3px 3px 7px;
    border-left: 1px solid #d5b25366;
    text-align: left;
  }

  .mobile-promise-row > span:first-child {
    border-left: 0;
  }

  .mobile-promise-row i {
    grid-row: 1 / 3;
    width: 29px;
    height: 29px;
    display: block;
  }

  .mobile-promise-row i img {
    display: block;
    width: 100%;
    height: 100%;
  }

  .mobile-promise-row b {
    font-size: .57rem;
    line-height: 1.05;
  }

  .mobile-promise-row small {
    color: #ffffffa8;
    font-size: .51rem;
    line-height: 1.05;
  }

  .mobile-scene-brand {
    display: flex;
    position: absolute;
    z-index: 2;
    align-items: center;
    gap: 2px;
    color: #fff;
    font: 800 .34rem/1 Arial, sans-serif;
    text-shadow: 0 1px 2px #0008;
  }

  .mobile-scene-brand img {
    width: 9px;
    height: 9px;
    object-fit: contain;
  }

  .mobile-scene-brand.monitor-brand {
    left: 26.3%;
    top: 40.8%;
  }

  .mobile-scene-brand.invoice-brand {
    left: 74.5%;
    top: 56.1%;
    color: #2b2a25;
    font-size: .32rem;
    text-shadow: none;
  }

  .mobile-diary-promise {
    display: block;
    position: absolute;
    z-index: 2;
    left: 8.8%;
    top: 76.9%;
    width: 37%;
    transform: rotate(4deg) skewX(-4deg);
    color: #e4bc5e;
    font: 700 .34rem/1.18 Georgia, serif;
    letter-spacing: .1em;
    text-align: center;
    text-shadow: 0 1px 1px #0008;
  }

  .concept-bar {
    min-height: auto;
    padding: 14px !important;
    display: block !important;
  }

  .concept-note,
  .concept-mobile-points {
    display: none !important;
  }

  .concept-buttons {
    display: grid;
    grid-template-columns: 1fr 1.15fr !important;
    gap: 8px;
    width: 100%;
  }

  .concept-buttons .btn {
    width: 100%;
    min-height: 46px;
    padding: 0 10px;
    font-size: .86rem;
  }

  #billing.section {
    padding-top: 52px;
  }

  .billing-layout {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
    max-width: 100%;
    overflow: visible;
  }

  .billing-left,
  .billing-right {
    display: contents;
  }

  .billing-heading {
    order: 1;
  }

  .billing-heading h2 {
    margin-top: .65rem;
    font-size: clamp(2.65rem, 12vw, 3.5rem);
    line-height: .95;
  }

  .billing-intro {
    order: 2;
    padding-top: 0;
    margin: 0;
    font-size: 1rem;
  }

  .billing-product {
    order: 3;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .billing-product .screen-top {
    padding: 13px 14px;
    gap: 10px;
    font-size: .84rem;
  }

  .billing-product .screen-body {
    padding: 14px;
    min-width: 0;
    overflow: hidden;
  }

  .billing-benefits {
    order: 4;
    margin-top: 8px;
  }

  .bill-customer {
    grid-template-columns: 1fr !important;
  }

  .bill-customer .live-field:first-child {
    grid-column: auto !important;
  }

  .bill-progress {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 3px;
  }

  .bill-step {
    min-width: 0;
    padding: 7px 2px;
    font-size: .58rem;
  }

  .bill-table {
    overflow: hidden !important;
  }

  .bill-table-head {
    display: none !important;
  }

  .bill-item {
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .bill-item span {
    min-width: 0;
    padding: 10px;
    border: 0;
    border-bottom: 1px solid #e1e5e2;
    font-size: .78rem;
  }

  .bill-item span:nth-child(odd):not(:first-child) {
    border-right: 1px solid #e1e5e2;
  }

  .bill-item span:first-child {
    grid-column: 1 / -1;
    background: #10192e !important;
    color: #fff !important;
    font-weight: 800;
  }

  .bill-item span:not(:first-child)::before {
    display: block;
    margin-bottom: 2px;
    color: #7c8782;
    font-size: .58rem;
    font-weight: 850;
    text-transform: uppercase;
  }

  .bill-item span:nth-child(2)::before { content: "Purity"; }
  .bill-item span:nth-child(3)::before { content: "Gross weight"; }
  .bill-item span:nth-child(4)::before { content: "Stone weight"; }
  .bill-item span:nth-child(5)::before { content: "Net weight"; }
  .bill-item span:nth-child(6)::before { content: "Rate"; }
  .bill-item span:nth-child(7)::before { content: "Amount"; }

  .bill-bottom {
    grid-template-columns: 1fr;
  }

  .bill-pay {
    gap: 6px;
  }

  .pay-chip {
    flex: 1 1 calc(33.333% - 6px);
    padding: 8px 5px;
    text-align: center;
    font-size: .7rem;
  }

  .bill-total {
    padding: 13px;
  }

  .bill-save {
    min-height: 46px;
  }

  .bill-note {
    line-height: 1.4;
  }
}

/* Final hero geometry overrides: keep the product scene below the brand copy. */
@media (max-width: 650px) {
  .hero-artwork {
    height: calc(100svh - 76px);
    min-height: 660px;
    max-height: 780px;
    overflow: hidden;
    background: linear-gradient(180deg, #073126 0%, #062d23 56%, #061f19 100%);
  }

  .hero-artwork::after {
    height: 36%;
    background: linear-gradient(180deg, #073126 0%, #073126 76%, #073126f2 88%, transparent 100%);
  }

  .hero picture {
    position: absolute;
    z-index: 0;
    inset: auto 0 0;
    width: 100%;
  }

  .concept-image {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center bottom;
  }

  .mobile-hero-copy {
    padding: 22px 18px 0;
  }

  .mobile-hero-brand {
    gap: 9px;
    font-size: 1.5rem;
    line-height: 1;
  }

  .mobile-hero-brand img {
    width: 34px;
    height: 34px;
  }

  .mobile-hero-copy h1 {
    max-width: 340px;
    margin-top: 15px;
    font-size: clamp(1.62rem, 7.5vw, 1.95rem);
    line-height: 1.03;
  }

  .mobile-promise-row {
    margin-top: 17px;
  }

  .mobile-built-for {
    margin-top: 17px !important;
    padding-bottom: 5px;
  }

  .mobile-scene-brand {
    width: max-content;
    max-width: 43px;
    padding: 2px 3px;
    gap: 2px;
    border-radius: 3px;
    white-space: nowrap;
    overflow: hidden;
    font-size: .29rem;
    letter-spacing: -.015em;
  }

  .mobile-scene-brand img {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
  }

  .mobile-scene-brand.monitor-brand {
    left: 25.5%;
    top: auto;
    bottom: 76.2vw;
    background: #0a3b2ee6;
    border: 1px solid #d7b65a70;
  }

  .mobile-scene-brand.invoice-brand {
    left: 72.6%;
    top: auto;
    bottom: 56.4vw;
    max-width: 48px;
    background: #f8f3e9e8;
    border: 1px solid #b6934866;
  }

  .mobile-diary-promise {
    left: 8.2%;
    top: auto;
    bottom: 25.3vw;
    width: 38.5%;
    font-size: .31rem;
    line-height: 1.22;
    letter-spacing: .085em;
  }

  .concept-bar {
    position: relative;
    z-index: 3;
    padding: 12px 14px 15px !important;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .workflow-view:not(.active) {
    display: none !important;
  }

  .wa {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }

  .mobile-dock.visible ~ .wa {
    display: none;
  }

  .wa {
    display: none !important;
  }
}
