/* Third approved preview revision: retain established components and mobile flow. */
@media(min-width:641px) and (max-width:900px) {
  .value-grid { grid-template-columns: 1fr; }
  .value-grid article { display: grid; grid-template-columns: 38% minmax(0,1fr); grid-template-rows: auto 1fr; align-content: start; }
  .value-grid article .value-photo { grid-column: 1; grid-row: 1 / 3; height: 100%; min-height: 210px; }
  .value-grid article h3, .value-grid article p { grid-column: 2; }
  .detail-row { grid-template-columns: 1fr; gap: 28px; }
  .detail-row-reverse .detail-media, .detail-row-reverse .detail-copy { order: initial; }
  .detail-media { width: 100%; max-width: 720px; }
}
@media(max-width:950px) {
  .motion-ready .reveal-target.reveal-from-left:not(.is-visible),
  .motion-ready .reveal-target.reveal-from-right:not(.is-visible) { transform: translateY(22px); }
}
.inquiry-layout > .button { margin-right: 42px; flex-shrink: 0; }
.inquiry-service { margin: 0; padding-block: 68px; }
.service-detail-page .inquiry-service h2 { max-width: 760px; font-size: clamp(2rem,3.2vw,3.3rem); }
.inquiry-layout .button > span { display: none; }
.mini-ad-destination { min-width: 0; }
.mini-ad-destination > span { font-size: .7rem; white-space: normal; }
.ads-mini-chat .mini-chat-ad { min-width: 0; }
.value-grid article { padding: 0 !important; overflow: hidden; min-height: 0; }
.value-grid article::before { content: none; }
.value-grid .value-photo { display: block; width: 100%; height: 158px; object-fit: cover; }
.value-grid article h3 { padding: 22px 24px 0; font-size: 1.2rem; }
.value-grid article p { padding: 0 24px 26px; margin-top: 12px; max-width: none; }
.tech-grid { grid-template-columns: repeat(3,minmax(0,1fr)); text-align: center; }
.tech-grid > span { min-width: 0; }
.hosting-options, .hosting-options b, .hosting-options span { text-align: center; }
.cookie-actions span { flex: 1 1 110px; text-align: center; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.cookie-actions span:last-child { background: transparent; color: #004db3; }
.detail-copy .text-link { margin-top: 0; }
.booking-photo img { width: 100%; height: 185px; object-fit: cover; }
.demo-content > small { display: block; text-align: center; margin-top: 15px; font-size: .8rem; color: #52677d; }
.channel-portals { display: flex; gap: 8px; }
.channel-portals > span { display: flex; justify-content: center; align-items: center; min-height: 50px; background: white; border: 1px solid #cfdeef; border-radius: 10px; width: 100%; padding: 8px; font-size: .75rem; }
.channel-portals .tool-wordmark > span { border: 0; background: none; padding: 0; }
.payment-confirmed { display: flex; gap: 16px; align-items: center; justify-content: space-between; }
.payment-confirmed i { font-style: normal; border-radius: 50%; background: #e2f4e9; color: #187346; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; }
.payment-demo .demo-tags > span { min-width: 70px; text-align: center; }
.orbit-links { position: absolute; inset: 0; width: 100%; height: 100%; }
.agent-orbit { position: relative; width: 100%; aspect-ratio: 440/390; }
.orbit-hub, .orbit-node { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 7px; border: 1px solid #c9def0; border-radius: 13px; background: white; padding: 12px 7px; text-align: center; width: 25%; font-size: .78rem; }
.orbit-hub { left: 50%; top: 47.4%; transform: translate(-50%,-50%); width: 32%; background: #e8f3ff; }
.agent-orbit small { font-size: .63rem; color: #52677d; line-height: 1.3; }
.orbit-0 { left: 50%; top: 14%; transform: translate(-50%,-50%); }
.orbit-1 { left: 80%; top: 35%; transform: translate(-50%,-50%); }
.orbit-2 { left: 70%; top: 77%; transform: translate(-50%,-50%); }
.orbit-3 { left: 30%; top: 77%; transform: translate(-50%,-50%); }
.orbit-4 { left: 20%; top: 35%; transform: translate(-50%,-50%); }
.instagram-post-actions { display: flex; align-items: center; gap: 16px; color: #102742; padding-top: 16px; }
.instagram-post-actions svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.instagram-post-actions svg:last-child { margin-left: auto; }
.instagram-post-caption { font-size: .82rem; }
.meta-demo-photo { border-radius: 6px; }
.meta-demo-photo > div small { display: none; }
.chat-ad { padding: 15px; background: #fff; border: 1px solid #dbe2e9; border-radius: 13px; box-shadow: none; }
.chat-ad small { color: #596573; font-size: .7rem; }
.chat-ad img { border-radius: 9px; }
.search-result > b { font-size: 1.15rem; font-weight: 500; color: #1a0dab; }
.search-result > small { font-size: .7rem; color: #273c52; }
.search-result > p { font-size: .86rem; color: #344455; }
body[data-page="about"] .intro-highlight .body-copy { font-size: 1.1rem; color: #52677d; line-height: 1.7; margin-top: 20px; }
body[data-page="about"] .values-section h2 { font-size: clamp(1.9rem,2.7vw,2.8rem); }
img[src$="instagram.svg"], img[src$="facebook.svg"] { filter: none !important; }
@media(max-width:640px) {
  .inquiry-layout > .button { margin-right: 0; }
  .inquiry-service { padding-block: 48px; }
  .value-grid .value-photo { height: 170px; }
  .orbit-hub, .orbit-node { font-size: .68rem; gap: 5px; padding: 9px 4px; }
  .agent-orbit small { font-size: .58rem; }
  .orbit-node img { width: 21px; height: 21px; }
  .orbit-hub img { width: 24px; height: 24px; }
  .service-hero .brand-chips .tool-wordmark > span { padding: 0; }
  .channel-portals { display: flex; }
}

/* Fourth approved preview revision: customer outcomes and collision-free UI. */
@media(min-width:951px) {
  .service-panel-websites .feature-copy, .service-panel-search .feature-copy { grid-column: 1; grid-row: 1; }
  .service-panel-websites .feature-visual, .service-panel-search .feature-visual { grid-column: 2; grid-row: 1; }
}
.value-grid .value-photo { height: 178px; object-position: center; }
body[data-page="websites"] .service-details .detail-row:first-child { padding-bottom: 84px; }
.product-demo .consent-demo .cookie-actions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
.product-demo .cookie-actions span { width: auto; min-width: 0; min-height: 60px; height: 100%; padding: 8px 4px; font-size: .75rem; background: transparent; color: #004db3; border: 1px solid #004db3; }
.api-flow { align-items: stretch; }
.api-flow > span { min-height: 122px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.api-flow > i { align-self: center; }
.detail-copy .integration-interest { line-height: 1.5; }
.detail-copy .integration-interest .text-link { display: inline; min-height: 0; padding: 0; margin: 0; line-height: inherit; }
.payment-demo .demo-tags { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
.payment-demo .demo-tags > span { min-width: 0; display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 6px 3px; font-size: .75rem; }
.prompt-lines { background: #fff; border-left: 3px solid #007aff; padding: 14px; gap: 14px; }
.prompt-lines p { padding: 0; border: 0; background: transparent; }
.agent-orbit { height: 510px; aspect-ratio: auto; }
.orbit-node { width: 26%; height: 120px; justify-content: center; padding: 9px 4px; font-size: .75rem; }
.orbit-node small { font-size: .75rem; line-height: 1.25; }
.orbit-hub { top: 53%; width: 34%; height: 120px; justify-content: center; padding: 9px 5px; font-size: .8rem; }
.orbit-hub small { font-size: .7rem; }
.orbit-0 { left: 50%; top: 12%; }
.orbit-1 { left: 85%; top: 36%; }
.orbit-2 { left: 73%; top: 86%; }
.orbit-3 { left: 27%; top: 86%; }
.orbit-4 { left: 15%; top: 36%; }
.meta-demo-photo { height: 285px; }
.meta-demo-photo > div { padding: 18px; }
.meta-demo-photo b { font-size: 1.05rem; line-height: 1.3; }
@media(max-width:640px) {
  .agent-orbit { height: 440px; }
  .orbit-node { height: 112px; font-size: .73rem; gap: 5px; }
  .orbit-node small { font-size: .68rem; line-height: 1.25; }
  .orbit-hub { height: 112px; font-size: .73rem; }
  .orbit-hub small { font-size: .64rem; }
  .agent-orbit .orbit-node img { width: 21px; height: 21px; }
  .api-flow > span { min-height: 94px; width: 100%; }
  .api-flow > i { align-self: center; }
  .value-grid .value-photo { height: 185px; }
}

/* Fifth approved revision: one closing component and a true circular network. */
.inquiry-home, .service-detail-page .inquiry-service { margin: 0; padding-block: 110px; }
.service-detail-page .inquiry-service h2, .inquiry-layout h2 { max-width: 760px; font-size: clamp(2.2rem,4vw,3.6rem); line-height: 1.07; }
body[data-page="home"] .service-panel-ai .feature-visual.ai { border: 0; }
.demo-flow { align-items: stretch; }
.demo-flow > span { display: flex; align-items: center; justify-content: center; min-height: 108px; }
.demo-flow > i { align-self: center; }
.product-demo .cookie-actions span { min-height: 44px; padding-block: 4px; }
.agent-orbit { height: auto; aspect-ratio: 1; margin-block: 20px; }
.orbit-links { aspect-ratio: 1; }
.orbit-node { height: 100px; width: 26%; }
.orbit-hub { top: 50%; height: 100px; width: 32%; }
.orbit-0 { left: 50%; top: 12.5%; }
.orbit-1 { left: 85.7%; top: 38.4%; }
.orbit-2 { left: 72.05%; top: 80.3%; }
.orbit-3 { left: 27.95%; top: 80.3%; }
.orbit-4 { left: 14.3%; top: 38.4%; }
.service-arrow { position: relative; display: grid; place-items: center; justify-self: end; }
.service-arrow::before { content: none; }
.service-arrow svg { display: block; width: 24px; height: 24px; overflow: visible; }
@media(max-width:800px) {
  .service-row { grid-template-columns: 38px minmax(0,1fr) 40px; gap: 12px; }
  .service-arrow { width: 40px; height: 40px; }
}
@media(max-width:640px) {
  .inquiry-home, .service-detail-page .inquiry-service { padding-block: 72px; }
  .agent-orbit { height: auto; margin-block: 30px; }
  .orbit-node { height: 100px; font-size: .73rem; gap: 4px; }
  .orbit-node small { font-size: .65rem; line-height: 1.2; }
  .orbit-hub { height: 86px; width: 32%; font-size: .73rem; gap: 4px; }
  .orbit-hub small { font-size: .6rem; line-height: 1.2; }
  .orbit-2, .orbit-3 { top: 84%; }
  .demo-flow > span { min-height: 98px; }
}
