/*
 * Focus V7: a dedicated mobile composition, layered after focus-v6.css.
 * Every visual rule is confined to <= 900px; the approved desktop is unchanged.
 */
@media (max-width: 900px) {
  .focus-mobile-v7 {
    --mobile-gutter: 24px;
  }

  .focus-mobile-v7 .wrap,
  .focus-mobile-v7 .nav-shell {
    width: calc(100% - var(--mobile-gutter) * 2);
  }

  /* One calm header, with real touch targets for both controls. */
  .focus-mobile-v7 .site-header {
    background: #fff;
    border-bottom: 1px solid #eeedf2;
  }
  .focus-mobile-v7 .nav-shell {
    height: 91px;
    gap: 16px;
  }
  .focus-mobile-v7 .header-brand {
    flex: 0 1 auto;
    min-width: 0;
  }
  .focus-mobile-v7 .header-brand .brand {
    gap: 3px;
    font-size: 28px;
    letter-spacing: -1.05px;
  }
  .focus-mobile-v7 .header-brand .brand img {
    width: 40px;
    height: 40px;
  }
  .focus-mobile-v7 .header-brand > p {
    font-size: 9.5px;
    line-height: 1.45;
    letter-spacing: -.05px;
    margin: 0 0 0 40px;
    white-space: nowrap;
    color: #666777;
  }
  .focus-mobile-v7 .header-actions {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-left: auto;
  }
  .focus-mobile-v7 .language-picker select {
    min-width: 49px;
    min-height: 44px;
    font-size: 12px;
    padding: 9px 20px 9px 7px;
    border: 0;
    border-radius: 8px;
    color: #454754;
    background: #fff;
  }
  .focus-mobile-v7 .language-picker > .icon {
    width: 14px;
    height: 14px;
    right: 4px;
  }
  .focus-mobile-v7 .header-actions .button.small {
    min-height: 44px;
    padding-inline: 15px;
    font-size: 12px;
    gap: 0;
    border-radius: 9px;
    box-shadow: none;
  }
  .focus-mobile-v7 .header-actions .button.small > .icon {
    display: none;
  }

  /* On a narrow screen the photograph comes immediately after the headline.
     Supporting copy follows it, instead of pushing the people below the fold. */
  .focus-mobile-v7 .focus-hero {
    display: flex;
    flex-direction: column;
    overflow: visible;
    isolation: auto;
    background: #fff;
  }
  .focus-mobile-v7 .hero-inner,
  .focus-mobile-v7 .hero-copy {
    display: contents;
  }
  .focus-mobile-v7 .hero-copy.reveal {
    opacity: 1;
    transform: none;
  }
  .focus-mobile-v7 h1 {
    order: 1;
    width: min(660px, calc(100% - var(--mobile-gutter) * 2));
    max-width: none;
    margin: 38px auto 29px;
    font-size: clamp(36px, 6.8vw, 54px);
    font-weight: 650;
    line-height: 1.09;
    letter-spacing: -.046em;
    text-wrap: balance;
  }
  .focus-mobile-v7 .hero-background {
    position: relative;
    inset: auto;
    z-index: auto;
    order: 2;
    display: block;
    width: 100%;
    height: clamp(245px, 43vw, 370px);
    object-fit: cover;
    object-position: 73% 51%;
  }
  .focus-mobile-v7 .hero-wash {
    display: none;
  }
  .focus-mobile-v7 .focus-hero .hero-intro {
    order: 3;
    width: min(660px, calc(100% - var(--mobile-gutter) * 2));
    max-width: none;
    margin: 25px auto 0;
    color: #5f6270;
    font-size: 16px;
    line-height: 1.68;
    text-wrap: pretty;
  }

  /* Horizontally browsable feature names replace the six-cell mobile matrix. */
  .focus-mobile-v7 .real-explorer {
    padding-top: 32px;
    padding-bottom: 56px;
  }
  .focus-mobile-v7 .real-feature-tabs {
    display: flex;
    width: calc(100% + var(--mobile-gutter) * 2);
    gap: 8px;
    margin-inline: calc(var(--mobile-gutter) * -1);
    padding: 4px var(--mobile-gutter) 10px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-padding-inline: var(--mobile-gutter);
    scrollbar-width: none;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .focus-mobile-v7 .real-feature-tabs::-webkit-scrollbar {
    display: none;
  }
  .focus-mobile-v7 .real-feature-tabs > button {
    flex: 0 0 auto;
    justify-content: center;
    min-height: 46px;
    padding: 11px 17px;
    border: 1px solid #e8e7ee;
    border-radius: 25px;
    background: #f8f8fa;
    color: #5f6270;
    box-shadow: none;
    white-space: nowrap;
  }
  .focus-mobile-v7 .real-feature-tabs > button:after {
    display: none;
  }
  .focus-mobile-v7 .real-feature-tabs > button[aria-selected=true] {
    color: #fff;
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: none;
  }
  .focus-mobile-v7 .real-feature-tabs > button:focus-visible {
    outline-offset: -4px;
    outline-color: #b7aaff;
  }
  .focus-mobile-v7 .real-tab-title {
    font-size: 13px;
    font-weight: 550;
    line-height: 1.4;
    letter-spacing: -.12px;
  }
  .focus-mobile-v7 .viewer-toolbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 23px;
    min-height: 0;
    padding-block: 13px 22px;
  }
  .focus-mobile-v7 .real-descriptions {
    min-height: 0;
    max-width: 660px;
    margin-inline: auto;
    width: 100%;
  }
  .focus-mobile-v7 .real-tab-description {
    color: #626573;
    font-size: 15px;
    line-height: 1.7;
    text-wrap: pretty;
  }
  .focus-mobile-v7 .device-switch {
    align-self: center;
    width: max-content;
    padding: 4px;
    gap: 4px;
    background: #f1f1f5;
    border-radius: 11px;
  }
  .focus-mobile-v7 .device-switch > button {
    min-height: 40px;
    padding: 9px 15px;
    gap: 7px;
    border-radius: 8px;
    font-size: 12px;
    color: #686a78;
  }
  .focus-mobile-v7 .device-switch > button .icon {
    width: 16px;
    height: 16px;
  }
  .focus-mobile-v7 .device-switch > button[aria-pressed=true] {
    color: #3e3b72;
    box-shadow: 0 1px 4px #27223f12;
  }
  .focus-mobile-v7 .real-screen-stage {
    padding: 8px;
    border: 1px solid #e8e7ee;
    border-radius: 16px;
    background: #f5f5f8;
  }
  .focus-mobile-v7 .real-viewer[data-device=mobile] .real-screen-stage {
    width: min(354px, 100%);
    padding: 7px;
    min-height: 0;
    border-radius: 17px;
    box-shadow: 0 16px 42px -28px #30265335;
  }
  .focus-mobile-v7 .explorer-image-button,
  .focus-mobile-v7 .real-viewer[data-device=mobile] .explorer-image-button {
    width: 100%;
    border: 1px solid #e7e5ed;
    border-radius: 10px;
    box-shadow: none;
  }
  .focus-mobile-v7 .capture-zoom {
    width: 40px;
    height: 40px;
    right: 10px;
    bottom: 10px;
    border-radius: 10px;
    color: #49435f;
    background: #fffffff5;
    box-shadow: 0 2px 10px #3026440d;
  }
  .focus-mobile-v7 .capture-zoom .icon {
    width: 17px;
    height: 17px;
  }

  /* A consistent vertical rhythm carries the story through the lower page. */
  .focus-mobile-v7 .focus-process {
    padding-block: 49px 53px;
    background: #f7f7fa;
  }
  .focus-mobile-v7 .section-heading {
    text-align: left;
    margin-bottom: 32px;
  }
  .focus-mobile-v7 .section-heading h2,
  .focus-mobile-v7 .benefits-title h2,
  .focus-mobile-v7 .closing h2 {
    font-size: clamp(29px, 4.4vw, 36px);
    line-height: 1.17;
    letter-spacing: -.035em;
    text-wrap: balance;
  }
  .focus-mobile-v7 .focus-process .process-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 650px;
  }
  .focus-mobile-v7 .focus-process .process-card {
    display: grid;
    position: relative;
    grid-template-columns: 36px 1fr;
    column-gap: 18px;
    row-gap: 9px;
    padding: 0;
    border: 0;
    border-radius: 0;
    overflow: visible;
  }
  .focus-mobile-v7 .focus-process .process-card:not(:last-child):before {
    content: '';
    position: absolute;
    left: 17px;
    top: 45px;
    bottom: -22px;
    width: 1px;
    background: #e0deed;
  }
  .focus-mobile-v7 .focus-process .step-top {
    grid-column: 1;
    grid-row: 1 / 3;
    margin: 0;
  }
  .focus-mobile-v7 .step-number {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid #dedbed;
    border-radius: 50%;
    background: #fff;
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0;
  }
  .focus-mobile-v7 .process-card h3 {
    grid-column: 2;
    margin: 5px 0 0;
    font-size: 21px;
    line-height: 1.2;
    letter-spacing: -.5px;
  }
  .focus-mobile-v7 .process-card p {
    grid-column: 2;
    min-height: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #626573;
  }
  .focus-mobile-v7 .benefits-section {
    padding-block: 52px;
  }
  .focus-mobile-v7 .benefits-title {
    max-width: 650px;
    margin-bottom: 34px;
  }
  .focus-mobile-v7 .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
  .focus-mobile-v7 .benefit {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 7px 15px;
    align-content: start;
  }
  .focus-mobile-v7 .benefit-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 38px;
    height: 38px;
    margin: 0;
    border-radius: 11px;
    background: #f2f0fd;
    color: #6f63b3;
  }
  .focus-mobile-v7 .benefit-icon .icon {
    width: 19px;
    height: 19px;
  }
  .focus-mobile-v7 .benefit h3 {
    grid-column: 2;
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -.35px;
    margin: 6px 0 0;
  }
  .focus-mobile-v7 .benefit p {
    grid-column: 2;
    font-size: 15px;
    line-height: 1.7;
    color: #626573;
  }
  .focus-mobile-v7 .closing {
    padding: 37px 25px 30px;
    border: 1px solid #e9e5f9;
    border-radius: 21px;
    background: #f5f3ff;
    text-align: left;
  }
  .focus-mobile-v7 .closing h2 {
    max-width: 580px;
    margin: 0 0 18px;
  }
  .focus-mobile-v7 .closing p {
    margin: 0 0 25px;
    max-width: 570px;
    font-size: 15px;
    line-height: 1.7;
    color: #626173;
  }
  .focus-mobile-v7 .closing .button {
    min-height: 50px;
    padding-inline: 20px;
    border-radius: 10px;
    font-size: 14px;
  }
  .focus-mobile-v7 .site-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    padding-block: 38px 29px;
  }
  .focus-mobile-v7 .site-footer .brand {
    font-size: 24px;
    gap: 2px;
  }
  .focus-mobile-v7 .site-footer .brand img {
    width: 35px;
    height: 35px;
  }
  .focus-mobile-v7 .site-footer > div > p {
    max-width: none;
    font-size: 10px;
    margin: 1px 0 0 35px;
    color: #707181;
  }
  .focus-mobile-v7 .footer-side {
    width: 100%;
    align-items: flex-start;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid #eeedf2;
  }
  .focus-mobile-v7 .footer-labels {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 23px;
    padding: 0;
    color: #676978;
    font-size: 12px;
    line-height: 1.6;
  }
  .focus-mobile-v7 .footer-labels > button {
    min-height: 44px;
  }
  .focus-mobile-v7 .motion-control {
    min-height: 35px;
    color: #747184;
    font-size: 11px;
    gap: 8px;
  }
  .focus-mobile-v7 .motion-icon {
    font-size: 10px;
  }

  /* The full-size image remains available without a cramped modal frame. */
  .focus-mobile-v7 .capture-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: 15px;
  }
  .focus-mobile-v7 .capture-dialog-toolbar {
    padding: 10px 12px 10px 17px;
    gap: 14px;
  }
  .focus-mobile-v7 .capture-dialog-toolbar h2 {
    font-size: 14px;
    line-height: 1.4;
  }
  .focus-mobile-v7 .close-capture {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 10px;
  }
  .focus-mobile-v7 .capture-dialog-scroll {
    max-height: calc(100dvh - 95px);
    padding: 7px;
    overscroll-behavior: contain;
  }
  .focus-mobile-v7 .capture-dialog-image.is-mobile {
    width: 100%;
    max-width: 390px;
  }
  .focus-mobile-v7 .cookie-panel {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    max-width: 440px;
    border-radius: 17px;
    padding: 21px;
  }
  .focus-mobile-v7 .cookie-panel > p {
    font-size: 13px;
    line-height: 1.7;
  }
  .focus-mobile-v7 .cookie-actions > button {
    min-height: 44px;
    font-size: 13px;
    border-radius: 8px;
  }
}

