/* Otto landing — COMPACT DESKTOP / TABLET LANDSCAPE (960–1179px).
   Desktop markup and behavior stay active; this sheet only removes the
   1180px canvas assumptions and recomposes them for the real viewport. */

@media (min-width: 960px) and (max-width: 1179px) {
  :root {
    --compact-gutter: clamp(36px, 4vw, 48px);
    --W: 100vw;
  }

  body {
    min-width: 0;
  }

  /* ---------- Normal-flow hero + audience section ---------- */

  .stage-wrap {
    height: auto;
  }

  .stage {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .stage .hero,
  .strip {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 780px;
  }

  .stage .hero,
  .strip {
    overflow: hidden;
  }

  .strip {
    opacity: 1;
    pointer-events: auto;
  }

  /* ---------- Desktop navigation, fitted deliberately ---------- */

  .toolbar {
    padding: clamp(20px, 2.1vw, 24px) var(--compact-gutter);
  }

  .toolbar-pill {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    max-width: none;
    min-height: 64px;
    gap: clamp(20px, 2.4vw, 28px);
    padding: 9px 12px 9px 22px;
  }

  .logo {
    justify-self: start;
  }

  .logo img {
    height: 27px;
  }

  .nav {
    justify-self: center;
    gap: clamp(20px, 2.2vw, 26px);
    white-space: nowrap;
  }

  .nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 14px;
  }

  .btn-toolbar {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 11px 22px;
    font-size: 14px;
    white-space: nowrap;
  }

  /* ---------- Desktop hero concept, compact-width composition ---------- */

  .hero-bg img,
  .hero-bg video {
    object-position: 50% 50%;
  }

  .hero-rail-inner {
    max-width: none;
    padding: 0 var(--compact-gutter) clamp(48px, 5.5vh, 72px);
    gap: clamp(26px, 3vw, 36px);
  }

  .hero-copy {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 620px;
  }

  .hero-copy h1 {
    font-size: clamp(54px, 5.8vw, 64px);
    line-height: 1.035;
    letter-spacing: clamp(-1.5px, -0.12vw, -1.15px);
  }

  .cta-row {
    flex-wrap: wrap;
    gap: 11px;
    margin-top: clamp(27px, 2.8vw, 33px);
  }

  .btn-primary,
  .btn-glass {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 13px 24px;
    font-size: 15px;
  }

  .hero-card-col {
    width: clamp(320px, 33.5vw, 360px);
    gap: 16px;
  }

  .chat-card {
    border-radius: 24px;
  }

  .chat-header {
    padding: 14px 17px;
  }

  .chat-avatar {
    width: 36px;
    height: 36px;
  }

  .chat-title {
    font-size: 14px;
  }

  .online-now {
    font-size: 11px;
  }

  .convo {
    height: clamp(242px, 20vh, 278px);
  }

  .bubble {
    font-size: 13.5px;
  }

  .hero-desc {
    max-width: 100%;
    font-size: clamp(14px, 1.35vw, 15.5px);
    line-height: 1.45;
  }

  /* ---------- Audience strip + true-width meadow transition ---------- */

  .strip {
    height: calc(0.69609 * var(--W) - 20px - var(--scene-drop));
    min-height: 0;
  }

  .strip-head {
    justify-content: flex-start;
    padding-top: 40px;
    padding-right: var(--compact-gutter);
    padding-left: var(--compact-gutter);
  }

  .strip-head h2 {
    font-size: clamp(46px, 4.6vw, 52px);
  }

  .strip-sub {
    max-width: 620px;
    font-size: 16px;
  }

  .meadow-band {
    height: clamp(400px, 42vw, 500px);
  }

  /* ---------- Two-column use-case section ---------- */

  .offplate {
    padding-right: var(--compact-gutter);
    padding-bottom: 96px;
    padding-left: var(--compact-gutter);
  }

  .op-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(360px, 37vw, 420px);
    max-width: 1080px;
    gap: clamp(28px, 3.1vw, 40px);
  }

  .op-left,
  .op-right,
  .op-card-w,
  .op-card {
    min-width: 0;
  }

  .op-left {
    margin-top: clamp(-108px, -9vw, -86px);
  }

  .op-h {
    font-size: clamp(39px, 4.1vw, 44px);
  }

  .op-sub {
    max-width: 500px;
    font-size: 15px;
  }

  .op-cards {
    margin-top: 28px;
    gap: 10px;
  }

  .op-card {
    padding: 12px 11px 14px;
    border-radius: 18px;
  }

  .op-illo {
    width: min(100%, 96px);
    height: 84px;
  }

  .op-card[data-scenario="0"] .op-illo img,
  .op-card[data-scenario="1"] .op-illo img,
  .op-card[data-scenario="2"] .op-illo img {
    width: auto;
    max-width: 100%;
    height: auto;
  }

  .op-card[data-scenario="0"] .op-illo img { max-height: 86px; }
  .op-card[data-scenario="1"] .op-illo img { max-height: 70px; }
  .op-card[data-scenario="2"] .op-illo img { max-height: 88px; }

  .op-card-title {
    font-size: 14.5px;
  }

  .op-card-tag {
    overflow-wrap: anywhere;
    font-size: 12px;
  }

  .op-right {
    width: auto;
    margin-top: 28px;
  }

  .demo-window {
    height: 286px;
  }

  /* ---------- Lower-section containment ---------- */

  .testimonial,
  .dfy,
  .pricing,
  .faq {
    padding-right: var(--compact-gutter);
    padding-left: var(--compact-gutter);
  }

  .testimonial {
    align-items: center;
    min-height: 100vh;
    padding-top: clamp(270px, 28vw, 310px);
    padding-bottom: 160px;
  }

  .tm-rise {
    width: 100%;
    max-width: 900px;
  }

  .tm-quote {
    font-size: 30px;
  }

  .dfy-wrap,
  .pr-wrap,
  .cs-wrap,
  .cs-footer-wrap {
    width: 100%;
    max-width: 1080px;
  }

  .dfy-copy,
  .dfy-grid {
    width: min(620px, 68%);
  }

  .dfy-h,
  .pr-h,
  .faq-h {
    font-size: clamp(42px, 4vw, 46px);
  }

  .dfy-bar {
    width: min(520px, 58%);
    max-width: 100%;
  }

  .pr-left,
  .pr-right {
    padding-right: clamp(28px, 3.2vw, 38px);
    padding-left: clamp(28px, 3.2vw, 38px);
  }

  .faq {
    overflow-x: clip;
    padding-top: 84px;
    padding-bottom: 200px;
  }

  .faq-wrap {
    display: grid;
    grid-template-columns: clamp(280px, 28vw, 320px) minmax(0, 1fr);
    max-width: 1080px;
    gap: clamp(32px, 3.6vw, 44px);
  }

  .faq-rail {
    width: auto;
    top: 80px;
  }

  .faq-list {
    min-width: 0;
  }

  .faq-scene {
    height: 340px;
  }

  .faq-scene img {
    left: -230px;
    width: 620px;
  }

  .cs-main {
    padding-right: var(--compact-gutter);
    padding-left: var(--compact-gutter);
    overflow-x: clip;
  }

  .cs-h {
    font-size: clamp(50px, 5vw, 58px);
  }

  .cs-footer {
    padding-right: var(--compact-gutter);
    padding-left: var(--compact-gutter);
  }

  .cs-footer-cols {
    gap: 32px;
  }

  .cs-links {
    gap: clamp(36px, 4.5vw, 54px);
  }

  /* Functional launcher yields whenever actionable compact content is visible. */
  .otto-launcher {
    right: 20px;
    bottom: 20px;
    width: 52px;
    height: 52px;
    transition: opacity .25s ease, transform .25s ease;
  }

  .otto-launcher.avoid-actions {
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
  }

  /* Development controls are not part of the compact customer layout. */
  .s3-tuner,
  .scroll-hint {
    display: none !important;
  }
}
