.landing-page .mobile-copy,
.homepage-process .process-carousel-controls { display: none; }

@media (max-width: 760px) {
  .landing-page { --mobile-header-height: 64px; --landing-launcher-offset: 12px; }
  .landing-page .header { height: var(--mobile-header-height); }
  .landing-page .header-inner { flex-wrap: nowrap; }
  .landing-page .header-actions { width: auto; margin-inline-start: auto; }
  .landing-page .header-actions > .button { display: none !important; }
  .landing-page .header .menu-toggle {
    display: grid;
    place-content: center;
    gap: 5px;
    min-width: 44px;
    min-height: 44px;
  }
  .landing-page .menu-toggle span {
    width: 22px;
    height: 1px;
    margin: 0;
    transition: transform 180ms ease;
  }
  .landing-page .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .landing-page .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

  .landing-page .mobile-copy { display: inline; }
  .landing-page .mobile-copy br { display: revert; }
  .landing-page .desktop-copy { display: none; }
  html[lang="en"] .landing-page .hero-copy > .eyebrow {
    max-width: none;
    font-size: clamp(9px, 3.05vw, 12px) !important;
    letter-spacing: .11em !important;
  }
  html[lang="en"][data-heading-style] .hero h1:not(.hero-lettering-heading) {
    font-size: clamp(39px, 16vw, 72px);
    white-space: nowrap;
  }
  .landing-page .hero-bottom { container-type: inline-size; }
  .landing-page .hero-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    inline-size: 100%;
    margin-inline: 0;
    gap: 8px;
  }
  .landing-page .hero-buttons > .button { inline-size: 100%; justify-content: space-between; }
  @container (max-width: 425px) {
    .landing-page .hero-buttons { grid-template-columns: minmax(0, 1fr); }
  }

  .homepage-process .process-steps {
    grid-template-columns: minmax(0, 1fr);
    touch-action: pan-y pinch-zoom;
  }
  .homepage-process .process-step { grid-area: 1 / 1; align-self: start; }
  .homepage-process .process-step[data-inactive-step] { visibility: hidden; }
  .homepage-process .process-art { max-width: min(100%, 230px); margin-block: 0 12px; }
  .homepage-process .process-carousel-controls:not([hidden]) {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-block-start: 20px;
  }
  .process-carousel-count {
    min-inline-size: 5ch;
    text-align: center;
    font: var(--type-font-caption);
    font-variant-numeric: tabular-nums;
    color: var(--landing-mint);
  }
  .process-carousel-controls button:disabled { opacity: .45; cursor: default; }

  .landing-page :is(#templates .us-heading, #collections-showcase .showcase-heading) > p > .inline-action-link {
    display: table;
    white-space: nowrap;
  }
  .landing-page #collections-showcase .fan-footer { display: grid; gap: 10px; }
  .landing-page #collections-showcase .fan-description { display: contents; }
  .landing-page #collections-showcase .fan-pagination { display: none; }
  .landing-page #collections-showcase .fan-navigation { grid-row: 1; justify-self: start; }
  .landing-page #collections-showcase :is([data-fan-title], [data-fan-detail]) { margin-block: 0; }
  html[lang="en"] .landing-page .cinematic-intro .mobile-copy br { display: revert; }
  .landing-page .cinematic-intro .inline-action-link { white-space: nowrap; }
  .landing-page .cinematic-format-stage { scroll-margin-block-start: 12px; }

  .landing-page .story-footer { flex-direction: column; align-items: stretch; gap: 28px; }
  .landing-page .story-footer #batch-play { width: 100%; margin-inline-start: 0; text-align: start; }
  .landing-page .automation-arrows :is([data-automation-prev], [data-automation-next]) { display: none; }

  .landing-page .reasons-section[data-poker] { overflow: clip; padding-block-end: 64px; }
  .why-poker__intro { width: calc(100% - 40px); margin: 18px auto 0; }
  .landing-page .reasons-section[data-poker-active] > .showcase-heading {
    position: sticky;
    top: var(--mobile-header-height);
    z-index: 8;
  }
  .reasons-section[data-poker-active] > .showcase-heading > :first-child { opacity: 0; }
  .why-poker__panel:not([hidden]) {
    position: absolute;
    inset: 0 0 auto;
    box-sizing: border-box;
    padding: 10px 12px;
    background: rgb(245 245 241 / 88%);
    border: 1px solid rgb(21 62 51 / 12%);
    border-radius: 14px;
    box-shadow: 0 6px 22px rgb(21 62 51 / 10%);
    backdrop-filter: blur(14px);
  }
  .landing-page .reasons-section[data-poker-active] .why-poker__heading {
    align-items: center;
    justify-content: space-between;
  }
  .why-poker__panel-title {
    font: var(--type-weight-display) clamp(24px, 7vw, 34px)/var(--type-leading-display) var(--type-display);
    text-transform: uppercase;
  }
  .reasons-section[data-poker-active] .why-poker__controls { gap: 6px 10px; margin-block-start: 4px; }
  .reasons-section[data-poker-active] .why-poker__celebration { width: 30px; height: auto; }
  .reasons-section[data-poker-active] .why-poker__feedback { flex: 1 1 190px; }
  html body[data-typography="shared"] .reasons-section[data-poker-active] .why-poker__feedback p {
    font: var(--type-font-caption) !important;
  }
  .reasons-section[data-poker] .reason-track {
    width: calc(100% - 40px);
    max-width: 420px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(6, 1fr);
    grid-auto-flow: column;
    gap: 10px 14px;
    margin-block-start: 14px;
    padding-block: 48px 20px;
  }
  .why-poker__slot { grid-row: span 2; }
  .why-poker__slot:nth-child(4) { grid-column: 2; grid-row: 2 / span 2; }
  .why-poker__slot:nth-child(5) { grid-column: 2; grid-row: 4 / span 2; }
  .why-poker__slot .reason-card { min-height: 168px; padding: 11px; border-radius: 15px; }
  .why-poker__slot .reason-card :is(h3, p) br { display: none; }
  .why-poker__slot .reason-symbol { width: 26px; height: 26px; margin-block: 6px; }
  html body[data-typography="shared"] .why-poker__slot .reason-card h3 { font-size: clamp(13px, 3.55vw, 16px) !important; }
  html body[data-typography="shared"] .why-poker__slot .reason-card p { font-size: clamp(11px, 3vw, 13px) !important; line-height: 1.32 !important; }
  .why-poker__slot .reason-number { font-size: 9px; }

  .landing-page #pricing .pricing-tabs--segmented {
    width: 100%;
    box-sizing: border-box;
    justify-self: stretch;
  }
  .landing-page #pricing .pricing-tabs--segmented button { flex: 1 1 0; min-inline-size: 0; }
  .landing-page #pricing .pricing-amount { font-size: clamp(40px, 13.6vw, 64px); line-height: .95; }
  .landing-page #pricing .pricing-card-heading h3 { display: flex; align-items: center; gap: .34em; }
  .landing-page #pricing .pricing-card-heading h3 .process-info { flex: none; margin-inline: 0; }
  .landing-page #pricing :is(.pricing-card, .pricing-automation) > .arrow-button {
    --type-font-button: var(--type-weight-button) clamp(12px, 3.85vw, 16px)/var(--type-leading-button) var(--type-ui);
    --action-padding-start: 14px;
  }
  .landing-page #pricing :is(.pricing-card, .pricing-automation) > .arrow-button .button-label {
    white-space: nowrap;
    overflow-wrap: normal;
  }

  body.landing-page .help-widget { right: 12px; }
  .landing-page .help-widget .help-launcher {
    box-sizing: border-box;
    width: 48px;
    height: 48px;
    min-height: 48px;
    justify-content: center;
    padding: 0;
  }
  .landing-page .help-launcher-label { display: none; }
}