@media (max-width: 600px) {
  .focus-mobile-v7 .benefit-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .focus-mobile-v7 .closing .button {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 480px) {
  .focus-mobile-v7 {
    --mobile-gutter: 22px;
  }
  .focus-mobile-v7 .nav-shell {
    height: 84px;
    gap: 9px;
  }
  .focus-mobile-v7 .header-brand .brand {
    font-size: 25px;
    letter-spacing: -.9px;
    gap: 2px;
  }
  .focus-mobile-v7 .header-brand .brand img {
    width: 35px;
    height: 35px;
  }
  .focus-mobile-v7 .header-brand > p {
    font-size: 8.8px;
    margin-left: 35px;
  }
  .focus-mobile-v7 .header-actions {
    gap: 5px;
  }
  .focus-mobile-v7 .header-actions .button.small {
    padding-inline: 11px;
    font-size: 11px;
  }
  .focus-mobile-v7 .language-picker select {
    min-width: 44px;
    padding-left: 5px;
    font-size: 11px;
  }
  .focus-mobile-v7 h1 {
    margin-top: 31px;
    margin-bottom: 25px;
    font-size: clamp(34px, 9.4vw, 43px);
    line-height: 1.1;
  }
  .focus-mobile-v7 .hero-background {
    height: clamp(215px, 59vw, 280px);
    object-position: 75% center;
  }
  .focus-mobile-v7 .focus-hero .hero-intro {
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.7;
  }
  .focus-mobile-v7 .real-explorer {
    padding-top: 28px;
  }
}

@media (max-width: 359px) {
  .focus-mobile-v7 {
    --mobile-gutter: 16px;
  }
  .focus-mobile-v7 .nav-shell {
    width: calc(100% - 24px);
    gap: 5px;
  }
  .focus-mobile-v7 .header-brand .brand {
    font-size: 21px;
    gap: 1px;
  }
  .focus-mobile-v7 .header-brand .brand img {
    width: 28px;
    height: 28px;
  }
  .focus-mobile-v7 .header-brand > p {
    margin-left: 0;
    font-size: 8.5px;
    letter-spacing: -.12px;
  }
  .focus-mobile-v7 .header-actions {
    gap: 2px;
  }
  .focus-mobile-v7 .header-actions .button.small {
    padding-inline: 9px;
    font-size: 10.5px;
  }
  .focus-mobile-v7 .language-picker select {
    min-width: 42px;
    font-size: 10.5px;
  }
  .focus-mobile-v7 .closing {
    padding-inline: 22px;
  }
}
