/* Mobile/tablet only: desktop styles and geometry remain owned by the existing sheets. */
@media (max-width:1023px) {
  body .gems-nav {padding:10px 20px}
  body .gems-nav .gems-nav-login {color:inherit!important}
  body .gems-nav.is-mobile-open {background:#fff!important;color:#24252c;backdrop-filter:none}
  body .gems-nav.is-mobile-open>.gems-nav-inner>.gems-nav-account {display:flex!important;position:static;opacity:1!important;pointer-events:auto!important}
  body .gems-nav.is-mobile-open>.gems-nav-inner>.gems-nav-links {display:flex!important}
  body .gems-nav.is-mobile-open>.gems-nav-inner>.gems-nav-dropdown:not([hidden]) {display:grid!important}
  body .gems-nav.is-mobile-open>.gems-nav-inner>.gems-nav-dropdown[hidden] {display:none!important}
  body .gems-nav.is-mobile-open>.gems-nav-inner>.gems-nav-dropdown>.gems-nav-column {background:#fff!important;padding:0;min-height:0}
  body .gems-nav.is-mobile-open .gems-nav-mark {filter:brightness(0)}
  body .gems-nav.is-mobile-open .gems-nav-links {top:calc(100% + 10px);padding:12px 16px;gap:4px 24px;background:#fff;color:#24252c;border-radius:0 0 16px 16px;box-shadow:0 12px 24px #0001}
  body .gems-nav .gems-nav-links :is(a,button) {min-height:44px}
  body .gems-nav.is-mobile-open>.gems-nav-inner>.gems-nav-dropdown {position:fixed;top:176px;left:20px;right:20px;width:auto;max-height:calc(100dvh - 196px);overflow-y:auto;overscroll-behavior:contain;grid-template-columns:repeat(2,minmax(0,1fr));border-radius:14px}
  body .gems-nav .gems-nav-column-intro {min-height:0;padding:16px 12px}
  body .gems-nav .gems-nav-column-links {padding:6px}
  body .gems-nav .gems-nav-column-links a {min-height:44px;padding:10px 6px;white-space:normal}
  body .gems-nav .gems-nav-dropdown a>svg {opacity:1;transform:none;flex-shrink:0}
  body .gems-nav-column {border:1px solid #e3e3e7!important;border-radius:0!important}
  body .gems-feature-hero {padding:112px 32px 56px}
  body .gems-feature-hero .gems-feature-hero-inner {grid-template-columns:minmax(0,1fr);gap:36px;max-width:720px}
  .gems-feature-hero-copy {max-width:640px}
  body .gems-feature-hero-art {width:100%;max-width:720px;margin-inline:auto;min-width:0}
  body .gems-feature-hero-art img {width:100%;height:auto;max-height:480px;object-fit:contain}
  body .gems-feature-hero h1 {font-size:clamp(34px,5.4vw,48px)!important;max-width:21ch;line-height:1.15}
  body .gems-feature-hero p {font-size:18px;margin:24px 0 28px;max-width:56ch}
  .gems-discovery-detail>div,.gems-publication-review>div>div {grid-template-columns:minmax(0,1fr);gap:32px}
  .gems-writing-intro,.gems-editing-workspace>div>div:first-child {display:block;margin-bottom:28px}
  .gems-writing-intro p,.gems-editing-workspace>div>div:first-child p {max-width:60ch}
  .gems-idea-path ol,.gems-writing-parts>div>div {gap:24px}
  body .gems-feature-capture {padding:20px;min-width:0}
  body .gems-feature-capture img {height:auto;max-width:100%;object-fit:contain}
  body .gems-subpage-capture {height:auto;min-height:0;padding:20px;aspect-ratio:1.8}
  body .gems-subpage-capture img {min-width:0;object-fit:contain}
  body .gems-studio-reel {padding-block:64px}
  body .gems-studio-reel>div:first-child {align-items:center;flex-wrap:wrap;gap:20px;padding-inline:24px!important}
  body .gems-studio-reel>div:first-child>div:first-child {flex:1 1 330px}
  body .gems-studio-reel [data-reel-card] {width:clamp(250px,64vw,350px)}
  body .gems-studio-reel [data-reel-card]>div {height:auto;aspect-ratio:4/5}
  body .gems-studio-reel [data-reel-card]>p {font-size:16px;line-height:1.5;margin-top:16px}
  body .gems-results-section .gems-gallery-stage {height:auto;aspect-ratio:1.65}
  body .gems-results-intro>div,.gems-process-heading {display:block}
  .gems-results-intro p,.gems-process-heading p {margin-top:18px;max-width:54ch}
  body .gems-subject-stack {padding-block:56px 64px}
  body .gems-subject-card {grid-template-columns:minmax(0,1fr)!important;gap:28px!important;max-width:680px;margin-inline:auto}
  .gems-subject-pin {margin-bottom:24px}
  body .gems-comparison-plans {top:62px!important}
  .gems-comparison [data-gems-accordion] {scroll-margin-top:190px}
  body .gems-subpage-steps .sticky {position:static}
  body .gems-footer {padding-inline:24px}
  body .gems-footer h2 {overflow-wrap:anywhere}
  body section:has(.gems-idea-cursor) {overflow-x:clip}
}

@media (min-width:768px) and (max-width:1023px) {
  body .gems-home-hero {min-height:700px;padding:120px 32px 64px}
  body .gems-home-hero>div>div {gap:24px;grid-template-columns:1fr 1fr;margin-top:0}
  body .gems-home-hero .gems-hero-copy {translate:none}
  body .gems-home-hero .lp-hero-h1 {font-size:38px;line-height:1.15}
  body .gems-home-hero .gems-hero-description {font-size:17px;line-height:1.5;margin-top:28px!important}
  body .gems-home-hero .gems-hero-action {margin-top:28px!important}
  body .gems-home-hero .gems-button {font-size:15px;min-height:48px;padding:12px 16px}
  body .gems-home-showcase {padding:64px 32px}
  body .gems-home-showcase img {min-height:240px;height:260px}
}

@media (max-width:767px) {
  body .gems-nav {padding:10px 16px}
  body .gems-nav.is-mobile-open>.gems-nav-inner>.gems-nav-dropdown {left:16px;right:16px}
  body .gems-nav .gems-nav-account {gap:8px}
  body .gems-nav .gems-nav-cta {min-height:40px}
  body .gems-nav .gems-mobile-toggle {height:44px}
  body .gems-home-hero {min-height:0;padding:92px 20px 56px}
  body .gems-home-hero>div>div {gap:24px;margin-top:0}
  body .gems-home-hero .lp-hero-factory {width:calc(100% + 24px);max-width:540px;margin:0 -12px}
  body .gems-home-hero .lp-hero-factory-video {width:100%;margin:0;aspect-ratio:1.25!important}
  body .gems-home-hero .lp-hero-h1 {font-size:clamp(29px,8vw,38px)!important;line-height:1.16}
  body .gems-home-hero p.md\:hidden {font-size:16px;line-height:1.5;margin-top:20px;max-width:34ch}
  body .gems-home-hero .gems-hero-copy>div:last-child>div:empty {display:none}
  body .gems-home-showcase {padding:48px 20px}
  body .gems-home-showcase>div>div:first-child {gap:24px;scroll-padding-inline:20px;margin-inline:-20px;padding:12px 20px;align-items:stretch}
  body .gems-home-showcase>div>div:first-child>div {width:calc(100vw - 72px);max-width:340px;flex-shrink:0}
  body .gems-home-showcase [style*="--tilt"] {transform:none!important;margin:0;width:100%}
  body .gems-home-showcase h3 {font-size:20px;min-height:0}
  body .gems-home-showcase img {min-height:0;height:260px;padding-top:12px!important;object-fit:contain}
  body .gems-journey {padding:48px 20px}
  body .gems-journey-mobile {gap:32px}
  body .gems-journey-mobile img {max-height:180px;object-fit:contain}
  body [data-gems-section="8"] {padding:48px 20px}
  body .gems-progress-grid {gap:20px;margin-top:28px}
  body .gems-progress-copy {min-height:0;padding:20px!important}
  body .gems-progress-copy p {font-size:15px;line-height:1.5}
  body .gems-capture-stage {height:auto;aspect-ratio:1.6;padding:16px}
  body .gems-capture-focus {width:100%;transform:none}
  body .gems-results-section {padding:48px 20px}
  body .gems-results-section .gems-gallery-stage {aspect-ratio:1.55}
  body .gems-gallery-panel {padding:14px}
  body .gems-gallery-panel:has(figcaption) {padding-bottom:50px}
  body .gems-gallery-tabs {gap:8px 20px}
  body .gems-gallery-tabs button {min-height:44px;font-size:14px}
  body .gems-gallery-controls {gap:8px;align-items:center}
  body .gems-process-section {padding:48px 20px}
  body .gems-process-section .gems-gallery-stage {aspect-ratio:1.45}
  body .gems-subject-stack {padding-inline:20px}
  body .gems-subject-stack .lp-soft-card.relative.grid {padding:24px 20px!important;gap:24px!important}
  body .gems-subject-stack h3 {font-size:26px!important;line-height:1.2}
  body .gems-subject-stack p {font-size:16px;line-height:1.5}
  body .gems-studio-reel {padding-block:48px}
  body .gems-studio-reel>div:first-child {padding-inline:20px!important;gap:16px}
  body .gems-studio-reel>div:first-child>div:first-child {flex-basis:100%}
  body .gems-studio-reel [data-gems-auto-reel] {margin-top:24px;gap:16px}
  body .gems-studio-reel [data-reel-card] {width:78vw;max-width:330px}
  body .gems-tools-overview {padding:48px 20px}
  body .gems-tools-overview h2 {font-size:29px;margin-bottom:28px}
  body .gems-tools-overview .gems-tool-shortcut-art {gap:10px}
  body .gems-tool-shortcut {font-size:13px;min-height:64px;padding:12px 10px;gap:8px}
  body .gems-help-card {min-height:220px}
  body .gems-help-card>div {max-width:65%}
  body .gems-help-art {display:block;width:40%}
  body [data-gems-section="21"] {padding:56px 20px 80px}
  body .gems-idea-cursor {display:none}
  body .gems-feature-hero {padding:100px 20px 48px}
  body .gems-feature-hero h1 {font-size:clamp(30px,8.2vw,38px)!important}
  body .gems-feature-hero p {font-size:16px;line-height:1.55;margin:20px 0 24px}
  body .gems-feature-hero .gems-feature-hero-inner {gap:28px}
  body .gems-feature-hero-art img {max-height:360px}
  body .gems-refined-subpage :is(.gems-discovery-detail,.gems-writing-workspace,.gems-editing-workspace,.gems-publication-review,.gems-performance-report,.gems-writing-parts,.gems-idea-path) {padding:48px 20px}
  body .gems-refined-subpage :is(.gems-discovery-detail,.gems-writing-workspace,.gems-editing-workspace,.gems-publication-review,.gems-performance-report,.gems-writing-parts,.gems-idea-path) h2 {font-size:29px;line-height:1.2;margin-bottom:20px}
  body .gems-refined-subpage :is(.gems-discovery-detail,.gems-writing-workspace,.gems-editing-workspace,.gems-publication-review,.gems-performance-report,.gems-writing-parts,.gems-idea-path) p {font-size:16px}
  body .gems-feature-capture {padding:12px}
  body .gems-writing-parts img {height:auto;max-height:280px;aspect-ratio:1.25}
  body .gems-subpage-hero {padding:100px 20px 48px}
  body .gems-subpage-intro h1 {font-size:clamp(30px,8.2vw,38px)!important}
  body .gems-subpage-intro p {font-size:16px;line-height:1.55}
  body .gems-subpage-capture {padding:12px;margin-top:28px}
  body .gems-subpage-closing {padding:48px 20px!important}
  body .gems-subpage-closing h2 {font-size:29px}
  body .gems-subpage-closing p {font-size:16px;margin:20px auto 24px}
  body .gems-subpage-card-grid article {padding:20px}
  body .gems-subpage-card-grid img {height:auto;aspect-ratio:1.25;max-height:280px}
  body .gems-about-story,body .gems-use-steps {padding:48px 20px}
  body .gems-about-parts {gap:32px}
  body .gems-about-parts img {height:auto;max-height:260px}
  body .gems-use-steps li {gap:16px}
  body[data-gems-page=tarifs] .gems-pricing-intro {padding:104px 20px 32px!important}
  body[data-gems-page=tarifs] .gems-pricing-intro h1 {font-size:clamp(30px,8.2vw,38px)!important}
  body .gems-pricing-plans {padding:0 20px 48px}
  body .gems-price-card {padding:24px}
  body .gems-price-card>p {min-height:0;font-size:16px}
  body .gems-comparison {padding-block:48px}
  body .gems-comparison>div {padding-inline:20px}
  body .gems-comparison-heading {font-size:28px;line-height:1.2}
  body .gems-comparison-plans {top:64px!important}
  body .gems-comparison [data-gems-accordion] {padding:16px 12px;gap:8px}
  body .gems-comparison [data-gems-accordion]>span {gap:8px}
  body .gems-comparison [data-gems-accordion]>span>span {font-size:16px}
  body .gems-guide-end {margin-top:32px;padding:24px 16px}
  body .gems-guide-figure {margin:24px 0 32px}
  body .gems-guide-screen {padding:10px}
  body .gems-guide-card h2,body .gems-guide-card h3 {font-size:24px;line-height:1.25}
  body .gems-guide-card p {font-size:16px;line-height:1.5}
  body .gems-guide-related {margin-top:40px;padding-top:28px}
  body .gems-footer {padding-inline:20px}
  body .gems-footer a {overflow-wrap:anywhere}
}

@media (max-width:359px) {
  body .gems-nav>.gems-nav-inner {gap:8px}
  body .gems-nav .gems-nav-cta {font-size:11px;padding-inline:10px}
  body .gems-nav.is-mobile-open .gems-nav-links {gap:4px 18px}
  body .gems-nav.is-mobile-open>.gems-nav-inner>.gems-nav-dropdown {grid-template-columns:minmax(0,1fr)}
  body .gems-billing-options {gap:6px;font-size:12px}
  body .gems-billing-options b {font-size:10px;padding:4px}
  body .gems-tool-shortcut {font-size:12px;gap:6px}
}