.landing-page .cinematic-pages[hidden], .mobile-menu-shade { display: none; }
@media (min-width: 761px) {
  .landing-page .header #main-nav > .mobile-menu-contact { display: none !important; }
}

@media (max-width: 760px) {
  .landing-page { overflow-x: clip; }
  html[data-menu-open], html[data-menu-open] .landing-page { overflow: hidden; }
  .landing-page .mobile-menu-shade {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgb(0 0 0 / 68%);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 160ms ease, visibility 160ms;
  }
  html[data-menu-open] .mobile-menu-shade { opacity: 1; visibility: visible; }
  html[data-menu-open] .landing-page .header { z-index: 110; }
  html[data-menu-open] .landing-page .help-widget { visibility: hidden; }
  .landing-page .header #main-nav {
    max-height: calc(100dvh - var(--mobile-header-height));
    box-sizing: border-box;
    border-bottom: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .landing-page .header nav .mobile-menu-contact { display: inline-flex; align-self: stretch; justify-content: space-between; margin-block-end: 24px; }
  .landing-page #main-nav :is(.site-language, [data-site-blog]) { display: none; }

  html[lang="en"] .landing-page .hero-copy > .eyebrow { translate: 0 20px; }
  html[lang="en"] .landing-page .hero-copy > .eyebrow .mobile-copy { color: var(--landing-mint); }
  .landing-page #templates .us-demo,
  .landing-page #cinematic .motion-studio { overflow: clip; }
  .landing-page #templates .us-workspace { display: flex; flex-direction: column; align-items: stretch; }
  .landing-page #cinematic .motion-studio .motion-canvas {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .landing-page #templates .us-preview,
  .landing-page #cinematic .motion-card-preview {
    order: -1;
    position: sticky;
    top: var(--mobile-header-height);
    z-index: 6;
    border-radius: 12px;
  }
  .landing-page #templates .us-preview {
    height: min(240px, 28dvh);
    padding-block: calc(var(--provider-reserve) / 2);
  }
  .landing-page #templates .us-demo:has([data-value="outside"]:enabled[aria-pressed="true"]) .us-preview {
    padding-block: 8px calc(var(--provider-reserve) - 8px);
  }
  .landing-page #cinematic .motion-card-preview {
    min-height: 0;
    padding-block: 20px;
  }
  .landing-page #cinematic .motion-card-anchor { width: min(180px, 22dvh); }
  .landing-page :is(#templates .us-preview, #cinematic .motion-card-preview)[data-pinned] {
    background: radial-gradient(circle, var(--ui-dot) 1px, transparent 1px) .5px .5px / 18px 18px var(--ui-canvas);
    border-start-start-radius: 0;
    border-start-end-radius: 0;
    box-shadow: 0 10px 20px -7px rgb(0 0 0 / 38%);
  }
  .landing-page .cinematic-format-choice {
    align-self: stretch;
    justify-content: space-between;
    text-align: start;
  }
  .landing-page .cinematic-pages:not([hidden]) {
    display: flex; justify-content: flex-start; gap: 6px; margin-block-start: 16px;
  }
  .landing-page .cinematic-pages button[aria-pressed] {
    width: 42px; height: 42px;
    color: rgb(153 228 201 / 50%);
    border-color: currentColor;
    background: transparent;
  }
  .landing-page .cinematic-pages button[aria-pressed="true"] { color: var(--landing-mint); }
  .landing-page .cinematic-card[hidden] { display: none; }
  .landing-page #handoff-story { container-type: inline-size; }
  /* The 16:9 clip is centred inside the video area, between its 10px and 130px insets. */
  .landing-page #handoff-story[data-story-phase="video"] .story-footer {
    top: calc(50% - 60px + 28.125cqw); bottom: auto;
  }
  .landing-page .automation-switcher { margin-block-start: 28px; }
  .landing-page .automation-switcher .automation-arrows { margin-block-end: 8px; justify-content: flex-start; }
  .landing-page .why-poker__intro { margin-block-start: 24px; }
  .landing-page .why-poker__controls[data-intro] { min-height: 0; margin-block: 0; }
  .landing-page .why-poker__hint:not([hidden]) {
    grid-column: 2 !important;
    inset: 0 0 auto;
    transform: none;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
  }
  .landing-page .why-poker__hint .why-poker__hint-hand { position: static; width: 26px; order: -1; }
  .landing-page .why-poker__hint-label { inset: auto; padding: 5px 0; }
  .landing-page #pricing {
    overflow-x: clip;
    --pricing-gutter: 20px;
    --pricing-bleed: 8px;
    --pricing-stack-gap: 20px;
    --pricing-sticky-height: 54px;
    --pricing-summary-height: 50px;
    --pricing-top: calc(var(--mobile-header-height) + var(--pricing-gutter));
    --pricing-summary-top: calc(var(--pricing-top) + var(--pricing-sticky-height) + var(--pricing-stack-gap));
    --pricing-detail-top: calc(var(--pricing-summary-top) + var(--pricing-summary-height) + var(--pricing-stack-gap));
  }
  .landing-page #pricing .pricing-heading { margin-block-end: 0; }
  .landing-page #pricing .pricing-tabs--segmented {
    position: sticky;
    top: var(--pricing-top);
    z-index: 12;
    min-height: 54px;
    margin-block: 20px 28px;
    background: var(--pricing-surface);
  }
  .landing-page #pricing .pricing-automation { padding-inline: 18px; }
  .landing-page #pricing .pricing-automation-details > summary,
  .landing-page #pricing .pricing-tabs--detail {
    position: sticky;
    box-sizing: border-box;
    margin-inline: -18px;
    padding-inline: 18px;
    border-radius: 11px;
    background: var(--pricing-surface);
  }
  .landing-page #pricing .pricing-automation-details > summary {
    top: var(--pricing-summary-top);
    z-index: 8;
    display: grid;
    grid-template-columns: 1fr 24px;
    align-items: center;
    gap: 6px;
    scroll-margin-top: calc(var(--pricing-summary-top) - var(--mobile-header-height));
  }
  .landing-page #pricing .pricing-automation-details > summary::after {
    justify-self: center;
    width: 18px; height: 18px; margin: 0; border: 0;
    background: currentColor;
    clip-path: polygon(5% 30%, 50% 72%, 95% 30%, 100% 35%, 50% 83%, 0 35%);
    transform: none;
    transition: transform 200ms ease;
  }
  .landing-page #pricing .pricing-automation-details[open]:not([data-closing]) > summary::after { transform: rotate(180deg); }
  .landing-page #pricing .pricing-tabs--detail:not([hidden]) {
    top: var(--pricing-detail-top);
    z-index: 6;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 6px;
  }
  .landing-page #pricing .pricing-tab-pair { display: flex; gap: 6px; }
  .landing-page #pricing .pricing-tabs--detail button {
    flex: 1 1 auto;
    min-width: 0;
    --type-font-button: var(--type-weight-body) clamp(11px, 3.33vw, var(--type-size-caption))/var(--type-leading-button) var(--type-ui);
    min-height: 44px;
    padding: 4px;
  }
  .landing-page #pricing [data-stuck] {
    background-color: var(--pricing-surface);
    isolation: isolate;
  }
  /* A single filled shape covers the panel and its bleed, including fractional pixels. */
  .landing-page #pricing .pricing-tabs[data-stuck]::after,
  .landing-page #pricing summary[data-stuck]::before {
    content: "";
    position: absolute;
    inset: calc(-1 * var(--pricing-bleed));
    z-index: -2;
    pointer-events: none;
    background: var(--pricing-surface);
    border-radius: calc(11px + var(--pricing-bleed));
    box-shadow: 0 8px 18px -5px rgb(0 0 0 / 38%);
  }
  .landing-page #pricing [data-pricing-panel] { scroll-margin-block-start: calc(var(--pricing-summary-top) - var(--mobile-header-height)); }
  .landing-page #pricing .pricing-automation-detail-content > [data-pricing-panel] {
    scroll-margin-block-start: calc(var(--pricing-detail-top) + var(--pricing-detail-height, 90px) - var(--mobile-header-height));
  }
  .landing-page .help-launcher-icon > svg { translate: 2px 0; }
  .landing-page .contact-brief { display: none; }
  #contact-form #form-status + .text-button {
    display: block; width: max-content; margin: 24px auto 0;
  }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .mobile-menu-shade { transition: none; }
}

@media (max-width: 380px) {
  .landing-page #pricing { --pricing-gutter: 16px; }
}
